#[repr(C)]
pub struct IWTSProtocolConnection_Vtbl {
Show 24 fields pub base__: IUnknown_Vtbl, pub GetLogonErrorRedirector: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub SendPolicyData: unsafe extern "system" fn(_: *mut c_void, _: *const WTS_POLICY_DATA) -> HRESULT, pub AcceptConnection: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub GetClientData: unsafe extern "system" fn(_: *mut c_void, _: *mut WTS_CLIENT_DATA) -> HRESULT, pub GetUserCredentials: unsafe extern "system" fn(_: *mut c_void, _: *mut WTS_USER_CREDENTIAL) -> HRESULT, pub GetLicenseConnection: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub AuthenticateClientToSession: unsafe extern "system" fn(_: *mut c_void, _: *mut WTS_SESSION_ID) -> HRESULT, pub NotifySessionId: unsafe extern "system" fn(_: *mut c_void, _: *const WTS_SESSION_ID) -> HRESULT, pub GetProtocolHandles: unsafe extern "system" fn(_: *mut c_void, _: *mut HANDLE_PTR, _: *mut HANDLE_PTR, _: *mut HANDLE_PTR, _: *mut HANDLE_PTR) -> HRESULT, pub ConnectNotify: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub IsUserAllowedToLogon: unsafe extern "system" fn(_: *mut c_void, _: u32, _: HANDLE_PTR, _: PCWSTR, _: PCWSTR) -> HRESULT, pub SessionArbitrationEnumeration: unsafe extern "system" fn(_: *mut c_void, _: HANDLE_PTR, _: BOOL, _: *mut u32, _: *mut u32) -> HRESULT, pub LogonNotify: unsafe extern "system" fn(_: *mut c_void, _: HANDLE_PTR, _: PCWSTR, _: PCWSTR, _: *const WTS_SESSION_ID) -> HRESULT, pub GetUserData: unsafe extern "system" fn(_: *mut c_void, _: *const WTS_POLICY_DATA, _: *mut WTS_USER_DATA) -> HRESULT, pub DisconnectNotify: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub Close: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub GetProtocolStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut WTS_PROTOCOL_STATUS) -> HRESULT, pub GetLastInputTime: unsafe extern "system" fn(_: *mut c_void, _: *mut u64) -> HRESULT, pub SetErrorInfo: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub SendBeep: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> HRESULT, pub CreateVirtualChannel: unsafe extern "system" fn(_: *mut c_void, _: PCSTR, _: BOOL, _: u32, _: *mut usize) -> HRESULT, pub QueryProperty: unsafe extern "system" fn(_: *mut c_void, _: GUID, _: u32, _: u32, _: *const WTS_PROPERTY_VALUE, _: *mut WTS_PROPERTY_VALUE) -> HRESULT, pub GetShadowConnection: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§GetLogonErrorRedirector: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§SendPolicyData: unsafe extern "system" fn(_: *mut c_void, _: *const WTS_POLICY_DATA) -> HRESULT§AcceptConnection: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§GetClientData: unsafe extern "system" fn(_: *mut c_void, _: *mut WTS_CLIENT_DATA) -> HRESULT§GetUserCredentials: unsafe extern "system" fn(_: *mut c_void, _: *mut WTS_USER_CREDENTIAL) -> HRESULT§GetLicenseConnection: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§AuthenticateClientToSession: unsafe extern "system" fn(_: *mut c_void, _: *mut WTS_SESSION_ID) -> HRESULT§NotifySessionId: unsafe extern "system" fn(_: *mut c_void, _: *const WTS_SESSION_ID) -> HRESULT§GetProtocolHandles: unsafe extern "system" fn(_: *mut c_void, _: *mut HANDLE_PTR, _: *mut HANDLE_PTR, _: *mut HANDLE_PTR, _: *mut HANDLE_PTR) -> HRESULT§ConnectNotify: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§IsUserAllowedToLogon: unsafe extern "system" fn(_: *mut c_void, _: u32, _: HANDLE_PTR, _: PCWSTR, _: PCWSTR) -> HRESULT§SessionArbitrationEnumeration: unsafe extern "system" fn(_: *mut c_void, _: HANDLE_PTR, _: BOOL, _: *mut u32, _: *mut u32) -> HRESULT§LogonNotify: unsafe extern "system" fn(_: *mut c_void, _: HANDLE_PTR, _: PCWSTR, _: PCWSTR, _: *const WTS_SESSION_ID) -> HRESULT§GetUserData: unsafe extern "system" fn(_: *mut c_void, _: *const WTS_POLICY_DATA, _: *mut WTS_USER_DATA) -> HRESULT§DisconnectNotify: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Close: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§GetProtocolStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut WTS_PROTOCOL_STATUS) -> HRESULT§GetLastInputTime: unsafe extern "system" fn(_: *mut c_void, _: *mut u64) -> HRESULT§SetErrorInfo: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§SendBeep: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> HRESULT§CreateVirtualChannel: unsafe extern "system" fn(_: *mut c_void, _: PCSTR, _: BOOL, _: u32, _: *mut usize) -> HRESULT§QueryProperty: unsafe extern "system" fn(_: *mut c_void, _: GUID, _: u32, _: u32, _: *const WTS_PROPERTY_VALUE, _: *mut WTS_PROPERTY_VALUE) -> HRESULT§GetShadowConnection: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT

Implementations§

§

impl IWTSProtocolConnection_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> IWTSProtocolConnection_Vtbl
where Identity: IWTSProtocolConnection_Impl + IUnknownImpl,

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>,

§

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>,

§

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.