pub struct IDirectInput7W(/* private fields */);
Implementations§
Source§impl IDirectInput7W
impl IDirectInput7W
pub unsafe fn CreateDevice<'a>( &self, param0: *const Guid, param1: *mut Option<IDirectInputDeviceW>, param2: impl IntoParam<'a, IUnknown>, ) -> Result<()>
pub unsafe fn EnumDevices( &self, param0: u32, param1: Option<LPDIENUMDEVICESCALLBACKW>, param2: *mut c_void, param3: u32, ) -> Result<()>
pub unsafe fn GetDeviceStatus(&self, param0: *const Guid) -> Result<()>
pub unsafe fn RunControlPanel<'a>( &self, param0: impl IntoParam<'a, HWND>, param1: u32, ) -> Result<()>
pub unsafe fn Initialize<'a>( &self, param0: impl IntoParam<'a, HINSTANCE>, param1: u32, ) -> Result<()>
pub unsafe fn FindDevice<'a>( &self, param0: *const Guid, param1: impl IntoParam<'a, PWSTR>, param2: *mut Guid, ) -> Result<()>
pub unsafe fn CreateDeviceEx<'a>( &self, param0: *const Guid, param1: *const Guid, param2: *mut *mut c_void, param3: impl IntoParam<'a, IUnknown>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IDirectInput7W
impl Clone for IDirectInput7W
Source§fn clone(&self) -> IDirectInput7W
fn clone(&self) -> IDirectInput7W
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IDirectInput7W
impl Debug for IDirectInput7W
Source§impl From<&IDirectInput7W> for IDirectInput2W
impl From<&IDirectInput7W> for IDirectInput2W
Source§fn from(value: &IDirectInput7W) -> Self
fn from(value: &IDirectInput7W) -> Self
Converts to this type from the input type.
Source§impl From<&IDirectInput7W> for IDirectInputW
impl From<&IDirectInput7W> for IDirectInputW
Source§fn from(value: &IDirectInput7W) -> Self
fn from(value: &IDirectInput7W) -> Self
Converts to this type from the input type.
Source§impl From<&IDirectInput7W> for IUnknown
impl From<&IDirectInput7W> for IUnknown
Source§fn from(value: &IDirectInput7W) -> Self
fn from(value: &IDirectInput7W) -> Self
Converts to this type from the input type.
Source§impl From<IDirectInput7W> for IDirectInput2W
impl From<IDirectInput7W> for IDirectInput2W
Source§fn from(value: IDirectInput7W) -> Self
fn from(value: IDirectInput7W) -> Self
Converts to this type from the input type.
Source§impl From<IDirectInput7W> for IDirectInputW
impl From<IDirectInput7W> for IDirectInputW
Source§fn from(value: IDirectInput7W) -> Self
fn from(value: IDirectInput7W) -> Self
Converts to this type from the input type.
Source§impl From<IDirectInput7W> for IUnknown
impl From<IDirectInput7W> for IUnknown
Source§fn from(value: IDirectInput7W) -> Self
fn from(value: IDirectInput7W) -> Self
Converts to this type from the input type.
Source§impl Interface for IDirectInput7W
impl Interface for IDirectInput7W
const IID: Guid
type Vtable = IDirectInput7W_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IDirectInput7W
impl PartialEq for IDirectInput7W
impl Eq for IDirectInput7W
impl StructuralPartialEq for IDirectInput7W
Auto Trait Implementations§
impl Freeze for IDirectInput7W
impl RefUnwindSafe for IDirectInput7W
impl !Send for IDirectInput7W
impl !Sync for IDirectInput7W
impl Unpin for IDirectInput7W
impl UnwindSafe for IDirectInput7W
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more