pub struct IAttachmentExecute(/* private fields */);
Implementations§
Source§impl IAttachmentExecute
impl IAttachmentExecute
pub unsafe fn SetClientTitle<'a>( &self, psztitle: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn SetClientGuid(&self, guid: *const Guid) -> Result<()>
pub unsafe fn SetLocalPath<'a>( &self, pszlocalpath: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn SetFileName<'a>( &self, pszfilename: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn SetSource<'a>( &self, pszsource: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn SetReferrer<'a>( &self, pszreferrer: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn CheckPolicy(&self) -> Result<()>
pub unsafe fn Prompt<'a>( &self, hwnd: impl IntoParam<'a, HWND>, prompt: ATTACHMENT_PROMPT, ) -> Result<ATTACHMENT_ACTION>
pub unsafe fn Save(&self) -> Result<()>
pub unsafe fn Execute<'a>( &self, hwnd: impl IntoParam<'a, HWND>, pszverb: impl IntoParam<'a, PWSTR>, ) -> Result<HANDLE>
pub unsafe fn SaveWithUI<'a>( &self, hwnd: impl IntoParam<'a, HWND>, ) -> Result<()>
pub unsafe fn ClearClientState(&self) -> Result<()>
Trait Implementations§
Source§impl Clone for IAttachmentExecute
impl Clone for IAttachmentExecute
Source§fn clone(&self) -> IAttachmentExecute
fn clone(&self) -> IAttachmentExecute
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 IAttachmentExecute
impl Debug for IAttachmentExecute
Source§impl From<&IAttachmentExecute> for IUnknown
impl From<&IAttachmentExecute> for IUnknown
Source§fn from(value: &IAttachmentExecute) -> Self
fn from(value: &IAttachmentExecute) -> Self
Converts to this type from the input type.
Source§impl From<IAttachmentExecute> for IUnknown
impl From<IAttachmentExecute> for IUnknown
Source§fn from(value: IAttachmentExecute) -> Self
fn from(value: IAttachmentExecute) -> Self
Converts to this type from the input type.
Source§impl Interface for IAttachmentExecute
impl Interface for IAttachmentExecute
const IID: Guid
type Vtable = IAttachmentExecute_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 IAttachmentExecute
impl PartialEq for IAttachmentExecute
impl Eq for IAttachmentExecute
impl StructuralPartialEq for IAttachmentExecute
Auto Trait Implementations§
impl Freeze for IAttachmentExecute
impl RefUnwindSafe for IAttachmentExecute
impl !Send for IAttachmentExecute
impl !Sync for IAttachmentExecute
impl Unpin for IAttachmentExecute
impl UnwindSafe for IAttachmentExecute
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