windows::Win32::System::DistributedTransactionCoordinator

Trait IDtcToXaHelperSinglePipe_Impl

pub trait IDtcToXaHelperSinglePipe_Impl: IUnknownImpl {
    // Required methods
    fn XARMCreate(
        &self,
        pszdsn: &PCSTR,
        pszclientdll: &PCSTR,
        pdwrmcookie: *mut u32,
    ) -> Result<()>;
    fn ConvertTridToXID(
        &self,
        pdwitrans: *mut u32,
        dwrmcookie: u32,
        pxid: *mut XID,
    ) -> Result<()>;
    fn EnlistWithRM(
        &self,
        dwrmcookie: u32,
        i_pitransaction: Ref<'_, ITransaction>,
        i_pitransres: Ref<'_, ITransactionResourceAsync>,
    ) -> Result<ITransactionEnlistmentAsync>;
    fn ReleaseRMCookie(&self, i_dwrmcookie: u32, i_fnormal: BOOL);
}

Required Methods§

fn XARMCreate( &self, pszdsn: &PCSTR, pszclientdll: &PCSTR, pdwrmcookie: *mut u32, ) -> Result<()>

fn ConvertTridToXID( &self, pdwitrans: *mut u32, dwrmcookie: u32, pxid: *mut XID, ) -> Result<()>

fn EnlistWithRM( &self, dwrmcookie: u32, i_pitransaction: Ref<'_, ITransaction>, i_pitransres: Ref<'_, ITransactionResourceAsync>, ) -> Result<ITransactionEnlistmentAsync>

fn ReleaseRMCookie(&self, i_dwrmcookie: u32, i_fnormal: BOOL)

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§