Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The following table shows the Storage functions with a description of the purpose of each.

Note:
Windows Mobile may not support all of the programming elements in this section. For information about differences between the COM implementation available for Windows Mobile devices and that available for Windows Embedded CE devices, see COM and DCOM in Windows Mobile Devices.

Programming element Description

ReadClassStg

This function reads the CLSID previously written to a storage object with the WriteClassStg.

ReadClassStm

This function reads the CLSID previously written to a stream object with the WriteClassStmmethod.

StgCreateDocfile

This function creates a new compound file storage object using the OLE-provided compound file implementation for the IStorageinterface.

StgCreateDocfileOnILockBytes

This function creates and opens a new compound file storage object on top of a byte array object provided by the caller.

StgOpenStorage

This function opens an existing root storage object in the file system.

StgOpenStorageOnILockBytes

This function opens an existing storage object that does not reside in a disk file, but instead has an underlying byte array provided by the caller.

WriteClassStg

This function stores the specified CLSID in a storage object.

WriteClassStm

This function writes a CLSID to the specified stream object so it can be read by the ReadClassStmfunction.

See Also

Reference

Storage Reference