aboutsummaryrefslogtreecommitdiff
path: root/vendor/windows-sys-0.45.0/src/Windows/Win32/Devices/SerialCommunication
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys-0.45.0/src/Windows/Win32/Devices/SerialCommunication')
-rw-r--r--vendor/windows-sys-0.45.0/src/Windows/Win32/Devices/SerialCommunication/mod.rs17
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/windows-sys-0.45.0/src/Windows/Win32/Devices/SerialCommunication/mod.rs b/vendor/windows-sys-0.45.0/src/Windows/Win32/Devices/SerialCommunication/mod.rs
new file mode 100644
index 0000000..7d54a0e
--- /dev/null
+++ b/vendor/windows-sys-0.45.0/src/Windows/Win32/Devices/SerialCommunication/mod.rs
@@ -0,0 +1,17 @@
+::windows_sys::core::link ! ( "msports.dll""system" #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] fn ComDBClaimNextFreePort ( hcomdb : HCOMDB , comnumber : *mut u32 ) -> i32 );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "msports.dll""system" #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`, `\"Win32_Foundation\"`*"] fn ComDBClaimPort ( hcomdb : HCOMDB , comnumber : u32 , forceclaim : super::super::Foundation:: BOOL , forced : *mut super::super::Foundation:: BOOL ) -> i32 );
+::windows_sys::core::link ! ( "msports.dll""system" #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] fn ComDBClose ( hcomdb : HCOMDB ) -> i32 );
+::windows_sys::core::link ! ( "msports.dll""system" #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] fn ComDBGetCurrentPortUsage ( hcomdb : HCOMDB , buffer : *mut u8 , buffersize : u32 , reporttype : u32 , maxportsreported : *mut u32 ) -> i32 );
+::windows_sys::core::link ! ( "msports.dll""system" #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] fn ComDBOpen ( phcomdb : *mut isize ) -> i32 );
+::windows_sys::core::link ! ( "msports.dll""system" #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] fn ComDBReleasePort ( hcomdb : HCOMDB , comnumber : u32 ) -> i32 );
+::windows_sys::core::link ! ( "msports.dll""system" #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] fn ComDBResizeDatabase ( hcomdb : HCOMDB , newsize : u32 ) -> i32 );
+#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"]
+pub const CDB_REPORT_BITS: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"]
+pub const CDB_REPORT_BYTES: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"]
+pub const COMDB_MAX_PORTS_ARBITRATED: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"]
+pub const COMDB_MIN_PORTS_ARBITRATED: u32 = 256u32;
+pub type HCOMDB = isize;