SHGetPropertyStoreFromParsingName function (shobjidl_core.h)

Returns a property store for an item, given a path or parsing name.

Syntax

SHSTDAPI SHGetPropertyStoreFromParsingName(
  PCWSTR                pszPath,
  IBindCtx              *pbc,
  GETPROPERTYSTOREFLAGS flags,
  REFIID                riid,
  void                  **ppv
);

Parameters

pszPath

Type: PCWSTR

A pointer to a null-terminated Unicode string that specifies the item path.

pbc

Type: IBindCtx*

A pointer to a IBindCtx object, which provides access to a bind context. This value can be NULL.

flags

Type: GETPROPERTYSTOREFLAGS

One or more values from the GETPROPERTYSTOREFLAGS constants. This parameter can also be NULL.

riid

Type: REFIID

A reference to the desired interface ID.

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

   
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

See also

IShellItem2::GetPropertyStore