windows::Win32::Devices::HumanInterfaceDevice

Trait IDirectInputJoyConfig_Impl

pub trait IDirectInputJoyConfig_Impl: IUnknownImpl {
Show 16 methods // Required methods fn Acquire(&self) -> Result<()>; fn Unacquire(&self) -> Result<()>; fn SetCooperativeLevel(&self, param0: HWND, param1: u32) -> Result<()>; fn SendNotify(&self) -> Result<()>; fn EnumTypes( &self, param0: LPDIJOYTYPECALLBACK, param1: *mut c_void, ) -> Result<()>; fn GetTypeInfo( &self, param0: &PCWSTR, param1: *mut DIJOYTYPEINFO, param2: u32, ) -> Result<()>; fn SetTypeInfo( &self, param0: &PCWSTR, param1: *mut DIJOYTYPEINFO, param2: u32, ) -> Result<()>; fn DeleteType(&self, param0: &PCWSTR) -> Result<()>; fn GetConfig( &self, param0: u32, param1: *mut DIJOYCONFIG, param2: u32, ) -> Result<()>; fn SetConfig( &self, param0: u32, param1: *mut DIJOYCONFIG, param2: u32, ) -> Result<()>; fn DeleteConfig(&self, param0: u32) -> Result<()>; fn GetUserValues( &self, param0: *mut DIJOYUSERVALUES, param1: u32, ) -> Result<()>; fn SetUserValues( &self, param0: *mut DIJOYUSERVALUES, param1: u32, ) -> Result<()>; fn AddNewHardware(&self, param0: HWND, param1: *const GUID) -> Result<()>; fn OpenTypeKey( &self, param0: &PCWSTR, param1: u32, param2: *mut HKEY, ) -> Result<()>; fn OpenConfigKey( &self, param0: u32, param1: u32, param2: *mut HKEY, ) -> Result<()>;
}

Required Methods§

fn Acquire(&self) -> Result<()>

fn Unacquire(&self) -> Result<()>

fn SetCooperativeLevel(&self, param0: HWND, param1: u32) -> Result<()>

fn SendNotify(&self) -> Result<()>

fn EnumTypes( &self, param0: LPDIJOYTYPECALLBACK, param1: *mut c_void, ) -> Result<()>

fn GetTypeInfo( &self, param0: &PCWSTR, param1: *mut DIJOYTYPEINFO, param2: u32, ) -> Result<()>

fn SetTypeInfo( &self, param0: &PCWSTR, param1: *mut DIJOYTYPEINFO, param2: u32, ) -> Result<()>

fn DeleteType(&self, param0: &PCWSTR) -> Result<()>

fn GetConfig( &self, param0: u32, param1: *mut DIJOYCONFIG, param2: u32, ) -> Result<()>

fn SetConfig( &self, param0: u32, param1: *mut DIJOYCONFIG, param2: u32, ) -> Result<()>

fn DeleteConfig(&self, param0: u32) -> Result<()>

fn GetUserValues(&self, param0: *mut DIJOYUSERVALUES, param1: u32) -> Result<()>

fn SetUserValues(&self, param0: *mut DIJOYUSERVALUES, param1: u32) -> Result<()>

fn AddNewHardware(&self, param0: HWND, param1: *const GUID) -> Result<()>

fn OpenTypeKey( &self, param0: &PCWSTR, param1: u32, param2: *mut HKEY, ) -> Result<()>

fn OpenConfigKey( &self, param0: u32, param1: u32, param2: *mut HKEY, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§