Export (0) Print
Expand All

IFileDialog::GetFolder method

Gets either the folder currently selected in the dialog, or, if the dialog is not currently displayed, the folder that is to be selected when the dialog is opened.

Syntax


HRESULT GetFolder(
  [out]  IShellItem **ppsi
);

Parameters

ppsi [out]

Type: IShellItem**

The address of a pointer to the interface that represents the folder.

Return value

Type: HRESULT

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

Remarks

The calling application is responsible for releasing the retrieved IShellItem when it is no longer needed.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft