Struct windows::Security::Isolation::MessageReceivedCallback
#[repr(transparent)]pub struct MessageReceivedCallback(pub IUnknown);
Expand description
Required features: "Security_Isolation"
, "Foundation_Collections"
Tuple Fields§
§0: IUnknown
Implementations§
§impl MessageReceivedCallback
impl MessageReceivedCallback
pub fn new<F: FnMut(&GUID, &Option<IVectorView<IInspectable>>) -> Result<()> + Send + 'static>(
invoke: F
) -> Self
pub fn Invoke<P0, E0>(&self, receiverid: GUID, message: P0) -> Result<()>where
P0: TryInto<InParam<IVectorView<IInspectable>>, Error = E0>,
E0: Into<Error>,
pub fn Invoke<P0, E0>(&self, receiverid: GUID, message: P0) -> Result<()>where
P0: TryInto<InParam<IVectorView<IInspectable>>, Error = E0>,
E0: Into<Error>,
Required features: "Foundation_Collections"
Trait Implementations§
§impl Clone for MessageReceivedCallback
impl Clone for MessageReceivedCallback
§impl Debug for MessageReceivedCallback
impl Debug for MessageReceivedCallback
§impl Interface for MessageReceivedCallback
impl Interface for MessageReceivedCallback
§impl PartialEq<MessageReceivedCallback> for MessageReceivedCallback
impl PartialEq<MessageReceivedCallback> for MessageReceivedCallback
§impl Vtable for MessageReceivedCallback
impl Vtable for MessageReceivedCallback
type Vtable = MessageReceivedCallback_Vtbl
§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.