windows::Win32::System::ComponentServices

Trait IDispenserDriver_Impl

pub trait IDispenserDriver_Impl: IUnknownImpl {
    // Required methods
    fn CreateResource(
        &self,
        restypid: usize,
        presid: *mut usize,
        psecsfreebeforedestroy: *mut i32,
    ) -> Result<()>;
    fn RateResource(
        &self,
        restypid: usize,
        resid: usize,
        frequirestransactionenlistment: BOOL,
        prating: *mut u32,
    ) -> Result<()>;
    fn EnlistResource(&self, resid: usize, transid: usize) -> Result<()>;
    fn ResetResource(&self, resid: usize) -> Result<()>;
    fn DestroyResource(&self, resid: usize) -> Result<()>;
    fn DestroyResourceS(&self, resid: *mut u16) -> Result<()>;
}

Required Methods§

fn CreateResource( &self, restypid: usize, presid: *mut usize, psecsfreebeforedestroy: *mut i32, ) -> Result<()>

fn RateResource( &self, restypid: usize, resid: usize, frequirestransactionenlistment: BOOL, prating: *mut u32, ) -> Result<()>

fn EnlistResource(&self, resid: usize, transid: usize) -> Result<()>

fn ResetResource(&self, resid: usize) -> Result<()>

fn DestroyResource(&self, resid: usize) -> Result<()>

fn DestroyResourceS(&self, resid: *mut u16) -> 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§