SHGetPropertyStoreFromIDList function

Retrieves an object that supports IPropertyStore or related interfaces from a pointer to an item identifier list (PIDL).

Syntax


HRESULT SHGetPropertyStoreFromIDList(
  _In_  PCIDLIST_ABSOLUTE     pidl,
  _In_  GETPROPERTYSTOREFLAGS flags,
  _In_  REFIID                riid,
  _Out_ void                  **ppv
);

Parameters

pidl [in]

Type: PCIDLIST_ABSOLUTE

A pointer to an item ID list.

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

 

 

Show: