Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetParent
Collapse the table of content
Expand the table of content

IShellItem::GetParent method

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

Minimum supported client

Windows XP with SP1 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 5.00 or later)

See also

IShellItem
IShellFolder

 

 

Community Additions

ADD
Show:
© 2015 Microsoft