windows::Win32::Devices::WebServicesOnDevices

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

pub const fn new<Identity: IWSDDeviceHost_Impl, const OFFSET: isize>() -> Self

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where 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 T
where 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 T
where U: Into<T>,

Source§

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 T
where U: TryFrom<T>,

Source§

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.