pythoncom.StgIsStorageFile

int = StgIsStorageFile(name)

Indicates whether a particular disk file contains a storage object.

Parameters

name : string

The path to the file to check.

Return Value

The return value is 1 if a storage file, else 0. This method will also raise com_error if the StgIsStorageFile function returns a failure HRESULT.