pub trait IDirectInput8A_Impl: Sized {
    // Required methods
    fn CreateDevice(
        &self,
        param0: *const GUID,
        param1: *mut Option<IDirectInputDevice8A>,
        param2: Option<&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<()>;
    fn FindDevice(
        &self,
        param0: *const GUID,
        param1: &PCSTR,
        param2: *mut GUID,
    ) -> Result<()>;
    fn EnumDevicesBySemantics(
        &self,
        param0: &PCSTR,
        param1: *mut DIACTIONFORMATA,
        param2: LPDIENUMDEVICESBYSEMANTICSCBA,
        param3: *mut c_void,
        param4: u32,
    ) -> Result<()>;
    fn ConfigureDevices(
        &self,
        param0: LPDICONFIGUREDEVICESCALLBACK,
        param1: *mut DICONFIGUREDEVICESPARAMSA,
        param2: u32,
        param3: *mut c_void,
    ) -> Result<()>;
}

Required Methods§

fn CreateDevice( &self, param0: *const GUID, param1: *mut Option<IDirectInputDevice8A>, param2: Option<&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<()>

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

fn EnumDevicesBySemantics( &self, param0: &PCSTR, param1: *mut DIACTIONFORMATA, param2: LPDIENUMDEVICESBYSEMANTICSCBA, param3: *mut c_void, param4: u32, ) -> Result<()>

fn ConfigureDevices( &self, param0: LPDICONFIGUREDEVICESCALLBACK, param1: *mut DICONFIGUREDEVICESPARAMSA, param2: u32, param3: *mut c_void, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§