0 out of 1 rated this helpful - Rate this topic

SHGetIDListFromObject function

Applies to: desktop apps only

Retrieves the pointer to an item identifier list (PIDL) of an object.

Syntax

HRESULT SHGetIDListFromObject(
  __in   IUnknown *punk,
  __out  PIDLIST_ABSOLUTE *ppidl
);

Parameters

punk [in]

Type: IUnknown*

A pointer to the IUnknown of the object from which to get the PIDL.

ppidl [out]

Type: PIDLIST_ABSOLUTE*

When this function returns, contains a pointer to the PIDL of the given object.

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

Minimum supported server

Windows Server 2008

Header

Shobjidl.h

DLL

Shell32.dll

See also

SHCreateItemFromIDList

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ