Struct vc6_sys::IMarshalVtbl

source ·
#[repr(C)]
pub struct IMarshalVtbl { pub QueryInterface: Option<unsafe extern "stdcall" fn(This: *mut IMarshal, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>, pub AddRef: Option<unsafe extern "stdcall" fn(This: *mut IMarshal) -> ULONG>, pub Release: Option<unsafe extern "stdcall" fn(This: *mut IMarshal) -> ULONG>, pub GetUnmarshalClass: Option<unsafe extern "stdcall" fn(This: *mut IMarshal, riid: *const IID, pv: *mut c_void, dwDestContext: DWORD, pvDestContext: *mut c_void, mshlflags: DWORD, pCid: *mut CLSID) -> HRESULT>, pub GetMarshalSizeMax: Option<unsafe extern "stdcall" fn(This: *mut IMarshal, riid: *const IID, pv: *mut c_void, dwDestContext: DWORD, pvDestContext: *mut c_void, mshlflags: DWORD, pSize: *mut DWORD) -> HRESULT>, pub MarshalInterface: Option<unsafe extern "stdcall" fn(This: *mut IMarshal, pStm: *mut IStream, riid: *const IID, pv: *mut c_void, dwDestContext: DWORD, pvDestContext: *mut c_void, mshlflags: DWORD) -> HRESULT>, pub UnmarshalInterface: Option<unsafe extern "stdcall" fn(This: *mut IMarshal, pStm: *mut IStream, riid: *const IID, ppv: *mut *mut c_void) -> HRESULT>, pub ReleaseMarshalData: Option<unsafe extern "stdcall" fn(This: *mut IMarshal, pStm: *mut IStream) -> HRESULT>, pub DisconnectObject: Option<unsafe extern "stdcall" fn(This: *mut IMarshal, dwReserved: DWORD) -> HRESULT>, }

Fields§

§QueryInterface: Option<unsafe extern "stdcall" fn(This: *mut IMarshal, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>§AddRef: Option<unsafe extern "stdcall" fn(This: *mut IMarshal) -> ULONG>§Release: Option<unsafe extern "stdcall" fn(This: *mut IMarshal) -> ULONG>§GetUnmarshalClass: Option<unsafe extern "stdcall" fn(This: *mut IMarshal, riid: *const IID, pv: *mut c_void, dwDestContext: DWORD, pvDestContext: *mut c_void, mshlflags: DWORD, pCid: *mut CLSID) -> HRESULT>§GetMarshalSizeMax: Option<unsafe extern "stdcall" fn(This: *mut IMarshal, riid: *const IID, pv: *mut c_void, dwDestContext: DWORD, pvDestContext: *mut c_void, mshlflags: DWORD, pSize: *mut DWORD) -> HRESULT>§MarshalInterface: Option<unsafe extern "stdcall" fn(This: *mut IMarshal, pStm: *mut IStream, riid: *const IID, pv: *mut c_void, dwDestContext: DWORD, pvDestContext: *mut c_void, mshlflags: DWORD) -> HRESULT>§UnmarshalInterface: Option<unsafe extern "stdcall" fn(This: *mut IMarshal, pStm: *mut IStream, riid: *const IID, ppv: *mut *mut c_void) -> HRESULT>§ReleaseMarshalData: Option<unsafe extern "stdcall" fn(This: *mut IMarshal, pStm: *mut IStream) -> HRESULT>§DisconnectObject: Option<unsafe extern "stdcall" fn(This: *mut IMarshal, dwReserved: DWORD) -> HRESULT>

Trait Implementations§

source§

impl Clone for IMarshalVtbl

source§

fn clone(&self) -> IMarshalVtbl

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for IMarshalVtbl

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.