+#ifndef _MSGINA_H
+#define _MSGINA_H
+
#define WIN32_NO_STATUS
#include <stdarg.h>
#include <winuser.h>
#include <userenv.h>
#include <winwlx.h>
+#include <ndk/obfuncs.h>
+#include <ndk/rtlfuncs.h>
+#include <ndk/sefuncs.h>
+#include <ntlsa.h>
+#include <ntsecapi.h>
+
#include <wine/debug.h>
+WINE_DEFAULT_DEBUG_CHANNEL(msgina);
#include "resource.h"
PWLX_DISPATCH_VERSION_1_3 pWlxFuncs;
HANDLE hDllInstance;
HWND hStatusWindow;
+ HANDLE LsaHandle;
+ ULONG AuthenticationPackage;
DWORD AutoLogonState;
+ BOOL bDisableCAD;
+ BOOL bAutoAdminLogon;
+ BOOL bDontDisplayLastUserName;
+ BOOL bShutdownWithoutLogon;
- /* Informations to be filled during logon */
+ /* Information to be filled during logon */
WCHAR UserName[256];
WCHAR Domain[256];
+ LPWSTR Password;
SYSTEMTIME LogonTime;
HANDLE UserToken;
PLUID pAuthenticationId;
PFGINA_DISPLAYLOCKEDNOTICE DisplayLockedNotice;
} GINA_UI, *PGINA_UI;
+/* lsa.c */
+
+BOOL
+ConnectToLsa(
+ PGINA_CONTEXT pgContext);
+
/* msgina.c */
+BOOL
+DoAdminUnlock(
+ IN PWSTR UserName,
+ IN PWSTR Domain,
+ IN PWSTR Password);
+
BOOL
DoLoginTasks(
IN OUT PGINA_CONTEXT pgContext,
IN PWSTR Domain,
IN PWSTR Password);
+#endif /* _MSGINA_H */
+
/* EOF */