The following table shows the Storage functions with a description of the purpose of each.
| 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
Send Feedback on this topic to the authors