IShellItem::GetParent method (shobjidl_core.h)
Gets the parent of an IShellItem object.
Syntax
HRESULT GetParent(
IShellItem **ppsi
);
Parameters
ppsi
Type: IShellItem**
The address of a pointer to the parent of an IShellItem interface.
Return value
Type: HRESULT
Returns S_OK if successful, or an error value otherwise.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP1 [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |
DLL | Shell32.dll (version 5.00 or later) |