Indicates whether a particular disk file contains a storage object.
WINOLEAPI StgIsStorageFile(
const WCHAR * pwcsName |
//Points to a pathname of the file to check |
); |
Parameter
Return Values
See also any file system errors for other error return values.
Remarks
At the beginning of the disk file underlying a storage object is a signature distinguishing a storage object from other file formats. The StgIsStorageFile function is useful to applications whose documents use a disk file format that might or might not use storage objects.
If a root compound file has been created in transacted mode but not yet committed, this method will still return S_OK.
See Also