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 |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 3/7/2012