windows::Win32::Devices::HumanInterfaceDevice

Struct IDirectInputJoyConfig_Vtbl

#[repr(C)]
pub struct IDirectInputJoyConfig_Vtbl {
Show 17 fields pub base__: IUnknown_Vtbl, pub Acquire: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub Unacquire: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub SetCooperativeLevel: unsafe extern "system" fn(_: *mut c_void, _: HWND, _: u32) -> HRESULT, pub SendNotify: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub EnumTypes: unsafe extern "system" fn(_: *mut c_void, _: LPDIJOYTYPECALLBACK, _: *mut c_void) -> HRESULT, pub GetTypeInfo: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut DIJOYTYPEINFO, _: u32) -> HRESULT, pub SetTypeInfo: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut DIJOYTYPEINFO, _: u32) -> HRESULT, pub DeleteType: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT, pub GetConfig: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DIJOYCONFIG, _: u32) -> HRESULT, pub SetConfig: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DIJOYCONFIG, _: u32) -> HRESULT, pub DeleteConfig: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub GetUserValues: unsafe extern "system" fn(_: *mut c_void, _: *mut DIJOYUSERVALUES, _: u32) -> HRESULT, pub SetUserValues: unsafe extern "system" fn(_: *mut c_void, _: *mut DIJOYUSERVALUES, _: u32) -> HRESULT, pub AddNewHardware: unsafe extern "system" fn(_: *mut c_void, _: HWND, _: *const GUID) -> HRESULT, pub OpenTypeKey: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: *mut HKEY) -> HRESULT, pub OpenConfigKey: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut HKEY) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§Acquire: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Unacquire: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§SetCooperativeLevel: unsafe extern "system" fn(_: *mut c_void, _: HWND, _: u32) -> HRESULT§SendNotify: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§EnumTypes: unsafe extern "system" fn(_: *mut c_void, _: LPDIJOYTYPECALLBACK, _: *mut c_void) -> HRESULT§GetTypeInfo: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut DIJOYTYPEINFO, _: u32) -> HRESULT§SetTypeInfo: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut DIJOYTYPEINFO, _: u32) -> HRESULT§DeleteType: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT§GetConfig: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DIJOYCONFIG, _: u32) -> HRESULT§SetConfig: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut DIJOYCONFIG, _: u32) -> HRESULT§DeleteConfig: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§GetUserValues: unsafe extern "system" fn(_: *mut c_void, _: *mut DIJOYUSERVALUES, _: u32) -> HRESULT§SetUserValues: unsafe extern "system" fn(_: *mut c_void, _: *mut DIJOYUSERVALUES, _: u32) -> HRESULT§AddNewHardware: unsafe extern "system" fn(_: *mut c_void, _: HWND, _: *const GUID) -> HRESULT§OpenTypeKey: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: *mut HKEY) -> HRESULT§OpenConfigKey: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut HKEY) -> HRESULT

Implementations§

§

impl IDirectInputJoyConfig_Vtbl

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