Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Rras/mod.rs

raw
1 #[cfg(feature = "Win32_Foundation")]
2 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MgmAddGroupMembershipEntry(hprotocol : super::super::Foundation:: HANDLE, dwsourceaddr : u32, dwsourcemask : u32, dwgroupaddr : u32, dwgroupmask : u32, dwifindex : u32, dwifnexthopipaddr : u32, dwflags : u32) -> u32);
3 #[cfg(feature = "Win32_Foundation")]
4 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MgmDeRegisterMProtocol(hprotocol : super::super::Foundation:: HANDLE) -> u32);
5 #[cfg(feature = "Win32_Foundation")]
6 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MgmDeleteGroupMembershipEntry(hprotocol : super::super::Foundation:: HANDLE, dwsourceaddr : u32, dwsourcemask : u32, dwgroupaddr : u32, dwgroupmask : u32, dwifindex : u32, dwifnexthopipaddr : u32, dwflags : u32) -> u32);
7 ::windows_targets::link!("rtm.dll" "system" fn MgmGetFirstMfe(pdwbuffersize : *mut u32, pbbuffer : *mut u8, pdwnumentries : *mut u32) -> u32);
8 ::windows_targets::link!("rtm.dll" "system" fn MgmGetFirstMfeStats(pdwbuffersize : *mut u32, pbbuffer : *mut u8, pdwnumentries : *mut u32, dwflags : u32) -> u32);
9 #[cfg(feature = "Win32_NetworkManagement_IpHelper")]
10 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_NetworkManagement_IpHelper\"`"] fn MgmGetMfe(pimm : *mut super::IpHelper:: MIB_IPMCAST_MFE, pdwbuffersize : *mut u32, pbbuffer : *mut u8) -> u32);
11 #[cfg(feature = "Win32_NetworkManagement_IpHelper")]
12 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_NetworkManagement_IpHelper\"`"] fn MgmGetMfeStats(pimm : *mut super::IpHelper:: MIB_IPMCAST_MFE, pdwbuffersize : *mut u32, pbbuffer : *mut u8, dwflags : u32) -> u32);
13 #[cfg(feature = "Win32_NetworkManagement_IpHelper")]
14 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_NetworkManagement_IpHelper\"`"] fn MgmGetNextMfe(pimmstart : *mut super::IpHelper:: MIB_IPMCAST_MFE, pdwbuffersize : *mut u32, pbbuffer : *mut u8, pdwnumentries : *mut u32) -> u32);
15 #[cfg(feature = "Win32_NetworkManagement_IpHelper")]
16 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_NetworkManagement_IpHelper\"`"] fn MgmGetNextMfeStats(pimmstart : *mut super::IpHelper:: MIB_IPMCAST_MFE, pdwbuffersize : *mut u32, pbbuffer : *mut u8, pdwnumentries : *mut u32, dwflags : u32) -> u32);
17 ::windows_targets::link!("rtm.dll" "system" fn MgmGetProtocolOnInterface(dwifindex : u32, dwifnexthopaddr : u32, pdwifprotocolid : *mut u32, pdwifcomponentid : *mut u32) -> u32);
18 #[cfg(feature = "Win32_Foundation")]
19 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MgmGroupEnumerationEnd(henum : super::super::Foundation:: HANDLE) -> u32);
20 #[cfg(feature = "Win32_Foundation")]
21 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MgmGroupEnumerationGetNext(henum : super::super::Foundation:: HANDLE, pdwbuffersize : *mut u32, pbbuffer : *mut u8, pdwnumentries : *mut u32) -> u32);
22 #[cfg(feature = "Win32_Foundation")]
23 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MgmGroupEnumerationStart(hprotocol : super::super::Foundation:: HANDLE, metenumtype : MGM_ENUM_TYPES, phenumhandle : *mut super::super::Foundation:: HANDLE) -> u32);
24 #[cfg(feature = "Win32_Foundation")]
25 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MgmRegisterMProtocol(prpiinfo : *mut ROUTING_PROTOCOL_CONFIG, dwprotocolid : u32, dwcomponentid : u32, phprotocol : *mut super::super::Foundation:: HANDLE) -> u32);
26 #[cfg(feature = "Win32_Foundation")]
27 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MgmReleaseInterfaceOwnership(hprotocol : super::super::Foundation:: HANDLE, dwifindex : u32, dwifnexthopaddr : u32) -> u32);
28 #[cfg(feature = "Win32_Foundation")]
29 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MgmTakeInterfaceOwnership(hprotocol : super::super::Foundation:: HANDLE, dwifindex : u32, dwifnexthopaddr : u32) -> u32);
30 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminBufferFree(pbuffer : *const ::core::ffi::c_void) -> u32);
31 #[cfg(feature = "Win32_Foundation")]
32 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminConnectionClearStats(hrasserver : isize, hrasconnection : super::super::Foundation:: HANDLE) -> u32);
33 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminConnectionEnum(hrasserver : isize, dwlevel : u32, lplpbbuffer : *mut *mut u8, dwprefmaxlen : u32, lpdwentriesread : *mut u32, lpdwtotalentries : *mut u32, lpdwresumehandle : *const u32) -> u32);
34 #[cfg(feature = "Win32_Foundation")]
35 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminConnectionEnumEx(hrasserver : isize, pobjectheader : *const MPRAPI_OBJECT_HEADER, dwpreferedmaxlen : u32, lpdwentriesread : *mut u32, lpdwtotalentries : *mut u32, pprasconn : *mut *mut RAS_CONNECTION_EX, lpdwresumehandle : *const u32) -> u32);
36 #[cfg(feature = "Win32_Foundation")]
37 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminConnectionGetInfo(hrasserver : isize, dwlevel : u32, hrasconnection : super::super::Foundation:: HANDLE, lplpbbuffer : *mut *mut u8) -> u32);
38 #[cfg(feature = "Win32_Foundation")]
39 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminConnectionGetInfoEx(hrasserver : isize, hrasconnection : super::super::Foundation:: HANDLE, prasconnection : *mut RAS_CONNECTION_EX) -> u32);
40 #[cfg(feature = "Win32_Foundation")]
41 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminConnectionRemoveQuarantine(hrasserver : super::super::Foundation:: HANDLE, hrasconnection : super::super::Foundation:: HANDLE, fisipaddress : super::super::Foundation:: BOOL) -> u32);
42 #[cfg(feature = "Win32_Foundation")]
43 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminDeregisterConnectionNotification(hmprserver : isize, heventnotification : super::super::Foundation:: HANDLE) -> u32);
44 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminDeviceEnum(hmprserver : isize, dwlevel : u32, lplpbbuffer : *mut *mut u8, lpdwtotalentries : *mut u32) -> u32);
45 #[cfg(feature = "Win32_Foundation")]
46 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminEstablishDomainRasServer(pszdomain : ::windows_sys::core::PCWSTR, pszmachine : ::windows_sys::core::PCWSTR, benable : super::super::Foundation:: BOOL) -> u32);
47 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminGetErrorString(dwerror : u32, lplpwserrorstring : *mut ::windows_sys::core::PWSTR) -> u32);
48 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminGetPDCServer(lpszdomain : ::windows_sys::core::PCWSTR, lpszserver : ::windows_sys::core::PCWSTR, lpszpdcserver : ::windows_sys::core::PWSTR) -> u32);
49 #[cfg(feature = "Win32_Foundation")]
50 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceConnect(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, hevent : super::super::Foundation:: HANDLE, fsynchronous : super::super::Foundation:: BOOL) -> u32);
51 #[cfg(feature = "Win32_Foundation")]
52 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceCreate(hmprserver : isize, dwlevel : u32, lpbbuffer : *const u8, phinterface : *mut super::super::Foundation:: HANDLE) -> u32);
53 #[cfg(feature = "Win32_Foundation")]
54 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceDelete(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE) -> u32);
55 #[cfg(feature = "Win32_Foundation")]
56 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceDeviceGetInfo(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwindex : u32, dwlevel : u32, lplpbuffer : *mut *mut u8) -> u32);
57 #[cfg(feature = "Win32_Foundation")]
58 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceDeviceSetInfo(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwindex : u32, dwlevel : u32, lpbbuffer : *const u8) -> u32);
59 #[cfg(feature = "Win32_Foundation")]
60 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceDisconnect(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE) -> u32);
61 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminInterfaceEnum(hmprserver : isize, dwlevel : u32, lplpbbuffer : *mut *mut u8, dwprefmaxlen : u32, lpdwentriesread : *mut u32, lpdwtotalentries : *mut u32, lpdwresumehandle : *const u32) -> u32);
62 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminInterfaceGetCredentials(lpwsserver : ::windows_sys::core::PCWSTR, lpwsinterfacename : ::windows_sys::core::PCWSTR, lpwsusername : ::windows_sys::core::PWSTR, lpwspassword : ::windows_sys::core::PWSTR, lpwsdomainname : ::windows_sys::core::PWSTR) -> u32);
63 #[cfg(feature = "Win32_Foundation")]
64 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceGetCredentialsEx(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwlevel : u32, lplpbbuffer : *mut *mut u8) -> u32);
65 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))]
66 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`"] fn MprAdminInterfaceGetCustomInfoEx(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, pcustominfo : *mut MPR_IF_CUSTOMINFOEX2) -> u32);
67 #[cfg(feature = "Win32_Foundation")]
68 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceGetHandle(hmprserver : isize, lpwsinterfacename : ::windows_sys::core::PCWSTR, phinterface : *mut super::super::Foundation:: HANDLE, fincludeclientinterfaces : super::super::Foundation:: BOOL) -> u32);
69 #[cfg(feature = "Win32_Foundation")]
70 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceGetInfo(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwlevel : u32, lplpbbuffer : *const *const u8) -> u32);
71 #[cfg(feature = "Win32_Foundation")]
72 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceQueryUpdateResult(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwprotocolid : u32, lpdwupdateresult : *mut u32) -> u32);
73 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminInterfaceSetCredentials(lpwsserver : ::windows_sys::core::PCWSTR, lpwsinterfacename : ::windows_sys::core::PCWSTR, lpwsusername : ::windows_sys::core::PCWSTR, lpwsdomainname : ::windows_sys::core::PCWSTR, lpwspassword : ::windows_sys::core::PCWSTR) -> u32);
74 #[cfg(feature = "Win32_Foundation")]
75 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceSetCredentialsEx(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwlevel : u32, lpbbuffer : *const u8) -> u32);
76 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))]
77 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`"] fn MprAdminInterfaceSetCustomInfoEx(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, pcustominfo : *const MPR_IF_CUSTOMINFOEX2) -> u32);
78 #[cfg(feature = "Win32_Foundation")]
79 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceSetInfo(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwlevel : u32, lpbbuffer : *const u8) -> u32);
80 #[cfg(feature = "Win32_Foundation")]
81 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceTransportAdd(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwtransportid : u32, pinterfaceinfo : *const u8, dwinterfaceinfosize : u32) -> u32);
82 #[cfg(feature = "Win32_Foundation")]
83 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceTransportGetInfo(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwtransportid : u32, ppinterfaceinfo : *mut *mut u8, lpdwinterfaceinfosize : *mut u32) -> u32);
84 #[cfg(feature = "Win32_Foundation")]
85 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceTransportRemove(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwtransportid : u32) -> u32);
86 #[cfg(feature = "Win32_Foundation")]
87 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceTransportSetInfo(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwtransportid : u32, pinterfaceinfo : *const u8, dwinterfaceinfosize : u32) -> u32);
88 #[cfg(feature = "Win32_Foundation")]
89 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceUpdatePhonebookInfo(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE) -> u32);
90 #[cfg(feature = "Win32_Foundation")]
91 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminInterfaceUpdateRoutes(hmprserver : isize, hinterface : super::super::Foundation:: HANDLE, dwprotocolid : u32, hevent : super::super::Foundation:: HANDLE) -> u32);
92 #[cfg(feature = "Win32_Foundation")]
93 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminIsDomainRasServer(pszdomain : ::windows_sys::core::PCWSTR, pszmachine : ::windows_sys::core::PCWSTR, pbisrasserver : *mut super::super::Foundation:: BOOL) -> u32);
94 #[cfg(feature = "Win32_Foundation")]
95 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminIsServiceInitialized(lpwsservername : ::windows_sys::core::PCWSTR, fisserviceinitialized : *const super::super::Foundation:: BOOL) -> u32);
96 #[cfg(feature = "Win32_Foundation")]
97 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminIsServiceRunning(lpwsservername : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL);
98 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminMIBBufferFree(pbuffer : *const ::core::ffi::c_void) -> u32);
99 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminMIBEntryCreate(hmibserver : isize, dwpid : u32, dwroutingpid : u32, lpentry : *const ::core::ffi::c_void, dwentrysize : u32) -> u32);
100 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminMIBEntryDelete(hmibserver : isize, dwprotocolid : u32, dwroutingpid : u32, lpentry : *const ::core::ffi::c_void, dwentrysize : u32) -> u32);
101 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminMIBEntryGet(hmibserver : isize, dwprotocolid : u32, dwroutingpid : u32, lpinentry : *const ::core::ffi::c_void, dwinentrysize : u32, lplpoutentry : *mut *mut ::core::ffi::c_void, lpoutentrysize : *mut u32) -> u32);
102 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminMIBEntryGetFirst(hmibserver : isize, dwprotocolid : u32, dwroutingpid : u32, lpinentry : *const ::core::ffi::c_void, dwinentrysize : u32, lplpoutentry : *mut *mut ::core::ffi::c_void, lpoutentrysize : *mut u32) -> u32);
103 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminMIBEntryGetNext(hmibserver : isize, dwprotocolid : u32, dwroutingpid : u32, lpinentry : *const ::core::ffi::c_void, dwinentrysize : u32, lplpoutentry : *mut *mut ::core::ffi::c_void, lpoutentrysize : *mut u32) -> u32);
104 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminMIBEntrySet(hmibserver : isize, dwprotocolid : u32, dwroutingpid : u32, lpentry : *const ::core::ffi::c_void, dwentrysize : u32) -> u32);
105 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminMIBServerConnect(lpwsservername : ::windows_sys::core::PCWSTR, phmibserver : *mut isize) -> u32);
106 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminMIBServerDisconnect(hmibserver : isize) -> ());
107 #[cfg(feature = "Win32_Foundation")]
108 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminPortClearStats(hrasserver : isize, hport : super::super::Foundation:: HANDLE) -> u32);
109 #[cfg(feature = "Win32_Foundation")]
110 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminPortDisconnect(hrasserver : isize, hport : super::super::Foundation:: HANDLE) -> u32);
111 #[cfg(feature = "Win32_Foundation")]
112 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminPortEnum(hrasserver : isize, dwlevel : u32, hrasconnection : super::super::Foundation:: HANDLE, lplpbbuffer : *mut *mut u8, dwprefmaxlen : u32, lpdwentriesread : *mut u32, lpdwtotalentries : *mut u32, lpdwresumehandle : *const u32) -> u32);
113 #[cfg(feature = "Win32_Foundation")]
114 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminPortGetInfo(hrasserver : isize, dwlevel : u32, hport : super::super::Foundation:: HANDLE, lplpbbuffer : *mut *mut u8) -> u32);
115 #[cfg(feature = "Win32_Foundation")]
116 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminPortReset(hrasserver : isize, hport : super::super::Foundation:: HANDLE) -> u32);
117 #[cfg(feature = "Win32_Foundation")]
118 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminRegisterConnectionNotification(hmprserver : isize, heventnotification : super::super::Foundation:: HANDLE) -> u32);
119 #[cfg(feature = "Win32_Foundation")]
120 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminSendUserMessage(hmprserver : isize, hconnection : super::super::Foundation:: HANDLE, lpwszmessage : ::windows_sys::core::PCWSTR) -> u32);
121 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminServerConnect(lpwsservername : ::windows_sys::core::PCWSTR, phmprserver : *mut isize) -> u32);
122 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminServerDisconnect(hmprserver : isize) -> ());
123 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminServerGetCredentials(hmprserver : isize, dwlevel : u32, lplpbbuffer : *const *const u8) -> u32);
124 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminServerGetInfo(hmprserver : isize, dwlevel : u32, lplpbbuffer : *mut *mut u8) -> u32);
125 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
126 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn MprAdminServerGetInfoEx(hmprserver : isize, pserverinfo : *mut MPR_SERVER_EX1) -> u32);
127 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminServerSetCredentials(hmprserver : isize, dwlevel : u32, lpbbuffer : *const u8) -> u32);
128 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminServerSetInfo(hmprserver : isize, dwlevel : u32, lpbbuffer : *const u8) -> u32);
129 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
130 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn MprAdminServerSetInfoEx(hmprserver : isize, pserverinfo : *const MPR_SERVER_SET_CONFIG_EX1) -> u32);
131 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminTransportCreate(hmprserver : isize, dwtransportid : u32, lpwstransportname : ::windows_sys::core::PCWSTR, pglobalinfo : *const u8, dwglobalinfosize : u32, pclientinterfaceinfo : *const u8, dwclientinterfaceinfosize : u32, lpwsdllpath : ::windows_sys::core::PCWSTR) -> u32);
132 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminTransportGetInfo(hmprserver : isize, dwtransportid : u32, ppglobalinfo : *mut *mut u8, lpdwglobalinfosize : *mut u32, ppclientinterfaceinfo : *mut *mut u8, lpdwclientinterfaceinfosize : *mut u32) -> u32);
133 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminTransportSetInfo(hmprserver : isize, dwtransportid : u32, pglobalinfo : *const u8, dwglobalinfosize : u32, pclientinterfaceinfo : *const u8, dwclientinterfaceinfosize : u32) -> u32);
134 #[cfg(feature = "Win32_Foundation")]
135 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprAdminUpdateConnection(hrasserver : isize, hrasconnection : super::super::Foundation:: HANDLE, prasupdateconnection : *const RAS_UPDATE_CONNECTION) -> u32);
136 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminUserGetInfo(lpszserver : ::windows_sys::core::PCWSTR, lpszuser : ::windows_sys::core::PCWSTR, dwlevel : u32, lpbbuffer : *mut u8) -> u32);
137 ::windows_targets::link!("mprapi.dll" "system" fn MprAdminUserSetInfo(lpszserver : ::windows_sys::core::PCWSTR, lpszuser : ::windows_sys::core::PCWSTR, dwlevel : u32, lpbbuffer : *const u8) -> u32);
138 ::windows_targets::link!("mprapi.dll" "system" fn MprConfigBufferFree(pbuffer : *const ::core::ffi::c_void) -> u32);
139 #[cfg(feature = "Win32_Foundation")]
140 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigFilterGetInfo(hmprconfig : super::super::Foundation:: HANDLE, dwlevel : u32, dwtransportid : u32, lpbuffer : *mut u8) -> u32);
141 #[cfg(feature = "Win32_Foundation")]
142 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigFilterSetInfo(hmprconfig : super::super::Foundation:: HANDLE, dwlevel : u32, dwtransportid : u32, lpbuffer : *const u8) -> u32);
143 #[cfg(feature = "Win32_Foundation")]
144 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigGetFriendlyName(hmprconfig : super::super::Foundation:: HANDLE, pszguidname : ::windows_sys::core::PCWSTR, pszbuffer : ::windows_sys::core::PWSTR, dwbuffersize : u32) -> u32);
145 #[cfg(feature = "Win32_Foundation")]
146 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigGetGuidName(hmprconfig : super::super::Foundation:: HANDLE, pszfriendlyname : ::windows_sys::core::PCWSTR, pszbuffer : ::windows_sys::core::PWSTR, dwbuffersize : u32) -> u32);
147 #[cfg(feature = "Win32_Foundation")]
148 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceCreate(hmprconfig : super::super::Foundation:: HANDLE, dwlevel : u32, lpbbuffer : *const u8, phrouterinterface : *mut super::super::Foundation:: HANDLE) -> u32);
149 #[cfg(feature = "Win32_Foundation")]
150 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceDelete(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE) -> u32);
151 #[cfg(feature = "Win32_Foundation")]
152 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceEnum(hmprconfig : super::super::Foundation:: HANDLE, dwlevel : u32, lplpbuffer : *mut *mut u8, dwprefmaxlen : u32, lpdwentriesread : *mut u32, lpdwtotalentries : *mut u32, lpdwresumehandle : *mut u32) -> u32);
153 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))]
154 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`"] fn MprConfigInterfaceGetCustomInfoEx(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE, pcustominfo : *mut MPR_IF_CUSTOMINFOEX2) -> u32);
155 #[cfg(feature = "Win32_Foundation")]
156 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceGetHandle(hmprconfig : super::super::Foundation:: HANDLE, lpwsinterfacename : ::windows_sys::core::PCWSTR, phrouterinterface : *mut super::super::Foundation:: HANDLE) -> u32);
157 #[cfg(feature = "Win32_Foundation")]
158 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceGetInfo(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE, dwlevel : u32, lplpbuffer : *mut *mut u8, lpdwbuffersize : *mut u32) -> u32);
159 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))]
160 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`"] fn MprConfigInterfaceSetCustomInfoEx(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE, pcustominfo : *const MPR_IF_CUSTOMINFOEX2) -> u32);
161 #[cfg(feature = "Win32_Foundation")]
162 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceSetInfo(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE, dwlevel : u32, lpbbuffer : *const u8) -> u32);
163 #[cfg(feature = "Win32_Foundation")]
164 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceTransportAdd(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE, dwtransportid : u32, lpwstransportname : ::windows_sys::core::PCWSTR, pinterfaceinfo : *const u8, dwinterfaceinfosize : u32, phrouteriftransport : *mut super::super::Foundation:: HANDLE) -> u32);
165 #[cfg(feature = "Win32_Foundation")]
166 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceTransportEnum(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE, dwlevel : u32, lplpbuffer : *mut *mut u8, dwprefmaxlen : u32, lpdwentriesread : *mut u32, lpdwtotalentries : *mut u32, lpdwresumehandle : *mut u32) -> u32);
167 #[cfg(feature = "Win32_Foundation")]
168 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceTransportGetHandle(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE, dwtransportid : u32, phrouteriftransport : *mut super::super::Foundation:: HANDLE) -> u32);
169 #[cfg(feature = "Win32_Foundation")]
170 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceTransportGetInfo(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE, hrouteriftransport : super::super::Foundation:: HANDLE, ppinterfaceinfo : *mut *mut u8, lpdwinterfaceinfosize : *mut u32) -> u32);
171 #[cfg(feature = "Win32_Foundation")]
172 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceTransportRemove(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE, hrouteriftransport : super::super::Foundation:: HANDLE) -> u32);
173 #[cfg(feature = "Win32_Foundation")]
174 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigInterfaceTransportSetInfo(hmprconfig : super::super::Foundation:: HANDLE, hrouterinterface : super::super::Foundation:: HANDLE, hrouteriftransport : super::super::Foundation:: HANDLE, pinterfaceinfo : *const u8, dwinterfaceinfosize : u32) -> u32);
175 #[cfg(feature = "Win32_Foundation")]
176 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigServerBackup(hmprconfig : super::super::Foundation:: HANDLE, lpwspath : ::windows_sys::core::PCWSTR) -> u32);
177 #[cfg(feature = "Win32_Foundation")]
178 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigServerConnect(lpwsservername : ::windows_sys::core::PCWSTR, phmprconfig : *mut super::super::Foundation:: HANDLE) -> u32);
179 #[cfg(feature = "Win32_Foundation")]
180 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigServerDisconnect(hmprconfig : super::super::Foundation:: HANDLE) -> ());
181 #[cfg(feature = "Win32_Foundation")]
182 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigServerGetInfo(hmprconfig : super::super::Foundation:: HANDLE, dwlevel : u32, lplpbbuffer : *mut *mut u8) -> u32);
183 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
184 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn MprConfigServerGetInfoEx(hmprconfig : super::super::Foundation:: HANDLE, pserverinfo : *mut MPR_SERVER_EX1) -> u32);
185 ::windows_targets::link!("mprapi.dll" "system" fn MprConfigServerInstall(dwlevel : u32, pbuffer : *const ::core::ffi::c_void) -> u32);
186 #[cfg(feature = "Win32_Foundation")]
187 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigServerRefresh(hmprconfig : super::super::Foundation:: HANDLE) -> u32);
188 #[cfg(feature = "Win32_Foundation")]
189 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigServerRestore(hmprconfig : super::super::Foundation:: HANDLE, lpwspath : ::windows_sys::core::PCWSTR) -> u32);
190 ::windows_targets::link!("mprapi.dll" "system" fn MprConfigServerSetInfo(hmprserver : isize, dwlevel : u32, lpbbuffer : *const u8) -> u32);
191 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
192 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn MprConfigServerSetInfoEx(hmprconfig : super::super::Foundation:: HANDLE, psetserverconfig : *const MPR_SERVER_SET_CONFIG_EX1) -> u32);
193 #[cfg(feature = "Win32_Foundation")]
194 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigTransportCreate(hmprconfig : super::super::Foundation:: HANDLE, dwtransportid : u32, lpwstransportname : ::windows_sys::core::PCWSTR, pglobalinfo : *const u8, dwglobalinfosize : u32, pclientinterfaceinfo : *const u8, dwclientinterfaceinfosize : u32, lpwsdllpath : ::windows_sys::core::PCWSTR, phroutertransport : *mut super::super::Foundation:: HANDLE) -> u32);
195 #[cfg(feature = "Win32_Foundation")]
196 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigTransportDelete(hmprconfig : super::super::Foundation:: HANDLE, hroutertransport : super::super::Foundation:: HANDLE) -> u32);
197 #[cfg(feature = "Win32_Foundation")]
198 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigTransportEnum(hmprconfig : super::super::Foundation:: HANDLE, dwlevel : u32, lplpbuffer : *mut *mut u8, dwprefmaxlen : u32, lpdwentriesread : *mut u32, lpdwtotalentries : *mut u32, lpdwresumehandle : *mut u32) -> u32);
199 #[cfg(feature = "Win32_Foundation")]
200 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigTransportGetHandle(hmprconfig : super::super::Foundation:: HANDLE, dwtransportid : u32, phroutertransport : *mut super::super::Foundation:: HANDLE) -> u32);
201 #[cfg(feature = "Win32_Foundation")]
202 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigTransportGetInfo(hmprconfig : super::super::Foundation:: HANDLE, hroutertransport : super::super::Foundation:: HANDLE, ppglobalinfo : *mut *mut u8, lpdwglobalinfosize : *mut u32, ppclientinterfaceinfo : *mut *mut u8, lpdwclientinterfaceinfosize : *mut u32, lplpwsdllpath : *mut ::windows_sys::core::PWSTR) -> u32);
203 #[cfg(feature = "Win32_Foundation")]
204 ::windows_targets::link!("mprapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MprConfigTransportSetInfo(hmprconfig : super::super::Foundation:: HANDLE, hroutertransport : super::super::Foundation:: HANDLE, pglobalinfo : *const u8, dwglobalinfosize : u32, pclientinterfaceinfo : *const u8, dwclientinterfaceinfosize : u32, lpwsdllpath : ::windows_sys::core::PCWSTR) -> u32);
205 ::windows_targets::link!("mprapi.dll" "system" fn MprInfoBlockAdd(lpheader : *const ::core::ffi::c_void, dwinfotype : u32, dwitemsize : u32, dwitemcount : u32, lpitemdata : *const u8, lplpnewheader : *mut *mut ::core::ffi::c_void) -> u32);
206 ::windows_targets::link!("mprapi.dll" "system" fn MprInfoBlockFind(lpheader : *const ::core::ffi::c_void, dwinfotype : u32, lpdwitemsize : *mut u32, lpdwitemcount : *mut u32, lplpitemdata : *mut *mut u8) -> u32);
207 ::windows_targets::link!("mprapi.dll" "system" fn MprInfoBlockQuerySize(lpheader : *const ::core::ffi::c_void) -> u32);
208 ::windows_targets::link!("mprapi.dll" "system" fn MprInfoBlockRemove(lpheader : *const ::core::ffi::c_void, dwinfotype : u32, lplpnewheader : *mut *mut ::core::ffi::c_void) -> u32);
209 ::windows_targets::link!("mprapi.dll" "system" fn MprInfoBlockSet(lpheader : *const ::core::ffi::c_void, dwinfotype : u32, dwitemsize : u32, dwitemcount : u32, lpitemdata : *const u8, lplpnewheader : *mut *mut ::core::ffi::c_void) -> u32);
210 ::windows_targets::link!("mprapi.dll" "system" fn MprInfoCreate(dwversion : u32, lplpnewheader : *mut *mut ::core::ffi::c_void) -> u32);
211 ::windows_targets::link!("mprapi.dll" "system" fn MprInfoDelete(lpheader : *const ::core::ffi::c_void) -> u32);
212 ::windows_targets::link!("mprapi.dll" "system" fn MprInfoDuplicate(lpheader : *const ::core::ffi::c_void, lplpnewheader : *mut *mut ::core::ffi::c_void) -> u32);
213 ::windows_targets::link!("mprapi.dll" "system" fn MprInfoRemoveAll(lpheader : *const ::core::ffi::c_void, lplpnewheader : *mut *mut ::core::ffi::c_void) -> u32);
214 ::windows_targets::link!("rasapi32.dll" "system" fn RasClearConnectionStatistics(hrasconn : HRASCONN) -> u32);
215 ::windows_targets::link!("rasapi32.dll" "system" fn RasClearLinkStatistics(hrasconn : HRASCONN, dwsubentry : u32) -> u32);
216 #[cfg(feature = "Win32_Foundation")]
217 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasConnectionNotificationA(param0 : HRASCONN, param1 : super::super::Foundation:: HANDLE, param2 : u32) -> u32);
218 #[cfg(feature = "Win32_Foundation")]
219 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasConnectionNotificationW(param0 : HRASCONN, param1 : super::super::Foundation:: HANDLE, param2 : u32) -> u32);
220 #[cfg(feature = "Win32_Foundation")]
221 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasCreatePhonebookEntryA(param0 : super::super::Foundation:: HWND, param1 : ::windows_sys::core::PCSTR) -> u32);
222 #[cfg(feature = "Win32_Foundation")]
223 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasCreatePhonebookEntryW(param0 : super::super::Foundation:: HWND, param1 : ::windows_sys::core::PCWSTR) -> u32);
224 ::windows_targets::link!("rasapi32.dll" "system" fn RasDeleteEntryA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR) -> u32);
225 ::windows_targets::link!("rasapi32.dll" "system" fn RasDeleteEntryW(param0 : ::windows_sys::core::PCWSTR, param1 : ::windows_sys::core::PCWSTR) -> u32);
226 ::windows_targets::link!("rasapi32.dll" "system" fn RasDeleteSubEntryA(pszphonebook : ::windows_sys::core::PCSTR, pszentry : ::windows_sys::core::PCSTR, dwsubentryid : u32) -> u32);
227 ::windows_targets::link!("rasapi32.dll" "system" fn RasDeleteSubEntryW(pszphonebook : ::windows_sys::core::PCWSTR, pszentry : ::windows_sys::core::PCWSTR, dwsubentryid : u32) -> u32);
228 #[cfg(feature = "Win32_Foundation")]
229 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasDialA(param0 : *const RASDIALEXTENSIONS, param1 : ::windows_sys::core::PCSTR, param2 : *const RASDIALPARAMSA, param3 : u32, param4 : *const ::core::ffi::c_void, param5 : *mut HRASCONN) -> u32);
230 #[cfg(feature = "Win32_Foundation")]
231 ::windows_targets::link!("rasdlg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasDialDlgA(lpszphonebook : ::windows_sys::core::PCSTR, lpszentry : ::windows_sys::core::PCSTR, lpszphonenumber : ::windows_sys::core::PCSTR, lpinfo : *mut RASDIALDLG) -> super::super::Foundation:: BOOL);
232 #[cfg(feature = "Win32_Foundation")]
233 ::windows_targets::link!("rasdlg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasDialDlgW(lpszphonebook : ::windows_sys::core::PCWSTR, lpszentry : ::windows_sys::core::PCWSTR, lpszphonenumber : ::windows_sys::core::PCWSTR, lpinfo : *mut RASDIALDLG) -> super::super::Foundation:: BOOL);
234 #[cfg(feature = "Win32_Foundation")]
235 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasDialW(param0 : *const RASDIALEXTENSIONS, param1 : ::windows_sys::core::PCWSTR, param2 : *const RASDIALPARAMSW, param3 : u32, param4 : *const ::core::ffi::c_void, param5 : *mut HRASCONN) -> u32);
236 #[cfg(feature = "Win32_Foundation")]
237 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasEditPhonebookEntryA(param0 : super::super::Foundation:: HWND, param1 : ::windows_sys::core::PCSTR, param2 : ::windows_sys::core::PCSTR) -> u32);
238 #[cfg(feature = "Win32_Foundation")]
239 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasEditPhonebookEntryW(param0 : super::super::Foundation:: HWND, param1 : ::windows_sys::core::PCWSTR, param2 : ::windows_sys::core::PCWSTR) -> u32);
240 #[cfg(feature = "Win32_Foundation")]
241 ::windows_targets::link!("rasdlg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasEntryDlgA(lpszphonebook : ::windows_sys::core::PCSTR, lpszentry : ::windows_sys::core::PCSTR, lpinfo : *mut RASENTRYDLGA) -> super::super::Foundation:: BOOL);
242 #[cfg(feature = "Win32_Foundation")]
243 ::windows_targets::link!("rasdlg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasEntryDlgW(lpszphonebook : ::windows_sys::core::PCWSTR, lpszentry : ::windows_sys::core::PCWSTR, lpinfo : *mut RASENTRYDLGW) -> super::super::Foundation:: BOOL);
244 ::windows_targets::link!("rasapi32.dll" "system" fn RasEnumAutodialAddressesA(lpprasautodialaddresses : *mut ::windows_sys::core::PSTR, lpdwcbrasautodialaddresses : *mut u32, lpdwcrasautodialaddresses : *mut u32) -> u32);
245 ::windows_targets::link!("rasapi32.dll" "system" fn RasEnumAutodialAddressesW(lpprasautodialaddresses : *mut ::windows_sys::core::PWSTR, lpdwcbrasautodialaddresses : *mut u32, lpdwcrasautodialaddresses : *mut u32) -> u32);
246 #[cfg(feature = "Win32_Foundation")]
247 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasEnumConnectionsA(param0 : *mut RASCONNA, param1 : *mut u32, param2 : *mut u32) -> u32);
248 #[cfg(feature = "Win32_Foundation")]
249 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasEnumConnectionsW(param0 : *mut RASCONNW, param1 : *mut u32, param2 : *mut u32) -> u32);
250 ::windows_targets::link!("rasapi32.dll" "system" fn RasEnumDevicesA(param0 : *mut RASDEVINFOA, param1 : *mut u32, param2 : *mut u32) -> u32);
251 ::windows_targets::link!("rasapi32.dll" "system" fn RasEnumDevicesW(param0 : *mut RASDEVINFOW, param1 : *mut u32, param2 : *mut u32) -> u32);
252 ::windows_targets::link!("rasapi32.dll" "system" fn RasEnumEntriesA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR, param2 : *mut RASENTRYNAMEA, param3 : *mut u32, param4 : *mut u32) -> u32);
253 ::windows_targets::link!("rasapi32.dll" "system" fn RasEnumEntriesW(param0 : ::windows_sys::core::PCWSTR, param1 : ::windows_sys::core::PCWSTR, param2 : *mut RASENTRYNAMEW, param3 : *mut u32, param4 : *mut u32) -> u32);
254 ::windows_targets::link!("rasapi32.dll" "system" fn RasFreeEapUserIdentityA(praseapuseridentity : *const RASEAPUSERIDENTITYA) -> ());
255 ::windows_targets::link!("rasapi32.dll" "system" fn RasFreeEapUserIdentityW(praseapuseridentity : *const RASEAPUSERIDENTITYW) -> ());
256 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetAutodialAddressA(param0 : ::windows_sys::core::PCSTR, param1 : *const u32, param2 : *mut RASAUTODIALENTRYA, param3 : *mut u32, param4 : *mut u32) -> u32);
257 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetAutodialAddressW(param0 : ::windows_sys::core::PCWSTR, param1 : *const u32, param2 : *mut RASAUTODIALENTRYW, param3 : *mut u32, param4 : *mut u32) -> u32);
258 #[cfg(feature = "Win32_Foundation")]
259 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasGetAutodialEnableA(param0 : u32, param1 : *mut super::super::Foundation:: BOOL) -> u32);
260 #[cfg(feature = "Win32_Foundation")]
261 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasGetAutodialEnableW(param0 : u32, param1 : *mut super::super::Foundation:: BOOL) -> u32);
262 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetAutodialParamA(param0 : u32, param1 : *mut ::core::ffi::c_void, param2 : *mut u32) -> u32);
263 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetAutodialParamW(param0 : u32, param1 : *mut ::core::ffi::c_void, param2 : *mut u32) -> u32);
264 #[cfg(feature = "Win32_Networking_WinSock")]
265 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn RasGetConnectStatusA(param0 : HRASCONN, param1 : *mut RASCONNSTATUSA) -> u32);
266 #[cfg(feature = "Win32_Networking_WinSock")]
267 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn RasGetConnectStatusW(param0 : HRASCONN, param1 : *mut RASCONNSTATUSW) -> u32);
268 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetConnectionStatistics(hrasconn : HRASCONN, lpstatistics : *mut RAS_STATS) -> u32);
269 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetCountryInfoA(param0 : *mut RASCTRYINFO, param1 : *mut u32) -> u32);
270 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetCountryInfoW(param0 : *mut RASCTRYINFO, param1 : *mut u32) -> u32);
271 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetCredentialsA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR, param2 : *mut RASCREDENTIALSA) -> u32);
272 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetCredentialsW(param0 : ::windows_sys::core::PCWSTR, param1 : ::windows_sys::core::PCWSTR, param2 : *mut RASCREDENTIALSW) -> u32);
273 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetCustomAuthDataA(pszphonebook : ::windows_sys::core::PCSTR, pszentry : ::windows_sys::core::PCSTR, pbcustomauthdata : *mut u8, pdwsizeofcustomauthdata : *mut u32) -> u32);
274 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetCustomAuthDataW(pszphonebook : ::windows_sys::core::PCWSTR, pszentry : ::windows_sys::core::PCWSTR, pbcustomauthdata : *mut u8, pdwsizeofcustomauthdata : *mut u32) -> u32);
275 #[cfg(feature = "Win32_Foundation")]
276 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasGetEapUserDataA(htoken : super::super::Foundation:: HANDLE, pszphonebook : ::windows_sys::core::PCSTR, pszentry : ::windows_sys::core::PCSTR, pbeapdata : *mut u8, pdwsizeofeapdata : *mut u32) -> u32);
277 #[cfg(feature = "Win32_Foundation")]
278 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasGetEapUserDataW(htoken : super::super::Foundation:: HANDLE, pszphonebook : ::windows_sys::core::PCWSTR, pszentry : ::windows_sys::core::PCWSTR, pbeapdata : *mut u8, pdwsizeofeapdata : *mut u32) -> u32);
279 #[cfg(feature = "Win32_Foundation")]
280 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasGetEapUserIdentityA(pszphonebook : ::windows_sys::core::PCSTR, pszentry : ::windows_sys::core::PCSTR, dwflags : u32, hwnd : super::super::Foundation:: HWND, ppraseapuseridentity : *mut *mut RASEAPUSERIDENTITYA) -> u32);
281 #[cfg(feature = "Win32_Foundation")]
282 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasGetEapUserIdentityW(pszphonebook : ::windows_sys::core::PCWSTR, pszentry : ::windows_sys::core::PCWSTR, dwflags : u32, hwnd : super::super::Foundation:: HWND, ppraseapuseridentity : *mut *mut RASEAPUSERIDENTITYW) -> u32);
283 #[cfg(feature = "Win32_Foundation")]
284 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasGetEntryDialParamsA(param0 : ::windows_sys::core::PCSTR, param1 : *mut RASDIALPARAMSA, param2 : *mut super::super::Foundation:: BOOL) -> u32);
285 #[cfg(feature = "Win32_Foundation")]
286 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasGetEntryDialParamsW(param0 : ::windows_sys::core::PCWSTR, param1 : *mut RASDIALPARAMSW, param2 : *mut super::super::Foundation:: BOOL) -> u32);
287 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
288 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn RasGetEntryPropertiesA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR, param2 : *mut RASENTRYA, param3 : *mut u32, param4 : *mut u8, param5 : *mut u32) -> u32);
289 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
290 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn RasGetEntryPropertiesW(param0 : ::windows_sys::core::PCWSTR, param1 : ::windows_sys::core::PCWSTR, param2 : *mut RASENTRYW, param3 : *mut u32, param4 : *mut u8, param5 : *mut u32) -> u32);
291 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetErrorStringA(resourceid : u32, lpszstring : ::windows_sys::core::PSTR, inbufsize : u32) -> u32);
292 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetErrorStringW(resourceid : u32, lpszstring : ::windows_sys::core::PWSTR, inbufsize : u32) -> u32);
293 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetLinkStatistics(hrasconn : HRASCONN, dwsubentry : u32, lpstatistics : *mut RAS_STATS) -> u32);
294 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetPCscf(lpszpcscf : ::windows_sys::core::PWSTR) -> u32);
295 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetProjectionInfoA(param0 : HRASCONN, param1 : RASPROJECTION, param2 : *mut ::core::ffi::c_void, param3 : *mut u32) -> u32);
296 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
297 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn RasGetProjectionInfoEx(hrasconn : HRASCONN, prasprojection : *mut RAS_PROJECTION_INFO, lpdwsize : *mut u32) -> u32);
298 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetProjectionInfoW(param0 : HRASCONN, param1 : RASPROJECTION, param2 : *mut ::core::ffi::c_void, param3 : *mut u32) -> u32);
299 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetSubEntryHandleA(param0 : HRASCONN, param1 : u32, param2 : *mut HRASCONN) -> u32);
300 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetSubEntryHandleW(param0 : HRASCONN, param1 : u32, param2 : *mut HRASCONN) -> u32);
301 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetSubEntryPropertiesA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR, param2 : u32, param3 : *mut RASSUBENTRYA, param4 : *mut u32, param5 : *mut u8, param6 : *mut u32) -> u32);
302 ::windows_targets::link!("rasapi32.dll" "system" fn RasGetSubEntryPropertiesW(param0 : ::windows_sys::core::PCWSTR, param1 : ::windows_sys::core::PCWSTR, param2 : u32, param3 : *mut RASSUBENTRYW, param4 : *mut u32, param5 : *mut u8, param6 : *mut u32) -> u32);
303 ::windows_targets::link!("rasapi32.dll" "system" fn RasHangUpA(param0 : HRASCONN) -> u32);
304 ::windows_targets::link!("rasapi32.dll" "system" fn RasHangUpW(param0 : HRASCONN) -> u32);
305 #[cfg(feature = "Win32_Foundation")]
306 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasInvokeEapUI(param0 : HRASCONN, param1 : u32, param2 : *const RASDIALEXTENSIONS, param3 : super::super::Foundation:: HWND) -> u32);
307 #[cfg(feature = "Win32_Foundation")]
308 ::windows_targets::link!("rasdlg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasPhonebookDlgA(lpszphonebook : ::windows_sys::core::PCSTR, lpszentry : ::windows_sys::core::PCSTR, lpinfo : *mut RASPBDLGA) -> super::super::Foundation:: BOOL);
309 #[cfg(feature = "Win32_Foundation")]
310 ::windows_targets::link!("rasdlg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasPhonebookDlgW(lpszphonebook : ::windows_sys::core::PCWSTR, lpszentry : ::windows_sys::core::PCWSTR, lpinfo : *mut RASPBDLGW) -> super::super::Foundation:: BOOL);
311 ::windows_targets::link!("rasapi32.dll" "system" fn RasRenameEntryA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR, param2 : ::windows_sys::core::PCSTR) -> u32);
312 ::windows_targets::link!("rasapi32.dll" "system" fn RasRenameEntryW(param0 : ::windows_sys::core::PCWSTR, param1 : ::windows_sys::core::PCWSTR, param2 : ::windows_sys::core::PCWSTR) -> u32);
313 ::windows_targets::link!("rasapi32.dll" "system" fn RasSetAutodialAddressA(param0 : ::windows_sys::core::PCSTR, param1 : u32, param2 : *const RASAUTODIALENTRYA, param3 : u32, param4 : u32) -> u32);
314 ::windows_targets::link!("rasapi32.dll" "system" fn RasSetAutodialAddressW(param0 : ::windows_sys::core::PCWSTR, param1 : u32, param2 : *const RASAUTODIALENTRYW, param3 : u32, param4 : u32) -> u32);
315 #[cfg(feature = "Win32_Foundation")]
316 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasSetAutodialEnableA(param0 : u32, param1 : super::super::Foundation:: BOOL) -> u32);
317 #[cfg(feature = "Win32_Foundation")]
318 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasSetAutodialEnableW(param0 : u32, param1 : super::super::Foundation:: BOOL) -> u32);
319 ::windows_targets::link!("rasapi32.dll" "system" fn RasSetAutodialParamA(param0 : u32, param1 : *const ::core::ffi::c_void, param2 : u32) -> u32);
320 ::windows_targets::link!("rasapi32.dll" "system" fn RasSetAutodialParamW(param0 : u32, param1 : *const ::core::ffi::c_void, param2 : u32) -> u32);
321 #[cfg(feature = "Win32_Foundation")]
322 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasSetCredentialsA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR, param2 : *const RASCREDENTIALSA, param3 : super::super::Foundation:: BOOL) -> u32);
323 #[cfg(feature = "Win32_Foundation")]
324 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasSetCredentialsW(param0 : ::windows_sys::core::PCWSTR, param1 : ::windows_sys::core::PCWSTR, param2 : *const RASCREDENTIALSW, param3 : super::super::Foundation:: BOOL) -> u32);
325 ::windows_targets::link!("rasapi32.dll" "system" fn RasSetCustomAuthDataA(pszphonebook : ::windows_sys::core::PCSTR, pszentry : ::windows_sys::core::PCSTR, pbcustomauthdata : *const u8, dwsizeofcustomauthdata : u32) -> u32);
326 ::windows_targets::link!("rasapi32.dll" "system" fn RasSetCustomAuthDataW(pszphonebook : ::windows_sys::core::PCWSTR, pszentry : ::windows_sys::core::PCWSTR, pbcustomauthdata : *const u8, dwsizeofcustomauthdata : u32) -> u32);
327 #[cfg(feature = "Win32_Foundation")]
328 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasSetEapUserDataA(htoken : super::super::Foundation:: HANDLE, pszphonebook : ::windows_sys::core::PCSTR, pszentry : ::windows_sys::core::PCSTR, pbeapdata : *const u8, dwsizeofeapdata : u32) -> u32);
329 #[cfg(feature = "Win32_Foundation")]
330 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasSetEapUserDataW(htoken : super::super::Foundation:: HANDLE, pszphonebook : ::windows_sys::core::PCWSTR, pszentry : ::windows_sys::core::PCWSTR, pbeapdata : *const u8, dwsizeofeapdata : u32) -> u32);
331 #[cfg(feature = "Win32_Foundation")]
332 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasSetEntryDialParamsA(param0 : ::windows_sys::core::PCSTR, param1 : *const RASDIALPARAMSA, param2 : super::super::Foundation:: BOOL) -> u32);
333 #[cfg(feature = "Win32_Foundation")]
334 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RasSetEntryDialParamsW(param0 : ::windows_sys::core::PCWSTR, param1 : *const RASDIALPARAMSW, param2 : super::super::Foundation:: BOOL) -> u32);
335 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
336 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn RasSetEntryPropertiesA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR, param2 : *const RASENTRYA, param3 : u32, param4 : *const u8, param5 : u32) -> u32);
337 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
338 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn RasSetEntryPropertiesW(param0 : ::windows_sys::core::PCWSTR, param1 : ::windows_sys::core::PCWSTR, param2 : *const RASENTRYW, param3 : u32, param4 : *const u8, param5 : u32) -> u32);
339 ::windows_targets::link!("rasapi32.dll" "system" fn RasSetSubEntryPropertiesA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR, param2 : u32, param3 : *const RASSUBENTRYA, param4 : u32, param5 : *const u8, param6 : u32) -> u32);
340 ::windows_targets::link!("rasapi32.dll" "system" fn RasSetSubEntryPropertiesW(param0 : ::windows_sys::core::PCWSTR, param1 : ::windows_sys::core::PCWSTR, param2 : u32, param3 : *const RASSUBENTRYW, param4 : u32, param5 : *const u8, param6 : u32) -> u32);
341 #[cfg(feature = "Win32_Networking_WinSock")]
342 ::windows_targets::link!("rasapi32.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn RasUpdateConnection(hrasconn : HRASCONN, lprasupdateconn : *const RASUPDATECONN) -> u32);
343 ::windows_targets::link!("rasapi32.dll" "system" fn RasValidateEntryNameA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR) -> u32);
344 ::windows_targets::link!("rasapi32.dll" "system" fn RasValidateEntryNameW(param0 : ::windows_sys::core::PCWSTR, param1 : ::windows_sys::core::PCWSTR) -> u32);
345 ::windows_targets::link!("rtm.dll" "system" fn RtmAddNextHop(rtmreghandle : isize, nexthopinfo : *mut RTM_NEXTHOP_INFO, nexthophandle : *mut isize, changeflags : *mut u32) -> u32);
346 ::windows_targets::link!("rtm.dll" "system" fn RtmAddRouteToDest(rtmreghandle : isize, routehandle : *mut isize, destaddress : *mut RTM_NET_ADDRESS, routeinfo : *mut RTM_ROUTE_INFO, timetolive : u32, routelisthandle : isize, notifytype : u32, notifyhandle : isize, changeflags : *mut u32) -> u32);
347 #[cfg(feature = "Win32_Foundation")]
348 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmBlockMethods(rtmreghandle : isize, targethandle : super::super::Foundation:: HANDLE, targettype : u8, blockingflag : u32) -> u32);
349 #[cfg(feature = "Win32_Networking_WinSock")]
350 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn RtmConvertIpv6AddressAndLengthToNetAddress(pnetaddress : *mut RTM_NET_ADDRESS, address : super::super::Networking::WinSock:: IN6_ADDR, dwlength : u32, dwaddresssize : u32) -> u32);
351 #[cfg(feature = "Win32_Networking_WinSock")]
352 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn RtmConvertNetAddressToIpv6AddressAndLength(pnetaddress : *mut RTM_NET_ADDRESS, paddress : *mut super::super::Networking::WinSock:: IN6_ADDR, plength : *mut u32, dwaddresssize : u32) -> u32);
353 ::windows_targets::link!("rtm.dll" "system" fn RtmCreateDestEnum(rtmreghandle : isize, targetviews : u32, enumflags : u32, netaddress : *mut RTM_NET_ADDRESS, protocolid : u32, rtmenumhandle : *mut isize) -> u32);
354 ::windows_targets::link!("rtm.dll" "system" fn RtmCreateNextHopEnum(rtmreghandle : isize, enumflags : u32, netaddress : *mut RTM_NET_ADDRESS, rtmenumhandle : *mut isize) -> u32);
355 ::windows_targets::link!("rtm.dll" "system" fn RtmCreateRouteEnum(rtmreghandle : isize, desthandle : isize, targetviews : u32, enumflags : u32, startdest : *mut RTM_NET_ADDRESS, matchingflags : u32, criteriaroute : *mut RTM_ROUTE_INFO, criteriainterface : u32, rtmenumhandle : *mut isize) -> u32);
356 ::windows_targets::link!("rtm.dll" "system" fn RtmCreateRouteList(rtmreghandle : isize, routelisthandle : *mut isize) -> u32);
357 ::windows_targets::link!("rtm.dll" "system" fn RtmCreateRouteListEnum(rtmreghandle : isize, routelisthandle : isize, rtmenumhandle : *mut isize) -> u32);
358 ::windows_targets::link!("rtm.dll" "system" fn RtmDeleteEnumHandle(rtmreghandle : isize, enumhandle : isize) -> u32);
359 ::windows_targets::link!("rtm.dll" "system" fn RtmDeleteNextHop(rtmreghandle : isize, nexthophandle : isize, nexthopinfo : *mut RTM_NEXTHOP_INFO) -> u32);
360 ::windows_targets::link!("rtm.dll" "system" fn RtmDeleteRouteList(rtmreghandle : isize, routelisthandle : isize) -> u32);
361 ::windows_targets::link!("rtm.dll" "system" fn RtmDeleteRouteToDest(rtmreghandle : isize, routehandle : isize, changeflags : *mut u32) -> u32);
362 ::windows_targets::link!("rtm.dll" "system" fn RtmDeregisterEntity(rtmreghandle : isize) -> u32);
363 ::windows_targets::link!("rtm.dll" "system" fn RtmDeregisterFromChangeNotification(rtmreghandle : isize, notifyhandle : isize) -> u32);
364 ::windows_targets::link!("rtm.dll" "system" fn RtmFindNextHop(rtmreghandle : isize, nexthopinfo : *mut RTM_NEXTHOP_INFO, nexthophandle : *mut isize, nexthoppointer : *mut *mut RTM_NEXTHOP_INFO) -> u32);
365 #[cfg(feature = "Win32_Foundation")]
366 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmGetChangeStatus(rtmreghandle : isize, notifyhandle : isize, desthandle : isize, changestatus : *mut super::super::Foundation:: BOOL) -> u32);
367 #[cfg(feature = "Win32_Foundation")]
368 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmGetChangedDests(rtmreghandle : isize, notifyhandle : isize, numdests : *mut u32, changeddests : *mut RTM_DEST_INFO) -> u32);
369 #[cfg(feature = "Win32_Foundation")]
370 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmGetDestInfo(rtmreghandle : isize, desthandle : isize, protocolid : u32, targetviews : u32, destinfo : *mut RTM_DEST_INFO) -> u32);
371 ::windows_targets::link!("rtm.dll" "system" fn RtmGetEntityInfo(rtmreghandle : isize, entityhandle : isize, entityinfo : *mut RTM_ENTITY_INFO) -> u32);
372 ::windows_targets::link!("rtm.dll" "system" fn RtmGetEntityMethods(rtmreghandle : isize, entityhandle : isize, nummethods : *mut u32, exptmethods : *mut RTM_ENTITY_EXPORT_METHOD) -> u32);
373 #[cfg(feature = "Win32_Foundation")]
374 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmGetEnumDests(rtmreghandle : isize, enumhandle : isize, numdests : *mut u32, destinfos : *mut RTM_DEST_INFO) -> u32);
375 ::windows_targets::link!("rtm.dll" "system" fn RtmGetEnumNextHops(rtmreghandle : isize, enumhandle : isize, numnexthops : *mut u32, nexthophandles : *mut isize) -> u32);
376 ::windows_targets::link!("rtm.dll" "system" fn RtmGetEnumRoutes(rtmreghandle : isize, enumhandle : isize, numroutes : *mut u32, routehandles : *mut isize) -> u32);
377 #[cfg(feature = "Win32_Foundation")]
378 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmGetExactMatchDestination(rtmreghandle : isize, destaddress : *mut RTM_NET_ADDRESS, protocolid : u32, targetviews : u32, destinfo : *mut RTM_DEST_INFO) -> u32);
379 ::windows_targets::link!("rtm.dll" "system" fn RtmGetExactMatchRoute(rtmreghandle : isize, destaddress : *mut RTM_NET_ADDRESS, matchingflags : u32, routeinfo : *mut RTM_ROUTE_INFO, interfaceindex : u32, targetviews : u32, routehandle : *mut isize) -> u32);
380 #[cfg(feature = "Win32_Foundation")]
381 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmGetLessSpecificDestination(rtmreghandle : isize, desthandle : isize, protocolid : u32, targetviews : u32, destinfo : *mut RTM_DEST_INFO) -> u32);
382 ::windows_targets::link!("rtm.dll" "system" fn RtmGetListEnumRoutes(rtmreghandle : isize, enumhandle : isize, numroutes : *mut u32, routehandles : *mut isize) -> u32);
383 #[cfg(feature = "Win32_Foundation")]
384 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmGetMostSpecificDestination(rtmreghandle : isize, destaddress : *mut RTM_NET_ADDRESS, protocolid : u32, targetviews : u32, destinfo : *mut RTM_DEST_INFO) -> u32);
385 ::windows_targets::link!("rtm.dll" "system" fn RtmGetNextHopInfo(rtmreghandle : isize, nexthophandle : isize, nexthopinfo : *mut RTM_NEXTHOP_INFO) -> u32);
386 ::windows_targets::link!("rtm.dll" "system" fn RtmGetNextHopPointer(rtmreghandle : isize, nexthophandle : isize, nexthoppointer : *mut *mut RTM_NEXTHOP_INFO) -> u32);
387 ::windows_targets::link!("rtm.dll" "system" fn RtmGetOpaqueInformationPointer(rtmreghandle : isize, desthandle : isize, opaqueinfopointer : *mut *mut ::core::ffi::c_void) -> u32);
388 ::windows_targets::link!("rtm.dll" "system" fn RtmGetRegisteredEntities(rtmreghandle : isize, numentities : *mut u32, entityhandles : *mut isize, entityinfos : *mut RTM_ENTITY_INFO) -> u32);
389 ::windows_targets::link!("rtm.dll" "system" fn RtmGetRouteInfo(rtmreghandle : isize, routehandle : isize, routeinfo : *mut RTM_ROUTE_INFO, destaddress : *mut RTM_NET_ADDRESS) -> u32);
390 ::windows_targets::link!("rtm.dll" "system" fn RtmGetRoutePointer(rtmreghandle : isize, routehandle : isize, routepointer : *mut *mut RTM_ROUTE_INFO) -> u32);
391 ::windows_targets::link!("rtm.dll" "system" fn RtmHoldDestination(rtmreghandle : isize, desthandle : isize, targetviews : u32, holdtime : u32) -> u32);
392 ::windows_targets::link!("rtm.dll" "system" fn RtmIgnoreChangedDests(rtmreghandle : isize, notifyhandle : isize, numdests : u32, changeddests : *mut isize) -> u32);
393 ::windows_targets::link!("rtm.dll" "system" fn RtmInsertInRouteList(rtmreghandle : isize, routelisthandle : isize, numroutes : u32, routehandles : *mut isize) -> u32);
394 ::windows_targets::link!("rtm.dll" "system" fn RtmInvokeMethod(rtmreghandle : isize, entityhandle : isize, input : *mut RTM_ENTITY_METHOD_INPUT, outputsize : *mut u32, output : *mut RTM_ENTITY_METHOD_OUTPUT) -> u32);
395 ::windows_targets::link!("rtm.dll" "system" fn RtmIsBestRoute(rtmreghandle : isize, routehandle : isize, bestinviews : *mut u32) -> u32);
396 #[cfg(feature = "Win32_Foundation")]
397 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmIsMarkedForChangeNotification(rtmreghandle : isize, notifyhandle : isize, desthandle : isize, destmarked : *mut super::super::Foundation:: BOOL) -> u32);
398 #[cfg(feature = "Win32_Foundation")]
399 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmLockDestination(rtmreghandle : isize, desthandle : isize, exclusive : super::super::Foundation:: BOOL, lockdest : super::super::Foundation:: BOOL) -> u32);
400 #[cfg(feature = "Win32_Foundation")]
401 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmLockNextHop(rtmreghandle : isize, nexthophandle : isize, exclusive : super::super::Foundation:: BOOL, locknexthop : super::super::Foundation:: BOOL, nexthoppointer : *mut *mut RTM_NEXTHOP_INFO) -> u32);
402 #[cfg(feature = "Win32_Foundation")]
403 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmLockRoute(rtmreghandle : isize, routehandle : isize, exclusive : super::super::Foundation:: BOOL, lockroute : super::super::Foundation:: BOOL, routepointer : *mut *mut RTM_ROUTE_INFO) -> u32);
404 #[cfg(feature = "Win32_Foundation")]
405 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmMarkDestForChangeNotification(rtmreghandle : isize, notifyhandle : isize, desthandle : isize, markdest : super::super::Foundation:: BOOL) -> u32);
406 #[cfg(feature = "Win32_Foundation")]
407 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmReferenceHandles(rtmreghandle : isize, numhandles : u32, rtmhandles : *mut super::super::Foundation:: HANDLE) -> u32);
408 #[cfg(feature = "Win32_Foundation")]
409 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmRegisterEntity(rtmentityinfo : *mut RTM_ENTITY_INFO, exportmethods : *mut RTM_ENTITY_EXPORT_METHODS, eventcallback : RTM_EVENT_CALLBACK, reserveopaquepointer : super::super::Foundation:: BOOL, rtmregprofile : *mut RTM_REGN_PROFILE, rtmreghandle : *mut isize) -> u32);
410 ::windows_targets::link!("rtm.dll" "system" fn RtmRegisterForChangeNotification(rtmreghandle : isize, targetviews : u32, notifyflags : u32, notifycontext : *mut ::core::ffi::c_void, notifyhandle : *mut isize) -> u32);
411 #[cfg(feature = "Win32_Foundation")]
412 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmReleaseChangedDests(rtmreghandle : isize, notifyhandle : isize, numdests : u32, changeddests : *mut RTM_DEST_INFO) -> u32);
413 #[cfg(feature = "Win32_Foundation")]
414 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmReleaseDestInfo(rtmreghandle : isize, destinfo : *mut RTM_DEST_INFO) -> u32);
415 #[cfg(feature = "Win32_Foundation")]
416 ::windows_targets::link!("rtm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtmReleaseDests(rtmreghandle : isize, numdests : u32, destinfos : *mut RTM_DEST_INFO) -> u32);
417 ::windows_targets::link!("rtm.dll" "system" fn RtmReleaseEntities(rtmreghandle : isize, numentities : u32, entityhandles : *mut isize) -> u32);
418 ::windows_targets::link!("rtm.dll" "system" fn RtmReleaseEntityInfo(rtmreghandle : isize, entityinfo : *mut RTM_ENTITY_INFO) -> u32);
419 ::windows_targets::link!("rtm.dll" "system" fn RtmReleaseNextHopInfo(rtmreghandle : isize, nexthopinfo : *mut RTM_NEXTHOP_INFO) -> u32);
420 ::windows_targets::link!("rtm.dll" "system" fn RtmReleaseNextHops(rtmreghandle : isize, numnexthops : u32, nexthophandles : *mut isize) -> u32);
421 ::windows_targets::link!("rtm.dll" "system" fn RtmReleaseRouteInfo(rtmreghandle : isize, routeinfo : *mut RTM_ROUTE_INFO) -> u32);
422 ::windows_targets::link!("rtm.dll" "system" fn RtmReleaseRoutes(rtmreghandle : isize, numroutes : u32, routehandles : *mut isize) -> u32);
423 ::windows_targets::link!("rtm.dll" "system" fn RtmUpdateAndUnlockRoute(rtmreghandle : isize, routehandle : isize, timetolive : u32, routelisthandle : isize, notifytype : u32, notifyhandle : isize, changeflags : *mut u32) -> u32);
424 pub const ALLOW_NO_AUTH: u32 = 1u32;
425 pub const ALL_SOURCES: MGM_ENUM_TYPES = 1i32;
426 pub const ANY_SOURCE: MGM_ENUM_TYPES = 0i32;
427 pub const ATADDRESSLEN: u32 = 32u32;
428 pub const DO_NOT_ALLOW_NO_AUTH: u32 = 0u32;
429 pub const ERROR_ACCESSING_TCPCFGDLL: u32 = 727u32;
430 pub const ERROR_ACCT_DISABLED: u32 = 647u32;
431 pub const ERROR_ACCT_EXPIRED: u32 = 708u32;
432 pub const ERROR_ACTION_REQUIRED: u32 = 877u32;
433 pub const ERROR_ALLOCATING_MEMORY: u32 = 664u32;
434 pub const ERROR_ALREADY_DISCONNECTING: u32 = 617u32;
435 pub const ERROR_ASYNC_REQUEST_PENDING: u32 = 616u32;
436 pub const ERROR_AUTHENTICATION_FAILURE: u32 = 691u32;
437 pub const ERROR_AUTH_INTERNAL: u32 = 645u32;
438 pub const ERROR_AUTOMATIC_VPN_FAILED: u32 = 800u32;
439 pub const ERROR_BAD_ADDRESS_SPECIFIED: u32 = 769u32;
440 pub const ERROR_BAD_CALLBACK_NUMBER: u32 = 704u32;
441 pub const ERROR_BAD_PHONE_NUMBER: u32 = 749u32;
442 pub const ERROR_BAD_STRING: u32 = 637u32;
443 pub const ERROR_BAD_USAGE_IN_INI_FILE: u32 = 669u32;
444 pub const ERROR_BIPLEX_PORT_NOT_AVAILABLE: u32 = 712u32;
445 pub const ERROR_BLOCKED: u32 = 775u32;
446 pub const ERROR_BROADBAND_ACTIVE: u32 = 813u32;
447 pub const ERROR_BROADBAND_NO_NIC: u32 = 814u32;
448 pub const ERROR_BROADBAND_TIMEOUT: u32 = 815u32;
449 pub const ERROR_BUFFER_INVALID: u32 = 610u32;
450 pub const ERROR_BUFFER_TOO_SMALL: u32 = 603u32;
451 pub const ERROR_BUNDLE_NOT_FOUND: u32 = 754u32;
452 pub const ERROR_CANNOT_DELETE: u32 = 817u32;
453 pub const ERROR_CANNOT_DO_CUSTOMDIAL: u32 = 755u32;
454 pub const ERROR_CANNOT_FIND_PHONEBOOK_ENTRY: u32 = 623u32;
455 pub const ERROR_CANNOT_GET_LANA: u32 = 639u32;
456 pub const ERROR_CANNOT_INITIATE_MOBIKE_UPDATE: u32 = 844u32;
457 pub const ERROR_CANNOT_LOAD_PHONEBOOK: u32 = 622u32;
458 pub const ERROR_CANNOT_LOAD_STRING: u32 = 626u32;
459 pub const ERROR_CANNOT_OPEN_PHONEBOOK: u32 = 621u32;
460 pub const ERROR_CANNOT_PROJECT_CLIENT: u32 = 634u32;
461 pub const ERROR_CANNOT_SET_PORT_INFO: u32 = 605u32;
462 pub const ERROR_CANNOT_SHARE_CONNECTION: u32 = 763u32;
463 pub const ERROR_CANNOT_USE_LOGON_CREDENTIALS: u32 = 739u32;
464 pub const ERROR_CANNOT_WRITE_PHONEBOOK: u32 = 624u32;
465 pub const ERROR_CERT_FOR_ENCRYPTION_NOT_FOUND: u32 = 781u32;
466 pub const ERROR_CHANGING_PASSWORD: u32 = 709u32;
467 pub const ERROR_CMD_TOO_LONG: u32 = 700u32;
468 pub const ERROR_CONGESTION: u32 = 771u32;
469 pub const ERROR_CONNECTING_DEVICE_NOT_FOUND: u32 = 797u32;
470 pub const ERROR_CONNECTION_ALREADY_SHARED: u32 = 758u32;
471 pub const ERROR_CONNECTION_REJECT: u32 = 770u32;
472 pub const ERROR_CORRUPT_PHONEBOOK: u32 = 625u32;
473 pub const ERROR_DCB_NOT_FOUND: u32 = 694u32;
474 pub const ERROR_DEFAULTOFF_MACRO_NOT_FOUND: u32 = 656u32;
475 pub const ERROR_DEVICENAME_NOT_FOUND: u32 = 659u32;
476 pub const ERROR_DEVICENAME_TOO_LONG: u32 = 658u32;
477 pub const ERROR_DEVICETYPE_DOES_NOT_EXIST: u32 = 609u32;
478 pub const ERROR_DEVICE_COMPLIANCE: u32 = 875u32;
479 pub const ERROR_DEVICE_DOES_NOT_EXIST: u32 = 608u32;
480 pub const ERROR_DEVICE_NOT_READY: u32 = 666u32;
481 pub const ERROR_DIAL_ALREADY_IN_PROGRESS: u32 = 756u32;
482 pub const ERROR_DISCONNECTION: u32 = 628u32;
483 pub const ERROR_DNSNAME_NOT_RESOLVABLE: u32 = 868u32;
484 pub const ERROR_DONOTDISTURB: u32 = 776u32;
485 pub const ERROR_EAPTLS_CACHE_CREDENTIALS_INVALID: u32 = 826u32;
486 pub const ERROR_EAPTLS_PASSWD_INVALID: u32 = 869u32;
487 pub const ERROR_EAPTLS_SCARD_CACHE_CREDENTIALS_INVALID: u32 = 847u32;
488 pub const ERROR_EAP_METHOD_DOES_NOT_SUPPORT_SSO: u32 = 851u32;
489 pub const ERROR_EAP_METHOD_NOT_INSTALLED: u32 = 850u32;
490 pub const ERROR_EAP_METHOD_OPERATION_NOT_SUPPORTED: u32 = 852u32;
491 pub const ERROR_EAP_SERVER_CERT_EXPIRED: u32 = 858u32;
492 pub const ERROR_EAP_SERVER_CERT_INVALID: u32 = 857u32;
493 pub const ERROR_EAP_SERVER_CERT_OTHER_ERROR: u32 = 860u32;
494 pub const ERROR_EAP_SERVER_CERT_REVOKED: u32 = 859u32;
495 pub const ERROR_EAP_SERVER_ROOT_CERT_INVALID: u32 = 865u32;
496 pub const ERROR_EAP_SERVER_ROOT_CERT_NAME_REQUIRED: u32 = 866u32;
497 pub const ERROR_EAP_SERVER_ROOT_CERT_NOT_FOUND: u32 = 864u32;
498 pub const ERROR_EAP_USER_CERT_EXPIRED: u32 = 854u32;
499 pub const ERROR_EAP_USER_CERT_INVALID: u32 = 853u32;
500 pub const ERROR_EAP_USER_CERT_OTHER_ERROR: u32 = 856u32;
501 pub const ERROR_EAP_USER_CERT_REVOKED: u32 = 855u32;
502 pub const ERROR_EAP_USER_ROOT_CERT_EXPIRED: u32 = 863u32;
503 pub const ERROR_EAP_USER_ROOT_CERT_INVALID: u32 = 862u32;
504 pub const ERROR_EAP_USER_ROOT_CERT_NOT_FOUND: u32 = 861u32;
505 pub const ERROR_EMPTY_INI_FILE: u32 = 690u32;
506 pub const ERROR_EVENT_INVALID: u32 = 607u32;
507 pub const ERROR_FAILED_CP_REQUIRED: u32 = 841u32;
508 pub const ERROR_FAILED_TO_ENCRYPT: u32 = 768u32;
509 pub const ERROR_FAST_USER_SWITCH: u32 = 831u32;
510 pub const ERROR_FEATURE_DEPRECATED: u32 = 816u32;
511 pub const ERROR_FILE_COULD_NOT_BE_OPENED: u32 = 657u32;
512 pub const ERROR_FROM_DEVICE: u32 = 651u32;
513 pub const ERROR_HANGUP_FAILED: u32 = 753u32;
514 pub const ERROR_HARDWARE_FAILURE: u32 = 630u32;
515 pub const ERROR_HIBERNATION: u32 = 832u32;
516 pub const ERROR_IDLE_TIMEOUT: u32 = 828u32;
517 pub const ERROR_IKEV2_PSK_INTERFACE_ALREADY_EXISTS: u32 = 870u32;
518 pub const ERROR_INCOMPATIBLE: u32 = 772u32;
519 pub const ERROR_INTERACTIVE_MODE: u32 = 703u32;
520 pub const ERROR_INTERNAL_ADDRESS_FAILURE: u32 = 840u32;
521 pub const ERROR_INVALID_AUTH_STATE: u32 = 705u32;
522 pub const ERROR_INVALID_CALLBACK_NUMBER: u32 = 751u32;
523 pub const ERROR_INVALID_COMPRESSION_SPECIFIED: u32 = 613u32;
524 pub const ERROR_INVALID_DESTINATION_IP: u32 = 871u32;
525 pub const ERROR_INVALID_FUNCTION_FOR_ENTRY: u32 = 780u32;
526 pub const ERROR_INVALID_INTERFACE_CONFIG: u32 = 872u32;
527 pub const ERROR_INVALID_MSCHAPV2_CONFIG: u32 = 805u32;
528 pub const ERROR_INVALID_PEAP_COOKIE_ATTRIBUTES: u32 = 849u32;
529 pub const ERROR_INVALID_PEAP_COOKIE_CONFIG: u32 = 803u32;
530 pub const ERROR_INVALID_PEAP_COOKIE_USER: u32 = 804u32;
531 pub const ERROR_INVALID_PORT_HANDLE: u32 = 601u32;
532 pub const ERROR_INVALID_PREFERENCES: u32 = 846u32;
533 pub const ERROR_INVALID_SERVER_CERT: u32 = 835u32;
534 pub const ERROR_INVALID_SIZE: u32 = 632u32;
535 pub const ERROR_INVALID_SMM: u32 = 745u32;
536 pub const ERROR_INVALID_TUNNELID: u32 = 837u32;
537 pub const ERROR_INVALID_VPNSTRATEGY: u32 = 825u32;
538 pub const ERROR_IN_COMMAND: u32 = 681u32;
539 pub const ERROR_IPSEC_SERVICE_STOPPED: u32 = 827u32;
540 pub const ERROR_IPXCP_DIALOUT_ALREADY_ACTIVE: u32 = 726u32;
541 pub const ERROR_IPXCP_NET_NUMBER_CONFLICT: u32 = 744u32;
542 pub const ERROR_IPXCP_NO_DIALIN_CONFIGURED: u32 = 725u32;
543 pub const ERROR_IPXCP_NO_DIALOUT_CONFIGURED: u32 = 724u32;
544 pub const ERROR_IP_CONFIGURATION: u32 = 716u32;
545 pub const ERROR_KEY_NOT_FOUND: u32 = 627u32;
546 pub const ERROR_LINE_BUSY: u32 = 676u32;
547 pub const ERROR_LINK_FAILURE: u32 = 829u32;
548 pub const ERROR_MACRO_NOT_DEFINED: u32 = 654u32;
549 pub const ERROR_MACRO_NOT_FOUND: u32 = 653u32;
550 pub const ERROR_MESSAGE_MACRO_NOT_FOUND: u32 = 655u32;
551 pub const ERROR_MOBIKE_DISABLED: u32 = 843u32;
552 pub const ERROR_NAME_EXISTS_ON_NET: u32 = 642u32;
553 pub const ERROR_NETBIOS_ERROR: u32 = 640u32;
554 pub const ERROR_NOT_BINARY_MACRO: u32 = 693u32;
555 pub const ERROR_NOT_NAP_CAPABLE: u32 = 836u32;
556 pub const ERROR_NO_ACTIVE_ISDN_LINES: u32 = 713u32;
557 pub const ERROR_NO_ANSWER: u32 = 678u32;
558 pub const ERROR_NO_CARRIER: u32 = 679u32;
559 pub const ERROR_NO_CERTIFICATE: u32 = 766u32;
560 pub const ERROR_NO_COMMAND_FOUND: u32 = 661u32;
561 pub const ERROR_NO_CONNECTION: u32 = 668u32;
562 pub const ERROR_NO_DIALIN_PERMISSION: u32 = 649u32;
563 pub const ERROR_NO_DIALTONE: u32 = 680u32;
564 pub const ERROR_NO_DIFF_USER_AT_LOGON: u32 = 784u32;
565 pub const ERROR_NO_EAPTLS_CERTIFICATE: u32 = 798u32;
566 pub const ERROR_NO_ENDPOINTS: u32 = 620u32;
567 pub const ERROR_NO_IP_ADDRESSES: u32 = 717u32;
568 pub const ERROR_NO_IP_RAS_ADAPTER: u32 = 728u32;
569 pub const ERROR_NO_ISDN_CHANNELS_AVAILABLE: u32 = 714u32;
570 pub const ERROR_NO_LOCAL_ENCRYPTION: u32 = 741u32;
571 pub const ERROR_NO_MAC_FOR_PORT: u32 = 747u32;
572 pub const ERROR_NO_REG_CERT_AT_LOGON: u32 = 785u32;
573 pub const ERROR_NO_REMOTE_ENCRYPTION: u32 = 742u32;
574 pub const ERROR_NO_RESPONSES: u32 = 660u32;
575 pub const ERROR_NO_SMART_CARD_READER: u32 = 764u32;
576 pub const ERROR_NUMBERCHANGED: u32 = 773u32;
577 pub const ERROR_OAKLEY_ATTRIB_FAIL: u32 = 788u32;
578 pub const ERROR_OAKLEY_AUTH_FAIL: u32 = 787u32;
579 pub const ERROR_OAKLEY_ERROR: u32 = 793u32;
580 pub const ERROR_OAKLEY_GENERAL_PROCESSING: u32 = 789u32;
581 pub const ERROR_OAKLEY_NO_CERT: u32 = 786u32;
582 pub const ERROR_OAKLEY_NO_PEER_CERT: u32 = 790u32;
583 pub const ERROR_OAKLEY_NO_POLICY: u32 = 791u32;
584 pub const ERROR_OAKLEY_TIMED_OUT: u32 = 792u32;
585 pub const ERROR_OUTOFORDER: u32 = 777u32;
586 pub const ERROR_OUT_OF_BUFFERS: u32 = 614u32;
587 pub const ERROR_OVERRUN: u32 = 710u32;
588 pub const ERROR_PARTIAL_RESPONSE_LOOPING: u32 = 697u32;
589 pub const ERROR_PASSWD_EXPIRED: u32 = 648u32;
590 pub const ERROR_PEAP_CRYPTOBINDING_INVALID: u32 = 823u32;
591 pub const ERROR_PEAP_CRYPTOBINDING_NOTRECEIVED: u32 = 824u32;
592 pub const ERROR_PEAP_IDENTITY_MISMATCH: u32 = 867u32;
593 pub const ERROR_PEAP_SERVER_REJECTED_CLIENT_TLV: u32 = 845u32;
594 pub const ERROR_PHONE_NUMBER_TOO_LONG: u32 = 723u32;
595 pub const ERROR_PLUGIN_NOT_INSTALLED: u32 = 876u32;
596 pub const ERROR_PORT_ALREADY_OPEN: u32 = 602u32;
597 pub const ERROR_PORT_DISCONNECTED: u32 = 619u32;
598 pub const ERROR_PORT_NOT_AVAILABLE: u32 = 633u32;
599 pub const ERROR_PORT_NOT_CONFIGURED: u32 = 665u32;
600 pub const ERROR_PORT_NOT_CONNECTED: u32 = 606u32;
601 pub const ERROR_PORT_NOT_FOUND: u32 = 615u32;
602 pub const ERROR_PORT_NOT_OPEN: u32 = 618u32;
603 pub const ERROR_PORT_OR_DEVICE: u32 = 692u32;
604 pub const ERROR_PPP_CP_REJECTED: u32 = 733u32;
605 pub const ERROR_PPP_INVALID_PACKET: u32 = 722u32;
606 pub const ERROR_PPP_LCP_TERMINATED: u32 = 734u32;
607 pub const ERROR_PPP_LOOPBACK_DETECTED: u32 = 737u32;
608 pub const ERROR_PPP_NCP_TERMINATED: u32 = 736u32;
609 pub const ERROR_PPP_NOT_CONVERGING: u32 = 732u32;
610 pub const ERROR_PPP_NO_ADDRESS_ASSIGNED: u32 = 738u32;
611 pub const ERROR_PPP_NO_PROTOCOLS_CONFIGURED: u32 = 720u32;
612 pub const ERROR_PPP_NO_RESPONSE: u32 = 721u32;
613 pub const ERROR_PPP_REMOTE_TERMINATED: u32 = 719u32;
614 pub const ERROR_PPP_REQUIRED_ADDRESS_REJECTED: u32 = 735u32;
615 pub const ERROR_PPP_TIMEOUT: u32 = 718u32;
616 pub const ERROR_PROJECTION_NOT_COMPLETE: u32 = 730u32;
617 pub const ERROR_PROTOCOL_ENGINE_DISABLED: u32 = 839u32;
618 pub const ERROR_PROTOCOL_NOT_CONFIGURED: u32 = 731u32;
619 pub const ERROR_RASAUTO_CANNOT_INITIALIZE: u32 = 757u32;
620 pub const ERROR_RASMAN_CANNOT_INITIALIZE: u32 = 711u32;
621 pub const ERROR_RASMAN_SERVICE_STOPPED: u32 = 834u32;
622 pub const ERROR_RASQEC_CONN_DOESNOTEXIST: u32 = 821u32;
623 pub const ERROR_RASQEC_NAPAGENT_NOT_CONNECTED: u32 = 820u32;
624 pub const ERROR_RASQEC_NAPAGENT_NOT_ENABLED: u32 = 819u32;
625 pub const ERROR_RASQEC_RESOURCE_CREATION_FAILED: u32 = 818u32;
626 pub const ERROR_RASQEC_TIMEOUT: u32 = 822u32;
627 pub const ERROR_READING_DEFAULTOFF: u32 = 689u32;
628 pub const ERROR_READING_DEVICENAME: u32 = 672u32;
629 pub const ERROR_READING_DEVICETYPE: u32 = 671u32;
630 pub const ERROR_READING_INI_FILE: u32 = 667u32;
631 pub const ERROR_READING_MAXCARRIERBPS: u32 = 675u32;
632 pub const ERROR_READING_MAXCONNECTBPS: u32 = 674u32;
633 pub const ERROR_READING_SCARD: u32 = 802u32;
634 pub const ERROR_READING_SECTIONNAME: u32 = 670u32;
635 pub const ERROR_READING_USAGE: u32 = 673u32;
636 pub const ERROR_RECV_BUF_FULL: u32 = 699u32;
637 pub const ERROR_REMOTE_DISCONNECTION: u32 = 629u32;
638 pub const ERROR_REMOTE_REQUIRES_ENCRYPTION: u32 = 743u32;
639 pub const ERROR_REQUEST_TIMEOUT: u32 = 638u32;
640 pub const ERROR_RESTRICTED_LOGON_HOURS: u32 = 646u32;
641 pub const ERROR_ROUTE_NOT_ALLOCATED: u32 = 612u32;
642 pub const ERROR_ROUTE_NOT_AVAILABLE: u32 = 611u32;
643 pub const ERROR_SCRIPT_SYNTAX: u32 = 752u32;
644 pub const ERROR_SERVER_GENERAL_NET_FAILURE: u32 = 643u32;
645 pub const ERROR_SERVER_NOT_RESPONDING: u32 = 650u32;
646 pub const ERROR_SERVER_OUT_OF_RESOURCES: u32 = 641u32;
647 pub const ERROR_SERVER_POLICY: u32 = 812u32;
648 pub const ERROR_SHARE_CONNECTION_FAILED: u32 = 761u32;
649 pub const ERROR_SHARING_ADDRESS_EXISTS: u32 = 765u32;
650 pub const ERROR_SHARING_CHANGE_FAILED: u32 = 759u32;
651 pub const ERROR_SHARING_HOST_ADDRESS_CONFLICT: u32 = 799u32;
652 pub const ERROR_SHARING_MULTIPLE_ADDRESSES: u32 = 767u32;
653 pub const ERROR_SHARING_NO_PRIVATE_LAN: u32 = 783u32;
654 pub const ERROR_SHARING_PRIVATE_INSTALL: u32 = 762u32;
655 pub const ERROR_SHARING_ROUTER_INSTALL: u32 = 760u32;
656 pub const ERROR_SHARING_RRAS_CONFLICT: u32 = 782u32;
657 pub const ERROR_SLIP_REQUIRES_IP: u32 = 729u32;
658 pub const ERROR_SMART_CARD_REQUIRED: u32 = 779u32;
659 pub const ERROR_SMM_TIMEOUT: u32 = 748u32;
660 pub const ERROR_SMM_UNINITIALIZED: u32 = 746u32;
661 pub const ERROR_SSO_CERT_MISSING: u32 = 874u32;
662 pub const ERROR_SSTP_COOKIE_SET_FAILURE: u32 = 848u32;
663 pub const ERROR_STATE_MACHINES_ALREADY_STARTED: u32 = 696u32;
664 pub const ERROR_STATE_MACHINES_NOT_STARTED: u32 = 695u32;
665 pub const ERROR_SYSTEM_SUSPENDED: u32 = 833u32;
666 pub const ERROR_TAPI_CONFIGURATION: u32 = 740u32;
667 pub const ERROR_TEMPFAILURE: u32 = 774u32;
668 pub const ERROR_TOO_MANY_LINE_ERRORS: u32 = 715u32;
669 pub const ERROR_TS_UNACCEPTABLE: u32 = 842u32;
670 pub const ERROR_UNABLE_TO_AUTHENTICATE_SERVER: u32 = 778u32;
671 pub const ERROR_UNEXPECTED_RESPONSE: u32 = 702u32;
672 pub const ERROR_UNKNOWN: u32 = 635u32;
673 pub const ERROR_UNKNOWN_DEVICE_TYPE: u32 = 663u32;
674 pub const ERROR_UNKNOWN_FRAMED_PROTOCOL: u32 = 794u32;
675 pub const ERROR_UNKNOWN_RESPONSE_KEY: u32 = 698u32;
676 pub const ERROR_UNKNOWN_SERVICE_TYPE: u32 = 796u32;
677 pub const ERROR_UNRECOGNIZED_RESPONSE: u32 = 652u32;
678 pub const ERROR_UNSUPPORTED_BPS: u32 = 701u32;
679 pub const ERROR_UPDATECONNECTION_REQUEST_IN_PROCESS: u32 = 838u32;
680 pub const ERROR_USER_DISCONNECTION: u32 = 631u32;
681 pub const ERROR_USER_LOGOFF: u32 = 830u32;
682 pub const ERROR_VALIDATING_SERVER_CERT: u32 = 801u32;
683 pub const ERROR_VOICE_ANSWER: u32 = 677u32;
684 pub const ERROR_VPN_BAD_CERT: u32 = 810u32;
685 pub const ERROR_VPN_BAD_PSK: u32 = 811u32;
686 pub const ERROR_VPN_DISCONNECT: u32 = 807u32;
687 pub const ERROR_VPN_GRE_BLOCKED: u32 = 806u32;
688 pub const ERROR_VPN_PLUGIN_GENERIC: u32 = 873u32;
689 pub const ERROR_VPN_REFUSED: u32 = 808u32;
690 pub const ERROR_VPN_TIMEOUT: u32 = 809u32;
691 pub const ERROR_WRITING_DEFAULTOFF: u32 = 688u32;
692 pub const ERROR_WRITING_DEVICENAME: u32 = 684u32;
693 pub const ERROR_WRITING_DEVICETYPE: u32 = 683u32;
694 pub const ERROR_WRITING_INITBPS: u32 = 706u32;
695 pub const ERROR_WRITING_MAXCARRIERBPS: u32 = 686u32;
696 pub const ERROR_WRITING_MAXCONNECTBPS: u32 = 685u32;
697 pub const ERROR_WRITING_SECTIONNAME: u32 = 682u32;
698 pub const ERROR_WRITING_USAGE: u32 = 687u32;
699 pub const ERROR_WRONG_DEVICE_ATTACHED: u32 = 636u32;
700 pub const ERROR_WRONG_INFO_SPECIFIED: u32 = 604u32;
701 pub const ERROR_WRONG_KEY_SPECIFIED: u32 = 662u32;
702 pub const ERROR_WRONG_MODULE: u32 = 750u32;
703 pub const ERROR_WRONG_TUNNEL_TYPE: u32 = 795u32;
704 pub const ERROR_X25_DIAGNOSTIC: u32 = 707u32;
705 pub const ET_None: u32 = 0u32;
706 pub const ET_Optional: u32 = 3u32;
707 pub const ET_Require: u32 = 1u32;
708 pub const ET_RequireMax: u32 = 2u32;
709 pub const IKEV2_ID_PAYLOAD_TYPE_DER_ASN1_DN: IKEV2_ID_PAYLOAD_TYPE = 9i32;
710 pub const IKEV2_ID_PAYLOAD_TYPE_DER_ASN1_GN: IKEV2_ID_PAYLOAD_TYPE = 10i32;
711 pub const IKEV2_ID_PAYLOAD_TYPE_FQDN: IKEV2_ID_PAYLOAD_TYPE = 2i32;
712 pub const IKEV2_ID_PAYLOAD_TYPE_ID_IPV6_ADDR: IKEV2_ID_PAYLOAD_TYPE = 5i32;
713 pub const IKEV2_ID_PAYLOAD_TYPE_INVALID: IKEV2_ID_PAYLOAD_TYPE = 0i32;
714 pub const IKEV2_ID_PAYLOAD_TYPE_IPV4_ADDR: IKEV2_ID_PAYLOAD_TYPE = 1i32;
715 pub const IKEV2_ID_PAYLOAD_TYPE_KEY_ID: IKEV2_ID_PAYLOAD_TYPE = 11i32;
716 pub const IKEV2_ID_PAYLOAD_TYPE_MAX: IKEV2_ID_PAYLOAD_TYPE = 12i32;
717 pub const IKEV2_ID_PAYLOAD_TYPE_RESERVED1: IKEV2_ID_PAYLOAD_TYPE = 4i32;
718 pub const IKEV2_ID_PAYLOAD_TYPE_RESERVED2: IKEV2_ID_PAYLOAD_TYPE = 6i32;
719 pub const IKEV2_ID_PAYLOAD_TYPE_RESERVED3: IKEV2_ID_PAYLOAD_TYPE = 7i32;
720 pub const IKEV2_ID_PAYLOAD_TYPE_RESERVED4: IKEV2_ID_PAYLOAD_TYPE = 8i32;
721 pub const IKEV2_ID_PAYLOAD_TYPE_RFC822_ADDR: IKEV2_ID_PAYLOAD_TYPE = 3i32;
722 pub const IPADDRESSLEN: u32 = 15u32;
723 pub const IPV6_ADDRESS_LEN_IN_BYTES: u32 = 16u32;
724 pub const IPXADDRESSLEN: u32 = 22u32;
725 pub const MAXIPADRESSLEN: u32 = 64u32;
726 pub const MAX_SSTP_HASH_SIZE: u32 = 32u32;
727 pub const METHOD_BGP4_AS_PATH: u32 = 1u32;
728 pub const METHOD_BGP4_NEXTHOP_ATTR: u32 = 8u32;
729 pub const METHOD_BGP4_PA_ORIGIN: u32 = 4u32;
730 pub const METHOD_BGP4_PEER_ID: u32 = 2u32;
731 pub const METHOD_RIP2_NEIGHBOUR_ADDR: u32 = 1u32;
732 pub const METHOD_RIP2_OUTBOUND_INTF: u32 = 2u32;
733 pub const METHOD_RIP2_ROUTE_TAG: u32 = 4u32;
734 pub const METHOD_RIP2_ROUTE_TIMESTAMP: u32 = 8u32;
735 pub const METHOD_TYPE_ALL_METHODS: u32 = 4294967295u32;
736 pub const MGM_FORWARD_STATE_FLAG: u32 = 2u32;
737 pub const MGM_JOIN_STATE_FLAG: u32 = 1u32;
738 pub const MGM_MFE_STATS_0: u32 = 1u32;
739 pub const MGM_MFE_STATS_1: u32 = 2u32;
740 pub const MPRAPI_ADMIN_DLL_VERSION_1: u32 = 1u32;
741 pub const MPRAPI_ADMIN_DLL_VERSION_2: u32 = 2u32;
742 pub const MPRAPI_IF_CUSTOM_CONFIG_FOR_IKEV2: u32 = 1u32;
743 pub const MPRAPI_IKEV2_AUTH_USING_CERT: u32 = 1u32;
744 pub const MPRAPI_IKEV2_AUTH_USING_EAP: u32 = 2u32;
745 pub const MPRAPI_IKEV2_PROJECTION_INFO_TYPE: u32 = 2u32;
746 pub const MPRAPI_IKEV2_SET_TUNNEL_CONFIG_PARAMS: u32 = 1u32;
747 pub const MPRAPI_L2TP_SET_TUNNEL_CONFIG_PARAMS: u32 = 1u32;
748 pub const MPRAPI_MPR_IF_CUSTOM_CONFIG_OBJECT_REVISION_1: u32 = 1u32;
749 pub const MPRAPI_MPR_IF_CUSTOM_CONFIG_OBJECT_REVISION_2: u32 = 2u32;
750 pub const MPRAPI_MPR_IF_CUSTOM_CONFIG_OBJECT_REVISION_3: u32 = 3u32;
751 pub const MPRAPI_MPR_SERVER_OBJECT_REVISION_1: u32 = 1u32;
752 pub const MPRAPI_MPR_SERVER_OBJECT_REVISION_2: u32 = 2u32;
753 pub const MPRAPI_MPR_SERVER_OBJECT_REVISION_3: u32 = 3u32;
754 pub const MPRAPI_MPR_SERVER_OBJECT_REVISION_4: u32 = 4u32;
755 pub const MPRAPI_MPR_SERVER_OBJECT_REVISION_5: u32 = 5u32;
756 pub const MPRAPI_MPR_SERVER_SET_CONFIG_OBJECT_REVISION_1: u32 = 1u32;
757 pub const MPRAPI_MPR_SERVER_SET_CONFIG_OBJECT_REVISION_2: u32 = 2u32;
758 pub const MPRAPI_MPR_SERVER_SET_CONFIG_OBJECT_REVISION_3: u32 = 3u32;
759 pub const MPRAPI_MPR_SERVER_SET_CONFIG_OBJECT_REVISION_4: u32 = 4u32;
760 pub const MPRAPI_MPR_SERVER_SET_CONFIG_OBJECT_REVISION_5: u32 = 5u32;
761 pub const MPRAPI_OBJECT_TYPE_AUTH_VALIDATION_OBJECT: MPRAPI_OBJECT_TYPE = 4i32;
762 pub const MPRAPI_OBJECT_TYPE_IF_CUSTOM_CONFIG_OBJECT: MPRAPI_OBJECT_TYPE = 6i32;
763 pub const MPRAPI_OBJECT_TYPE_MPR_SERVER_OBJECT: MPRAPI_OBJECT_TYPE = 2i32;
764 pub const MPRAPI_OBJECT_TYPE_MPR_SERVER_SET_CONFIG_OBJECT: MPRAPI_OBJECT_TYPE = 3i32;
765 pub const MPRAPI_OBJECT_TYPE_RAS_CONNECTION_OBJECT: MPRAPI_OBJECT_TYPE = 1i32;
766 pub const MPRAPI_OBJECT_TYPE_UPDATE_CONNECTION_OBJECT: MPRAPI_OBJECT_TYPE = 5i32;
767 pub const MPRAPI_PPP_PROJECTION_INFO_TYPE: u32 = 1u32;
768 pub const MPRAPI_RAS_CONNECTION_OBJECT_REVISION_1: u32 = 1u32;
769 pub const MPRAPI_RAS_UPDATE_CONNECTION_OBJECT_REVISION_1: u32 = 1u32;
770 pub const MPRAPI_SET_CONFIG_PROTOCOL_FOR_GRE: u32 = 16u32;
771 pub const MPRAPI_SET_CONFIG_PROTOCOL_FOR_IKEV2: u32 = 8u32;
772 pub const MPRAPI_SET_CONFIG_PROTOCOL_FOR_L2TP: u32 = 2u32;
773 pub const MPRAPI_SET_CONFIG_PROTOCOL_FOR_PPTP: u32 = 1u32;
774 pub const MPRAPI_SET_CONFIG_PROTOCOL_FOR_SSTP: u32 = 4u32;
775 pub const MPRDM_DialAll: MPR_INTERFACE_DIAL_MODE = 1u32;
776 pub const MPRDM_DialAsNeeded: MPR_INTERFACE_DIAL_MODE = 2u32;
777 pub const MPRDM_DialFirst: MPR_INTERFACE_DIAL_MODE = 0u32;
778 pub const MPRDT_Atm: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ATM");
779 pub const MPRDT_FrameRelay: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FRAMERELAY");
780 pub const MPRDT_Generic: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("GENERIC");
781 pub const MPRDT_Irda: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IRDA");
782 pub const MPRDT_Isdn: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("isdn");
783 pub const MPRDT_Modem: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("modem");
784 pub const MPRDT_Pad: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("pad");
785 pub const MPRDT_Parallel: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PARALLEL");
786 pub const MPRDT_SW56: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SW56");
787 pub const MPRDT_Serial: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SERIAL");
788 pub const MPRDT_Sonet: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SONET");
789 pub const MPRDT_Vpn: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("vpn");
790 pub const MPRDT_X25: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("x25");
791 pub const MPRET_Direct: u32 = 3u32;
792 pub const MPRET_Phone: u32 = 1u32;
793 pub const MPRET_Vpn: u32 = 2u32;
794 pub const MPRIDS_Disabled: u32 = 4294967295u32;
795 pub const MPRIDS_UseGlobalValue: u32 = 0u32;
796 pub const MPRIO_DisableLcpExtensions: u32 = 32u32;
797 pub const MPRIO_IpHeaderCompression: u32 = 8u32;
798 pub const MPRIO_IpSecPreSharedKey: u32 = 2147483648u32;
799 pub const MPRIO_NetworkLogon: u32 = 8192u32;
800 pub const MPRIO_PromoteAlternates: u32 = 32768u32;
801 pub const MPRIO_RemoteDefaultGateway: u32 = 16u32;
802 pub const MPRIO_RequireCHAP: u32 = 134217728u32;
803 pub const MPRIO_RequireDataEncryption: u32 = 4096u32;
804 pub const MPRIO_RequireEAP: u32 = 131072u32;
805 pub const MPRIO_RequireEncryptedPw: u32 = 1024u32;
806 pub const MPRIO_RequireMachineCertificates: u32 = 16777216u32;
807 pub const MPRIO_RequireMsCHAP: u32 = 268435456u32;
808 pub const MPRIO_RequireMsCHAP2: u32 = 536870912u32;
809 pub const MPRIO_RequireMsEncryptedPw: u32 = 2048u32;
810 pub const MPRIO_RequirePAP: u32 = 262144u32;
811 pub const MPRIO_RequireSPAP: u32 = 524288u32;
812 pub const MPRIO_SecureLocalFiles: u32 = 65536u32;
813 pub const MPRIO_SharedPhoneNumbers: u32 = 8388608u32;
814 pub const MPRIO_SpecificIpAddr: u32 = 2u32;
815 pub const MPRIO_SpecificNameServers: u32 = 4u32;
816 pub const MPRIO_SwCompression: u32 = 512u32;
817 pub const MPRIO_UsePreSharedKeyForIkev2Initiator: u32 = 33554432u32;
818 pub const MPRIO_UsePreSharedKeyForIkev2Responder: u32 = 67108864u32;
819 pub const MPRNP_Ip: u32 = 4u32;
820 pub const MPRNP_Ipv6: u32 = 8u32;
821 pub const MPRNP_Ipx: u32 = 2u32;
822 pub const MPR_ENABLE_RAS_ON_DEVICE: u32 = 1u32;
823 pub const MPR_ENABLE_ROUTING_ON_DEVICE: u32 = 2u32;
824 pub const MPR_ET_None: MPR_ET = 0u32;
825 pub const MPR_ET_Optional: MPR_ET = 3u32;
826 pub const MPR_ET_Require: MPR_ET = 1u32;
827 pub const MPR_ET_RequireMax: MPR_ET = 2u32;
828 pub const MPR_INTERFACE_ADMIN_DISABLED: u32 = 2u32;
829 pub const MPR_INTERFACE_CONNECTION_FAILURE: u32 = 4u32;
830 pub const MPR_INTERFACE_DIALOUT_HOURS_RESTRICTION: u32 = 16u32;
831 pub const MPR_INTERFACE_NO_DEVICE: u32 = 64u32;
832 pub const MPR_INTERFACE_NO_MEDIA_SENSE: u32 = 32u32;
833 pub const MPR_INTERFACE_OUT_OF_RESOURCES: u32 = 1u32;
834 pub const MPR_INTERFACE_SERVICE_PAUSED: u32 = 8u32;
835 pub const MPR_MaxAreaCode: u32 = 10u32;
836 pub const MPR_MaxCallbackNumber: u32 = 128u32;
837 pub const MPR_MaxDeviceName: u32 = 128u32;
838 pub const MPR_MaxDeviceType: u32 = 16u32;
839 pub const MPR_MaxEntryName: u32 = 256u32;
840 pub const MPR_MaxFacilities: u32 = 200u32;
841 pub const MPR_MaxIpAddress: u32 = 15u32;
842 pub const MPR_MaxIpxAddress: u32 = 21u32;
843 pub const MPR_MaxPadType: u32 = 32u32;
844 pub const MPR_MaxPhoneNumber: u32 = 128u32;
845 pub const MPR_MaxUserData: u32 = 200u32;
846 pub const MPR_MaxX25Address: u32 = 200u32;
847 pub const MPR_VPN_TS_IPv4_ADDR_RANGE: MPR_VPN_TS_TYPE = 7i32;
848 pub const MPR_VPN_TS_IPv6_ADDR_RANGE: MPR_VPN_TS_TYPE = 8i32;
849 pub const MPR_VS_Default: MPR_VS = 0u32;
850 pub const MPR_VS_Ikev2First: u32 = 8u32;
851 pub const MPR_VS_Ikev2Only: u32 = 7u32;
852 pub const MPR_VS_L2tpFirst: MPR_VS = 4u32;
853 pub const MPR_VS_L2tpOnly: MPR_VS = 3u32;
854 pub const MPR_VS_PptpFirst: MPR_VS = 2u32;
855 pub const MPR_VS_PptpOnly: MPR_VS = 1u32;
856 pub const PENDING: u32 = 600u32;
857 pub const PID_ATALK: u32 = 41u32;
858 pub const PID_IP: u32 = 33u32;
859 pub const PID_IPV6: u32 = 87u32;
860 pub const PID_IPX: u32 = 43u32;
861 pub const PID_NBF: u32 = 63u32;
862 pub const PPP_CCP_COMPRESSION: u32 = 1u32;
863 pub const PPP_CCP_ENCRYPTION128BIT: u32 = 64u32;
864 pub const PPP_CCP_ENCRYPTION40BIT: u32 = 32u32;
865 pub const PPP_CCP_ENCRYPTION40BITOLD: u32 = 16u32;
866 pub const PPP_CCP_ENCRYPTION56BIT: u32 = 128u32;
867 pub const PPP_CCP_HISTORYLESS: u32 = 16777216u32;
868 pub const PPP_IPCP_VJ: u32 = 1u32;
869 pub const PPP_LCP_3_DES: u32 = 32u32;
870 pub const PPP_LCP_ACFC: u32 = 4u32;
871 pub const PPP_LCP_AES_128: u32 = 64u32;
872 pub const PPP_LCP_AES_192: u32 = 256u32;
873 pub const PPP_LCP_AES_256: u32 = 128u32;
874 pub const PPP_LCP_CHAP: PPP_LCP = 49699u32;
875 pub const PPP_LCP_CHAP_MD5: PPP_LCP_INFO_AUTH_DATA = 5u32;
876 pub const PPP_LCP_CHAP_MS: PPP_LCP_INFO_AUTH_DATA = 128u32;
877 pub const PPP_LCP_CHAP_MSV2: PPP_LCP_INFO_AUTH_DATA = 129u32;
878 pub const PPP_LCP_DES_56: u32 = 16u32;
879 pub const PPP_LCP_EAP: PPP_LCP = 49703u32;
880 pub const PPP_LCP_GCM_AES_128: u32 = 512u32;
881 pub const PPP_LCP_GCM_AES_192: u32 = 1024u32;
882 pub const PPP_LCP_GCM_AES_256: u32 = 2048u32;
883 pub const PPP_LCP_MULTILINK_FRAMING: u32 = 1u32;
884 pub const PPP_LCP_PAP: PPP_LCP = 49187u32;
885 pub const PPP_LCP_PFC: u32 = 2u32;
886 pub const PPP_LCP_SPAP: PPP_LCP = 49191u32;
887 pub const PPP_LCP_SSHF: u32 = 8u32;
888 pub const PROJECTION_INFO_TYPE_IKEv2: RASPROJECTION_INFO_TYPE = 2i32;
889 pub const PROJECTION_INFO_TYPE_PPP: RASPROJECTION_INFO_TYPE = 1i32;
890 pub const RASADFLG_PositionDlg: u32 = 1u32;
891 pub const RASADP_ConnectionQueryTimeout: u32 = 4u32;
892 pub const RASADP_DisableConnectionQuery: u32 = 0u32;
893 pub const RASADP_FailedConnectionTimeout: u32 = 3u32;
894 pub const RASADP_LoginSessionDisable: u32 = 1u32;
895 pub const RASADP_SavedAddressesLimit: u32 = 2u32;
896 pub const RASAPIVERSION_500: RASAPIVERSION = 1i32;
897 pub const RASAPIVERSION_501: RASAPIVERSION = 2i32;
898 pub const RASAPIVERSION_600: RASAPIVERSION = 3i32;
899 pub const RASAPIVERSION_601: RASAPIVERSION = 4i32;
900 pub const RASBASE: u32 = 600u32;
901 pub const RASBASEEND: u32 = 877u32;
902 pub const RASCCPCA_MPPC: u32 = 6u32;
903 pub const RASCCPCA_STAC: u32 = 5u32;
904 pub const RASCCPO_Compression: u32 = 1u32;
905 pub const RASCCPO_Encryption128bit: u32 = 64u32;
906 pub const RASCCPO_Encryption40bit: u32 = 32u32;
907 pub const RASCCPO_Encryption56bit: u32 = 16u32;
908 pub const RASCCPO_HistoryLess: u32 = 2u32;
909 pub const RASCF_AllUsers: u32 = 1u32;
910 pub const RASCF_GlobalCreds: u32 = 2u32;
911 pub const RASCF_OwnerKnown: u32 = 4u32;
912 pub const RASCF_OwnerMatch: u32 = 8u32;
913 pub const RASCM_DDMPreSharedKey: u32 = 64u32;
914 pub const RASCM_DefaultCreds: u32 = 8u32;
915 pub const RASCM_Domain: u32 = 4u32;
916 pub const RASCM_Password: u32 = 2u32;
917 pub const RASCM_PreSharedKey: u32 = 16u32;
918 pub const RASCM_ServerPreSharedKey: u32 = 32u32;
919 pub const RASCM_UserName: u32 = 1u32;
920 pub const RASCN_BandwidthAdded: u32 = 4u32;
921 pub const RASCN_BandwidthRemoved: u32 = 8u32;
922 pub const RASCN_Connection: u32 = 1u32;
923 pub const RASCN_Disconnection: u32 = 2u32;
924 pub const RASCN_Dormant: u32 = 16u32;
925 pub const RASCN_EPDGPacketArrival: u32 = 64u32;
926 pub const RASCN_ReConnection: u32 = 32u32;
927 pub const RASCSS_DONE: u32 = 8192u32;
928 pub const RASCSS_Dormant: RASCONNSUBSTATE = 1i32;
929 pub const RASCSS_None: RASCONNSUBSTATE = 0i32;
930 pub const RASCSS_Reconnected: RASCONNSUBSTATE = 8192i32;
931 pub const RASCSS_Reconnecting: RASCONNSUBSTATE = 2i32;
932 pub const RASCS_AllDevicesConnected: RASCONNSTATE = 4i32;
933 pub const RASCS_ApplySettings: RASCONNSTATE = 24i32;
934 pub const RASCS_AuthAck: RASCONNSTATE = 12i32;
935 pub const RASCS_AuthCallback: RASCONNSTATE = 8i32;
936 pub const RASCS_AuthChangePassword: RASCONNSTATE = 9i32;
937 pub const RASCS_AuthLinkSpeed: RASCONNSTATE = 11i32;
938 pub const RASCS_AuthNotify: RASCONNSTATE = 6i32;
939 pub const RASCS_AuthProject: RASCONNSTATE = 10i32;
940 pub const RASCS_AuthRetry: RASCONNSTATE = 7i32;
941 pub const RASCS_Authenticate: RASCONNSTATE = 5i32;
942 pub const RASCS_Authenticated: RASCONNSTATE = 14i32;
943 pub const RASCS_CallbackComplete: RASCONNSTATE = 20i32;
944 pub const RASCS_CallbackSetByCaller: RASCONNSTATE = 4098i32;
945 pub const RASCS_ConnectDevice: RASCONNSTATE = 2i32;
946 pub const RASCS_Connected: RASCONNSTATE = 8192i32;
947 pub const RASCS_DONE: u32 = 8192u32;
948 pub const RASCS_DeviceConnected: RASCONNSTATE = 3i32;
949 pub const RASCS_Disconnected: RASCONNSTATE = 8193i32;
950 pub const RASCS_Interactive: RASCONNSTATE = 4096i32;
951 pub const RASCS_InvokeEapUI: RASCONNSTATE = 4100i32;
952 pub const RASCS_LogonNetwork: RASCONNSTATE = 21i32;
953 pub const RASCS_OpenPort: RASCONNSTATE = 0i32;
954 pub const RASCS_PAUSED: u32 = 4096u32;
955 pub const RASCS_PasswordExpired: RASCONNSTATE = 4099i32;
956 pub const RASCS_PortOpened: RASCONNSTATE = 1i32;
957 pub const RASCS_PrepareForCallback: RASCONNSTATE = 15i32;
958 pub const RASCS_Projected: RASCONNSTATE = 18i32;
959 pub const RASCS_ReAuthenticate: RASCONNSTATE = 13i32;
960 pub const RASCS_RetryAuthentication: RASCONNSTATE = 4097i32;
961 pub const RASCS_StartAuthentication: RASCONNSTATE = 19i32;
962 pub const RASCS_SubEntryConnected: RASCONNSTATE = 22i32;
963 pub const RASCS_SubEntryDisconnected: RASCONNSTATE = 23i32;
964 pub const RASCS_WaitForCallback: RASCONNSTATE = 17i32;
965 pub const RASCS_WaitForModemReset: RASCONNSTATE = 16i32;
966 pub const RASDDFLAG_AoacRedial: u32 = 4u32;
967 pub const RASDDFLAG_LinkFailure: u32 = 2147483648u32;
968 pub const RASDDFLAG_NoPrompt: u32 = 2u32;
969 pub const RASDDFLAG_PositionDlg: u32 = 1u32;
970 pub const RASDIALEVENT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("RasDialEvent");
971 pub const RASDT_Atm: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ATM");
972 pub const RASDT_FrameRelay: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FRAMERELAY");
973 pub const RASDT_Generic: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("GENERIC");
974 pub const RASDT_Irda: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IRDA");
975 pub const RASDT_Isdn: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("isdn");
976 pub const RASDT_Modem: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("modem");
977 pub const RASDT_PPPoE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PPPoE");
978 pub const RASDT_Pad: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("pad");
979 pub const RASDT_Parallel: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PARALLEL");
980 pub const RASDT_SW56: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SW56");
981 pub const RASDT_Serial: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SERIAL");
982 pub const RASDT_Sonet: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SONET");
983 pub const RASDT_Vpn: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("vpn");
984 pub const RASDT_X25: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("x25");
985 pub const RASEAPF_Logon: u32 = 4u32;
986 pub const RASEAPF_NonInteractive: u32 = 2u32;
987 pub const RASEAPF_Preview: u32 = 8u32;
988 pub const RASEDFLAG_CloneEntry: u32 = 4u32;
989 pub const RASEDFLAG_IncomingConnection: u32 = 1024u32;
990 pub const RASEDFLAG_InternetEntry: u32 = 256u32;
991 pub const RASEDFLAG_NAT: u32 = 512u32;
992 pub const RASEDFLAG_NewBroadbandEntry: u32 = 128u32;
993 pub const RASEDFLAG_NewDirectEntry: u32 = 64u32;
994 pub const RASEDFLAG_NewEntry: u32 = 2u32;
995 pub const RASEDFLAG_NewPhoneEntry: u32 = 16u32;
996 pub const RASEDFLAG_NewTunnelEntry: u32 = 32u32;
997 pub const RASEDFLAG_NoRename: u32 = 8u32;
998 pub const RASEDFLAG_PositionDlg: u32 = 1u32;
999 pub const RASEDFLAG_ShellOwned: u32 = 1073741824u32;
1000 pub const RASEDM_DialAll: RASENTRY_DIAL_MODE = 1u32;
1001 pub const RASEDM_DialAsNeeded: RASENTRY_DIAL_MODE = 2u32;
1002 pub const RASEO2_AuthTypeIsOtp: u32 = 268435456u32;
1003 pub const RASEO2_AutoTriggerCapable: u32 = 67108864u32;
1004 pub const RASEO2_CacheCredentials: u32 = 33554432u32;
1005 pub const RASEO2_DisableClassBasedStaticRoute: u32 = 524288u32;
1006 pub const RASEO2_DisableIKENameEkuCheck: u32 = 262144u32;
1007 pub const RASEO2_DisableMobility: u32 = 2097152u32;
1008 pub const RASEO2_DisableNbtOverIP: u32 = 64u32;
1009 pub const RASEO2_DontNegotiateMultilink: u32 = 4u32;
1010 pub const RASEO2_DontUseRasCredentials: u32 = 8u32;
1011 pub const RASEO2_IPv4ExplicitMetric: u32 = 65536u32;
1012 pub const RASEO2_IPv6ExplicitMetric: u32 = 131072u32;
1013 pub const RASEO2_IPv6RemoteDefaultGateway: u32 = 8192u32;
1014 pub const RASEO2_IPv6SpecificNameServers: u32 = 4096u32;
1015 pub const RASEO2_Internet: u32 = 32u32;
1016 pub const RASEO2_IsAlwaysOn: u32 = 536870912u32;
1017 pub const RASEO2_IsPrivateNetwork: u32 = 1073741824u32;
1018 pub const RASEO2_IsThirdPartyProfile: u32 = 134217728u32;
1019 pub const RASEO2_PlumbIKEv2TSAsRoutes: u32 = 2147483648u32;
1020 pub const RASEO2_ReconnectIfDropped: u32 = 256u32;
1021 pub const RASEO2_RegisterIpWithDNS: u32 = 16384u32;
1022 pub const RASEO2_RequireMachineCertificates: u32 = 4194304u32;
1023 pub const RASEO2_SecureClientForMSNet: u32 = 2u32;
1024 pub const RASEO2_SecureFileAndPrint: u32 = 1u32;
1025 pub const RASEO2_SecureRoutingCompartment: u32 = 1024u32;
1026 pub const RASEO2_SharePhoneNumbers: u32 = 512u32;
1027 pub const RASEO2_SpecificIPv6Addr: u32 = 1048576u32;
1028 pub const RASEO2_UseDNSSuffixForRegistration: u32 = 32768u32;
1029 pub const RASEO2_UseGlobalDeviceSettings: u32 = 128u32;
1030 pub const RASEO2_UsePreSharedKey: u32 = 16u32;
1031 pub const RASEO2_UsePreSharedKeyForIkev2Initiator: u32 = 8388608u32;
1032 pub const RASEO2_UsePreSharedKeyForIkev2Responder: u32 = 16777216u32;
1033 pub const RASEO2_UseTypicalSettings: u32 = 2048u32;
1034 pub const RASEO_Custom: u32 = 1048576u32;
1035 pub const RASEO_CustomScript: u32 = 2147483648u32;
1036 pub const RASEO_DisableLcpExtensions: u32 = 32u32;
1037 pub const RASEO_IpHeaderCompression: u32 = 8u32;
1038 pub const RASEO_ModemLights: u32 = 256u32;
1039 pub const RASEO_NetworkLogon: u32 = 8192u32;
1040 pub const RASEO_PreviewDomain: u32 = 33554432u32;
1041 pub const RASEO_PreviewPhoneNumber: u32 = 2097152u32;
1042 pub const RASEO_PreviewUserPw: u32 = 16777216u32;
1043 pub const RASEO_PromoteAlternates: u32 = 32768u32;
1044 pub const RASEO_RemoteDefaultGateway: u32 = 16u32;
1045 pub const RASEO_RequireCHAP: u32 = 134217728u32;
1046 pub const RASEO_RequireDataEncryption: u32 = 4096u32;
1047 pub const RASEO_RequireEAP: u32 = 131072u32;
1048 pub const RASEO_RequireEncryptedPw: u32 = 1024u32;
1049 pub const RASEO_RequireMsCHAP: u32 = 268435456u32;
1050 pub const RASEO_RequireMsCHAP2: u32 = 536870912u32;
1051 pub const RASEO_RequireMsEncryptedPw: u32 = 2048u32;
1052 pub const RASEO_RequirePAP: u32 = 262144u32;
1053 pub const RASEO_RequireSPAP: u32 = 524288u32;
1054 pub const RASEO_RequireW95MSCHAP: u32 = 1073741824u32;
1055 pub const RASEO_SecureLocalFiles: u32 = 65536u32;
1056 pub const RASEO_SharedPhoneNumbers: u32 = 8388608u32;
1057 pub const RASEO_ShowDialingProgress: u32 = 67108864u32;
1058 pub const RASEO_SpecificIpAddr: u32 = 2u32;
1059 pub const RASEO_SpecificNameServers: u32 = 4u32;
1060 pub const RASEO_SwCompression: u32 = 512u32;
1061 pub const RASEO_TerminalAfterDial: u32 = 128u32;
1062 pub const RASEO_TerminalBeforeDial: u32 = 64u32;
1063 pub const RASEO_UseCountryAndAreaCodes: u32 = 1u32;
1064 pub const RASEO_UseLogonCredentials: u32 = 16384u32;
1065 pub const RASET_Broadband: u32 = 5u32;
1066 pub const RASET_Direct: u32 = 3u32;
1067 pub const RASET_Internet: u32 = 4u32;
1068 pub const RASET_Phone: u32 = 1u32;
1069 pub const RASET_Vpn: u32 = 2u32;
1070 pub const RASFP_Ppp: u32 = 1u32;
1071 pub const RASFP_Ras: u32 = 4u32;
1072 pub const RASFP_Slip: u32 = 2u32;
1073 pub const RASIDS_Disabled: u32 = 4294967295u32;
1074 pub const RASIDS_UseGlobalValue: u32 = 0u32;
1075 pub const RASIKEv2_AUTH_EAP: u32 = 2u32;
1076 pub const RASIKEv2_AUTH_MACHINECERTIFICATES: u32 = 1u32;
1077 pub const RASIKEv2_AUTH_PSK: u32 = 3u32;
1078 pub const RASIKEv2_FLAGS_BEHIND_NAT: RASIKEV_PROJECTION_INFO_FLAGS = 2u32;
1079 pub const RASIKEv2_FLAGS_MOBIKESUPPORTED: RASIKEV_PROJECTION_INFO_FLAGS = 1u32;
1080 pub const RASIKEv2_FLAGS_SERVERBEHIND_NAT: RASIKEV_PROJECTION_INFO_FLAGS = 4u32;
1081 pub const RASIPO_VJ: u32 = 1u32;
1082 pub const RASLCPAD_CHAP_MD5: RASPPP_PROJECTION_INFO_SERVER_AUTH_DATA = 5u32;
1083 pub const RASLCPAD_CHAP_MS: RASPPP_PROJECTION_INFO_SERVER_AUTH_DATA = 128u32;
1084 pub const RASLCPAD_CHAP_MSV2: RASPPP_PROJECTION_INFO_SERVER_AUTH_DATA = 129u32;
1085 pub const RASLCPAP_CHAP: RASPPP_PROJECTION_INFO_SERVER_AUTH_PROTOCOL = 49699u32;
1086 pub const RASLCPAP_EAP: RASPPP_PROJECTION_INFO_SERVER_AUTH_PROTOCOL = 49703u32;
1087 pub const RASLCPAP_PAP: RASPPP_PROJECTION_INFO_SERVER_AUTH_PROTOCOL = 49187u32;
1088 pub const RASLCPAP_SPAP: RASPPP_PROJECTION_INFO_SERVER_AUTH_PROTOCOL = 49191u32;
1089 pub const RASLCPO_3_DES: u32 = 16u32;
1090 pub const RASLCPO_ACFC: u32 = 2u32;
1091 pub const RASLCPO_AES_128: u32 = 32u32;
1092 pub const RASLCPO_AES_192: u32 = 128u32;
1093 pub const RASLCPO_AES_256: u32 = 64u32;
1094 pub const RASLCPO_DES_56: u32 = 8u32;
1095 pub const RASLCPO_GCM_AES_128: u32 = 256u32;
1096 pub const RASLCPO_GCM_AES_192: u32 = 512u32;
1097 pub const RASLCPO_GCM_AES_256: u32 = 1024u32;
1098 pub const RASLCPO_PFC: u32 = 1u32;
1099 pub const RASLCPO_SSHF: u32 = 4u32;
1100 pub const RASNAP_ProbationTime: u32 = 1u32;
1101 pub const RASNOUSER_SmartCard: u32 = 1u32;
1102 pub const RASNP_Ip: u32 = 4u32;
1103 pub const RASNP_Ipv6: u32 = 8u32;
1104 pub const RASNP_Ipx: u32 = 2u32;
1105 pub const RASNP_NetBEUI: u32 = 1u32;
1106 pub const RASPBDEVENT_AddEntry: u32 = 1u32;
1107 pub const RASPBDEVENT_DialEntry: u32 = 4u32;
1108 pub const RASPBDEVENT_EditEntry: u32 = 2u32;
1109 pub const RASPBDEVENT_EditGlobals: u32 = 5u32;
1110 pub const RASPBDEVENT_NoUser: u32 = 6u32;
1111 pub const RASPBDEVENT_NoUserEdit: u32 = 7u32;
1112 pub const RASPBDEVENT_RemoveEntry: u32 = 3u32;
1113 pub const RASPBDFLAG_ForceCloseOnDial: u32 = 2u32;
1114 pub const RASPBDFLAG_NoUser: u32 = 16u32;
1115 pub const RASPBDFLAG_PositionDlg: u32 = 1u32;
1116 pub const RASPBDFLAG_UpdateDefaults: u32 = 2147483648u32;
1117 pub const RASPRIV2_DialinPolicy: u32 = 1u32;
1118 pub const RASPRIV_AdminSetCallback: u32 = 2u32;
1119 pub const RASPRIV_CallerSetCallback: u32 = 4u32;
1120 pub const RASPRIV_DialinPrivilege: u32 = 8u32;
1121 pub const RASPRIV_NoCallback: u32 = 1u32;
1122 pub const RASP_Amb: RASPROJECTION = 65536i32;
1123 pub const RASP_PppCcp: RASPROJECTION = 33021i32;
1124 pub const RASP_PppIp: RASPROJECTION = 32801i32;
1125 pub const RASP_PppIpv6: RASPROJECTION = 32855i32;
1126 pub const RASP_PppIpx: RASPROJECTION = 32811i32;
1127 pub const RASP_PppLcp: RASPROJECTION = 49185i32;
1128 pub const RASP_PppNbf: RASPROJECTION = 32831i32;
1129 pub const RASTUNNELENDPOINT_IPv4: u32 = 1u32;
1130 pub const RASTUNNELENDPOINT_IPv6: u32 = 2u32;
1131 pub const RASTUNNELENDPOINT_UNKNOWN: u32 = 0u32;
1132 pub const RAS_FLAGS_ARAP_CONNECTION: RAS_FLAGS = 16u32;
1133 pub const RAS_FLAGS_DORMANT: RAS_FLAGS = 32u32;
1134 pub const RAS_FLAGS_IKEV2_CONNECTION: RAS_FLAGS = 16u32;
1135 pub const RAS_FLAGS_MESSENGER_PRESENT: RAS_FLAGS = 2u32;
1136 pub const RAS_FLAGS_PPP_CONNECTION: RAS_FLAGS = 1u32;
1137 pub const RAS_FLAGS_QUARANTINE_PRESENT: RAS_FLAGS = 8u32;
1138 pub const RAS_FLAGS_RAS_CONNECTION: u32 = 4u32;
1139 pub const RAS_HARDWARE_FAILURE: RAS_HARDWARE_CONDITION = 1i32;
1140 pub const RAS_HARDWARE_OPERATIONAL: RAS_HARDWARE_CONDITION = 0i32;
1141 pub const RAS_MaxAreaCode: u32 = 10u32;
1142 pub const RAS_MaxCallbackNumber: u32 = 128u32;
1143 pub const RAS_MaxDeviceName: u32 = 128u32;
1144 pub const RAS_MaxDeviceType: u32 = 16u32;
1145 pub const RAS_MaxDnsSuffix: u32 = 256u32;
1146 pub const RAS_MaxEntryName: u32 = 256u32;
1147 pub const RAS_MaxFacilities: u32 = 200u32;
1148 pub const RAS_MaxIDSize: u32 = 256u32;
1149 pub const RAS_MaxIpAddress: u32 = 15u32;
1150 pub const RAS_MaxIpxAddress: u32 = 21u32;
1151 pub const RAS_MaxPadType: u32 = 32u32;
1152 pub const RAS_MaxPhoneNumber: u32 = 128u32;
1153 pub const RAS_MaxReplyMessage: u32 = 1024u32;
1154 pub const RAS_MaxUserData: u32 = 200u32;
1155 pub const RAS_MaxX25Address: u32 = 200u32;
1156 pub const RAS_PORT_AUTHENTICATED: RAS_PORT_CONDITION = 5i32;
1157 pub const RAS_PORT_AUTHENTICATING: RAS_PORT_CONDITION = 4i32;
1158 pub const RAS_PORT_CALLING_BACK: RAS_PORT_CONDITION = 2i32;
1159 pub const RAS_PORT_DISCONNECTED: RAS_PORT_CONDITION = 1i32;
1160 pub const RAS_PORT_INITIALIZING: RAS_PORT_CONDITION = 6i32;
1161 pub const RAS_PORT_LISTENING: RAS_PORT_CONDITION = 3i32;
1162 pub const RAS_PORT_NON_OPERATIONAL: RAS_PORT_CONDITION = 0i32;
1163 pub const RAS_QUAR_STATE_NORMAL: RAS_QUARANTINE_STATE = 0i32;
1164 pub const RAS_QUAR_STATE_NOT_CAPABLE: RAS_QUARANTINE_STATE = 3i32;
1165 pub const RAS_QUAR_STATE_PROBATION: RAS_QUARANTINE_STATE = 2i32;
1166 pub const RAS_QUAR_STATE_QUARANTINE: RAS_QUARANTINE_STATE = 1i32;
1167 pub const RCD_AllUsers: u32 = 1u32;
1168 pub const RCD_Eap: u32 = 2u32;
1169 pub const RCD_Logon: u32 = 4u32;
1170 pub const RCD_SingleUser: u32 = 0u32;
1171 pub const RDEOPT_CustomDial: u32 = 4096u32;
1172 pub const RDEOPT_DisableConnectedUI: u32 = 64u32;
1173 pub const RDEOPT_DisableReconnect: u32 = 256u32;
1174 pub const RDEOPT_DisableReconnectUI: u32 = 128u32;
1175 pub const RDEOPT_EapInfoCryptInCapable: u32 = 32768u32;
1176 pub const RDEOPT_IgnoreModemSpeaker: u32 = 4u32;
1177 pub const RDEOPT_IgnoreSoftwareCompression: u32 = 16u32;
1178 pub const RDEOPT_InvokeAutoTriggerCredentialUI: u32 = 16384u32;
1179 pub const RDEOPT_NoUser: u32 = 512u32;
1180 pub const RDEOPT_PauseOnScript: u32 = 1024u32;
1181 pub const RDEOPT_PausedStates: u32 = 2u32;
1182 pub const RDEOPT_Router: u32 = 2048u32;
1183 pub const RDEOPT_SetModemSpeaker: u32 = 8u32;
1184 pub const RDEOPT_SetSoftwareCompression: u32 = 32u32;
1185 pub const RDEOPT_UseCustomScripting: u32 = 8192u32;
1186 pub const RDEOPT_UsePrefixSuffix: u32 = 1u32;
1187 pub const REN_AllUsers: u32 = 1u32;
1188 pub const REN_User: u32 = 0u32;
1189 pub const ROUTER_IF_STATE_CONNECTED: ROUTER_CONNECTION_STATE = 3i32;
1190 pub const ROUTER_IF_STATE_CONNECTING: ROUTER_CONNECTION_STATE = 2i32;
1191 pub const ROUTER_IF_STATE_DISCONNECTED: ROUTER_CONNECTION_STATE = 1i32;
1192 pub const ROUTER_IF_STATE_UNREACHABLE: ROUTER_CONNECTION_STATE = 0i32;
1193 pub const ROUTER_IF_TYPE_CLIENT: ROUTER_INTERFACE_TYPE = 0i32;
1194 pub const ROUTER_IF_TYPE_DEDICATED: ROUTER_INTERFACE_TYPE = 3i32;
1195 pub const ROUTER_IF_TYPE_DIALOUT: ROUTER_INTERFACE_TYPE = 7i32;
1196 pub const ROUTER_IF_TYPE_FULL_ROUTER: ROUTER_INTERFACE_TYPE = 2i32;
1197 pub const ROUTER_IF_TYPE_HOME_ROUTER: ROUTER_INTERFACE_TYPE = 1i32;
1198 pub const ROUTER_IF_TYPE_INTERNAL: ROUTER_INTERFACE_TYPE = 4i32;
1199 pub const ROUTER_IF_TYPE_LOOPBACK: ROUTER_INTERFACE_TYPE = 5i32;
1200 pub const ROUTER_IF_TYPE_MAX: ROUTER_INTERFACE_TYPE = 8i32;
1201 pub const ROUTER_IF_TYPE_TUNNEL1: ROUTER_INTERFACE_TYPE = 6i32;
1202 pub const RRAS_SERVICE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RemoteAccess");
1203 pub const RTM_BLOCK_METHODS: u32 = 1u32;
1204 pub const RTM_CHANGE_NOTIFICATION: RTM_EVENT_TYPE = 3i32;
1205 pub const RTM_CHANGE_TYPE_ALL: u32 = 1u32;
1206 pub const RTM_CHANGE_TYPE_BEST: u32 = 2u32;
1207 pub const RTM_CHANGE_TYPE_FORWARDING: u32 = 4u32;
1208 pub const RTM_DEST_FLAG_DONT_FORWARD: u32 = 4u32;
1209 pub const RTM_DEST_FLAG_FWD_ENGIN_ADD: u32 = 2u32;
1210 pub const RTM_DEST_FLAG_NATURAL_NET: u32 = 1u32;
1211 pub const RTM_ENTITY_DEREGISTERED: RTM_EVENT_TYPE = 1i32;
1212 pub const RTM_ENTITY_REGISTERED: RTM_EVENT_TYPE = 0i32;
1213 pub const RTM_ENUM_ALL_DESTS: u32 = 0u32;
1214 pub const RTM_ENUM_ALL_ROUTES: u32 = 0u32;
1215 pub const RTM_ENUM_NEXT: u32 = 1u32;
1216 pub const RTM_ENUM_OWN_DESTS: u32 = 16777216u32;
1217 pub const RTM_ENUM_OWN_ROUTES: u32 = 65536u32;
1218 pub const RTM_ENUM_RANGE: u32 = 2u32;
1219 pub const RTM_ENUM_START: u32 = 0u32;
1220 pub const RTM_MATCH_FULL: u32 = 65535u32;
1221 pub const RTM_MATCH_INTERFACE: u32 = 16u32;
1222 pub const RTM_MATCH_NEIGHBOUR: u32 = 2u32;
1223 pub const RTM_MATCH_NEXTHOP: u32 = 8u32;
1224 pub const RTM_MATCH_NONE: u32 = 0u32;
1225 pub const RTM_MATCH_OWNER: u32 = 1u32;
1226 pub const RTM_MATCH_PREF: u32 = 4u32;
1227 pub const RTM_MAX_ADDRESS_SIZE: u32 = 16u32;
1228 pub const RTM_MAX_VIEWS: u32 = 32u32;
1229 pub const RTM_NEXTHOP_CHANGE_NEW: u32 = 1u32;
1230 pub const RTM_NEXTHOP_FLAGS_DOWN: u32 = 2u32;
1231 pub const RTM_NEXTHOP_FLAGS_REMOTE: u32 = 1u32;
1232 pub const RTM_NEXTHOP_STATE_CREATED: u32 = 0u32;
1233 pub const RTM_NEXTHOP_STATE_DELETED: u32 = 1u32;
1234 pub const RTM_NOTIFY_ONLY_MARKED_DESTS: u32 = 65536u32;
1235 pub const RTM_NUM_CHANGE_TYPES: u32 = 3u32;
1236 pub const RTM_RESUME_METHODS: u32 = 0u32;
1237 pub const RTM_ROUTE_CHANGE_BEST: u32 = 65536u32;
1238 pub const RTM_ROUTE_CHANGE_FIRST: u32 = 1u32;
1239 pub const RTM_ROUTE_CHANGE_NEW: u32 = 2u32;
1240 pub const RTM_ROUTE_EXPIRED: RTM_EVENT_TYPE = 2i32;
1241 pub const RTM_ROUTE_FLAGS_BLACKHOLE: u32 = 2u32;
1242 pub const RTM_ROUTE_FLAGS_DISCARD: u32 = 4u32;
1243 pub const RTM_ROUTE_FLAGS_INACTIVE: u32 = 8u32;
1244 pub const RTM_ROUTE_FLAGS_LIMITED_BC: u32 = 1024u32;
1245 pub const RTM_ROUTE_FLAGS_LOCAL: u32 = 16u32;
1246 pub const RTM_ROUTE_FLAGS_LOCAL_MCAST: u32 = 512u32;
1247 pub const RTM_ROUTE_FLAGS_LOOPBACK: u32 = 128u32;
1248 pub const RTM_ROUTE_FLAGS_MARTIAN: u32 = 1u32;
1249 pub const RTM_ROUTE_FLAGS_MCAST: u32 = 256u32;
1250 pub const RTM_ROUTE_FLAGS_MYSELF: u32 = 64u32;
1251 pub const RTM_ROUTE_FLAGS_ONES_NETBC: u32 = 16384u32;
1252 pub const RTM_ROUTE_FLAGS_ONES_SUBNETBC: u32 = 32768u32;
1253 pub const RTM_ROUTE_FLAGS_REMOTE: u32 = 32u32;
1254 pub const RTM_ROUTE_FLAGS_ZEROS_NETBC: u32 = 4096u32;
1255 pub const RTM_ROUTE_FLAGS_ZEROS_SUBNETBC: u32 = 8192u32;
1256 pub const RTM_ROUTE_STATE_CREATED: u32 = 0u32;
1257 pub const RTM_ROUTE_STATE_DELETED: u32 = 2u32;
1258 pub const RTM_ROUTE_STATE_DELETING: u32 = 1u32;
1259 pub const RTM_VIEW_ID_MCAST: u32 = 1u32;
1260 pub const RTM_VIEW_ID_UCAST: u32 = 0u32;
1261 pub const RTM_VIEW_MASK_ALL: u32 = 4294967295u32;
1262 pub const RTM_VIEW_MASK_ANY: u32 = 0u32;
1263 pub const RTM_VIEW_MASK_MCAST: u32 = 2u32;
1264 pub const RTM_VIEW_MASK_NONE: u32 = 0u32;
1265 pub const RTM_VIEW_MASK_SIZE: u32 = 32u32;
1266 pub const RTM_VIEW_MASK_UCAST: u32 = 1u32;
1267 pub const SECURITYMSG_ERROR: SECURITY_MESSAGE_MSG_ID = 3u32;
1268 pub const SECURITYMSG_FAILURE: SECURITY_MESSAGE_MSG_ID = 2u32;
1269 pub const SECURITYMSG_SUCCESS: SECURITY_MESSAGE_MSG_ID = 1u32;
1270 pub const VS_Default: u32 = 0u32;
1271 pub const VS_GREOnly: u32 = 9u32;
1272 pub const VS_Ikev2First: u32 = 8u32;
1273 pub const VS_Ikev2Only: u32 = 7u32;
1274 pub const VS_Ikev2Sstp: u32 = 14u32;
1275 pub const VS_L2tpFirst: u32 = 4u32;
1276 pub const VS_L2tpOnly: u32 = 3u32;
1277 pub const VS_L2tpSstp: u32 = 13u32;
1278 pub const VS_PptpFirst: u32 = 2u32;
1279 pub const VS_PptpOnly: u32 = 1u32;
1280 pub const VS_PptpSstp: u32 = 12u32;
1281 pub const VS_ProtocolList: u32 = 15u32;
1282 pub const VS_SstpFirst: u32 = 6u32;
1283 pub const VS_SstpOnly: u32 = 5u32;
1284 pub const WARNING_MSG_ALIAS_NOT_ADDED: u32 = 644u32;
1285 pub const WM_RASDIALEVENT: u32 = 52429u32;
1286 pub type IKEV2_ID_PAYLOAD_TYPE = i32;
1287 pub type MGM_ENUM_TYPES = i32;
1288 pub type MPRAPI_OBJECT_TYPE = i32;
1289 pub type MPR_ET = u32;
1290 pub type MPR_INTERFACE_DIAL_MODE = u32;
1291 pub type MPR_VPN_TS_TYPE = i32;
1292 pub type MPR_VS = u32;
1293 pub type PPP_LCP = u32;
1294 pub type PPP_LCP_INFO_AUTH_DATA = u32;
1295 pub type RASAPIVERSION = i32;
1296 pub type RASCONNSTATE = i32;
1297 pub type RASCONNSUBSTATE = i32;
1298 pub type RASENTRY_DIAL_MODE = u32;
1299 pub type RASIKEV_PROJECTION_INFO_FLAGS = u32;
1300 pub type RASPPP_PROJECTION_INFO_SERVER_AUTH_DATA = u32;
1301 pub type RASPPP_PROJECTION_INFO_SERVER_AUTH_PROTOCOL = u32;
1302 pub type RASPROJECTION = i32;
1303 pub type RASPROJECTION_INFO_TYPE = i32;
1304 pub type RAS_FLAGS = u32;
1305 pub type RAS_HARDWARE_CONDITION = i32;
1306 pub type RAS_PORT_CONDITION = i32;
1307 pub type RAS_QUARANTINE_STATE = i32;
1308 pub type ROUTER_CONNECTION_STATE = i32;
1309 pub type ROUTER_INTERFACE_TYPE = i32;
1310 pub type RTM_EVENT_TYPE = i32;
1311 pub type SECURITY_MESSAGE_MSG_ID = u32;
1312 #[repr(C)]
1313 #[doc = "Required features: `\"Win32_Foundation\"`"]
1314 #[cfg(feature = "Win32_Foundation")]
1315 pub struct AUTH_VALIDATION_EX {
1316 pub Header: MPRAPI_OBJECT_HEADER,
1317 pub hRasConnection: super::super::Foundation::HANDLE,
1318 pub wszUserName: [u16; 257],
1319 pub wszLogonDomain: [u16; 16],
1320 pub AuthInfoSize: u32,
1321 pub AuthInfo: [u8; 1],
1322 }
1323 #[cfg(feature = "Win32_Foundation")]
1324 impl ::core::marker::Copy for AUTH_VALIDATION_EX {}
1325 #[cfg(feature = "Win32_Foundation")]
1326 impl ::core::clone::Clone for AUTH_VALIDATION_EX {
1327 fn clone(&self) -> Self {
1328 *self
1329 }
1330 }
1331 #[repr(C)]
1332 pub struct GRE_CONFIG_PARAMS0 {
1333 pub dwNumPorts: u32,
1334 pub dwPortFlags: u32,
1335 }
1336 impl ::core::marker::Copy for GRE_CONFIG_PARAMS0 {}
1337 impl ::core::clone::Clone for GRE_CONFIG_PARAMS0 {
1338 fn clone(&self) -> Self {
1339 *self
1340 }
1341 }
1342 pub type HRASCONN = isize;
1343 #[repr(C)]
1344 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
1345 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1346 pub struct IKEV2_CONFIG_PARAMS {
1347 pub dwNumPorts: u32,
1348 pub dwPortFlags: u32,
1349 pub dwTunnelConfigParamFlags: u32,
1350 pub TunnelConfigParams: IKEV2_TUNNEL_CONFIG_PARAMS4,
1351 }
1352 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1353 impl ::core::marker::Copy for IKEV2_CONFIG_PARAMS {}
1354 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1355 impl ::core::clone::Clone for IKEV2_CONFIG_PARAMS {
1356 fn clone(&self) -> Self {
1357 *self
1358 }
1359 }
1360 #[repr(C)]
1361 pub struct IKEV2_PROJECTION_INFO {
1362 pub dwIPv4NegotiationError: u32,
1363 pub wszAddress: [u16; 16],
1364 pub wszRemoteAddress: [u16; 16],
1365 pub IPv4SubInterfaceIndex: u64,
1366 pub dwIPv6NegotiationError: u32,
1367 pub bInterfaceIdentifier: [u8; 8],
1368 pub bRemoteInterfaceIdentifier: [u8; 8],
1369 pub bPrefix: [u8; 8],
1370 pub dwPrefixLength: u32,
1371 pub IPv6SubInterfaceIndex: u64,
1372 pub dwOptions: u32,
1373 pub dwAuthenticationProtocol: u32,
1374 pub dwEapTypeId: u32,
1375 pub dwCompressionAlgorithm: u32,
1376 pub dwEncryptionMethod: u32,
1377 }
1378 impl ::core::marker::Copy for IKEV2_PROJECTION_INFO {}
1379 impl ::core::clone::Clone for IKEV2_PROJECTION_INFO {
1380 fn clone(&self) -> Self {
1381 *self
1382 }
1383 }
1384 #[repr(C)]
1385 pub struct IKEV2_PROJECTION_INFO2 {
1386 pub dwIPv4NegotiationError: u32,
1387 pub wszAddress: [u16; 16],
1388 pub wszRemoteAddress: [u16; 16],
1389 pub IPv4SubInterfaceIndex: u64,
1390 pub dwIPv6NegotiationError: u32,
1391 pub bInterfaceIdentifier: [u8; 8],
1392 pub bRemoteInterfaceIdentifier: [u8; 8],
1393 pub bPrefix: [u8; 8],
1394 pub dwPrefixLength: u32,
1395 pub IPv6SubInterfaceIndex: u64,
1396 pub dwOptions: u32,
1397 pub dwAuthenticationProtocol: u32,
1398 pub dwEapTypeId: u32,
1399 pub dwEmbeddedEAPTypeId: u32,
1400 pub dwCompressionAlgorithm: u32,
1401 pub dwEncryptionMethod: u32,
1402 }
1403 impl ::core::marker::Copy for IKEV2_PROJECTION_INFO2 {}
1404 impl ::core::clone::Clone for IKEV2_PROJECTION_INFO2 {
1405 fn clone(&self) -> Self {
1406 *self
1407 }
1408 }
1409 #[repr(C)]
1410 #[doc = "Required features: `\"Win32_Security_Cryptography\"`"]
1411 #[cfg(feature = "Win32_Security_Cryptography")]
1412 pub struct IKEV2_TUNNEL_CONFIG_PARAMS2 {
1413 pub dwIdleTimeout: u32,
1414 pub dwNetworkBlackoutTime: u32,
1415 pub dwSaLifeTime: u32,
1416 pub dwSaDataSizeForRenegotiation: u32,
1417 pub dwConfigOptions: u32,
1418 pub dwTotalCertificates: u32,
1419 pub certificateNames: *mut super::super::Security::Cryptography::CRYPT_INTEGER_BLOB,
1420 pub machineCertificateName: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB,
1421 pub dwEncryptionType: u32,
1422 pub customPolicy: *mut ROUTER_CUSTOM_IKEv2_POLICY0,
1423 }
1424 #[cfg(feature = "Win32_Security_Cryptography")]
1425 impl ::core::marker::Copy for IKEV2_TUNNEL_CONFIG_PARAMS2 {}
1426 #[cfg(feature = "Win32_Security_Cryptography")]
1427 impl ::core::clone::Clone for IKEV2_TUNNEL_CONFIG_PARAMS2 {
1428 fn clone(&self) -> Self {
1429 *self
1430 }
1431 }
1432 #[repr(C)]
1433 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
1434 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1435 pub struct IKEV2_TUNNEL_CONFIG_PARAMS3 {
1436 pub dwIdleTimeout: u32,
1437 pub dwNetworkBlackoutTime: u32,
1438 pub dwSaLifeTime: u32,
1439 pub dwSaDataSizeForRenegotiation: u32,
1440 pub dwConfigOptions: u32,
1441 pub dwTotalCertificates: u32,
1442 pub certificateNames: *mut super::super::Security::Cryptography::CRYPT_INTEGER_BLOB,
1443 pub machineCertificateName: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB,
1444 pub dwEncryptionType: u32,
1445 pub customPolicy: *mut ROUTER_CUSTOM_IKEv2_POLICY0,
1446 pub dwTotalEkus: u32,
1447 pub certificateEKUs: *mut MPR_CERT_EKU,
1448 pub machineCertificateHash: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB,
1449 }
1450 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1451 impl ::core::marker::Copy for IKEV2_TUNNEL_CONFIG_PARAMS3 {}
1452 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1453 impl ::core::clone::Clone for IKEV2_TUNNEL_CONFIG_PARAMS3 {
1454 fn clone(&self) -> Self {
1455 *self
1456 }
1457 }
1458 #[repr(C)]
1459 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
1460 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1461 pub struct IKEV2_TUNNEL_CONFIG_PARAMS4 {
1462 pub dwIdleTimeout: u32,
1463 pub dwNetworkBlackoutTime: u32,
1464 pub dwSaLifeTime: u32,
1465 pub dwSaDataSizeForRenegotiation: u32,
1466 pub dwConfigOptions: u32,
1467 pub dwTotalCertificates: u32,
1468 pub certificateNames: *mut super::super::Security::Cryptography::CRYPT_INTEGER_BLOB,
1469 pub machineCertificateName: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB,
1470 pub dwEncryptionType: u32,
1471 pub customPolicy: *mut ROUTER_CUSTOM_IKEv2_POLICY0,
1472 pub dwTotalEkus: u32,
1473 pub certificateEKUs: *mut MPR_CERT_EKU,
1474 pub machineCertificateHash: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB,
1475 pub dwMmSaLifeTime: u32,
1476 }
1477 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1478 impl ::core::marker::Copy for IKEV2_TUNNEL_CONFIG_PARAMS4 {}
1479 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1480 impl ::core::clone::Clone for IKEV2_TUNNEL_CONFIG_PARAMS4 {
1481 fn clone(&self) -> Self {
1482 *self
1483 }
1484 }
1485 #[repr(C)]
1486 pub struct L2TP_CONFIG_PARAMS0 {
1487 pub dwNumPorts: u32,
1488 pub dwPortFlags: u32,
1489 }
1490 impl ::core::marker::Copy for L2TP_CONFIG_PARAMS0 {}
1491 impl ::core::clone::Clone for L2TP_CONFIG_PARAMS0 {
1492 fn clone(&self) -> Self {
1493 *self
1494 }
1495 }
1496 #[repr(C)]
1497 pub struct L2TP_CONFIG_PARAMS1 {
1498 pub dwNumPorts: u32,
1499 pub dwPortFlags: u32,
1500 pub dwTunnelConfigParamFlags: u32,
1501 pub TunnelConfigParams: L2TP_TUNNEL_CONFIG_PARAMS2,
1502 }
1503 impl ::core::marker::Copy for L2TP_CONFIG_PARAMS1 {}
1504 impl ::core::clone::Clone for L2TP_CONFIG_PARAMS1 {
1505 fn clone(&self) -> Self {
1506 *self
1507 }
1508 }
1509 #[repr(C)]
1510 pub struct L2TP_TUNNEL_CONFIG_PARAMS1 {
1511 pub dwIdleTimeout: u32,
1512 pub dwEncryptionType: u32,
1513 pub dwSaLifeTime: u32,
1514 pub dwSaDataSizeForRenegotiation: u32,
1515 pub customPolicy: *mut ROUTER_CUSTOM_IKEv2_POLICY0,
1516 }
1517 impl ::core::marker::Copy for L2TP_TUNNEL_CONFIG_PARAMS1 {}
1518 impl ::core::clone::Clone for L2TP_TUNNEL_CONFIG_PARAMS1 {
1519 fn clone(&self) -> Self {
1520 *self
1521 }
1522 }
1523 #[repr(C)]
1524 pub struct L2TP_TUNNEL_CONFIG_PARAMS2 {
1525 pub dwIdleTimeout: u32,
1526 pub dwEncryptionType: u32,
1527 pub dwSaLifeTime: u32,
1528 pub dwSaDataSizeForRenegotiation: u32,
1529 pub customPolicy: *mut ROUTER_CUSTOM_IKEv2_POLICY0,
1530 pub dwMmSaLifeTime: u32,
1531 }
1532 impl ::core::marker::Copy for L2TP_TUNNEL_CONFIG_PARAMS2 {}
1533 impl ::core::clone::Clone for L2TP_TUNNEL_CONFIG_PARAMS2 {
1534 fn clone(&self) -> Self {
1535 *self
1536 }
1537 }
1538 #[repr(C)]
1539 #[doc = "Required features: `\"Win32_Foundation\"`"]
1540 #[cfg(feature = "Win32_Foundation")]
1541 pub struct MGM_IF_ENTRY {
1542 pub dwIfIndex: u32,
1543 pub dwIfNextHopAddr: u32,
1544 pub bIGMP: super::super::Foundation::BOOL,
1545 pub bIsEnabled: super::super::Foundation::BOOL,
1546 }
1547 #[cfg(feature = "Win32_Foundation")]
1548 impl ::core::marker::Copy for MGM_IF_ENTRY {}
1549 #[cfg(feature = "Win32_Foundation")]
1550 impl ::core::clone::Clone for MGM_IF_ENTRY {
1551 fn clone(&self) -> Self {
1552 *self
1553 }
1554 }
1555 #[repr(C)]
1556 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"]
1557 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
1558 pub struct MPRAPI_ADMIN_DLL_CALLBACKS {
1559 pub revision: u8,
1560 pub lpfnMprAdminGetIpAddressForUser: PMPRADMINGETIPADDRESSFORUSER,
1561 pub lpfnMprAdminReleaseIpAddress: PMPRADMINRELEASEIPADRESS,
1562 pub lpfnMprAdminGetIpv6AddressForUser: PMPRADMINGETIPV6ADDRESSFORUSER,
1563 pub lpfnMprAdminReleaseIpV6AddressForUser: PMPRADMINRELEASEIPV6ADDRESSFORUSER,
1564 pub lpfnRasAdminAcceptNewLink: PMPRADMINACCEPTNEWLINK,
1565 pub lpfnRasAdminLinkHangupNotification: PMPRADMINLINKHANGUPNOTIFICATION,
1566 pub lpfnRasAdminTerminateDll: PMPRADMINTERMINATEDLL,
1567 pub lpfnRasAdminAcceptNewConnectionEx: PMPRADMINACCEPTNEWCONNECTIONEX,
1568 pub lpfnRasAdminAcceptEndpointChangeEx: PMPRADMINACCEPTTUNNELENDPOINTCHANGEEX,
1569 pub lpfnRasAdminAcceptReauthenticationEx: PMPRADMINACCEPTREAUTHENTICATIONEX,
1570 pub lpfnRasAdminConnectionHangupNotificationEx: PMPRADMINCONNECTIONHANGUPNOTIFICATIONEX,
1571 pub lpfnRASValidatePreAuthenticatedConnectionEx: PMPRADMINRASVALIDATEPREAUTHENTICATEDCONNECTIONEX,
1572 }
1573 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
1574 impl ::core::marker::Copy for MPRAPI_ADMIN_DLL_CALLBACKS {}
1575 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
1576 impl ::core::clone::Clone for MPRAPI_ADMIN_DLL_CALLBACKS {
1577 fn clone(&self) -> Self {
1578 *self
1579 }
1580 }
1581 #[repr(C)]
1582 pub struct MPRAPI_OBJECT_HEADER {
1583 pub revision: u8,
1584 pub r#type: u8,
1585 pub size: u16,
1586 }
1587 impl ::core::marker::Copy for MPRAPI_OBJECT_HEADER {}
1588 impl ::core::clone::Clone for MPRAPI_OBJECT_HEADER {
1589 fn clone(&self) -> Self {
1590 *self
1591 }
1592 }
1593 #[repr(C)]
1594 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
1595 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1596 pub struct MPRAPI_TUNNEL_CONFIG_PARAMS0 {
1597 pub IkeConfigParams: IKEV2_CONFIG_PARAMS,
1598 pub PptpConfigParams: PPTP_CONFIG_PARAMS,
1599 pub L2tpConfigParams: L2TP_CONFIG_PARAMS1,
1600 pub SstpConfigParams: SSTP_CONFIG_PARAMS,
1601 }
1602 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1603 impl ::core::marker::Copy for MPRAPI_TUNNEL_CONFIG_PARAMS0 {}
1604 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1605 impl ::core::clone::Clone for MPRAPI_TUNNEL_CONFIG_PARAMS0 {
1606 fn clone(&self) -> Self {
1607 *self
1608 }
1609 }
1610 #[repr(C)]
1611 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
1612 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1613 pub struct MPRAPI_TUNNEL_CONFIG_PARAMS1 {
1614 pub IkeConfigParams: IKEV2_CONFIG_PARAMS,
1615 pub PptpConfigParams: PPTP_CONFIG_PARAMS,
1616 pub L2tpConfigParams: L2TP_CONFIG_PARAMS1,
1617 pub SstpConfigParams: SSTP_CONFIG_PARAMS,
1618 pub GREConfigParams: GRE_CONFIG_PARAMS0,
1619 }
1620 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1621 impl ::core::marker::Copy for MPRAPI_TUNNEL_CONFIG_PARAMS1 {}
1622 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1623 impl ::core::clone::Clone for MPRAPI_TUNNEL_CONFIG_PARAMS1 {
1624 fn clone(&self) -> Self {
1625 *self
1626 }
1627 }
1628 #[repr(C)]
1629 #[doc = "Required features: `\"Win32_Foundation\"`"]
1630 #[cfg(feature = "Win32_Foundation")]
1631 pub struct MPR_CERT_EKU {
1632 pub dwSize: u32,
1633 pub IsEKUOID: super::super::Foundation::BOOL,
1634 pub pwszEKU: ::windows_sys::core::PWSTR,
1635 }
1636 #[cfg(feature = "Win32_Foundation")]
1637 impl ::core::marker::Copy for MPR_CERT_EKU {}
1638 #[cfg(feature = "Win32_Foundation")]
1639 impl ::core::clone::Clone for MPR_CERT_EKU {
1640 fn clone(&self) -> Self {
1641 *self
1642 }
1643 }
1644 #[repr(C)]
1645 pub struct MPR_CREDENTIALSEX_0 {
1646 pub dwSize: u32,
1647 pub lpbCredentialsInfo: *mut u8,
1648 }
1649 impl ::core::marker::Copy for MPR_CREDENTIALSEX_0 {}
1650 impl ::core::clone::Clone for MPR_CREDENTIALSEX_0 {
1651 fn clone(&self) -> Self {
1652 *self
1653 }
1654 }
1655 #[repr(C)]
1656 pub struct MPR_CREDENTIALSEX_1 {
1657 pub dwSize: u32,
1658 pub lpbCredentialsInfo: *mut u8,
1659 }
1660 impl ::core::marker::Copy for MPR_CREDENTIALSEX_1 {}
1661 impl ::core::clone::Clone for MPR_CREDENTIALSEX_1 {
1662 fn clone(&self) -> Self {
1663 *self
1664 }
1665 }
1666 #[repr(C)]
1667 pub struct MPR_DEVICE_0 {
1668 pub szDeviceType: [u16; 17],
1669 pub szDeviceName: [u16; 129],
1670 }
1671 impl ::core::marker::Copy for MPR_DEVICE_0 {}
1672 impl ::core::clone::Clone for MPR_DEVICE_0 {
1673 fn clone(&self) -> Self {
1674 *self
1675 }
1676 }
1677 #[repr(C)]
1678 pub struct MPR_DEVICE_1 {
1679 pub szDeviceType: [u16; 17],
1680 pub szDeviceName: [u16; 129],
1681 pub szLocalPhoneNumber: [u16; 129],
1682 pub szAlternates: ::windows_sys::core::PWSTR,
1683 }
1684 impl ::core::marker::Copy for MPR_DEVICE_1 {}
1685 impl ::core::clone::Clone for MPR_DEVICE_1 {
1686 fn clone(&self) -> Self {
1687 *self
1688 }
1689 }
1690 #[repr(C)]
1691 #[doc = "Required features: `\"Win32_Foundation\"`"]
1692 #[cfg(feature = "Win32_Foundation")]
1693 pub struct MPR_FILTER_0 {
1694 pub fEnable: super::super::Foundation::BOOL,
1695 }
1696 #[cfg(feature = "Win32_Foundation")]
1697 impl ::core::marker::Copy for MPR_FILTER_0 {}
1698 #[cfg(feature = "Win32_Foundation")]
1699 impl ::core::clone::Clone for MPR_FILTER_0 {
1700 fn clone(&self) -> Self {
1701 *self
1702 }
1703 }
1704 #[repr(C)]
1705 #[doc = "Required features: `\"Win32_Foundation\"`"]
1706 #[cfg(feature = "Win32_Foundation")]
1707 pub struct MPR_IFTRANSPORT_0 {
1708 pub dwTransportId: u32,
1709 pub hIfTransport: super::super::Foundation::HANDLE,
1710 pub wszIfTransportName: [u16; 41],
1711 }
1712 #[cfg(feature = "Win32_Foundation")]
1713 impl ::core::marker::Copy for MPR_IFTRANSPORT_0 {}
1714 #[cfg(feature = "Win32_Foundation")]
1715 impl ::core::clone::Clone for MPR_IFTRANSPORT_0 {
1716 fn clone(&self) -> Self {
1717 *self
1718 }
1719 }
1720 #[repr(C)]
1721 #[doc = "Required features: `\"Win32_Security_Cryptography\"`"]
1722 #[cfg(feature = "Win32_Security_Cryptography")]
1723 pub struct MPR_IF_CUSTOMINFOEX0 {
1724 pub Header: MPRAPI_OBJECT_HEADER,
1725 pub dwFlags: u32,
1726 pub customIkev2Config: ROUTER_IKEv2_IF_CUSTOM_CONFIG0,
1727 }
1728 #[cfg(feature = "Win32_Security_Cryptography")]
1729 impl ::core::marker::Copy for MPR_IF_CUSTOMINFOEX0 {}
1730 #[cfg(feature = "Win32_Security_Cryptography")]
1731 impl ::core::clone::Clone for MPR_IF_CUSTOMINFOEX0 {
1732 fn clone(&self) -> Self {
1733 *self
1734 }
1735 }
1736 #[repr(C)]
1737 #[doc = "Required features: `\"Win32_Security_Cryptography\"`"]
1738 #[cfg(feature = "Win32_Security_Cryptography")]
1739 pub struct MPR_IF_CUSTOMINFOEX1 {
1740 pub Header: MPRAPI_OBJECT_HEADER,
1741 pub dwFlags: u32,
1742 pub customIkev2Config: ROUTER_IKEv2_IF_CUSTOM_CONFIG1,
1743 }
1744 #[cfg(feature = "Win32_Security_Cryptography")]
1745 impl ::core::marker::Copy for MPR_IF_CUSTOMINFOEX1 {}
1746 #[cfg(feature = "Win32_Security_Cryptography")]
1747 impl ::core::clone::Clone for MPR_IF_CUSTOMINFOEX1 {
1748 fn clone(&self) -> Self {
1749 *self
1750 }
1751 }
1752 #[repr(C)]
1753 #[doc = "Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`"]
1754 #[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))]
1755 pub struct MPR_IF_CUSTOMINFOEX2 {
1756 pub Header: MPRAPI_OBJECT_HEADER,
1757 pub dwFlags: u32,
1758 pub customIkev2Config: ROUTER_IKEv2_IF_CUSTOM_CONFIG2,
1759 }
1760 #[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))]
1761 impl ::core::marker::Copy for MPR_IF_CUSTOMINFOEX2 {}
1762 #[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))]
1763 impl ::core::clone::Clone for MPR_IF_CUSTOMINFOEX2 {
1764 fn clone(&self) -> Self {
1765 *self
1766 }
1767 }
1768 #[repr(C)]
1769 #[doc = "Required features: `\"Win32_Foundation\"`"]
1770 #[cfg(feature = "Win32_Foundation")]
1771 pub struct MPR_INTERFACE_0 {
1772 pub wszInterfaceName: [u16; 257],
1773 pub hInterface: super::super::Foundation::HANDLE,
1774 pub fEnabled: super::super::Foundation::BOOL,
1775 pub dwIfType: ROUTER_INTERFACE_TYPE,
1776 pub dwConnectionState: ROUTER_CONNECTION_STATE,
1777 pub fUnReachabilityReasons: u32,
1778 pub dwLastError: u32,
1779 }
1780 #[cfg(feature = "Win32_Foundation")]
1781 impl ::core::marker::Copy for MPR_INTERFACE_0 {}
1782 #[cfg(feature = "Win32_Foundation")]
1783 impl ::core::clone::Clone for MPR_INTERFACE_0 {
1784 fn clone(&self) -> Self {
1785 *self
1786 }
1787 }
1788 #[repr(C)]
1789 #[doc = "Required features: `\"Win32_Foundation\"`"]
1790 #[cfg(feature = "Win32_Foundation")]
1791 pub struct MPR_INTERFACE_1 {
1792 pub wszInterfaceName: [u16; 257],
1793 pub hInterface: super::super::Foundation::HANDLE,
1794 pub fEnabled: super::super::Foundation::BOOL,
1795 pub dwIfType: ROUTER_INTERFACE_TYPE,
1796 pub dwConnectionState: ROUTER_CONNECTION_STATE,
1797 pub fUnReachabilityReasons: u32,
1798 pub dwLastError: u32,
1799 pub lpwsDialoutHoursRestriction: ::windows_sys::core::PWSTR,
1800 }
1801 #[cfg(feature = "Win32_Foundation")]
1802 impl ::core::marker::Copy for MPR_INTERFACE_1 {}
1803 #[cfg(feature = "Win32_Foundation")]
1804 impl ::core::clone::Clone for MPR_INTERFACE_1 {
1805 fn clone(&self) -> Self {
1806 *self
1807 }
1808 }
1809 #[repr(C)]
1810 #[doc = "Required features: `\"Win32_Foundation\"`"]
1811 #[cfg(feature = "Win32_Foundation")]
1812 pub struct MPR_INTERFACE_2 {
1813 pub wszInterfaceName: [u16; 257],
1814 pub hInterface: super::super::Foundation::HANDLE,
1815 pub fEnabled: super::super::Foundation::BOOL,
1816 pub dwIfType: ROUTER_INTERFACE_TYPE,
1817 pub dwConnectionState: ROUTER_CONNECTION_STATE,
1818 pub fUnReachabilityReasons: u32,
1819 pub dwLastError: u32,
1820 pub dwfOptions: u32,
1821 pub szLocalPhoneNumber: [u16; 129],
1822 pub szAlternates: ::windows_sys::core::PWSTR,
1823 pub ipaddr: u32,
1824 pub ipaddrDns: u32,
1825 pub ipaddrDnsAlt: u32,
1826 pub ipaddrWins: u32,
1827 pub ipaddrWinsAlt: u32,
1828 pub dwfNetProtocols: u32,
1829 pub szDeviceType: [u16; 17],
1830 pub szDeviceName: [u16; 129],
1831 pub szX25PadType: [u16; 33],
1832 pub szX25Address: [u16; 201],
1833 pub szX25Facilities: [u16; 201],
1834 pub szX25UserData: [u16; 201],
1835 pub dwChannels: u32,
1836 pub dwSubEntries: u32,
1837 pub dwDialMode: MPR_INTERFACE_DIAL_MODE,
1838 pub dwDialExtraPercent: u32,
1839 pub dwDialExtraSampleSeconds: u32,
1840 pub dwHangUpExtraPercent: u32,
1841 pub dwHangUpExtraSampleSeconds: u32,
1842 pub dwIdleDisconnectSeconds: u32,
1843 pub dwType: u32,
1844 pub dwEncryptionType: MPR_ET,
1845 pub dwCustomAuthKey: u32,
1846 pub dwCustomAuthDataSize: u32,
1847 pub lpbCustomAuthData: *mut u8,
1848 pub guidId: ::windows_sys::core::GUID,
1849 pub dwVpnStrategy: MPR_VS,
1850 }
1851 #[cfg(feature = "Win32_Foundation")]
1852 impl ::core::marker::Copy for MPR_INTERFACE_2 {}
1853 #[cfg(feature = "Win32_Foundation")]
1854 impl ::core::clone::Clone for MPR_INTERFACE_2 {
1855 fn clone(&self) -> Self {
1856 *self
1857 }
1858 }
1859 #[repr(C)]
1860 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"]
1861 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
1862 pub struct MPR_INTERFACE_3 {
1863 pub wszInterfaceName: [u16; 257],
1864 pub hInterface: super::super::Foundation::HANDLE,
1865 pub fEnabled: super::super::Foundation::BOOL,
1866 pub dwIfType: ROUTER_INTERFACE_TYPE,
1867 pub dwConnectionState: ROUTER_CONNECTION_STATE,
1868 pub fUnReachabilityReasons: u32,
1869 pub dwLastError: u32,
1870 pub dwfOptions: u32,
1871 pub szLocalPhoneNumber: [u16; 129],
1872 pub szAlternates: ::windows_sys::core::PWSTR,
1873 pub ipaddr: u32,
1874 pub ipaddrDns: u32,
1875 pub ipaddrDnsAlt: u32,
1876 pub ipaddrWins: u32,
1877 pub ipaddrWinsAlt: u32,
1878 pub dwfNetProtocols: u32,
1879 pub szDeviceType: [u16; 17],
1880 pub szDeviceName: [u16; 129],
1881 pub szX25PadType: [u16; 33],
1882 pub szX25Address: [u16; 201],
1883 pub szX25Facilities: [u16; 201],
1884 pub szX25UserData: [u16; 201],
1885 pub dwChannels: u32,
1886 pub dwSubEntries: u32,
1887 pub dwDialMode: MPR_INTERFACE_DIAL_MODE,
1888 pub dwDialExtraPercent: u32,
1889 pub dwDialExtraSampleSeconds: u32,
1890 pub dwHangUpExtraPercent: u32,
1891 pub dwHangUpExtraSampleSeconds: u32,
1892 pub dwIdleDisconnectSeconds: u32,
1893 pub dwType: u32,
1894 pub dwEncryptionType: MPR_ET,
1895 pub dwCustomAuthKey: u32,
1896 pub dwCustomAuthDataSize: u32,
1897 pub lpbCustomAuthData: *mut u8,
1898 pub guidId: ::windows_sys::core::GUID,
1899 pub dwVpnStrategy: MPR_VS,
1900 pub AddressCount: u32,
1901 pub ipv6addrDns: super::super::Networking::WinSock::IN6_ADDR,
1902 pub ipv6addrDnsAlt: super::super::Networking::WinSock::IN6_ADDR,
1903 pub ipv6addr: *mut super::super::Networking::WinSock::IN6_ADDR,
1904 }
1905 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
1906 impl ::core::marker::Copy for MPR_INTERFACE_3 {}
1907 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
1908 impl ::core::clone::Clone for MPR_INTERFACE_3 {
1909 fn clone(&self) -> Self {
1910 *self
1911 }
1912 }
1913 #[repr(C)]
1914 pub struct MPR_IPINIP_INTERFACE_0 {
1915 pub wszFriendlyName: [u16; 257],
1916 pub Guid: ::windows_sys::core::GUID,
1917 }
1918 impl ::core::marker::Copy for MPR_IPINIP_INTERFACE_0 {}
1919 impl ::core::clone::Clone for MPR_IPINIP_INTERFACE_0 {
1920 fn clone(&self) -> Self {
1921 *self
1922 }
1923 }
1924 #[repr(C)]
1925 #[doc = "Required features: `\"Win32_Foundation\"`"]
1926 #[cfg(feature = "Win32_Foundation")]
1927 pub struct MPR_SERVER_0 {
1928 pub fLanOnlyMode: super::super::Foundation::BOOL,
1929 pub dwUpTime: u32,
1930 pub dwTotalPorts: u32,
1931 pub dwPortsInUse: u32,
1932 }
1933 #[cfg(feature = "Win32_Foundation")]
1934 impl ::core::marker::Copy for MPR_SERVER_0 {}
1935 #[cfg(feature = "Win32_Foundation")]
1936 impl ::core::clone::Clone for MPR_SERVER_0 {
1937 fn clone(&self) -> Self {
1938 *self
1939 }
1940 }
1941 #[repr(C)]
1942 pub struct MPR_SERVER_1 {
1943 pub dwNumPptpPorts: u32,
1944 pub dwPptpPortFlags: u32,
1945 pub dwNumL2tpPorts: u32,
1946 pub dwL2tpPortFlags: u32,
1947 }
1948 impl ::core::marker::Copy for MPR_SERVER_1 {}
1949 impl ::core::clone::Clone for MPR_SERVER_1 {
1950 fn clone(&self) -> Self {
1951 *self
1952 }
1953 }
1954 #[repr(C)]
1955 pub struct MPR_SERVER_2 {
1956 pub dwNumPptpPorts: u32,
1957 pub dwPptpPortFlags: u32,
1958 pub dwNumL2tpPorts: u32,
1959 pub dwL2tpPortFlags: u32,
1960 pub dwNumSstpPorts: u32,
1961 pub dwSstpPortFlags: u32,
1962 }
1963 impl ::core::marker::Copy for MPR_SERVER_2 {}
1964 impl ::core::clone::Clone for MPR_SERVER_2 {
1965 fn clone(&self) -> Self {
1966 *self
1967 }
1968 }
1969 #[repr(C)]
1970 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
1971 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1972 pub struct MPR_SERVER_EX0 {
1973 pub Header: MPRAPI_OBJECT_HEADER,
1974 pub fLanOnlyMode: u32,
1975 pub dwUpTime: u32,
1976 pub dwTotalPorts: u32,
1977 pub dwPortsInUse: u32,
1978 pub Reserved: u32,
1979 pub ConfigParams: MPRAPI_TUNNEL_CONFIG_PARAMS0,
1980 }
1981 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1982 impl ::core::marker::Copy for MPR_SERVER_EX0 {}
1983 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1984 impl ::core::clone::Clone for MPR_SERVER_EX0 {
1985 fn clone(&self) -> Self {
1986 *self
1987 }
1988 }
1989 #[repr(C)]
1990 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
1991 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1992 pub struct MPR_SERVER_EX1 {
1993 pub Header: MPRAPI_OBJECT_HEADER,
1994 pub fLanOnlyMode: u32,
1995 pub dwUpTime: u32,
1996 pub dwTotalPorts: u32,
1997 pub dwPortsInUse: u32,
1998 pub Reserved: u32,
1999 pub ConfigParams: MPRAPI_TUNNEL_CONFIG_PARAMS1,
2000 }
2001 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
2002 impl ::core::marker::Copy for MPR_SERVER_EX1 {}
2003 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
2004 impl ::core::clone::Clone for MPR_SERVER_EX1 {
2005 fn clone(&self) -> Self {
2006 *self
2007 }
2008 }
2009 #[repr(C)]
2010 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
2011 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
2012 pub struct MPR_SERVER_SET_CONFIG_EX0 {
2013 pub Header: MPRAPI_OBJECT_HEADER,
2014 pub setConfigForProtocols: u32,
2015 pub ConfigParams: MPRAPI_TUNNEL_CONFIG_PARAMS0,
2016 }
2017 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
2018 impl ::core::marker::Copy for MPR_SERVER_SET_CONFIG_EX0 {}
2019 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
2020 impl ::core::clone::Clone for MPR_SERVER_SET_CONFIG_EX0 {
2021 fn clone(&self) -> Self {
2022 *self
2023 }
2024 }
2025 #[repr(C)]
2026 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
2027 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
2028 pub struct MPR_SERVER_SET_CONFIG_EX1 {
2029 pub Header: MPRAPI_OBJECT_HEADER,
2030 pub setConfigForProtocols: u32,
2031 pub ConfigParams: MPRAPI_TUNNEL_CONFIG_PARAMS1,
2032 }
2033 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
2034 impl ::core::marker::Copy for MPR_SERVER_SET_CONFIG_EX1 {}
2035 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
2036 impl ::core::clone::Clone for MPR_SERVER_SET_CONFIG_EX1 {
2037 fn clone(&self) -> Self {
2038 *self
2039 }
2040 }
2041 #[repr(C)]
2042 #[doc = "Required features: `\"Win32_Foundation\"`"]
2043 #[cfg(feature = "Win32_Foundation")]
2044 pub struct MPR_TRANSPORT_0 {
2045 pub dwTransportId: u32,
2046 pub hTransport: super::super::Foundation::HANDLE,
2047 pub wszTransportName: [u16; 41],
2048 }
2049 #[cfg(feature = "Win32_Foundation")]
2050 impl ::core::marker::Copy for MPR_TRANSPORT_0 {}
2051 #[cfg(feature = "Win32_Foundation")]
2052 impl ::core::clone::Clone for MPR_TRANSPORT_0 {
2053 fn clone(&self) -> Self {
2054 *self
2055 }
2056 }
2057 #[repr(C)]
2058 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
2059 #[cfg(feature = "Win32_Networking_WinSock")]
2060 pub struct MPR_VPN_TRAFFIC_SELECTOR {
2061 pub r#type: MPR_VPN_TS_TYPE,
2062 pub protocolId: u8,
2063 pub portStart: u16,
2064 pub portEnd: u16,
2065 pub tsPayloadId: u16,
2066 pub addrStart: VPN_TS_IP_ADDRESS,
2067 pub addrEnd: VPN_TS_IP_ADDRESS,
2068 }
2069 #[cfg(feature = "Win32_Networking_WinSock")]
2070 impl ::core::marker::Copy for MPR_VPN_TRAFFIC_SELECTOR {}
2071 #[cfg(feature = "Win32_Networking_WinSock")]
2072 impl ::core::clone::Clone for MPR_VPN_TRAFFIC_SELECTOR {
2073 fn clone(&self) -> Self {
2074 *self
2075 }
2076 }
2077 #[repr(C)]
2078 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
2079 #[cfg(feature = "Win32_Networking_WinSock")]
2080 pub struct MPR_VPN_TRAFFIC_SELECTORS {
2081 pub numTsi: u32,
2082 pub numTsr: u32,
2083 pub tsI: *mut MPR_VPN_TRAFFIC_SELECTOR,
2084 pub tsR: *mut MPR_VPN_TRAFFIC_SELECTOR,
2085 }
2086 #[cfg(feature = "Win32_Networking_WinSock")]
2087 impl ::core::marker::Copy for MPR_VPN_TRAFFIC_SELECTORS {}
2088 #[cfg(feature = "Win32_Networking_WinSock")]
2089 impl ::core::clone::Clone for MPR_VPN_TRAFFIC_SELECTORS {
2090 fn clone(&self) -> Self {
2091 *self
2092 }
2093 }
2094 #[repr(C)]
2095 pub struct PPP_ATCP_INFO {
2096 pub dwError: u32,
2097 pub wszAddress: [u16; 33],
2098 }
2099 impl ::core::marker::Copy for PPP_ATCP_INFO {}
2100 impl ::core::clone::Clone for PPP_ATCP_INFO {
2101 fn clone(&self) -> Self {
2102 *self
2103 }
2104 }
2105 #[repr(C)]
2106 pub struct PPP_CCP_INFO {
2107 pub dwError: u32,
2108 pub dwCompressionAlgorithm: u32,
2109 pub dwOptions: u32,
2110 pub dwRemoteCompressionAlgorithm: u32,
2111 pub dwRemoteOptions: u32,
2112 }
2113 impl ::core::marker::Copy for PPP_CCP_INFO {}
2114 impl ::core::clone::Clone for PPP_CCP_INFO {
2115 fn clone(&self) -> Self {
2116 *self
2117 }
2118 }
2119 #[repr(C)]
2120 pub struct PPP_INFO {
2121 pub nbf: PPP_NBFCP_INFO,
2122 pub ip: PPP_IPCP_INFO,
2123 pub ipx: PPP_IPXCP_INFO,
2124 pub at: PPP_ATCP_INFO,
2125 }
2126 impl ::core::marker::Copy for PPP_INFO {}
2127 impl ::core::clone::Clone for PPP_INFO {
2128 fn clone(&self) -> Self {
2129 *self
2130 }
2131 }
2132 #[repr(C)]
2133 pub struct PPP_INFO_2 {
2134 pub nbf: PPP_NBFCP_INFO,
2135 pub ip: PPP_IPCP_INFO2,
2136 pub ipx: PPP_IPXCP_INFO,
2137 pub at: PPP_ATCP_INFO,
2138 pub ccp: PPP_CCP_INFO,
2139 pub lcp: PPP_LCP_INFO,
2140 }
2141 impl ::core::marker::Copy for PPP_INFO_2 {}
2142 impl ::core::clone::Clone for PPP_INFO_2 {
2143 fn clone(&self) -> Self {
2144 *self
2145 }
2146 }
2147 #[repr(C)]
2148 pub struct PPP_INFO_3 {
2149 pub nbf: PPP_NBFCP_INFO,
2150 pub ip: PPP_IPCP_INFO2,
2151 pub ipv6: PPP_IPV6_CP_INFO,
2152 pub ccp: PPP_CCP_INFO,
2153 pub lcp: PPP_LCP_INFO,
2154 }
2155 impl ::core::marker::Copy for PPP_INFO_3 {}
2156 impl ::core::clone::Clone for PPP_INFO_3 {
2157 fn clone(&self) -> Self {
2158 *self
2159 }
2160 }
2161 #[repr(C)]
2162 pub struct PPP_IPCP_INFO {
2163 pub dwError: u32,
2164 pub wszAddress: [u16; 16],
2165 pub wszRemoteAddress: [u16; 16],
2166 }
2167 impl ::core::marker::Copy for PPP_IPCP_INFO {}
2168 impl ::core::clone::Clone for PPP_IPCP_INFO {
2169 fn clone(&self) -> Self {
2170 *self
2171 }
2172 }
2173 #[repr(C)]
2174 pub struct PPP_IPCP_INFO2 {
2175 pub dwError: u32,
2176 pub wszAddress: [u16; 16],
2177 pub wszRemoteAddress: [u16; 16],
2178 pub dwOptions: u32,
2179 pub dwRemoteOptions: u32,
2180 }
2181 impl ::core::marker::Copy for PPP_IPCP_INFO2 {}
2182 impl ::core::clone::Clone for PPP_IPCP_INFO2 {
2183 fn clone(&self) -> Self {
2184 *self
2185 }
2186 }
2187 #[repr(C)]
2188 pub struct PPP_IPV6_CP_INFO {
2189 pub dwVersion: u32,
2190 pub dwSize: u32,
2191 pub dwError: u32,
2192 pub bInterfaceIdentifier: [u8; 8],
2193 pub bRemoteInterfaceIdentifier: [u8; 8],
2194 pub dwOptions: u32,
2195 pub dwRemoteOptions: u32,
2196 pub bPrefix: [u8; 8],
2197 pub dwPrefixLength: u32,
2198 }
2199 impl ::core::marker::Copy for PPP_IPV6_CP_INFO {}
2200 impl ::core::clone::Clone for PPP_IPV6_CP_INFO {
2201 fn clone(&self) -> Self {
2202 *self
2203 }
2204 }
2205 #[repr(C)]
2206 pub struct PPP_IPXCP_INFO {
2207 pub dwError: u32,
2208 pub wszAddress: [u16; 23],
2209 }
2210 impl ::core::marker::Copy for PPP_IPXCP_INFO {}
2211 impl ::core::clone::Clone for PPP_IPXCP_INFO {
2212 fn clone(&self) -> Self {
2213 *self
2214 }
2215 }
2216 #[repr(C)]
2217 pub struct PPP_LCP_INFO {
2218 pub dwError: u32,
2219 pub dwAuthenticationProtocol: PPP_LCP,
2220 pub dwAuthenticationData: PPP_LCP_INFO_AUTH_DATA,
2221 pub dwRemoteAuthenticationProtocol: u32,
2222 pub dwRemoteAuthenticationData: u32,
2223 pub dwTerminateReason: u32,
2224 pub dwRemoteTerminateReason: u32,
2225 pub dwOptions: u32,
2226 pub dwRemoteOptions: u32,
2227 pub dwEapTypeId: u32,
2228 pub dwRemoteEapTypeId: u32,
2229 }
2230 impl ::core::marker::Copy for PPP_LCP_INFO {}
2231 impl ::core::clone::Clone for PPP_LCP_INFO {
2232 fn clone(&self) -> Self {
2233 *self
2234 }
2235 }
2236 #[repr(C)]
2237 pub struct PPP_NBFCP_INFO {
2238 pub dwError: u32,
2239 pub wszWksta: [u16; 17],
2240 }
2241 impl ::core::marker::Copy for PPP_NBFCP_INFO {}
2242 impl ::core::clone::Clone for PPP_NBFCP_INFO {
2243 fn clone(&self) -> Self {
2244 *self
2245 }
2246 }
2247 #[repr(C)]
2248 pub struct PPP_PROJECTION_INFO {
2249 pub dwIPv4NegotiationError: u32,
2250 pub wszAddress: [u16; 16],
2251 pub wszRemoteAddress: [u16; 16],
2252 pub dwIPv4Options: u32,
2253 pub dwIPv4RemoteOptions: u32,
2254 pub IPv4SubInterfaceIndex: u64,
2255 pub dwIPv6NegotiationError: u32,
2256 pub bInterfaceIdentifier: [u8; 8],
2257 pub bRemoteInterfaceIdentifier: [u8; 8],
2258 pub bPrefix: [u8; 8],
2259 pub dwPrefixLength: u32,
2260 pub IPv6SubInterfaceIndex: u64,
2261 pub dwLcpError: u32,
2262 pub dwAuthenticationProtocol: PPP_LCP,
2263 pub dwAuthenticationData: PPP_LCP_INFO_AUTH_DATA,
2264 pub dwRemoteAuthenticationProtocol: PPP_LCP,
2265 pub dwRemoteAuthenticationData: PPP_LCP_INFO_AUTH_DATA,
2266 pub dwLcpTerminateReason: u32,
2267 pub dwLcpRemoteTerminateReason: u32,
2268 pub dwLcpOptions: u32,
2269 pub dwLcpRemoteOptions: u32,
2270 pub dwEapTypeId: u32,
2271 pub dwRemoteEapTypeId: u32,
2272 pub dwCcpError: u32,
2273 pub dwCompressionAlgorithm: u32,
2274 pub dwCcpOptions: u32,
2275 pub dwRemoteCompressionAlgorithm: u32,
2276 pub dwCcpRemoteOptions: u32,
2277 }
2278 impl ::core::marker::Copy for PPP_PROJECTION_INFO {}
2279 impl ::core::clone::Clone for PPP_PROJECTION_INFO {
2280 fn clone(&self) -> Self {
2281 *self
2282 }
2283 }
2284 #[repr(C)]
2285 pub struct PPP_PROJECTION_INFO2 {
2286 pub dwIPv4NegotiationError: u32,
2287 pub wszAddress: [u16; 16],
2288 pub wszRemoteAddress: [u16; 16],
2289 pub dwIPv4Options: u32,
2290 pub dwIPv4RemoteOptions: u32,
2291 pub IPv4SubInterfaceIndex: u64,
2292 pub dwIPv6NegotiationError: u32,
2293 pub bInterfaceIdentifier: [u8; 8],
2294 pub bRemoteInterfaceIdentifier: [u8; 8],
2295 pub bPrefix: [u8; 8],
2296 pub dwPrefixLength: u32,
2297 pub IPv6SubInterfaceIndex: u64,
2298 pub dwLcpError: u32,
2299 pub dwAuthenticationProtocol: PPP_LCP,
2300 pub dwAuthenticationData: PPP_LCP_INFO_AUTH_DATA,
2301 pub dwRemoteAuthenticationProtocol: PPP_LCP,
2302 pub dwRemoteAuthenticationData: PPP_LCP_INFO_AUTH_DATA,
2303 pub dwLcpTerminateReason: u32,
2304 pub dwLcpRemoteTerminateReason: u32,
2305 pub dwLcpOptions: u32,
2306 pub dwLcpRemoteOptions: u32,
2307 pub dwEapTypeId: u32,
2308 pub dwEmbeddedEAPTypeId: u32,
2309 pub dwRemoteEapTypeId: u32,
2310 pub dwCcpError: u32,
2311 pub dwCompressionAlgorithm: u32,
2312 pub dwCcpOptions: u32,
2313 pub dwRemoteCompressionAlgorithm: u32,
2314 pub dwCcpRemoteOptions: u32,
2315 }
2316 impl ::core::marker::Copy for PPP_PROJECTION_INFO2 {}
2317 impl ::core::clone::Clone for PPP_PROJECTION_INFO2 {
2318 fn clone(&self) -> Self {
2319 *self
2320 }
2321 }
2322 #[repr(C)]
2323 pub struct PPTP_CONFIG_PARAMS {
2324 pub dwNumPorts: u32,
2325 pub dwPortFlags: u32,
2326 }
2327 impl ::core::marker::Copy for PPTP_CONFIG_PARAMS {}
2328 impl ::core::clone::Clone for PPTP_CONFIG_PARAMS {
2329 fn clone(&self) -> Self {
2330 *self
2331 }
2332 }
2333 #[repr(C)]
2334 pub struct PROJECTION_INFO {
2335 pub projectionInfoType: u8,
2336 pub Anonymous: PROJECTION_INFO_0,
2337 }
2338 impl ::core::marker::Copy for PROJECTION_INFO {}
2339 impl ::core::clone::Clone for PROJECTION_INFO {
2340 fn clone(&self) -> Self {
2341 *self
2342 }
2343 }
2344 #[repr(C)]
2345 pub union PROJECTION_INFO_0 {
2346 pub PppProjectionInfo: PPP_PROJECTION_INFO,
2347 pub Ikev2ProjectionInfo: IKEV2_PROJECTION_INFO,
2348 }
2349 impl ::core::marker::Copy for PROJECTION_INFO_0 {}
2350 impl ::core::clone::Clone for PROJECTION_INFO_0 {
2351 fn clone(&self) -> Self {
2352 *self
2353 }
2354 }
2355 #[repr(C)]
2356 pub struct PROJECTION_INFO2 {
2357 pub projectionInfoType: u8,
2358 pub Anonymous: PROJECTION_INFO2_0,
2359 }
2360 impl ::core::marker::Copy for PROJECTION_INFO2 {}
2361 impl ::core::clone::Clone for PROJECTION_INFO2 {
2362 fn clone(&self) -> Self {
2363 *self
2364 }
2365 }
2366 #[repr(C)]
2367 pub union PROJECTION_INFO2_0 {
2368 pub PppProjectionInfo: PPP_PROJECTION_INFO2,
2369 pub Ikev2ProjectionInfo: IKEV2_PROJECTION_INFO2,
2370 }
2371 impl ::core::marker::Copy for PROJECTION_INFO2_0 {}
2372 impl ::core::clone::Clone for PROJECTION_INFO2_0 {
2373 fn clone(&self) -> Self {
2374 *self
2375 }
2376 }
2377 #[repr(C, packed(4))]
2378 #[doc = "Required features: `\"Win32_Foundation\"`"]
2379 #[cfg(feature = "Win32_Foundation")]
2380 pub struct RASADPARAMS {
2381 pub dwSize: u32,
2382 pub hwndOwner: super::super::Foundation::HWND,
2383 pub dwFlags: u32,
2384 pub xDlg: i32,
2385 pub yDlg: i32,
2386 }
2387 #[cfg(feature = "Win32_Foundation")]
2388 impl ::core::marker::Copy for RASADPARAMS {}
2389 #[cfg(feature = "Win32_Foundation")]
2390 impl ::core::clone::Clone for RASADPARAMS {
2391 fn clone(&self) -> Self {
2392 *self
2393 }
2394 }
2395 #[repr(C)]
2396 pub struct RASAMBA {
2397 pub dwSize: u32,
2398 pub dwError: u32,
2399 pub szNetBiosError: [u8; 17],
2400 pub bLana: u8,
2401 }
2402 impl ::core::marker::Copy for RASAMBA {}
2403 impl ::core::clone::Clone for RASAMBA {
2404 fn clone(&self) -> Self {
2405 *self
2406 }
2407 }
2408 #[repr(C)]
2409 pub struct RASAMBW {
2410 pub dwSize: u32,
2411 pub dwError: u32,
2412 pub szNetBiosError: [u16; 17],
2413 pub bLana: u8,
2414 }
2415 impl ::core::marker::Copy for RASAMBW {}
2416 impl ::core::clone::Clone for RASAMBW {
2417 fn clone(&self) -> Self {
2418 *self
2419 }
2420 }
2421 #[repr(C)]
2422 pub struct RASAUTODIALENTRYA {
2423 pub dwSize: u32,
2424 pub dwFlags: u32,
2425 pub dwDialingLocation: u32,
2426 pub szEntry: [u8; 257],
2427 }
2428 impl ::core::marker::Copy for RASAUTODIALENTRYA {}
2429 impl ::core::clone::Clone for RASAUTODIALENTRYA {
2430 fn clone(&self) -> Self {
2431 *self
2432 }
2433 }
2434 #[repr(C)]
2435 pub struct RASAUTODIALENTRYW {
2436 pub dwSize: u32,
2437 pub dwFlags: u32,
2438 pub dwDialingLocation: u32,
2439 pub szEntry: [u16; 257],
2440 }
2441 impl ::core::marker::Copy for RASAUTODIALENTRYW {}
2442 impl ::core::clone::Clone for RASAUTODIALENTRYW {
2443 fn clone(&self) -> Self {
2444 *self
2445 }
2446 }
2447 #[repr(C)]
2448 pub struct RASCOMMSETTINGS {
2449 pub dwSize: u32,
2450 pub bParity: u8,
2451 pub bStop: u8,
2452 pub bByteSize: u8,
2453 pub bAlign: u8,
2454 }
2455 impl ::core::marker::Copy for RASCOMMSETTINGS {}
2456 impl ::core::clone::Clone for RASCOMMSETTINGS {
2457 fn clone(&self) -> Self {
2458 *self
2459 }
2460 }
2461 #[repr(C, packed(4))]
2462 #[doc = "Required features: `\"Win32_Foundation\"`"]
2463 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2464 #[cfg(feature = "Win32_Foundation")]
2465 pub struct RASCONNA {
2466 pub dwSize: u32,
2467 pub hrasconn: HRASCONN,
2468 pub szEntryName: [u8; 257],
2469 pub szDeviceType: [u8; 17],
2470 pub szDeviceName: [u8; 129],
2471 pub szPhonebook: [u8; 260],
2472 pub dwSubEntry: u32,
2473 pub guidEntry: ::windows_sys::core::GUID,
2474 pub dwFlags: u32,
2475 pub luid: super::super::Foundation::LUID,
2476 pub guidCorrelationId: ::windows_sys::core::GUID,
2477 }
2478 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2479 #[cfg(feature = "Win32_Foundation")]
2480 impl ::core::marker::Copy for RASCONNA {}
2481 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2482 #[cfg(feature = "Win32_Foundation")]
2483 impl ::core::clone::Clone for RASCONNA {
2484 fn clone(&self) -> Self {
2485 *self
2486 }
2487 }
2488 #[repr(C)]
2489 #[doc = "Required features: `\"Win32_Foundation\"`"]
2490 #[cfg(target_arch = "x86")]
2491 #[cfg(feature = "Win32_Foundation")]
2492 pub struct RASCONNA {
2493 pub dwSize: u32,
2494 pub hrasconn: HRASCONN,
2495 pub szEntryName: [u8; 257],
2496 pub szDeviceType: [u8; 17],
2497 pub szDeviceName: [u8; 129],
2498 pub szPhonebook: [u8; 260],
2499 pub dwSubEntry: u32,
2500 pub guidEntry: ::windows_sys::core::GUID,
2501 pub dwFlags: u32,
2502 pub luid: super::super::Foundation::LUID,
2503 pub guidCorrelationId: ::windows_sys::core::GUID,
2504 }
2505 #[cfg(target_arch = "x86")]
2506 #[cfg(feature = "Win32_Foundation")]
2507 impl ::core::marker::Copy for RASCONNA {}
2508 #[cfg(target_arch = "x86")]
2509 #[cfg(feature = "Win32_Foundation")]
2510 impl ::core::clone::Clone for RASCONNA {
2511 fn clone(&self) -> Self {
2512 *self
2513 }
2514 }
2515 #[repr(C)]
2516 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
2517 #[cfg(feature = "Win32_Networking_WinSock")]
2518 pub struct RASCONNSTATUSA {
2519 pub dwSize: u32,
2520 pub rasconnstate: RASCONNSTATE,
2521 pub dwError: u32,
2522 pub szDeviceType: [u8; 17],
2523 pub szDeviceName: [u8; 129],
2524 pub szPhoneNumber: [u8; 129],
2525 pub localEndPoint: RASTUNNELENDPOINT,
2526 pub remoteEndPoint: RASTUNNELENDPOINT,
2527 pub rasconnsubstate: RASCONNSUBSTATE,
2528 }
2529 #[cfg(feature = "Win32_Networking_WinSock")]
2530 impl ::core::marker::Copy for RASCONNSTATUSA {}
2531 #[cfg(feature = "Win32_Networking_WinSock")]
2532 impl ::core::clone::Clone for RASCONNSTATUSA {
2533 fn clone(&self) -> Self {
2534 *self
2535 }
2536 }
2537 #[repr(C)]
2538 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
2539 #[cfg(feature = "Win32_Networking_WinSock")]
2540 pub struct RASCONNSTATUSW {
2541 pub dwSize: u32,
2542 pub rasconnstate: RASCONNSTATE,
2543 pub dwError: u32,
2544 pub szDeviceType: [u16; 17],
2545 pub szDeviceName: [u16; 129],
2546 pub szPhoneNumber: [u16; 129],
2547 pub localEndPoint: RASTUNNELENDPOINT,
2548 pub remoteEndPoint: RASTUNNELENDPOINT,
2549 pub rasconnsubstate: RASCONNSUBSTATE,
2550 }
2551 #[cfg(feature = "Win32_Networking_WinSock")]
2552 impl ::core::marker::Copy for RASCONNSTATUSW {}
2553 #[cfg(feature = "Win32_Networking_WinSock")]
2554 impl ::core::clone::Clone for RASCONNSTATUSW {
2555 fn clone(&self) -> Self {
2556 *self
2557 }
2558 }
2559 #[repr(C, packed(4))]
2560 #[doc = "Required features: `\"Win32_Foundation\"`"]
2561 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2562 #[cfg(feature = "Win32_Foundation")]
2563 pub struct RASCONNW {
2564 pub dwSize: u32,
2565 pub hrasconn: HRASCONN,
2566 pub szEntryName: [u16; 257],
2567 pub szDeviceType: [u16; 17],
2568 pub szDeviceName: [u16; 129],
2569 pub szPhonebook: [u16; 260],
2570 pub dwSubEntry: u32,
2571 pub guidEntry: ::windows_sys::core::GUID,
2572 pub dwFlags: u32,
2573 pub luid: super::super::Foundation::LUID,
2574 pub guidCorrelationId: ::windows_sys::core::GUID,
2575 }
2576 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2577 #[cfg(feature = "Win32_Foundation")]
2578 impl ::core::marker::Copy for RASCONNW {}
2579 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2580 #[cfg(feature = "Win32_Foundation")]
2581 impl ::core::clone::Clone for RASCONNW {
2582 fn clone(&self) -> Self {
2583 *self
2584 }
2585 }
2586 #[repr(C)]
2587 #[doc = "Required features: `\"Win32_Foundation\"`"]
2588 #[cfg(target_arch = "x86")]
2589 #[cfg(feature = "Win32_Foundation")]
2590 pub struct RASCONNW {
2591 pub dwSize: u32,
2592 pub hrasconn: HRASCONN,
2593 pub szEntryName: [u16; 257],
2594 pub szDeviceType: [u16; 17],
2595 pub szDeviceName: [u16; 129],
2596 pub szPhonebook: [u16; 260],
2597 pub dwSubEntry: u32,
2598 pub guidEntry: ::windows_sys::core::GUID,
2599 pub dwFlags: u32,
2600 pub luid: super::super::Foundation::LUID,
2601 pub guidCorrelationId: ::windows_sys::core::GUID,
2602 }
2603 #[cfg(target_arch = "x86")]
2604 #[cfg(feature = "Win32_Foundation")]
2605 impl ::core::marker::Copy for RASCONNW {}
2606 #[cfg(target_arch = "x86")]
2607 #[cfg(feature = "Win32_Foundation")]
2608 impl ::core::clone::Clone for RASCONNW {
2609 fn clone(&self) -> Self {
2610 *self
2611 }
2612 }
2613 #[repr(C)]
2614 pub struct RASCREDENTIALSA {
2615 pub dwSize: u32,
2616 pub dwMask: u32,
2617 pub szUserName: [u8; 257],
2618 pub szPassword: [u8; 257],
2619 pub szDomain: [u8; 16],
2620 }
2621 impl ::core::marker::Copy for RASCREDENTIALSA {}
2622 impl ::core::clone::Clone for RASCREDENTIALSA {
2623 fn clone(&self) -> Self {
2624 *self
2625 }
2626 }
2627 #[repr(C)]
2628 pub struct RASCREDENTIALSW {
2629 pub dwSize: u32,
2630 pub dwMask: u32,
2631 pub szUserName: [u16; 257],
2632 pub szPassword: [u16; 257],
2633 pub szDomain: [u16; 16],
2634 }
2635 impl ::core::marker::Copy for RASCREDENTIALSW {}
2636 impl ::core::clone::Clone for RASCREDENTIALSW {
2637 fn clone(&self) -> Self {
2638 *self
2639 }
2640 }
2641 #[repr(C)]
2642 pub struct RASCTRYINFO {
2643 pub dwSize: u32,
2644 pub dwCountryID: u32,
2645 pub dwNextCountryID: u32,
2646 pub dwCountryCode: u32,
2647 pub dwCountryNameOffset: u32,
2648 }
2649 impl ::core::marker::Copy for RASCTRYINFO {}
2650 impl ::core::clone::Clone for RASCTRYINFO {
2651 fn clone(&self) -> Self {
2652 *self
2653 }
2654 }
2655 #[repr(C, packed(4))]
2656 #[doc = "Required features: `\"Win32_Foundation\"`"]
2657 #[cfg(feature = "Win32_Foundation")]
2658 pub struct RASCUSTOMSCRIPTEXTENSIONS {
2659 pub dwSize: u32,
2660 pub pfnRasSetCommSettings: PFNRASSETCOMMSETTINGS,
2661 }
2662 #[cfg(feature = "Win32_Foundation")]
2663 impl ::core::marker::Copy for RASCUSTOMSCRIPTEXTENSIONS {}
2664 #[cfg(feature = "Win32_Foundation")]
2665 impl ::core::clone::Clone for RASCUSTOMSCRIPTEXTENSIONS {
2666 fn clone(&self) -> Self {
2667 *self
2668 }
2669 }
2670 #[repr(C)]
2671 pub struct RASDEVINFOA {
2672 pub dwSize: u32,
2673 pub szDeviceType: [u8; 17],
2674 pub szDeviceName: [u8; 129],
2675 }
2676 impl ::core::marker::Copy for RASDEVINFOA {}
2677 impl ::core::clone::Clone for RASDEVINFOA {
2678 fn clone(&self) -> Self {
2679 *self
2680 }
2681 }
2682 #[repr(C)]
2683 pub struct RASDEVINFOW {
2684 pub dwSize: u32,
2685 pub szDeviceType: [u16; 17],
2686 pub szDeviceName: [u16; 129],
2687 }
2688 impl ::core::marker::Copy for RASDEVINFOW {}
2689 impl ::core::clone::Clone for RASDEVINFOW {
2690 fn clone(&self) -> Self {
2691 *self
2692 }
2693 }
2694 #[repr(C, packed(4))]
2695 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2696 pub struct RASDEVSPECIFICINFO {
2697 pub dwSize: u32,
2698 pub pbDevSpecificInfo: *mut u8,
2699 }
2700 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2701 impl ::core::marker::Copy for RASDEVSPECIFICINFO {}
2702 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2703 impl ::core::clone::Clone for RASDEVSPECIFICINFO {
2704 fn clone(&self) -> Self {
2705 *self
2706 }
2707 }
2708 #[repr(C)]
2709 #[cfg(target_arch = "x86")]
2710 pub struct RASDEVSPECIFICINFO {
2711 pub dwSize: u32,
2712 pub pbDevSpecificInfo: *mut u8,
2713 }
2714 #[cfg(target_arch = "x86")]
2715 impl ::core::marker::Copy for RASDEVSPECIFICINFO {}
2716 #[cfg(target_arch = "x86")]
2717 impl ::core::clone::Clone for RASDEVSPECIFICINFO {
2718 fn clone(&self) -> Self {
2719 *self
2720 }
2721 }
2722 #[repr(C, packed(4))]
2723 #[doc = "Required features: `\"Win32_Foundation\"`"]
2724 #[cfg(feature = "Win32_Foundation")]
2725 pub struct RASDIALDLG {
2726 pub dwSize: u32,
2727 pub hwndOwner: super::super::Foundation::HWND,
2728 pub dwFlags: u32,
2729 pub xDlg: i32,
2730 pub yDlg: i32,
2731 pub dwSubEntry: u32,
2732 pub dwError: u32,
2733 pub reserved: usize,
2734 pub reserved2: usize,
2735 }
2736 #[cfg(feature = "Win32_Foundation")]
2737 impl ::core::marker::Copy for RASDIALDLG {}
2738 #[cfg(feature = "Win32_Foundation")]
2739 impl ::core::clone::Clone for RASDIALDLG {
2740 fn clone(&self) -> Self {
2741 *self
2742 }
2743 }
2744 #[repr(C, packed(4))]
2745 #[doc = "Required features: `\"Win32_Foundation\"`"]
2746 #[cfg(feature = "Win32_Foundation")]
2747 pub struct RASDIALEXTENSIONS {
2748 pub dwSize: u32,
2749 pub dwfOptions: u32,
2750 pub hwndParent: super::super::Foundation::HWND,
2751 pub reserved: usize,
2752 pub reserved1: usize,
2753 pub RasEapInfo: RASEAPINFO,
2754 pub fSkipPppAuth: super::super::Foundation::BOOL,
2755 pub RasDevSpecificInfo: RASDEVSPECIFICINFO,
2756 }
2757 #[cfg(feature = "Win32_Foundation")]
2758 impl ::core::marker::Copy for RASDIALEXTENSIONS {}
2759 #[cfg(feature = "Win32_Foundation")]
2760 impl ::core::clone::Clone for RASDIALEXTENSIONS {
2761 fn clone(&self) -> Self {
2762 *self
2763 }
2764 }
2765 #[repr(C, packed(4))]
2766 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2767 pub struct RASDIALPARAMSA {
2768 pub dwSize: u32,
2769 pub szEntryName: [u8; 257],
2770 pub szPhoneNumber: [u8; 129],
2771 pub szCallbackNumber: [u8; 129],
2772 pub szUserName: [u8; 257],
2773 pub szPassword: [u8; 257],
2774 pub szDomain: [u8; 16],
2775 pub dwSubEntry: u32,
2776 pub dwCallbackId: usize,
2777 pub dwIfIndex: u32,
2778 pub szEncPassword: ::windows_sys::core::PSTR,
2779 }
2780 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2781 impl ::core::marker::Copy for RASDIALPARAMSA {}
2782 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2783 impl ::core::clone::Clone for RASDIALPARAMSA {
2784 fn clone(&self) -> Self {
2785 *self
2786 }
2787 }
2788 #[repr(C)]
2789 #[cfg(target_arch = "x86")]
2790 pub struct RASDIALPARAMSA {
2791 pub dwSize: u32,
2792 pub szEntryName: [u8; 257],
2793 pub szPhoneNumber: [u8; 129],
2794 pub szCallbackNumber: [u8; 129],
2795 pub szUserName: [u8; 257],
2796 pub szPassword: [u8; 257],
2797 pub szDomain: [u8; 16],
2798 pub dwSubEntry: u32,
2799 pub dwCallbackId: usize,
2800 pub dwIfIndex: u32,
2801 pub szEncPassword: ::windows_sys::core::PSTR,
2802 }
2803 #[cfg(target_arch = "x86")]
2804 impl ::core::marker::Copy for RASDIALPARAMSA {}
2805 #[cfg(target_arch = "x86")]
2806 impl ::core::clone::Clone for RASDIALPARAMSA {
2807 fn clone(&self) -> Self {
2808 *self
2809 }
2810 }
2811 #[repr(C, packed(4))]
2812 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2813 pub struct RASDIALPARAMSW {
2814 pub dwSize: u32,
2815 pub szEntryName: [u16; 257],
2816 pub szPhoneNumber: [u16; 129],
2817 pub szCallbackNumber: [u16; 129],
2818 pub szUserName: [u16; 257],
2819 pub szPassword: [u16; 257],
2820 pub szDomain: [u16; 16],
2821 pub dwSubEntry: u32,
2822 pub dwCallbackId: usize,
2823 pub dwIfIndex: u32,
2824 pub szEncPassword: ::windows_sys::core::PWSTR,
2825 }
2826 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2827 impl ::core::marker::Copy for RASDIALPARAMSW {}
2828 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2829 impl ::core::clone::Clone for RASDIALPARAMSW {
2830 fn clone(&self) -> Self {
2831 *self
2832 }
2833 }
2834 #[repr(C)]
2835 #[cfg(target_arch = "x86")]
2836 pub struct RASDIALPARAMSW {
2837 pub dwSize: u32,
2838 pub szEntryName: [u16; 257],
2839 pub szPhoneNumber: [u16; 129],
2840 pub szCallbackNumber: [u16; 129],
2841 pub szUserName: [u16; 257],
2842 pub szPassword: [u16; 257],
2843 pub szDomain: [u16; 16],
2844 pub dwSubEntry: u32,
2845 pub dwCallbackId: usize,
2846 pub dwIfIndex: u32,
2847 pub szEncPassword: ::windows_sys::core::PWSTR,
2848 }
2849 #[cfg(target_arch = "x86")]
2850 impl ::core::marker::Copy for RASDIALPARAMSW {}
2851 #[cfg(target_arch = "x86")]
2852 impl ::core::clone::Clone for RASDIALPARAMSW {
2853 fn clone(&self) -> Self {
2854 *self
2855 }
2856 }
2857 #[repr(C, packed(4))]
2858 pub struct RASEAPINFO {
2859 pub dwSizeofEapInfo: u32,
2860 pub pbEapInfo: *mut u8,
2861 }
2862 impl ::core::marker::Copy for RASEAPINFO {}
2863 impl ::core::clone::Clone for RASEAPINFO {
2864 fn clone(&self) -> Self {
2865 *self
2866 }
2867 }
2868 #[repr(C)]
2869 pub struct RASEAPUSERIDENTITYA {
2870 pub szUserName: [u8; 257],
2871 pub dwSizeofEapInfo: u32,
2872 pub pbEapInfo: [u8; 1],
2873 }
2874 impl ::core::marker::Copy for RASEAPUSERIDENTITYA {}
2875 impl ::core::clone::Clone for RASEAPUSERIDENTITYA {
2876 fn clone(&self) -> Self {
2877 *self
2878 }
2879 }
2880 #[repr(C)]
2881 pub struct RASEAPUSERIDENTITYW {
2882 pub szUserName: [u16; 257],
2883 pub dwSizeofEapInfo: u32,
2884 pub pbEapInfo: [u8; 1],
2885 }
2886 impl ::core::marker::Copy for RASEAPUSERIDENTITYW {}
2887 impl ::core::clone::Clone for RASEAPUSERIDENTITYW {
2888 fn clone(&self) -> Self {
2889 *self
2890 }
2891 }
2892 #[repr(C)]
2893 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"]
2894 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
2895 pub struct RASENTRYA {
2896 pub dwSize: u32,
2897 pub dwfOptions: u32,
2898 pub dwCountryID: u32,
2899 pub dwCountryCode: u32,
2900 pub szAreaCode: [u8; 11],
2901 pub szLocalPhoneNumber: [u8; 129],
2902 pub dwAlternateOffset: u32,
2903 pub ipaddr: RASIPADDR,
2904 pub ipaddrDns: RASIPADDR,
2905 pub ipaddrDnsAlt: RASIPADDR,
2906 pub ipaddrWins: RASIPADDR,
2907 pub ipaddrWinsAlt: RASIPADDR,
2908 pub dwFrameSize: u32,
2909 pub dwfNetProtocols: u32,
2910 pub dwFramingProtocol: u32,
2911 pub szScript: [u8; 260],
2912 pub szAutodialDll: [u8; 260],
2913 pub szAutodialFunc: [u8; 260],
2914 pub szDeviceType: [u8; 17],
2915 pub szDeviceName: [u8; 129],
2916 pub szX25PadType: [u8; 33],
2917 pub szX25Address: [u8; 201],
2918 pub szX25Facilities: [u8; 201],
2919 pub szX25UserData: [u8; 201],
2920 pub dwChannels: u32,
2921 pub dwReserved1: u32,
2922 pub dwReserved2: u32,
2923 pub dwSubEntries: u32,
2924 pub dwDialMode: RASENTRY_DIAL_MODE,
2925 pub dwDialExtraPercent: u32,
2926 pub dwDialExtraSampleSeconds: u32,
2927 pub dwHangUpExtraPercent: u32,
2928 pub dwHangUpExtraSampleSeconds: u32,
2929 pub dwIdleDisconnectSeconds: u32,
2930 pub dwType: u32,
2931 pub dwEncryptionType: u32,
2932 pub dwCustomAuthKey: u32,
2933 pub guidId: ::windows_sys::core::GUID,
2934 pub szCustomDialDll: [u8; 260],
2935 pub dwVpnStrategy: u32,
2936 pub dwfOptions2: u32,
2937 pub dwfOptions3: u32,
2938 pub szDnsSuffix: [u8; 256],
2939 pub dwTcpWindowSize: u32,
2940 pub szPrerequisitePbk: [u8; 260],
2941 pub szPrerequisiteEntry: [u8; 257],
2942 pub dwRedialCount: u32,
2943 pub dwRedialPause: u32,
2944 pub ipv6addrDns: super::super::Networking::WinSock::IN6_ADDR,
2945 pub ipv6addrDnsAlt: super::super::Networking::WinSock::IN6_ADDR,
2946 pub dwIPv4InterfaceMetric: u32,
2947 pub dwIPv6InterfaceMetric: u32,
2948 pub ipv6addr: super::super::Networking::WinSock::IN6_ADDR,
2949 pub dwIPv6PrefixLength: u32,
2950 pub dwNetworkOutageTime: u32,
2951 pub szIDi: [u8; 257],
2952 pub szIDr: [u8; 257],
2953 pub fIsImsConfig: super::super::Foundation::BOOL,
2954 pub IdiType: IKEV2_ID_PAYLOAD_TYPE,
2955 pub IdrType: IKEV2_ID_PAYLOAD_TYPE,
2956 pub fDisableIKEv2Fragmentation: super::super::Foundation::BOOL,
2957 }
2958 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
2959 impl ::core::marker::Copy for RASENTRYA {}
2960 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
2961 impl ::core::clone::Clone for RASENTRYA {
2962 fn clone(&self) -> Self {
2963 *self
2964 }
2965 }
2966 #[repr(C, packed(4))]
2967 #[doc = "Required features: `\"Win32_Foundation\"`"]
2968 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2969 #[cfg(feature = "Win32_Foundation")]
2970 pub struct RASENTRYDLGA {
2971 pub dwSize: u32,
2972 pub hwndOwner: super::super::Foundation::HWND,
2973 pub dwFlags: u32,
2974 pub xDlg: i32,
2975 pub yDlg: i32,
2976 pub szEntry: [u8; 257],
2977 pub dwError: u32,
2978 pub reserved: usize,
2979 pub reserved2: usize,
2980 }
2981 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2982 #[cfg(feature = "Win32_Foundation")]
2983 impl ::core::marker::Copy for RASENTRYDLGA {}
2984 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
2985 #[cfg(feature = "Win32_Foundation")]
2986 impl ::core::clone::Clone for RASENTRYDLGA {
2987 fn clone(&self) -> Self {
2988 *self
2989 }
2990 }
2991 #[repr(C)]
2992 #[doc = "Required features: `\"Win32_Foundation\"`"]
2993 #[cfg(target_arch = "x86")]
2994 #[cfg(feature = "Win32_Foundation")]
2995 pub struct RASENTRYDLGA {
2996 pub dwSize: u32,
2997 pub hwndOwner: super::super::Foundation::HWND,
2998 pub dwFlags: u32,
2999 pub xDlg: i32,
3000 pub yDlg: i32,
3001 pub szEntry: [u8; 257],
3002 pub dwError: u32,
3003 pub reserved: usize,
3004 pub reserved2: usize,
3005 }
3006 #[cfg(target_arch = "x86")]
3007 #[cfg(feature = "Win32_Foundation")]
3008 impl ::core::marker::Copy for RASENTRYDLGA {}
3009 #[cfg(target_arch = "x86")]
3010 #[cfg(feature = "Win32_Foundation")]
3011 impl ::core::clone::Clone for RASENTRYDLGA {
3012 fn clone(&self) -> Self {
3013 *self
3014 }
3015 }
3016 #[repr(C, packed(4))]
3017 #[doc = "Required features: `\"Win32_Foundation\"`"]
3018 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
3019 #[cfg(feature = "Win32_Foundation")]
3020 pub struct RASENTRYDLGW {
3021 pub dwSize: u32,
3022 pub hwndOwner: super::super::Foundation::HWND,
3023 pub dwFlags: u32,
3024 pub xDlg: i32,
3025 pub yDlg: i32,
3026 pub szEntry: [u16; 257],
3027 pub dwError: u32,
3028 pub reserved: usize,
3029 pub reserved2: usize,
3030 }
3031 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
3032 #[cfg(feature = "Win32_Foundation")]
3033 impl ::core::marker::Copy for RASENTRYDLGW {}
3034 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
3035 #[cfg(feature = "Win32_Foundation")]
3036 impl ::core::clone::Clone for RASENTRYDLGW {
3037 fn clone(&self) -> Self {
3038 *self
3039 }
3040 }
3041 #[repr(C)]
3042 #[doc = "Required features: `\"Win32_Foundation\"`"]
3043 #[cfg(target_arch = "x86")]
3044 #[cfg(feature = "Win32_Foundation")]
3045 pub struct RASENTRYDLGW {
3046 pub dwSize: u32,
3047 pub hwndOwner: super::super::Foundation::HWND,
3048 pub dwFlags: u32,
3049 pub xDlg: i32,
3050 pub yDlg: i32,
3051 pub szEntry: [u16; 257],
3052 pub dwError: u32,
3053 pub reserved: usize,
3054 pub reserved2: usize,
3055 }
3056 #[cfg(target_arch = "x86")]
3057 #[cfg(feature = "Win32_Foundation")]
3058 impl ::core::marker::Copy for RASENTRYDLGW {}
3059 #[cfg(target_arch = "x86")]
3060 #[cfg(feature = "Win32_Foundation")]
3061 impl ::core::clone::Clone for RASENTRYDLGW {
3062 fn clone(&self) -> Self {
3063 *self
3064 }
3065 }
3066 #[repr(C)]
3067 pub struct RASENTRYNAMEA {
3068 pub dwSize: u32,
3069 pub szEntryName: [u8; 257],
3070 pub dwFlags: u32,
3071 pub szPhonebookPath: [u8; 261],
3072 }
3073 impl ::core::marker::Copy for RASENTRYNAMEA {}
3074 impl ::core::clone::Clone for RASENTRYNAMEA {
3075 fn clone(&self) -> Self {
3076 *self
3077 }
3078 }
3079 #[repr(C)]
3080 pub struct RASENTRYNAMEW {
3081 pub dwSize: u32,
3082 pub szEntryName: [u16; 257],
3083 pub dwFlags: u32,
3084 pub szPhonebookPath: [u16; 261],
3085 }
3086 impl ::core::marker::Copy for RASENTRYNAMEW {}
3087 impl ::core::clone::Clone for RASENTRYNAMEW {
3088 fn clone(&self) -> Self {
3089 *self
3090 }
3091 }
3092 #[repr(C)]
3093 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"]
3094 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
3095 pub struct RASENTRYW {
3096 pub dwSize: u32,
3097 pub dwfOptions: u32,
3098 pub dwCountryID: u32,
3099 pub dwCountryCode: u32,
3100 pub szAreaCode: [u16; 11],
3101 pub szLocalPhoneNumber: [u16; 129],
3102 pub dwAlternateOffset: u32,
3103 pub ipaddr: RASIPADDR,
3104 pub ipaddrDns: RASIPADDR,
3105 pub ipaddrDnsAlt: RASIPADDR,
3106 pub ipaddrWins: RASIPADDR,
3107 pub ipaddrWinsAlt: RASIPADDR,
3108 pub dwFrameSize: u32,
3109 pub dwfNetProtocols: u32,
3110 pub dwFramingProtocol: u32,
3111 pub szScript: [u16; 260],
3112 pub szAutodialDll: [u16; 260],
3113 pub szAutodialFunc: [u16; 260],
3114 pub szDeviceType: [u16; 17],
3115 pub szDeviceName: [u16; 129],
3116 pub szX25PadType: [u16; 33],
3117 pub szX25Address: [u16; 201],
3118 pub szX25Facilities: [u16; 201],
3119 pub szX25UserData: [u16; 201],
3120 pub dwChannels: u32,
3121 pub dwReserved1: u32,
3122 pub dwReserved2: u32,
3123 pub dwSubEntries: u32,
3124 pub dwDialMode: RASENTRY_DIAL_MODE,
3125 pub dwDialExtraPercent: u32,
3126 pub dwDialExtraSampleSeconds: u32,
3127 pub dwHangUpExtraPercent: u32,
3128 pub dwHangUpExtraSampleSeconds: u32,
3129 pub dwIdleDisconnectSeconds: u32,
3130 pub dwType: u32,
3131 pub dwEncryptionType: u32,
3132 pub dwCustomAuthKey: u32,
3133 pub guidId: ::windows_sys::core::GUID,
3134 pub szCustomDialDll: [u16; 260],
3135 pub dwVpnStrategy: u32,
3136 pub dwfOptions2: u32,
3137 pub dwfOptions3: u32,
3138 pub szDnsSuffix: [u16; 256],
3139 pub dwTcpWindowSize: u32,
3140 pub szPrerequisitePbk: [u16; 260],
3141 pub szPrerequisiteEntry: [u16; 257],
3142 pub dwRedialCount: u32,
3143 pub dwRedialPause: u32,
3144 pub ipv6addrDns: super::super::Networking::WinSock::IN6_ADDR,
3145 pub ipv6addrDnsAlt: super::super::Networking::WinSock::IN6_ADDR,
3146 pub dwIPv4InterfaceMetric: u32,
3147 pub dwIPv6InterfaceMetric: u32,
3148 pub ipv6addr: super::super::Networking::WinSock::IN6_ADDR,
3149 pub dwIPv6PrefixLength: u32,
3150 pub dwNetworkOutageTime: u32,
3151 pub szIDi: [u16; 257],
3152 pub szIDr: [u16; 257],
3153 pub fIsImsConfig: super::super::Foundation::BOOL,
3154 pub IdiType: IKEV2_ID_PAYLOAD_TYPE,
3155 pub IdrType: IKEV2_ID_PAYLOAD_TYPE,
3156 pub fDisableIKEv2Fragmentation: super::super::Foundation::BOOL,
3157 }
3158 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
3159 impl ::core::marker::Copy for RASENTRYW {}
3160 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
3161 impl ::core::clone::Clone for RASENTRYW {
3162 fn clone(&self) -> Self {
3163 *self
3164 }
3165 }
3166 #[repr(C, packed(4))]
3167 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
3168 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
3169 #[cfg(feature = "Win32_Networking_WinSock")]
3170 pub struct RASIKEV2_PROJECTION_INFO {
3171 pub dwIPv4NegotiationError: u32,
3172 pub ipv4Address: super::super::Networking::WinSock::IN_ADDR,
3173 pub ipv4ServerAddress: super::super::Networking::WinSock::IN_ADDR,
3174 pub dwIPv6NegotiationError: u32,
3175 pub ipv6Address: super::super::Networking::WinSock::IN6_ADDR,
3176 pub ipv6ServerAddress: super::super::Networking::WinSock::IN6_ADDR,
3177 pub dwPrefixLength: u32,
3178 pub dwAuthenticationProtocol: u32,
3179 pub dwEapTypeId: u32,
3180 pub dwFlags: RASIKEV_PROJECTION_INFO_FLAGS,
3181 pub dwEncryptionMethod: u32,
3182 pub numIPv4ServerAddresses: u32,
3183 pub ipv4ServerAddresses: *mut super::super::Networking::WinSock::IN_ADDR,
3184 pub numIPv6ServerAddresses: u32,
3185 pub ipv6ServerAddresses: *mut super::super::Networking::WinSock::IN6_ADDR,
3186 }
3187 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
3188 #[cfg(feature = "Win32_Networking_WinSock")]
3189 impl ::core::marker::Copy for RASIKEV2_PROJECTION_INFO {}
3190 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
3191 #[cfg(feature = "Win32_Networking_WinSock")]
3192 impl ::core::clone::Clone for RASIKEV2_PROJECTION_INFO {
3193 fn clone(&self) -> Self {
3194 *self
3195 }
3196 }
3197 #[repr(C)]
3198 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
3199 #[cfg(target_arch = "x86")]
3200 #[cfg(feature = "Win32_Networking_WinSock")]
3201 pub struct RASIKEV2_PROJECTION_INFO {
3202 pub dwIPv4NegotiationError: u32,
3203 pub ipv4Address: super::super::Networking::WinSock::IN_ADDR,
3204 pub ipv4ServerAddress: super::super::Networking::WinSock::IN_ADDR,
3205 pub dwIPv6NegotiationError: u32,
3206 pub ipv6Address: super::super::Networking::WinSock::IN6_ADDR,
3207 pub ipv6ServerAddress: super::super::Networking::WinSock::IN6_ADDR,
3208 pub dwPrefixLength: u32,
3209 pub dwAuthenticationProtocol: u32,
3210 pub dwEapTypeId: u32,
3211 pub dwFlags: RASIKEV_PROJECTION_INFO_FLAGS,
3212 pub dwEncryptionMethod: u32,
3213 pub numIPv4ServerAddresses: u32,
3214 pub ipv4ServerAddresses: *mut super::super::Networking::WinSock::IN_ADDR,
3215 pub numIPv6ServerAddresses: u32,
3216 pub ipv6ServerAddresses: *mut super::super::Networking::WinSock::IN6_ADDR,
3217 }
3218 #[cfg(target_arch = "x86")]
3219 #[cfg(feature = "Win32_Networking_WinSock")]
3220 impl ::core::marker::Copy for RASIKEV2_PROJECTION_INFO {}
3221 #[cfg(target_arch = "x86")]
3222 #[cfg(feature = "Win32_Networking_WinSock")]
3223 impl ::core::clone::Clone for RASIKEV2_PROJECTION_INFO {
3224 fn clone(&self) -> Self {
3225 *self
3226 }
3227 }
3228 #[repr(C)]
3229 pub struct RASIPADDR {
3230 pub a: u8,
3231 pub b: u8,
3232 pub c: u8,
3233 pub d: u8,
3234 }
3235 impl ::core::marker::Copy for RASIPADDR {}
3236 impl ::core::clone::Clone for RASIPADDR {
3237 fn clone(&self) -> Self {
3238 *self
3239 }
3240 }
3241 #[repr(C)]
3242 pub struct RASIPXW {
3243 pub dwSize: u32,
3244 pub dwError: u32,
3245 pub szIpxAddress: [u16; 22],
3246 }
3247 impl ::core::marker::Copy for RASIPXW {}
3248 impl ::core::clone::Clone for RASIPXW {
3249 fn clone(&self) -> Self {
3250 *self
3251 }
3252 }
3253 #[repr(C)]
3254 pub struct RASNOUSERA {
3255 pub dwSize: u32,
3256 pub dwFlags: u32,
3257 pub dwTimeoutMs: u32,
3258 pub szUserName: [u8; 257],
3259 pub szPassword: [u8; 257],
3260 pub szDomain: [u8; 16],
3261 }
3262 impl ::core::marker::Copy for RASNOUSERA {}
3263 impl ::core::clone::Clone for RASNOUSERA {
3264 fn clone(&self) -> Self {
3265 *self
3266 }
3267 }
3268 #[repr(C)]
3269 pub struct RASNOUSERW {
3270 pub dwSize: u32,
3271 pub dwFlags: u32,
3272 pub dwTimeoutMs: u32,
3273 pub szUserName: [u16; 257],
3274 pub szPassword: [u16; 257],
3275 pub szDomain: [u16; 16],
3276 }
3277 impl ::core::marker::Copy for RASNOUSERW {}
3278 impl ::core::clone::Clone for RASNOUSERW {
3279 fn clone(&self) -> Self {
3280 *self
3281 }
3282 }
3283 #[repr(C, packed(4))]
3284 #[doc = "Required features: `\"Win32_Foundation\"`"]
3285 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
3286 #[cfg(feature = "Win32_Foundation")]
3287 pub struct RASPBDLGA {
3288 pub dwSize: u32,
3289 pub hwndOwner: super::super::Foundation::HWND,
3290 pub dwFlags: u32,
3291 pub xDlg: i32,
3292 pub yDlg: i32,
3293 pub dwCallbackId: usize,
3294 pub pCallback: RASPBDLGFUNCA,
3295 pub dwError: u32,
3296 pub reserved: usize,
3297 pub reserved2: usize,
3298 }
3299 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
3300 #[cfg(feature = "Win32_Foundation")]
3301 impl ::core::marker::Copy for RASPBDLGA {}
3302 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
3303 #[cfg(feature = "Win32_Foundation")]
3304 impl ::core::clone::Clone for RASPBDLGA {
3305 fn clone(&self) -> Self {
3306 *self
3307 }
3308 }
3309 #[repr(C)]
3310 #[doc = "Required features: `\"Win32_Foundation\"`"]
3311 #[cfg(target_arch = "x86")]
3312 #[cfg(feature = "Win32_Foundation")]
3313 pub struct RASPBDLGA {
3314 pub dwSize: u32,
3315 pub hwndOwner: super::super::Foundation::HWND,
3316 pub dwFlags: u32,
3317 pub xDlg: i32,
3318 pub yDlg: i32,
3319 pub dwCallbackId: usize,
3320 pub pCallback: RASPBDLGFUNCA,
3321 pub dwError: u32,
3322 pub reserved: usize,
3323 pub reserved2: usize,
3324 }
3325 #[cfg(target_arch = "x86")]
3326 #[cfg(feature = "Win32_Foundation")]
3327 impl ::core::marker::Copy for RASPBDLGA {}
3328 #[cfg(target_arch = "x86")]
3329 #[cfg(feature = "Win32_Foundation")]
3330 impl ::core::clone::Clone for RASPBDLGA {
3331 fn clone(&self) -> Self {
3332 *self
3333 }
3334 }
3335 #[repr(C, packed(4))]
3336 #[doc = "Required features: `\"Win32_Foundation\"`"]
3337 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
3338 #[cfg(feature = "Win32_Foundation")]
3339 pub struct RASPBDLGW {
3340 pub dwSize: u32,
3341 pub hwndOwner: super::super::Foundation::HWND,
3342 pub dwFlags: u32,
3343 pub xDlg: i32,
3344 pub yDlg: i32,
3345 pub dwCallbackId: usize,
3346 pub pCallback: RASPBDLGFUNCW,
3347 pub dwError: u32,
3348 pub reserved: usize,
3349 pub reserved2: usize,
3350 }
3351 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
3352 #[cfg(feature = "Win32_Foundation")]
3353 impl ::core::marker::Copy for RASPBDLGW {}
3354 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
3355 #[cfg(feature = "Win32_Foundation")]
3356 impl ::core::clone::Clone for RASPBDLGW {
3357 fn clone(&self) -> Self {
3358 *self
3359 }
3360 }
3361 #[repr(C)]
3362 #[doc = "Required features: `\"Win32_Foundation\"`"]
3363 #[cfg(target_arch = "x86")]
3364 #[cfg(feature = "Win32_Foundation")]
3365 pub struct RASPBDLGW {
3366 pub dwSize: u32,
3367 pub hwndOwner: super::super::Foundation::HWND,
3368 pub dwFlags: u32,
3369 pub xDlg: i32,
3370 pub yDlg: i32,
3371 pub dwCallbackId: usize,
3372 pub pCallback: RASPBDLGFUNCW,
3373 pub dwError: u32,
3374 pub reserved: usize,
3375 pub reserved2: usize,
3376 }
3377 #[cfg(target_arch = "x86")]
3378 #[cfg(feature = "Win32_Foundation")]
3379 impl ::core::marker::Copy for RASPBDLGW {}
3380 #[cfg(target_arch = "x86")]
3381 #[cfg(feature = "Win32_Foundation")]
3382 impl ::core::clone::Clone for RASPBDLGW {
3383 fn clone(&self) -> Self {
3384 *self
3385 }
3386 }
3387 #[repr(C)]
3388 pub struct RASPPPCCP {
3389 pub dwSize: u32,
3390 pub dwError: u32,
3391 pub dwCompressionAlgorithm: u32,
3392 pub dwOptions: u32,
3393 pub dwServerCompressionAlgorithm: u32,
3394 pub dwServerOptions: u32,
3395 }
3396 impl ::core::marker::Copy for RASPPPCCP {}
3397 impl ::core::clone::Clone for RASPPPCCP {
3398 fn clone(&self) -> Self {
3399 *self
3400 }
3401 }
3402 #[repr(C)]
3403 pub struct RASPPPIPA {
3404 pub dwSize: u32,
3405 pub dwError: u32,
3406 pub szIpAddress: [u8; 16],
3407 pub szServerIpAddress: [u8; 16],
3408 pub dwOptions: u32,
3409 pub dwServerOptions: u32,
3410 }
3411 impl ::core::marker::Copy for RASPPPIPA {}
3412 impl ::core::clone::Clone for RASPPPIPA {
3413 fn clone(&self) -> Self {
3414 *self
3415 }
3416 }
3417 #[repr(C)]
3418 pub struct RASPPPIPV6 {
3419 pub dwSize: u32,
3420 pub dwError: u32,
3421 pub bLocalInterfaceIdentifier: [u8; 8],
3422 pub bPeerInterfaceIdentifier: [u8; 8],
3423 pub bLocalCompressionProtocol: [u8; 2],
3424 pub bPeerCompressionProtocol: [u8; 2],
3425 }
3426 impl ::core::marker::Copy for RASPPPIPV6 {}
3427 impl ::core::clone::Clone for RASPPPIPV6 {
3428 fn clone(&self) -> Self {
3429 *self
3430 }
3431 }
3432 #[repr(C)]
3433 pub struct RASPPPIPW {
3434 pub dwSize: u32,
3435 pub dwError: u32,
3436 pub szIpAddress: [u16; 16],
3437 pub szServerIpAddress: [u16; 16],
3438 pub dwOptions: u32,
3439 pub dwServerOptions: u32,
3440 }
3441 impl ::core::marker::Copy for RASPPPIPW {}
3442 impl ::core::clone::Clone for RASPPPIPW {
3443 fn clone(&self) -> Self {
3444 *self
3445 }
3446 }
3447 #[repr(C)]
3448 pub struct RASPPPIPXA {
3449 pub dwSize: u32,
3450 pub dwError: u32,
3451 pub szIpxAddress: [u8; 22],
3452 }
3453 impl ::core::marker::Copy for RASPPPIPXA {}
3454 impl ::core::clone::Clone for RASPPPIPXA {
3455 fn clone(&self) -> Self {
3456 *self
3457 }
3458 }
3459 #[repr(C)]
3460 #[doc = "Required features: `\"Win32_Foundation\"`"]
3461 #[cfg(feature = "Win32_Foundation")]
3462 pub struct RASPPPLCPA {
3463 pub dwSize: u32,
3464 pub fBundled: super::super::Foundation::BOOL,
3465 pub dwError: u32,
3466 pub dwAuthenticationProtocol: u32,
3467 pub dwAuthenticationData: u32,
3468 pub dwEapTypeId: u32,
3469 pub dwServerAuthenticationProtocol: u32,
3470 pub dwServerAuthenticationData: u32,
3471 pub dwServerEapTypeId: u32,
3472 pub fMultilink: super::super::Foundation::BOOL,
3473 pub dwTerminateReason: u32,
3474 pub dwServerTerminateReason: u32,
3475 pub szReplyMessage: [u8; 1024],
3476 pub dwOptions: u32,
3477 pub dwServerOptions: u32,
3478 }
3479 #[cfg(feature = "Win32_Foundation")]
3480 impl ::core::marker::Copy for RASPPPLCPA {}
3481 #[cfg(feature = "Win32_Foundation")]
3482 impl ::core::clone::Clone for RASPPPLCPA {
3483 fn clone(&self) -> Self {
3484 *self
3485 }
3486 }
3487 #[repr(C)]
3488 #[doc = "Required features: `\"Win32_Foundation\"`"]
3489 #[cfg(feature = "Win32_Foundation")]
3490 pub struct RASPPPLCPW {
3491 pub dwSize: u32,
3492 pub fBundled: super::super::Foundation::BOOL,
3493 pub dwError: u32,
3494 pub dwAuthenticationProtocol: u32,
3495 pub dwAuthenticationData: u32,
3496 pub dwEapTypeId: u32,
3497 pub dwServerAuthenticationProtocol: u32,
3498 pub dwServerAuthenticationData: u32,
3499 pub dwServerEapTypeId: u32,
3500 pub fMultilink: super::super::Foundation::BOOL,
3501 pub dwTerminateReason: u32,
3502 pub dwServerTerminateReason: u32,
3503 pub szReplyMessage: [u16; 1024],
3504 pub dwOptions: u32,
3505 pub dwServerOptions: u32,
3506 }
3507 #[cfg(feature = "Win32_Foundation")]
3508 impl ::core::marker::Copy for RASPPPLCPW {}
3509 #[cfg(feature = "Win32_Foundation")]
3510 impl ::core::clone::Clone for RASPPPLCPW {
3511 fn clone(&self) -> Self {
3512 *self
3513 }
3514 }
3515 #[repr(C)]
3516 pub struct RASPPPNBFA {
3517 pub dwSize: u32,
3518 pub dwError: u32,
3519 pub dwNetBiosError: u32,
3520 pub szNetBiosError: [u8; 17],
3521 pub szWorkstationName: [u8; 17],
3522 pub bLana: u8,
3523 }
3524 impl ::core::marker::Copy for RASPPPNBFA {}
3525 impl ::core::clone::Clone for RASPPPNBFA {
3526 fn clone(&self) -> Self {
3527 *self
3528 }
3529 }
3530 #[repr(C)]
3531 pub struct RASPPPNBFW {
3532 pub dwSize: u32,
3533 pub dwError: u32,
3534 pub dwNetBiosError: u32,
3535 pub szNetBiosError: [u16; 17],
3536 pub szWorkstationName: [u16; 17],
3537 pub bLana: u8,
3538 }
3539 impl ::core::marker::Copy for RASPPPNBFW {}
3540 impl ::core::clone::Clone for RASPPPNBFW {
3541 fn clone(&self) -> Self {
3542 *self
3543 }
3544 }
3545 #[repr(C)]
3546 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"]
3547 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
3548 pub struct RASPPP_PROJECTION_INFO {
3549 pub dwIPv4NegotiationError: u32,
3550 pub ipv4Address: super::super::Networking::WinSock::IN_ADDR,
3551 pub ipv4ServerAddress: super::super::Networking::WinSock::IN_ADDR,
3552 pub dwIPv4Options: u32,
3553 pub dwIPv4ServerOptions: u32,
3554 pub dwIPv6NegotiationError: u32,
3555 pub bInterfaceIdentifier: [u8; 8],
3556 pub bServerInterfaceIdentifier: [u8; 8],
3557 pub fBundled: super::super::Foundation::BOOL,
3558 pub fMultilink: super::super::Foundation::BOOL,
3559 pub dwAuthenticationProtocol: RASPPP_PROJECTION_INFO_SERVER_AUTH_PROTOCOL,
3560 pub dwAuthenticationData: RASPPP_PROJECTION_INFO_SERVER_AUTH_DATA,
3561 pub dwServerAuthenticationProtocol: RASPPP_PROJECTION_INFO_SERVER_AUTH_PROTOCOL,
3562 pub dwServerAuthenticationData: RASPPP_PROJECTION_INFO_SERVER_AUTH_DATA,
3563 pub dwEapTypeId: u32,
3564 pub dwServerEapTypeId: u32,
3565 pub dwLcpOptions: u32,
3566 pub dwLcpServerOptions: u32,
3567 pub dwCcpError: u32,
3568 pub dwCcpCompressionAlgorithm: u32,
3569 pub dwCcpServerCompressionAlgorithm: u32,
3570 pub dwCcpOptions: u32,
3571 pub dwCcpServerOptions: u32,
3572 }
3573 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
3574 impl ::core::marker::Copy for RASPPP_PROJECTION_INFO {}
3575 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
3576 impl ::core::clone::Clone for RASPPP_PROJECTION_INFO {
3577 fn clone(&self) -> Self {
3578 *self
3579 }
3580 }
3581 #[repr(C)]
3582 pub struct RASSUBENTRYA {
3583 pub dwSize: u32,
3584 pub dwfFlags: u32,
3585 pub szDeviceType: [u8; 17],
3586 pub szDeviceName: [u8; 129],
3587 pub szLocalPhoneNumber: [u8; 129],
3588 pub dwAlternateOffset: u32,
3589 }
3590 impl ::core::marker::Copy for RASSUBENTRYA {}
3591 impl ::core::clone::Clone for RASSUBENTRYA {
3592 fn clone(&self) -> Self {
3593 *self
3594 }
3595 }
3596 #[repr(C)]
3597 pub struct RASSUBENTRYW {
3598 pub dwSize: u32,
3599 pub dwfFlags: u32,
3600 pub szDeviceType: [u16; 17],
3601 pub szDeviceName: [u16; 129],
3602 pub szLocalPhoneNumber: [u16; 129],
3603 pub dwAlternateOffset: u32,
3604 }
3605 impl ::core::marker::Copy for RASSUBENTRYW {}
3606 impl ::core::clone::Clone for RASSUBENTRYW {
3607 fn clone(&self) -> Self {
3608 *self
3609 }
3610 }
3611 #[repr(C)]
3612 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
3613 #[cfg(feature = "Win32_Networking_WinSock")]
3614 pub struct RASTUNNELENDPOINT {
3615 pub dwType: u32,
3616 pub Anonymous: RASTUNNELENDPOINT_0,
3617 }
3618 #[cfg(feature = "Win32_Networking_WinSock")]
3619 impl ::core::marker::Copy for RASTUNNELENDPOINT {}
3620 #[cfg(feature = "Win32_Networking_WinSock")]
3621 impl ::core::clone::Clone for RASTUNNELENDPOINT {
3622 fn clone(&self) -> Self {
3623 *self
3624 }
3625 }
3626 #[repr(C)]
3627 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
3628 #[cfg(feature = "Win32_Networking_WinSock")]
3629 pub union RASTUNNELENDPOINT_0 {
3630 pub ipv4: super::super::Networking::WinSock::IN_ADDR,
3631 pub ipv6: super::super::Networking::WinSock::IN6_ADDR,
3632 }
3633 #[cfg(feature = "Win32_Networking_WinSock")]
3634 impl ::core::marker::Copy for RASTUNNELENDPOINT_0 {}
3635 #[cfg(feature = "Win32_Networking_WinSock")]
3636 impl ::core::clone::Clone for RASTUNNELENDPOINT_0 {
3637 fn clone(&self) -> Self {
3638 *self
3639 }
3640 }
3641 #[repr(C)]
3642 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
3643 #[cfg(feature = "Win32_Networking_WinSock")]
3644 pub struct RASUPDATECONN {
3645 pub version: RASAPIVERSION,
3646 pub dwSize: u32,
3647 pub dwFlags: u32,
3648 pub dwIfIndex: u32,
3649 pub localEndPoint: RASTUNNELENDPOINT,
3650 pub remoteEndPoint: RASTUNNELENDPOINT,
3651 }
3652 #[cfg(feature = "Win32_Networking_WinSock")]
3653 impl ::core::marker::Copy for RASUPDATECONN {}
3654 #[cfg(feature = "Win32_Networking_WinSock")]
3655 impl ::core::clone::Clone for RASUPDATECONN {
3656 fn clone(&self) -> Self {
3657 *self
3658 }
3659 }
3660 #[repr(C)]
3661 #[doc = "Required features: `\"Win32_Foundation\"`"]
3662 #[cfg(feature = "Win32_Foundation")]
3663 pub struct RAS_CONNECTION_0 {
3664 pub hConnection: super::super::Foundation::HANDLE,
3665 pub hInterface: super::super::Foundation::HANDLE,
3666 pub dwConnectDuration: u32,
3667 pub dwInterfaceType: ROUTER_INTERFACE_TYPE,
3668 pub dwConnectionFlags: RAS_FLAGS,
3669 pub wszInterfaceName: [u16; 257],
3670 pub wszUserName: [u16; 257],
3671 pub wszLogonDomain: [u16; 16],
3672 pub wszRemoteComputer: [u16; 17],
3673 }
3674 #[cfg(feature = "Win32_Foundation")]
3675 impl ::core::marker::Copy for RAS_CONNECTION_0 {}
3676 #[cfg(feature = "Win32_Foundation")]
3677 impl ::core::clone::Clone for RAS_CONNECTION_0 {
3678 fn clone(&self) -> Self {
3679 *self
3680 }
3681 }
3682 #[repr(C)]
3683 #[doc = "Required features: `\"Win32_Foundation\"`"]
3684 #[cfg(feature = "Win32_Foundation")]
3685 pub struct RAS_CONNECTION_1 {
3686 pub hConnection: super::super::Foundation::HANDLE,
3687 pub hInterface: super::super::Foundation::HANDLE,
3688 pub PppInfo: PPP_INFO,
3689 pub dwBytesXmited: u32,
3690 pub dwBytesRcved: u32,
3691 pub dwFramesXmited: u32,
3692 pub dwFramesRcved: u32,
3693 pub dwCrcErr: u32,
3694 pub dwTimeoutErr: u32,
3695 pub dwAlignmentErr: u32,
3696 pub dwHardwareOverrunErr: u32,
3697 pub dwFramingErr: u32,
3698 pub dwBufferOverrunErr: u32,
3699 pub dwCompressionRatioIn: u32,
3700 pub dwCompressionRatioOut: u32,
3701 }
3702 #[cfg(feature = "Win32_Foundation")]
3703 impl ::core::marker::Copy for RAS_CONNECTION_1 {}
3704 #[cfg(feature = "Win32_Foundation")]
3705 impl ::core::clone::Clone for RAS_CONNECTION_1 {
3706 fn clone(&self) -> Self {
3707 *self
3708 }
3709 }
3710 #[repr(C)]
3711 #[doc = "Required features: `\"Win32_Foundation\"`"]
3712 #[cfg(feature = "Win32_Foundation")]
3713 pub struct RAS_CONNECTION_2 {
3714 pub hConnection: super::super::Foundation::HANDLE,
3715 pub wszUserName: [u16; 257],
3716 pub dwInterfaceType: ROUTER_INTERFACE_TYPE,
3717 pub guid: ::windows_sys::core::GUID,
3718 pub PppInfo2: PPP_INFO_2,
3719 }
3720 #[cfg(feature = "Win32_Foundation")]
3721 impl ::core::marker::Copy for RAS_CONNECTION_2 {}
3722 #[cfg(feature = "Win32_Foundation")]
3723 impl ::core::clone::Clone for RAS_CONNECTION_2 {
3724 fn clone(&self) -> Self {
3725 *self
3726 }
3727 }
3728 #[repr(C)]
3729 #[doc = "Required features: `\"Win32_Foundation\"`"]
3730 #[cfg(feature = "Win32_Foundation")]
3731 pub struct RAS_CONNECTION_3 {
3732 pub dwVersion: u32,
3733 pub dwSize: u32,
3734 pub hConnection: super::super::Foundation::HANDLE,
3735 pub wszUserName: [u16; 257],
3736 pub dwInterfaceType: ROUTER_INTERFACE_TYPE,
3737 pub guid: ::windows_sys::core::GUID,
3738 pub PppInfo3: PPP_INFO_3,
3739 pub rasQuarState: RAS_QUARANTINE_STATE,
3740 pub timer: super::super::Foundation::FILETIME,
3741 }
3742 #[cfg(feature = "Win32_Foundation")]
3743 impl ::core::marker::Copy for RAS_CONNECTION_3 {}
3744 #[cfg(feature = "Win32_Foundation")]
3745 impl ::core::clone::Clone for RAS_CONNECTION_3 {
3746 fn clone(&self) -> Self {
3747 *self
3748 }
3749 }
3750 #[repr(C)]
3751 #[doc = "Required features: `\"Win32_Foundation\"`"]
3752 #[cfg(feature = "Win32_Foundation")]
3753 pub struct RAS_CONNECTION_4 {
3754 pub dwConnectDuration: u32,
3755 pub dwInterfaceType: ROUTER_INTERFACE_TYPE,
3756 pub dwConnectionFlags: RAS_FLAGS,
3757 pub wszInterfaceName: [u16; 257],
3758 pub wszUserName: [u16; 257],
3759 pub wszLogonDomain: [u16; 16],
3760 pub wszRemoteComputer: [u16; 17],
3761 pub guid: ::windows_sys::core::GUID,
3762 pub rasQuarState: RAS_QUARANTINE_STATE,
3763 pub probationTime: super::super::Foundation::FILETIME,
3764 pub connectionStartTime: super::super::Foundation::FILETIME,
3765 pub ullBytesXmited: u64,
3766 pub ullBytesRcved: u64,
3767 pub dwFramesXmited: u32,
3768 pub dwFramesRcved: u32,
3769 pub dwCrcErr: u32,
3770 pub dwTimeoutErr: u32,
3771 pub dwAlignmentErr: u32,
3772 pub dwHardwareOverrunErr: u32,
3773 pub dwFramingErr: u32,
3774 pub dwBufferOverrunErr: u32,
3775 pub dwCompressionRatioIn: u32,
3776 pub dwCompressionRatioOut: u32,
3777 pub dwNumSwitchOvers: u32,
3778 pub wszRemoteEndpointAddress: [u16; 65],
3779 pub wszLocalEndpointAddress: [u16; 65],
3780 pub ProjectionInfo: PROJECTION_INFO2,
3781 pub hConnection: super::super::Foundation::HANDLE,
3782 pub hInterface: super::super::Foundation::HANDLE,
3783 pub dwDeviceType: u32,
3784 }
3785 #[cfg(feature = "Win32_Foundation")]
3786 impl ::core::marker::Copy for RAS_CONNECTION_4 {}
3787 #[cfg(feature = "Win32_Foundation")]
3788 impl ::core::clone::Clone for RAS_CONNECTION_4 {
3789 fn clone(&self) -> Self {
3790 *self
3791 }
3792 }
3793 #[repr(C)]
3794 #[doc = "Required features: `\"Win32_Foundation\"`"]
3795 #[cfg(feature = "Win32_Foundation")]
3796 pub struct RAS_CONNECTION_EX {
3797 pub Header: MPRAPI_OBJECT_HEADER,
3798 pub dwConnectDuration: u32,
3799 pub dwInterfaceType: ROUTER_INTERFACE_TYPE,
3800 pub dwConnectionFlags: RAS_FLAGS,
3801 pub wszInterfaceName: [u16; 257],
3802 pub wszUserName: [u16; 257],
3803 pub wszLogonDomain: [u16; 16],
3804 pub wszRemoteComputer: [u16; 17],
3805 pub guid: ::windows_sys::core::GUID,
3806 pub rasQuarState: RAS_QUARANTINE_STATE,
3807 pub probationTime: super::super::Foundation::FILETIME,
3808 pub dwBytesXmited: u32,
3809 pub dwBytesRcved: u32,
3810 pub dwFramesXmited: u32,
3811 pub dwFramesRcved: u32,
3812 pub dwCrcErr: u32,
3813 pub dwTimeoutErr: u32,
3814 pub dwAlignmentErr: u32,
3815 pub dwHardwareOverrunErr: u32,
3816 pub dwFramingErr: u32,
3817 pub dwBufferOverrunErr: u32,
3818 pub dwCompressionRatioIn: u32,
3819 pub dwCompressionRatioOut: u32,
3820 pub dwNumSwitchOvers: u32,
3821 pub wszRemoteEndpointAddress: [u16; 65],
3822 pub wszLocalEndpointAddress: [u16; 65],
3823 pub ProjectionInfo: PROJECTION_INFO,
3824 pub hConnection: super::super::Foundation::HANDLE,
3825 pub hInterface: super::super::Foundation::HANDLE,
3826 }
3827 #[cfg(feature = "Win32_Foundation")]
3828 impl ::core::marker::Copy for RAS_CONNECTION_EX {}
3829 #[cfg(feature = "Win32_Foundation")]
3830 impl ::core::clone::Clone for RAS_CONNECTION_EX {
3831 fn clone(&self) -> Self {
3832 *self
3833 }
3834 }
3835 #[repr(C)]
3836 #[doc = "Required features: `\"Win32_Foundation\"`"]
3837 #[cfg(feature = "Win32_Foundation")]
3838 pub struct RAS_PORT_0 {
3839 pub hPort: super::super::Foundation::HANDLE,
3840 pub hConnection: super::super::Foundation::HANDLE,
3841 pub dwPortCondition: RAS_PORT_CONDITION,
3842 pub dwTotalNumberOfCalls: u32,
3843 pub dwConnectDuration: u32,
3844 pub wszPortName: [u16; 17],
3845 pub wszMediaName: [u16; 17],
3846 pub wszDeviceName: [u16; 129],
3847 pub wszDeviceType: [u16; 17],
3848 }
3849 #[cfg(feature = "Win32_Foundation")]
3850 impl ::core::marker::Copy for RAS_PORT_0 {}
3851 #[cfg(feature = "Win32_Foundation")]
3852 impl ::core::clone::Clone for RAS_PORT_0 {
3853 fn clone(&self) -> Self {
3854 *self
3855 }
3856 }
3857 #[repr(C)]
3858 #[doc = "Required features: `\"Win32_Foundation\"`"]
3859 #[cfg(feature = "Win32_Foundation")]
3860 pub struct RAS_PORT_1 {
3861 pub hPort: super::super::Foundation::HANDLE,
3862 pub hConnection: super::super::Foundation::HANDLE,
3863 pub dwHardwareCondition: RAS_HARDWARE_CONDITION,
3864 pub dwLineSpeed: u32,
3865 pub dwBytesXmited: u32,
3866 pub dwBytesRcved: u32,
3867 pub dwFramesXmited: u32,
3868 pub dwFramesRcved: u32,
3869 pub dwCrcErr: u32,
3870 pub dwTimeoutErr: u32,
3871 pub dwAlignmentErr: u32,
3872 pub dwHardwareOverrunErr: u32,
3873 pub dwFramingErr: u32,
3874 pub dwBufferOverrunErr: u32,
3875 pub dwCompressionRatioIn: u32,
3876 pub dwCompressionRatioOut: u32,
3877 }
3878 #[cfg(feature = "Win32_Foundation")]
3879 impl ::core::marker::Copy for RAS_PORT_1 {}
3880 #[cfg(feature = "Win32_Foundation")]
3881 impl ::core::clone::Clone for RAS_PORT_1 {
3882 fn clone(&self) -> Self {
3883 *self
3884 }
3885 }
3886 #[repr(C)]
3887 #[doc = "Required features: `\"Win32_Foundation\"`"]
3888 #[cfg(feature = "Win32_Foundation")]
3889 pub struct RAS_PORT_2 {
3890 pub hPort: super::super::Foundation::HANDLE,
3891 pub hConnection: super::super::Foundation::HANDLE,
3892 pub dwConn_State: u32,
3893 pub wszPortName: [u16; 17],
3894 pub wszMediaName: [u16; 17],
3895 pub wszDeviceName: [u16; 129],
3896 pub wszDeviceType: [u16; 17],
3897 pub dwHardwareCondition: RAS_HARDWARE_CONDITION,
3898 pub dwLineSpeed: u32,
3899 pub dwCrcErr: u32,
3900 pub dwSerialOverRunErrs: u32,
3901 pub dwTimeoutErr: u32,
3902 pub dwAlignmentErr: u32,
3903 pub dwHardwareOverrunErr: u32,
3904 pub dwFramingErr: u32,
3905 pub dwBufferOverrunErr: u32,
3906 pub dwCompressionRatioIn: u32,
3907 pub dwCompressionRatioOut: u32,
3908 pub dwTotalErrors: u32,
3909 pub ullBytesXmited: u64,
3910 pub ullBytesRcved: u64,
3911 pub ullFramesXmited: u64,
3912 pub ullFramesRcved: u64,
3913 pub ullBytesTxUncompressed: u64,
3914 pub ullBytesTxCompressed: u64,
3915 pub ullBytesRcvUncompressed: u64,
3916 pub ullBytesRcvCompressed: u64,
3917 }
3918 #[cfg(feature = "Win32_Foundation")]
3919 impl ::core::marker::Copy for RAS_PORT_2 {}
3920 #[cfg(feature = "Win32_Foundation")]
3921 impl ::core::clone::Clone for RAS_PORT_2 {
3922 fn clone(&self) -> Self {
3923 *self
3924 }
3925 }
3926 #[repr(C)]
3927 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"]
3928 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
3929 pub struct RAS_PROJECTION_INFO {
3930 pub version: RASAPIVERSION,
3931 pub r#type: RASPROJECTION_INFO_TYPE,
3932 pub Anonymous: RAS_PROJECTION_INFO_0,
3933 }
3934 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
3935 impl ::core::marker::Copy for RAS_PROJECTION_INFO {}
3936 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
3937 impl ::core::clone::Clone for RAS_PROJECTION_INFO {
3938 fn clone(&self) -> Self {
3939 *self
3940 }
3941 }
3942 #[repr(C)]
3943 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"]
3944 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
3945 pub union RAS_PROJECTION_INFO_0 {
3946 pub ppp: RASPPP_PROJECTION_INFO,
3947 pub ikev2: RASIKEV2_PROJECTION_INFO,
3948 }
3949 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
3950 impl ::core::marker::Copy for RAS_PROJECTION_INFO_0 {}
3951 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
3952 impl ::core::clone::Clone for RAS_PROJECTION_INFO_0 {
3953 fn clone(&self) -> Self {
3954 *self
3955 }
3956 }
3957 #[repr(C)]
3958 pub struct RAS_SECURITY_INFO {
3959 pub LastError: u32,
3960 pub BytesReceived: u32,
3961 pub DeviceName: [u8; 129],
3962 }
3963 impl ::core::marker::Copy for RAS_SECURITY_INFO {}
3964 impl ::core::clone::Clone for RAS_SECURITY_INFO {
3965 fn clone(&self) -> Self {
3966 *self
3967 }
3968 }
3969 #[repr(C)]
3970 pub struct RAS_STATS {
3971 pub dwSize: u32,
3972 pub dwBytesXmited: u32,
3973 pub dwBytesRcved: u32,
3974 pub dwFramesXmited: u32,
3975 pub dwFramesRcved: u32,
3976 pub dwCrcErr: u32,
3977 pub dwTimeoutErr: u32,
3978 pub dwAlignmentErr: u32,
3979 pub dwHardwareOverrunErr: u32,
3980 pub dwFramingErr: u32,
3981 pub dwBufferOverrunErr: u32,
3982 pub dwCompressionRatioIn: u32,
3983 pub dwCompressionRatioOut: u32,
3984 pub dwBps: u32,
3985 pub dwConnectDuration: u32,
3986 }
3987 impl ::core::marker::Copy for RAS_STATS {}
3988 impl ::core::clone::Clone for RAS_STATS {
3989 fn clone(&self) -> Self {
3990 *self
3991 }
3992 }
3993 #[repr(C)]
3994 pub struct RAS_UPDATE_CONNECTION {
3995 pub Header: MPRAPI_OBJECT_HEADER,
3996 pub dwIfIndex: u32,
3997 pub wszLocalEndpointAddress: [u16; 65],
3998 pub wszRemoteEndpointAddress: [u16; 65],
3999 }
4000 impl ::core::marker::Copy for RAS_UPDATE_CONNECTION {}
4001 impl ::core::clone::Clone for RAS_UPDATE_CONNECTION {
4002 fn clone(&self) -> Self {
4003 *self
4004 }
4005 }
4006 #[repr(C)]
4007 pub struct RAS_USER_0 {
4008 pub bfPrivilege: u8,
4009 pub wszPhoneNumber: [u16; 129],
4010 }
4011 impl ::core::marker::Copy for RAS_USER_0 {}
4012 impl ::core::clone::Clone for RAS_USER_0 {
4013 fn clone(&self) -> Self {
4014 *self
4015 }
4016 }
4017 #[repr(C)]
4018 pub struct RAS_USER_1 {
4019 pub bfPrivilege: u8,
4020 pub wszPhoneNumber: [u16; 129],
4021 pub bfPrivilege2: u8,
4022 }
4023 impl ::core::marker::Copy for RAS_USER_1 {}
4024 impl ::core::clone::Clone for RAS_USER_1 {
4025 fn clone(&self) -> Self {
4026 *self
4027 }
4028 }
4029 #[repr(C)]
4030 pub struct ROUTER_CUSTOM_IKEv2_POLICY0 {
4031 pub dwIntegrityMethod: u32,
4032 pub dwEncryptionMethod: u32,
4033 pub dwCipherTransformConstant: u32,
4034 pub dwAuthTransformConstant: u32,
4035 pub dwPfsGroup: u32,
4036 pub dwDhGroup: u32,
4037 }
4038 impl ::core::marker::Copy for ROUTER_CUSTOM_IKEv2_POLICY0 {}
4039 impl ::core::clone::Clone for ROUTER_CUSTOM_IKEv2_POLICY0 {
4040 fn clone(&self) -> Self {
4041 *self
4042 }
4043 }
4044 #[repr(C)]
4045 #[doc = "Required features: `\"Win32_Security_Cryptography\"`"]
4046 #[cfg(feature = "Win32_Security_Cryptography")]
4047 pub struct ROUTER_IKEv2_IF_CUSTOM_CONFIG0 {
4048 pub dwSaLifeTime: u32,
4049 pub dwSaDataSize: u32,
4050 pub certificateName: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB,
4051 pub customPolicy: *mut ROUTER_CUSTOM_IKEv2_POLICY0,
4052 }
4053 #[cfg(feature = "Win32_Security_Cryptography")]
4054 impl ::core::marker::Copy for ROUTER_IKEv2_IF_CUSTOM_CONFIG0 {}
4055 #[cfg(feature = "Win32_Security_Cryptography")]
4056 impl ::core::clone::Clone for ROUTER_IKEv2_IF_CUSTOM_CONFIG0 {
4057 fn clone(&self) -> Self {
4058 *self
4059 }
4060 }
4061 #[repr(C)]
4062 #[doc = "Required features: `\"Win32_Security_Cryptography\"`"]
4063 #[cfg(feature = "Win32_Security_Cryptography")]
4064 pub struct ROUTER_IKEv2_IF_CUSTOM_CONFIG1 {
4065 pub dwSaLifeTime: u32,
4066 pub dwSaDataSize: u32,
4067 pub certificateName: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB,
4068 pub customPolicy: *mut ROUTER_CUSTOM_IKEv2_POLICY0,
4069 pub certificateHash: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB,
4070 }
4071 #[cfg(feature = "Win32_Security_Cryptography")]
4072 impl ::core::marker::Copy for ROUTER_IKEv2_IF_CUSTOM_CONFIG1 {}
4073 #[cfg(feature = "Win32_Security_Cryptography")]
4074 impl ::core::clone::Clone for ROUTER_IKEv2_IF_CUSTOM_CONFIG1 {
4075 fn clone(&self) -> Self {
4076 *self
4077 }
4078 }
4079 #[repr(C)]
4080 #[doc = "Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`"]
4081 #[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))]
4082 pub struct ROUTER_IKEv2_IF_CUSTOM_CONFIG2 {
4083 pub dwSaLifeTime: u32,
4084 pub dwSaDataSize: u32,
4085 pub certificateName: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB,
4086 pub customPolicy: *mut ROUTER_CUSTOM_IKEv2_POLICY0,
4087 pub certificateHash: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB,
4088 pub dwMmSaLifeTime: u32,
4089 pub vpnTrafficSelectors: MPR_VPN_TRAFFIC_SELECTORS,
4090 }
4091 #[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))]
4092 impl ::core::marker::Copy for ROUTER_IKEv2_IF_CUSTOM_CONFIG2 {}
4093 #[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))]
4094 impl ::core::clone::Clone for ROUTER_IKEv2_IF_CUSTOM_CONFIG2 {
4095 fn clone(&self) -> Self {
4096 *self
4097 }
4098 }
4099 #[repr(C)]
4100 #[doc = "Required features: `\"Win32_Foundation\"`"]
4101 #[cfg(feature = "Win32_Foundation")]
4102 pub struct ROUTING_PROTOCOL_CONFIG {
4103 pub dwCallbackFlags: u32,
4104 pub pfnRpfCallback: PMGM_RPF_CALLBACK,
4105 pub pfnCreationAlertCallback: PMGM_CREATION_ALERT_CALLBACK,
4106 pub pfnPruneAlertCallback: PMGM_PRUNE_ALERT_CALLBACK,
4107 pub pfnJoinAlertCallback: PMGM_JOIN_ALERT_CALLBACK,
4108 pub pfnWrongIfCallback: PMGM_WRONG_IF_CALLBACK,
4109 pub pfnLocalJoinCallback: PMGM_LOCAL_JOIN_CALLBACK,
4110 pub pfnLocalLeaveCallback: PMGM_LOCAL_LEAVE_CALLBACK,
4111 pub pfnDisableIgmpCallback: PMGM_DISABLE_IGMP_CALLBACK,
4112 pub pfnEnableIgmpCallback: PMGM_ENABLE_IGMP_CALLBACK,
4113 }
4114 #[cfg(feature = "Win32_Foundation")]
4115 impl ::core::marker::Copy for ROUTING_PROTOCOL_CONFIG {}
4116 #[cfg(feature = "Win32_Foundation")]
4117 impl ::core::clone::Clone for ROUTING_PROTOCOL_CONFIG {
4118 fn clone(&self) -> Self {
4119 *self
4120 }
4121 }
4122 #[repr(C)]
4123 #[doc = "Required features: `\"Win32_Foundation\"`"]
4124 #[cfg(feature = "Win32_Foundation")]
4125 pub struct RTM_DEST_INFO {
4126 pub DestHandle: isize,
4127 pub DestAddress: RTM_NET_ADDRESS,
4128 pub LastChanged: super::super::Foundation::FILETIME,
4129 pub BelongsToViews: u32,
4130 pub NumberOfViews: u32,
4131 pub ViewInfo: [RTM_DEST_INFO_0; 1],
4132 }
4133 #[cfg(feature = "Win32_Foundation")]
4134 impl ::core::marker::Copy for RTM_DEST_INFO {}
4135 #[cfg(feature = "Win32_Foundation")]
4136 impl ::core::clone::Clone for RTM_DEST_INFO {
4137 fn clone(&self) -> Self {
4138 *self
4139 }
4140 }
4141 #[repr(C)]
4142 #[doc = "Required features: `\"Win32_Foundation\"`"]
4143 #[cfg(feature = "Win32_Foundation")]
4144 pub struct RTM_DEST_INFO_0 {
4145 pub ViewId: i32,
4146 pub NumRoutes: u32,
4147 pub Route: isize,
4148 pub Owner: isize,
4149 pub DestFlags: u32,
4150 pub HoldRoute: isize,
4151 }
4152 #[cfg(feature = "Win32_Foundation")]
4153 impl ::core::marker::Copy for RTM_DEST_INFO_0 {}
4154 #[cfg(feature = "Win32_Foundation")]
4155 impl ::core::clone::Clone for RTM_DEST_INFO_0 {
4156 fn clone(&self) -> Self {
4157 *self
4158 }
4159 }
4160 #[repr(C)]
4161 pub struct RTM_ENTITY_EXPORT_METHODS {
4162 pub NumMethods: u32,
4163 pub Methods: [RTM_ENTITY_EXPORT_METHOD; 1],
4164 }
4165 impl ::core::marker::Copy for RTM_ENTITY_EXPORT_METHODS {}
4166 impl ::core::clone::Clone for RTM_ENTITY_EXPORT_METHODS {
4167 fn clone(&self) -> Self {
4168 *self
4169 }
4170 }
4171 #[repr(C)]
4172 pub struct RTM_ENTITY_ID {
4173 pub Anonymous: RTM_ENTITY_ID_0,
4174 }
4175 impl ::core::marker::Copy for RTM_ENTITY_ID {}
4176 impl ::core::clone::Clone for RTM_ENTITY_ID {
4177 fn clone(&self) -> Self {
4178 *self
4179 }
4180 }
4181 #[repr(C)]
4182 pub union RTM_ENTITY_ID_0 {
4183 pub Anonymous: RTM_ENTITY_ID_0_0,
4184 pub EntityId: u64,
4185 }
4186 impl ::core::marker::Copy for RTM_ENTITY_ID_0 {}
4187 impl ::core::clone::Clone for RTM_ENTITY_ID_0 {
4188 fn clone(&self) -> Self {
4189 *self
4190 }
4191 }
4192 #[repr(C)]
4193 pub struct RTM_ENTITY_ID_0_0 {
4194 pub EntityProtocolId: u32,
4195 pub EntityInstanceId: u32,
4196 }
4197 impl ::core::marker::Copy for RTM_ENTITY_ID_0_0 {}
4198 impl ::core::clone::Clone for RTM_ENTITY_ID_0_0 {
4199 fn clone(&self) -> Self {
4200 *self
4201 }
4202 }
4203 #[repr(C)]
4204 pub struct RTM_ENTITY_INFO {
4205 pub RtmInstanceId: u16,
4206 pub AddressFamily: u16,
4207 pub EntityId: RTM_ENTITY_ID,
4208 }
4209 impl ::core::marker::Copy for RTM_ENTITY_INFO {}
4210 impl ::core::clone::Clone for RTM_ENTITY_INFO {
4211 fn clone(&self) -> Self {
4212 *self
4213 }
4214 }
4215 #[repr(C)]
4216 pub struct RTM_ENTITY_METHOD_INPUT {
4217 pub MethodType: u32,
4218 pub InputSize: u32,
4219 pub InputData: [u8; 1],
4220 }
4221 impl ::core::marker::Copy for RTM_ENTITY_METHOD_INPUT {}
4222 impl ::core::clone::Clone for RTM_ENTITY_METHOD_INPUT {
4223 fn clone(&self) -> Self {
4224 *self
4225 }
4226 }
4227 #[repr(C)]
4228 pub struct RTM_ENTITY_METHOD_OUTPUT {
4229 pub MethodType: u32,
4230 pub MethodStatus: u32,
4231 pub OutputSize: u32,
4232 pub OutputData: [u8; 1],
4233 }
4234 impl ::core::marker::Copy for RTM_ENTITY_METHOD_OUTPUT {}
4235 impl ::core::clone::Clone for RTM_ENTITY_METHOD_OUTPUT {
4236 fn clone(&self) -> Self {
4237 *self
4238 }
4239 }
4240 #[repr(C)]
4241 pub struct RTM_NET_ADDRESS {
4242 pub AddressFamily: u16,
4243 pub NumBits: u16,
4244 pub AddrBits: [u8; 16],
4245 }
4246 impl ::core::marker::Copy for RTM_NET_ADDRESS {}
4247 impl ::core::clone::Clone for RTM_NET_ADDRESS {
4248 fn clone(&self) -> Self {
4249 *self
4250 }
4251 }
4252 #[repr(C)]
4253 pub struct RTM_NEXTHOP_INFO {
4254 pub NextHopAddress: RTM_NET_ADDRESS,
4255 pub NextHopOwner: isize,
4256 pub InterfaceIndex: u32,
4257 pub State: u16,
4258 pub Flags: u16,
4259 pub EntitySpecificInfo: *mut ::core::ffi::c_void,
4260 pub RemoteNextHop: isize,
4261 }
4262 impl ::core::marker::Copy for RTM_NEXTHOP_INFO {}
4263 impl ::core::clone::Clone for RTM_NEXTHOP_INFO {
4264 fn clone(&self) -> Self {
4265 *self
4266 }
4267 }
4268 #[repr(C)]
4269 pub struct RTM_NEXTHOP_LIST {
4270 pub NumNextHops: u16,
4271 pub NextHops: [isize; 1],
4272 }
4273 impl ::core::marker::Copy for RTM_NEXTHOP_LIST {}
4274 impl ::core::clone::Clone for RTM_NEXTHOP_LIST {
4275 fn clone(&self) -> Self {
4276 *self
4277 }
4278 }
4279 #[repr(C)]
4280 pub struct RTM_PREF_INFO {
4281 pub Metric: u32,
4282 pub Preference: u32,
4283 }
4284 impl ::core::marker::Copy for RTM_PREF_INFO {}
4285 impl ::core::clone::Clone for RTM_PREF_INFO {
4286 fn clone(&self) -> Self {
4287 *self
4288 }
4289 }
4290 #[repr(C)]
4291 pub struct RTM_REGN_PROFILE {
4292 pub MaxNextHopsInRoute: u32,
4293 pub MaxHandlesInEnum: u32,
4294 pub ViewsSupported: u32,
4295 pub NumberOfViews: u32,
4296 }
4297 impl ::core::marker::Copy for RTM_REGN_PROFILE {}
4298 impl ::core::clone::Clone for RTM_REGN_PROFILE {
4299 fn clone(&self) -> Self {
4300 *self
4301 }
4302 }
4303 #[repr(C)]
4304 pub struct RTM_ROUTE_INFO {
4305 pub DestHandle: isize,
4306 pub RouteOwner: isize,
4307 pub Neighbour: isize,
4308 pub State: u8,
4309 pub Flags1: u8,
4310 pub Flags: u16,
4311 pub PrefInfo: RTM_PREF_INFO,
4312 pub BelongsToViews: u32,
4313 pub EntitySpecificInfo: *mut ::core::ffi::c_void,
4314 pub NextHopsList: RTM_NEXTHOP_LIST,
4315 }
4316 impl ::core::marker::Copy for RTM_ROUTE_INFO {}
4317 impl ::core::clone::Clone for RTM_ROUTE_INFO {
4318 fn clone(&self) -> Self {
4319 *self
4320 }
4321 }
4322 #[repr(C)]
4323 pub struct SECURITY_MESSAGE {
4324 pub dwMsgId: SECURITY_MESSAGE_MSG_ID,
4325 pub hPort: isize,
4326 pub dwError: u32,
4327 pub UserName: [u8; 257],
4328 pub Domain: [u8; 16],
4329 }
4330 impl ::core::marker::Copy for SECURITY_MESSAGE {}
4331 impl ::core::clone::Clone for SECURITY_MESSAGE {
4332 fn clone(&self) -> Self {
4333 *self
4334 }
4335 }
4336 #[repr(C)]
4337 pub struct SOURCE_GROUP_ENTRY {
4338 pub dwSourceAddr: u32,
4339 pub dwSourceMask: u32,
4340 pub dwGroupAddr: u32,
4341 pub dwGroupMask: u32,
4342 }
4343 impl ::core::marker::Copy for SOURCE_GROUP_ENTRY {}
4344 impl ::core::clone::Clone for SOURCE_GROUP_ENTRY {
4345 fn clone(&self) -> Self {
4346 *self
4347 }
4348 }
4349 #[repr(C)]
4350 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
4351 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
4352 pub struct SSTP_CERT_INFO {
4353 pub isDefault: super::super::Foundation::BOOL,
4354 pub certBlob: super::super::Security::Cryptography::CRYPT_INTEGER_BLOB,
4355 }
4356 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
4357 impl ::core::marker::Copy for SSTP_CERT_INFO {}
4358 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
4359 impl ::core::clone::Clone for SSTP_CERT_INFO {
4360 fn clone(&self) -> Self {
4361 *self
4362 }
4363 }
4364 #[repr(C)]
4365 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
4366 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
4367 pub struct SSTP_CONFIG_PARAMS {
4368 pub dwNumPorts: u32,
4369 pub dwPortFlags: u32,
4370 pub isUseHttps: super::super::Foundation::BOOL,
4371 pub certAlgorithm: u32,
4372 pub sstpCertDetails: SSTP_CERT_INFO,
4373 }
4374 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
4375 impl ::core::marker::Copy for SSTP_CONFIG_PARAMS {}
4376 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
4377 impl ::core::clone::Clone for SSTP_CONFIG_PARAMS {
4378 fn clone(&self) -> Self {
4379 *self
4380 }
4381 }
4382 #[repr(C)]
4383 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
4384 #[cfg(feature = "Win32_Networking_WinSock")]
4385 pub struct VPN_TS_IP_ADDRESS {
4386 pub Type: u16,
4387 pub Anonymous: VPN_TS_IP_ADDRESS_0,
4388 }
4389 #[cfg(feature = "Win32_Networking_WinSock")]
4390 impl ::core::marker::Copy for VPN_TS_IP_ADDRESS {}
4391 #[cfg(feature = "Win32_Networking_WinSock")]
4392 impl ::core::clone::Clone for VPN_TS_IP_ADDRESS {
4393 fn clone(&self) -> Self {
4394 *self
4395 }
4396 }
4397 #[repr(C)]
4398 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
4399 #[cfg(feature = "Win32_Networking_WinSock")]
4400 pub union VPN_TS_IP_ADDRESS_0 {
4401 pub v4: super::super::Networking::WinSock::IN_ADDR,
4402 pub v6: super::super::Networking::WinSock::IN6_ADDR,
4403 }
4404 #[cfg(feature = "Win32_Networking_WinSock")]
4405 impl ::core::marker::Copy for VPN_TS_IP_ADDRESS_0 {}
4406 #[cfg(feature = "Win32_Networking_WinSock")]
4407 impl ::core::clone::Clone for VPN_TS_IP_ADDRESS_0 {
4408 fn clone(&self) -> Self {
4409 *self
4410 }
4411 }
4412 #[doc = "Required features: `\"Win32_Foundation\"`"]
4413 #[cfg(feature = "Win32_Foundation")]
4414 pub type ORASADFUNC = ::core::option::Option<unsafe extern "system" fn(param0: super::super::Foundation::HWND, param1: ::windows_sys::core::PCSTR, param2: u32, param3: *mut u32) -> super::super::Foundation::BOOL>;
4415 pub type PFNRASFREEBUFFER = ::core::option::Option<unsafe extern "system" fn(pbufer: *mut u8) -> u32>;
4416 pub type PFNRASGETBUFFER = ::core::option::Option<unsafe extern "system" fn(ppbuffer: *mut *mut u8, pdwsize: *mut u32) -> u32>;
4417 #[doc = "Required features: `\"Win32_Foundation\"`"]
4418 #[cfg(feature = "Win32_Foundation")]
4419 pub type PFNRASRECEIVEBUFFER = ::core::option::Option<unsafe extern "system" fn(hport: super::super::Foundation::HANDLE, pbuffer: *mut u8, pdwsize: *mut u32, dwtimeout: u32, hevent: super::super::Foundation::HANDLE) -> u32>;
4420 #[doc = "Required features: `\"Win32_Foundation\"`"]
4421 #[cfg(feature = "Win32_Foundation")]
4422 pub type PFNRASRETRIEVEBUFFER = ::core::option::Option<unsafe extern "system" fn(hport: super::super::Foundation::HANDLE, pbuffer: *mut u8, pdwsize: *mut u32) -> u32>;
4423 #[doc = "Required features: `\"Win32_Foundation\"`"]
4424 #[cfg(feature = "Win32_Foundation")]
4425 pub type PFNRASSENDBUFFER = ::core::option::Option<unsafe extern "system" fn(hport: super::super::Foundation::HANDLE, pbuffer: *mut u8, dwsize: u32) -> u32>;
4426 #[doc = "Required features: `\"Win32_Foundation\"`"]
4427 #[cfg(feature = "Win32_Foundation")]
4428 pub type PFNRASSETCOMMSETTINGS = ::core::option::Option<unsafe extern "system" fn(hport: super::super::Foundation::HANDLE, prascommsettings: *mut RASCOMMSETTINGS, pvreserved: *mut ::core::ffi::c_void) -> u32>;
4429 #[doc = "Required features: `\"Win32_Foundation\"`"]
4430 #[cfg(feature = "Win32_Foundation")]
4431 pub type PMGM_CREATION_ALERT_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwsourceaddr: u32, dwsourcemask: u32, dwgroupaddr: u32, dwgroupmask: u32, dwinifindex: u32, dwinifnexthopaddr: u32, dwifcount: u32, pmieoutiflist: *mut MGM_IF_ENTRY) -> u32>;
4432 pub type PMGM_DISABLE_IGMP_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwifindex: u32, dwifnexthopaddr: u32) -> u32>;
4433 pub type PMGM_ENABLE_IGMP_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwifindex: u32, dwifnexthopaddr: u32) -> u32>;
4434 #[doc = "Required features: `\"Win32_Foundation\"`"]
4435 #[cfg(feature = "Win32_Foundation")]
4436 pub type PMGM_JOIN_ALERT_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwsourceaddr: u32, dwsourcemask: u32, dwgroupaddr: u32, dwgroupmask: u32, bmemberupdate: super::super::Foundation::BOOL) -> u32>;
4437 pub type PMGM_LOCAL_JOIN_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwsourceaddr: u32, dwsourcemask: u32, dwgroupaddr: u32, dwgroupmask: u32, dwifindex: u32, dwifnexthopaddr: u32) -> u32>;
4438 pub type PMGM_LOCAL_LEAVE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwsourceaddr: u32, dwsourcemask: u32, dwgroupaddr: u32, dwgroupmask: u32, dwifindex: u32, dwifnexthopaddr: u32) -> u32>;
4439 #[doc = "Required features: `\"Win32_Foundation\"`"]
4440 #[cfg(feature = "Win32_Foundation")]
4441 pub type PMGM_PRUNE_ALERT_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwsourceaddr: u32, dwsourcemask: u32, dwgroupaddr: u32, dwgroupmask: u32, dwifindex: u32, dwifnexthopaddr: u32, bmemberdelete: super::super::Foundation::BOOL, pdwtimeout: *mut u32) -> u32>;
4442 pub type PMGM_RPF_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwsourceaddr: u32, dwsourcemask: u32, dwgroupaddr: u32, dwgroupmask: u32, pdwinifindex: *mut u32, pdwinifnexthopaddr: *mut u32, pdwupstreamnbr: *mut u32, dwhdrsize: u32, pbpackethdr: *mut u8, pbroute: *mut u8) -> u32>;
4443 pub type PMGM_WRONG_IF_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwsourceaddr: u32, dwgroupaddr: u32, dwifindex: u32, dwifnexthopaddr: u32, dwhdrsize: u32, pbpackethdr: *mut u8) -> u32>;
4444 #[doc = "Required features: `\"Win32_Foundation\"`"]
4445 #[cfg(feature = "Win32_Foundation")]
4446 pub type PMPRADMINACCEPTNEWCONNECTION = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_0, param1: *mut RAS_CONNECTION_1) -> super::super::Foundation::BOOL>;
4447 #[doc = "Required features: `\"Win32_Foundation\"`"]
4448 #[cfg(feature = "Win32_Foundation")]
4449 pub type PMPRADMINACCEPTNEWCONNECTION2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_0, param1: *mut RAS_CONNECTION_1, param2: *mut RAS_CONNECTION_2) -> super::super::Foundation::BOOL>;
4450 #[doc = "Required features: `\"Win32_Foundation\"`"]
4451 #[cfg(feature = "Win32_Foundation")]
4452 pub type PMPRADMINACCEPTNEWCONNECTION3 = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_0, param1: *mut RAS_CONNECTION_1, param2: *mut RAS_CONNECTION_2, param3: *mut RAS_CONNECTION_3) -> super::super::Foundation::BOOL>;
4453 #[doc = "Required features: `\"Win32_Foundation\"`"]
4454 #[cfg(feature = "Win32_Foundation")]
4455 pub type PMPRADMINACCEPTNEWCONNECTIONEX = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_EX) -> super::super::Foundation::BOOL>;
4456 #[doc = "Required features: `\"Win32_Foundation\"`"]
4457 #[cfg(feature = "Win32_Foundation")]
4458 pub type PMPRADMINACCEPTNEWLINK = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_PORT_0, param1: *mut RAS_PORT_1) -> super::super::Foundation::BOOL>;
4459 #[doc = "Required features: `\"Win32_Foundation\"`"]
4460 #[cfg(feature = "Win32_Foundation")]
4461 pub type PMPRADMINACCEPTREAUTHENTICATION = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_0, param1: *mut RAS_CONNECTION_1, param2: *mut RAS_CONNECTION_2, param3: *mut RAS_CONNECTION_3) -> super::super::Foundation::BOOL>;
4462 #[doc = "Required features: `\"Win32_Foundation\"`"]
4463 #[cfg(feature = "Win32_Foundation")]
4464 pub type PMPRADMINACCEPTREAUTHENTICATIONEX = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_EX) -> super::super::Foundation::BOOL>;
4465 #[doc = "Required features: `\"Win32_Foundation\"`"]
4466 #[cfg(feature = "Win32_Foundation")]
4467 pub type PMPRADMINACCEPTTUNNELENDPOINTCHANGEEX = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_EX) -> super::super::Foundation::BOOL>;
4468 #[doc = "Required features: `\"Win32_Foundation\"`"]
4469 #[cfg(feature = "Win32_Foundation")]
4470 pub type PMPRADMINCONNECTIONHANGUPNOTIFICATION = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_0, param1: *mut RAS_CONNECTION_1) -> ()>;
4471 #[doc = "Required features: `\"Win32_Foundation\"`"]
4472 #[cfg(feature = "Win32_Foundation")]
4473 pub type PMPRADMINCONNECTIONHANGUPNOTIFICATION2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_0, param1: *mut RAS_CONNECTION_1, param2: *mut RAS_CONNECTION_2) -> ()>;
4474 #[doc = "Required features: `\"Win32_Foundation\"`"]
4475 #[cfg(feature = "Win32_Foundation")]
4476 pub type PMPRADMINCONNECTIONHANGUPNOTIFICATION3 = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_0, param1: *mut RAS_CONNECTION_1, param2: *mut RAS_CONNECTION_2, param3: RAS_CONNECTION_3) -> ()>;
4477 #[doc = "Required features: `\"Win32_Foundation\"`"]
4478 #[cfg(feature = "Win32_Foundation")]
4479 pub type PMPRADMINCONNECTIONHANGUPNOTIFICATIONEX = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_CONNECTION_EX) -> ()>;
4480 #[doc = "Required features: `\"Win32_Foundation\"`"]
4481 #[cfg(feature = "Win32_Foundation")]
4482 pub type PMPRADMINGETIPADDRESSFORUSER = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: *mut u32, param3: *mut super::super::Foundation::BOOL) -> u32>;
4483 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"]
4484 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
4485 pub type PMPRADMINGETIPV6ADDRESSFORUSER = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: *mut super::super::Networking::WinSock::IN6_ADDR, param3: *mut super::super::Foundation::BOOL) -> u32>;
4486 #[doc = "Required features: `\"Win32_Foundation\"`"]
4487 #[cfg(feature = "Win32_Foundation")]
4488 pub type PMPRADMINLINKHANGUPNOTIFICATION = ::core::option::Option<unsafe extern "system" fn(param0: *mut RAS_PORT_0, param1: *mut RAS_PORT_1) -> ()>;
4489 #[doc = "Required features: `\"Win32_Foundation\"`"]
4490 #[cfg(feature = "Win32_Foundation")]
4491 pub type PMPRADMINRASVALIDATEPREAUTHENTICATEDCONNECTIONEX = ::core::option::Option<unsafe extern "system" fn(param0: *mut AUTH_VALIDATION_EX) -> u32>;
4492 pub type PMPRADMINRELEASEIPADRESS = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: *mut u32) -> ()>;
4493 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
4494 #[cfg(feature = "Win32_Networking_WinSock")]
4495 pub type PMPRADMINRELEASEIPV6ADDRESSFORUSER = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: *mut super::super::Networking::WinSock::IN6_ADDR) -> ()>;
4496 pub type PMPRADMINTERMINATEDLL = ::core::option::Option<unsafe extern "system" fn() -> u32>;
4497 #[doc = "Required features: `\"Win32_Foundation\"`"]
4498 #[cfg(feature = "Win32_Foundation")]
4499 pub type RASADFUNCA = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCSTR, param1: ::windows_sys::core::PCSTR, param2: *mut RASADPARAMS, param3: *mut u32) -> super::super::Foundation::BOOL>;
4500 #[doc = "Required features: `\"Win32_Foundation\"`"]
4501 #[cfg(feature = "Win32_Foundation")]
4502 pub type RASADFUNCW = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: *mut RASADPARAMS, param3: *mut u32) -> super::super::Foundation::BOOL>;
4503 pub type RASDIALFUNC = ::core::option::Option<unsafe extern "system" fn(param0: u32, param1: RASCONNSTATE, param2: u32) -> ()>;
4504 pub type RASDIALFUNC1 = ::core::option::Option<unsafe extern "system" fn(param0: HRASCONN, param1: u32, param2: RASCONNSTATE, param3: u32, param4: u32) -> ()>;
4505 pub type RASDIALFUNC2 = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: u32, param2: HRASCONN, param3: u32, param4: RASCONNSTATE, param5: u32, param6: u32) -> u32>;
4506 pub type RASPBDLGFUNCA = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: u32, param2: ::windows_sys::core::PCSTR, param3: *mut ::core::ffi::c_void) -> ()>;
4507 pub type RASPBDLGFUNCW = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: u32, param2: ::windows_sys::core::PCWSTR, param3: *mut ::core::ffi::c_void) -> ()>;
4508 pub type RASSECURITYPROC = ::core::option::Option<unsafe extern "system" fn() -> u32>;
4509 pub type RTM_ENTITY_EXPORT_METHOD = ::core::option::Option<unsafe extern "system" fn(callerhandle: isize, calleehandle: isize, input: *mut RTM_ENTITY_METHOD_INPUT, output: *mut RTM_ENTITY_METHOD_OUTPUT) -> ()>;
4510 pub type RTM_EVENT_CALLBACK = ::core::option::Option<unsafe extern "system" fn(rtmreghandle: isize, eventtype: RTM_EVENT_TYPE, context1: *mut ::core::ffi::c_void, context2: *mut ::core::ffi::c_void) -> u32>;
4511 pub type RasCustomDeleteEntryNotifyFn = ::core::option::Option<unsafe extern "system" fn(lpszphonebook: ::windows_sys::core::PCWSTR, lpszentry: ::windows_sys::core::PCWSTR, dwflags: u32) -> u32>;
4512 #[doc = "Required features: `\"Win32_Foundation\"`"]
4513 #[cfg(feature = "Win32_Foundation")]
4514 pub type RasCustomDialDlgFn = ::core::option::Option<unsafe extern "system" fn(hinstdll: super::super::Foundation::HINSTANCE, dwflags: u32, lpszphonebook: ::windows_sys::core::PCWSTR, lpszentry: ::windows_sys::core::PCWSTR, lpszphonenumber: ::windows_sys::core::PCWSTR, lpinfo: *mut RASDIALDLG, pvinfo: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
4515 #[doc = "Required features: `\"Win32_Foundation\"`"]
4516 #[cfg(feature = "Win32_Foundation")]
4517 pub type RasCustomDialFn = ::core::option::Option<unsafe extern "system" fn(hinstdll: super::super::Foundation::HINSTANCE, lprasdialextensions: *mut RASDIALEXTENSIONS, lpszphonebook: ::windows_sys::core::PCWSTR, lprasdialparams: *mut RASDIALPARAMSA, dwnotifiertype: u32, lpvnotifier: *mut ::core::ffi::c_void, lphrasconn: *mut HRASCONN, dwflags: u32) -> u32>;
4518 #[doc = "Required features: `\"Win32_Foundation\"`"]
4519 #[cfg(feature = "Win32_Foundation")]
4520 pub type RasCustomEntryDlgFn = ::core::option::Option<unsafe extern "system" fn(hinstdll: super::super::Foundation::HINSTANCE, lpszphonebook: ::windows_sys::core::PCWSTR, lpszentry: ::windows_sys::core::PCWSTR, lpinfo: *mut RASENTRYDLGA, dwflags: u32) -> super::super::Foundation::BOOL>;
4521 pub type RasCustomHangUpFn = ::core::option::Option<unsafe extern "system" fn(hrasconn: HRASCONN) -> u32>;
4522 #[doc = "Required features: `\"Win32_Foundation\"`"]
4523 #[cfg(feature = "Win32_Foundation")]
4524 pub type RasCustomScriptExecuteFn = ::core::option::Option<unsafe extern "system" fn(hport: super::super::Foundation::HANDLE, lpszphonebook: ::windows_sys::core::PCWSTR, lpszentryname: ::windows_sys::core::PCWSTR, pfnrasgetbuffer: PFNRASGETBUFFER, pfnrasfreebuffer: PFNRASFREEBUFFER, pfnrassendbuffer: PFNRASSENDBUFFER, pfnrasreceivebuffer: PFNRASRECEIVEBUFFER, pfnrasretrievebuffer: PFNRASRETRIEVEBUFFER, hwnd: super::super::Foundation::HWND, prasdialparams: *mut RASDIALPARAMSA, pvreserved: *mut ::core::ffi::c_void) -> u32>;