ReactOS 0.4.16-dev-92-g0c2cdca
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 3582 of file shobjidl.idl.

Member Typedef Documentation

◆ FILEOPENDIALOGOPTIONS

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

3585 {
3586 FOS_OVERWRITEPROMPT = 0x00000002,
3587 FOS_STRICTFILETYPES = 0x00000004,
3588 FOS_NOCHANGEDIR = 0x00000008,
3589 FOS_PICKFOLDERS = 0x00000020,
3590 FOS_FORCEFILESYSTEM = 0x00000040,
3591 FOS_ALLNONSTORAGEITEMS = 0x00000080,
3592 FOS_NOVALIDATE = 0x00000100,
3593 FOS_ALLOWMULTISELECT = 0x00000200,
3594 FOS_PATHMUSTEXIST = 0x00000800,
3595 FOS_FILEMUSTEXIST = 0x00001000,
3596 FOS_CREATEPROMPT = 0x00002000,
3597 FOS_SHAREAWARE = 0x00004000,
3598 FOS_NOREADONLYRETURN = 0x00008000,
3599 FOS_NOTESTFILECREATE = 0x00010000,
3600 FOS_HIDEMRUPLACES = 0x00020000,
3601 FOS_HIDEPINNEDPLACES = 0x00040000,
3602 FOS_NODEREFERENCELINKS = 0x00100000,
3603 FOS_DONTADDTORECENT = 0x02000000,
3604 FOS_FORCESHOWHIDDEN = 0x10000000,
3605 FOS_DEFAULTNOMINIMODE = 0x20000000,
3606 FOS_FORCEPREVIEWPANEON = 0x40000000
3607 };
@ FOS_FORCEFILESYSTEM
Definition: shobjidl.idl:3590
@ FOS_FORCESHOWHIDDEN
Definition: shobjidl.idl:3604
@ FOS_NOREADONLYRETURN
Definition: shobjidl.idl:3598
@ FOS_FORCEPREVIEWPANEON
Definition: shobjidl.idl:3606
@ FOS_ALLOWMULTISELECT
Definition: shobjidl.idl:3593
@ FOS_OVERWRITEPROMPT
Definition: shobjidl.idl:3586
@ FOS_HIDEPINNEDPLACES
Definition: shobjidl.idl:3601
@ FOS_NODEREFERENCELINKS
Definition: shobjidl.idl:3602
@ FOS_DONTADDTORECENT
Definition: shobjidl.idl:3603
@ FOS_STRICTFILETYPES
Definition: shobjidl.idl:3587
@ FOS_DEFAULTNOMINIMODE
Definition: shobjidl.idl:3605
@ FOS_ALLNONSTORAGEITEMS
Definition: shobjidl.idl:3591
@ FOS_NOTESTFILECREATE
Definition: shobjidl.idl:3599

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: