]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Win32/Devices/Communication/mod.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Win32 / Devices / Communication / mod.rs
CommitLineData
487cf647 1#[cfg_attr(windows, link(name = "windows"))]
5e7ed085 2extern "system" {
04454e1e 3 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085 4 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
5 pub fn BuildCommDCBA(lpdef: ::windows_sys::core::PCSTR, lpdcb: *mut DCB) -> super::super::Foundation::BOOL;
6 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085 7 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
8 pub fn BuildCommDCBAndTimeoutsA(lpdef: ::windows_sys::core::PCSTR, lpdcb: *mut DCB, lpcommtimeouts: *mut COMMTIMEOUTS) -> super::super::Foundation::BOOL;
9 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085 10 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
11 pub fn BuildCommDCBAndTimeoutsW(lpdef: ::windows_sys::core::PCWSTR, lpdcb: *mut DCB, lpcommtimeouts: *mut COMMTIMEOUTS) -> super::super::Foundation::BOOL;
12 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085 13 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
14 pub fn BuildCommDCBW(lpdef: ::windows_sys::core::PCWSTR, lpdcb: *mut DCB) -> super::super::Foundation::BOOL;
15 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
16 #[cfg(feature = "Win32_Foundation")]
17 pub fn ClearCommBreak(hfile: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL;
04454e1e 18 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
19 #[cfg(feature = "Win32_Foundation")]
20 pub fn ClearCommError(hfile: super::super::Foundation::HANDLE, lperrors: *mut CLEAR_COMM_ERROR_FLAGS, lpstat: *mut COMSTAT) -> super::super::Foundation::BOOL;
04454e1e 21 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085 22 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
23 pub fn CommConfigDialogA(lpszname: ::windows_sys::core::PCSTR, hwnd: super::super::Foundation::HWND, lpcc: *mut COMMCONFIG) -> super::super::Foundation::BOOL;
24 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085 25 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
26 pub fn CommConfigDialogW(lpszname: ::windows_sys::core::PCWSTR, hwnd: super::super::Foundation::HWND, lpcc: *mut COMMCONFIG) -> super::super::Foundation::BOOL;
27 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
28 #[cfg(feature = "Win32_Foundation")]
29 pub fn EscapeCommFunction(hfile: super::super::Foundation::HANDLE, dwfunc: ESCAPE_COMM_FUNCTION) -> super::super::Foundation::BOOL;
04454e1e 30 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
31 #[cfg(feature = "Win32_Foundation")]
32 pub fn GetCommConfig(hcommdev: super::super::Foundation::HANDLE, lpcc: *mut COMMCONFIG, lpdwsize: *mut u32) -> super::super::Foundation::BOOL;
04454e1e 33 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
34 #[cfg(feature = "Win32_Foundation")]
35 pub fn GetCommMask(hfile: super::super::Foundation::HANDLE, lpevtmask: *mut COMM_EVENT_MASK) -> super::super::Foundation::BOOL;
04454e1e 36 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
37 #[cfg(feature = "Win32_Foundation")]
38 pub fn GetCommModemStatus(hfile: super::super::Foundation::HANDLE, lpmodemstat: *mut MODEM_STATUS_FLAGS) -> super::super::Foundation::BOOL;
04454e1e 39 #[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 40 pub fn GetCommPorts(lpportnumbers: *mut u32, uportnumberscount: u32, puportnumbersfound: *mut u32) -> u32;
04454e1e 41 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
42 #[cfg(feature = "Win32_Foundation")]
43 pub fn GetCommProperties(hfile: super::super::Foundation::HANDLE, lpcommprop: *mut COMMPROP) -> super::super::Foundation::BOOL;
04454e1e 44 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
45 #[cfg(feature = "Win32_Foundation")]
46 pub fn GetCommState(hfile: super::super::Foundation::HANDLE, lpdcb: *mut DCB) -> super::super::Foundation::BOOL;
04454e1e 47 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
48 #[cfg(feature = "Win32_Foundation")]
49 pub fn GetCommTimeouts(hfile: super::super::Foundation::HANDLE, lpcommtimeouts: *mut COMMTIMEOUTS) -> super::super::Foundation::BOOL;
04454e1e 50 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085 51 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
52 pub fn GetDefaultCommConfigA(lpszname: ::windows_sys::core::PCSTR, lpcc: *mut COMMCONFIG, lpdwsize: *mut u32) -> super::super::Foundation::BOOL;
53 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085 54 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
55 pub fn GetDefaultCommConfigW(lpszname: ::windows_sys::core::PCWSTR, lpcc: *mut COMMCONFIG, lpdwsize: *mut u32) -> super::super::Foundation::BOOL;
56 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
57 #[cfg(feature = "Win32_Foundation")]
58 pub fn OpenCommPort(uportnumber: u32, dwdesiredaccess: u32, dwflagsandattributes: u32) -> super::super::Foundation::HANDLE;
04454e1e 59 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
60 #[cfg(feature = "Win32_Foundation")]
61 pub fn PurgeComm(hfile: super::super::Foundation::HANDLE, dwflags: PURGE_COMM_FLAGS) -> super::super::Foundation::BOOL;
04454e1e 62 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
63 #[cfg(feature = "Win32_Foundation")]
64 pub fn SetCommBreak(hfile: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL;
04454e1e 65 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
66 #[cfg(feature = "Win32_Foundation")]
67 pub fn SetCommConfig(hcommdev: super::super::Foundation::HANDLE, lpcc: *const COMMCONFIG, dwsize: u32) -> super::super::Foundation::BOOL;
04454e1e 68 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
69 #[cfg(feature = "Win32_Foundation")]
70 pub fn SetCommMask(hfile: super::super::Foundation::HANDLE, dwevtmask: COMM_EVENT_MASK) -> super::super::Foundation::BOOL;
04454e1e 71 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
72 #[cfg(feature = "Win32_Foundation")]
73 pub fn SetCommState(hfile: super::super::Foundation::HANDLE, lpdcb: *const DCB) -> super::super::Foundation::BOOL;
04454e1e 74 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
75 #[cfg(feature = "Win32_Foundation")]
76 pub fn SetCommTimeouts(hfile: super::super::Foundation::HANDLE, lpcommtimeouts: *const COMMTIMEOUTS) -> super::super::Foundation::BOOL;
04454e1e 77 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085 78 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
79 pub fn SetDefaultCommConfigA(lpszname: ::windows_sys::core::PCSTR, lpcc: *const COMMCONFIG, dwsize: u32) -> super::super::Foundation::BOOL;
80 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085 81 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
82 pub fn SetDefaultCommConfigW(lpszname: ::windows_sys::core::PCWSTR, lpcc: *const COMMCONFIG, dwsize: u32) -> super::super::Foundation::BOOL;
83 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
84 #[cfg(feature = "Win32_Foundation")]
85 pub fn SetupComm(hfile: super::super::Foundation::HANDLE, dwinqueue: u32, dwoutqueue: u32) -> super::super::Foundation::BOOL;
04454e1e 86 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
87 #[cfg(feature = "Win32_Foundation")]
88 pub fn TransmitCommChar(hfile: super::super::Foundation::HANDLE, cchar: super::super::Foundation::CHAR) -> super::super::Foundation::BOOL;
04454e1e 89 #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"]
5e7ed085
FG
90 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
91 pub fn WaitCommEvent(hfile: super::super::Foundation::HANDLE, lpevtmask: *mut COMM_EVENT_MASK, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL;
92}
04454e1e 93#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 94pub const MAXLENGTH_NAI: u32 = 72u32;
04454e1e 95#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 96pub const MAXLENGTH_UICCDATASTORE: u32 = 10u32;
04454e1e 97#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 98pub const MDM_ANALOG_RLP_OFF: u32 = 1u32;
04454e1e 99#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 100pub const MDM_ANALOG_RLP_ON: u32 = 0u32;
04454e1e 101#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 102pub const MDM_ANALOG_V34: u32 = 2u32;
04454e1e 103#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 104pub const MDM_AUTO_ML_2: u32 = 2u32;
04454e1e 105#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 106pub const MDM_AUTO_ML_DEFAULT: u32 = 0u32;
04454e1e 107#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 108pub const MDM_AUTO_ML_NONE: u32 = 1u32;
04454e1e 109#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 110pub const MDM_AUTO_SPEED_DEFAULT: u32 = 0u32;
04454e1e 111#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 112pub const MDM_BEARERMODE_ANALOG: u32 = 0u32;
04454e1e 113#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 114pub const MDM_BEARERMODE_GSM: u32 = 2u32;
04454e1e 115#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 116pub const MDM_BEARERMODE_ISDN: u32 = 1u32;
04454e1e 117#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 118pub const MDM_BLIND_DIAL: u32 = 512u32;
04454e1e 119#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 120pub const MDM_CCITT_OVERRIDE: u32 = 64u32;
04454e1e 121#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 122pub const MDM_CELLULAR: u32 = 8u32;
04454e1e 123#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 124pub const MDM_COMPRESSION: u32 = 1u32;
04454e1e 125#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 126pub const MDM_DIAGNOSTICS: u32 = 2048u32;
04454e1e 127#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 128pub const MDM_ERROR_CONTROL: u32 = 2u32;
04454e1e 129#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 130pub const MDM_FLOWCONTROL_HARD: u32 = 16u32;
04454e1e 131#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 132pub const MDM_FLOWCONTROL_SOFT: u32 = 32u32;
04454e1e 133#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 134pub const MDM_FORCED_EC: u32 = 4u32;
04454e1e 135#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 136pub const MDM_HDLCPPP_AUTH_CHAP: u32 = 3u32;
04454e1e 137#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 138pub const MDM_HDLCPPP_AUTH_DEFAULT: u32 = 0u32;
04454e1e 139#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 140pub const MDM_HDLCPPP_AUTH_MSCHAP: u32 = 4u32;
04454e1e 141#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 142pub const MDM_HDLCPPP_AUTH_NONE: u32 = 1u32;
04454e1e 143#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 144pub const MDM_HDLCPPP_AUTH_PAP: u32 = 2u32;
04454e1e 145#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 146pub const MDM_HDLCPPP_ML_2: u32 = 2u32;
04454e1e 147#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 148pub const MDM_HDLCPPP_ML_DEFAULT: u32 = 0u32;
04454e1e 149#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 150pub const MDM_HDLCPPP_ML_NONE: u32 = 1u32;
04454e1e 151#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 152pub const MDM_HDLCPPP_SPEED_56K: u32 = 2u32;
04454e1e 153#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 154pub const MDM_HDLCPPP_SPEED_64K: u32 = 1u32;
04454e1e 155#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 156pub const MDM_HDLCPPP_SPEED_DEFAULT: u32 = 0u32;
04454e1e 157#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 158pub const MDM_MASK_AUTO_SPEED: u32 = 7u32;
04454e1e 159#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 160pub const MDM_MASK_BEARERMODE: u32 = 61440u32;
04454e1e 161#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 162pub const MDM_MASK_HDLCPPP_SPEED: u32 = 7u32;
04454e1e 163#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 164pub const MDM_MASK_PROTOCOLDATA: u32 = 267386880u32;
04454e1e 165#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 166pub const MDM_MASK_PROTOCOLID: u32 = 983040u32;
04454e1e 167#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 168pub const MDM_MASK_V110_SPEED: u32 = 15u32;
04454e1e 169#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 170pub const MDM_MASK_V120_SPEED: u32 = 7u32;
04454e1e 171#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 172pub const MDM_MASK_X75_DATA: u32 = 7u32;
04454e1e 173#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 174pub const MDM_PIAFS_INCOMING: u32 = 0u32;
04454e1e 175#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 176pub const MDM_PIAFS_OUTGOING: u32 = 1u32;
04454e1e 177#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 178pub const MDM_PROTOCOLID_ANALOG: u32 = 7u32;
04454e1e 179#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 180pub const MDM_PROTOCOLID_AUTO: u32 = 6u32;
04454e1e 181#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 182pub const MDM_PROTOCOLID_DEFAULT: u32 = 0u32;
04454e1e 183#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 184pub const MDM_PROTOCOLID_GPRS: u32 = 8u32;
04454e1e 185#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 186pub const MDM_PROTOCOLID_HDLCPPP: u32 = 1u32;
04454e1e 187#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 188pub const MDM_PROTOCOLID_PIAFS: u32 = 9u32;
04454e1e 189#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 190pub const MDM_PROTOCOLID_V110: u32 = 4u32;
04454e1e 191#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 192pub const MDM_PROTOCOLID_V120: u32 = 5u32;
04454e1e 193#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 194pub const MDM_PROTOCOLID_V128: u32 = 2u32;
04454e1e 195#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 196pub const MDM_PROTOCOLID_X75: u32 = 3u32;
04454e1e 197#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 198pub const MDM_SHIFT_AUTO_ML: u32 = 6u32;
04454e1e 199#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 200pub const MDM_SHIFT_AUTO_SPEED: u32 = 0u32;
04454e1e 201#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 202pub const MDM_SHIFT_BEARERMODE: u32 = 12u32;
04454e1e 203#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 204pub const MDM_SHIFT_EXTENDEDINFO: u32 = 12u32;
04454e1e 205#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 206pub const MDM_SHIFT_HDLCPPP_AUTH: u32 = 3u32;
04454e1e 207#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 208pub const MDM_SHIFT_HDLCPPP_ML: u32 = 6u32;
04454e1e 209#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 210pub const MDM_SHIFT_HDLCPPP_SPEED: u32 = 0u32;
04454e1e 211#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 212pub const MDM_SHIFT_PROTOCOLDATA: u32 = 20u32;
04454e1e 213#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 214pub const MDM_SHIFT_PROTOCOLID: u32 = 16u32;
04454e1e 215#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 216pub const MDM_SHIFT_PROTOCOLINFO: u32 = 16u32;
04454e1e 217#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 218pub const MDM_SHIFT_V110_SPEED: u32 = 0u32;
04454e1e 219#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 220pub const MDM_SHIFT_V120_ML: u32 = 6u32;
04454e1e 221#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 222pub const MDM_SHIFT_V120_SPEED: u32 = 0u32;
04454e1e 223#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 224pub const MDM_SHIFT_X75_DATA: u32 = 0u32;
04454e1e 225#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 226pub const MDM_SPEED_ADJUST: u32 = 128u32;
04454e1e 227#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 228pub const MDM_TONE_DIAL: u32 = 256u32;
04454e1e 229#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 230pub const MDM_V110_SPEED_12DOT0K: u32 = 5u32;
04454e1e 231#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 232pub const MDM_V110_SPEED_14DOT4K: u32 = 6u32;
04454e1e 233#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 234pub const MDM_V110_SPEED_19DOT2K: u32 = 7u32;
04454e1e 235#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 236pub const MDM_V110_SPEED_1DOT2K: u32 = 1u32;
04454e1e 237#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 238pub const MDM_V110_SPEED_28DOT8K: u32 = 8u32;
04454e1e 239#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 240pub const MDM_V110_SPEED_2DOT4K: u32 = 2u32;
04454e1e 241#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 242pub const MDM_V110_SPEED_38DOT4K: u32 = 9u32;
04454e1e 243#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 244pub const MDM_V110_SPEED_4DOT8K: u32 = 3u32;
04454e1e 245#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 246pub const MDM_V110_SPEED_57DOT6K: u32 = 10u32;
04454e1e 247#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 248pub const MDM_V110_SPEED_9DOT6K: u32 = 4u32;
04454e1e 249#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 250pub const MDM_V110_SPEED_DEFAULT: u32 = 0u32;
04454e1e 251#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 252pub const MDM_V120_ML_2: u32 = 2u32;
04454e1e 253#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 254pub const MDM_V120_ML_DEFAULT: u32 = 0u32;
04454e1e 255#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 256pub const MDM_V120_ML_NONE: u32 = 1u32;
04454e1e 257#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 258pub const MDM_V120_SPEED_56K: u32 = 2u32;
04454e1e 259#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 260pub const MDM_V120_SPEED_64K: u32 = 1u32;
04454e1e 261#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 262pub const MDM_V120_SPEED_DEFAULT: u32 = 0u32;
04454e1e 263#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 264pub const MDM_V23_OVERRIDE: u32 = 1024u32;
04454e1e 265#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 266pub const MDM_X75_DATA_128K: u32 = 2u32;
04454e1e 267#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 268pub const MDM_X75_DATA_64K: u32 = 1u32;
04454e1e 269#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 270pub const MDM_X75_DATA_BTX: u32 = 4u32;
04454e1e 271#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 272pub const MDM_X75_DATA_DEFAULT: u32 = 0u32;
04454e1e 273#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 274pub const MDM_X75_DATA_T_70: u32 = 3u32;
487cf647 275pub const SID_3GPP_SUPSVCMODEL: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3620769287, data2: 55143, data3: 17528, data4: [177, 74, 238, 204, 135, 234, 18, 247] };
04454e1e 276#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
487cf647
FG
277pub type CLEAR_COMM_ERROR_FLAGS = u32;
278#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
279pub const CE_BREAK: CLEAR_COMM_ERROR_FLAGS = 16u32;
280#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
281pub const CE_FRAME: CLEAR_COMM_ERROR_FLAGS = 8u32;
282#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
283pub const CE_OVERRUN: CLEAR_COMM_ERROR_FLAGS = 2u32;
284#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
285pub const CE_RXOVER: CLEAR_COMM_ERROR_FLAGS = 1u32;
286#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
287pub const CE_RXPARITY: CLEAR_COMM_ERROR_FLAGS = 4u32;
288#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
289pub type COMMPROP_STOP_PARITY = u16;
290#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
291pub const STOPBITS_10: COMMPROP_STOP_PARITY = 1u16;
292#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
293pub const STOPBITS_15: COMMPROP_STOP_PARITY = 2u16;
294#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
295pub const STOPBITS_20: COMMPROP_STOP_PARITY = 4u16;
296#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
297pub const PARITY_NONE: COMMPROP_STOP_PARITY = 256u16;
298#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
299pub const PARITY_ODD: COMMPROP_STOP_PARITY = 512u16;
300#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
301pub const PARITY_EVEN: COMMPROP_STOP_PARITY = 1024u16;
302#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
303pub const PARITY_MARK: COMMPROP_STOP_PARITY = 2048u16;
304#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
305pub const PARITY_SPACE: COMMPROP_STOP_PARITY = 4096u16;
306#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
307pub type COMM_EVENT_MASK = u32;
308#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
309pub const EV_BREAK: COMM_EVENT_MASK = 64u32;
310#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
311pub const EV_CTS: COMM_EVENT_MASK = 8u32;
312#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
313pub const EV_DSR: COMM_EVENT_MASK = 16u32;
314#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
315pub const EV_ERR: COMM_EVENT_MASK = 128u32;
316#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
317pub const EV_EVENT1: COMM_EVENT_MASK = 2048u32;
318#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
319pub const EV_EVENT2: COMM_EVENT_MASK = 4096u32;
320#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
321pub const EV_PERR: COMM_EVENT_MASK = 512u32;
322#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
323pub const EV_RING: COMM_EVENT_MASK = 256u32;
324#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
325pub const EV_RLSD: COMM_EVENT_MASK = 32u32;
326#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
327pub const EV_RX80FULL: COMM_EVENT_MASK = 1024u32;
328#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
329pub const EV_RXCHAR: COMM_EVENT_MASK = 1u32;
330#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
331pub const EV_RXFLAG: COMM_EVENT_MASK = 2u32;
332#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
333pub const EV_TXEMPTY: COMM_EVENT_MASK = 4u32;
334#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
335pub type DCB_PARITY = u8;
336#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
337pub const EVENPARITY: DCB_PARITY = 2u8;
338#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
339pub const MARKPARITY: DCB_PARITY = 3u8;
340#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
341pub const NOPARITY: DCB_PARITY = 0u8;
342#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
343pub const ODDPARITY: DCB_PARITY = 1u8;
344#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
345pub const SPACEPARITY: DCB_PARITY = 4u8;
346#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
347pub type DCB_STOP_BITS = u8;
348#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
349pub const ONESTOPBIT: DCB_STOP_BITS = 0u8;
350#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
351pub const ONE5STOPBITS: DCB_STOP_BITS = 1u8;
352#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
353pub const TWOSTOPBITS: DCB_STOP_BITS = 2u8;
354#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
355pub type ESCAPE_COMM_FUNCTION = u32;
356#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
357pub const CLRBREAK: ESCAPE_COMM_FUNCTION = 9u32;
358#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
359pub const CLRDTR: ESCAPE_COMM_FUNCTION = 6u32;
360#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
361pub const CLRRTS: ESCAPE_COMM_FUNCTION = 4u32;
362#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
363pub const SETBREAK: ESCAPE_COMM_FUNCTION = 8u32;
364#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
365pub const SETDTR: ESCAPE_COMM_FUNCTION = 5u32;
366#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
367pub const SETRTS: ESCAPE_COMM_FUNCTION = 3u32;
368#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
369pub const SETXOFF: ESCAPE_COMM_FUNCTION = 1u32;
370#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
371pub const SETXON: ESCAPE_COMM_FUNCTION = 2u32;
04454e1e 372#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 373pub type MODEMDEVCAPS_DIAL_OPTIONS = u32;
04454e1e 374#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 375pub const DIALOPTION_BILLING: MODEMDEVCAPS_DIAL_OPTIONS = 64u32;
04454e1e 376#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 377pub const DIALOPTION_DIALTONE: MODEMDEVCAPS_DIAL_OPTIONS = 256u32;
04454e1e 378#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 379pub const DIALOPTION_QUIET: MODEMDEVCAPS_DIAL_OPTIONS = 128u32;
04454e1e 380#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 381pub type MODEMDEVCAPS_SPEAKER_MODE = u32;
04454e1e 382#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 383pub const MDMSPKRFLAG_CALLSETUP: MODEMDEVCAPS_SPEAKER_MODE = 8u32;
04454e1e 384#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 385pub const MDMSPKRFLAG_DIAL: MODEMDEVCAPS_SPEAKER_MODE = 2u32;
04454e1e 386#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 387pub const MDMSPKRFLAG_OFF: MODEMDEVCAPS_SPEAKER_MODE = 1u32;
04454e1e 388#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 389pub const MDMSPKRFLAG_ON: MODEMDEVCAPS_SPEAKER_MODE = 4u32;
04454e1e 390#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 391pub type MODEMDEVCAPS_SPEAKER_VOLUME = u32;
04454e1e 392#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 393pub const MDMVOLFLAG_HIGH: MODEMDEVCAPS_SPEAKER_VOLUME = 4u32;
04454e1e 394#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 395pub const MDMVOLFLAG_LOW: MODEMDEVCAPS_SPEAKER_VOLUME = 1u32;
04454e1e 396#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 397pub const MDMVOLFLAG_MEDIUM: MODEMDEVCAPS_SPEAKER_VOLUME = 2u32;
04454e1e 398#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 399pub type MODEMSETTINGS_SPEAKER_MODE = u32;
04454e1e 400#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 401pub const MDMSPKR_CALLSETUP: MODEMSETTINGS_SPEAKER_MODE = 8u32;
04454e1e 402#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 403pub const MDMSPKR_DIAL: MODEMSETTINGS_SPEAKER_MODE = 2u32;
04454e1e 404#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 405pub const MDMSPKR_OFF: MODEMSETTINGS_SPEAKER_MODE = 1u32;
04454e1e 406#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 407pub const MDMSPKR_ON: MODEMSETTINGS_SPEAKER_MODE = 4u32;
04454e1e 408#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 409pub type MODEM_SPEAKER_VOLUME = u32;
04454e1e 410#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 411pub const MDMVOL_HIGH: MODEM_SPEAKER_VOLUME = 2u32;
04454e1e 412#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 413pub const MDMVOL_LOW: MODEM_SPEAKER_VOLUME = 0u32;
04454e1e 414#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 415pub const MDMVOL_MEDIUM: MODEM_SPEAKER_VOLUME = 1u32;
04454e1e 416#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 417pub type MODEM_STATUS_FLAGS = u32;
04454e1e 418#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 419pub const MS_CTS_ON: MODEM_STATUS_FLAGS = 16u32;
04454e1e 420#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 421pub const MS_DSR_ON: MODEM_STATUS_FLAGS = 32u32;
04454e1e 422#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 423pub const MS_RING_ON: MODEM_STATUS_FLAGS = 64u32;
04454e1e 424#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 425pub const MS_RLSD_ON: MODEM_STATUS_FLAGS = 128u32;
04454e1e 426#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 427pub type PURGE_COMM_FLAGS = u32;
04454e1e 428#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 429pub const PURGE_RXABORT: PURGE_COMM_FLAGS = 2u32;
04454e1e 430#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 431pub const PURGE_RXCLEAR: PURGE_COMM_FLAGS = 8u32;
04454e1e 432#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 433pub const PURGE_TXABORT: PURGE_COMM_FLAGS = 1u32;
04454e1e 434#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
5e7ed085 435pub const PURGE_TXCLEAR: PURGE_COMM_FLAGS = 4u32;
487cf647
FG
436#[repr(C)]
437#[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
438#[cfg(feature = "Win32_Foundation")]
439pub struct COMMCONFIG {
440 pub dwSize: u32,
441 pub wVersion: u16,
442 pub wReserved: u16,
443 pub dcb: DCB,
444 pub dwProviderSubType: u32,
445 pub dwProviderOffset: u32,
446 pub dwProviderSize: u32,
447 pub wcProviderData: [u16; 1],
448}
449#[cfg(feature = "Win32_Foundation")]
450impl ::core::marker::Copy for COMMCONFIG {}
451#[cfg(feature = "Win32_Foundation")]
452impl ::core::clone::Clone for COMMCONFIG {
453 fn clone(&self) -> Self {
454 *self
455 }
456}
457#[repr(C)]
458#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
459pub struct COMMPROP {
460 pub wPacketLength: u16,
461 pub wPacketVersion: u16,
462 pub dwServiceMask: u32,
463 pub dwReserved1: u32,
464 pub dwMaxTxQueue: u32,
465 pub dwMaxRxQueue: u32,
466 pub dwMaxBaud: u32,
467 pub dwProvSubType: u32,
468 pub dwProvCapabilities: u32,
469 pub dwSettableParams: u32,
470 pub dwSettableBaud: u32,
471 pub wSettableData: u16,
472 pub wSettableStopParity: COMMPROP_STOP_PARITY,
473 pub dwCurrentTxQueue: u32,
474 pub dwCurrentRxQueue: u32,
475 pub dwProvSpec1: u32,
476 pub dwProvSpec2: u32,
477 pub wcProvChar: [u16; 1],
478}
479impl ::core::marker::Copy for COMMPROP {}
480impl ::core::clone::Clone for COMMPROP {
481 fn clone(&self) -> Self {
482 *self
483 }
484}
485#[repr(C)]
486#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
487pub struct COMMTIMEOUTS {
488 pub ReadIntervalTimeout: u32,
489 pub ReadTotalTimeoutMultiplier: u32,
490 pub ReadTotalTimeoutConstant: u32,
491 pub WriteTotalTimeoutMultiplier: u32,
492 pub WriteTotalTimeoutConstant: u32,
493}
494impl ::core::marker::Copy for COMMTIMEOUTS {}
495impl ::core::clone::Clone for COMMTIMEOUTS {
496 fn clone(&self) -> Self {
497 *self
498 }
499}
500#[repr(C)]
501#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
502pub struct COMSTAT {
503 pub _bitfield: u32,
504 pub cbInQue: u32,
505 pub cbOutQue: u32,
506}
507impl ::core::marker::Copy for COMSTAT {}
508impl ::core::clone::Clone for COMSTAT {
509 fn clone(&self) -> Self {
510 *self
511 }
512}
513#[repr(C)]
514#[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"]
515#[cfg(feature = "Win32_Foundation")]
516pub struct DCB {
517 pub DCBlength: u32,
518 pub BaudRate: u32,
519 pub _bitfield: u32,
520 pub wReserved: u16,
521 pub XonLim: u16,
522 pub XoffLim: u16,
523 pub ByteSize: u8,
524 pub Parity: DCB_PARITY,
525 pub StopBits: DCB_STOP_BITS,
526 pub XonChar: super::super::Foundation::CHAR,
527 pub XoffChar: super::super::Foundation::CHAR,
528 pub ErrorChar: super::super::Foundation::CHAR,
529 pub EofChar: super::super::Foundation::CHAR,
530 pub EvtChar: super::super::Foundation::CHAR,
531 pub wReserved1: u16,
532}
533#[cfg(feature = "Win32_Foundation")]
534impl ::core::marker::Copy for DCB {}
535#[cfg(feature = "Win32_Foundation")]
536impl ::core::clone::Clone for DCB {
537 fn clone(&self) -> Self {
538 *self
539 }
540}
541#[repr(C)]
542#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
543pub struct MODEMDEVCAPS {
544 pub dwActualSize: u32,
545 pub dwRequiredSize: u32,
546 pub dwDevSpecificOffset: u32,
547 pub dwDevSpecificSize: u32,
548 pub dwModemProviderVersion: u32,
549 pub dwModemManufacturerOffset: u32,
550 pub dwModemManufacturerSize: u32,
551 pub dwModemModelOffset: u32,
552 pub dwModemModelSize: u32,
553 pub dwModemVersionOffset: u32,
554 pub dwModemVersionSize: u32,
555 pub dwDialOptions: MODEMDEVCAPS_DIAL_OPTIONS,
556 pub dwCallSetupFailTimer: u32,
557 pub dwInactivityTimeout: u32,
558 pub dwSpeakerVolume: MODEMDEVCAPS_SPEAKER_VOLUME,
559 pub dwSpeakerMode: MODEMDEVCAPS_SPEAKER_MODE,
560 pub dwModemOptions: u32,
561 pub dwMaxDTERate: u32,
562 pub dwMaxDCERate: u32,
563 pub abVariablePortion: [u8; 1],
564}
565impl ::core::marker::Copy for MODEMDEVCAPS {}
566impl ::core::clone::Clone for MODEMDEVCAPS {
567 fn clone(&self) -> Self {
568 *self
569 }
570}
571#[repr(C)]
572#[doc = "*Required features: `\"Win32_Devices_Communication\"`*"]
573pub struct MODEMSETTINGS {
574 pub dwActualSize: u32,
575 pub dwRequiredSize: u32,
576 pub dwDevSpecificOffset: u32,
577 pub dwDevSpecificSize: u32,
578 pub dwCallSetupFailTimer: u32,
579 pub dwInactivityTimeout: u32,
580 pub dwSpeakerVolume: MODEM_SPEAKER_VOLUME,
581 pub dwSpeakerMode: MODEMSETTINGS_SPEAKER_MODE,
582 pub dwPreferredModemOptions: u32,
583 pub dwNegotiatedModemOptions: u32,
584 pub dwNegotiatedDCERate: u32,
585 pub abVariablePortion: [u8; 1],
586}
587impl ::core::marker::Copy for MODEMSETTINGS {}
588impl ::core::clone::Clone for MODEMSETTINGS {
589 fn clone(&self) -> Self {
590 *self
591 }
592}