windows::Win32::Devices::WebServicesOnDevices

Struct IWSDiscoveredService_Vtbl

#[repr(C)]
pub struct IWSDiscoveredService_Vtbl { pub base__: IUnknown_Vtbl, pub GetEndpointReference: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut WSD_ENDPOINT_REFERENCE) -> HRESULT, pub GetTypes: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut WSD_NAME_LIST) -> HRESULT, pub GetScopes: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut WSD_URI_LIST) -> HRESULT, pub GetXAddrs: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut WSD_URI_LIST) -> HRESULT, pub GetMetadataVersion: unsafe extern "system" fn(_: *mut c_void, _: *mut u64) -> HRESULT, pub GetExtendedDiscoXML: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut WSDXML_ELEMENT, _: *mut *mut WSDXML_ELEMENT) -> HRESULT, pub GetProbeResolveTag: unsafe extern "system" fn(_: *mut c_void, _: *mut PCWSTR) -> HRESULT, pub GetRemoteTransportAddress: unsafe extern "system" fn(_: *mut c_void, _: *mut PCWSTR) -> HRESULT, pub GetLocalTransportAddress: unsafe extern "system" fn(_: *mut c_void, _: *mut PCWSTR) -> HRESULT, pub GetLocalInterfaceGUID: unsafe extern "system" fn(_: *mut c_void, _: *mut GUID) -> HRESULT, pub GetInstanceId: unsafe extern "system" fn(_: *mut c_void, _: *mut u64) -> HRESULT, }

Fields§

§base__: IUnknown_Vtbl§GetEndpointReference: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut WSD_ENDPOINT_REFERENCE) -> HRESULT§GetTypes: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut WSD_NAME_LIST) -> HRESULT§GetScopes: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut WSD_URI_LIST) -> HRESULT§GetXAddrs: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut WSD_URI_LIST) -> HRESULT§GetMetadataVersion: unsafe extern "system" fn(_: *mut c_void, _: *mut u64) -> HRESULT§GetExtendedDiscoXML: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut WSDXML_ELEMENT, _: *mut *mut WSDXML_ELEMENT) -> HRESULT§GetProbeResolveTag: unsafe extern "system" fn(_: *mut c_void, _: *mut PCWSTR) -> HRESULT§GetRemoteTransportAddress: unsafe extern "system" fn(_: *mut c_void, _: *mut PCWSTR) -> HRESULT§GetLocalTransportAddress: unsafe extern "system" fn(_: *mut c_void, _: *mut PCWSTR) -> HRESULT§GetLocalInterfaceGUID: unsafe extern "system" fn(_: *mut c_void, _: *mut GUID) -> HRESULT§GetInstanceId: unsafe extern "system" fn(_: *mut c_void, _: *mut u64) -> HRESULT

Implementations§

§

impl IWSDiscoveredService_Vtbl

pub const fn new<Identity: IWSDiscoveredService_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.