Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Win32/System/RemoteDesktop/mod.rs

raw
1 #[cfg(feature = "Win32_Foundation")]
2 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ProcessIdToSessionId(dwprocessid : u32, psessionid : *mut u32) -> super::super::Foundation:: BOOL);
3 #[cfg(feature = "Win32_Foundation")]
4 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSCloseServer(hserver : super::super::Foundation:: HANDLE) -> ());
5 #[cfg(feature = "Win32_Foundation")]
6 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSConnectSessionA(logonid : u32, targetlogonid : u32, ppassword : ::windows_sys::core::PCSTR, bwait : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL);
7 #[cfg(feature = "Win32_Foundation")]
8 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSConnectSessionW(logonid : u32, targetlogonid : u32, ppassword : ::windows_sys::core::PCWSTR, bwait : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL);
9 #[cfg(feature = "Win32_Foundation")]
10 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSCreateListenerA(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_sys::core::PCSTR, pbuffer : *const WTSLISTENERCONFIGA, flag : u32) -> super::super::Foundation:: BOOL);
11 #[cfg(feature = "Win32_Foundation")]
12 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSCreateListenerW(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_sys::core::PCWSTR, pbuffer : *const WTSLISTENERCONFIGW, flag : u32) -> super::super::Foundation:: BOOL);
13 #[cfg(feature = "Win32_Foundation")]
14 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSDisconnectSession(hserver : super::super::Foundation:: HANDLE, sessionid : u32, bwait : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL);
15 #[cfg(feature = "Win32_Foundation")]
16 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSEnableChildSessions(benable : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL);
17 #[cfg(feature = "Win32_Foundation")]
18 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSEnumerateListenersA(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plisteners : *mut *mut i8, pcount : *mut u32) -> super::super::Foundation:: BOOL);
19 #[cfg(feature = "Win32_Foundation")]
20 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSEnumerateListenersW(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plisteners : *mut *mut u16, pcount : *mut u32) -> super::super::Foundation:: BOOL);
21 #[cfg(feature = "Win32_Foundation")]
22 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSEnumerateProcessesA(hserver : super::super::Foundation:: HANDLE, reserved : u32, version : u32, ppprocessinfo : *mut *mut WTS_PROCESS_INFOA, pcount : *mut u32) -> super::super::Foundation:: BOOL);
23 #[cfg(feature = "Win32_Foundation")]
24 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSEnumerateProcessesExA(hserver : super::super::Foundation:: HANDLE, plevel : *mut u32, sessionid : u32, ppprocessinfo : *mut ::windows_sys::core::PSTR, pcount : *mut u32) -> super::super::Foundation:: BOOL);
25 #[cfg(feature = "Win32_Foundation")]
26 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSEnumerateProcessesExW(hserver : super::super::Foundation:: HANDLE, plevel : *mut u32, sessionid : u32, ppprocessinfo : *mut ::windows_sys::core::PWSTR, pcount : *mut u32) -> super::super::Foundation:: BOOL);
27 #[cfg(feature = "Win32_Foundation")]
28 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSEnumerateProcessesW(hserver : super::super::Foundation:: HANDLE, reserved : u32, version : u32, ppprocessinfo : *mut *mut WTS_PROCESS_INFOW, pcount : *mut u32) -> super::super::Foundation:: BOOL);
29 #[cfg(feature = "Win32_Foundation")]
30 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSEnumerateServersA(pdomainname : ::windows_sys::core::PCSTR, reserved : u32, version : u32, ppserverinfo : *mut *mut WTS_SERVER_INFOA, pcount : *mut u32) -> super::super::Foundation:: BOOL);
31 #[cfg(feature = "Win32_Foundation")]
32 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSEnumerateServersW(pdomainname : ::windows_sys::core::PCWSTR, reserved : u32, version : u32, ppserverinfo : *mut *mut WTS_SERVER_INFOW, pcount : *mut u32) -> super::super::Foundation:: BOOL);
33 #[cfg(feature = "Win32_Foundation")]
34 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSEnumerateSessionsA(hserver : super::super::Foundation:: HANDLE, reserved : u32, version : u32, ppsessioninfo : *mut *mut WTS_SESSION_INFOA, pcount : *mut u32) -> super::super::Foundation:: BOOL);
35 #[cfg(feature = "Win32_Foundation")]
36 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSEnumerateSessionsExA(hserver : super::super::Foundation:: HANDLE, plevel : *mut u32, filter : u32, ppsessioninfo : *mut *mut WTS_SESSION_INFO_1A, pcount : *mut u32) -> super::super::Foundation:: BOOL);
37 #[cfg(feature = "Win32_Foundation")]
38 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSEnumerateSessionsExW(hserver : super::super::Foundation:: HANDLE, plevel : *mut u32, filter : u32, ppsessioninfo : *mut *mut WTS_SESSION_INFO_1W, pcount : *mut u32) -> super::super::Foundation:: BOOL);
39 #[cfg(feature = "Win32_Foundation")]
40 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSEnumerateSessionsW(hserver : super::super::Foundation:: HANDLE, reserved : u32, version : u32, ppsessioninfo : *mut *mut WTS_SESSION_INFOW, pcount : *mut u32) -> super::super::Foundation:: BOOL);
41 ::windows_targets::link!("wtsapi32.dll" "system" fn WTSFreeMemory(pmemory : *mut ::core::ffi::c_void) -> ());
42 #[cfg(feature = "Win32_Foundation")]
43 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSFreeMemoryExA(wtstypeclass : WTS_TYPE_CLASS, pmemory : *const ::core::ffi::c_void, numberofentries : u32) -> super::super::Foundation:: BOOL);
44 #[cfg(feature = "Win32_Foundation")]
45 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSFreeMemoryExW(wtstypeclass : WTS_TYPE_CLASS, pmemory : *const ::core::ffi::c_void, numberofentries : u32) -> super::super::Foundation:: BOOL);
46 ::windows_targets::link!("kernel32.dll" "system" fn WTSGetActiveConsoleSessionId() -> u32);
47 #[cfg(feature = "Win32_Foundation")]
48 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSGetChildSessionId(psessionid : *mut u32) -> super::super::Foundation:: BOOL);
49 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
50 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn WTSGetListenerSecurityA(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_sys::core::PCSTR, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, nlength : u32, lpnlengthneeded : *mut u32) -> super::super::Foundation:: BOOL);
51 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
52 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn WTSGetListenerSecurityW(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_sys::core::PCWSTR, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, nlength : u32, lpnlengthneeded : *mut u32) -> super::super::Foundation:: BOOL);
53 #[cfg(feature = "Win32_Foundation")]
54 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSIsChildSessionsEnabled(pbenabled : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL);
55 #[cfg(feature = "Win32_Foundation")]
56 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSLogoffSession(hserver : super::super::Foundation:: HANDLE, sessionid : u32, bwait : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL);
57 #[cfg(feature = "Win32_Foundation")]
58 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSOpenServerA(pservername : ::windows_sys::core::PCSTR) -> super::super::Foundation:: HANDLE);
59 #[cfg(feature = "Win32_Foundation")]
60 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSOpenServerExA(pservername : ::windows_sys::core::PCSTR) -> super::super::Foundation:: HANDLE);
61 #[cfg(feature = "Win32_Foundation")]
62 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSOpenServerExW(pservername : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: HANDLE);
63 #[cfg(feature = "Win32_Foundation")]
64 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSOpenServerW(pservername : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: HANDLE);
65 #[cfg(feature = "Win32_Foundation")]
66 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSQueryListenerConfigA(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_sys::core::PCSTR, pbuffer : *mut WTSLISTENERCONFIGA) -> super::super::Foundation:: BOOL);
67 #[cfg(feature = "Win32_Foundation")]
68 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSQueryListenerConfigW(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_sys::core::PCWSTR, pbuffer : *mut WTSLISTENERCONFIGW) -> super::super::Foundation:: BOOL);
69 #[cfg(feature = "Win32_Foundation")]
70 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSQuerySessionInformationA(hserver : super::super::Foundation:: HANDLE, sessionid : u32, wtsinfoclass : WTS_INFO_CLASS, ppbuffer : *mut ::windows_sys::core::PSTR, pbytesreturned : *mut u32) -> super::super::Foundation:: BOOL);
71 #[cfg(feature = "Win32_Foundation")]
72 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSQuerySessionInformationW(hserver : super::super::Foundation:: HANDLE, sessionid : u32, wtsinfoclass : WTS_INFO_CLASS, ppbuffer : *mut ::windows_sys::core::PWSTR, pbytesreturned : *mut u32) -> super::super::Foundation:: BOOL);
73 #[cfg(feature = "Win32_Foundation")]
74 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSQueryUserConfigA(pservername : ::windows_sys::core::PCSTR, pusername : ::windows_sys::core::PCSTR, wtsconfigclass : WTS_CONFIG_CLASS, ppbuffer : *mut ::windows_sys::core::PSTR, pbytesreturned : *mut u32) -> super::super::Foundation:: BOOL);
75 #[cfg(feature = "Win32_Foundation")]
76 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSQueryUserConfigW(pservername : ::windows_sys::core::PCWSTR, pusername : ::windows_sys::core::PCWSTR, wtsconfigclass : WTS_CONFIG_CLASS, ppbuffer : *mut ::windows_sys::core::PWSTR, pbytesreturned : *mut u32) -> super::super::Foundation:: BOOL);
77 #[cfg(feature = "Win32_Foundation")]
78 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSQueryUserToken(sessionid : u32, phtoken : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL);
79 #[cfg(feature = "Win32_Foundation")]
80 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSRegisterSessionNotification(hwnd : super::super::Foundation:: HWND, dwflags : u32) -> super::super::Foundation:: BOOL);
81 #[cfg(feature = "Win32_Foundation")]
82 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSRegisterSessionNotificationEx(hserver : super::super::Foundation:: HANDLE, hwnd : super::super::Foundation:: HWND, dwflags : u32) -> super::super::Foundation:: BOOL);
83 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
84 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn WTSSendMessageA(hserver : super::super::Foundation:: HANDLE, sessionid : u32, ptitle : ::windows_sys::core::PCSTR, titlelength : u32, pmessage : ::windows_sys::core::PCSTR, messagelength : u32, style : super::super::UI::WindowsAndMessaging:: MESSAGEBOX_STYLE, timeout : u32, presponse : *mut super::super::UI::WindowsAndMessaging:: MESSAGEBOX_RESULT, bwait : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL);
85 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
86 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn WTSSendMessageW(hserver : super::super::Foundation:: HANDLE, sessionid : u32, ptitle : ::windows_sys::core::PCWSTR, titlelength : u32, pmessage : ::windows_sys::core::PCWSTR, messagelength : u32, style : super::super::UI::WindowsAndMessaging:: MESSAGEBOX_STYLE, timeout : u32, presponse : *mut super::super::UI::WindowsAndMessaging:: MESSAGEBOX_RESULT, bwait : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL);
87 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
88 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn WTSSetListenerSecurityA(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_sys::core::PCSTR, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> super::super::Foundation:: BOOL);
89 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
90 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn WTSSetListenerSecurityW(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_sys::core::PCWSTR, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> super::super::Foundation:: BOOL);
91 #[cfg(feature = "Win32_Foundation")]
92 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSSetRenderHint(prenderhintid : *mut u64, hwndowner : super::super::Foundation:: HWND, renderhinttype : u32, cbhintdatalength : u32, phintdata : *const u8) -> ::windows_sys::core::HRESULT);
93 #[cfg(feature = "Win32_Foundation")]
94 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSSetUserConfigA(pservername : ::windows_sys::core::PCSTR, pusername : ::windows_sys::core::PCSTR, wtsconfigclass : WTS_CONFIG_CLASS, pbuffer : ::windows_sys::core::PCSTR, datalength : u32) -> super::super::Foundation:: BOOL);
95 #[cfg(feature = "Win32_Foundation")]
96 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSSetUserConfigW(pservername : ::windows_sys::core::PCWSTR, pusername : ::windows_sys::core::PCWSTR, wtsconfigclass : WTS_CONFIG_CLASS, pbuffer : ::windows_sys::core::PCWSTR, datalength : u32) -> super::super::Foundation:: BOOL);
97 #[cfg(feature = "Win32_Foundation")]
98 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSShutdownSystem(hserver : super::super::Foundation:: HANDLE, shutdownflag : u32) -> super::super::Foundation:: BOOL);
99 #[cfg(feature = "Win32_Foundation")]
100 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSStartRemoteControlSessionA(ptargetservername : ::windows_sys::core::PCSTR, targetlogonid : u32, hotkeyvk : u8, hotkeymodifiers : u16) -> super::super::Foundation:: BOOL);
101 #[cfg(feature = "Win32_Foundation")]
102 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSStartRemoteControlSessionW(ptargetservername : ::windows_sys::core::PCWSTR, targetlogonid : u32, hotkeyvk : u8, hotkeymodifiers : u16) -> super::super::Foundation:: BOOL);
103 #[cfg(feature = "Win32_Foundation")]
104 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSStopRemoteControlSession(logonid : u32) -> super::super::Foundation:: BOOL);
105 #[cfg(feature = "Win32_Foundation")]
106 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSTerminateProcess(hserver : super::super::Foundation:: HANDLE, processid : u32, exitcode : u32) -> super::super::Foundation:: BOOL);
107 #[cfg(feature = "Win32_Foundation")]
108 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSUnRegisterSessionNotification(hwnd : super::super::Foundation:: HWND) -> super::super::Foundation:: BOOL);
109 #[cfg(feature = "Win32_Foundation")]
110 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSUnRegisterSessionNotificationEx(hserver : super::super::Foundation:: HANDLE, hwnd : super::super::Foundation:: HWND) -> super::super::Foundation:: BOOL);
111 #[cfg(feature = "Win32_Foundation")]
112 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSVirtualChannelClose(hchannelhandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL);
113 #[cfg(feature = "Win32_Foundation")]
114 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSVirtualChannelOpen(hserver : super::super::Foundation:: HANDLE, sessionid : u32, pvirtualname : ::windows_sys::core::PCSTR) -> super::super::Foundation:: HANDLE);
115 #[cfg(feature = "Win32_Foundation")]
116 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSVirtualChannelOpenEx(sessionid : u32, pvirtualname : ::windows_sys::core::PCSTR, flags : u32) -> super::super::Foundation:: HANDLE);
117 #[cfg(feature = "Win32_Foundation")]
118 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSVirtualChannelPurgeInput(hchannelhandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL);
119 #[cfg(feature = "Win32_Foundation")]
120 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSVirtualChannelPurgeOutput(hchannelhandle : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL);
121 #[cfg(feature = "Win32_Foundation")]
122 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSVirtualChannelQuery(hchannelhandle : super::super::Foundation:: HANDLE, param1 : WTS_VIRTUAL_CLASS, ppbuffer : *mut *mut ::core::ffi::c_void, pbytesreturned : *mut u32) -> super::super::Foundation:: BOOL);
123 #[cfg(feature = "Win32_Foundation")]
124 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSVirtualChannelRead(hchannelhandle : super::super::Foundation:: HANDLE, timeout : u32, buffer : ::windows_sys::core::PSTR, buffersize : u32, pbytesread : *mut u32) -> super::super::Foundation:: BOOL);
125 #[cfg(feature = "Win32_Foundation")]
126 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSVirtualChannelWrite(hchannelhandle : super::super::Foundation:: HANDLE, buffer : ::windows_sys::core::PCSTR, length : u32, pbyteswritten : *mut u32) -> super::super::Foundation:: BOOL);
127 #[cfg(feature = "Win32_Foundation")]
128 ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WTSWaitSystemEvent(hserver : super::super::Foundation:: HANDLE, eventmask : u32, peventflags : *mut u32) -> super::super::Foundation:: BOOL);
129 pub type IADsTSUserEx = *mut ::core::ffi::c_void;
130 pub type IAudioDeviceEndpoint = *mut ::core::ffi::c_void;
131 pub type IAudioEndpoint = *mut ::core::ffi::c_void;
132 pub type IAudioEndpointControl = *mut ::core::ffi::c_void;
133 pub type IAudioEndpointRT = *mut ::core::ffi::c_void;
134 pub type IAudioInputEndpointRT = *mut ::core::ffi::c_void;
135 pub type IAudioOutputEndpointRT = *mut ::core::ffi::c_void;
136 pub type IRemoteDesktopClient = *mut ::core::ffi::c_void;
137 pub type IRemoteDesktopClientActions = *mut ::core::ffi::c_void;
138 pub type IRemoteDesktopClientSettings = *mut ::core::ffi::c_void;
139 pub type IRemoteDesktopClientTouchPointer = *mut ::core::ffi::c_void;
140 pub type IRemoteSystemAdditionalInfoProvider = *mut ::core::ffi::c_void;
141 pub type ITSGAccountingEngine = *mut ::core::ffi::c_void;
142 pub type ITSGAuthenticateUserSink = *mut ::core::ffi::c_void;
143 pub type ITSGAuthenticationEngine = *mut ::core::ffi::c_void;
144 pub type ITSGAuthorizeConnectionSink = *mut ::core::ffi::c_void;
145 pub type ITSGAuthorizeResourceSink = *mut ::core::ffi::c_void;
146 pub type ITSGPolicyEngine = *mut ::core::ffi::c_void;
147 pub type ITsSbBaseNotifySink = *mut ::core::ffi::c_void;
148 pub type ITsSbClientConnection = *mut ::core::ffi::c_void;
149 pub type ITsSbClientConnectionPropertySet = *mut ::core::ffi::c_void;
150 pub type ITsSbEnvironment = *mut ::core::ffi::c_void;
151 pub type ITsSbEnvironmentPropertySet = *mut ::core::ffi::c_void;
152 pub type ITsSbFilterPluginStore = *mut ::core::ffi::c_void;
153 pub type ITsSbGenericNotifySink = *mut ::core::ffi::c_void;
154 pub type ITsSbGlobalStore = *mut ::core::ffi::c_void;
155 pub type ITsSbLoadBalanceResult = *mut ::core::ffi::c_void;
156 pub type ITsSbLoadBalancing = *mut ::core::ffi::c_void;
157 pub type ITsSbLoadBalancingNotifySink = *mut ::core::ffi::c_void;
158 pub type ITsSbOrchestration = *mut ::core::ffi::c_void;
159 pub type ITsSbOrchestrationNotifySink = *mut ::core::ffi::c_void;
160 pub type ITsSbPlacement = *mut ::core::ffi::c_void;
161 pub type ITsSbPlacementNotifySink = *mut ::core::ffi::c_void;
162 pub type ITsSbPlugin = *mut ::core::ffi::c_void;
163 pub type ITsSbPluginNotifySink = *mut ::core::ffi::c_void;
164 pub type ITsSbPluginPropertySet = *mut ::core::ffi::c_void;
165 pub type ITsSbPropertySet = *mut ::core::ffi::c_void;
166 pub type ITsSbProvider = *mut ::core::ffi::c_void;
167 pub type ITsSbProvisioning = *mut ::core::ffi::c_void;
168 pub type ITsSbProvisioningPluginNotifySink = *mut ::core::ffi::c_void;
169 pub type ITsSbResourceNotification = *mut ::core::ffi::c_void;
170 pub type ITsSbResourceNotificationEx = *mut ::core::ffi::c_void;
171 pub type ITsSbResourcePlugin = *mut ::core::ffi::c_void;
172 pub type ITsSbResourcePluginStore = *mut ::core::ffi::c_void;
173 pub type ITsSbServiceNotification = *mut ::core::ffi::c_void;
174 pub type ITsSbSession = *mut ::core::ffi::c_void;
175 pub type ITsSbTarget = *mut ::core::ffi::c_void;
176 pub type ITsSbTargetPropertySet = *mut ::core::ffi::c_void;
177 pub type ITsSbTaskInfo = *mut ::core::ffi::c_void;
178 pub type ITsSbTaskPlugin = *mut ::core::ffi::c_void;
179 pub type ITsSbTaskPluginNotifySink = *mut ::core::ffi::c_void;
180 pub type IWRdsEnhancedFastReconnectArbitrator = *mut ::core::ffi::c_void;
181 pub type IWRdsGraphicsChannel = *mut ::core::ffi::c_void;
182 pub type IWRdsGraphicsChannelEvents = *mut ::core::ffi::c_void;
183 pub type IWRdsGraphicsChannelManager = *mut ::core::ffi::c_void;
184 pub type IWRdsProtocolConnection = *mut ::core::ffi::c_void;
185 pub type IWRdsProtocolConnectionCallback = *mut ::core::ffi::c_void;
186 pub type IWRdsProtocolConnectionSettings = *mut ::core::ffi::c_void;
187 pub type IWRdsProtocolLicenseConnection = *mut ::core::ffi::c_void;
188 pub type IWRdsProtocolListener = *mut ::core::ffi::c_void;
189 pub type IWRdsProtocolListenerCallback = *mut ::core::ffi::c_void;
190 pub type IWRdsProtocolLogonErrorRedirector = *mut ::core::ffi::c_void;
191 pub type IWRdsProtocolManager = *mut ::core::ffi::c_void;
192 pub type IWRdsProtocolSettings = *mut ::core::ffi::c_void;
193 pub type IWRdsProtocolShadowCallback = *mut ::core::ffi::c_void;
194 pub type IWRdsProtocolShadowConnection = *mut ::core::ffi::c_void;
195 pub type IWRdsWddmIddProps = *mut ::core::ffi::c_void;
196 pub type IWTSBitmapRenderService = *mut ::core::ffi::c_void;
197 pub type IWTSBitmapRenderer = *mut ::core::ffi::c_void;
198 pub type IWTSBitmapRendererCallback = *mut ::core::ffi::c_void;
199 pub type IWTSListener = *mut ::core::ffi::c_void;
200 pub type IWTSListenerCallback = *mut ::core::ffi::c_void;
201 pub type IWTSPlugin = *mut ::core::ffi::c_void;
202 pub type IWTSPluginServiceProvider = *mut ::core::ffi::c_void;
203 pub type IWTSProtocolConnection = *mut ::core::ffi::c_void;
204 pub type IWTSProtocolConnectionCallback = *mut ::core::ffi::c_void;
205 pub type IWTSProtocolLicenseConnection = *mut ::core::ffi::c_void;
206 pub type IWTSProtocolListener = *mut ::core::ffi::c_void;
207 pub type IWTSProtocolListenerCallback = *mut ::core::ffi::c_void;
208 pub type IWTSProtocolLogonErrorRedirector = *mut ::core::ffi::c_void;
209 pub type IWTSProtocolManager = *mut ::core::ffi::c_void;
210 pub type IWTSProtocolShadowCallback = *mut ::core::ffi::c_void;
211 pub type IWTSProtocolShadowConnection = *mut ::core::ffi::c_void;
212 pub type IWTSSBPlugin = *mut ::core::ffi::c_void;
213 pub type IWTSVirtualChannel = *mut ::core::ffi::c_void;
214 pub type IWTSVirtualChannelCallback = *mut ::core::ffi::c_void;
215 pub type IWTSVirtualChannelManager = *mut ::core::ffi::c_void;
216 pub type IWorkspace = *mut ::core::ffi::c_void;
217 pub type IWorkspace2 = *mut ::core::ffi::c_void;
218 pub type IWorkspace3 = *mut ::core::ffi::c_void;
219 pub type IWorkspaceClientExt = *mut ::core::ffi::c_void;
220 pub type IWorkspaceRegistration = *mut ::core::ffi::c_void;
221 pub type IWorkspaceRegistration2 = *mut ::core::ffi::c_void;
222 pub type IWorkspaceReportMessage = *mut ::core::ffi::c_void;
223 pub type IWorkspaceResTypeRegistry = *mut ::core::ffi::c_void;
224 pub type IWorkspaceScriptable = *mut ::core::ffi::c_void;
225 pub type IWorkspaceScriptable2 = *mut ::core::ffi::c_void;
226 pub type IWorkspaceScriptable3 = *mut ::core::ffi::c_void;
227 pub type ItsPubPlugin = *mut ::core::ffi::c_void;
228 pub type ItsPubPlugin2 = *mut ::core::ffi::c_void;
229 pub type _ITSWkspEvents = *mut ::core::ffi::c_void;
230 pub const AA_AUTH_ANY: AAAuthSchemes = 6i32;
231 pub const AA_AUTH_BASIC: AAAuthSchemes = 1i32;
232 pub const AA_AUTH_CONID: AAAuthSchemes = 10i32;
233 pub const AA_AUTH_COOKIE: AAAuthSchemes = 7i32;
234 pub const AA_AUTH_DIGEST: AAAuthSchemes = 8i32;
235 pub const AA_AUTH_LOGGEDONCREDENTIALS: AAAuthSchemes = 4i32;
236 pub const AA_AUTH_MAX: AAAuthSchemes = 12i32;
237 pub const AA_AUTH_MIN: AAAuthSchemes = 0i32;
238 pub const AA_AUTH_NEGOTIATE: AAAuthSchemes = 5i32;
239 pub const AA_AUTH_NTLM: AAAuthSchemes = 2i32;
240 pub const AA_AUTH_ORGID: AAAuthSchemes = 9i32;
241 pub const AA_AUTH_SC: AAAuthSchemes = 3i32;
242 pub const AA_AUTH_SSPI_NTLM: AAAuthSchemes = 11i32;
243 pub const AA_MAIN_SESSION_CLOSED: AAAccountingDataType = 3i32;
244 pub const AA_MAIN_SESSION_CREATION: AAAccountingDataType = 0i32;
245 pub const AA_SUB_SESSION_CLOSED: AAAccountingDataType = 2i32;
246 pub const AA_SUB_SESSION_CREATION: AAAccountingDataType = 1i32;
247 pub const AA_TRUSTEDUSER_TRUSTEDCLIENT: AATrustClassID = 2i32;
248 pub const AA_TRUSTEDUSER_UNTRUSTEDCLIENT: AATrustClassID = 1i32;
249 pub const AA_UNTRUSTED: AATrustClassID = 0i32;
250 pub const ACQUIRE_TARGET_LOCK_TIMEOUT: u32 = 300000u32;
251 pub const ADsTSUserEx: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe2e9cae6_1e7b_4b8e_babd_e9bf6292ac29);
252 pub const AllowOnlySDRServers: PolicyAttributeType = 7i32;
253 pub const CHANNEL_BUFFER_SIZE: u32 = 65535u32;
254 pub const CHANNEL_CHUNK_LENGTH: u32 = 1600u32;
255 pub const CHANNEL_EVENT_CONNECTED: u32 = 1u32;
256 pub const CHANNEL_EVENT_DATA_RECEIVED: u32 = 10u32;
257 pub const CHANNEL_EVENT_DISCONNECTED: u32 = 3u32;
258 pub const CHANNEL_EVENT_INITIALIZED: u32 = 0u32;
259 pub const CHANNEL_EVENT_TERMINATED: u32 = 4u32;
260 pub const CHANNEL_EVENT_V1_CONNECTED: u32 = 2u32;
261 pub const CHANNEL_EVENT_WRITE_CANCELLED: u32 = 12u32;
262 pub const CHANNEL_EVENT_WRITE_COMPLETE: u32 = 11u32;
263 pub const CHANNEL_FLAG_FAIL: u32 = 256u32;
264 pub const CHANNEL_FLAG_FIRST: u32 = 1u32;
265 pub const CHANNEL_FLAG_LAST: u32 = 2u32;
266 pub const CHANNEL_FLAG_MIDDLE: u32 = 0u32;
267 pub const CHANNEL_MAX_COUNT: u32 = 30u32;
268 pub const CHANNEL_NAME_LEN: u32 = 7u32;
269 pub const CHANNEL_OPTION_COMPRESS: u32 = 4194304u32;
270 pub const CHANNEL_OPTION_COMPRESS_RDP: u32 = 8388608u32;
271 pub const CHANNEL_OPTION_ENCRYPT_CS: u32 = 268435456u32;
272 pub const CHANNEL_OPTION_ENCRYPT_RDP: u32 = 1073741824u32;
273 pub const CHANNEL_OPTION_ENCRYPT_SC: u32 = 536870912u32;
274 pub const CHANNEL_OPTION_INITIALIZED: u32 = 2147483648u32;
275 pub const CHANNEL_OPTION_PRI_HIGH: u32 = 134217728u32;
276 pub const CHANNEL_OPTION_PRI_LOW: u32 = 33554432u32;
277 pub const CHANNEL_OPTION_PRI_MED: u32 = 67108864u32;
278 pub const CHANNEL_OPTION_REMOTE_CONTROL_PERSISTENT: u32 = 1048576u32;
279 pub const CHANNEL_OPTION_SHOW_PROTOCOL: u32 = 2097152u32;
280 pub const CHANNEL_RC_ALREADY_CONNECTED: u32 = 3u32;
281 pub const CHANNEL_RC_ALREADY_INITIALIZED: u32 = 1u32;
282 pub const CHANNEL_RC_ALREADY_OPEN: u32 = 14u32;
283 pub const CHANNEL_RC_BAD_CHANNEL: u32 = 6u32;
284 pub const CHANNEL_RC_BAD_CHANNEL_HANDLE: u32 = 7u32;
285 pub const CHANNEL_RC_BAD_INIT_HANDLE: u32 = 9u32;
286 pub const CHANNEL_RC_BAD_PROC: u32 = 11u32;
287 pub const CHANNEL_RC_INITIALIZATION_ERROR: u32 = 20u32;
288 pub const CHANNEL_RC_INVALID_INSTANCE: u32 = 18u32;
289 pub const CHANNEL_RC_NOT_CONNECTED: u32 = 4u32;
290 pub const CHANNEL_RC_NOT_INITIALIZED: u32 = 2u32;
291 pub const CHANNEL_RC_NOT_IN_VIRTUALCHANNELENTRY: u32 = 15u32;
292 pub const CHANNEL_RC_NOT_OPEN: u32 = 10u32;
293 pub const CHANNEL_RC_NO_BUFFER: u32 = 8u32;
294 pub const CHANNEL_RC_NO_MEMORY: u32 = 12u32;
295 pub const CHANNEL_RC_NULL_DATA: u32 = 16u32;
296 pub const CHANNEL_RC_OK: u32 = 0u32;
297 pub const CHANNEL_RC_TOO_MANY_CHANNELS: u32 = 5u32;
298 pub const CHANNEL_RC_UNKNOWN_CHANNEL_NAME: u32 = 13u32;
299 pub const CHANNEL_RC_UNSUPPORTED_VERSION: u32 = 19u32;
300 pub const CHANNEL_RC_ZERO_LENGTH: u32 = 17u32;
301 pub const CLIENTADDRESS_LENGTH: u32 = 30u32;
302 pub const CLIENTNAME_LENGTH: u32 = 20u32;
303 pub const CLIENT_MESSAGE_CONNECTION_ERROR: CLIENT_MESSAGE_TYPE = 2i32;
304 pub const CLIENT_MESSAGE_CONNECTION_INVALID: CLIENT_MESSAGE_TYPE = 0i32;
305 pub const CLIENT_MESSAGE_CONNECTION_STATUS: CLIENT_MESSAGE_TYPE = 1i32;
306 pub const CONNECTION_PROPERTY_CURSOR_BLINK_DISABLED: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4b150580_fea4_4d3c_9de4_7433a66618f7);
307 pub const CONNECTION_PROPERTY_IDLE_TIME_WARNING: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x693f7ff5_0c4e_4d17_b8e0_1f70325e5d58);
308 pub const CONNECTION_REQUEST_CANCELLED: CONNECTION_CHANGE_NOTIFICATION = 5i32;
309 pub const CONNECTION_REQUEST_FAILED: CONNECTION_CHANGE_NOTIFICATION = 2i32;
310 pub const CONNECTION_REQUEST_INVALID: CONNECTION_CHANGE_NOTIFICATION = 0i32;
311 pub const CONNECTION_REQUEST_LB_COMPLETED: CONNECTION_CHANGE_NOTIFICATION = 6i32;
312 pub const CONNECTION_REQUEST_ORCH_COMPLETED: CONNECTION_CHANGE_NOTIFICATION = 8i32;
313 pub const CONNECTION_REQUEST_PENDING: CONNECTION_CHANGE_NOTIFICATION = 1i32;
314 pub const CONNECTION_REQUEST_QUERY_PL_COMPLETED: CONNECTION_CHANGE_NOTIFICATION = 7i32;
315 pub const CONNECTION_REQUEST_SUCCEEDED: CONNECTION_CHANGE_NOTIFICATION = 4i32;
316 pub const CONNECTION_REQUEST_TIMEDOUT: CONNECTION_CHANGE_NOTIFICATION = 3i32;
317 pub const ClipboardRedirectionDisabled: PolicyAttributeType = 5i32;
318 pub const DISPID_AX_ADMINMESSAGERECEIVED: u32 = 760u32;
319 pub const DISPID_AX_AUTORECONNECTED: u32 = 756u32;
320 pub const DISPID_AX_AUTORECONNECTING: u32 = 755u32;
321 pub const DISPID_AX_CONNECTED: u32 = 751u32;
322 pub const DISPID_AX_CONNECTING: u32 = 750u32;
323 pub const DISPID_AX_DIALOGDISMISSED: u32 = 758u32;
324 pub const DISPID_AX_DIALOGDISPLAYING: u32 = 757u32;
325 pub const DISPID_AX_DISCONNECTED: u32 = 753u32;
326 pub const DISPID_AX_KEYCOMBINATIONPRESSED: u32 = 761u32;
327 pub const DISPID_AX_LOGINCOMPLETED: u32 = 752u32;
328 pub const DISPID_AX_NETWORKSTATUSCHANGED: u32 = 759u32;
329 pub const DISPID_AX_REMOTEDESKTOPSIZECHANGED: u32 = 762u32;
330 pub const DISPID_AX_STATUSCHANGED: u32 = 754u32;
331 pub const DISPID_AX_TOUCHPOINTERCURSORMOVED: u32 = 800u32;
332 pub const DISPID_METHOD_REMOTEDESKTOPCLIENT_APPLY_SETTINGS: u32 = 722u32;
333 pub const DISPID_METHOD_REMOTEDESKTOPCLIENT_ATTACH_EVENT: u32 = 706u32;
334 pub const DISPID_METHOD_REMOTEDESKTOPCLIENT_CONNECT: u32 = 701u32;
335 pub const DISPID_METHOD_REMOTEDESKTOPCLIENT_DELETE_SAVED_CREDENTIALS: u32 = 704u32;
336 pub const DISPID_METHOD_REMOTEDESKTOPCLIENT_DETACH_EVENT: u32 = 707u32;
337 pub const DISPID_METHOD_REMOTEDESKTOPCLIENT_DISCONNECT: u32 = 702u32;
338 pub const DISPID_METHOD_REMOTEDESKTOPCLIENT_EXECUTE_REMOTE_ACTION: u32 = 732u32;
339 pub const DISPID_METHOD_REMOTEDESKTOPCLIENT_GET_RDPPROPERTY: u32 = 721u32;
340 pub const DISPID_METHOD_REMOTEDESKTOPCLIENT_GET_SNAPSHOT: u32 = 733u32;
341 pub const DISPID_METHOD_REMOTEDESKTOPCLIENT_RECONNECT: u32 = 703u32;
342 pub const DISPID_METHOD_REMOTEDESKTOPCLIENT_RESUME_SCREEN_UPDATES: u32 = 731u32;
343 pub const DISPID_METHOD_REMOTEDESKTOPCLIENT_RETRIEVE_SETTINGS: u32 = 723u32;
344 pub const DISPID_METHOD_REMOTEDESKTOPCLIENT_SET_RDPPROPERTY: u32 = 720u32;
345 pub const DISPID_METHOD_REMOTEDESKTOPCLIENT_SUSPEND_SCREEN_UPDATES: u32 = 730u32;
346 pub const DISPID_METHOD_REMOTEDESKTOPCLIENT_UPDATE_SESSION_DISPLAYSETTINGS: u32 = 705u32;
347 pub const DISPID_PROP_REMOTEDESKTOPCLIENT_ACTIONS: u32 = 711u32;
348 pub const DISPID_PROP_REMOTEDESKTOPCLIENT_SETTINGS: u32 = 710u32;
349 pub const DISPID_PROP_REMOTEDESKTOPCLIENT_TOUCHPOINTER_ENABLED: u32 = 740u32;
350 pub const DISPID_PROP_REMOTEDESKTOPCLIENT_TOUCHPOINTER_EVENTSENABLED: u32 = 741u32;
351 pub const DISPID_PROP_REMOTEDESKTOPCLIENT_TOUCHPOINTER_POINTERSPEED: u32 = 742u32;
352 pub const DISPID_PROP_REMOTEDESKTOPCLIENT_TOUCH_POINTER: u32 = 712u32;
353 pub const DOMAIN_LENGTH: u32 = 17u32;
354 pub const DisableAllRedirections: PolicyAttributeType = 1i32;
355 pub const DriveRedirectionDisabled: PolicyAttributeType = 2i32;
356 pub const EnableAllRedirections: PolicyAttributeType = 0i32;
357 pub const FARM: TARGET_TYPE = 1i32;
358 pub const FORCE_REJOIN: u32 = 2u32;
359 pub const FORCE_REJOIN_IN_CLUSTERMODE: u32 = 3u32;
360 pub const KEEP_EXISTING_SESSIONS: u32 = 8u32;
361 pub const KeyCombinationDown: KeyCombinationType = 4i32;
362 pub const KeyCombinationHome: KeyCombinationType = 0i32;
363 pub const KeyCombinationLeft: KeyCombinationType = 1i32;
364 pub const KeyCombinationRight: KeyCombinationType = 3i32;
365 pub const KeyCombinationScroll: KeyCombinationType = 5i32;
366 pub const KeyCombinationUp: KeyCombinationType = 2i32;
367 pub const LOAD_BALANCING_PLUGIN: PLUGIN_TYPE = 4i32;
368 pub const MAX_DATE_TIME_LENGTH: u32 = 56u32;
369 pub const MAX_ELAPSED_TIME_LENGTH: u32 = 15u32;
370 pub const MAX_POLICY_ATTRIBUTES: u32 = 20u32;
371 pub const MaxAppName_Len: u32 = 256u32;
372 pub const MaxDomainName_Len: u32 = 256u32;
373 pub const MaxFQDN_Len: u32 = 256u32;
374 pub const MaxFarm_Len: u32 = 256u32;
375 pub const MaxNetBiosName_Len: u32 = 16u32;
376 pub const MaxNumOfExposed_IPs: u32 = 12u32;
377 pub const MaxUserName_Len: u32 = 104u32;
378 pub const NONFARM: TARGET_TYPE = 2i32;
379 pub const NOTIFY_FOR_ALL_SESSIONS: u32 = 1u32;
380 pub const NOTIFY_FOR_THIS_SESSION: u32 = 0u32;
381 pub const ORCHESTRATION_PLUGIN: PLUGIN_TYPE = 16i32;
382 pub const OWNER_MS_TS_PLUGIN: TARGET_OWNER = 1i32;
383 pub const OWNER_MS_VM_PLUGIN: TARGET_OWNER = 2i32;
384 pub const OWNER_UNKNOWN: TARGET_OWNER = 0i32;
385 pub const PLACEMENT_PLUGIN: PLUGIN_TYPE = 8i32;
386 pub const PLUGIN_CAPABILITY_EXTERNAL_REDIRECTION: u32 = 1u32;
387 pub const POLICY_PLUGIN: PLUGIN_TYPE = 1i32;
388 pub const POSITION_CONTINUOUS: AE_POSITION_FLAGS = 2i32;
389 pub const POSITION_DISCONTINUOUS: AE_POSITION_FLAGS = 1i32;
390 pub const POSITION_INVALID: AE_POSITION_FLAGS = 0i32;
391 pub const POSITION_QPC_ERROR: AE_POSITION_FLAGS = 4i32;
392 pub const PRODUCTINFO_COMPANYNAME_LENGTH: u32 = 256u32;
393 pub const PRODUCTINFO_PRODUCTID_LENGTH: u32 = 4u32;
394 pub const PROPERTY_DYNAMIC_TIME_ZONE_INFORMATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cdfd28e_d0b9_4c1f_a5eb_6d1f6c6535b9);
395 pub const PROPERTY_TYPE_ENABLE_UNIVERSAL_APPS_FOR_CUSTOM_SHELL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xed2c3fda_338d_4d3f_81a3_e767310d908e);
396 pub const PROPERTY_TYPE_GET_FAST_RECONNECT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6212d757_0043_4862_99c3_9f3059ac2a3b);
397 pub const PROPERTY_TYPE_GET_FAST_RECONNECT_USER_SID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x197c427a_0135_4b6d_9c5e_e6579a0ab625);
398 pub const PROVISIONING_PLUGIN: PLUGIN_TYPE = 32i32;
399 pub const PasswordEncodingUTF16BE: PasswordEncodingType = 2i32;
400 pub const PasswordEncodingUTF16LE: PasswordEncodingType = 1i32;
401 pub const PasswordEncodingUTF8: PasswordEncodingType = 0i32;
402 pub const PnpRedirectionDisabled: PolicyAttributeType = 6i32;
403 pub const PortRedirectionDisabled: PolicyAttributeType = 4i32;
404 pub const PrinterRedirectionDisabled: PolicyAttributeType = 3i32;
405 pub const RDCLIENT_BITMAP_RENDER_SERVICE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe4cc08cb_942e_4b19_8504_bd5a89a747f5);
406 pub const RDV_TASK_STATUS_APPLYING: RDV_TASK_STATUS = 3i32;
407 pub const RDV_TASK_STATUS_DOWNLOADING: RDV_TASK_STATUS = 2i32;
408 pub const RDV_TASK_STATUS_FAILED: RDV_TASK_STATUS = 7i32;
409 pub const RDV_TASK_STATUS_REBOOTED: RDV_TASK_STATUS = 5i32;
410 pub const RDV_TASK_STATUS_REBOOTING: RDV_TASK_STATUS = 4i32;
411 pub const RDV_TASK_STATUS_SEARCHING: RDV_TASK_STATUS = 1i32;
412 pub const RDV_TASK_STATUS_SUCCESS: RDV_TASK_STATUS = 6i32;
413 pub const RDV_TASK_STATUS_TIMEOUT: RDV_TASK_STATUS = 8i32;
414 pub const RDV_TASK_STATUS_UNKNOWN: RDV_TASK_STATUS = 0i32;
415 pub const RD_FARM_AUTO_PERSONAL_RDSH: RD_FARM_TYPE = 5i32;
416 pub const RD_FARM_AUTO_PERSONAL_VM: RD_FARM_TYPE = 3i32;
417 pub const RD_FARM_MANUAL_PERSONAL_RDSH: RD_FARM_TYPE = 4i32;
418 pub const RD_FARM_MANUAL_PERSONAL_VM: RD_FARM_TYPE = 2i32;
419 pub const RD_FARM_RDSH: RD_FARM_TYPE = 0i32;
420 pub const RD_FARM_TEMP_VM: RD_FARM_TYPE = 1i32;
421 pub const RD_FARM_TYPE_UNKNOWN: RD_FARM_TYPE = -1i32;
422 pub const REMOTECONTROL_KBDALT_HOTKEY: u32 = 4u32;
423 pub const REMOTECONTROL_KBDCTRL_HOTKEY: u32 = 2u32;
424 pub const REMOTECONTROL_KBDSHIFT_HOTKEY: u32 = 1u32;
425 pub const RENDER_HINT_CLEAR: u32 = 0u32;
426 pub const RENDER_HINT_MAPPEDWINDOW: u32 = 2u32;
427 pub const RENDER_HINT_VIDEO: u32 = 1u32;
428 pub const RESERVED_FOR_LEGACY: u32 = 4u32;
429 pub const RESOURCE_PLUGIN: PLUGIN_TYPE = 2i32;
430 pub const RFX_CLIENT_ID_LENGTH: u32 = 32u32;
431 pub const RFX_GFX_MAX_SUPPORTED_MONITORS: u32 = 16u32;
432 pub const RFX_GFX_MSG_PREFIX: u32 = 48u32;
433 pub const RFX_GFX_MSG_PREFIX_MASK: u32 = 48u32;
434 pub const RFX_RDP_MSG_PREFIX: u32 = 0u32;
435 pub const RemoteActionAppSwitch: RemoteActionType = 4i32;
436 pub const RemoteActionAppbar: RemoteActionType = 1i32;
437 pub const RemoteActionCharms: RemoteActionType = 0i32;
438 pub const RemoteActionSnap: RemoteActionType = 2i32;
439 pub const RemoteActionStartScreen: RemoteActionType = 3i32;
440 pub const SB_SYNCH_CONFLICT_MAX_WRITE_ATTEMPTS: u32 = 100u32;
441 pub const SESSION_TIMEOUT_ACTION_DISCONNECT: SESSION_TIMEOUT_ACTION_TYPE = 0i32;
442 pub const SESSION_TIMEOUT_ACTION_SILENT_REAUTH: SESSION_TIMEOUT_ACTION_TYPE = 1i32;
443 pub const SINGLE_SESSION: u32 = 1u32;
444 pub const STATE_ACTIVE: TSSESSION_STATE = 0i32;
445 pub const STATE_CONNECTED: TSSESSION_STATE = 1i32;
446 pub const STATE_CONNECTQUERY: TSSESSION_STATE = 2i32;
447 pub const STATE_DISCONNECTED: TSSESSION_STATE = 4i32;
448 pub const STATE_DOWN: TSSESSION_STATE = 8i32;
449 pub const STATE_IDLE: TSSESSION_STATE = 5i32;
450 pub const STATE_INIT: TSSESSION_STATE = 9i32;
451 pub const STATE_INVALID: TSSESSION_STATE = -1i32;
452 pub const STATE_LISTEN: TSSESSION_STATE = 6i32;
453 pub const STATE_MAX: TSSESSION_STATE = 10i32;
454 pub const STATE_RESET: TSSESSION_STATE = 7i32;
455 pub const STATE_SHADOW: TSSESSION_STATE = 3i32;
456 pub const SnapshotEncodingDataUri: SnapshotEncodingType = 0i32;
457 pub const SnapshotFormatBmp: SnapshotFormatType = 2i32;
458 pub const SnapshotFormatJpeg: SnapshotFormatType = 1i32;
459 pub const SnapshotFormatPng: SnapshotFormatType = 0i32;
460 pub const TARGET_CHANGE_UNSPEC: TARGET_CHANGE_TYPE = 1i32;
461 pub const TARGET_CHECKED_OUT: TARGET_STATE = 6i32;
462 pub const TARGET_DOWN: TARGET_STATE = 4i32;
463 pub const TARGET_EXTERNALIP_CHANGED: TARGET_CHANGE_TYPE = 2i32;
464 pub const TARGET_FARM_MEMBERSHIP_CHANGED: TARGET_CHANGE_TYPE = 1024i32;
465 pub const TARGET_HIBERNATED: TARGET_STATE = 5i32;
466 pub const TARGET_IDLE: TARGET_CHANGE_TYPE = 64i32;
467 pub const TARGET_INITIALIZING: TARGET_STATE = 2i32;
468 pub const TARGET_INTERNALIP_CHANGED: TARGET_CHANGE_TYPE = 4i32;
469 pub const TARGET_INUSE: TARGET_CHANGE_TYPE = 256i32;
470 pub const TARGET_INVALID: TARGET_STATE = 8i32;
471 pub const TARGET_JOINED: TARGET_CHANGE_TYPE = 8i32;
472 pub const TARGET_MAXSTATE: TARGET_STATE = 11i32;
473 pub const TARGET_PATCH_COMPLETED: TARGET_PATCH_STATE = 3i32;
474 pub const TARGET_PATCH_FAILED: TARGET_PATCH_STATE = 4i32;
475 pub const TARGET_PATCH_IN_PROGRESS: TARGET_PATCH_STATE = 2i32;
476 pub const TARGET_PATCH_NOT_STARTED: TARGET_PATCH_STATE = 1i32;
477 pub const TARGET_PATCH_STATE_CHANGED: TARGET_CHANGE_TYPE = 512i32;
478 pub const TARGET_PATCH_UNKNOWN: TARGET_PATCH_STATE = 0i32;
479 pub const TARGET_PENDING: TARGET_CHANGE_TYPE = 128i32;
480 pub const TARGET_REMOVED: TARGET_CHANGE_TYPE = 16i32;
481 pub const TARGET_RUNNING: TARGET_STATE = 3i32;
482 pub const TARGET_STARTING: TARGET_STATE = 9i32;
483 pub const TARGET_STATE_CHANGED: TARGET_CHANGE_TYPE = 32i32;
484 pub const TARGET_STOPPED: TARGET_STATE = 7i32;
485 pub const TARGET_STOPPING: TARGET_STATE = 10i32;
486 pub const TARGET_UNKNOWN: TARGET_STATE = 1i32;
487 pub const TASK_PLUGIN: PLUGIN_TYPE = 64i32;
488 pub const TSPUB_PLUGIN_PD_ASSIGNMENT_EXISTING: TSPUB_PLUGIN_PD_ASSIGNMENT_TYPE = 1i32;
489 pub const TSPUB_PLUGIN_PD_ASSIGNMENT_NEW: TSPUB_PLUGIN_PD_ASSIGNMENT_TYPE = 0i32;
490 pub const TSPUB_PLUGIN_PD_QUERY_EXISTING: TSPUB_PLUGIN_PD_RESOLUTION_TYPE = 1i32;
491 pub const TSPUB_PLUGIN_PD_QUERY_OR_CREATE: TSPUB_PLUGIN_PD_RESOLUTION_TYPE = 0i32;
492 pub const TSSB_NOTIFY_CONNECTION_REQUEST_CHANGE: TSSB_NOTIFICATION_TYPE = 4i32;
493 pub const TSSB_NOTIFY_INVALID: TSSB_NOTIFICATION_TYPE = 0i32;
494 pub const TSSB_NOTIFY_SESSION_CHANGE: TSSB_NOTIFICATION_TYPE = 2i32;
495 pub const TSSB_NOTIFY_TARGET_CHANGE: TSSB_NOTIFICATION_TYPE = 1i32;
496 pub const TSSD_ADDR_IPv4: TSSD_AddrV46Type = 4i32;
497 pub const TSSD_ADDR_IPv6: TSSD_AddrV46Type = 6i32;
498 pub const TSSD_ADDR_UNDEFINED: TSSD_AddrV46Type = 0i32;
499 pub const TSUserExInterfaces: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0910dd01_df8c_11d1_ae27_00c04fa35813);
500 pub const TS_SB_SORT_BY_NAME: TS_SB_SORT_BY = 1i32;
501 pub const TS_SB_SORT_BY_NONE: TS_SB_SORT_BY = 0i32;
502 pub const TS_SB_SORT_BY_PROP: TS_SB_SORT_BY = 2i32;
503 pub const TS_VC_LISTENER_STATIC_CHANNEL: u32 = 1u32;
504 pub const UNKNOWN: TARGET_TYPE = 0i32;
505 pub const UNKNOWN_PLUGIN: PLUGIN_TYPE = 0i32;
506 pub const USERNAME_LENGTH: u32 = 20u32;
507 pub const VALIDATIONINFORMATION_HARDWAREID_LENGTH: u32 = 20u32;
508 pub const VALIDATIONINFORMATION_LICENSE_LENGTH: u32 = 16384u32;
509 pub const VIRTUAL_CHANNEL_VERSION_WIN2000: u32 = 1u32;
510 pub const VM_HOST_STATUS_INIT_COMPLETE: VM_HOST_NOTIFY_STATUS = 2i32;
511 pub const VM_HOST_STATUS_INIT_FAILED: VM_HOST_NOTIFY_STATUS = 3i32;
512 pub const VM_HOST_STATUS_INIT_IN_PROGRESS: VM_HOST_NOTIFY_STATUS = 1i32;
513 pub const VM_HOST_STATUS_INIT_PENDING: VM_HOST_NOTIFY_STATUS = 0i32;
514 pub const VM_NOTIFY_STATUS_CANCELED: VM_NOTIFY_STATUS = 4i32;
515 pub const VM_NOTIFY_STATUS_COMPLETE: VM_NOTIFY_STATUS = 2i32;
516 pub const VM_NOTIFY_STATUS_FAILED: VM_NOTIFY_STATUS = 3i32;
517 pub const VM_NOTIFY_STATUS_IN_PROGRESS: VM_NOTIFY_STATUS = 1i32;
518 pub const VM_NOTIFY_STATUS_PENDING: VM_NOTIFY_STATUS = 0i32;
519 pub const WINSTATIONNAME_LENGTH: u32 = 32u32;
520 pub const WKS_FLAG_CLEAR_CREDS_ON_LAST_RESOURCE: u32 = 1u32;
521 pub const WKS_FLAG_CREDS_AUTHENTICATED: u32 = 4u32;
522 pub const WKS_FLAG_PASSWORD_ENCRYPTED: u32 = 2u32;
523 pub const WRDS_CLIENTADDRESS_LENGTH: u32 = 30u32;
524 pub const WRDS_CLIENTNAME_LENGTH: u32 = 20u32;
525 pub const WRDS_CLIENT_PRODUCT_ID_LENGTH: u32 = 32u32;
526 pub const WRDS_CONNECTION_SETTING_LEVEL_1: WRDS_CONNECTION_SETTING_LEVEL = 1i32;
527 pub const WRDS_CONNECTION_SETTING_LEVEL_INVALID: WRDS_CONNECTION_SETTING_LEVEL = 0i32;
528 pub const WRDS_DEVICE_NAME_LENGTH: u32 = 19u32;
529 pub const WRDS_DIRECTORY_LENGTH: u32 = 256u32;
530 pub const WRDS_DOMAIN_LENGTH: u32 = 255u32;
531 pub const WRDS_DRIVER_NAME_LENGTH: u32 = 8u32;
532 pub const WRDS_IMEFILENAME_LENGTH: u32 = 32u32;
533 pub const WRDS_INITIALPROGRAM_LENGTH: u32 = 256u32;
534 pub const WRDS_KEY_EXCHANGE_ALG_DH: u32 = 2u32;
535 pub const WRDS_KEY_EXCHANGE_ALG_RSA: u32 = 1u32;
536 pub const WRDS_LICENSE_PREAMBLE_VERSION: u32 = 3u32;
537 pub const WRDS_LICENSE_PROTOCOL_VERSION: u32 = 65536u32;
538 pub const WRDS_LISTENER_SETTING_LEVEL_1: WRDS_LISTENER_SETTING_LEVEL = 1i32;
539 pub const WRDS_LISTENER_SETTING_LEVEL_INVALID: WRDS_LISTENER_SETTING_LEVEL = 0i32;
540 pub const WRDS_MAX_CACHE_RESERVED: u32 = 20u32;
541 pub const WRDS_MAX_COUNTERS: u32 = 100u32;
542 pub const WRDS_MAX_DISPLAY_IOCTL_DATA: u32 = 256u32;
543 pub const WRDS_MAX_PROTOCOL_CACHE: u32 = 4u32;
544 pub const WRDS_MAX_RESERVED: u32 = 100u32;
545 pub const WRDS_PASSWORD_LENGTH: u32 = 255u32;
546 pub const WRDS_PERF_DISABLE_CURSORSETTINGS: u32 = 64u32;
547 pub const WRDS_PERF_DISABLE_CURSOR_SHADOW: u32 = 32u32;
548 pub const WRDS_PERF_DISABLE_FULLWINDOWDRAG: u32 = 2u32;
549 pub const WRDS_PERF_DISABLE_MENUANIMATIONS: u32 = 4u32;
550 pub const WRDS_PERF_DISABLE_NOTHING: u32 = 0u32;
551 pub const WRDS_PERF_DISABLE_THEMING: u32 = 8u32;
552 pub const WRDS_PERF_DISABLE_WALLPAPER: u32 = 1u32;
553 pub const WRDS_PERF_ENABLE_DESKTOP_COMPOSITION: u32 = 256u32;
554 pub const WRDS_PERF_ENABLE_ENHANCED_GRAPHICS: u32 = 16u32;
555 pub const WRDS_PERF_ENABLE_FONT_SMOOTHING: u32 = 128u32;
556 pub const WRDS_PROTOCOL_NAME_LENGTH: u32 = 8u32;
557 pub const WRDS_SERVICE_ID_GRAPHICS_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd2993f4d_02cf_4280_8c48_1624b44f8706);
558 pub const WRDS_SETTING_LEVEL_1: WRDS_SETTING_LEVEL = 1i32;
559 pub const WRDS_SETTING_LEVEL_INVALID: WRDS_SETTING_LEVEL = 0i32;
560 pub const WRDS_SETTING_STATUS_DISABLED: WRDS_SETTING_STATUS = 0i32;
561 pub const WRDS_SETTING_STATUS_ENABLED: WRDS_SETTING_STATUS = 1i32;
562 pub const WRDS_SETTING_STATUS_NOTAPPLICABLE: WRDS_SETTING_STATUS = -1i32;
563 pub const WRDS_SETTING_STATUS_NOTCONFIGURED: WRDS_SETTING_STATUS = 2i32;
564 pub const WRDS_SETTING_TYPE_INVALID: WRDS_SETTING_TYPE = 0i32;
565 pub const WRDS_SETTING_TYPE_MACHINE: WRDS_SETTING_TYPE = 1i32;
566 pub const WRDS_SETTING_TYPE_SAM: WRDS_SETTING_TYPE = 3i32;
567 pub const WRDS_SETTING_TYPE_USER: WRDS_SETTING_TYPE = 2i32;
568 pub const WRDS_USERNAME_LENGTH: u32 = 255u32;
569 pub const WRDS_VALUE_TYPE_BINARY: u32 = 3u32;
570 pub const WRDS_VALUE_TYPE_GUID: u32 = 4u32;
571 pub const WRDS_VALUE_TYPE_STRING: u32 = 2u32;
572 pub const WRDS_VALUE_TYPE_ULONG: u32 = 1u32;
573 pub const WRdsGraphicsChannelType_BestEffortDelivery: WRdsGraphicsChannelType = 1i32;
574 pub const WRdsGraphicsChannelType_GuaranteedDelivery: WRdsGraphicsChannelType = 0i32;
575 pub const WRdsGraphicsChannels_LossyChannelMaxMessageSize: u32 = 988u32;
576 pub const WTSActive: WTS_CONNECTSTATE_CLASS = 0i32;
577 pub const WTSApplicationName: WTS_INFO_CLASS = 1i32;
578 pub const WTSClientAddress: WTS_INFO_CLASS = 14i32;
579 pub const WTSClientBuildNumber: WTS_INFO_CLASS = 9i32;
580 pub const WTSClientDirectory: WTS_INFO_CLASS = 11i32;
581 pub const WTSClientDisplay: WTS_INFO_CLASS = 15i32;
582 pub const WTSClientHardwareId: WTS_INFO_CLASS = 13i32;
583 pub const WTSClientInfo: WTS_INFO_CLASS = 23i32;
584 pub const WTSClientName: WTS_INFO_CLASS = 10i32;
585 pub const WTSClientProductId: WTS_INFO_CLASS = 12i32;
586 pub const WTSClientProtocolType: WTS_INFO_CLASS = 16i32;
587 pub const WTSConfigInfo: WTS_INFO_CLASS = 26i32;
588 pub const WTSConnectQuery: WTS_CONNECTSTATE_CLASS = 2i32;
589 pub const WTSConnectState: WTS_INFO_CLASS = 8i32;
590 pub const WTSConnected: WTS_CONNECTSTATE_CLASS = 1i32;
591 pub const WTSDisconnected: WTS_CONNECTSTATE_CLASS = 4i32;
592 pub const WTSDomainName: WTS_INFO_CLASS = 7i32;
593 pub const WTSDown: WTS_CONNECTSTATE_CLASS = 8i32;
594 pub const WTSIdle: WTS_CONNECTSTATE_CLASS = 5i32;
595 pub const WTSIdleTime: WTS_INFO_CLASS = 17i32;
596 pub const WTSIncomingBytes: WTS_INFO_CLASS = 19i32;
597 pub const WTSIncomingFrames: WTS_INFO_CLASS = 21i32;
598 pub const WTSInit: WTS_CONNECTSTATE_CLASS = 9i32;
599 pub const WTSInitialProgram: WTS_INFO_CLASS = 0i32;
600 pub const WTSIsRemoteSession: WTS_INFO_CLASS = 29i32;
601 pub const WTSListen: WTS_CONNECTSTATE_CLASS = 6i32;
602 pub const WTSLogonTime: WTS_INFO_CLASS = 18i32;
603 pub const WTSOEMId: WTS_INFO_CLASS = 3i32;
604 pub const WTSOutgoingBytes: WTS_INFO_CLASS = 20i32;
605 pub const WTSOutgoingFrames: WTS_INFO_CLASS = 22i32;
606 pub const WTSReset: WTS_CONNECTSTATE_CLASS = 7i32;
607 pub const WTSSBX_ADDRESS_FAMILY_AF_INET: WTSSBX_ADDRESS_FAMILY = 1i32;
608 pub const WTSSBX_ADDRESS_FAMILY_AF_INET6: WTSSBX_ADDRESS_FAMILY = 2i32;
609 pub const WTSSBX_ADDRESS_FAMILY_AF_IPX: WTSSBX_ADDRESS_FAMILY = 3i32;
610 pub const WTSSBX_ADDRESS_FAMILY_AF_NETBIOS: WTSSBX_ADDRESS_FAMILY = 4i32;
611 pub const WTSSBX_ADDRESS_FAMILY_AF_UNSPEC: WTSSBX_ADDRESS_FAMILY = 0i32;
612 pub const WTSSBX_MACHINE_DRAIN_OFF: WTSSBX_MACHINE_DRAIN = 1i32;
613 pub const WTSSBX_MACHINE_DRAIN_ON: WTSSBX_MACHINE_DRAIN = 2i32;
614 pub const WTSSBX_MACHINE_DRAIN_UNSPEC: WTSSBX_MACHINE_DRAIN = 0i32;
615 pub const WTSSBX_MACHINE_SESSION_MODE_MULTIPLE: WTSSBX_MACHINE_SESSION_MODE = 2i32;
616 pub const WTSSBX_MACHINE_SESSION_MODE_SINGLE: WTSSBX_MACHINE_SESSION_MODE = 1i32;
617 pub const WTSSBX_MACHINE_SESSION_MODE_UNSPEC: WTSSBX_MACHINE_SESSION_MODE = 0i32;
618 pub const WTSSBX_MACHINE_STATE_READY: WTSSBX_MACHINE_STATE = 1i32;
619 pub const WTSSBX_MACHINE_STATE_SYNCHRONIZING: WTSSBX_MACHINE_STATE = 2i32;
620 pub const WTSSBX_MACHINE_STATE_UNSPEC: WTSSBX_MACHINE_STATE = 0i32;
621 pub const WTSSBX_NOTIFICATION_ADDED: WTSSBX_NOTIFICATION_TYPE = 4i32;
622 pub const WTSSBX_NOTIFICATION_CHANGED: WTSSBX_NOTIFICATION_TYPE = 2i32;
623 pub const WTSSBX_NOTIFICATION_REMOVED: WTSSBX_NOTIFICATION_TYPE = 1i32;
624 pub const WTSSBX_NOTIFICATION_RESYNC: WTSSBX_NOTIFICATION_TYPE = 8i32;
625 pub const WTSSBX_SESSION_STATE_ACTIVE: WTSSBX_SESSION_STATE = 1i32;
626 pub const WTSSBX_SESSION_STATE_DISCONNECTED: WTSSBX_SESSION_STATE = 2i32;
627 pub const WTSSBX_SESSION_STATE_UNSPEC: WTSSBX_SESSION_STATE = 0i32;
628 pub const WTSSessionAddressV4: WTS_INFO_CLASS = 28i32;
629 pub const WTSSessionId: WTS_INFO_CLASS = 4i32;
630 pub const WTSSessionInfo: WTS_INFO_CLASS = 24i32;
631 pub const WTSSessionInfoEx: WTS_INFO_CLASS = 25i32;
632 pub const WTSShadow: WTS_CONNECTSTATE_CLASS = 3i32;
633 pub const WTSTypeProcessInfoLevel0: WTS_TYPE_CLASS = 0i32;
634 pub const WTSTypeProcessInfoLevel1: WTS_TYPE_CLASS = 1i32;
635 pub const WTSTypeSessionInfoLevel1: WTS_TYPE_CLASS = 2i32;
636 pub const WTSUserConfigBrokenTimeoutSettings: WTS_CONFIG_CLASS = 10i32;
637 pub const WTSUserConfigInitialProgram: WTS_CONFIG_CLASS = 0i32;
638 pub const WTSUserConfigModemCallbackPhoneNumber: WTS_CONFIG_CLASS = 13i32;
639 pub const WTSUserConfigModemCallbackSettings: WTS_CONFIG_CLASS = 12i32;
640 pub const WTSUserConfigReconnectSettings: WTS_CONFIG_CLASS = 11i32;
641 pub const WTSUserConfigShadowingSettings: WTS_CONFIG_CLASS = 14i32;
642 pub const WTSUserConfigSourceSAM: WTS_CONFIG_SOURCE = 0i32;
643 pub const WTSUserConfigTerminalServerHomeDir: WTS_CONFIG_CLASS = 16i32;
644 pub const WTSUserConfigTerminalServerHomeDirDrive: WTS_CONFIG_CLASS = 17i32;
645 pub const WTSUserConfigTerminalServerProfilePath: WTS_CONFIG_CLASS = 15i32;
646 pub const WTSUserConfigTimeoutSettingsConnections: WTS_CONFIG_CLASS = 4i32;
647 pub const WTSUserConfigTimeoutSettingsDisconnections: WTS_CONFIG_CLASS = 5i32;
648 pub const WTSUserConfigTimeoutSettingsIdle: WTS_CONFIG_CLASS = 6i32;
649 pub const WTSUserConfigUser: WTS_CONFIG_CLASS = 19i32;
650 pub const WTSUserConfigWorkingDirectory: WTS_CONFIG_CLASS = 1i32;
651 pub const WTSUserConfigfAllowLogonTerminalServer: WTS_CONFIG_CLASS = 3i32;
652 pub const WTSUserConfigfDeviceClientDefaultPrinter: WTS_CONFIG_CLASS = 9i32;
653 pub const WTSUserConfigfDeviceClientDrives: WTS_CONFIG_CLASS = 7i32;
654 pub const WTSUserConfigfDeviceClientPrinters: WTS_CONFIG_CLASS = 8i32;
655 pub const WTSUserConfigfInheritInitialProgram: WTS_CONFIG_CLASS = 2i32;
656 pub const WTSUserConfigfTerminalServerRemoteHomeDir: WTS_CONFIG_CLASS = 18i32;
657 pub const WTSUserName: WTS_INFO_CLASS = 5i32;
658 pub const WTSValidationInfo: WTS_INFO_CLASS = 27i32;
659 pub const WTSVirtualClientData: WTS_VIRTUAL_CLASS = 0i32;
660 pub const WTSVirtualFileHandle: WTS_VIRTUAL_CLASS = 1i32;
661 pub const WTSWinStationName: WTS_INFO_CLASS = 6i32;
662 pub const WTSWorkingDirectory: WTS_INFO_CLASS = 2i32;
663 pub const WTS_CERT_TYPE_INVALID: WTS_CERT_TYPE = 0i32;
664 pub const WTS_CERT_TYPE_PROPRIETORY: WTS_CERT_TYPE = 1i32;
665 pub const WTS_CERT_TYPE_X509: WTS_CERT_TYPE = 2i32;
666 pub const WTS_CHANNEL_OPTION_DYNAMIC: u32 = 1u32;
667 pub const WTS_CHANNEL_OPTION_DYNAMIC_NO_COMPRESS: u32 = 8u32;
668 pub const WTS_CHANNEL_OPTION_DYNAMIC_PRI_HIGH: u32 = 4u32;
669 pub const WTS_CHANNEL_OPTION_DYNAMIC_PRI_LOW: u32 = 0u32;
670 pub const WTS_CHANNEL_OPTION_DYNAMIC_PRI_MED: u32 = 2u32;
671 pub const WTS_CHANNEL_OPTION_DYNAMIC_PRI_REAL: u32 = 6u32;
672 pub const WTS_CLIENTADDRESS_LENGTH: u32 = 30u32;
673 pub const WTS_CLIENTNAME_LENGTH: u32 = 20u32;
674 pub const WTS_CLIENT_PRODUCT_ID_LENGTH: u32 = 32u32;
675 pub const WTS_COMMENT_LENGTH: u32 = 60u32;
676 #[doc = "Required features: `\"Win32_Foundation\"`"]
677 #[cfg(feature = "Win32_Foundation")]
678 pub const WTS_CURRENT_SERVER: super::super::Foundation::HANDLE = 0i32 as _;
679 #[doc = "Required features: `\"Win32_Foundation\"`"]
680 #[cfg(feature = "Win32_Foundation")]
681 pub const WTS_CURRENT_SERVER_HANDLE: super::super::Foundation::HANDLE = 0i32 as _;
682 pub const WTS_CURRENT_SERVER_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("");
683 pub const WTS_CURRENT_SESSION: u32 = 4294967295u32;
684 pub const WTS_DEVICE_NAME_LENGTH: u32 = 19u32;
685 pub const WTS_DIRECTORY_LENGTH: u32 = 256u32;
686 pub const WTS_DOMAIN_LENGTH: u32 = 255u32;
687 pub const WTS_DRAIN_IN_DRAIN: WTS_RCM_DRAIN_STATE = 1i32;
688 pub const WTS_DRAIN_NOT_IN_DRAIN: WTS_RCM_DRAIN_STATE = 2i32;
689 pub const WTS_DRAIN_STATE_NONE: WTS_RCM_DRAIN_STATE = 0i32;
690 pub const WTS_DRIVER_NAME_LENGTH: u32 = 8u32;
691 pub const WTS_DRIVE_LENGTH: u32 = 3u32;
692 pub const WTS_EVENT_ALL: u32 = 2147483647u32;
693 pub const WTS_EVENT_CONNECT: u32 = 8u32;
694 pub const WTS_EVENT_CREATE: u32 = 1u32;
695 pub const WTS_EVENT_DELETE: u32 = 2u32;
696 pub const WTS_EVENT_DISCONNECT: u32 = 16u32;
697 pub const WTS_EVENT_FLUSH: u32 = 2147483648u32;
698 pub const WTS_EVENT_LICENSE: u32 = 256u32;
699 pub const WTS_EVENT_LOGOFF: u32 = 64u32;
700 pub const WTS_EVENT_LOGON: u32 = 32u32;
701 pub const WTS_EVENT_NONE: u32 = 0u32;
702 pub const WTS_EVENT_RENAME: u32 = 4u32;
703 pub const WTS_EVENT_STATECHANGE: u32 = 128u32;
704 pub const WTS_IMEFILENAME_LENGTH: u32 = 32u32;
705 pub const WTS_INITIALPROGRAM_LENGTH: u32 = 256u32;
706 pub const WTS_KEY_EXCHANGE_ALG_DH: u32 = 2u32;
707 pub const WTS_KEY_EXCHANGE_ALG_RSA: u32 = 1u32;
708 pub const WTS_LICENSE_PREAMBLE_VERSION: u32 = 3u32;
709 pub const WTS_LICENSE_PROTOCOL_VERSION: u32 = 65536u32;
710 pub const WTS_LISTENER_CREATE: u32 = 1u32;
711 pub const WTS_LISTENER_NAME_LENGTH: u32 = 32u32;
712 pub const WTS_LISTENER_UPDATE: u32 = 16u32;
713 pub const WTS_LOGON_ERR_HANDLED_DONT_SHOW: WTS_LOGON_ERROR_REDIRECTOR_RESPONSE = 3i32;
714 pub const WTS_LOGON_ERR_HANDLED_DONT_SHOW_START_OVER: WTS_LOGON_ERROR_REDIRECTOR_RESPONSE = 4i32;
715 pub const WTS_LOGON_ERR_HANDLED_SHOW: WTS_LOGON_ERROR_REDIRECTOR_RESPONSE = 2i32;
716 pub const WTS_LOGON_ERR_INVALID: WTS_LOGON_ERROR_REDIRECTOR_RESPONSE = 0i32;
717 pub const WTS_LOGON_ERR_NOT_HANDLED: WTS_LOGON_ERROR_REDIRECTOR_RESPONSE = 1i32;
718 pub const WTS_MAX_CACHE_RESERVED: u32 = 20u32;
719 pub const WTS_MAX_COUNTERS: u32 = 100u32;
720 pub const WTS_MAX_DISPLAY_IOCTL_DATA: u32 = 256u32;
721 pub const WTS_MAX_PROTOCOL_CACHE: u32 = 4u32;
722 pub const WTS_MAX_RESERVED: u32 = 100u32;
723 pub const WTS_PASSWORD_LENGTH: u32 = 255u32;
724 pub const WTS_PERF_DISABLE_CURSORSETTINGS: u32 = 64u32;
725 pub const WTS_PERF_DISABLE_CURSOR_SHADOW: u32 = 32u32;
726 pub const WTS_PERF_DISABLE_FULLWINDOWDRAG: u32 = 2u32;
727 pub const WTS_PERF_DISABLE_MENUANIMATIONS: u32 = 4u32;
728 pub const WTS_PERF_DISABLE_NOTHING: u32 = 0u32;
729 pub const WTS_PERF_DISABLE_THEMING: u32 = 8u32;
730 pub const WTS_PERF_DISABLE_WALLPAPER: u32 = 1u32;
731 pub const WTS_PERF_ENABLE_DESKTOP_COMPOSITION: u32 = 256u32;
732 pub const WTS_PERF_ENABLE_ENHANCED_GRAPHICS: u32 = 16u32;
733 pub const WTS_PERF_ENABLE_FONT_SMOOTHING: u32 = 128u32;
734 pub const WTS_PROCESS_INFO_LEVEL_0: u32 = 0u32;
735 pub const WTS_PROCESS_INFO_LEVEL_1: u32 = 1u32;
736 pub const WTS_PROPERTY_DEFAULT_CONFIG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DefaultConfig");
737 pub const WTS_PROTOCOL_NAME_LENGTH: u32 = 8u32;
738 pub const WTS_PROTOCOL_TYPE_CONSOLE: u32 = 0u32;
739 pub const WTS_PROTOCOL_TYPE_ICA: u32 = 1u32;
740 pub const WTS_PROTOCOL_TYPE_RDP: u32 = 2u32;
741 pub const WTS_QUERY_ALLOWED_INITIAL_APP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc77d1b30_5be1_4c6b_a0e1_bd6d2e5c9fcc);
742 pub const WTS_QUERY_AUDIOENUM_DLL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9bf4fa97_c883_4c2a_80ab_5a39c9af00db);
743 pub const WTS_QUERY_LOGON_SCREEN_SIZE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8b8e0fe7_0804_4a0e_b279_8660b1df0049);
744 pub const WTS_QUERY_MF_FORMAT_SUPPORT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x41869ad0_6332_4dc8_95d5_db749e2f1d94);
745 pub const WTS_SECURITY_ALL_ACCESS: WTS_SECURITY_FLAGS = 983999u32;
746 pub const WTS_SECURITY_CONNECT: WTS_SECURITY_FLAGS = 256u32;
747 pub const WTS_SECURITY_CURRENT_GUEST_ACCESS: WTS_SECURITY_FLAGS = 72u32;
748 pub const WTS_SECURITY_CURRENT_USER_ACCESS: WTS_SECURITY_FLAGS = 590u32;
749 pub const WTS_SECURITY_DISCONNECT: WTS_SECURITY_FLAGS = 512u32;
750 pub const WTS_SECURITY_GUEST_ACCESS: WTS_SECURITY_FLAGS = 32u32;
751 pub const WTS_SECURITY_LOGOFF: WTS_SECURITY_FLAGS = 64u32;
752 pub const WTS_SECURITY_LOGON: WTS_SECURITY_FLAGS = 32u32;
753 pub const WTS_SECURITY_MESSAGE: WTS_SECURITY_FLAGS = 128u32;
754 pub const WTS_SECURITY_QUERY_INFORMATION: WTS_SECURITY_FLAGS = 1u32;
755 pub const WTS_SECURITY_REMOTE_CONTROL: WTS_SECURITY_FLAGS = 16u32;
756 pub const WTS_SECURITY_RESET: WTS_SECURITY_FLAGS = 4u32;
757 pub const WTS_SECURITY_SET_INFORMATION: WTS_SECURITY_FLAGS = 2u32;
758 pub const WTS_SECURITY_USER_ACCESS: WTS_SECURITY_FLAGS = 329u32;
759 pub const WTS_SECURITY_VIRTUAL_CHANNELS: WTS_SECURITY_FLAGS = 8u32;
760 pub const WTS_SERVICE_NONE: WTS_RCM_SERVICE_STATE = 0i32;
761 pub const WTS_SERVICE_START: WTS_RCM_SERVICE_STATE = 1i32;
762 pub const WTS_SERVICE_STOP: WTS_RCM_SERVICE_STATE = 2i32;
763 pub const WTS_SESSIONSTATE_LOCK: u32 = 0u32;
764 pub const WTS_SESSIONSTATE_UNKNOWN: u32 = 4294967295u32;
765 pub const WTS_SESSIONSTATE_UNLOCK: u32 = 1u32;
766 pub const WTS_USERNAME_LENGTH: u32 = 255u32;
767 pub const WTS_VALUE_TYPE_BINARY: u32 = 3u32;
768 pub const WTS_VALUE_TYPE_GUID: u32 = 4u32;
769 pub const WTS_VALUE_TYPE_STRING: u32 = 2u32;
770 pub const WTS_VALUE_TYPE_ULONG: u32 = 1u32;
771 pub const WTS_WSD_FASTREBOOT: u32 = 16u32;
772 pub const WTS_WSD_LOGOFF: u32 = 1u32;
773 pub const WTS_WSD_POWEROFF: u32 = 8u32;
774 pub const WTS_WSD_REBOOT: u32 = 4u32;
775 pub const WTS_WSD_SHUTDOWN: u32 = 2u32;
776 pub const Workspace: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4f1dfca6_3aad_48e1_8406_4bc21a501d7c);
777 pub type AAAccountingDataType = i32;
778 pub type AAAuthSchemes = i32;
779 pub type AATrustClassID = i32;
780 pub type AE_POSITION_FLAGS = i32;
781 pub type CLIENT_MESSAGE_TYPE = i32;
782 pub type CONNECTION_CHANGE_NOTIFICATION = i32;
783 pub type KeyCombinationType = i32;
784 pub type PLUGIN_TYPE = i32;
785 pub type PasswordEncodingType = i32;
786 pub type PolicyAttributeType = i32;
787 pub type RDV_TASK_STATUS = i32;
788 pub type RD_FARM_TYPE = i32;
789 pub type RemoteActionType = i32;
790 pub type SESSION_TIMEOUT_ACTION_TYPE = i32;
791 pub type SnapshotEncodingType = i32;
792 pub type SnapshotFormatType = i32;
793 pub type TARGET_CHANGE_TYPE = i32;
794 pub type TARGET_OWNER = i32;
795 pub type TARGET_PATCH_STATE = i32;
796 pub type TARGET_STATE = i32;
797 pub type TARGET_TYPE = i32;
798 pub type TSPUB_PLUGIN_PD_ASSIGNMENT_TYPE = i32;
799 pub type TSPUB_PLUGIN_PD_RESOLUTION_TYPE = i32;
800 pub type TSSB_NOTIFICATION_TYPE = i32;
801 pub type TSSD_AddrV46Type = i32;
802 pub type TSSESSION_STATE = i32;
803 pub type TS_SB_SORT_BY = i32;
804 pub type VM_HOST_NOTIFY_STATUS = i32;
805 pub type VM_NOTIFY_STATUS = i32;
806 pub type WRDS_CONNECTION_SETTING_LEVEL = i32;
807 pub type WRDS_LISTENER_SETTING_LEVEL = i32;
808 pub type WRDS_SETTING_LEVEL = i32;
809 pub type WRDS_SETTING_STATUS = i32;
810 pub type WRDS_SETTING_TYPE = i32;
811 pub type WRdsGraphicsChannelType = i32;
812 pub type WTSSBX_ADDRESS_FAMILY = i32;
813 pub type WTSSBX_MACHINE_DRAIN = i32;
814 pub type WTSSBX_MACHINE_SESSION_MODE = i32;
815 pub type WTSSBX_MACHINE_STATE = i32;
816 pub type WTSSBX_NOTIFICATION_TYPE = i32;
817 pub type WTSSBX_SESSION_STATE = i32;
818 pub type WTS_CERT_TYPE = i32;
819 pub type WTS_CONFIG_CLASS = i32;
820 pub type WTS_CONFIG_SOURCE = i32;
821 pub type WTS_CONNECTSTATE_CLASS = i32;
822 pub type WTS_INFO_CLASS = i32;
823 pub type WTS_LOGON_ERROR_REDIRECTOR_RESPONSE = i32;
824 pub type WTS_RCM_DRAIN_STATE = i32;
825 pub type WTS_RCM_SERVICE_STATE = i32;
826 pub type WTS_SECURITY_FLAGS = u32;
827 pub type WTS_TYPE_CLASS = i32;
828 pub type WTS_VIRTUAL_CLASS = i32;
829 #[repr(C)]
830 pub struct AAAccountingData {
831 pub userName: ::windows_sys::core::BSTR,
832 pub clientName: ::windows_sys::core::BSTR,
833 pub authType: AAAuthSchemes,
834 pub resourceName: ::windows_sys::core::BSTR,
835 pub portNumber: i32,
836 pub protocolName: ::windows_sys::core::BSTR,
837 pub numberOfBytesReceived: i32,
838 pub numberOfBytesTransfered: i32,
839 pub reasonForDisconnect: ::windows_sys::core::BSTR,
840 pub mainSessionId: ::windows_sys::core::GUID,
841 pub subSessionId: i32,
842 }
843 impl ::core::marker::Copy for AAAccountingData {}
844 impl ::core::clone::Clone for AAAccountingData {
845 fn clone(&self) -> Self {
846 *self
847 }
848 }
849 #[repr(C)]
850 pub struct AE_CURRENT_POSITION {
851 pub u64DevicePosition: u64,
852 pub u64StreamPosition: u64,
853 pub u64PaddingFrames: u64,
854 pub hnsQPCPosition: i64,
855 pub f32FramesPerSecond: f32,
856 pub Flag: AE_POSITION_FLAGS,
857 }
858 impl ::core::marker::Copy for AE_CURRENT_POSITION {}
859 impl ::core::clone::Clone for AE_CURRENT_POSITION {
860 fn clone(&self) -> Self {
861 *self
862 }
863 }
864 #[repr(C)]
865 pub struct BITMAP_RENDERER_STATISTICS {
866 pub dwFramesDelivered: u32,
867 pub dwFramesDropped: u32,
868 }
869 impl ::core::marker::Copy for BITMAP_RENDERER_STATISTICS {}
870 impl ::core::clone::Clone for BITMAP_RENDERER_STATISTICS {
871 fn clone(&self) -> Self {
872 *self
873 }
874 }
875 #[repr(C, packed(1))]
876 pub struct CHANNEL_DEF {
877 pub name: [u8; 8],
878 pub options: u32,
879 }
880 impl ::core::marker::Copy for CHANNEL_DEF {}
881 impl ::core::clone::Clone for CHANNEL_DEF {
882 fn clone(&self) -> Self {
883 *self
884 }
885 }
886 #[repr(C)]
887 pub struct CHANNEL_ENTRY_POINTS {
888 pub cbSize: u32,
889 pub protocolVersion: u32,
890 pub pVirtualChannelInit: PVIRTUALCHANNELINIT,
891 pub pVirtualChannelOpen: PVIRTUALCHANNELOPEN,
892 pub pVirtualChannelClose: PVIRTUALCHANNELCLOSE,
893 pub pVirtualChannelWrite: PVIRTUALCHANNELWRITE,
894 }
895 impl ::core::marker::Copy for CHANNEL_ENTRY_POINTS {}
896 impl ::core::clone::Clone for CHANNEL_ENTRY_POINTS {
897 fn clone(&self) -> Self {
898 *self
899 }
900 }
901 #[repr(C)]
902 pub struct CHANNEL_PDU_HEADER {
903 pub length: u32,
904 pub flags: u32,
905 }
906 impl ::core::marker::Copy for CHANNEL_PDU_HEADER {}
907 impl ::core::clone::Clone for CHANNEL_PDU_HEADER {
908 fn clone(&self) -> Self {
909 *self
910 }
911 }
912 #[repr(C)]
913 pub struct CLIENT_DISPLAY {
914 pub HorizontalResolution: u32,
915 pub VerticalResolution: u32,
916 pub ColorDepth: u32,
917 }
918 impl ::core::marker::Copy for CLIENT_DISPLAY {}
919 impl ::core::clone::Clone for CLIENT_DISPLAY {
920 fn clone(&self) -> Self {
921 *self
922 }
923 }
924 #[repr(C)]
925 pub struct PRODUCT_INFOA {
926 pub CompanyName: [u8; 256],
927 pub ProductID: [u8; 4],
928 }
929 impl ::core::marker::Copy for PRODUCT_INFOA {}
930 impl ::core::clone::Clone for PRODUCT_INFOA {
931 fn clone(&self) -> Self {
932 *self
933 }
934 }
935 #[repr(C)]
936 pub struct PRODUCT_INFOW {
937 pub CompanyName: [u16; 256],
938 pub ProductID: [u16; 4],
939 }
940 impl ::core::marker::Copy for PRODUCT_INFOW {}
941 impl ::core::clone::Clone for PRODUCT_INFOW {
942 fn clone(&self) -> Self {
943 *self
944 }
945 }
946 #[repr(C, packed(1))]
947 #[doc = "Required features: `\"Win32_Foundation\"`"]
948 #[cfg(feature = "Win32_Foundation")]
949 pub struct RFX_GFX_MONITOR_INFO {
950 pub left: i32,
951 pub top: i32,
952 pub right: i32,
953 pub bottom: i32,
954 pub physicalWidth: u32,
955 pub physicalHeight: u32,
956 pub orientation: u32,
957 pub primary: super::super::Foundation::BOOL,
958 }
959 #[cfg(feature = "Win32_Foundation")]
960 impl ::core::marker::Copy for RFX_GFX_MONITOR_INFO {}
961 #[cfg(feature = "Win32_Foundation")]
962 impl ::core::clone::Clone for RFX_GFX_MONITOR_INFO {
963 fn clone(&self) -> Self {
964 *self
965 }
966 }
967 #[repr(C)]
968 pub struct RFX_GFX_MSG_CLIENT_DESKTOP_INFO_REQUEST {
969 pub channelHdr: RFX_GFX_MSG_HEADER,
970 }
971 impl ::core::marker::Copy for RFX_GFX_MSG_CLIENT_DESKTOP_INFO_REQUEST {}
972 impl ::core::clone::Clone for RFX_GFX_MSG_CLIENT_DESKTOP_INFO_REQUEST {
973 fn clone(&self) -> Self {
974 *self
975 }
976 }
977 #[repr(C, packed(1))]
978 #[doc = "Required features: `\"Win32_Foundation\"`"]
979 #[cfg(feature = "Win32_Foundation")]
980 pub struct RFX_GFX_MSG_CLIENT_DESKTOP_INFO_RESPONSE {
981 pub channelHdr: RFX_GFX_MSG_HEADER,
982 pub reserved: u32,
983 pub monitorCount: u32,
984 pub MonitorData: [RFX_GFX_MONITOR_INFO; 16],
985 pub clientUniqueId: [u16; 32],
986 }
987 #[cfg(feature = "Win32_Foundation")]
988 impl ::core::marker::Copy for RFX_GFX_MSG_CLIENT_DESKTOP_INFO_RESPONSE {}
989 #[cfg(feature = "Win32_Foundation")]
990 impl ::core::clone::Clone for RFX_GFX_MSG_CLIENT_DESKTOP_INFO_RESPONSE {
991 fn clone(&self) -> Self {
992 *self
993 }
994 }
995 #[repr(C)]
996 pub struct RFX_GFX_MSG_DESKTOP_CONFIG_CHANGE_CONFIRM {
997 pub channelHdr: RFX_GFX_MSG_HEADER,
998 }
999 impl ::core::marker::Copy for RFX_GFX_MSG_DESKTOP_CONFIG_CHANGE_CONFIRM {}
1000 impl ::core::clone::Clone for RFX_GFX_MSG_DESKTOP_CONFIG_CHANGE_CONFIRM {
1001 fn clone(&self) -> Self {
1002 *self
1003 }
1004 }
1005 #[repr(C, packed(1))]
1006 pub struct RFX_GFX_MSG_DESKTOP_CONFIG_CHANGE_NOTIFY {
1007 pub channelHdr: RFX_GFX_MSG_HEADER,
1008 pub ulWidth: u32,
1009 pub ulHeight: u32,
1010 pub ulBpp: u32,
1011 pub Reserved: u32,
1012 }
1013 impl ::core::marker::Copy for RFX_GFX_MSG_DESKTOP_CONFIG_CHANGE_NOTIFY {}
1014 impl ::core::clone::Clone for RFX_GFX_MSG_DESKTOP_CONFIG_CHANGE_NOTIFY {
1015 fn clone(&self) -> Self {
1016 *self
1017 }
1018 }
1019 #[repr(C, packed(1))]
1020 pub struct RFX_GFX_MSG_DESKTOP_INPUT_RESET {
1021 pub channelHdr: RFX_GFX_MSG_HEADER,
1022 pub ulWidth: u32,
1023 pub ulHeight: u32,
1024 }
1025 impl ::core::marker::Copy for RFX_GFX_MSG_DESKTOP_INPUT_RESET {}
1026 impl ::core::clone::Clone for RFX_GFX_MSG_DESKTOP_INPUT_RESET {
1027 fn clone(&self) -> Self {
1028 *self
1029 }
1030 }
1031 #[repr(C)]
1032 pub struct RFX_GFX_MSG_DESKTOP_RESEND_REQUEST {
1033 pub channelHdr: RFX_GFX_MSG_HEADER,
1034 pub RedrawRect: RFX_GFX_RECT,
1035 }
1036 impl ::core::marker::Copy for RFX_GFX_MSG_DESKTOP_RESEND_REQUEST {}
1037 impl ::core::clone::Clone for RFX_GFX_MSG_DESKTOP_RESEND_REQUEST {
1038 fn clone(&self) -> Self {
1039 *self
1040 }
1041 }
1042 #[repr(C, packed(1))]
1043 pub struct RFX_GFX_MSG_DISCONNECT_NOTIFY {
1044 pub channelHdr: RFX_GFX_MSG_HEADER,
1045 pub DisconnectReason: u32,
1046 }
1047 impl ::core::marker::Copy for RFX_GFX_MSG_DISCONNECT_NOTIFY {}
1048 impl ::core::clone::Clone for RFX_GFX_MSG_DISCONNECT_NOTIFY {
1049 fn clone(&self) -> Self {
1050 *self
1051 }
1052 }
1053 #[repr(C, packed(1))]
1054 pub struct RFX_GFX_MSG_HEADER {
1055 pub uMSGType: u16,
1056 pub cbSize: u16,
1057 }
1058 impl ::core::marker::Copy for RFX_GFX_MSG_HEADER {}
1059 impl ::core::clone::Clone for RFX_GFX_MSG_HEADER {
1060 fn clone(&self) -> Self {
1061 *self
1062 }
1063 }
1064 #[repr(C)]
1065 pub struct RFX_GFX_MSG_RDP_DATA {
1066 pub channelHdr: RFX_GFX_MSG_HEADER,
1067 pub rdpData: [u8; 1],
1068 }
1069 impl ::core::marker::Copy for RFX_GFX_MSG_RDP_DATA {}
1070 impl ::core::clone::Clone for RFX_GFX_MSG_RDP_DATA {
1071 fn clone(&self) -> Self {
1072 *self
1073 }
1074 }
1075 #[repr(C, packed(1))]
1076 pub struct RFX_GFX_RECT {
1077 pub left: i32,
1078 pub top: i32,
1079 pub right: i32,
1080 pub bottom: i32,
1081 }
1082 impl ::core::marker::Copy for RFX_GFX_RECT {}
1083 impl ::core::clone::Clone for RFX_GFX_RECT {
1084 fn clone(&self) -> Self {
1085 *self
1086 }
1087 }
1088 #[repr(C)]
1089 pub struct TSSD_ConnectionPoint {
1090 pub ServerAddressB: [u8; 16],
1091 pub AddressType: TSSD_AddrV46Type,
1092 pub PortNumber: u16,
1093 pub AddressScope: u32,
1094 }
1095 impl ::core::marker::Copy for TSSD_ConnectionPoint {}
1096 impl ::core::clone::Clone for TSSD_ConnectionPoint {
1097 fn clone(&self) -> Self {
1098 *self
1099 }
1100 }
1101 #[repr(C)]
1102 pub struct VM_NOTIFY_ENTRY {
1103 pub VmName: [u16; 128],
1104 pub VmHost: [u16; 128],
1105 }
1106 impl ::core::marker::Copy for VM_NOTIFY_ENTRY {}
1107 impl ::core::clone::Clone for VM_NOTIFY_ENTRY {
1108 fn clone(&self) -> Self {
1109 *self
1110 }
1111 }
1112 #[repr(C)]
1113 pub struct VM_NOTIFY_INFO {
1114 pub dwNumEntries: u32,
1115 pub ppVmEntries: *mut *mut VM_NOTIFY_ENTRY,
1116 }
1117 impl ::core::marker::Copy for VM_NOTIFY_INFO {}
1118 impl ::core::clone::Clone for VM_NOTIFY_INFO {
1119 fn clone(&self) -> Self {
1120 *self
1121 }
1122 }
1123 #[repr(C)]
1124 pub struct VM_PATCH_INFO {
1125 pub dwNumEntries: u32,
1126 pub pVmNames: *mut ::windows_sys::core::PWSTR,
1127 }
1128 impl ::core::marker::Copy for VM_PATCH_INFO {}
1129 impl ::core::clone::Clone for VM_PATCH_INFO {
1130 fn clone(&self) -> Self {
1131 *self
1132 }
1133 }
1134 #[repr(C)]
1135 #[doc = "Required features: `\"Win32_Foundation\"`"]
1136 #[cfg(feature = "Win32_Foundation")]
1137 pub union WRDS_CONNECTION_SETTING {
1138 pub WRdsConnectionSettings1: WRDS_CONNECTION_SETTINGS_1,
1139 }
1140 #[cfg(feature = "Win32_Foundation")]
1141 impl ::core::marker::Copy for WRDS_CONNECTION_SETTING {}
1142 #[cfg(feature = "Win32_Foundation")]
1143 impl ::core::clone::Clone for WRDS_CONNECTION_SETTING {
1144 fn clone(&self) -> Self {
1145 *self
1146 }
1147 }
1148 #[repr(C)]
1149 #[doc = "Required features: `\"Win32_Foundation\"`"]
1150 #[cfg(feature = "Win32_Foundation")]
1151 pub struct WRDS_CONNECTION_SETTINGS {
1152 pub WRdsConnectionSettingLevel: WRDS_CONNECTION_SETTING_LEVEL,
1153 pub WRdsConnectionSetting: WRDS_CONNECTION_SETTING,
1154 }
1155 #[cfg(feature = "Win32_Foundation")]
1156 impl ::core::marker::Copy for WRDS_CONNECTION_SETTINGS {}
1157 #[cfg(feature = "Win32_Foundation")]
1158 impl ::core::clone::Clone for WRDS_CONNECTION_SETTINGS {
1159 fn clone(&self) -> Self {
1160 *self
1161 }
1162 }
1163 #[repr(C)]
1164 #[doc = "Required features: `\"Win32_Foundation\"`"]
1165 #[cfg(feature = "Win32_Foundation")]
1166 pub struct WRDS_CONNECTION_SETTINGS_1 {
1167 pub fInheritInitialProgram: super::super::Foundation::BOOLEAN,
1168 pub fInheritColorDepth: super::super::Foundation::BOOLEAN,
1169 pub fHideTitleBar: super::super::Foundation::BOOLEAN,
1170 pub fInheritAutoLogon: super::super::Foundation::BOOLEAN,
1171 pub fMaximizeShell: super::super::Foundation::BOOLEAN,
1172 pub fDisablePNP: super::super::Foundation::BOOLEAN,
1173 pub fPasswordIsScPin: super::super::Foundation::BOOLEAN,
1174 pub fPromptForPassword: super::super::Foundation::BOOLEAN,
1175 pub fDisableCpm: super::super::Foundation::BOOLEAN,
1176 pub fDisableCdm: super::super::Foundation::BOOLEAN,
1177 pub fDisableCcm: super::super::Foundation::BOOLEAN,
1178 pub fDisableLPT: super::super::Foundation::BOOLEAN,
1179 pub fDisableClip: super::super::Foundation::BOOLEAN,
1180 pub fResetBroken: super::super::Foundation::BOOLEAN,
1181 pub fDisableEncryption: super::super::Foundation::BOOLEAN,
1182 pub fDisableAutoReconnect: super::super::Foundation::BOOLEAN,
1183 pub fDisableCtrlAltDel: super::super::Foundation::BOOLEAN,
1184 pub fDoubleClickDetect: super::super::Foundation::BOOLEAN,
1185 pub fEnableWindowsKey: super::super::Foundation::BOOLEAN,
1186 pub fUsingSavedCreds: super::super::Foundation::BOOLEAN,
1187 pub fMouse: super::super::Foundation::BOOLEAN,
1188 pub fNoAudioPlayback: super::super::Foundation::BOOLEAN,
1189 pub fRemoteConsoleAudio: super::super::Foundation::BOOLEAN,
1190 pub EncryptionLevel: u8,
1191 pub ColorDepth: u16,
1192 pub ProtocolType: u16,
1193 pub HRes: u16,
1194 pub VRes: u16,
1195 pub ClientProductId: u16,
1196 pub OutBufCountHost: u16,
1197 pub OutBufCountClient: u16,
1198 pub OutBufLength: u16,
1199 pub KeyboardLayout: u32,
1200 pub MaxConnectionTime: u32,
1201 pub MaxDisconnectionTime: u32,
1202 pub MaxIdleTime: u32,
1203 pub PerformanceFlags: u32,
1204 pub KeyboardType: u32,
1205 pub KeyboardSubType: u32,
1206 pub KeyboardFunctionKey: u32,
1207 pub ActiveInputLocale: u32,
1208 pub SerialNumber: u32,
1209 pub ClientAddressFamily: u32,
1210 pub ClientBuildNumber: u32,
1211 pub ClientSessionId: u32,
1212 pub WorkDirectory: [u16; 257],
1213 pub InitialProgram: [u16; 257],
1214 pub UserName: [u16; 256],
1215 pub Domain: [u16; 256],
1216 pub Password: [u16; 256],
1217 pub ProtocolName: [u16; 9],
1218 pub DisplayDriverName: [u16; 9],
1219 pub DisplayDeviceName: [u16; 20],
1220 pub imeFileName: [u16; 33],
1221 pub AudioDriverName: [u16; 9],
1222 pub ClientName: [u16; 21],
1223 pub ClientAddress: [u16; 31],
1224 pub ClientDirectory: [u16; 257],
1225 pub ClientDigProductId: [u16; 33],
1226 pub ClientSockAddress: WTS_SOCKADDR,
1227 pub ClientTimeZone: WTS_TIME_ZONE_INFORMATION,
1228 pub WRdsListenerSettings: WRDS_LISTENER_SETTINGS,
1229 pub EventLogActivityId: ::windows_sys::core::GUID,
1230 pub ContextSize: u32,
1231 pub ContextData: *mut u8,
1232 }
1233 #[cfg(feature = "Win32_Foundation")]
1234 impl ::core::marker::Copy for WRDS_CONNECTION_SETTINGS_1 {}
1235 #[cfg(feature = "Win32_Foundation")]
1236 impl ::core::clone::Clone for WRDS_CONNECTION_SETTINGS_1 {
1237 fn clone(&self) -> Self {
1238 *self
1239 }
1240 }
1241 #[repr(C)]
1242 pub struct WRDS_DYNAMIC_TIME_ZONE_INFORMATION {
1243 pub Bias: i32,
1244 pub StandardName: [u16; 32],
1245 pub StandardDate: WTS_SYSTEMTIME,
1246 pub StandardBias: i32,
1247 pub DaylightName: [u16; 32],
1248 pub DaylightDate: WTS_SYSTEMTIME,
1249 pub DaylightBias: i32,
1250 pub TimeZoneKeyName: [u16; 128],
1251 pub DynamicDaylightTimeDisabled: u16,
1252 }
1253 impl ::core::marker::Copy for WRDS_DYNAMIC_TIME_ZONE_INFORMATION {}
1254 impl ::core::clone::Clone for WRDS_DYNAMIC_TIME_ZONE_INFORMATION {
1255 fn clone(&self) -> Self {
1256 *self
1257 }
1258 }
1259 #[repr(C)]
1260 pub union WRDS_LISTENER_SETTING {
1261 pub WRdsListenerSettings1: WRDS_LISTENER_SETTINGS_1,
1262 }
1263 impl ::core::marker::Copy for WRDS_LISTENER_SETTING {}
1264 impl ::core::clone::Clone for WRDS_LISTENER_SETTING {
1265 fn clone(&self) -> Self {
1266 *self
1267 }
1268 }
1269 #[repr(C)]
1270 pub struct WRDS_LISTENER_SETTINGS {
1271 pub WRdsListenerSettingLevel: WRDS_LISTENER_SETTING_LEVEL,
1272 pub WRdsListenerSetting: WRDS_LISTENER_SETTING,
1273 }
1274 impl ::core::marker::Copy for WRDS_LISTENER_SETTINGS {}
1275 impl ::core::clone::Clone for WRDS_LISTENER_SETTINGS {
1276 fn clone(&self) -> Self {
1277 *self
1278 }
1279 }
1280 #[repr(C)]
1281 pub struct WRDS_LISTENER_SETTINGS_1 {
1282 pub MaxProtocolListenerConnectionCount: u32,
1283 pub SecurityDescriptorSize: u32,
1284 pub pSecurityDescriptor: *mut u8,
1285 }
1286 impl ::core::marker::Copy for WRDS_LISTENER_SETTINGS_1 {}
1287 impl ::core::clone::Clone for WRDS_LISTENER_SETTINGS_1 {
1288 fn clone(&self) -> Self {
1289 *self
1290 }
1291 }
1292 #[repr(C)]
1293 #[doc = "Required features: `\"Win32_Foundation\"`"]
1294 #[cfg(feature = "Win32_Foundation")]
1295 pub union WRDS_SETTING {
1296 pub WRdsSettings1: WRDS_SETTINGS_1,
1297 }
1298 #[cfg(feature = "Win32_Foundation")]
1299 impl ::core::marker::Copy for WRDS_SETTING {}
1300 #[cfg(feature = "Win32_Foundation")]
1301 impl ::core::clone::Clone for WRDS_SETTING {
1302 fn clone(&self) -> Self {
1303 *self
1304 }
1305 }
1306 #[repr(C)]
1307 #[doc = "Required features: `\"Win32_Foundation\"`"]
1308 #[cfg(feature = "Win32_Foundation")]
1309 pub struct WRDS_SETTINGS {
1310 pub WRdsSettingType: WRDS_SETTING_TYPE,
1311 pub WRdsSettingLevel: WRDS_SETTING_LEVEL,
1312 pub WRdsSetting: WRDS_SETTING,
1313 }
1314 #[cfg(feature = "Win32_Foundation")]
1315 impl ::core::marker::Copy for WRDS_SETTINGS {}
1316 #[cfg(feature = "Win32_Foundation")]
1317 impl ::core::clone::Clone for WRDS_SETTINGS {
1318 fn clone(&self) -> Self {
1319 *self
1320 }
1321 }
1322 #[repr(C)]
1323 #[doc = "Required features: `\"Win32_Foundation\"`"]
1324 #[cfg(feature = "Win32_Foundation")]
1325 pub struct WRDS_SETTINGS_1 {
1326 pub WRdsDisableClipStatus: WRDS_SETTING_STATUS,
1327 pub WRdsDisableClipValue: u32,
1328 pub WRdsDisableLPTStatus: WRDS_SETTING_STATUS,
1329 pub WRdsDisableLPTValue: u32,
1330 pub WRdsDisableCcmStatus: WRDS_SETTING_STATUS,
1331 pub WRdsDisableCcmValue: u32,
1332 pub WRdsDisableCdmStatus: WRDS_SETTING_STATUS,
1333 pub WRdsDisableCdmValue: u32,
1334 pub WRdsDisableCpmStatus: WRDS_SETTING_STATUS,
1335 pub WRdsDisableCpmValue: u32,
1336 pub WRdsDisablePnpStatus: WRDS_SETTING_STATUS,
1337 pub WRdsDisablePnpValue: u32,
1338 pub WRdsEncryptionLevelStatus: WRDS_SETTING_STATUS,
1339 pub WRdsEncryptionValue: u32,
1340 pub WRdsColorDepthStatus: WRDS_SETTING_STATUS,
1341 pub WRdsColorDepthValue: u32,
1342 pub WRdsDisableAutoReconnecetStatus: WRDS_SETTING_STATUS,
1343 pub WRdsDisableAutoReconnecetValue: u32,
1344 pub WRdsDisableEncryptionStatus: WRDS_SETTING_STATUS,
1345 pub WRdsDisableEncryptionValue: u32,
1346 pub WRdsResetBrokenStatus: WRDS_SETTING_STATUS,
1347 pub WRdsResetBrokenValue: u32,
1348 pub WRdsMaxIdleTimeStatus: WRDS_SETTING_STATUS,
1349 pub WRdsMaxIdleTimeValue: u32,
1350 pub WRdsMaxDisconnectTimeStatus: WRDS_SETTING_STATUS,
1351 pub WRdsMaxDisconnectTimeValue: u32,
1352 pub WRdsMaxConnectTimeStatus: WRDS_SETTING_STATUS,
1353 pub WRdsMaxConnectTimeValue: u32,
1354 pub WRdsKeepAliveStatus: WRDS_SETTING_STATUS,
1355 pub WRdsKeepAliveStartValue: super::super::Foundation::BOOLEAN,
1356 pub WRdsKeepAliveIntervalValue: u32,
1357 }
1358 #[cfg(feature = "Win32_Foundation")]
1359 impl ::core::marker::Copy for WRDS_SETTINGS_1 {}
1360 #[cfg(feature = "Win32_Foundation")]
1361 impl ::core::clone::Clone for WRDS_SETTINGS_1 {
1362 fn clone(&self) -> Self {
1363 *self
1364 }
1365 }
1366 #[repr(C)]
1367 pub struct WTSCLIENTA {
1368 pub ClientName: [u8; 21],
1369 pub Domain: [u8; 18],
1370 pub UserName: [u8; 21],
1371 pub WorkDirectory: [u8; 261],
1372 pub InitialProgram: [u8; 261],
1373 pub EncryptionLevel: u8,
1374 pub ClientAddressFamily: u32,
1375 pub ClientAddress: [u16; 31],
1376 pub HRes: u16,
1377 pub VRes: u16,
1378 pub ColorDepth: u16,
1379 pub ClientDirectory: [u8; 261],
1380 pub ClientBuildNumber: u32,
1381 pub ClientHardwareId: u32,
1382 pub ClientProductId: u16,
1383 pub OutBufCountHost: u16,
1384 pub OutBufCountClient: u16,
1385 pub OutBufLength: u16,
1386 pub DeviceId: [u8; 261],
1387 }
1388 impl ::core::marker::Copy for WTSCLIENTA {}
1389 impl ::core::clone::Clone for WTSCLIENTA {
1390 fn clone(&self) -> Self {
1391 *self
1392 }
1393 }
1394 #[repr(C)]
1395 pub struct WTSCLIENTW {
1396 pub ClientName: [u16; 21],
1397 pub Domain: [u16; 18],
1398 pub UserName: [u16; 21],
1399 pub WorkDirectory: [u16; 261],
1400 pub InitialProgram: [u16; 261],
1401 pub EncryptionLevel: u8,
1402 pub ClientAddressFamily: u32,
1403 pub ClientAddress: [u16; 31],
1404 pub HRes: u16,
1405 pub VRes: u16,
1406 pub ColorDepth: u16,
1407 pub ClientDirectory: [u16; 261],
1408 pub ClientBuildNumber: u32,
1409 pub ClientHardwareId: u32,
1410 pub ClientProductId: u16,
1411 pub OutBufCountHost: u16,
1412 pub OutBufCountClient: u16,
1413 pub OutBufLength: u16,
1414 pub DeviceId: [u16; 261],
1415 }
1416 impl ::core::marker::Copy for WTSCLIENTW {}
1417 impl ::core::clone::Clone for WTSCLIENTW {
1418 fn clone(&self) -> Self {
1419 *self
1420 }
1421 }
1422 #[repr(C)]
1423 pub struct WTSCONFIGINFOA {
1424 pub version: u32,
1425 pub fConnectClientDrivesAtLogon: u32,
1426 pub fConnectPrinterAtLogon: u32,
1427 pub fDisablePrinterRedirection: u32,
1428 pub fDisableDefaultMainClientPrinter: u32,
1429 pub ShadowSettings: u32,
1430 pub LogonUserName: [u8; 21],
1431 pub LogonDomain: [u8; 18],
1432 pub WorkDirectory: [u8; 261],
1433 pub InitialProgram: [u8; 261],
1434 pub ApplicationName: [u8; 261],
1435 }
1436 impl ::core::marker::Copy for WTSCONFIGINFOA {}
1437 impl ::core::clone::Clone for WTSCONFIGINFOA {
1438 fn clone(&self) -> Self {
1439 *self
1440 }
1441 }
1442 #[repr(C)]
1443 pub struct WTSCONFIGINFOW {
1444 pub version: u32,
1445 pub fConnectClientDrivesAtLogon: u32,
1446 pub fConnectPrinterAtLogon: u32,
1447 pub fDisablePrinterRedirection: u32,
1448 pub fDisableDefaultMainClientPrinter: u32,
1449 pub ShadowSettings: u32,
1450 pub LogonUserName: [u16; 21],
1451 pub LogonDomain: [u16; 18],
1452 pub WorkDirectory: [u16; 261],
1453 pub InitialProgram: [u16; 261],
1454 pub ApplicationName: [u16; 261],
1455 }
1456 impl ::core::marker::Copy for WTSCONFIGINFOW {}
1457 impl ::core::clone::Clone for WTSCONFIGINFOW {
1458 fn clone(&self) -> Self {
1459 *self
1460 }
1461 }
1462 #[repr(C)]
1463 pub struct WTSINFOA {
1464 pub State: WTS_CONNECTSTATE_CLASS,
1465 pub SessionId: u32,
1466 pub IncomingBytes: u32,
1467 pub OutgoingBytes: u32,
1468 pub IncomingFrames: u32,
1469 pub OutgoingFrames: u32,
1470 pub IncomingCompressedBytes: u32,
1471 pub OutgoingCompressedBy: u32,
1472 pub WinStationName: [u8; 32],
1473 pub Domain: [u8; 17],
1474 pub UserName: [u8; 21],
1475 pub ConnectTime: i64,
1476 pub DisconnectTime: i64,
1477 pub LastInputTime: i64,
1478 pub LogonTime: i64,
1479 pub CurrentTime: i64,
1480 }
1481 impl ::core::marker::Copy for WTSINFOA {}
1482 impl ::core::clone::Clone for WTSINFOA {
1483 fn clone(&self) -> Self {
1484 *self
1485 }
1486 }
1487 #[repr(C)]
1488 pub struct WTSINFOEXA {
1489 pub Level: u32,
1490 pub Data: WTSINFOEX_LEVEL_A,
1491 }
1492 impl ::core::marker::Copy for WTSINFOEXA {}
1493 impl ::core::clone::Clone for WTSINFOEXA {
1494 fn clone(&self) -> Self {
1495 *self
1496 }
1497 }
1498 #[repr(C)]
1499 pub struct WTSINFOEXW {
1500 pub Level: u32,
1501 pub Data: WTSINFOEX_LEVEL_W,
1502 }
1503 impl ::core::marker::Copy for WTSINFOEXW {}
1504 impl ::core::clone::Clone for WTSINFOEXW {
1505 fn clone(&self) -> Self {
1506 *self
1507 }
1508 }
1509 #[repr(C)]
1510 pub struct WTSINFOEX_LEVEL1_A {
1511 pub SessionId: u32,
1512 pub SessionState: WTS_CONNECTSTATE_CLASS,
1513 pub SessionFlags: i32,
1514 pub WinStationName: [u8; 33],
1515 pub UserName: [u8; 21],
1516 pub DomainName: [u8; 18],
1517 pub LogonTime: i64,
1518 pub ConnectTime: i64,
1519 pub DisconnectTime: i64,
1520 pub LastInputTime: i64,
1521 pub CurrentTime: i64,
1522 pub IncomingBytes: u32,
1523 pub OutgoingBytes: u32,
1524 pub IncomingFrames: u32,
1525 pub OutgoingFrames: u32,
1526 pub IncomingCompressedBytes: u32,
1527 pub OutgoingCompressedBytes: u32,
1528 }
1529 impl ::core::marker::Copy for WTSINFOEX_LEVEL1_A {}
1530 impl ::core::clone::Clone for WTSINFOEX_LEVEL1_A {
1531 fn clone(&self) -> Self {
1532 *self
1533 }
1534 }
1535 #[repr(C)]
1536 pub struct WTSINFOEX_LEVEL1_W {
1537 pub SessionId: u32,
1538 pub SessionState: WTS_CONNECTSTATE_CLASS,
1539 pub SessionFlags: i32,
1540 pub WinStationName: [u16; 33],
1541 pub UserName: [u16; 21],
1542 pub DomainName: [u16; 18],
1543 pub LogonTime: i64,
1544 pub ConnectTime: i64,
1545 pub DisconnectTime: i64,
1546 pub LastInputTime: i64,
1547 pub CurrentTime: i64,
1548 pub IncomingBytes: u32,
1549 pub OutgoingBytes: u32,
1550 pub IncomingFrames: u32,
1551 pub OutgoingFrames: u32,
1552 pub IncomingCompressedBytes: u32,
1553 pub OutgoingCompressedBytes: u32,
1554 }
1555 impl ::core::marker::Copy for WTSINFOEX_LEVEL1_W {}
1556 impl ::core::clone::Clone for WTSINFOEX_LEVEL1_W {
1557 fn clone(&self) -> Self {
1558 *self
1559 }
1560 }
1561 #[repr(C)]
1562 pub union WTSINFOEX_LEVEL_A {
1563 pub WTSInfoExLevel1: WTSINFOEX_LEVEL1_A,
1564 }
1565 impl ::core::marker::Copy for WTSINFOEX_LEVEL_A {}
1566 impl ::core::clone::Clone for WTSINFOEX_LEVEL_A {
1567 fn clone(&self) -> Self {
1568 *self
1569 }
1570 }
1571 #[repr(C)]
1572 pub union WTSINFOEX_LEVEL_W {
1573 pub WTSInfoExLevel1: WTSINFOEX_LEVEL1_W,
1574 }
1575 impl ::core::marker::Copy for WTSINFOEX_LEVEL_W {}
1576 impl ::core::clone::Clone for WTSINFOEX_LEVEL_W {
1577 fn clone(&self) -> Self {
1578 *self
1579 }
1580 }
1581 #[repr(C)]
1582 pub struct WTSINFOW {
1583 pub State: WTS_CONNECTSTATE_CLASS,
1584 pub SessionId: u32,
1585 pub IncomingBytes: u32,
1586 pub OutgoingBytes: u32,
1587 pub IncomingFrames: u32,
1588 pub OutgoingFrames: u32,
1589 pub IncomingCompressedBytes: u32,
1590 pub OutgoingCompressedBytes: u32,
1591 pub WinStationName: [u16; 32],
1592 pub Domain: [u16; 17],
1593 pub UserName: [u16; 21],
1594 pub ConnectTime: i64,
1595 pub DisconnectTime: i64,
1596 pub LastInputTime: i64,
1597 pub LogonTime: i64,
1598 pub CurrentTime: i64,
1599 }
1600 impl ::core::marker::Copy for WTSINFOW {}
1601 impl ::core::clone::Clone for WTSINFOW {
1602 fn clone(&self) -> Self {
1603 *self
1604 }
1605 }
1606 #[repr(C)]
1607 pub struct WTSLISTENERCONFIGA {
1608 pub version: u32,
1609 pub fEnableListener: u32,
1610 pub MaxConnectionCount: u32,
1611 pub fPromptForPassword: u32,
1612 pub fInheritColorDepth: u32,
1613 pub ColorDepth: u32,
1614 pub fInheritBrokenTimeoutSettings: u32,
1615 pub BrokenTimeoutSettings: u32,
1616 pub fDisablePrinterRedirection: u32,
1617 pub fDisableDriveRedirection: u32,
1618 pub fDisableComPortRedirection: u32,
1619 pub fDisableLPTPortRedirection: u32,
1620 pub fDisableClipboardRedirection: u32,
1621 pub fDisableAudioRedirection: u32,
1622 pub fDisablePNPRedirection: u32,
1623 pub fDisableDefaultMainClientPrinter: u32,
1624 pub LanAdapter: u32,
1625 pub PortNumber: u32,
1626 pub fInheritShadowSettings: u32,
1627 pub ShadowSettings: u32,
1628 pub TimeoutSettingsConnection: u32,
1629 pub TimeoutSettingsDisconnection: u32,
1630 pub TimeoutSettingsIdle: u32,
1631 pub SecurityLayer: u32,
1632 pub MinEncryptionLevel: u32,
1633 pub UserAuthentication: u32,
1634 pub Comment: [u8; 61],
1635 pub LogonUserName: [u8; 21],
1636 pub LogonDomain: [u8; 18],
1637 pub WorkDirectory: [u8; 261],
1638 pub InitialProgram: [u8; 261],
1639 }
1640 impl ::core::marker::Copy for WTSLISTENERCONFIGA {}
1641 impl ::core::clone::Clone for WTSLISTENERCONFIGA {
1642 fn clone(&self) -> Self {
1643 *self
1644 }
1645 }
1646 #[repr(C)]
1647 pub struct WTSLISTENERCONFIGW {
1648 pub version: u32,
1649 pub fEnableListener: u32,
1650 pub MaxConnectionCount: u32,
1651 pub fPromptForPassword: u32,
1652 pub fInheritColorDepth: u32,
1653 pub ColorDepth: u32,
1654 pub fInheritBrokenTimeoutSettings: u32,
1655 pub BrokenTimeoutSettings: u32,
1656 pub fDisablePrinterRedirection: u32,
1657 pub fDisableDriveRedirection: u32,
1658 pub fDisableComPortRedirection: u32,
1659 pub fDisableLPTPortRedirection: u32,
1660 pub fDisableClipboardRedirection: u32,
1661 pub fDisableAudioRedirection: u32,
1662 pub fDisablePNPRedirection: u32,
1663 pub fDisableDefaultMainClientPrinter: u32,
1664 pub LanAdapter: u32,
1665 pub PortNumber: u32,
1666 pub fInheritShadowSettings: u32,
1667 pub ShadowSettings: u32,
1668 pub TimeoutSettingsConnection: u32,
1669 pub TimeoutSettingsDisconnection: u32,
1670 pub TimeoutSettingsIdle: u32,
1671 pub SecurityLayer: u32,
1672 pub MinEncryptionLevel: u32,
1673 pub UserAuthentication: u32,
1674 pub Comment: [u16; 61],
1675 pub LogonUserName: [u16; 21],
1676 pub LogonDomain: [u16; 18],
1677 pub WorkDirectory: [u16; 261],
1678 pub InitialProgram: [u16; 261],
1679 }
1680 impl ::core::marker::Copy for WTSLISTENERCONFIGW {}
1681 impl ::core::clone::Clone for WTSLISTENERCONFIGW {
1682 fn clone(&self) -> Self {
1683 *self
1684 }
1685 }
1686 #[repr(C)]
1687 pub struct WTSSBX_IP_ADDRESS {
1688 pub AddressFamily: WTSSBX_ADDRESS_FAMILY,
1689 pub Address: [u8; 16],
1690 pub PortNumber: u16,
1691 pub dwScope: u32,
1692 }
1693 impl ::core::marker::Copy for WTSSBX_IP_ADDRESS {}
1694 impl ::core::clone::Clone for WTSSBX_IP_ADDRESS {
1695 fn clone(&self) -> Self {
1696 *self
1697 }
1698 }
1699 #[repr(C)]
1700 pub struct WTSSBX_MACHINE_CONNECT_INFO {
1701 pub wczMachineFQDN: [u16; 257],
1702 pub wczMachineNetBiosName: [u16; 17],
1703 pub dwNumOfIPAddr: u32,
1704 pub IPaddr: [WTSSBX_IP_ADDRESS; 12],
1705 }
1706 impl ::core::marker::Copy for WTSSBX_MACHINE_CONNECT_INFO {}
1707 impl ::core::clone::Clone for WTSSBX_MACHINE_CONNECT_INFO {
1708 fn clone(&self) -> Self {
1709 *self
1710 }
1711 }
1712 #[repr(C)]
1713 pub struct WTSSBX_MACHINE_INFO {
1714 pub ClientConnectInfo: WTSSBX_MACHINE_CONNECT_INFO,
1715 pub wczFarmName: [u16; 257],
1716 pub InternalIPAddress: WTSSBX_IP_ADDRESS,
1717 pub dwMaxSessionsLimit: u32,
1718 pub ServerWeight: u32,
1719 pub SingleSessionMode: WTSSBX_MACHINE_SESSION_MODE,
1720 pub InDrain: WTSSBX_MACHINE_DRAIN,
1721 pub MachineState: WTSSBX_MACHINE_STATE,
1722 }
1723 impl ::core::marker::Copy for WTSSBX_MACHINE_INFO {}
1724 impl ::core::clone::Clone for WTSSBX_MACHINE_INFO {
1725 fn clone(&self) -> Self {
1726 *self
1727 }
1728 }
1729 #[repr(C)]
1730 #[doc = "Required features: `\"Win32_Foundation\"`"]
1731 #[cfg(feature = "Win32_Foundation")]
1732 pub struct WTSSBX_SESSION_INFO {
1733 pub wszUserName: [u16; 105],
1734 pub wszDomainName: [u16; 257],
1735 pub ApplicationType: [u16; 257],
1736 pub dwSessionId: u32,
1737 pub CreateTime: super::super::Foundation::FILETIME,
1738 pub DisconnectTime: super::super::Foundation::FILETIME,
1739 pub SessionState: WTSSBX_SESSION_STATE,
1740 }
1741 #[cfg(feature = "Win32_Foundation")]
1742 impl ::core::marker::Copy for WTSSBX_SESSION_INFO {}
1743 #[cfg(feature = "Win32_Foundation")]
1744 impl ::core::clone::Clone for WTSSBX_SESSION_INFO {
1745 fn clone(&self) -> Self {
1746 *self
1747 }
1748 }
1749 #[repr(C)]
1750 pub struct WTSSESSION_NOTIFICATION {
1751 pub cbSize: u32,
1752 pub dwSessionId: u32,
1753 }
1754 impl ::core::marker::Copy for WTSSESSION_NOTIFICATION {}
1755 impl ::core::clone::Clone for WTSSESSION_NOTIFICATION {
1756 fn clone(&self) -> Self {
1757 *self
1758 }
1759 }
1760 #[repr(C)]
1761 pub struct WTSUSERCONFIGA {
1762 pub Source: u32,
1763 pub InheritInitialProgram: u32,
1764 pub AllowLogonTerminalServer: u32,
1765 pub TimeoutSettingsConnections: u32,
1766 pub TimeoutSettingsDisconnections: u32,
1767 pub TimeoutSettingsIdle: u32,
1768 pub DeviceClientDrives: u32,
1769 pub DeviceClientPrinters: u32,
1770 pub ClientDefaultPrinter: u32,
1771 pub BrokenTimeoutSettings: u32,
1772 pub ReconnectSettings: u32,
1773 pub ShadowingSettings: u32,
1774 pub TerminalServerRemoteHomeDir: u32,
1775 pub InitialProgram: [u8; 261],
1776 pub WorkDirectory: [u8; 261],
1777 pub TerminalServerProfilePath: [u8; 261],
1778 pub TerminalServerHomeDir: [u8; 261],
1779 pub TerminalServerHomeDirDrive: [u8; 4],
1780 }
1781 impl ::core::marker::Copy for WTSUSERCONFIGA {}
1782 impl ::core::clone::Clone for WTSUSERCONFIGA {
1783 fn clone(&self) -> Self {
1784 *self
1785 }
1786 }
1787 #[repr(C)]
1788 pub struct WTSUSERCONFIGW {
1789 pub Source: u32,
1790 pub InheritInitialProgram: u32,
1791 pub AllowLogonTerminalServer: u32,
1792 pub TimeoutSettingsConnections: u32,
1793 pub TimeoutSettingsDisconnections: u32,
1794 pub TimeoutSettingsIdle: u32,
1795 pub DeviceClientDrives: u32,
1796 pub DeviceClientPrinters: u32,
1797 pub ClientDefaultPrinter: u32,
1798 pub BrokenTimeoutSettings: u32,
1799 pub ReconnectSettings: u32,
1800 pub ShadowingSettings: u32,
1801 pub TerminalServerRemoteHomeDir: u32,
1802 pub InitialProgram: [u16; 261],
1803 pub WorkDirectory: [u16; 261],
1804 pub TerminalServerProfilePath: [u16; 261],
1805 pub TerminalServerHomeDir: [u16; 261],
1806 pub TerminalServerHomeDirDrive: [u16; 4],
1807 }
1808 impl ::core::marker::Copy for WTSUSERCONFIGW {}
1809 impl ::core::clone::Clone for WTSUSERCONFIGW {
1810 fn clone(&self) -> Self {
1811 *self
1812 }
1813 }
1814 #[repr(C)]
1815 pub struct WTS_CACHE_STATS {
1816 pub Specific: u32,
1817 pub Data: WTS_CACHE_STATS_UN,
1818 pub ProtocolType: u16,
1819 pub Length: u16,
1820 }
1821 impl ::core::marker::Copy for WTS_CACHE_STATS {}
1822 impl ::core::clone::Clone for WTS_CACHE_STATS {
1823 fn clone(&self) -> Self {
1824 *self
1825 }
1826 }
1827 #[repr(C)]
1828 pub union WTS_CACHE_STATS_UN {
1829 pub ProtocolCache: [WTS_PROTOCOL_CACHE; 4],
1830 pub TShareCacheStats: u32,
1831 pub Reserved: [u32; 20],
1832 }
1833 impl ::core::marker::Copy for WTS_CACHE_STATS_UN {}
1834 impl ::core::clone::Clone for WTS_CACHE_STATS_UN {
1835 fn clone(&self) -> Self {
1836 *self
1837 }
1838 }
1839 #[repr(C)]
1840 pub struct WTS_CLIENT_ADDRESS {
1841 pub AddressFamily: u32,
1842 pub Address: [u8; 20],
1843 }
1844 impl ::core::marker::Copy for WTS_CLIENT_ADDRESS {}
1845 impl ::core::clone::Clone for WTS_CLIENT_ADDRESS {
1846 fn clone(&self) -> Self {
1847 *self
1848 }
1849 }
1850 #[repr(C)]
1851 #[doc = "Required features: `\"Win32_Foundation\"`"]
1852 #[cfg(feature = "Win32_Foundation")]
1853 pub struct WTS_CLIENT_DATA {
1854 pub fDisableCtrlAltDel: super::super::Foundation::BOOLEAN,
1855 pub fDoubleClickDetect: super::super::Foundation::BOOLEAN,
1856 pub fEnableWindowsKey: super::super::Foundation::BOOLEAN,
1857 pub fHideTitleBar: super::super::Foundation::BOOLEAN,
1858 pub fInheritAutoLogon: super::super::Foundation::BOOL,
1859 pub fPromptForPassword: super::super::Foundation::BOOLEAN,
1860 pub fUsingSavedCreds: super::super::Foundation::BOOLEAN,
1861 pub Domain: [u16; 256],
1862 pub UserName: [u16; 256],
1863 pub Password: [u16; 256],
1864 pub fPasswordIsScPin: super::super::Foundation::BOOLEAN,
1865 pub fInheritInitialProgram: super::super::Foundation::BOOL,
1866 pub WorkDirectory: [u16; 257],
1867 pub InitialProgram: [u16; 257],
1868 pub fMaximizeShell: super::super::Foundation::BOOLEAN,
1869 pub EncryptionLevel: u8,
1870 pub PerformanceFlags: u32,
1871 pub ProtocolName: [u16; 9],
1872 pub ProtocolType: u16,
1873 pub fInheritColorDepth: super::super::Foundation::BOOL,
1874 pub HRes: u16,
1875 pub VRes: u16,
1876 pub ColorDepth: u16,
1877 pub DisplayDriverName: [u16; 9],
1878 pub DisplayDeviceName: [u16; 20],
1879 pub fMouse: super::super::Foundation::BOOLEAN,
1880 pub KeyboardLayout: u32,
1881 pub KeyboardType: u32,
1882 pub KeyboardSubType: u32,
1883 pub KeyboardFunctionKey: u32,
1884 pub imeFileName: [u16; 33],
1885 pub ActiveInputLocale: u32,
1886 pub fNoAudioPlayback: super::super::Foundation::BOOLEAN,
1887 pub fRemoteConsoleAudio: super::super::Foundation::BOOLEAN,
1888 pub AudioDriverName: [u16; 9],
1889 pub ClientTimeZone: WTS_TIME_ZONE_INFORMATION,
1890 pub ClientName: [u16; 21],
1891 pub SerialNumber: u32,
1892 pub ClientAddressFamily: u32,
1893 pub ClientAddress: [u16; 31],
1894 pub ClientSockAddress: WTS_SOCKADDR,
1895 pub ClientDirectory: [u16; 257],
1896 pub ClientBuildNumber: u32,
1897 pub ClientProductId: u16,
1898 pub OutBufCountHost: u16,
1899 pub OutBufCountClient: u16,
1900 pub OutBufLength: u16,
1901 pub ClientSessionId: u32,
1902 pub ClientDigProductId: [u16; 33],
1903 pub fDisableCpm: super::super::Foundation::BOOLEAN,
1904 pub fDisableCdm: super::super::Foundation::BOOLEAN,
1905 pub fDisableCcm: super::super::Foundation::BOOLEAN,
1906 pub fDisableLPT: super::super::Foundation::BOOLEAN,
1907 pub fDisableClip: super::super::Foundation::BOOLEAN,
1908 pub fDisablePNP: super::super::Foundation::BOOLEAN,
1909 }
1910 #[cfg(feature = "Win32_Foundation")]
1911 impl ::core::marker::Copy for WTS_CLIENT_DATA {}
1912 #[cfg(feature = "Win32_Foundation")]
1913 impl ::core::clone::Clone for WTS_CLIENT_DATA {
1914 fn clone(&self) -> Self {
1915 *self
1916 }
1917 }
1918 #[repr(C)]
1919 pub struct WTS_CLIENT_DISPLAY {
1920 pub HorizontalResolution: u32,
1921 pub VerticalResolution: u32,
1922 pub ColorDepth: u32,
1923 }
1924 impl ::core::marker::Copy for WTS_CLIENT_DISPLAY {}
1925 impl ::core::clone::Clone for WTS_CLIENT_DISPLAY {
1926 fn clone(&self) -> Self {
1927 *self
1928 }
1929 }
1930 #[repr(C)]
1931 pub struct WTS_DISPLAY_IOCTL {
1932 pub pDisplayIOCtlData: [u8; 256],
1933 pub cbDisplayIOCtlData: u32,
1934 }
1935 impl ::core::marker::Copy for WTS_DISPLAY_IOCTL {}
1936 impl ::core::clone::Clone for WTS_DISPLAY_IOCTL {
1937 fn clone(&self) -> Self {
1938 *self
1939 }
1940 }
1941 #[repr(C)]
1942 #[doc = "Required features: `\"Win32_Foundation\"`"]
1943 #[cfg(feature = "Win32_Foundation")]
1944 pub struct WTS_LICENSE_CAPABILITIES {
1945 pub KeyExchangeAlg: u32,
1946 pub ProtocolVer: u32,
1947 pub fAuthenticateServer: super::super::Foundation::BOOL,
1948 pub CertType: WTS_CERT_TYPE,
1949 pub cbClientName: u32,
1950 pub rgbClientName: [u8; 42],
1951 }
1952 #[cfg(feature = "Win32_Foundation")]
1953 impl ::core::marker::Copy for WTS_LICENSE_CAPABILITIES {}
1954 #[cfg(feature = "Win32_Foundation")]
1955 impl ::core::clone::Clone for WTS_LICENSE_CAPABILITIES {
1956 fn clone(&self) -> Self {
1957 *self
1958 }
1959 }
1960 #[repr(C)]
1961 #[doc = "Required features: `\"Win32_Foundation\"`"]
1962 #[cfg(feature = "Win32_Foundation")]
1963 pub struct WTS_POLICY_DATA {
1964 pub fDisableEncryption: super::super::Foundation::BOOLEAN,
1965 pub fDisableAutoReconnect: super::super::Foundation::BOOLEAN,
1966 pub ColorDepth: u32,
1967 pub MinEncryptionLevel: u8,
1968 pub fDisableCpm: super::super::Foundation::BOOLEAN,
1969 pub fDisableCdm: super::super::Foundation::BOOLEAN,
1970 pub fDisableCcm: super::super::Foundation::BOOLEAN,
1971 pub fDisableLPT: super::super::Foundation::BOOLEAN,
1972 pub fDisableClip: super::super::Foundation::BOOLEAN,
1973 pub fDisablePNPRedir: super::super::Foundation::BOOLEAN,
1974 }
1975 #[cfg(feature = "Win32_Foundation")]
1976 impl ::core::marker::Copy for WTS_POLICY_DATA {}
1977 #[cfg(feature = "Win32_Foundation")]
1978 impl ::core::clone::Clone for WTS_POLICY_DATA {
1979 fn clone(&self) -> Self {
1980 *self
1981 }
1982 }
1983 #[repr(C)]
1984 #[doc = "Required features: `\"Win32_Foundation\"`"]
1985 #[cfg(feature = "Win32_Foundation")]
1986 pub struct WTS_PROCESS_INFOA {
1987 pub SessionId: u32,
1988 pub ProcessId: u32,
1989 pub pProcessName: ::windows_sys::core::PSTR,
1990 pub pUserSid: super::super::Foundation::PSID,
1991 }
1992 #[cfg(feature = "Win32_Foundation")]
1993 impl ::core::marker::Copy for WTS_PROCESS_INFOA {}
1994 #[cfg(feature = "Win32_Foundation")]
1995 impl ::core::clone::Clone for WTS_PROCESS_INFOA {
1996 fn clone(&self) -> Self {
1997 *self
1998 }
1999 }
2000 #[repr(C)]
2001 #[doc = "Required features: `\"Win32_Foundation\"`"]
2002 #[cfg(feature = "Win32_Foundation")]
2003 pub struct WTS_PROCESS_INFOW {
2004 pub SessionId: u32,
2005 pub ProcessId: u32,
2006 pub pProcessName: ::windows_sys::core::PWSTR,
2007 pub pUserSid: super::super::Foundation::PSID,
2008 }
2009 #[cfg(feature = "Win32_Foundation")]
2010 impl ::core::marker::Copy for WTS_PROCESS_INFOW {}
2011 #[cfg(feature = "Win32_Foundation")]
2012 impl ::core::clone::Clone for WTS_PROCESS_INFOW {
2013 fn clone(&self) -> Self {
2014 *self
2015 }
2016 }
2017 #[repr(C)]
2018 #[doc = "Required features: `\"Win32_Foundation\"`"]
2019 #[cfg(feature = "Win32_Foundation")]
2020 pub struct WTS_PROCESS_INFO_EXA {
2021 pub SessionId: u32,
2022 pub ProcessId: u32,
2023 pub pProcessName: ::windows_sys::core::PSTR,
2024 pub pUserSid: super::super::Foundation::PSID,
2025 pub NumberOfThreads: u32,
2026 pub HandleCount: u32,
2027 pub PagefileUsage: u32,
2028 pub PeakPagefileUsage: u32,
2029 pub WorkingSetSize: u32,
2030 pub PeakWorkingSetSize: u32,
2031 pub UserTime: i64,
2032 pub KernelTime: i64,
2033 }
2034 #[cfg(feature = "Win32_Foundation")]
2035 impl ::core::marker::Copy for WTS_PROCESS_INFO_EXA {}
2036 #[cfg(feature = "Win32_Foundation")]
2037 impl ::core::clone::Clone for WTS_PROCESS_INFO_EXA {
2038 fn clone(&self) -> Self {
2039 *self
2040 }
2041 }
2042 #[repr(C)]
2043 #[doc = "Required features: `\"Win32_Foundation\"`"]
2044 #[cfg(feature = "Win32_Foundation")]
2045 pub struct WTS_PROCESS_INFO_EXW {
2046 pub SessionId: u32,
2047 pub ProcessId: u32,
2048 pub pProcessName: ::windows_sys::core::PWSTR,
2049 pub pUserSid: super::super::Foundation::PSID,
2050 pub NumberOfThreads: u32,
2051 pub HandleCount: u32,
2052 pub PagefileUsage: u32,
2053 pub PeakPagefileUsage: u32,
2054 pub WorkingSetSize: u32,
2055 pub PeakWorkingSetSize: u32,
2056 pub UserTime: i64,
2057 pub KernelTime: i64,
2058 }
2059 #[cfg(feature = "Win32_Foundation")]
2060 impl ::core::marker::Copy for WTS_PROCESS_INFO_EXW {}
2061 #[cfg(feature = "Win32_Foundation")]
2062 impl ::core::clone::Clone for WTS_PROCESS_INFO_EXW {
2063 fn clone(&self) -> Self {
2064 *self
2065 }
2066 }
2067 #[repr(C)]
2068 pub struct WTS_PROPERTY_VALUE {
2069 pub Type: u16,
2070 pub u: WTS_PROPERTY_VALUE_0,
2071 }
2072 impl ::core::marker::Copy for WTS_PROPERTY_VALUE {}
2073 impl ::core::clone::Clone for WTS_PROPERTY_VALUE {
2074 fn clone(&self) -> Self {
2075 *self
2076 }
2077 }
2078 #[repr(C)]
2079 pub union WTS_PROPERTY_VALUE_0 {
2080 pub ulVal: u32,
2081 pub strVal: WTS_PROPERTY_VALUE_0_1,
2082 pub bVal: WTS_PROPERTY_VALUE_0_0,
2083 pub guidVal: ::windows_sys::core::GUID,
2084 }
2085 impl ::core::marker::Copy for WTS_PROPERTY_VALUE_0 {}
2086 impl ::core::clone::Clone for WTS_PROPERTY_VALUE_0 {
2087 fn clone(&self) -> Self {
2088 *self
2089 }
2090 }
2091 #[repr(C)]
2092 pub struct WTS_PROPERTY_VALUE_0_0 {
2093 pub size: u32,
2094 pub pbVal: ::windows_sys::core::PSTR,
2095 }
2096 impl ::core::marker::Copy for WTS_PROPERTY_VALUE_0_0 {}
2097 impl ::core::clone::Clone for WTS_PROPERTY_VALUE_0_0 {
2098 fn clone(&self) -> Self {
2099 *self
2100 }
2101 }
2102 #[repr(C)]
2103 pub struct WTS_PROPERTY_VALUE_0_1 {
2104 pub size: u32,
2105 pub pstrVal: ::windows_sys::core::PWSTR,
2106 }
2107 impl ::core::marker::Copy for WTS_PROPERTY_VALUE_0_1 {}
2108 impl ::core::clone::Clone for WTS_PROPERTY_VALUE_0_1 {
2109 fn clone(&self) -> Self {
2110 *self
2111 }
2112 }
2113 #[repr(C)]
2114 pub struct WTS_PROTOCOL_CACHE {
2115 pub CacheReads: u32,
2116 pub CacheHits: u32,
2117 }
2118 impl ::core::marker::Copy for WTS_PROTOCOL_CACHE {}
2119 impl ::core::clone::Clone for WTS_PROTOCOL_CACHE {
2120 fn clone(&self) -> Self {
2121 *self
2122 }
2123 }
2124 #[repr(C)]
2125 pub struct WTS_PROTOCOL_COUNTERS {
2126 pub WdBytes: u32,
2127 pub WdFrames: u32,
2128 pub WaitForOutBuf: u32,
2129 pub Frames: u32,
2130 pub Bytes: u32,
2131 pub CompressedBytes: u32,
2132 pub CompressFlushes: u32,
2133 pub Errors: u32,
2134 pub Timeouts: u32,
2135 pub AsyncFramingError: u32,
2136 pub AsyncOverrunError: u32,
2137 pub AsyncOverflowError: u32,
2138 pub AsyncParityError: u32,
2139 pub TdErrors: u32,
2140 pub ProtocolType: u16,
2141 pub Length: u16,
2142 pub Specific: u16,
2143 pub Reserved: [u32; 100],
2144 }
2145 impl ::core::marker::Copy for WTS_PROTOCOL_COUNTERS {}
2146 impl ::core::clone::Clone for WTS_PROTOCOL_COUNTERS {
2147 fn clone(&self) -> Self {
2148 *self
2149 }
2150 }
2151 #[repr(C)]
2152 pub struct WTS_PROTOCOL_STATUS {
2153 pub Output: WTS_PROTOCOL_COUNTERS,
2154 pub Input: WTS_PROTOCOL_COUNTERS,
2155 pub Cache: WTS_CACHE_STATS,
2156 pub AsyncSignal: u32,
2157 pub AsyncSignalMask: u32,
2158 pub Counters: [i64; 100],
2159 }
2160 impl ::core::marker::Copy for WTS_PROTOCOL_STATUS {}
2161 impl ::core::clone::Clone for WTS_PROTOCOL_STATUS {
2162 fn clone(&self) -> Self {
2163 *self
2164 }
2165 }
2166 #[repr(C)]
2167 pub struct WTS_SERVER_INFOA {
2168 pub pServerName: ::windows_sys::core::PSTR,
2169 }
2170 impl ::core::marker::Copy for WTS_SERVER_INFOA {}
2171 impl ::core::clone::Clone for WTS_SERVER_INFOA {
2172 fn clone(&self) -> Self {
2173 *self
2174 }
2175 }
2176 #[repr(C)]
2177 pub struct WTS_SERVER_INFOW {
2178 pub pServerName: ::windows_sys::core::PWSTR,
2179 }
2180 impl ::core::marker::Copy for WTS_SERVER_INFOW {}
2181 impl ::core::clone::Clone for WTS_SERVER_INFOW {
2182 fn clone(&self) -> Self {
2183 *self
2184 }
2185 }
2186 #[repr(C)]
2187 pub struct WTS_SERVICE_STATE {
2188 pub RcmServiceState: WTS_RCM_SERVICE_STATE,
2189 pub RcmDrainState: WTS_RCM_DRAIN_STATE,
2190 }
2191 impl ::core::marker::Copy for WTS_SERVICE_STATE {}
2192 impl ::core::clone::Clone for WTS_SERVICE_STATE {
2193 fn clone(&self) -> Self {
2194 *self
2195 }
2196 }
2197 #[repr(C)]
2198 pub struct WTS_SESSION_ADDRESS {
2199 pub AddressFamily: u32,
2200 pub Address: [u8; 20],
2201 }
2202 impl ::core::marker::Copy for WTS_SESSION_ADDRESS {}
2203 impl ::core::clone::Clone for WTS_SESSION_ADDRESS {
2204 fn clone(&self) -> Self {
2205 *self
2206 }
2207 }
2208 #[repr(C)]
2209 pub struct WTS_SESSION_ID {
2210 pub SessionUniqueGuid: ::windows_sys::core::GUID,
2211 pub SessionId: u32,
2212 }
2213 impl ::core::marker::Copy for WTS_SESSION_ID {}
2214 impl ::core::clone::Clone for WTS_SESSION_ID {
2215 fn clone(&self) -> Self {
2216 *self
2217 }
2218 }
2219 #[repr(C)]
2220 pub struct WTS_SESSION_INFOA {
2221 pub SessionId: u32,
2222 pub pWinStationName: ::windows_sys::core::PSTR,
2223 pub State: WTS_CONNECTSTATE_CLASS,
2224 }
2225 impl ::core::marker::Copy for WTS_SESSION_INFOA {}
2226 impl ::core::clone::Clone for WTS_SESSION_INFOA {
2227 fn clone(&self) -> Self {
2228 *self
2229 }
2230 }
2231 #[repr(C)]
2232 pub struct WTS_SESSION_INFOW {
2233 pub SessionId: u32,
2234 pub pWinStationName: ::windows_sys::core::PWSTR,
2235 pub State: WTS_CONNECTSTATE_CLASS,
2236 }
2237 impl ::core::marker::Copy for WTS_SESSION_INFOW {}
2238 impl ::core::clone::Clone for WTS_SESSION_INFOW {
2239 fn clone(&self) -> Self {
2240 *self
2241 }
2242 }
2243 #[repr(C)]
2244 pub struct WTS_SESSION_INFO_1A {
2245 pub ExecEnvId: u32,
2246 pub State: WTS_CONNECTSTATE_CLASS,
2247 pub SessionId: u32,
2248 pub pSessionName: ::windows_sys::core::PSTR,
2249 pub pHostName: ::windows_sys::core::PSTR,
2250 pub pUserName: ::windows_sys::core::PSTR,
2251 pub pDomainName: ::windows_sys::core::PSTR,
2252 pub pFarmName: ::windows_sys::core::PSTR,
2253 }
2254 impl ::core::marker::Copy for WTS_SESSION_INFO_1A {}
2255 impl ::core::clone::Clone for WTS_SESSION_INFO_1A {
2256 fn clone(&self) -> Self {
2257 *self
2258 }
2259 }
2260 #[repr(C)]
2261 pub struct WTS_SESSION_INFO_1W {
2262 pub ExecEnvId: u32,
2263 pub State: WTS_CONNECTSTATE_CLASS,
2264 pub SessionId: u32,
2265 pub pSessionName: ::windows_sys::core::PWSTR,
2266 pub pHostName: ::windows_sys::core::PWSTR,
2267 pub pUserName: ::windows_sys::core::PWSTR,
2268 pub pDomainName: ::windows_sys::core::PWSTR,
2269 pub pFarmName: ::windows_sys::core::PWSTR,
2270 }
2271 impl ::core::marker::Copy for WTS_SESSION_INFO_1W {}
2272 impl ::core::clone::Clone for WTS_SESSION_INFO_1W {
2273 fn clone(&self) -> Self {
2274 *self
2275 }
2276 }
2277 #[repr(C)]
2278 pub struct WTS_SMALL_RECT {
2279 pub Left: i16,
2280 pub Top: i16,
2281 pub Right: i16,
2282 pub Bottom: i16,
2283 }
2284 impl ::core::marker::Copy for WTS_SMALL_RECT {}
2285 impl ::core::clone::Clone for WTS_SMALL_RECT {
2286 fn clone(&self) -> Self {
2287 *self
2288 }
2289 }
2290 #[repr(C)]
2291 pub struct WTS_SOCKADDR {
2292 pub sin_family: u16,
2293 pub u: WTS_SOCKADDR_0,
2294 }
2295 impl ::core::marker::Copy for WTS_SOCKADDR {}
2296 impl ::core::clone::Clone for WTS_SOCKADDR {
2297 fn clone(&self) -> Self {
2298 *self
2299 }
2300 }
2301 #[repr(C)]
2302 pub union WTS_SOCKADDR_0 {
2303 pub ipv4: WTS_SOCKADDR_0_0,
2304 pub ipv6: WTS_SOCKADDR_0_1,
2305 }
2306 impl ::core::marker::Copy for WTS_SOCKADDR_0 {}
2307 impl ::core::clone::Clone for WTS_SOCKADDR_0 {
2308 fn clone(&self) -> Self {
2309 *self
2310 }
2311 }
2312 #[repr(C)]
2313 pub struct WTS_SOCKADDR_0_0 {
2314 pub sin_port: u16,
2315 pub IN_ADDR: u32,
2316 pub sin_zero: [u8; 8],
2317 }
2318 impl ::core::marker::Copy for WTS_SOCKADDR_0_0 {}
2319 impl ::core::clone::Clone for WTS_SOCKADDR_0_0 {
2320 fn clone(&self) -> Self {
2321 *self
2322 }
2323 }
2324 #[repr(C)]
2325 pub struct WTS_SOCKADDR_0_1 {
2326 pub sin6_port: u16,
2327 pub sin6_flowinfo: u32,
2328 pub sin6_addr: [u16; 8],
2329 pub sin6_scope_id: u32,
2330 }
2331 impl ::core::marker::Copy for WTS_SOCKADDR_0_1 {}
2332 impl ::core::clone::Clone for WTS_SOCKADDR_0_1 {
2333 fn clone(&self) -> Self {
2334 *self
2335 }
2336 }
2337 #[repr(C)]
2338 pub struct WTS_SYSTEMTIME {
2339 pub wYear: u16,
2340 pub wMonth: u16,
2341 pub wDayOfWeek: u16,
2342 pub wDay: u16,
2343 pub wHour: u16,
2344 pub wMinute: u16,
2345 pub wSecond: u16,
2346 pub wMilliseconds: u16,
2347 }
2348 impl ::core::marker::Copy for WTS_SYSTEMTIME {}
2349 impl ::core::clone::Clone for WTS_SYSTEMTIME {
2350 fn clone(&self) -> Self {
2351 *self
2352 }
2353 }
2354 #[repr(C)]
2355 pub struct WTS_TIME_ZONE_INFORMATION {
2356 pub Bias: i32,
2357 pub StandardName: [u16; 32],
2358 pub StandardDate: WTS_SYSTEMTIME,
2359 pub StandardBias: i32,
2360 pub DaylightName: [u16; 32],
2361 pub DaylightDate: WTS_SYSTEMTIME,
2362 pub DaylightBias: i32,
2363 }
2364 impl ::core::marker::Copy for WTS_TIME_ZONE_INFORMATION {}
2365 impl ::core::clone::Clone for WTS_TIME_ZONE_INFORMATION {
2366 fn clone(&self) -> Self {
2367 *self
2368 }
2369 }
2370 #[repr(C)]
2371 pub struct WTS_USER_CREDENTIAL {
2372 pub UserName: [u16; 256],
2373 pub Password: [u16; 256],
2374 pub Domain: [u16; 256],
2375 }
2376 impl ::core::marker::Copy for WTS_USER_CREDENTIAL {}
2377 impl ::core::clone::Clone for WTS_USER_CREDENTIAL {
2378 fn clone(&self) -> Self {
2379 *self
2380 }
2381 }
2382 #[repr(C)]
2383 pub struct WTS_USER_DATA {
2384 pub WorkDirectory: [u16; 257],
2385 pub InitialProgram: [u16; 257],
2386 pub UserTimeZone: WTS_TIME_ZONE_INFORMATION,
2387 }
2388 impl ::core::marker::Copy for WTS_USER_DATA {}
2389 impl ::core::clone::Clone for WTS_USER_DATA {
2390 fn clone(&self) -> Self {
2391 *self
2392 }
2393 }
2394 #[repr(C)]
2395 pub struct WTS_VALIDATION_INFORMATIONA {
2396 pub ProductInfo: PRODUCT_INFOA,
2397 pub License: [u8; 16384],
2398 pub LicenseLength: u32,
2399 pub HardwareID: [u8; 20],
2400 pub HardwareIDLength: u32,
2401 }
2402 impl ::core::marker::Copy for WTS_VALIDATION_INFORMATIONA {}
2403 impl ::core::clone::Clone for WTS_VALIDATION_INFORMATIONA {
2404 fn clone(&self) -> Self {
2405 *self
2406 }
2407 }
2408 #[repr(C)]
2409 pub struct WTS_VALIDATION_INFORMATIONW {
2410 pub ProductInfo: PRODUCT_INFOW,
2411 pub License: [u8; 16384],
2412 pub LicenseLength: u32,
2413 pub HardwareID: [u8; 20],
2414 pub HardwareIDLength: u32,
2415 }
2416 impl ::core::marker::Copy for WTS_VALIDATION_INFORMATIONW {}
2417 impl ::core::clone::Clone for WTS_VALIDATION_INFORMATIONW {
2418 fn clone(&self) -> Self {
2419 *self
2420 }
2421 }
2422 #[repr(C)]
2423 pub struct pluginResource {
2424 pub alias: [u16; 256],
2425 pub name: [u16; 256],
2426 pub resourceFileContents: ::windows_sys::core::PWSTR,
2427 pub fileExtension: [u16; 256],
2428 pub resourcePluginType: [u16; 256],
2429 pub isDiscoverable: u8,
2430 pub resourceType: i32,
2431 pub pceIconSize: u32,
2432 pub iconContents: *mut u8,
2433 pub pcePluginBlobSize: u32,
2434 pub blobContents: *mut u8,
2435 }
2436 impl ::core::marker::Copy for pluginResource {}
2437 impl ::core::clone::Clone for pluginResource {
2438 fn clone(&self) -> Self {
2439 *self
2440 }
2441 }
2442 #[repr(C)]
2443 pub struct pluginResource2 {
2444 pub resourceV1: pluginResource,
2445 pub pceFileAssocListSize: u32,
2446 pub fileAssocList: *mut pluginResource2FileAssociation,
2447 pub securityDescriptor: ::windows_sys::core::PWSTR,
2448 pub pceFolderListSize: u32,
2449 pub folderList: *mut *mut u16,
2450 }
2451 impl ::core::marker::Copy for pluginResource2 {}
2452 impl ::core::clone::Clone for pluginResource2 {
2453 fn clone(&self) -> Self {
2454 *self
2455 }
2456 }
2457 #[repr(C)]
2458 pub struct pluginResource2FileAssociation {
2459 pub extName: [u16; 256],
2460 pub primaryHandler: u8,
2461 pub pceIconSize: u32,
2462 pub iconContents: *mut u8,
2463 }
2464 impl ::core::marker::Copy for pluginResource2FileAssociation {}
2465 impl ::core::clone::Clone for pluginResource2FileAssociation {
2466 fn clone(&self) -> Self {
2467 *self
2468 }
2469 }
2470 pub type PCHANNEL_INIT_EVENT_FN = ::core::option::Option<unsafe extern "system" fn(pinithandle: *mut ::core::ffi::c_void, event: u32, pdata: *mut ::core::ffi::c_void, datalength: u32) -> ()>;
2471 pub type PCHANNEL_OPEN_EVENT_FN = ::core::option::Option<unsafe extern "system" fn(openhandle: u32, event: u32, pdata: *mut ::core::ffi::c_void, datalength: u32, totallength: u32, dataflags: u32) -> ()>;
2472 pub type PVIRTUALCHANNELCLOSE = ::core::option::Option<unsafe extern "system" fn(openhandle: u32) -> u32>;
2473 #[doc = "Required features: `\"Win32_Foundation\"`"]
2474 #[cfg(feature = "Win32_Foundation")]
2475 pub type PVIRTUALCHANNELENTRY = ::core::option::Option<unsafe extern "system" fn(pentrypoints: *mut CHANNEL_ENTRY_POINTS) -> super::super::Foundation::BOOL>;
2476 pub type PVIRTUALCHANNELINIT = ::core::option::Option<unsafe extern "system" fn(ppinithandle: *mut *mut ::core::ffi::c_void, pchannel: *mut CHANNEL_DEF, channelcount: i32, versionrequested: u32, pchanneliniteventproc: PCHANNEL_INIT_EVENT_FN) -> u32>;
2477 pub type PVIRTUALCHANNELOPEN = ::core::option::Option<unsafe extern "system" fn(pinithandle: *mut ::core::ffi::c_void, popenhandle: *mut u32, pchannelname: ::windows_sys::core::PCSTR, pchannelopeneventproc: PCHANNEL_OPEN_EVENT_FN) -> u32>;
2478 pub type PVIRTUALCHANNELWRITE = ::core::option::Option<unsafe extern "system" fn(openhandle: u32, pdata: *mut ::core::ffi::c_void, datalength: u32, puserdata: *mut ::core::ffi::c_void) -> u32>;