#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[link(name = "windows")]
extern "system" {}
#[repr(transparent)]
pub struct CustomDevice(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for CustomDevice {}
impl ::core::clone::Clone for CustomDevice {
fn clone(&self) -> Self {
*self
}
}
#[repr(transparent)]
pub struct DeviceAccessMode(pub i32);
impl DeviceAccessMode {
pub const Read: Self = Self(0i32);
pub const Write: Self = Self(1i32);
pub const ReadWrite: Self = Self(2i32);
}
impl ::core::marker::Copy for DeviceAccessMode {}
impl ::core::clone::Clone for DeviceAccessMode {
fn clone(&self) -> Self {
*self
}
}
#[repr(transparent)]
pub struct DeviceSharingMode(pub i32);
impl DeviceSharingMode {
pub const Shared: Self = Self(0i32);
pub const Exclusive: Self = Self(1i32);
}
impl ::core::marker::Copy for DeviceSharingMode {}
impl ::core::clone::Clone for DeviceSharingMode {
fn clone(&self) -> Self {
*self
}
}
#[repr(transparent)]
pub struct ICustomDevice(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ICustomDevice {}
impl ::core::clone::Clone for ICustomDevice {
fn clone(&self) -> Self {
*self
}
}
#[repr(transparent)]
pub struct ICustomDeviceStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ICustomDeviceStatics {}
impl ::core::clone::Clone for ICustomDeviceStatics {
fn clone(&self) -> Self {
*self
}
}
#[repr(transparent)]
pub struct IIOControlCode(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IIOControlCode {}
impl ::core::clone::Clone for IIOControlCode {
fn clone(&self) -> Self {
*self
}
}
#[repr(transparent)]
pub struct IIOControlCodeFactory(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IIOControlCodeFactory {}
impl ::core::clone::Clone for IIOControlCodeFactory {
fn clone(&self) -> Self {
*self
}
}
#[repr(transparent)]
pub struct IKnownDeviceTypesStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IKnownDeviceTypesStatics {}
impl ::core::clone::Clone for IKnownDeviceTypesStatics {
fn clone(&self) -> Self {
*self
}
}
#[repr(transparent)]
pub struct IOControlAccessMode(pub i32);
impl IOControlAccessMode {
pub const Any: Self = Self(0i32);
pub const Read: Self = Self(1i32);
pub const Write: Self = Self(2i32);
pub const ReadWrite: Self = Self(3i32);
}
impl ::core::marker::Copy for IOControlAccessMode {}
impl ::core::clone::Clone for IOControlAccessMode {
fn clone(&self) -> Self {
*self
}
}
#[repr(transparent)]
pub struct IOControlBufferingMethod(pub i32);
impl IOControlBufferingMethod {
pub const Buffered: Self = Self(0i32);
pub const DirectInput: Self = Self(1i32);
pub const DirectOutput: Self = Self(2i32);
pub const Neither: Self = Self(3i32);
}
impl ::core::marker::Copy for IOControlBufferingMethod {}
impl ::core::clone::Clone for IOControlBufferingMethod {
fn clone(&self) -> Self {
*self
}
}
#[repr(transparent)]
pub struct IOControlCode(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IOControlCode {}
impl ::core::clone::Clone for IOControlCode {
fn clone(&self) -> Self {
*self
}
}