CItemIDFactory::GetDataFromIDList(PCUIDLIST_RELATIVE,constT**) method (shidfact.h)

Gets a read only pointer to the client provided structure in the first ItemID in the IDList.

Syntax

HRESULT GetDataFromIDList(
  [in]  PCUIDLIST_RELATIVE pidl,
  [out] const T            **ppData
);

Parameters

[in] pidl

A PIDL containing the data.

[out] ppData

When this method returns, contains the address of a read only pointer to a client provided structure.

Return value

If the method succeeds, it returns S_OK. If it fails, it returns E_INVALIDARG.

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