ReactOS  0.4.15-dev-489-g75a0787
IFileDialog Interface Reference

import"shobjidl.idl";

Inheritance diagram for IFileDialog:
Collaboration diagram for IFileDialog:

Public Types

enum  _FILEOPENDIALOGOPTIONS {
  FOS_OVERWRITEPROMPT = 0x00000002, FOS_STRICTFILETYPES = 0x00000004, FOS_NOCHANGEDIR = 0x00000008, FOS_PICKFOLDERS = 0x00000020,
  FOS_FORCEFILESYSTEM = 0x00000040, FOS_ALLNONSTORAGEITEMS = 0x00000080, FOS_NOVALIDATE = 0x00000100, FOS_ALLOWMULTISELECT = 0x00000200,
  FOS_PATHMUSTEXIST = 0x00000800, FOS_FILEMUSTEXIST = 0x00001000, FOS_CREATEPROMPT = 0x00002000, FOS_SHAREAWARE = 0x00004000,
  FOS_NOREADONLYRETURN = 0x00008000, FOS_NOTESTFILECREATE = 0x00010000, FOS_HIDEMRUPLACES = 0x00020000, FOS_HIDEPINNEDPLACES = 0x00040000,
  FOS_NODEREFERENCELINKS = 0x00100000, FOS_DONTADDTORECENT = 0x02000000, FOS_FORCESHOWHIDDEN = 0x10000000, FOS_DEFAULTNOMINIMODE = 0x20000000,
  FOS_FORCEPREVIEWPANEON = 0x40000000
}
 
typedef DWORD FILEOPENDIALOGOPTIONS
 

Public Member Functions

HRESULT SetFileTypes ([in] UINT cFileTypes, [in, size_is(cFileTypes)] const COMDLG_FILTERSPEC *rgFilterSpec)
 
HRESULT SetFileTypeIndex ([in] UINT iFileType)
 
HRESULT GetFileTypeIndex ([out] UINT *piFileType)
 
HRESULT Advise ([in] IFileDialogEvents *pfde, [out] DWORD *pdwCookie)
 
HRESULT Unadvise ([in] DWORD dwCookie)
 
HRESULT SetOptions ([in] FILEOPENDIALOGOPTIONS fos)
 
HRESULT GetOptions ([in] FILEOPENDIALOGOPTIONS *pfos)
 
HRESULT SetDefaultFolder ([in] IShellItem *psi)
 
HRESULT SetFolder ([in] IShellItem *psi)
 
HRESULT GetFolder ([out] IShellItem **ppsi)
 
HRESULT GetCurrentSelection ([out] IShellItem **ppsi)
 
HRESULT SetFileName ([in, string] LPCWSTR pszName)
 
HRESULT GetFileName ([out, string] LPWSTR *pszName)
 
HRESULT SetTitle ([in, string] LPCWSTR pszTitle)
 
HRESULT SetOkButtonLabel ([in, string] LPCWSTR pszText)
 
HRESULT SetFileNameLabel ([in, string] LPCWSTR pszLabel)
 
HRESULT GetResult ([out] IShellItem **ppsi)
 
HRESULT AddPlace ([in] IShellItem *psi, [in] FDAP fdap)
 
HRESULT SetDefaultExtension ([in, string] LPCWSTR pszDefaultExtension)
 
HRESULT Close ([in] HRESULT hr)
 
HRESULT SetClientGuid ([in] REFGUID guid)
 
HRESULT ClearClientData ()
 
HRESULT SetFilter ([in] IShellItemFilter *pFilter)
 

Detailed Description

Definition at line 3463 of file shobjidl.idl.

Member Typedef Documentation

◆ FILEOPENDIALOGOPTIONS

Definition at line 3489 of file shobjidl.idl.

Member Enumeration Documentation

◆ _FILEOPENDIALOGOPTIONS

Enumerator
FOS_OVERWRITEPROMPT 
FOS_STRICTFILETYPES 
FOS_NOCHANGEDIR 
FOS_PICKFOLDERS 
FOS_FORCEFILESYSTEM 
FOS_ALLNONSTORAGEITEMS 
FOS_NOVALIDATE 
FOS_ALLOWMULTISELECT 
FOS_PATHMUSTEXIST 
FOS_FILEMUSTEXIST 
FOS_CREATEPROMPT 
FOS_SHAREAWARE 
FOS_NOREADONLYRETURN 
FOS_NOTESTFILECREATE 
FOS_HIDEMRUPLACES 
FOS_HIDEPINNEDPLACES 
FOS_NODEREFERENCELINKS 
FOS_DONTADDTORECENT 
FOS_FORCESHOWHIDDEN 
FOS_DEFAULTNOMINIMODE 
FOS_FORCEPREVIEWPANEON 

Definition at line 3465 of file shobjidl.idl.

3466  {
3467  FOS_OVERWRITEPROMPT = 0x00000002,
3468  FOS_STRICTFILETYPES = 0x00000004,
3469  FOS_NOCHANGEDIR = 0x00000008,
3470  FOS_PICKFOLDERS = 0x00000020,
3471  FOS_FORCEFILESYSTEM = 0x00000040,
3472  FOS_ALLNONSTORAGEITEMS = 0x00000080,
3473  FOS_NOVALIDATE = 0x00000100,
3474  FOS_ALLOWMULTISELECT = 0x00000200,
3475  FOS_PATHMUSTEXIST = 0x00000800,
3476  FOS_FILEMUSTEXIST = 0x00001000,
3477  FOS_CREATEPROMPT = 0x00002000,
3478  FOS_SHAREAWARE = 0x00004000,
3479  FOS_NOREADONLYRETURN = 0x00008000,
3480  FOS_NOTESTFILECREATE = 0x00010000,
3481  FOS_HIDEMRUPLACES = 0x00020000,
3482  FOS_HIDEPINNEDPLACES = 0x00040000,
3483  FOS_NODEREFERENCELINKS = 0x00100000,
3484  FOS_DONTADDTORECENT = 0x02000000,
3485  FOS_FORCESHOWHIDDEN = 0x10000000,
3486  FOS_DEFAULTNOMINIMODE = 0x20000000,
3487  FOS_FORCEPREVIEWPANEON = 0x40000000
3488  };

Member Function Documentation

◆ AddPlace()

HRESULT IFileDialog::AddPlace ( [in] IShellItem psi,
[in] FDAP  fdap 
)

◆ Advise()

HRESULT IFileDialog::Advise ( [in] IFileDialogEvents pfde,
[out] DWORD pdwCookie 
)

◆ ClearClientData()

HRESULT IFileDialog::ClearClientData ( )

◆ Close()

HRESULT IFileDialog::Close ( [in] HRESULT  hr)

◆ GetCurrentSelection()

HRESULT IFileDialog::GetCurrentSelection ( [out] IShellItem **  ppsi)

◆ GetFileName()

HRESULT IFileDialog::GetFileName ( [out, string] LPWSTR pszName)

◆ GetFileTypeIndex()

HRESULT IFileDialog::GetFileTypeIndex ( [out] UINT piFileType)

◆ GetFolder()

HRESULT IFileDialog::GetFolder ( [out] IShellItem **  ppsi)

◆ GetOptions()

HRESULT IFileDialog::GetOptions ( [in] FILEOPENDIALOGOPTIONS pfos)

◆ GetResult()

HRESULT IFileDialog::GetResult ( [out] IShellItem **  ppsi)

◆ SetClientGuid()

HRESULT IFileDialog::SetClientGuid ( [in] REFGUID  guid)

◆ SetDefaultExtension()

HRESULT IFileDialog::SetDefaultExtension ( [in, string] LPCWSTR  pszDefaultExtension)

◆ SetDefaultFolder()

HRESULT IFileDialog::SetDefaultFolder ( [in] IShellItem psi)

◆ SetFileName()

HRESULT IFileDialog::SetFileName ( [in, string] LPCWSTR  pszName)

◆ SetFileNameLabel()

HRESULT IFileDialog::SetFileNameLabel ( [in, string] LPCWSTR  pszLabel)

◆ SetFileTypeIndex()

HRESULT IFileDialog::SetFileTypeIndex ( [in] UINT  iFileType)

◆ SetFileTypes()

HRESULT IFileDialog::SetFileTypes ( [in] UINT  cFileTypes,
[in, size_is(cFileTypes)] const COMDLG_FILTERSPEC rgFilterSpec 
)

◆ SetFilter()

HRESULT IFileDialog::SetFilter ( [in] IShellItemFilter pFilter)

◆ SetFolder()

HRESULT IFileDialog::SetFolder ( [in] IShellItem psi)

◆ SetOkButtonLabel()

HRESULT IFileDialog::SetOkButtonLabel ( [in, string] LPCWSTR  pszText)

◆ SetOptions()

HRESULT IFileDialog::SetOptions ( [in] FILEOPENDIALOGOPTIONS  fos)

◆ SetTitle()

HRESULT IFileDialog::SetTitle ( [in, string] LPCWSTR  pszTitle)

◆ Unadvise()

HRESULT IFileDialog::Unadvise ( [in] DWORD  dwCookie)

The documentation for this interface was generated from the following file: