Use COM built-in ISTREAM object

xiaoxiao2021-03-06  58

COM provides two built-in ISTREAM objects, one is in the global heap, one is using files

Full bureau:

use

CreateStreamonhglobal

File use

STGCREATEDOCFILE gets the iStorage interface pointer, use iStorage's method CreateStream or OpenStream Gets the IStream interface pointer

See MSDN for details

Http://msdn.microsoft.com/library/default.asp?url=/library/en-us/stg/stg/istream_compound_file_implementation.asp

转载请注明原文地址:https://www.9cbs.com/read-83727.html

New Post(0)