Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the parent of a pointer to an item identifier list (PIDL).
int GetParentItem(
LPCITEMIDLIST lpidl,
LPITEMIDLIST& lpidlParent
);
Parameters
[in] lpidl
A PIDL whose parent will be retrieved.[out] lpidlParent
A reference to a PIDL where the method will store the result.
Return Value
The level of the parent PIDL.
Remarks
The level of a PIDL is relative to the desktop. The desktop PIDL is considered to have a level of 0.
Requirements
Header: afxshellmanager.h