CItemIDFactory::GetPropertyFromIDList(PCUIDLIST_RELATIVE,REFPROPERTYKEY,VARIANT*) method (shidfact.h)

Gets a property from the IPropertyStore within the IDList as a variant, using the key.

Syntax

HRESULT GetPropertyFromIDList(
  [in] PCUIDLIST_RELATIVE pidl,
       REFPROPERTYKEY     rkey,
       VARIANT            *pvar
);

Parameters

[in] pidl

A PIDL identifying the IPropertyStore.

rkey

TBD

pvar

TBD

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This method is useful when using IShellFolder2::GetDetailsEx, as is returns a variant rather than a PROPVARIANT.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shidfact.h

See also

CItemIDFactory

GetPropertyFromIDList

IPropertyStore

IShellFolder2::GetDetailsEx