This topic has not yet been rated - Rate this topic

IFolderView::GetFolder method

Gets the folder object.

Syntax


HRESULT GetFolder(
  [in]   REFIID riid,
  [out]  VOID **ppv
);

Parameters

riid [in]

Type: REFIID

Reference to the desired IID to represent the folder.

ppv [out]

Type: VOID**

When this method returns, contains the interface pointer requested in riid. This is typically IShellFolder or a related interface. This can also be an IShellItemArray with a single element.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.