StgIsStorageILockBytes  4N23SA

Indicates whether the specified byte array contains a storage object.

WINOLEAPI StgIsStorageILockBytes(

    ILockBytes * plkbyt

//ILockBytes pointer to the byte array to be examined

   );

 

 

Parameter

plkbyt

ILockBytes5AUHTW6 pointer to the byte array to be examined.

 

Return Values

S_OK

Indicates the specified byte array contains a storage object.

S_FALSE

Indicates the specified byte array does not contain a storage object.

 

File system errors.

ILockBytes5AUHTW6 interface error return values.

Remarks

At the beginning of the byte array underlying a storage object is a signature distinguishing a storage object (supporting the IStorageFS1VT1 interface) from other file formats. The StgIsStorageILockBytes function is useful to applications whose documents use a byte array (a bye array object supports the ILockBytes interface) that might or might not use storage objects.

See Also

StgIsStorageFile, ILockBytes