#[repr(C)]pub struct ILockBytesVtbl {
pub QueryInterface: Option<unsafe extern "C" fn(This: *mut ILockBytes, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>,
pub AddRef: Option<unsafe extern "C" fn(This: *mut ILockBytes) -> ULONG>,
pub Release: Option<unsafe extern "C" fn(This: *mut ILockBytes) -> ULONG>,
pub ReadAt: Option<unsafe extern "C" fn(This: *mut ILockBytes, ulOffset: ULARGE_INTEGER, pv: *mut c_void, cb: ULONG, pcbRead: *mut ULONG) -> HRESULT>,
pub WriteAt: Option<unsafe extern "C" fn(This: *mut ILockBytes, ulOffset: ULARGE_INTEGER, pv: *const c_void, cb: ULONG, pcbWritten: *mut ULONG) -> HRESULT>,
pub Flush: Option<unsafe extern "C" fn(This: *mut ILockBytes) -> HRESULT>,
pub SetSize: Option<unsafe extern "C" fn(This: *mut ILockBytes, cb: ULARGE_INTEGER) -> HRESULT>,
pub LockRegion: Option<unsafe extern "C" fn(This: *mut ILockBytes, libOffset: ULARGE_INTEGER, cb: ULARGE_INTEGER, dwLockType: DWORD) -> HRESULT>,
pub UnlockRegion: Option<unsafe extern "C" fn(This: *mut ILockBytes, libOffset: ULARGE_INTEGER, cb: ULARGE_INTEGER, dwLockType: DWORD) -> HRESULT>,
pub Stat: Option<unsafe extern "C" fn(This: *mut ILockBytes, pstatstg: *mut STATSTG, grfStatFlag: DWORD) -> HRESULT>,
}
Fields§
§QueryInterface: Option<unsafe extern "C" fn(This: *mut ILockBytes, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>
§AddRef: Option<unsafe extern "C" fn(This: *mut ILockBytes) -> ULONG>
§Release: Option<unsafe extern "C" fn(This: *mut ILockBytes) -> ULONG>
§ReadAt: Option<unsafe extern "C" fn(This: *mut ILockBytes, ulOffset: ULARGE_INTEGER, pv: *mut c_void, cb: ULONG, pcbRead: *mut ULONG) -> HRESULT>
§WriteAt: Option<unsafe extern "C" fn(This: *mut ILockBytes, ulOffset: ULARGE_INTEGER, pv: *const c_void, cb: ULONG, pcbWritten: *mut ULONG) -> HRESULT>
§Flush: Option<unsafe extern "C" fn(This: *mut ILockBytes) -> HRESULT>
§SetSize: Option<unsafe extern "C" fn(This: *mut ILockBytes, cb: ULARGE_INTEGER) -> HRESULT>
§LockRegion: Option<unsafe extern "C" fn(This: *mut ILockBytes, libOffset: ULARGE_INTEGER, cb: ULARGE_INTEGER, dwLockType: DWORD) -> HRESULT>
§UnlockRegion: Option<unsafe extern "C" fn(This: *mut ILockBytes, libOffset: ULARGE_INTEGER, cb: ULARGE_INTEGER, dwLockType: DWORD) -> HRESULT>
§Stat: Option<unsafe extern "C" 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 copy 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 moreSource§impl Debug for ILockBytesVtbl
impl Debug for ILockBytesVtbl
Source§impl Ord for ILockBytesVtbl
impl Ord for ILockBytesVtbl
Source§fn cmp(&self, other: &ILockBytesVtbl) -> Ordering
fn cmp(&self, other: &ILockBytesVtbl) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ILockBytesVtbl
impl PartialEq for ILockBytesVtbl
Source§impl PartialOrd for ILockBytesVtbl
impl PartialOrd for ILockBytesVtbl
impl Copy for ILockBytesVtbl
impl Eq for ILockBytesVtbl
impl StructuralPartialEq 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