[MSGINA]
[reactos.git] / reactos / dll / win32 / msgina / msgina.h
index e79d40e..a9c62a4 100644 (file)
@@ -1,3 +1,6 @@
+#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"
 
@@ -28,11 +38,18 @@ typedef struct
     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;
@@ -67,8 +84,20 @@ typedef struct _GINA_UI
     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,
@@ -76,4 +105,6 @@ DoLoginTasks(
     IN PWSTR Domain,
     IN PWSTR Password);
 
+#endif /* _MSGINA_H */
+
 /* EOF */