ReactOS  r74227
winlogon.h
Go to the documentation of this file.
1 /*
2  * ReactOS kernel
3  * Copyright (C) 2003 ReactOS Team
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19 /* COPYRIGHT: See COPYING in the top level directory
20  * PROJECT: ReactOS winlogon
21  * FILE: base/system/winlogon/winlogon.h
22  * PURPOSE: Winlogon
23  * PROGRAMMER:
24  */
25 
26 #ifndef __WINLOGON_MAIN_H__
27 #define __WINLOGON_MAIN_H__
28 
29 #include <stdarg.h>
30 
31 #define USE_GETLASTINPUTINFO
32 
33 #define WIN32_NO_STATUS
34 #include <windef.h>
35 #include <winbase.h>
36 #include <wingdi.h>
37 #include <winuser.h>
38 #include <winreg.h>
39 #include <winwlx.h>
40 #include <ndk/rtlfuncs.h>
41 #include <ndk/exfuncs.h>
42 #include <strsafe.h>
43 
44 #include <reactos/undocuser.h>
45 
46 #include <wine/debug.h>
48 
49 #include "resource.h"
50 
51 typedef BOOL (WINAPI * PFWLXNEGOTIATE) (DWORD, DWORD *);
52 typedef BOOL (WINAPI * PFWLXINITIALIZE) (LPWSTR, HANDLE, PVOID, PVOID, PVOID *);
53 typedef VOID (WINAPI * PFWLXDISPLAYSASNOTICE) (PVOID);
54 typedef int (WINAPI * PFWLXLOGGEDOUTSAS) (PVOID, DWORD, PLUID, PSID, PDWORD,
56  PVOID *);
57 typedef BOOL (WINAPI * PFWLXACTIVATEUSERSHELL) (PVOID, PWSTR, PWSTR, PVOID);
58 typedef int (WINAPI * PFWLXLOGGEDONSAS) (PVOID, DWORD, PVOID);
59 typedef VOID (WINAPI * PFWLXDISPLAYLOCKEDNOTICE) (PVOID);
60 typedef int (WINAPI * PFWLXWKSTALOCKEDSAS) (PVOID, DWORD);
61 typedef BOOL (WINAPI * PFWLXISLOCKOK) (PVOID);
62 typedef BOOL (WINAPI * PFWLXISLOGOFFOK) (PVOID);
63 typedef VOID (WINAPI * PFWLXLOGOFF) (PVOID);
64 typedef VOID (WINAPI * PFWLXSHUTDOWN) (PVOID, DWORD);
65 
66 /* version 1.1 */
67 
68 typedef BOOL (WINAPI * PFWLXSCREENSAVERNOTIFY) (PVOID, BOOL *);
69 typedef BOOL (WINAPI * PFWLXSTARTAPPLICATION) (PVOID, PWSTR, PVOID, PWSTR);
70 
71 /* version 1.3 */
72 
73 typedef BOOL (WINAPI * PFWLXNETWORKPROVIDERLOAD) (PVOID, PWLX_MPR_NOTIFY_INFO);
74 typedef BOOL (WINAPI * PFWLXDISPLAYSTATUSMESSAGE) (PVOID, HDESK, DWORD, PWSTR, PWSTR);
75 typedef BOOL (WINAPI * PFWLXGETSTATUSMESSAGE) (PVOID, DWORD *, PWSTR, DWORD);
76 typedef BOOL (WINAPI * PFWLXREMOVESTATUSMESSAGE) (PVOID);
77 
78 typedef struct _GINAFUNCTIONS
79 {
80  /* Functions always available for a valid GINA */
81  PFWLXNEGOTIATE WlxNegotiate; /* optional */
82  PFWLXINITIALIZE WlxInitialize;
83 
84  /* Functions available if WlxVersion >= WLX_VERSION_1_0 (MS Windows 3.5.0) */
85  PFWLXDISPLAYSASNOTICE WlxDisplaySASNotice;
86  PFWLXLOGGEDOUTSAS WlxLoggedOutSAS;
87  PFWLXACTIVATEUSERSHELL WlxActivateUserShell;
88  PFWLXLOGGEDONSAS WlxLoggedOnSAS;
89  PFWLXDISPLAYLOCKEDNOTICE WlxDisplayLockedNotice;
90  PFWLXWKSTALOCKEDSAS WlxWkstaLockedSAS;
91  PFWLXISLOCKOK WlxIsLockOk;
92  PFWLXISLOGOFFOK WlxIsLogoffOk;
93  PFWLXLOGOFF WlxLogoff;
94  PFWLXSHUTDOWN WlxShutdown;
95 
96  /* Functions available if WlxVersion >= WLX_VERSION_1_1 (MS Windows 3.5.1) */
97  PFWLXSCREENSAVERNOTIFY WlxScreenSaverNotify; /* optional */
98  PFWLXSTARTAPPLICATION WlxStartApplication; /* optional */
99 
100  /* Functions available if WlxVersion >= WLX_VERSION_1_2 (MS Windows NT 4.0) */
101 
102  /* Functions available if WlxVersion >= WLX_VERSION_1_3 (MS Windows 2000) */
103  PFWLXNETWORKPROVIDERLOAD WlxNetworkProviderLoad; /* not called ATM */
104  PFWLXDISPLAYSTATUSMESSAGE WlxDisplayStatusMessage;
105  PFWLXGETSTATUSMESSAGE WlxGetStatusMessage; /* doesn't need to be called */
106  PFWLXREMOVESTATUSMESSAGE WlxRemoveStatusMessage;
107 
108  /* Functions available if WlxVersion >= WLX_VERSION_1_4 (MS Windows XP) */
110 
111 typedef struct _GINAINSTANCE
112 {
119 
120 
121 /*
122  * The picture Microsoft is trying to paint here
123  * (http://msdn.microsoft.com/en-us/library/windows/desktop/aa380547%28v=vs.85%29.aspx)
124  * about the Winlogon states is a little too simple.
125  *
126  * The real picture should look more like this:
127  *
128  * STATE_INIT
129  * Initial state. Required for session initialization. After initialization,
130  * the state will automatically change to STATE_LOGGED_OFF.
131  *
132  * STATE_LOGGED_OFF
133  * User is logged off. Winlogon shows the "Press Ctrl-Alt-Del for logon"
134  * dialog. The state changes to STATE_LOGGED_OFF_SAS when the user presses
135  * "Ctrl-Alt-Del". If DisableCAD is true, the state will automatically
136  * change to STATE_LOGGED_OFF_SAS without showing the dialog.
137  *
138  * STATE_LOGGED_OFF_SAS
139  * State shows the logon dialog. Entering the right credentials and pressing
140  * "OK" changes the state to STATE_LOGGED_ON. Pressing "Cancel" or a timeout
141  * changes the state back to STATE_LOGGED_OFF.
142  *
143  * STATE_LOGGED_ON
144  * User is logged on. Winlogon does not show any dialog. Pressing
145  * "Ctrl-Alt-Del" changes the state to STATE_LOGGED_ON_SAS and user
146  * inactivity changes the state to STATE_SCREENSAVER.
147  *
148  * STATE_LOGGED_ON_SAS
149  * Winlogon shows the security dialog. Pressing "Cancel" or "Task Manager"
150  * or a timeout change the state back to STATE_LOGGED_ON. Pressing "Change
151  * Password" does not change the state, because the security dialog is still
152  * visible behind the change password dialog. Pressing "Log off" changes the
153  * state to STATE_LOGGING_OFF. Pressing "Lock Computer" changes the state to
154  * STATE_LOCKED. Pressing "Shutdown" changes the state to
155  * STATE_SHUTTING_DOWN.
156  *
157  * STATE_LOCKED
158  * Winlogon shows the locked message dialog. When the user presses "Ctrl-
159  * Alt-Del" the state changes to STATE_LOCKED_SAS. If DisableCAD is true,
160  * the state will automatically change to STATE_LOCKED_SAS without showing
161  * the dialog.
162  *
163  * STATE_LOCKED_SAS
164  * Winlogon shows the unlock dialog. Pressing "Cancel" or a timeout will
165  * change the state back to STATE_LOCKED. Entering the right credentials and
166  * pressing "OK" unlocks the computer and changes the state to
167  * STATE_LOGGED_ON.
168  *
169  * STATE_LOGGING_OFF
170  * Winlogon shows the logoff dialog. Pressing "Cancel" or a timeout changes
171  * the state back to STATE_LOGGED_ON_SAS. Pressing "OK" logs off the user
172  * and changes the state to STATE_LOGGED_OFF.
173  *
174  * STATE_SHUTTING_DOWN
175  * Winlogon shows the shutdown dialog. Pressing "Cancel" or a timeout will
176  * change the state back to STATE_LOGGED_ON_SAS. Pressing "OK" will change
177  * the state to STATE_SHUT_DOWN.
178  *
179  * STATE_SHUT_DOWN
180  * Terminates Winlogon and initiates shut-down.
181  *
182  * STATE_SCREENSAVER
183  * Winlogon runs the screen saver. Upon user activity, the screensaver
184  * terminates and the state changes back to STATE_LOGGED_ON if the secure
185  * screen saver option is off. Otherwise, the state changes to STATE_LOCKED.
186  */
187 typedef enum _LOGON_STATE
188 {
196  STATE_LOGGING_OFF, // not used yet
197  STATE_SHUTTING_DOWN, // not used yet
198  STATE_SHUT_DOWN, // not used yet
199  STATE_SCREENSAVER // not used yet
201 
202 #define LockWorkstation(Session)
203 #define UnlockWorkstation(Session)
204 
205 typedef struct _WLSESSION
206 {
221  DWORD DialogTimeout; /* Timeout for dialog boxes, in seconds */
222 
223  /* Screen-saver informations */
224 #ifndef USE_GETLASTINPUTINFO
225  HHOOK KeyboardHook;
226  HHOOK MouseHook;
227 #endif
232 #ifndef USE_GETLASTINPUTINFO
233  DWORD LastActivity;
234 #endif
235 
236  /* Logon informations */
241 
242 typedef enum _NOTIFICATION_TYPE
243 {
258 
259 extern HINSTANCE hAppInstance;
260 extern PWLSESSION WLSession;
261 
262 #define WLX_SHUTTINGDOWN(Status) \
263  (((Status) == WLX_SAS_ACTION_SHUTDOWN) || \
264  ((Status) == WLX_SAS_ACTION_SHUTDOWN_POWER_OFF) || \
265  ((Status) == WLX_SAS_ACTION_SHUTDOWN_REBOOT) \
266  )
267 
268 #define WLX_SUSPENDING(Status) \
269  (((Status) == WLX_SAS_ACTION_SHUTDOWN_SLEEP) || \
270  ((Status) == WLX_SAS_ACTION_SHUTDOWN_SLEEP2) || \
271  ((Status) == WLX_SAS_ACTION_SHUTDOWN_HIBERNATE) \
272  )
273 
274 /* environment.c */
275 BOOL
276 CreateUserEnvironment(IN PWLSESSION Session);
277 
278 /* notify.c */
279 BOOL
281 
282 VOID
284 
285 VOID
287  PWLSESSION pSession,
289 
290 /* rpcserver.c */
291 BOOL
293 
294 /* sas.c */
295 BOOL
296 SetDefaultLanguage(IN PWLSESSION Session);
297 
298 BOOL
299 InitializeSAS(IN OUT PWLSESSION Session);
300 
301 /* screensaver.c */
302 BOOL
303 InitializeScreenSaver(IN OUT PWLSESSION Session);
304 
305 VOID
306 StartScreenSaver(IN PWLSESSION Session);
307 
308 /* setup.c */
309 DWORD
311 
312 BOOL
313 RunSetup(VOID);
314 
315 /* winlogon.c */
316 BOOL
318  IN UINT Logon,
319  IN UINT Flags);
320 
321 BOOL
322 DisplayStatusMessage(IN PWLSESSION Session,
323  IN HDESK hDesktop,
324  IN UINT ResourceId);
325 
326 BOOL
327 RemoveStatusMessage(IN PWLSESSION Session);
328 
329 /* wlx.c */
330 VOID
332 
333 HWND
335 
336 BOOL
337 GinaInit(IN OUT PWLSESSION Session);
338 
339 BOOL
340 CreateWindowStationAndDesktops(IN OUT PWLSESSION Session);
341 
342 NTSTATUS
343 HandleShutdown(IN OUT PWLSESSION Session,
344  IN DWORD wlxAction);
345 
347 VOID WINAPI WlxSetContextPointer(HANDLE hWlx, PVOID pWlxContext);
348 VOID WINAPI WlxSasNotify(HANDLE hWlx, DWORD dwSasType);
351 int WINAPI WlxMessageBox(HANDLE hWlx, HWND hwndOwner, LPWSTR lpszText, LPWSTR lpszTitle, UINT fuStyle);
352 int WINAPI WlxDialogBox(HANDLE hWlx, HANDLE hInst, LPWSTR lpszTemplate, HWND hwndOwner, DLGPROC dlgprc);
353 int WINAPI WlxDialogBoxParam(HANDLE hWlx, HANDLE hInst, LPWSTR lpszTemplate, HWND hwndOwner, DLGPROC dlgprc, LPARAM dwInitParam);
354 int WINAPI WlxDialogBoxIndirect(HANDLE hWlx, HANDLE hInst, LPCDLGTEMPLATE hDialogTemplate, HWND hwndOwner, DLGPROC dlgprc);
355 int WINAPI WlxDialogBoxIndirectParam(HANDLE hWlx, HANDLE hInst, LPCDLGTEMPLATE hDialogTemplate, HWND hwndOwner, DLGPROC dlgprc, LPARAM dwInitParam);
358 int WINAPI WlxChangePasswordNotify(HANDLE hWlx, PWLX_MPR_NOTIFY_INFO pMprInfo, DWORD dwChangeInfo);
361 BOOL WINAPI WlxCreateUserDesktop(HANDLE hWlx, HANDLE hToken, DWORD Flags, PWSTR pszDesktopName, PWLX_DESKTOP* ppDesktop);
362 int WINAPI WlxChangePasswordNotifyEx(HANDLE hWlx, PWLX_MPR_NOTIFY_INFO pMprInfo, DWORD dwChangeInfo, PWSTR ProviderName, PVOID Reserved);
363 BOOL WINAPI WlxCloseUserDesktop(HANDLE hWlx, PWLX_DESKTOP pDesktop, HANDLE hToken);
364 BOOL WINAPI WlxSetOption(HANDLE hWlx, DWORD Option, ULONG_PTR Value, ULONG_PTR* OldValue);
373 
374 #endif /* __WINLOGON_MAIN_H__ */
DWORD *typedef PVOID
Definition: winlogon.h:52
PFWLXLOGGEDOUTSAS WlxLoggedOutSAS
Definition: winlogon.h:86
NTSTATUS HandleShutdown(IN OUT PWLSESSION Session, IN DWORD wlxAction)
Definition: sas.c:877
BOOL UseCtrlAltDelete
Definition: winlogon.h:117
BOOL SetDefaultLanguage(IN PWLSESSION Session)
Definition: sas.c:108
PVOID Context
Definition: winlogon.h:115
enum _NOTIFICATION_TYPE NOTIFICATION_TYPE
BOOL WINAPI WlxGetOption(HANDLE hWlx, DWORD Option, ULONG_PTR *Value)
Definition: wlx.c:584
PFWLXISLOCKOK WlxIsLockOk
Definition: winlogon.h:91
#define IN
Definition: typedefs.h:39
_NOTIFICATION_TYPE
Definition: winlogon.h:242
int WINAPI WlxDialogBoxIndirect(HANDLE hWlx, HANDLE hInst, LPCDLGTEMPLATE hDialogTemplate, HWND hwndOwner, DLGPROC dlgprc)
Definition: wlx.c:356
struct _WLSESSION * PWLSESSION
BOOL WINAPI WlxSetReturnDesktop(HANDLE hWlx, PWLX_DESKTOP pDesktop)
Definition: wlx.c:473
PFWLXDISPLAYSASNOTICE WlxDisplaySASNotice
Definition: winlogon.h:85
PFWLXISLOGOFFOK WlxIsLogoffOk
Definition: winlogon.h:92
typedef PWLX_MPR_NOTIFY_INFO
Definition: winlogon.h:54
HANDLE hScreenSaverParametersChanged
Definition: winlogon.h:229
BOOL WINAPI WlxCloseUserDesktop(HANDLE hWlx, PWLX_DESKTOP pDesktop, HANDLE hToken)
Definition: wlx.c:533
VOID CleanupNotifications(VOID)
Definition: notify.c:318
BOOL RunSetup(VOID)
Definition: setup.c:148
BOOL DisplayStatusMessage(IN PWLSESSION Session, IN HDESK hDesktop, IN UINT ResourceId)
Definition: winlogon.c:216
WLX_MPR_NOTIFY_INFO MprNotifyInfo
Definition: winlogon.h:238
Type
Definition: Type.h:6
HDESK WinlogonDesktop
Definition: winlogon.h:215
int WINAPI WlxChangePasswordNotify(HANDLE hWlx, PWLX_MPR_NOTIFY_INFO pMprInfo, DWORD dwChangeInfo)
Definition: wlx.c:439
__wchar_t WCHAR
Definition: xmlstorage.h:180
struct _GINAFUNCTIONS GINAFUNCTIONS
HWND SASWindow
Definition: winlogon.h:211
DWORD WINAPI WlxQueryTerminalServicesData(HANDLE hWlx, PWLX_TERMINAL_SERVICES_DATA pTSData, WCHAR *UserName, WCHAR *Domain)
Definition: wlx.c:694
HANDLE UserToken
Definition: winlogon.h:218
BOOL RemoveStatusMessage(IN PWLSESSION Session)
Definition: winlogon.c:237
PVOID *typedef PWSTR
Definition: winlogon.h:57
BOOL PlaySoundRoutine(IN LPCWSTR FileName, IN UINT Logon, IN UINT Flags)
Definition: sas.c:237
HANDLE HWND
Definition: compat.h:13
PFWLXGETSTATUSMESSAGE WlxGetStatusMessage
Definition: winlogon.h:105
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
HWND GetTopDialogWindow(VOID)
Definition: wlx.c:109
BOOL CreateUserEnvironment(IN PWLSESSION Session)
Definition: environment.c:128
PFWLXSCREENSAVERNOTIFY WlxScreenSaverNotify
Definition: winlogon.h:97
HMODULE hDllInstance
Definition: winlogon.h:113
enum _LOGON_STATE LOGON_STATE
_In_ BOOL _In_ HANDLE hProcess
Definition: mapping.h:70
PFWLXDISPLAYLOCKEDNOTICE WlxDisplayLockedNotice
Definition: winlogon.h:89
typedef PDWORD
Definition: winlogon.h:54
BOOL WINAPI WlxSetOption(HANDLE hWlx, DWORD Option, ULONG_PTR Value, ULONG_PTR *OldValue)
Definition: wlx.c:551
PWLSESSION WLSession
Definition: winlogon.c:20
VOID WINAPI WlxWin31Migrate(HANDLE hWlx)
Definition: wlx.c:642
BOOL WINAPI WlxDisconnect(VOID)
Definition: wlx.c:683
BOOL InitNotifications(VOID)
Definition: notify.c:196
HDESK ApplicationDesktop
Definition: winlogon.h:214
DWORD DWORD
Definition: winlogon.h:75
enum _NOTIFICATION_TYPE * PNOTIFICATION_TYPE
PFWLXDISPLAYSTATUSMESSAGE WlxDisplayStatusMessage
Definition: winlogon.h:104
int WINAPI WlxAssignShellProtection(HANDLE hWlx, HANDLE hToken, HANDLE hProcess, HANDLE hThread)
Definition: wlx.c:264
int WINAPI WlxDialogBox(HANDLE hWlx, HANDLE hInst, LPWSTR lpszTemplate, HWND hwndOwner, DLGPROC dlgprc)
Definition: wlx.c:303
HANDLE hEndOfScreenSaver
Definition: winlogon.h:231
uint32_t ULONG_PTR
Definition: typedefs.h:64
BOOL WINAPI WlxCreateUserDesktop(HANDLE hWlx, HANDLE hToken, DWORD Flags, PWSTR pszDesktopName, PWLX_DESKTOP *ppDesktop)
Definition: wlx.c:489
typedef HDESK
Definition: winlogon.h:74
DWORD GetSetupType(VOID)
Definition: setup.c:16
PFWLXWKSTALOCKEDSAS WlxWkstaLockedSAS
Definition: winlogon.h:90
typedef int(WINAPI *PFWLXLOGGEDOUTSAS)(PVOID
HANDLE hUserActivity
Definition: winlogon.h:230
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
typedef PLUID
Definition: winlogon.h:54
PFWLXSHUTDOWN WlxShutdown
Definition: winlogon.h:94
enum _LOGON_STATE * PLOGON_STATE
LONG_PTR LPARAM
Definition: windef.h:231
struct _WLSESSION WLSESSION
struct _GINAINSTANCE GINAINSTANCE
BOOL GinaInit(IN OUT PWLSESSION Session)
Definition: wlx.c:921
DWORD *typedef BOOL(WINAPI *PFWLXINITIALIZE)(LPWSTR
Definition: winlogon.h:52
VOID CallNotificationDlls(PWLSESSION pSession, NOTIFICATION_TYPE Type)
Definition: notify.c:249
BOOL StartRpcServer(VOID)
Definition: rpcserver.c:20
int WINAPI WlxSwitchDesktopToWinlogon(HANDLE hWlx)
Definition: wlx.c:424
INT_PTR(CALLBACK * DLGPROC)(HWND, UINT, WPARAM, LPARAM)
Definition: winuser.h:2837
GINAINSTANCE Gina
Definition: winlogon.h:207
int WINAPI WlxSwitchDesktopToUser(HANDLE hWlx)
Definition: wlx.c:409
VOID WINAPI WlxSetContextPointer(HANDLE hWlx, PVOID pWlxContext)
Definition: wlx.c:214
int WINAPI WlxDialogBoxIndirectParam(HANDLE hWlx, HANDLE hInst, LPCDLGTEMPLATE hDialogTemplate, HWND hwndOwner, DLGPROC dlgprc, LPARAM dwInitParam)
Definition: wlx.c:375
unsigned int BOOL
Definition: ntddk_ex.h:94
BOOL WINAPI WlxQueryTsLogonCredentials(PWLX_CLIENT_CREDENTIALS_INFO_V2_0 pCred)
Definition: wlx.c:728
BOOL SuppressStatus
Definition: winlogon.h:209
VOID WINAPI WlxSasNotify(HANDLE hWlx, DWORD dwSasType)
Definition: wlx.c:230
PFWLXACTIVATEUSERSHELL WlxActivateUserShell
Definition: winlogon.h:87
DWORD DialogTimeout
Definition: winlogon.h:221
PFWLXREMOVESTATUSMESSAGE WlxRemoveStatusMessage
Definition: winlogon.h:106
WINE_DEFAULT_DEBUG_CHANNEL(winlogon)
GINAFUNCTIONS Functions
Definition: winlogon.h:114
PFWLXLOGOFF WlxLogoff
Definition: winlogon.h:93
HANDLE HINSTANCE
Definition: typedefs.h:76
VOID WINAPI WlxUseCtrlAltDel(HANDLE hWlx)
Definition: wlx.c:199
BOOL TaskManHotkey
Definition: winlogon.h:210
VOID FASTCALL Logon(BOOL IsLogon)
Definition: logon.c:80
LPWSTR InteractiveWindowStationName
Definition: winlogon.h:213
VOID StartScreenSaver(IN PWLSESSION Session)
Definition: screensaver.c:257
typedef PHANDLE
Definition: winlogon.h:54
DWORD Options
Definition: winlogon.h:237
int WINAPI WlxMessageBox(HANDLE hWlx, HWND hwndOwner, LPWSTR lpszText, LPWSTR lpszTitle, UINT fuStyle)
Definition: wlx.c:284
int WINAPI WlxDialogBoxParam(HANDLE hWlx, HANDLE hInst, LPWSTR lpszTemplate, HWND hwndOwner, DLGPROC dlgprc, LPARAM dwInitParam)
Definition: wlx.c:322
#define WINAPI
Definition: msvc.h:20
ULONG PVOID Reserved
Definition: ntimage.h:533
UINTN UINT8 Value
Definition: acefiex.h:725
BOOL InitializeSAS(IN OUT PWLSESSION Session)
Definition: sas.c:1508
DWORD SASAction
Definition: winlogon.h:208
HANDLE hEndOfScreenSaverThread
Definition: winlogon.h:228
int WINAPI WlxChangePasswordNotifyEx(HANDLE hWlx, PWLX_MPR_NOTIFY_INFO pMprInfo, DWORD dwChangeInfo, PWSTR ProviderName, PVOID Reserved)
Definition: wlx.c:511
DWORD *typedef HANDLE
Definition: winlogon.h:52
HINSTANCE hInst
Definition: dxdiag.c:13
LONG NTSTATUS
Definition: DriverTester.h:11
static ULONG Timeout
Definition: ping.c:61
BOOL WINAPI WlxGetSourceDesktop(HANDLE hWlx, PWLX_DESKTOP *ppDesktop)
Definition: wlx.c:457
LUID LogonId
Definition: winlogon.h:217
HWINSTA InteractiveWindowStation
Definition: winlogon.h:212
typedef PSID
Definition: winlogon.h:54
unsigned int UINT
Definition: ndis.h:50
PFWLXNEGOTIATE WlxNegotiate
Definition: winlogon.h:81
struct _GINAINSTANCE * PGINAINSTANCE
BOOL WINAPI WlxSetTimeout(HANDLE hWlx, DWORD Timeout)
Definition: wlx.c:247
HANDLE hThread
Definition: wizard.c:27
PFWLXNETWORKPROVIDERLOAD WlxNetworkProviderLoad
Definition: winlogon.h:103
_LOGON_STATE
Definition: winlogon.h:187
HANDLE hProfileInfo
Definition: winlogon.h:219
BOOL WINAPI WlxQueryInetConnectorCredentials(PWLX_CLIENT_CREDENTIALS_INFO_V1_0 pCred)
Definition: wlx.c:669
HANDLE HMODULE
Definition: typedefs.h:76
HDESK ScreenSaverDesktop
Definition: winlogon.h:216
WLX_PROFILE_V2_0 * Profile
Definition: winlogon.h:239
BOOL CreateWindowStationAndDesktops(IN OUT PWLSESSION Session)
Definition: wlx.c:1123
#define OUT
Definition: typedefs.h:40
DWORD WINAPI WlxQueryConsoleSwitchCredentials(PWLX_CONSOLESWITCH_CREDENTIALS_INFO_V1_0 pCred)
Definition: wlx.c:714
BOOL InitializeScreenSaver(IN OUT PWLSESSION Session)
Definition: screensaver.c:204
BOOL WINAPI WlxQueryClientCredentials(PWLX_CLIENT_CREDENTIALS_INFO_V1_0 pCred)
Definition: wlx.c:655
PFWLXINITIALIZE WlxInitialize
Definition: winlogon.h:82
PFWLXLOGGEDONSAS WlxLoggedOnSAS
Definition: winlogon.h:88
WCHAR * LPWSTR
Definition: xmlstorage.h:184
VOID InitDialogListHead(VOID)
Definition: wlx.c:45
PFWLXSTARTAPPLICATION WlxStartApplication
Definition: winlogon.h:98
DWORD Version
Definition: winlogon.h:116
DWORD *typedef PVOID *typedef VOID(WINAPI *PFWLXDISPLAYSASNOTICE)(PVOID)
Definition: winlogon.h:53
struct _GINAFUNCTIONS * PGINAFUNCTIONS
HINSTANCE hAppInstance
Definition: mmc.c:23
LOGON_STATE LogonState
Definition: winlogon.h:220