#[repr(C)]pub struct ILockBytesVtbl {
pub QueryInterface: Option<unsafe extern "stdcall" fn(This: *mut ILockBytes, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>,
pub AddRef: Option<unsafe extern "stdcall" fn(This: *mut ILockBytes) -> ULONG>,
pub Release: Option<unsafe extern "stdcall" fn(This: *mut ILockBytes) -> ULONG>,
pub ReadAt: Option<unsafe extern "stdcall" fn(This: *mut ILockBytes, ulOffset: ULARGE_INTEGER, pv: *mut c_void, cb: ULONG, pcbRead: *mut ULONG) -> HRESULT>,
pub WriteAt: Option<unsafe extern "stdcall" fn(This: *mut ILockBytes, ulOffset: ULARGE_INTEGER, pv: *const c_void, cb: ULONG, pcbWritten: *mut ULONG) -> HRESULT>,
pub Flush: Option<unsafe extern "stdcall" fn(This: *mut ILockBytes) -> HRESULT>,
pub SetSize: Option<unsafe extern "stdcall" fn(This: *mut ILockBytes, cb: ULARGE_INTEGER) -> HRESULT>,
pub LockRegion: Option<unsafe extern "stdcall" fn(This: *mut ILockBytes, libOffset: ULARGE_INTEGER, cb: ULARGE_INTEGER, dwLockType: DWORD) -> HRESULT>,
pub UnlockRegion: Option<unsafe extern "stdcall" fn(This: *mut ILockBytes, libOffset: ULARGE_INTEGER, cb: ULARGE_INTEGER, dwLockType: DWORD) -> HRESULT>,
pub Stat: Option<unsafe extern "stdcall" fn(This: *mut ILockBytes, pstatstg: *mut STATSTG, grfStatFlag: DWORD) -> HRESULT>,
}Fields§
§QueryInterface: Option<unsafe extern "stdcall" fn(This: *mut ILockBytes, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>§AddRef: Option<unsafe extern "stdcall" fn(This: *mut ILockBytes) -> ULONG>§Release: Option<unsafe extern "stdcall" fn(This: *mut ILockBytes) -> ULONG>§ReadAt: Option<unsafe extern "stdcall" fn(This: *mut ILockBytes, ulOffset: ULARGE_INTEGER, pv: *mut c_void, cb: ULONG, pcbRead: *mut ULONG) -> HRESULT>§WriteAt: Option<unsafe extern "stdcall" fn(This: *mut ILockBytes, ulOffset: ULARGE_INTEGER, pv: *const c_void, cb: ULONG, pcbWritten: *mut ULONG) -> HRESULT>§Flush: Option<unsafe extern "stdcall" fn(This: *mut ILockBytes) -> HRESULT>§SetSize: Option<unsafe extern "stdcall" fn(This: *mut ILockBytes, cb: ULARGE_INTEGER) -> HRESULT>§LockRegion: Option<unsafe extern "stdcall" fn(This: *mut ILockBytes, libOffset: ULARGE_INTEGER, cb: ULARGE_INTEGER, dwLockType: DWORD) -> HRESULT>§UnlockRegion: Option<unsafe extern "stdcall" fn(This: *mut ILockBytes, libOffset: ULARGE_INTEGER, cb: ULARGE_INTEGER, dwLockType: DWORD) -> HRESULT>§Stat: Option<unsafe extern "stdcall" fn(This: *mut ILockBytes, pstatstg: *mut STATSTG, grfStatFlag: DWORD) -> HRESULT>Trait Implementations§
Source§impl Clone for ILockBytesVtbl
impl Clone for ILockBytesVtbl
Source§fn clone(&self) -> ILockBytesVtbl
fn clone(&self) -> ILockBytesVtbl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ILockBytesVtbl
Auto Trait Implementations§
impl Freeze for ILockBytesVtbl
impl RefUnwindSafe for ILockBytesVtbl
impl Send for ILockBytesVtbl
impl Sync for ILockBytesVtbl
impl Unpin for ILockBytesVtbl
impl UnwindSafe for ILockBytesVtbl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more