Trait windows::Win32::System::Ole::ITypeMarshal_Impl

pub trait ITypeMarshal_Impl: Sized {
    // Required methods
    fn Size(
        &self,
        pvtype: *const c_void,
        dwdestcontext: u32,
        pvdestcontext: *const c_void,
    ) -> Result<u32>;
    fn Marshal(
        &self,
        pvtype: *const c_void,
        dwdestcontext: u32,
        pvdestcontext: *const c_void,
        cbbufferlength: u32,
        pbuffer: *mut u8,
        pcbwritten: *mut u32,
    ) -> Result<()>;
    fn Unmarshal(
        &self,
        pvtype: *mut c_void,
        dwflags: u32,
        cbbufferlength: u32,
        pbuffer: *const u8,
        pcbread: *mut u32,
    ) -> Result<()>;
    fn Free(&self, pvtype: *const c_void) -> Result<()>;
}

Required Methods§

fn Size( &self, pvtype: *const c_void, dwdestcontext: u32, pvdestcontext: *const c_void, ) -> Result<u32>

fn Marshal( &self, pvtype: *const c_void, dwdestcontext: u32, pvdestcontext: *const c_void, cbbufferlength: u32, pbuffer: *mut u8, pcbwritten: *mut u32, ) -> Result<()>

fn Unmarshal( &self, pvtype: *mut c_void, dwflags: u32, cbbufferlength: u32, pbuffer: *const u8, pcbread: *mut u32, ) -> Result<()>

fn Free(&self, pvtype: *const c_void) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§