windows::Win32::Devices::HumanInterfaceDevice

Trait IDirectInput8W_Impl

pub trait IDirectInput8W_Impl: IUnknownImpl {
    // Required methods
    fn CreateDevice(
        &self,
        param0: *const GUID,
        param1: OutRef<'_, IDirectInputDevice8W>,
        param2: Ref<'_, IUnknown>,
    ) -> Result<()>;
    fn EnumDevices(
        &self,
        param0: u32,
        param1: LPDIENUMDEVICESCALLBACKW,
        param2: *mut c_void,
        param3: u32,
    ) -> Result<()>;
    fn GetDeviceStatus(&self, param0: *const GUID) -> Result<()>;
    fn RunControlPanel(&self, param0: HWND, param1: u32) -> Result<()>;
    fn Initialize(&self, param0: HINSTANCE, param1: u32) -> Result<()>;
    fn FindDevice(
        &self,
        param0: *const GUID,
        param1: &PCWSTR,
        param2: *mut GUID,
    ) -> Result<()>;
    fn EnumDevicesBySemantics(
        &self,
        param0: &PCWSTR,
        param1: *mut DIACTIONFORMATW,
        param2: LPDIENUMDEVICESBYSEMANTICSCBW,
        param3: *mut c_void,
        param4: u32,
    ) -> Result<()>;
    fn ConfigureDevices(
        &self,
        param0: LPDICONFIGUREDEVICESCALLBACK,
        param1: *mut DICONFIGUREDEVICESPARAMSW,
        param2: u32,
        param3: *mut c_void,
    ) -> Result<()>;
}

Required Methods§

fn CreateDevice( &self, param0: *const GUID, param1: OutRef<'_, IDirectInputDevice8W>, param2: Ref<'_, IUnknown>, ) -> Result<()>

fn EnumDevices( &self, param0: u32, param1: LPDIENUMDEVICESCALLBACKW, param2: *mut c_void, param3: u32, ) -> Result<()>

fn GetDeviceStatus(&self, param0: *const GUID) -> Result<()>

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

fn Initialize(&self, param0: HINSTANCE, param1: u32) -> Result<()>

fn FindDevice( &self, param0: *const GUID, param1: &PCWSTR, param2: *mut GUID, ) -> Result<()>

fn EnumDevicesBySemantics( &self, param0: &PCWSTR, param1: *mut DIACTIONFORMATW, param2: LPDIENUMDEVICESBYSEMANTICSCBW, param3: *mut c_void, param4: u32, ) -> Result<()>

fn ConfigureDevices( &self, param0: LPDICONFIGUREDEVICESCALLBACK, param1: *mut DICONFIGUREDEVICESPARAMSW, param2: u32, param3: *mut c_void, ) -> 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§