Struct windows::Win32::UI::Shell::IAttachmentExecute
pub struct IAttachmentExecute(/* private fields */);
Implementations§
§impl IAttachmentExecute
impl IAttachmentExecute
pub unsafe fn SetClientTitle<P0>(&self, psztitle: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn SetClientGuid(&self, guid: *const GUID) -> Result<()>
pub unsafe fn SetLocalPath<P0>(&self, pszlocalpath: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn SetFileName<P0>(&self, pszfilename: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn SetSource<P0>(&self, pszsource: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn SetReferrer<P0>(&self, pszreferrer: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn CheckPolicy(&self) -> Result<()>
pub unsafe fn Prompt<P0>(
&self,
hwnd: P0,
prompt: ATTACHMENT_PROMPT
) -> Result<ATTACHMENT_ACTION>where
P0: IntoParam<HWND>,
pub unsafe fn Save(&self) -> Result<()>
pub unsafe fn Execute<P0, P1>( &self, hwnd: P0, pszverb: P1, phprocess: Option<*mut HANDLE> ) -> Result<()>
pub unsafe fn SaveWithUI<P0>(&self, hwnd: P0) -> Result<()>where
P0: IntoParam<HWND>,
pub unsafe fn ClearClientState(&self) -> Result<()>
Trait Implementations§
§impl Clone for IAttachmentExecute
impl Clone for IAttachmentExecute
§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 more§impl Debug for IAttachmentExecute
impl Debug for IAttachmentExecute
§impl From<&IAttachmentExecute> for &IUnknown
impl From<&IAttachmentExecute> for &IUnknown
§fn from(value: &IAttachmentExecute) -> Self
fn from(value: &IAttachmentExecute) -> Self
Converts to this type from the input type.
§impl From<IAttachmentExecute> for IUnknown
impl From<IAttachmentExecute> for IUnknown
§fn from(value: IAttachmentExecute) -> Self
fn from(value: IAttachmentExecute) -> Self
Converts to this type from the input type.
§impl Interface for IAttachmentExecute
impl Interface for IAttachmentExecute
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IAttachmentExecute
impl PartialEq for IAttachmentExecute
§fn eq(&self, other: &IAttachmentExecute) -> bool
fn eq(&self, other: &IAttachmentExecute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IAttachmentExecute
impl StructuralPartialEq for IAttachmentExecute
Auto Trait Implementations§
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> 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