Not
Bu sayfaya erişim yetkilendirme gerektiriyor. Oturum açmayı veya dizinleri değiştirmeyi deneyebilirsiniz.
Bu sayfaya erişim yetkilendirme gerektiriyor. Dizinleri değiştirmeyi deneyebilirsiniz.
The ReadClassStg function reads the CLSID previously written to a storage object with the WriteClassStg function.
Syntax
HRESULT ReadClassStg(
[in] LPSTORAGE pStg,
[out] CLSID *pclsid
);
Parameters
[in] pStg
Pointer to the IStorage interface on the storage object containing the CLSID to be retrieved.
[out] pclsid
Pointer to where the CLSID is written. May return CLSID_NULL.
Return value
This function supports the standard return value E_OUTOFMEMORY, in addition to the following:
This function also returns any of the error values returned by the IStorage::Stat method.
Remarks
ReadClassStg is a helper function that calls the IStorage::Stat method and retrieves the CLSID previously written to the storage object with a call to WriteClassStg from the STATSTG structure.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
| Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | coml2api.h (include Ole2.h) |
| Library | Ole32.lib |
| DLL | Ole32.dll |