pub struct IFileDialog(/* private fields */);
Available on crate feature
shell
only.Expand description
IFileDialog
COM interface.
Automatically calls
Release
when the object goes out of scope.
Trait Implementations§
Source§impl Clone for IFileDialog
impl Clone for IFileDialog
Source§impl Drop for IFileDialog
impl Drop for IFileDialog
Source§impl ole_IUnknown for IFileDialog
impl ole_IUnknown for IFileDialog
Source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Available on crate feature
ole
only.Creates an object from a COM virtual table pointer. Read more
Source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Available on crate feature
ole
only.Returns a mutable reference do the underlying COM virtual table pointer. Read more
Source§fn ptr(&self) -> *mut c_void
fn ptr(&self) -> *mut c_void
Available on crate feature
ole
only.Returns the pointer to the underlying COM virtual table. Read more
Source§unsafe fn null() -> Self
unsafe fn null() -> Self
Available on crate feature
ole
only.Creates an object from a null COM virtual table pointer. Read more
Source§fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
Available on crate feature
ole
only.IUnknown::QueryInterface
method.Source§impl shell_IFileDialog for IFileDialog
impl shell_IFileDialog for IFileDialog
Source§fn AddPlace(&self, si: &impl shell_IShellItem, fdap: FDAP) -> HrResult<()>
fn AddPlace(&self, si: &impl shell_IShellItem, fdap: FDAP) -> HrResult<()>
IFileDialog::AddPlace
method.Source§fn Advise(&self, fde: &IFileDialogEvents) -> HrResult<u32>
fn Advise(&self, fde: &IFileDialogEvents) -> HrResult<u32>
IFileDialog::Advise
method.Source§fn ClearClientData(&self) -> HrResult<()>
fn ClearClientData(&self) -> HrResult<()>
IFileDialog::ClearClientData
method.Source§fn GetCurrentSelection(&self) -> HrResult<IShellItem>
fn GetCurrentSelection(&self) -> HrResult<IShellItem>
IFileDialog::GetCurrentSelection
method.Source§fn GetFileName(&self) -> HrResult<String>
fn GetFileName(&self) -> HrResult<String>
IFileDialog::GetFileName
method.Source§fn GetFileTypeIndex(&self) -> HrResult<u32>
fn GetFileTypeIndex(&self) -> HrResult<u32>
IFileDialog::GetFileTypeIndex
method.Source§fn GetFolder(&self) -> HrResult<IShellItem>
fn GetFolder(&self) -> HrResult<IShellItem>
IFileDialog::GetFolder
method.Source§fn GetOptions(&self) -> HrResult<FOS>
fn GetOptions(&self) -> HrResult<FOS>
IFileDialog::GetOptions
method.Source§fn GetResult(&self) -> HrResult<IShellItem>
fn GetResult(&self) -> HrResult<IShellItem>
IFileDialog::GetResult
method. Read moreSource§fn SetClientGuid(&self, guid: &GUID) -> HrResult<()>
fn SetClientGuid(&self, guid: &GUID) -> HrResult<()>
IFileDialog::SetClientGuid
method.Source§fn SetDefaultExtension(&self, default_extension: &str) -> HrResult<()>
fn SetDefaultExtension(&self, default_extension: &str) -> HrResult<()>
IFileDialog::SetDefaultExtension
method.Source§fn SetDefaultFolder(&self, si: &impl shell_IShellItem) -> HrResult<()>
fn SetDefaultFolder(&self, si: &impl shell_IShellItem) -> HrResult<()>
IFileDialog::SetDefaultFolder
method.Source§fn SetFileName(&self, name: &str) -> HrResult<()>
fn SetFileName(&self, name: &str) -> HrResult<()>
IFileDialog::SetFileName
method.Source§fn SetFileNameLabel(&self, label: &str) -> HrResult<()>
fn SetFileNameLabel(&self, label: &str) -> HrResult<()>
IFileDialog::SetFileNameLabel
method.Source§fn SetFileTypes<S: AsRef<str>>(&self, filter_spec: &[(S, S)]) -> HrResult<()>
fn SetFileTypes<S: AsRef<str>>(&self, filter_spec: &[(S, S)]) -> HrResult<()>
IFileDialog::SetFileTypes
method. Read moreSource§fn SetFolder(&self, si: &impl shell_IShellItem) -> HrResult<()>
fn SetFolder(&self, si: &impl shell_IShellItem) -> HrResult<()>
IFileDialog::SetFolder
method.Source§fn SetOkButtonLabel(&self, text: &str) -> HrResult<()>
fn SetOkButtonLabel(&self, text: &str) -> HrResult<()>
IFileDialog::SetOkButtonLabel
method.Source§fn SetOptions(&self, opts: FOS) -> HrResult<()>
fn SetOptions(&self, opts: FOS) -> HrResult<()>
IFileDialog::SetOptions
method.Source§impl shell_IModalWindow for IFileDialog
impl shell_IModalWindow for IFileDialog
impl Send for IFileDialog
Auto Trait Implementations§
impl Freeze for IFileDialog
impl RefUnwindSafe for IFileDialog
impl !Sync for IFileDialog
impl Unpin for IFileDialog
impl UnwindSafe for IFileDialog
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more