Gets a property store object for specified property store flags.
Syntax
HRESULT GetPropertyStore(
GETPROPERTYSTOREFLAGS flags,
REFIID riid,
void **ppv
);
Parameters
- flags
-
[in] The GETPROPERTYSTOREFLAGS constants that modify the property store object.
- riid
-
[in] A reference to the IID of the object to be retrieved.
- ppv
-
[out] When this method returns, contains the address of an IPropertyStore interface pointer.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
Note When this method is called on a property store for a file, that file is held open for the lifetime of the IPropertyStore object.