Struct winapi::um::shobjidl::IFileDialog
source · #[repr(C)]pub struct IFileDialog {
pub lpVtbl: *const IFileDialogVtbl,
}
Fields§
§lpVtbl: *const IFileDialogVtbl
Implementations§
source§impl IFileDialog
impl IFileDialog
pub unsafe fn SetFileTypes(
&self,
cFileTypes: UINT,
rgFilterSpec: *const COMDLG_FILTERSPEC
) -> HRESULT
pub unsafe fn SetFileTypeIndex(&self, iFileType: UINT) -> HRESULT
pub unsafe fn GetFileTypeIndex(&self, piFileType: *mut UINT) -> HRESULT
pub unsafe fn Advise(
&self,
pfde: *mut IFileDialogEvents,
pdwCookie: *mut DWORD
) -> HRESULT
pub unsafe fn Unadvise(&self, dwCookie: DWORD) -> HRESULT
pub unsafe fn SetOptions(&self, fos: FILEOPENDIALOGOPTIONS) -> HRESULT
pub unsafe fn GetOptions(&self, pfos: *mut FILEOPENDIALOGOPTIONS) -> HRESULT
pub unsafe fn SetDefaultFolder(&self, psi: *mut IShellItem) -> HRESULT
pub unsafe fn SetFolder(&self, psi: *mut IShellItem) -> HRESULT
pub unsafe fn GetFolder(&self, ppsi: *mut *mut IShellItem) -> HRESULT
pub unsafe fn GetCurrentSelection(&self, ppsi: *mut *mut IShellItem) -> HRESULT
pub unsafe fn SetFileName(&self, pszName: LPCWSTR) -> HRESULT
pub unsafe fn GetFileName(&self, pszName: *mut LPWSTR) -> HRESULT
pub unsafe fn SetTitle(&self, pszTitle: LPCWSTR) -> HRESULT
pub unsafe fn SetOkButtonLabel(&self, pszText: LPCWSTR) -> HRESULT
pub unsafe fn SetFileNameLabel(&self, pszLabel: LPCWSTR) -> HRESULT
pub unsafe fn GetResult(&self, ppsi: *mut *mut IShellItem) -> HRESULT
pub unsafe fn AddPlace(&self, psi: *mut IShellItem, fdap: FDAP) -> HRESULT
pub unsafe fn SetDefaultExtension(&self, pszDefaultExtension: LPCWSTR) -> HRESULT
pub unsafe fn Close(&self, hr: HRESULT) -> HRESULT
pub unsafe fn SetClientGuid(&self, guid: REFGUID) -> HRESULT
pub unsafe fn ClearClientData(&self) -> HRESULT
pub unsafe fn SetFilter(&self, pFilter: *mut IShellItemFilter) -> HRESULT
Methods from Deref<Target = IModalWindow>§
Methods from Deref<Target = IUnknown>§
Trait Implementations§
source§impl Deref for IFileDialog
impl Deref for IFileDialog
§type Target = IModalWindow
type Target = IModalWindow
The resulting type after dereferencing.
source§fn deref(&self) -> &IModalWindow
fn deref(&self) -> &IModalWindow
Dereferences the value.