Export (0) Print
Expand All

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:
© 2014 Microsoft