ReactOS 0.4.15-dev-8138-g1e75ea8
IFileDialog Interface Reference
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 3511 of file shobjidl.idl.

Member Typedef Documentation

◆ FILEOPENDIALOGOPTIONS

Definition at line 3537 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 3513 of file shobjidl.idl.

3514 {
3515 FOS_OVERWRITEPROMPT = 0x00000002,
3516 FOS_STRICTFILETYPES = 0x00000004,
3517 FOS_NOCHANGEDIR = 0x00000008,
3518 FOS_PICKFOLDERS = 0x00000020,
3519 FOS_FORCEFILESYSTEM = 0x00000040,
3520 FOS_ALLNONSTORAGEITEMS = 0x00000080,
3521 FOS_NOVALIDATE = 0x00000100,
3522 FOS_ALLOWMULTISELECT = 0x00000200,
3523 FOS_PATHMUSTEXIST = 0x00000800,
3524 FOS_FILEMUSTEXIST = 0x00001000,
3525 FOS_CREATEPROMPT = 0x00002000,
3526 FOS_SHAREAWARE = 0x00004000,
3527 FOS_NOREADONLYRETURN = 0x00008000,
3528 FOS_NOTESTFILECREATE = 0x00010000,
3529 FOS_HIDEMRUPLACES = 0x00020000,
3530 FOS_HIDEPINNEDPLACES = 0x00040000,
3531 FOS_NODEREFERENCELINKS = 0x00100000,
3532 FOS_DONTADDTORECENT = 0x02000000,
3533 FOS_FORCESHOWHIDDEN = 0x10000000,
3534 FOS_DEFAULTNOMINIMODE = 0x20000000,
3535 FOS_FORCEPREVIEWPANEON = 0x40000000
3536 };
@ FOS_FORCEFILESYSTEM
Definition: shobjidl.idl:3519
@ FOS_FORCESHOWHIDDEN
Definition: shobjidl.idl:3533
@ FOS_NOREADONLYRETURN
Definition: shobjidl.idl:3527
@ FOS_FORCEPREVIEWPANEON
Definition: shobjidl.idl:3535
@ FOS_ALLOWMULTISELECT
Definition: shobjidl.idl:3522
@ FOS_OVERWRITEPROMPT
Definition: shobjidl.idl:3515
@ FOS_HIDEPINNEDPLACES
Definition: shobjidl.idl:3530
@ FOS_NODEREFERENCELINKS
Definition: shobjidl.idl:3531
@ FOS_DONTADDTORECENT
Definition: shobjidl.idl:3532
@ FOS_STRICTFILETYPES
Definition: shobjidl.idl:3516
@ FOS_DEFAULTNOMINIMODE
Definition: shobjidl.idl:3534
@ FOS_ALLNONSTORAGEITEMS
Definition: shobjidl.idl:3520
@ FOS_NOTESTFILECREATE
Definition: shobjidl.idl:3528

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: