Windows Dev Center

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft