This topic has not yet been rated - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.