| 1 |
pub const STATUSMSG_OPTION_NOANIMATION: u32 = 1u32; |
| 2 |
pub const STATUSMSG_OPTION_SETFOREGROUND: u32 = 2u32; |
| 3 |
pub const WLX_CONSOLESWITCHCREDENTIAL_TYPE_V1_0: u32 = 1u32; |
| 4 |
pub const WLX_CREATE_INSTANCE_ONLY: u32 = 1u32; |
| 5 |
pub const WLX_CREATE_USER: u32 = 2u32; |
| 6 |
pub const WLX_CREDENTIAL_TYPE_V1_0: u32 = 1u32; |
| 7 |
pub const WLX_CREDENTIAL_TYPE_V2_0: u32 = 2u32; |
| 8 |
pub const WLX_CURRENT_VERSION: u32 = 65540u32; |
| 9 |
pub const WLX_DESKTOP_HANDLE: u32 = 2u32; |
| 10 |
pub const WLX_DESKTOP_NAME: u32 = 1u32; |
| 11 |
pub const WLX_DIRECTORY_LENGTH: u32 = 256u32; |
| 12 |
pub const WLX_DLG_INPUT_TIMEOUT: u32 = 102u32; |
| 13 |
pub const WLX_DLG_SAS: u32 = 101u32; |
| 14 |
pub const WLX_DLG_SCREEN_SAVER_TIMEOUT: u32 = 103u32; |
| 15 |
pub const WLX_DLG_USER_LOGOFF: u32 = 104u32; |
| 16 |
pub const WLX_LOGON_OPT_NO_PROFILE: u32 = 1u32; |
| 17 |
pub const WLX_OPTION_CONTEXT_POINTER: u32 = 2u32; |
| 18 |
pub const WLX_OPTION_DISPATCH_TABLE_SIZE: u32 = 65539u32; |
| 19 |
pub const WLX_OPTION_FORCE_LOGOFF_TIME: u32 = 4u32; |
| 20 |
pub const WLX_OPTION_IGNORE_AUTO_LOGON: u32 = 8u32; |
| 21 |
pub const WLX_OPTION_NO_SWITCH_ON_SAS: u32 = 9u32; |
| 22 |
pub const WLX_OPTION_SMART_CARD_INFO: u32 = 65538u32; |
| 23 |
pub const WLX_OPTION_SMART_CARD_PRESENT: u32 = 65537u32; |
| 24 |
pub const WLX_OPTION_USE_CTRL_ALT_DEL: u32 = 1u32; |
| 25 |
pub const WLX_OPTION_USE_SMART_CARD: u32 = 3u32; |
| 26 |
pub const WLX_PROFILE_TYPE_V1_0: u32 = 1u32; |
| 27 |
pub const WLX_PROFILE_TYPE_V2_0: u32 = 2u32; |
| 28 |
pub const WLX_SAS_ACTION_DELAYED_FORCE_LOGOFF: u32 = 16u32; |
| 29 |
pub const WLX_SAS_ACTION_FORCE_LOGOFF: u32 = 9u32; |
| 30 |
pub const WLX_SAS_ACTION_LOCK_WKSTA: u32 = 3u32; |
| 31 |
pub const WLX_SAS_ACTION_LOGOFF: u32 = 4u32; |
| 32 |
pub const WLX_SAS_ACTION_LOGON: u32 = 1u32; |
| 33 |
pub const WLX_SAS_ACTION_NONE: u32 = 2u32; |
| 34 |
pub const WLX_SAS_ACTION_PWD_CHANGED: u32 = 6u32; |
| 35 |
pub const WLX_SAS_ACTION_RECONNECTED: u32 = 15u32; |
| 36 |
pub const WLX_SAS_ACTION_SHUTDOWN: WLX_SHUTDOWN_TYPE = 5u32; |
| 37 |
pub const WLX_SAS_ACTION_SHUTDOWN_HIBERNATE: u32 = 14u32; |
| 38 |
pub const WLX_SAS_ACTION_SHUTDOWN_POWER_OFF: WLX_SHUTDOWN_TYPE = 10u32; |
| 39 |
pub const WLX_SAS_ACTION_SHUTDOWN_REBOOT: WLX_SHUTDOWN_TYPE = 11u32; |
| 40 |
pub const WLX_SAS_ACTION_SHUTDOWN_SLEEP: u32 = 12u32; |
| 41 |
pub const WLX_SAS_ACTION_SHUTDOWN_SLEEP2: u32 = 13u32; |
| 42 |
pub const WLX_SAS_ACTION_SWITCH_CONSOLE: u32 = 17u32; |
| 43 |
pub const WLX_SAS_ACTION_TASKLIST: u32 = 7u32; |
| 44 |
pub const WLX_SAS_ACTION_UNLOCK_WKSTA: u32 = 8u32; |
| 45 |
pub const WLX_SAS_TYPE_AUTHENTICATED: u32 = 7u32; |
| 46 |
pub const WLX_SAS_TYPE_CTRL_ALT_DEL: u32 = 1u32; |
| 47 |
pub const WLX_SAS_TYPE_MAX_MSFT_VALUE: u32 = 127u32; |
| 48 |
pub const WLX_SAS_TYPE_SCRNSVR_ACTIVITY: u32 = 3u32; |
| 49 |
pub const WLX_SAS_TYPE_SCRNSVR_TIMEOUT: u32 = 2u32; |
| 50 |
pub const WLX_SAS_TYPE_SC_FIRST_READER_ARRIVED: u32 = 8u32; |
| 51 |
pub const WLX_SAS_TYPE_SC_INSERT: u32 = 5u32; |
| 52 |
pub const WLX_SAS_TYPE_SC_LAST_READER_REMOVED: u32 = 9u32; |
| 53 |
pub const WLX_SAS_TYPE_SC_REMOVE: u32 = 6u32; |
| 54 |
pub const WLX_SAS_TYPE_SWITCHUSER: u32 = 10u32; |
| 55 |
pub const WLX_SAS_TYPE_TIMEOUT: u32 = 0u32; |
| 56 |
pub const WLX_SAS_TYPE_USER_LOGOFF: u32 = 4u32; |
| 57 |
pub const WLX_VERSION_1_0: u32 = 65536u32; |
| 58 |
pub const WLX_VERSION_1_1: u32 = 65537u32; |
| 59 |
pub const WLX_VERSION_1_2: u32 = 65538u32; |
| 60 |
pub const WLX_VERSION_1_3: u32 = 65539u32; |
| 61 |
pub const WLX_VERSION_1_4: u32 = 65540u32; |
| 62 |
pub const WLX_WM_SAS: u32 = 1625u32; |
| 63 |
pub type WLX_SHUTDOWN_TYPE = u32; |
| 64 |
#[repr(C)] |
| 65 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 66 |
#[cfg(feature = "Win32_Foundation")] |
| 67 |
pub struct WLX_CLIENT_CREDENTIALS_INFO_V1_0 { |
| 68 |
pub dwType: u32, |
| 69 |
pub pszUserName: ::windows_sys::core::PWSTR, |
| 70 |
pub pszDomain: ::windows_sys::core::PWSTR, |
| 71 |
pub pszPassword: ::windows_sys::core::PWSTR, |
| 72 |
pub fPromptForPassword: super::super::Foundation::BOOL, |
| 73 |
} |
| 74 |
#[cfg(feature = "Win32_Foundation")] |
| 75 |
impl ::core::marker::Copy for WLX_CLIENT_CREDENTIALS_INFO_V1_0 {} |
| 76 |
#[cfg(feature = "Win32_Foundation")] |
| 77 |
impl ::core::clone::Clone for WLX_CLIENT_CREDENTIALS_INFO_V1_0 { |
| 78 |
fn clone(&self) -> Self { |
| 79 |
*self |
| 80 |
} |
| 81 |
} |
| 82 |
#[repr(C)] |
| 83 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 84 |
#[cfg(feature = "Win32_Foundation")] |
| 85 |
pub struct WLX_CLIENT_CREDENTIALS_INFO_V2_0 { |
| 86 |
pub dwType: u32, |
| 87 |
pub pszUserName: ::windows_sys::core::PWSTR, |
| 88 |
pub pszDomain: ::windows_sys::core::PWSTR, |
| 89 |
pub pszPassword: ::windows_sys::core::PWSTR, |
| 90 |
pub fPromptForPassword: super::super::Foundation::BOOL, |
| 91 |
pub fDisconnectOnLogonFailure: super::super::Foundation::BOOL, |
| 92 |
} |
| 93 |
#[cfg(feature = "Win32_Foundation")] |
| 94 |
impl ::core::marker::Copy for WLX_CLIENT_CREDENTIALS_INFO_V2_0 {} |
| 95 |
#[cfg(feature = "Win32_Foundation")] |
| 96 |
impl ::core::clone::Clone for WLX_CLIENT_CREDENTIALS_INFO_V2_0 { |
| 97 |
fn clone(&self) -> Self { |
| 98 |
*self |
| 99 |
} |
| 100 |
} |
| 101 |
#[repr(C)] |
| 102 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 103 |
#[cfg(feature = "Win32_Foundation")] |
| 104 |
pub struct WLX_CONSOLESWITCH_CREDENTIALS_INFO_V1_0 { |
| 105 |
pub dwType: u32, |
| 106 |
pub UserToken: super::super::Foundation::HANDLE, |
| 107 |
pub LogonId: super::super::Foundation::LUID, |
| 108 |
pub Quotas: super::QUOTA_LIMITS, |
| 109 |
pub UserName: ::windows_sys::core::PWSTR, |
| 110 |
pub Domain: ::windows_sys::core::PWSTR, |
| 111 |
pub LogonTime: i64, |
| 112 |
pub SmartCardLogon: super::super::Foundation::BOOL, |
| 113 |
pub ProfileLength: u32, |
| 114 |
pub MessageType: u32, |
| 115 |
pub LogonCount: u16, |
| 116 |
pub BadPasswordCount: u16, |
| 117 |
pub ProfileLogonTime: i64, |
| 118 |
pub LogoffTime: i64, |
| 119 |
pub KickOffTime: i64, |
| 120 |
pub PasswordLastSet: i64, |
| 121 |
pub PasswordCanChange: i64, |
| 122 |
pub PasswordMustChange: i64, |
| 123 |
pub LogonScript: ::windows_sys::core::PWSTR, |
| 124 |
pub HomeDirectory: ::windows_sys::core::PWSTR, |
| 125 |
pub FullName: ::windows_sys::core::PWSTR, |
| 126 |
pub ProfilePath: ::windows_sys::core::PWSTR, |
| 127 |
pub HomeDirectoryDrive: ::windows_sys::core::PWSTR, |
| 128 |
pub LogonServer: ::windows_sys::core::PWSTR, |
| 129 |
pub UserFlags: u32, |
| 130 |
pub PrivateDataLen: u32, |
| 131 |
pub PrivateData: *mut u8, |
| 132 |
} |
| 133 |
#[cfg(feature = "Win32_Foundation")] |
| 134 |
impl ::core::marker::Copy for WLX_CONSOLESWITCH_CREDENTIALS_INFO_V1_0 {} |
| 135 |
#[cfg(feature = "Win32_Foundation")] |
| 136 |
impl ::core::clone::Clone for WLX_CONSOLESWITCH_CREDENTIALS_INFO_V1_0 { |
| 137 |
fn clone(&self) -> Self { |
| 138 |
*self |
| 139 |
} |
| 140 |
} |
| 141 |
#[repr(C)] |
| 142 |
#[doc = "Required features: `\"Win32_System_StationsAndDesktops\"`"] |
| 143 |
#[cfg(feature = "Win32_System_StationsAndDesktops")] |
| 144 |
pub struct WLX_DESKTOP { |
| 145 |
pub Size: u32, |
| 146 |
pub Flags: u32, |
| 147 |
pub hDesktop: super::super::System::StationsAndDesktops::HDESK, |
| 148 |
pub pszDesktopName: ::windows_sys::core::PWSTR, |
| 149 |
} |
| 150 |
#[cfg(feature = "Win32_System_StationsAndDesktops")] |
| 151 |
impl ::core::marker::Copy for WLX_DESKTOP {} |
| 152 |
#[cfg(feature = "Win32_System_StationsAndDesktops")] |
| 153 |
impl ::core::clone::Clone for WLX_DESKTOP { |
| 154 |
fn clone(&self) -> Self { |
| 155 |
*self |
| 156 |
} |
| 157 |
} |
| 158 |
#[repr(C)] |
| 159 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] |
| 160 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 161 |
pub struct WLX_DISPATCH_VERSION_1_0 { |
| 162 |
pub WlxUseCtrlAltDel: PWLX_USE_CTRL_ALT_DEL, |
| 163 |
pub WlxSetContextPointer: PWLX_SET_CONTEXT_POINTER, |
| 164 |
pub WlxSasNotify: PWLX_SAS_NOTIFY, |
| 165 |
pub WlxSetTimeout: PWLX_SET_TIMEOUT, |
| 166 |
pub WlxAssignShellProtection: PWLX_ASSIGN_SHELL_PROTECTION, |
| 167 |
pub WlxMessageBox: PWLX_MESSAGE_BOX, |
| 168 |
pub WlxDialogBox: PWLX_DIALOG_BOX, |
| 169 |
pub WlxDialogBoxParam: PWLX_DIALOG_BOX_PARAM, |
| 170 |
pub WlxDialogBoxIndirect: PWLX_DIALOG_BOX_INDIRECT, |
| 171 |
pub WlxDialogBoxIndirectParam: PWLX_DIALOG_BOX_INDIRECT_PARAM, |
| 172 |
pub WlxSwitchDesktopToUser: PWLX_SWITCH_DESKTOP_TO_USER, |
| 173 |
pub WlxSwitchDesktopToWinlogon: PWLX_SWITCH_DESKTOP_TO_WINLOGON, |
| 174 |
pub WlxChangePasswordNotify: PWLX_CHANGE_PASSWORD_NOTIFY, |
| 175 |
} |
| 176 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 177 |
impl ::core::marker::Copy for WLX_DISPATCH_VERSION_1_0 {} |
| 178 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 179 |
impl ::core::clone::Clone for WLX_DISPATCH_VERSION_1_0 { |
| 180 |
fn clone(&self) -> Self { |
| 181 |
*self |
| 182 |
} |
| 183 |
} |
| 184 |
#[repr(C)] |
| 185 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_StationsAndDesktops\"`, `\"Win32_UI_WindowsAndMessaging\"`"] |
| 186 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))] |
| 187 |
pub struct WLX_DISPATCH_VERSION_1_1 { |
| 188 |
pub WlxUseCtrlAltDel: PWLX_USE_CTRL_ALT_DEL, |
| 189 |
pub WlxSetContextPointer: PWLX_SET_CONTEXT_POINTER, |
| 190 |
pub WlxSasNotify: PWLX_SAS_NOTIFY, |
| 191 |
pub WlxSetTimeout: PWLX_SET_TIMEOUT, |
| 192 |
pub WlxAssignShellProtection: PWLX_ASSIGN_SHELL_PROTECTION, |
| 193 |
pub WlxMessageBox: PWLX_MESSAGE_BOX, |
| 194 |
pub WlxDialogBox: PWLX_DIALOG_BOX, |
| 195 |
pub WlxDialogBoxParam: PWLX_DIALOG_BOX_PARAM, |
| 196 |
pub WlxDialogBoxIndirect: PWLX_DIALOG_BOX_INDIRECT, |
| 197 |
pub WlxDialogBoxIndirectParam: PWLX_DIALOG_BOX_INDIRECT_PARAM, |
| 198 |
pub WlxSwitchDesktopToUser: PWLX_SWITCH_DESKTOP_TO_USER, |
| 199 |
pub WlxSwitchDesktopToWinlogon: PWLX_SWITCH_DESKTOP_TO_WINLOGON, |
| 200 |
pub WlxChangePasswordNotify: PWLX_CHANGE_PASSWORD_NOTIFY, |
| 201 |
pub WlxGetSourceDesktop: PWLX_GET_SOURCE_DESKTOP, |
| 202 |
pub WlxSetReturnDesktop: PWLX_SET_RETURN_DESKTOP, |
| 203 |
pub WlxCreateUserDesktop: PWLX_CREATE_USER_DESKTOP, |
| 204 |
pub WlxChangePasswordNotifyEx: PWLX_CHANGE_PASSWORD_NOTIFY_EX, |
| 205 |
} |
| 206 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))] |
| 207 |
impl ::core::marker::Copy for WLX_DISPATCH_VERSION_1_1 {} |
| 208 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))] |
| 209 |
impl ::core::clone::Clone for WLX_DISPATCH_VERSION_1_1 { |
| 210 |
fn clone(&self) -> Self { |
| 211 |
*self |
| 212 |
} |
| 213 |
} |
| 214 |
#[repr(C)] |
| 215 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_StationsAndDesktops\"`, `\"Win32_UI_WindowsAndMessaging\"`"] |
| 216 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))] |
| 217 |
pub struct WLX_DISPATCH_VERSION_1_2 { |
| 218 |
pub WlxUseCtrlAltDel: PWLX_USE_CTRL_ALT_DEL, |
| 219 |
pub WlxSetContextPointer: PWLX_SET_CONTEXT_POINTER, |
| 220 |
pub WlxSasNotify: PWLX_SAS_NOTIFY, |
| 221 |
pub WlxSetTimeout: PWLX_SET_TIMEOUT, |
| 222 |
pub WlxAssignShellProtection: PWLX_ASSIGN_SHELL_PROTECTION, |
| 223 |
pub WlxMessageBox: PWLX_MESSAGE_BOX, |
| 224 |
pub WlxDialogBox: PWLX_DIALOG_BOX, |
| 225 |
pub WlxDialogBoxParam: PWLX_DIALOG_BOX_PARAM, |
| 226 |
pub WlxDialogBoxIndirect: PWLX_DIALOG_BOX_INDIRECT, |
| 227 |
pub WlxDialogBoxIndirectParam: PWLX_DIALOG_BOX_INDIRECT_PARAM, |
| 228 |
pub WlxSwitchDesktopToUser: PWLX_SWITCH_DESKTOP_TO_USER, |
| 229 |
pub WlxSwitchDesktopToWinlogon: PWLX_SWITCH_DESKTOP_TO_WINLOGON, |
| 230 |
pub WlxChangePasswordNotify: PWLX_CHANGE_PASSWORD_NOTIFY, |
| 231 |
pub WlxGetSourceDesktop: PWLX_GET_SOURCE_DESKTOP, |
| 232 |
pub WlxSetReturnDesktop: PWLX_SET_RETURN_DESKTOP, |
| 233 |
pub WlxCreateUserDesktop: PWLX_CREATE_USER_DESKTOP, |
| 234 |
pub WlxChangePasswordNotifyEx: PWLX_CHANGE_PASSWORD_NOTIFY_EX, |
| 235 |
pub WlxCloseUserDesktop: PWLX_CLOSE_USER_DESKTOP, |
| 236 |
} |
| 237 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))] |
| 238 |
impl ::core::marker::Copy for WLX_DISPATCH_VERSION_1_2 {} |
| 239 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))] |
| 240 |
impl ::core::clone::Clone for WLX_DISPATCH_VERSION_1_2 { |
| 241 |
fn clone(&self) -> Self { |
| 242 |
*self |
| 243 |
} |
| 244 |
} |
| 245 |
#[repr(C)] |
| 246 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_StationsAndDesktops\"`, `\"Win32_UI_WindowsAndMessaging\"`"] |
| 247 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))] |
| 248 |
pub struct WLX_DISPATCH_VERSION_1_3 { |
| 249 |
pub WlxUseCtrlAltDel: PWLX_USE_CTRL_ALT_DEL, |
| 250 |
pub WlxSetContextPointer: PWLX_SET_CONTEXT_POINTER, |
| 251 |
pub WlxSasNotify: PWLX_SAS_NOTIFY, |
| 252 |
pub WlxSetTimeout: PWLX_SET_TIMEOUT, |
| 253 |
pub WlxAssignShellProtection: PWLX_ASSIGN_SHELL_PROTECTION, |
| 254 |
pub WlxMessageBox: PWLX_MESSAGE_BOX, |
| 255 |
pub WlxDialogBox: PWLX_DIALOG_BOX, |
| 256 |
pub WlxDialogBoxParam: PWLX_DIALOG_BOX_PARAM, |
| 257 |
pub WlxDialogBoxIndirect: PWLX_DIALOG_BOX_INDIRECT, |
| 258 |
pub WlxDialogBoxIndirectParam: PWLX_DIALOG_BOX_INDIRECT_PARAM, |
| 259 |
pub WlxSwitchDesktopToUser: PWLX_SWITCH_DESKTOP_TO_USER, |
| 260 |
pub WlxSwitchDesktopToWinlogon: PWLX_SWITCH_DESKTOP_TO_WINLOGON, |
| 261 |
pub WlxChangePasswordNotify: PWLX_CHANGE_PASSWORD_NOTIFY, |
| 262 |
pub WlxGetSourceDesktop: PWLX_GET_SOURCE_DESKTOP, |
| 263 |
pub WlxSetReturnDesktop: PWLX_SET_RETURN_DESKTOP, |
| 264 |
pub WlxCreateUserDesktop: PWLX_CREATE_USER_DESKTOP, |
| 265 |
pub WlxChangePasswordNotifyEx: PWLX_CHANGE_PASSWORD_NOTIFY_EX, |
| 266 |
pub WlxCloseUserDesktop: PWLX_CLOSE_USER_DESKTOP, |
| 267 |
pub WlxSetOption: PWLX_SET_OPTION, |
| 268 |
pub WlxGetOption: PWLX_GET_OPTION, |
| 269 |
pub WlxWin31Migrate: PWLX_WIN31_MIGRATE, |
| 270 |
pub WlxQueryClientCredentials: PWLX_QUERY_CLIENT_CREDENTIALS, |
| 271 |
pub WlxQueryInetConnectorCredentials: PWLX_QUERY_IC_CREDENTIALS, |
| 272 |
pub WlxDisconnect: PWLX_DISCONNECT, |
| 273 |
pub WlxQueryTerminalServicesData: PWLX_QUERY_TERMINAL_SERVICES_DATA, |
| 274 |
} |
| 275 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))] |
| 276 |
impl ::core::marker::Copy for WLX_DISPATCH_VERSION_1_3 {} |
| 277 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))] |
| 278 |
impl ::core::clone::Clone for WLX_DISPATCH_VERSION_1_3 { |
| 279 |
fn clone(&self) -> Self { |
| 280 |
*self |
| 281 |
} |
| 282 |
} |
| 283 |
#[repr(C)] |
| 284 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_StationsAndDesktops\"`, `\"Win32_UI_WindowsAndMessaging\"`"] |
| 285 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))] |
| 286 |
pub struct WLX_DISPATCH_VERSION_1_4 { |
| 287 |
pub WlxUseCtrlAltDel: PWLX_USE_CTRL_ALT_DEL, |
| 288 |
pub WlxSetContextPointer: PWLX_SET_CONTEXT_POINTER, |
| 289 |
pub WlxSasNotify: PWLX_SAS_NOTIFY, |
| 290 |
pub WlxSetTimeout: PWLX_SET_TIMEOUT, |
| 291 |
pub WlxAssignShellProtection: PWLX_ASSIGN_SHELL_PROTECTION, |
| 292 |
pub WlxMessageBox: PWLX_MESSAGE_BOX, |
| 293 |
pub WlxDialogBox: PWLX_DIALOG_BOX, |
| 294 |
pub WlxDialogBoxParam: PWLX_DIALOG_BOX_PARAM, |
| 295 |
pub WlxDialogBoxIndirect: PWLX_DIALOG_BOX_INDIRECT, |
| 296 |
pub WlxDialogBoxIndirectParam: PWLX_DIALOG_BOX_INDIRECT_PARAM, |
| 297 |
pub WlxSwitchDesktopToUser: PWLX_SWITCH_DESKTOP_TO_USER, |
| 298 |
pub WlxSwitchDesktopToWinlogon: PWLX_SWITCH_DESKTOP_TO_WINLOGON, |
| 299 |
pub WlxChangePasswordNotify: PWLX_CHANGE_PASSWORD_NOTIFY, |
| 300 |
pub WlxGetSourceDesktop: PWLX_GET_SOURCE_DESKTOP, |
| 301 |
pub WlxSetReturnDesktop: PWLX_SET_RETURN_DESKTOP, |
| 302 |
pub WlxCreateUserDesktop: PWLX_CREATE_USER_DESKTOP, |
| 303 |
pub WlxChangePasswordNotifyEx: PWLX_CHANGE_PASSWORD_NOTIFY_EX, |
| 304 |
pub WlxCloseUserDesktop: PWLX_CLOSE_USER_DESKTOP, |
| 305 |
pub WlxSetOption: PWLX_SET_OPTION, |
| 306 |
pub WlxGetOption: PWLX_GET_OPTION, |
| 307 |
pub WlxWin31Migrate: PWLX_WIN31_MIGRATE, |
| 308 |
pub WlxQueryClientCredentials: PWLX_QUERY_CLIENT_CREDENTIALS, |
| 309 |
pub WlxQueryInetConnectorCredentials: PWLX_QUERY_IC_CREDENTIALS, |
| 310 |
pub WlxDisconnect: PWLX_DISCONNECT, |
| 311 |
pub WlxQueryTerminalServicesData: PWLX_QUERY_TERMINAL_SERVICES_DATA, |
| 312 |
pub WlxQueryConsoleSwitchCredentials: PWLX_QUERY_CONSOLESWITCH_CREDENTIALS, |
| 313 |
pub WlxQueryTsLogonCredentials: PWLX_QUERY_TS_LOGON_CREDENTIALS, |
| 314 |
} |
| 315 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))] |
| 316 |
impl ::core::marker::Copy for WLX_DISPATCH_VERSION_1_4 {} |
| 317 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))] |
| 318 |
impl ::core::clone::Clone for WLX_DISPATCH_VERSION_1_4 { |
| 319 |
fn clone(&self) -> Self { |
| 320 |
*self |
| 321 |
} |
| 322 |
} |
| 323 |
#[repr(C)] |
| 324 |
pub struct WLX_MPR_NOTIFY_INFO { |
| 325 |
pub pszUserName: ::windows_sys::core::PWSTR, |
| 326 |
pub pszDomain: ::windows_sys::core::PWSTR, |
| 327 |
pub pszPassword: ::windows_sys::core::PWSTR, |
| 328 |
pub pszOldPassword: ::windows_sys::core::PWSTR, |
| 329 |
} |
| 330 |
impl ::core::marker::Copy for WLX_MPR_NOTIFY_INFO {} |
| 331 |
impl ::core::clone::Clone for WLX_MPR_NOTIFY_INFO { |
| 332 |
fn clone(&self) -> Self { |
| 333 |
*self |
| 334 |
} |
| 335 |
} |
| 336 |
#[repr(C)] |
| 337 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_StationsAndDesktops\"`"] |
| 338 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops"))] |
| 339 |
pub struct WLX_NOTIFICATION_INFO { |
| 340 |
pub Size: u32, |
| 341 |
pub Flags: u32, |
| 342 |
pub UserName: ::windows_sys::core::PWSTR, |
| 343 |
pub Domain: ::windows_sys::core::PWSTR, |
| 344 |
pub WindowStation: ::windows_sys::core::PWSTR, |
| 345 |
pub hToken: super::super::Foundation::HANDLE, |
| 346 |
pub hDesktop: super::super::System::StationsAndDesktops::HDESK, |
| 347 |
pub pStatusCallback: PFNMSGECALLBACK, |
| 348 |
} |
| 349 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops"))] |
| 350 |
impl ::core::marker::Copy for WLX_NOTIFICATION_INFO {} |
| 351 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops"))] |
| 352 |
impl ::core::clone::Clone for WLX_NOTIFICATION_INFO { |
| 353 |
fn clone(&self) -> Self { |
| 354 |
*self |
| 355 |
} |
| 356 |
} |
| 357 |
#[repr(C)] |
| 358 |
pub struct WLX_PROFILE_V1_0 { |
| 359 |
pub dwType: u32, |
| 360 |
pub pszProfile: ::windows_sys::core::PWSTR, |
| 361 |
} |
| 362 |
impl ::core::marker::Copy for WLX_PROFILE_V1_0 {} |
| 363 |
impl ::core::clone::Clone for WLX_PROFILE_V1_0 { |
| 364 |
fn clone(&self) -> Self { |
| 365 |
*self |
| 366 |
} |
| 367 |
} |
| 368 |
#[repr(C)] |
| 369 |
pub struct WLX_PROFILE_V2_0 { |
| 370 |
pub dwType: u32, |
| 371 |
pub pszProfile: ::windows_sys::core::PWSTR, |
| 372 |
pub pszPolicy: ::windows_sys::core::PWSTR, |
| 373 |
pub pszNetworkDefaultUserProfile: ::windows_sys::core::PWSTR, |
| 374 |
pub pszServerName: ::windows_sys::core::PWSTR, |
| 375 |
pub pszEnvironment: ::windows_sys::core::PWSTR, |
| 376 |
} |
| 377 |
impl ::core::marker::Copy for WLX_PROFILE_V2_0 {} |
| 378 |
impl ::core::clone::Clone for WLX_PROFILE_V2_0 { |
| 379 |
fn clone(&self) -> Self { |
| 380 |
*self |
| 381 |
} |
| 382 |
} |
| 383 |
#[repr(C)] |
| 384 |
pub struct WLX_SC_NOTIFICATION_INFO { |
| 385 |
pub pszCard: ::windows_sys::core::PWSTR, |
| 386 |
pub pszReader: ::windows_sys::core::PWSTR, |
| 387 |
pub pszContainer: ::windows_sys::core::PWSTR, |
| 388 |
pub pszCryptoProvider: ::windows_sys::core::PWSTR, |
| 389 |
} |
| 390 |
impl ::core::marker::Copy for WLX_SC_NOTIFICATION_INFO {} |
| 391 |
impl ::core::clone::Clone for WLX_SC_NOTIFICATION_INFO { |
| 392 |
fn clone(&self) -> Self { |
| 393 |
*self |
| 394 |
} |
| 395 |
} |
| 396 |
#[repr(C)] |
| 397 |
pub struct WLX_TERMINAL_SERVICES_DATA { |
| 398 |
pub ProfilePath: [u16; 257], |
| 399 |
pub HomeDir: [u16; 257], |
| 400 |
pub HomeDirDrive: [u16; 4], |
| 401 |
} |
| 402 |
impl ::core::marker::Copy for WLX_TERMINAL_SERVICES_DATA {} |
| 403 |
impl ::core::clone::Clone for WLX_TERMINAL_SERVICES_DATA { |
| 404 |
fn clone(&self) -> Self { |
| 405 |
*self |
| 406 |
} |
| 407 |
} |
| 408 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 409 |
#[cfg(feature = "Win32_Foundation")] |
| 410 |
pub type PFNMSGECALLBACK = ::core::option::Option<unsafe extern "system" fn(bverbose: super::super::Foundation::BOOL, lpmessage: ::windows_sys::core::PCWSTR) -> u32>; |
| 411 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 412 |
#[cfg(feature = "Win32_Foundation")] |
| 413 |
pub type PWLX_ASSIGN_SHELL_PROTECTION = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, htoken: super::super::Foundation::HANDLE, hprocess: super::super::Foundation::HANDLE, hthread: super::super::Foundation::HANDLE) -> i32>; |
| 414 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 415 |
#[cfg(feature = "Win32_Foundation")] |
| 416 |
pub type PWLX_CHANGE_PASSWORD_NOTIFY = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, pmprinfo: *mut WLX_MPR_NOTIFY_INFO, dwchangeinfo: u32) -> i32>; |
| 417 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 418 |
#[cfg(feature = "Win32_Foundation")] |
| 419 |
pub type PWLX_CHANGE_PASSWORD_NOTIFY_EX = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, pmprinfo: *mut WLX_MPR_NOTIFY_INFO, dwchangeinfo: u32, providername: ::windows_sys::core::PCWSTR, reserved: *mut ::core::ffi::c_void) -> i32>; |
| 420 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_StationsAndDesktops\"`"] |
| 421 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops"))] |
| 422 |
pub type PWLX_CLOSE_USER_DESKTOP = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, pdesktop: *mut WLX_DESKTOP, htoken: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL>; |
| 423 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_StationsAndDesktops\"`"] |
| 424 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops"))] |
| 425 |
pub type PWLX_CREATE_USER_DESKTOP = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, htoken: super::super::Foundation::HANDLE, flags: u32, pszdesktopname: ::windows_sys::core::PCWSTR, ppdesktop: *mut *mut WLX_DESKTOP) -> super::super::Foundation::BOOL>; |
| 426 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] |
| 427 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 428 |
pub type PWLX_DIALOG_BOX = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, hinst: super::super::Foundation::HANDLE, lpsztemplate: ::windows_sys::core::PCWSTR, hwndowner: super::super::Foundation::HWND, dlgprc: super::super::UI::WindowsAndMessaging::DLGPROC) -> i32>; |
| 429 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] |
| 430 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 431 |
pub type PWLX_DIALOG_BOX_INDIRECT = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, hinst: super::super::Foundation::HANDLE, hdialogtemplate: *mut super::super::UI::WindowsAndMessaging::DLGTEMPLATE, hwndowner: super::super::Foundation::HWND, dlgprc: super::super::UI::WindowsAndMessaging::DLGPROC) -> i32>; |
| 432 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] |
| 433 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 434 |
pub type PWLX_DIALOG_BOX_INDIRECT_PARAM = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, hinst: super::super::Foundation::HANDLE, hdialogtemplate: *mut super::super::UI::WindowsAndMessaging::DLGTEMPLATE, hwndowner: super::super::Foundation::HWND, dlgprc: super::super::UI::WindowsAndMessaging::DLGPROC, dwinitparam: super::super::Foundation::LPARAM) -> i32>; |
| 435 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] |
| 436 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 437 |
pub type PWLX_DIALOG_BOX_PARAM = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, hinst: super::super::Foundation::HANDLE, lpsztemplate: ::windows_sys::core::PCWSTR, hwndowner: super::super::Foundation::HWND, dlgprc: super::super::UI::WindowsAndMessaging::DLGPROC, dwinitparam: super::super::Foundation::LPARAM) -> i32>; |
| 438 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 439 |
#[cfg(feature = "Win32_Foundation")] |
| 440 |
pub type PWLX_DISCONNECT = ::core::option::Option<unsafe extern "system" fn() -> super::super::Foundation::BOOL>; |
| 441 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 442 |
#[cfg(feature = "Win32_Foundation")] |
| 443 |
pub type PWLX_GET_OPTION = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, option: u32, value: *mut usize) -> super::super::Foundation::BOOL>; |
| 444 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_StationsAndDesktops\"`"] |
| 445 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops"))] |
| 446 |
pub type PWLX_GET_SOURCE_DESKTOP = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, ppdesktop: *mut *mut WLX_DESKTOP) -> super::super::Foundation::BOOL>; |
| 447 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 448 |
#[cfg(feature = "Win32_Foundation")] |
| 449 |
pub type PWLX_MESSAGE_BOX = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, hwndowner: super::super::Foundation::HWND, lpsztext: ::windows_sys::core::PCWSTR, lpsztitle: ::windows_sys::core::PCWSTR, fustyle: u32) -> i32>; |
| 450 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 451 |
#[cfg(feature = "Win32_Foundation")] |
| 452 |
pub type PWLX_QUERY_CLIENT_CREDENTIALS = ::core::option::Option<unsafe extern "system" fn(pcred: *mut WLX_CLIENT_CREDENTIALS_INFO_V1_0) -> super::super::Foundation::BOOL>; |
| 453 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 454 |
#[cfg(feature = "Win32_Foundation")] |
| 455 |
pub type PWLX_QUERY_CONSOLESWITCH_CREDENTIALS = ::core::option::Option<unsafe extern "system" fn(pcred: *mut WLX_CONSOLESWITCH_CREDENTIALS_INFO_V1_0) -> u32>; |
| 456 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 457 |
#[cfg(feature = "Win32_Foundation")] |
| 458 |
pub type PWLX_QUERY_IC_CREDENTIALS = ::core::option::Option<unsafe extern "system" fn(pcred: *mut WLX_CLIENT_CREDENTIALS_INFO_V1_0) -> super::super::Foundation::BOOL>; |
| 459 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 460 |
#[cfg(feature = "Win32_Foundation")] |
| 461 |
pub type PWLX_QUERY_TERMINAL_SERVICES_DATA = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, ptsdata: *mut WLX_TERMINAL_SERVICES_DATA, username: ::windows_sys::core::PCWSTR, domain: ::windows_sys::core::PCWSTR) -> u32>; |
| 462 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 463 |
#[cfg(feature = "Win32_Foundation")] |
| 464 |
pub type PWLX_QUERY_TS_LOGON_CREDENTIALS = ::core::option::Option<unsafe extern "system" fn(pcred: *mut WLX_CLIENT_CREDENTIALS_INFO_V2_0) -> super::super::Foundation::BOOL>; |
| 465 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 466 |
#[cfg(feature = "Win32_Foundation")] |
| 467 |
pub type PWLX_SAS_NOTIFY = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, dwsastype: u32) -> ()>; |
| 468 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 469 |
#[cfg(feature = "Win32_Foundation")] |
| 470 |
pub type PWLX_SET_CONTEXT_POINTER = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, pwlxcontext: *mut ::core::ffi::c_void) -> ()>; |
| 471 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 472 |
#[cfg(feature = "Win32_Foundation")] |
| 473 |
pub type PWLX_SET_OPTION = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, option: u32, value: usize, oldvalue: *mut usize) -> super::super::Foundation::BOOL>; |
| 474 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_StationsAndDesktops\"`"] |
| 475 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops"))] |
| 476 |
pub type PWLX_SET_RETURN_DESKTOP = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, pdesktop: *mut WLX_DESKTOP) -> super::super::Foundation::BOOL>; |
| 477 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 478 |
#[cfg(feature = "Win32_Foundation")] |
| 479 |
pub type PWLX_SET_TIMEOUT = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, timeout: u32) -> super::super::Foundation::BOOL>; |
| 480 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 481 |
#[cfg(feature = "Win32_Foundation")] |
| 482 |
pub type PWLX_SWITCH_DESKTOP_TO_USER = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE) -> i32>; |
| 483 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 484 |
#[cfg(feature = "Win32_Foundation")] |
| 485 |
pub type PWLX_SWITCH_DESKTOP_TO_WINLOGON = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE) -> i32>; |
| 486 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 487 |
#[cfg(feature = "Win32_Foundation")] |
| 488 |
pub type PWLX_USE_CTRL_ALT_DEL = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE) -> ()>; |
| 489 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 490 |
#[cfg(feature = "Win32_Foundation")] |
| 491 |
pub type PWLX_WIN31_MIGRATE = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE) -> ()>; |