Struct IWSDDeviceHost_Vtbl
#[repr(C)]pub struct IWSDDeviceHost_Vtbl {Show 13 fields
pub base__: IUnknown_Vtbl,
pub Init: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut c_void, _: *const *mut c_void, _: u32) -> HRESULT,
pub Start: unsafe extern "system" fn(_: *mut c_void, _: u64, _: *const WSD_URI_LIST, _: *mut c_void) -> HRESULT,
pub Stop: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub Terminate: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub RegisterPortType: unsafe extern "system" fn(_: *mut c_void, _: *const WSD_PORT_TYPE) -> HRESULT,
pub SetMetadata: unsafe extern "system" fn(_: *mut c_void, _: *const WSD_THIS_MODEL_METADATA, _: *const WSD_THIS_DEVICE_METADATA, _: *const WSD_HOST_METADATA, _: *const WSD_METADATA_SECTION_LIST) -> HRESULT,
pub RegisterService: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut c_void) -> HRESULT,
pub RetireService: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT,
pub AddDynamicService: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: PCWSTR, _: *const WSD_PORT_TYPE, _: *const WSDXML_NAME, _: *const WSDXML_ELEMENT, _: *mut c_void) -> HRESULT,
pub RemoveDynamicService: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT,
pub SetServiceDiscoverable: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: BOOL) -> HRESULT,
pub SignalEvent: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *const c_void, _: *const WSD_OPERATION) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§Init: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut c_void, _: *const *mut c_void, _: u32) -> HRESULT
§Start: unsafe extern "system" fn(_: *mut c_void, _: u64, _: *const WSD_URI_LIST, _: *mut c_void) -> HRESULT
§Stop: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§Terminate: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§RegisterPortType: unsafe extern "system" fn(_: *mut c_void, _: *const WSD_PORT_TYPE) -> HRESULT
§SetMetadata: unsafe extern "system" fn(_: *mut c_void, _: *const WSD_THIS_MODEL_METADATA, _: *const WSD_THIS_DEVICE_METADATA, _: *const WSD_HOST_METADATA, _: *const WSD_METADATA_SECTION_LIST) -> HRESULT
§RegisterService: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut c_void) -> HRESULT
§RetireService: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT
§AddDynamicService: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: PCWSTR, _: *const WSD_PORT_TYPE, _: *const WSDXML_NAME, _: *const WSDXML_ELEMENT, _: *mut c_void) -> HRESULT
§RemoveDynamicService: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT
§SetServiceDiscoverable: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: BOOL) -> HRESULT
§SignalEvent: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *const c_void, _: *const WSD_OPERATION) -> HRESULT
Implementations§
§impl IWSDDeviceHost_Vtbl
impl IWSDDeviceHost_Vtbl
pub const fn new<Identity: IWSDDeviceHost_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IWSDDeviceHost_Vtbl
impl RefUnwindSafe for IWSDDeviceHost_Vtbl
impl Send for IWSDDeviceHost_Vtbl
impl Sync for IWSDDeviceHost_Vtbl
impl Unpin for IWSDDeviceHost_Vtbl
impl UnwindSafe for IWSDDeviceHost_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