windows::Win32::Devices::HumanInterfaceDevice

Trait IDirectInputA_Impl

pub trait IDirectInputA_Impl: IUnknownImpl {
    // Required methods
    fn CreateDevice(
        &self,
        param0: *const GUID,
        param1: OutRef<'_, IDirectInputDeviceA>,
        param2: Ref<'_, IUnknown>,
    ) -> Result<()>;
    fn EnumDevices(
        &self,
        param0: u32,
        param1: LPDIENUMDEVICESCALLBACKA,
        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<()>;
}

Required Methods§

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

fn EnumDevices( &self, param0: u32, param1: LPDIENUMDEVICESCALLBACKA, 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<()>

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§