windows::Win32::System::DistributedTransactionCoordinator

Trait IDtcToXaMapper_Impl

pub trait IDtcToXaMapper_Impl: IUnknownImpl {
    // Required methods
    fn RequestNewResourceManager(
        &self,
        pszdsn: &PCSTR,
        pszclientdllname: &PCSTR,
        pdwrmcookie: *mut u32,
    ) -> Result<()>;
    fn TranslateTridToXid(
        &self,
        pdwitransaction: *const u32,
        dwrmcookie: u32,
        pxid: *mut XID,
    ) -> Result<()>;
    fn EnlistResourceManager(
        &self,
        dwrmcookie: u32,
        pdwitransaction: *const u32,
    ) -> Result<()>;
    fn ReleaseResourceManager(&self, dwrmcookie: u32) -> Result<()>;
}

Required Methods§

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

fn TranslateTridToXid( &self, pdwitransaction: *const u32, dwrmcookie: u32, pxid: *mut XID, ) -> Result<()>

fn EnlistResourceManager( &self, dwrmcookie: u32, pdwitransaction: *const u32, ) -> Result<()>

fn ReleaseResourceManager(&self, dwrmcookie: u32) -> 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§