Creates a property set storage object from a specified storage object. The property set storage object supplies the system-provided, standalone implementation of the IPropertySetStorage interface.
HRESULT StgCreatePropSetStg(
IStorage* pStorage, //Pointer to a storage object
DWORD dwReserved, //Reserved; must be zero
IPropertySetStorage** ppPropSetStg
//Address of output variable that receives
// IPropertySetStorage interface pointer
);
This function supports the standard return value E_INVALIDARG as well as the following:
StgCreatePropSetStg calls IUnknown::AddRef on the storage object specified by pStorage. The caller is responsible for releasing the object when it is no longer needed.
Windows NT | 4.0/SP2 or with IPROP.DLL |
Win95 | Yes; requires IPROP.DLL |
Win32s | No |
Unicode | Yes |
Import Library | IPROP.DLL |
Header File | IPROPIDL.H |
Windows NT: Use version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in objidl.h.
Import Library: Included as a resource in ole32.dll.
IPropertySetStorage-Standalone Implementation