Share via


Storage Functions

A version of this page is also available for

Windows Embedded CE 6.0 R3

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 WriteClassStm method.

StgCreateDocfile

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

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 ReadClassStm function.

See Also

Reference

Storage Reference