pub struct IFileSaveDialog(/* private fields */);
Implementations§
Source§impl IFileSaveDialog
impl IFileSaveDialog
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 SetSaveAsItem<'a>( &self, psi: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn SetProperties<'a>( &self, pstore: impl IntoParam<'a, IPropertyStore>, ) -> Result<()>
pub unsafe fn SetCollectedProperties<'a>( &self, plist: impl IntoParam<'a, IPropertyDescriptionList>, fappenddefault: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn GetProperties(&self) -> Result<IPropertyStore>
pub unsafe fn ApplyProperties<'a>( &self, psi: impl IntoParam<'a, IShellItem>, pstore: impl IntoParam<'a, IPropertyStore>, hwnd: impl IntoParam<'a, HWND>, psink: impl IntoParam<'a, IFileOperationProgressSink>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IFileSaveDialog
impl Clone for IFileSaveDialog
Source§fn clone(&self) -> IFileSaveDialog
fn clone(&self) -> IFileSaveDialog
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 IFileSaveDialog
impl Debug for IFileSaveDialog
Source§impl From<&IFileSaveDialog> for IFileDialog
impl From<&IFileSaveDialog> for IFileDialog
Source§fn from(value: &IFileSaveDialog) -> Self
fn from(value: &IFileSaveDialog) -> Self
Converts to this type from the input type.
Source§impl From<&IFileSaveDialog> for IModalWindow
impl From<&IFileSaveDialog> for IModalWindow
Source§fn from(value: &IFileSaveDialog) -> Self
fn from(value: &IFileSaveDialog) -> Self
Converts to this type from the input type.
Source§impl From<&IFileSaveDialog> for IUnknown
impl From<&IFileSaveDialog> for IUnknown
Source§fn from(value: &IFileSaveDialog) -> Self
fn from(value: &IFileSaveDialog) -> Self
Converts to this type from the input type.
Source§impl From<IFileSaveDialog> for IFileDialog
impl From<IFileSaveDialog> for IFileDialog
Source§fn from(value: IFileSaveDialog) -> Self
fn from(value: IFileSaveDialog) -> Self
Converts to this type from the input type.
Source§impl From<IFileSaveDialog> for IModalWindow
impl From<IFileSaveDialog> for IModalWindow
Source§fn from(value: IFileSaveDialog) -> Self
fn from(value: IFileSaveDialog) -> Self
Converts to this type from the input type.
Source§impl From<IFileSaveDialog> for IUnknown
impl From<IFileSaveDialog> for IUnknown
Source§fn from(value: IFileSaveDialog) -> Self
fn from(value: IFileSaveDialog) -> Self
Converts to this type from the input type.
Source§impl Interface for IFileSaveDialog
impl Interface for IFileSaveDialog
const IID: Guid
type Vtable = IFileSaveDialog_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 IFileSaveDialog
impl PartialEq for IFileSaveDialog
impl Eq for IFileSaveDialog
impl StructuralPartialEq for IFileSaveDialog
Auto Trait Implementations§
impl Freeze for IFileSaveDialog
impl RefUnwindSafe for IFileSaveDialog
impl !Send for IFileSaveDialog
impl !Sync for IFileSaveDialog
impl Unpin for IFileSaveDialog
impl UnwindSafe for IFileSaveDialog
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