#[repr(C)]pub struct IPortableDeviceConnector_Vtbl {
pub base__: IUnknown_Vtbl,
pub Connect: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub Disconnect: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub Cancel: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub GetProperty: unsafe extern "system" fn(_: *mut c_void, _: *const DEVPROPKEY, _: *mut DEVPROPTYPE, _: *mut *mut u8, _: *mut u32) -> HRESULT,
pub SetProperty: unsafe extern "system" fn(_: *mut c_void, _: *const DEVPROPKEY, _: DEVPROPTYPE, _: *const u8, _: u32) -> HRESULT,
pub GetPnPID: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§Connect: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§Disconnect: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§Cancel: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§GetProperty: unsafe extern "system" fn(_: *mut c_void, _: *const DEVPROPKEY, _: *mut DEVPROPTYPE, _: *mut *mut u8, _: *mut u32) -> HRESULT
§SetProperty: unsafe extern "system" fn(_: *mut c_void, _: *const DEVPROPKEY, _: DEVPROPTYPE, _: *const u8, _: u32) -> HRESULT
§GetPnPID: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT
Implementations§
§impl IPortableDeviceConnector_Vtbl
impl IPortableDeviceConnector_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IPortableDeviceConnector_Vtblwhere
Identity: IPortableDeviceConnector_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IPortableDeviceConnector_Vtbl
impl RefUnwindSafe for IPortableDeviceConnector_Vtbl
impl Send for IPortableDeviceConnector_Vtbl
impl Sync for IPortableDeviceConnector_Vtbl
impl Unpin for IPortableDeviceConnector_Vtbl
impl UnwindSafe for IPortableDeviceConnector_Vtbl
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