Export (0) Print
Expand All

SHGetPropertyStoreFromParsingName function

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

Syntax


HRESULT SHGetPropertyStoreFromParsingName(
  _In_      PCWSTR pszPath,
  _In_opt_  IBindCtx *pbc,
  _In_      GETPROPERTYSTOREFLAGS flags,
  _In_      REFIID riid,
  _Out_     void **ppv
);

Parameters

pszPath [in]

Type: PCWSTR

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

pbc [in, optional]

Type: IBindCtx*

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

flags [in]

Type: GETPROPERTYSTOREFLAGS

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

riid [in]

Type: REFIID

A reference to the desired interface ID.

ppv [out]

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]

Header

Shobjidl.h

DLL

Shell32.dll

See also

IShellItem2::GetPropertyStore

 

 

Community Additions

ADD
Show:
© 2014 Microsoft