IFileDialogVtbl

Struct IFileDialogVtbl 

Source
#[repr(C)]
pub struct IFileDialogVtbl {
Show 24 fields pub parent: IModalWindowVtbl, pub SetFileTypes: unsafe extern "system" fn(This: *mut IFileDialog, cFileTypes: UINT, rgFilterSpec: *const COMDLG_FILTERSPEC) -> HRESULT, pub SetFileTypeIndex: unsafe extern "system" fn(This: *mut IFileDialog, iFileType: UINT) -> HRESULT, pub GetFileTypeIndex: unsafe extern "system" fn(This: *mut IFileDialog, piFileType: *mut UINT) -> HRESULT, pub Advise: unsafe extern "system" fn(This: *mut IFileDialog, pfde: *mut IFileDialogEvents, pdwCookie: *mut DWORD) -> HRESULT, pub Unadvise: unsafe extern "system" fn(This: *mut IFileDialog, dwCookie: DWORD) -> HRESULT, pub SetOptions: unsafe extern "system" fn(This: *mut IFileDialog, fos: FILEOPENDIALOGOPTIONS) -> HRESULT, pub GetOptions: unsafe extern "system" fn(This: *mut IFileDialog, pfos: *mut FILEOPENDIALOGOPTIONS) -> HRESULT, pub SetDefaultFolder: unsafe extern "system" fn(This: *mut IFileDialog, psi: *mut IShellItem) -> HRESULT, pub SetFolder: unsafe extern "system" fn(This: *mut IFileDialog, psi: *mut IShellItem) -> HRESULT, pub GetFolder: unsafe extern "system" fn(This: *mut IFileDialog, ppsi: *mut *mut IShellItem) -> HRESULT, pub GetCurrentSelection: unsafe extern "system" fn(This: *mut IFileDialog, ppsi: *mut *mut IShellItem) -> HRESULT, pub SetFileName: unsafe extern "system" fn(This: *mut IFileDialog, pszName: LPCWSTR) -> HRESULT, pub GetFileName: unsafe extern "system" fn(This: *mut IFileDialog, pszName: *mut LPWSTR) -> HRESULT, pub SetTitle: unsafe extern "system" fn(This: *mut IFileDialog, pszTitle: LPCWSTR) -> HRESULT, pub SetOkButtonLabel: unsafe extern "system" fn(This: *mut IFileDialog, pszText: LPCWSTR) -> HRESULT, pub SetFileNameLabel: unsafe extern "system" fn(This: *mut IFileDialog, pszLabel: LPCWSTR) -> HRESULT, pub GetResult: unsafe extern "system" fn(This: *mut IFileDialog, ppsi: *mut *mut IShellItem) -> HRESULT, pub AddPlace: unsafe extern "system" fn(This: *mut IFileDialog, psi: *mut IShellItem, fdap: FDAP) -> HRESULT, pub SetDefaultExtension: unsafe extern "system" fn(This: *mut IFileDialog, pszDefaultExtension: LPCWSTR) -> HRESULT, pub Close: unsafe extern "system" fn(This: *mut IFileDialog, hr: HRESULT) -> HRESULT, pub SetClientGuid: unsafe extern "system" fn(This: *mut IFileDialog, guid: REFGUID) -> HRESULT, pub ClearClientData: unsafe extern "system" fn(This: *mut IFileDialog) -> HRESULT, pub SetFilter: unsafe extern "system" fn(This: *mut IFileDialog, pFilter: *mut IShellItemFilter) -> HRESULT,
}

Fields§

§parent: IModalWindowVtbl§SetFileTypes: unsafe extern "system" fn(This: *mut IFileDialog, cFileTypes: UINT, rgFilterSpec: *const COMDLG_FILTERSPEC) -> HRESULT§SetFileTypeIndex: unsafe extern "system" fn(This: *mut IFileDialog, iFileType: UINT) -> HRESULT§GetFileTypeIndex: unsafe extern "system" fn(This: *mut IFileDialog, piFileType: *mut UINT) -> HRESULT§Advise: unsafe extern "system" fn(This: *mut IFileDialog, pfde: *mut IFileDialogEvents, pdwCookie: *mut DWORD) -> HRESULT§Unadvise: unsafe extern "system" fn(This: *mut IFileDialog, dwCookie: DWORD) -> HRESULT§SetOptions: unsafe extern "system" fn(This: *mut IFileDialog, fos: FILEOPENDIALOGOPTIONS) -> HRESULT§GetOptions: unsafe extern "system" fn(This: *mut IFileDialog, pfos: *mut FILEOPENDIALOGOPTIONS) -> HRESULT§SetDefaultFolder: unsafe extern "system" fn(This: *mut IFileDialog, psi: *mut IShellItem) -> HRESULT§SetFolder: unsafe extern "system" fn(This: *mut IFileDialog, psi: *mut IShellItem) -> HRESULT§GetFolder: unsafe extern "system" fn(This: *mut IFileDialog, ppsi: *mut *mut IShellItem) -> HRESULT§GetCurrentSelection: unsafe extern "system" fn(This: *mut IFileDialog, ppsi: *mut *mut IShellItem) -> HRESULT§SetFileName: unsafe extern "system" fn(This: *mut IFileDialog, pszName: LPCWSTR) -> HRESULT§GetFileName: unsafe extern "system" fn(This: *mut IFileDialog, pszName: *mut LPWSTR) -> HRESULT§SetTitle: unsafe extern "system" fn(This: *mut IFileDialog, pszTitle: LPCWSTR) -> HRESULT§SetOkButtonLabel: unsafe extern "system" fn(This: *mut IFileDialog, pszText: LPCWSTR) -> HRESULT§SetFileNameLabel: unsafe extern "system" fn(This: *mut IFileDialog, pszLabel: LPCWSTR) -> HRESULT§GetResult: unsafe extern "system" fn(This: *mut IFileDialog, ppsi: *mut *mut IShellItem) -> HRESULT§AddPlace: unsafe extern "system" fn(This: *mut IFileDialog, psi: *mut IShellItem, fdap: FDAP) -> HRESULT§SetDefaultExtension: unsafe extern "system" fn(This: *mut IFileDialog, pszDefaultExtension: LPCWSTR) -> HRESULT§Close: unsafe extern "system" fn(This: *mut IFileDialog, hr: HRESULT) -> HRESULT§SetClientGuid: unsafe extern "system" fn(This: *mut IFileDialog, guid: REFGUID) -> HRESULT§ClearClientData: unsafe extern "system" fn(This: *mut IFileDialog) -> HRESULT§SetFilter: unsafe extern "system" fn(This: *mut IFileDialog, pFilter: *mut IShellItemFilter) -> HRESULT

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.