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 |
|
|
DLL |
|
See also