windows::Win32::System::ComponentServices

Trait IComQCEvents_Impl

pub trait IComQCEvents_Impl: IUnknownImpl {
    // Required methods
    fn OnQCRecord(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        objid: u64,
        szqueue: &PCWSTR,
        guidmsgid: *const GUID,
        guidworkflowid: *const GUID,
        msmqhr: HRESULT,
    ) -> Result<()>;
    fn OnQCQueueOpen(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        szqueue: &PCWSTR,
        queueid: u64,
        hr: HRESULT,
    ) -> Result<()>;
    fn OnQCReceive(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        queueid: u64,
        guidmsgid: *const GUID,
        guidworkflowid: *const GUID,
        hr: HRESULT,
    ) -> Result<()>;
    fn OnQCReceiveFail(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        queueid: u64,
        msmqhr: HRESULT,
    ) -> Result<()>;
    fn OnQCMoveToReTryQueue(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        guidmsgid: *const GUID,
        guidworkflowid: *const GUID,
        retryindex: u32,
    ) -> Result<()>;
    fn OnQCMoveToDeadQueue(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        guidmsgid: *const GUID,
        guidworkflowid: *const GUID,
    ) -> Result<()>;
    fn OnQCPlayback(
        &self,
        pinfo: *const COMSVCSEVENTINFO,
        objid: u64,
        guidmsgid: *const GUID,
        guidworkflowid: *const GUID,
        hr: HRESULT,
    ) -> Result<()>;
}

Required Methods§

fn OnQCRecord( &self, pinfo: *const COMSVCSEVENTINFO, objid: u64, szqueue: &PCWSTR, guidmsgid: *const GUID, guidworkflowid: *const GUID, msmqhr: HRESULT, ) -> Result<()>

fn OnQCQueueOpen( &self, pinfo: *const COMSVCSEVENTINFO, szqueue: &PCWSTR, queueid: u64, hr: HRESULT, ) -> Result<()>

fn OnQCReceive( &self, pinfo: *const COMSVCSEVENTINFO, queueid: u64, guidmsgid: *const GUID, guidworkflowid: *const GUID, hr: HRESULT, ) -> Result<()>

fn OnQCReceiveFail( &self, pinfo: *const COMSVCSEVENTINFO, queueid: u64, msmqhr: HRESULT, ) -> Result<()>

fn OnQCMoveToReTryQueue( &self, pinfo: *const COMSVCSEVENTINFO, guidmsgid: *const GUID, guidworkflowid: *const GUID, retryindex: u32, ) -> Result<()>

fn OnQCMoveToDeadQueue( &self, pinfo: *const COMSVCSEVENTINFO, guidmsgid: *const GUID, guidworkflowid: *const GUID, ) -> Result<()>

fn OnQCPlayback( &self, pinfo: *const COMSVCSEVENTINFO, objid: u64, guidmsgid: *const GUID, guidworkflowid: *const GUID, hr: HRESULT, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§