aboutsummaryrefslogtreecommitdiff
path: root/vendor/windows-sys-0.45.0/src/Windows/Win32/Devices/SerialCommunication
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-01-08 00:21:28 +0300
committerValentin Popov <valentin@popov.link>2024-01-08 00:21:28 +0300
commit1b6a04ca5504955c571d1c97504fb45ea0befee4 (patch)
tree7579f518b23313e8a9748a88ab6173d5e030b227 /vendor/windows-sys-0.45.0/src/Windows/Win32/Devices/SerialCommunication
parent5ecd8cf2cba827454317368b68571df0d13d7842 (diff)
downloadfparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.tar.xz
fparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.zip
Initial vendor packages
Signed-off-by: Valentin Popov <valentin@popov.link>
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;