Expand Minimize
0 out of 1 rated this helpful - Rate this topic

SHGetIDListFromObject function

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 [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

DLL

Shell32.dll

See also

SHCreateItemFromIDList

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.