pub struct IFileOpenDialog(/* private fields */);
Implementations§
Source§impl IFileOpenDialog
impl IFileOpenDialog
pub unsafe fn Show<'a>(&self, hwndowner: impl IntoParam<'a, HWND>) -> Result<()>
pub unsafe fn SetFileTypes( &self, cfiletypes: u32, rgfilterspec: *const COMDLG_FILTERSPEC, ) -> Result<()>
pub unsafe fn SetFileTypeIndex(&self, ifiletype: u32) -> Result<()>
pub unsafe fn GetFileTypeIndex(&self) -> Result<u32>
pub unsafe fn Advise<'a>( &self, pfde: impl IntoParam<'a, IFileDialogEvents>, ) -> Result<u32>
pub unsafe fn Unadvise(&self, dwcookie: u32) -> Result<()>
pub unsafe fn SetOptions(&self, fos: u32) -> Result<()>
pub unsafe fn GetOptions(&self) -> Result<u32>
pub unsafe fn SetDefaultFolder<'a>( &self, psi: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn SetFolder<'a>( &self, psi: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn GetFolder(&self) -> Result<IShellItem>
pub unsafe fn GetCurrentSelection(&self) -> Result<IShellItem>
pub unsafe fn SetFileName<'a>( &self, pszname: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn GetFileName(&self) -> Result<PWSTR>
pub unsafe fn SetTitle<'a>( &self, psztitle: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn SetOkButtonLabel<'a>( &self, psztext: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn SetFileNameLabel<'a>( &self, pszlabel: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn GetResult(&self) -> Result<IShellItem>
pub unsafe fn AddPlace<'a>( &self, psi: impl IntoParam<'a, IShellItem>, fdap: FDAP, ) -> Result<()>
pub unsafe fn SetDefaultExtension<'a>( &self, pszdefaultextension: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn Close(&self, hr: HRESULT) -> Result<()>
pub unsafe fn SetClientGuid(&self, guid: *const Guid) -> Result<()>
pub unsafe fn ClearClientData(&self) -> Result<()>
pub unsafe fn SetFilter<'a>( &self, pfilter: impl IntoParam<'a, IShellItemFilter>, ) -> Result<()>
pub unsafe fn GetResults(&self) -> Result<IShellItemArray>
pub unsafe fn GetSelectedItems(&self) -> Result<IShellItemArray>
Trait Implementations§
Source§impl Clone for IFileOpenDialog
impl Clone for IFileOpenDialog
Source§fn clone(&self) -> IFileOpenDialog
fn clone(&self) -> IFileOpenDialog
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IFileOpenDialog
impl Debug for IFileOpenDialog
Source§impl From<&IFileOpenDialog> for IFileDialog
impl From<&IFileOpenDialog> for IFileDialog
Source§fn from(value: &IFileOpenDialog) -> Self
fn from(value: &IFileOpenDialog) -> Self
Converts to this type from the input type.
Source§impl From<&IFileOpenDialog> for IModalWindow
impl From<&IFileOpenDialog> for IModalWindow
Source§fn from(value: &IFileOpenDialog) -> Self
fn from(value: &IFileOpenDialog) -> Self
Converts to this type from the input type.
Source§impl From<&IFileOpenDialog> for IUnknown
impl From<&IFileOpenDialog> for IUnknown
Source§fn from(value: &IFileOpenDialog) -> Self
fn from(value: &IFileOpenDialog) -> Self
Converts to this type from the input type.
Source§impl From<IFileOpenDialog> for IFileDialog
impl From<IFileOpenDialog> for IFileDialog
Source§fn from(value: IFileOpenDialog) -> Self
fn from(value: IFileOpenDialog) -> Self
Converts to this type from the input type.
Source§impl From<IFileOpenDialog> for IModalWindow
impl From<IFileOpenDialog> for IModalWindow
Source§fn from(value: IFileOpenDialog) -> Self
fn from(value: IFileOpenDialog) -> Self
Converts to this type from the input type.
Source§impl From<IFileOpenDialog> for IUnknown
impl From<IFileOpenDialog> for IUnknown
Source§fn from(value: IFileOpenDialog) -> Self
fn from(value: IFileOpenDialog) -> Self
Converts to this type from the input type.
Source§impl Interface for IFileOpenDialog
impl Interface for IFileOpenDialog
const IID: Guid
type Vtable = IFileOpenDialog_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IFileOpenDialog
impl PartialEq for IFileOpenDialog
impl Eq for IFileOpenDialog
impl StructuralPartialEq for IFileOpenDialog
Auto Trait Implementations§
impl Freeze for IFileOpenDialog
impl RefUnwindSafe for IFileOpenDialog
impl !Send for IFileOpenDialog
impl !Sync for IFileOpenDialog
impl Unpin for IFileOpenDialog
impl UnwindSafe for IFileOpenDialog
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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