SHGetPropertyStoreFromParsingName function (shobjidl_core.h)
Returns a property store for an item, given a path or parsing name.
Syntax
SHSTDAPI SHGetPropertyStoreFromParsingName(
[in] PCWSTR pszPath,
[in, optional] IBindCtx *pbc,
[in] GETPROPERTYSTOREFLAGS flags,
[in] REFIID riid,
[out] void **ppv
);
Parameters
[in] pszPath
Type: PCWSTR
A pointer to a null-terminated Unicode string that specifies the item path.
[in, optional] pbc
Type: IBindCtx*
A pointer to a IBindCtx object, which provides access to a bind context. This value can be NULL.
[in] flags
Type: GETPROPERTYSTOREFLAGS
One or more values from the GETPROPERTYSTOREFLAGS constants. This parameter can also be NULL.
[in] riid
Type: REFIID
A reference to the desired interface ID.
[out] ppv
Type: void**
When this function returns, contains the interface pointer requested in riid. This is typically IPropertyStore or a related interface.
Return value
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h |
DLL | Shell32.dll |