Struct winsafe::vt::IFileDialogVT

source ·
#[repr(C)]
pub struct IFileDialogVT {
Show 24 fields pub IModalWindowVT: IModalWindowVT, pub SetFileTypes: fn(_: *mut c_void, _: u32, _: *const c_void) -> u32, pub SetFileTypeIndex: fn(_: *mut c_void, _: u32) -> u32, pub GetFileTypeIndex: fn(_: *mut c_void, _: *mut u32) -> u32, pub Advise: fn(_: *mut c_void, _: *mut c_void, _: *mut u32) -> u32, pub Unadvise: fn(_: *mut c_void, _: u32) -> u32, pub SetOptions: fn(_: *mut c_void, _: u32) -> u32, pub GetOptions: fn(_: *mut c_void, _: *mut u32) -> u32, pub SetDefaultFolder: fn(_: *mut c_void, _: *mut c_void) -> u32, pub SetFolder: fn(_: *mut c_void, _: *mut c_void) -> u32, pub GetFolder: fn(_: *mut c_void, _: *mut *mut c_void) -> u32, pub GetCurrentSelection: fn(_: *mut c_void, _: *mut *mut c_void) -> u32, pub SetFileName: fn(_: *mut c_void, _: *const u16) -> u32, pub GetFileName: fn(_: *mut c_void, _: *mut *mut u16) -> u32, pub SetTitle: fn(_: *mut c_void, _: *const u16) -> u32, pub SetOkButtonLabel: fn(_: *mut c_void, _: *const u16) -> u32, pub SetFileNameLabel: fn(_: *mut c_void, _: *const u16) -> u32, pub GetResult: fn(_: *mut c_void, _: *mut *mut c_void) -> u32, pub AddPlace: fn(_: *mut c_void, _: *mut c_void, _: u32) -> u32, pub SetDefaultExtension: fn(_: *mut c_void, _: *const u16) -> u32, pub Close: fn(_: *mut c_void, _: u32) -> u32, pub SetClientGuid: fn(_: *mut c_void, _: *const c_void) -> u32, pub ClearClientData: fn(_: *mut c_void) -> u32, pub SetFilter: fn(_: *mut c_void, _: *mut c_void) -> u32,
}
Available on crate features ole and shell only.
Expand description

IFileDialog virtual table.

Fields§

§IModalWindowVT: IModalWindowVT§SetFileTypes: fn(_: *mut c_void, _: u32, _: *const c_void) -> u32§SetFileTypeIndex: fn(_: *mut c_void, _: u32) -> u32§GetFileTypeIndex: fn(_: *mut c_void, _: *mut u32) -> u32§Advise: fn(_: *mut c_void, _: *mut c_void, _: *mut u32) -> u32§Unadvise: fn(_: *mut c_void, _: u32) -> u32§SetOptions: fn(_: *mut c_void, _: u32) -> u32§GetOptions: fn(_: *mut c_void, _: *mut u32) -> u32§SetDefaultFolder: fn(_: *mut c_void, _: *mut c_void) -> u32§SetFolder: fn(_: *mut c_void, _: *mut c_void) -> u32§GetFolder: fn(_: *mut c_void, _: *mut *mut c_void) -> u32§GetCurrentSelection: fn(_: *mut c_void, _: *mut *mut c_void) -> u32§SetFileName: fn(_: *mut c_void, _: *const u16) -> u32§GetFileName: fn(_: *mut c_void, _: *mut *mut u16) -> u32§SetTitle: fn(_: *mut c_void, _: *const u16) -> u32§SetOkButtonLabel: fn(_: *mut c_void, _: *const u16) -> u32§SetFileNameLabel: fn(_: *mut c_void, _: *const u16) -> u32§GetResult: fn(_: *mut c_void, _: *mut *mut c_void) -> u32§AddPlace: fn(_: *mut c_void, _: *mut c_void, _: u32) -> u32§SetDefaultExtension: fn(_: *mut c_void, _: *const u16) -> u32§Close: fn(_: *mut c_void, _: u32) -> u32§SetClientGuid: fn(_: *mut c_void, _: *const c_void) -> u32§ClearClientData: fn(_: *mut c_void) -> u32§SetFilter: fn(_: *mut c_void, _: *mut c_void) -> u32

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>,

§

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>,

§

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.