Trait windows::Win32::System::MessageQueuing::IMSMQQueue_Impl
pub trait IMSMQQueue_Impl: Sized + IDispatch_Impl {
Show 13 methods
// Required methods
fn Access(&self) -> Result<i32>;
fn ShareMode(&self) -> Result<i32>;
fn QueueInfo(&self) -> Result<IMSMQQueueInfo>;
fn Handle(&self) -> Result<i32>;
fn IsOpen(&self) -> Result<i16>;
fn Close(&self) -> Result<()>;
fn Receive(
&self,
transaction: *const VARIANT,
wantdestinationqueue: *const VARIANT,
wantbody: *const VARIANT,
receivetimeout: *const VARIANT,
) -> Result<IMSMQMessage>;
fn Peek(
&self,
wantdestinationqueue: *const VARIANT,
wantbody: *const VARIANT,
receivetimeout: *const VARIANT,
) -> Result<IMSMQMessage>;
fn EnableNotification(
&self,
event: Option<&IMSMQEvent>,
cursor: *const VARIANT,
receivetimeout: *const VARIANT,
) -> Result<()>;
fn Reset(&self) -> Result<()>;
fn ReceiveCurrent(
&self,
transaction: *const VARIANT,
wantdestinationqueue: *const VARIANT,
wantbody: *const VARIANT,
receivetimeout: *const VARIANT,
) -> Result<IMSMQMessage>;
fn PeekNext(
&self,
wantdestinationqueue: *const VARIANT,
wantbody: *const VARIANT,
receivetimeout: *const VARIANT,
) -> Result<IMSMQMessage>;
fn PeekCurrent(
&self,
wantdestinationqueue: *const VARIANT,
wantbody: *const VARIANT,
receivetimeout: *const VARIANT,
) -> Result<IMSMQMessage>;
}
Required Methods§
fn Access(&self) -> Result<i32>
fn QueueInfo(&self) -> Result<IMSMQQueueInfo>
fn Handle(&self) -> Result<i32>
fn IsOpen(&self) -> Result<i16>
fn Close(&self) -> Result<()>
fn Receive( &self, transaction: *const VARIANT, wantdestinationqueue: *const VARIANT, wantbody: *const VARIANT, receivetimeout: *const VARIANT, ) -> Result<IMSMQMessage>
fn Peek( &self, wantdestinationqueue: *const VARIANT, wantbody: *const VARIANT, receivetimeout: *const VARIANT, ) -> Result<IMSMQMessage>
fn EnableNotification( &self, event: Option<&IMSMQEvent>, cursor: *const VARIANT, receivetimeout: *const VARIANT, ) -> Result<()>
fn Reset(&self) -> Result<()>
fn ReceiveCurrent( &self, transaction: *const VARIANT, wantdestinationqueue: *const VARIANT, wantbody: *const VARIANT, receivetimeout: *const VARIANT, ) -> Result<IMSMQMessage>
fn PeekNext( &self, wantdestinationqueue: *const VARIANT, wantbody: *const VARIANT, receivetimeout: *const VARIANT, ) -> Result<IMSMQMessage>
fn PeekCurrent( &self, wantdestinationqueue: *const VARIANT, wantbody: *const VARIANT, receivetimeout: *const VARIANT, ) -> Result<IMSMQMessage>
Object Safety§
This trait is not object safe.