[MSGINA]
[reactos.git] / reactos / dll / win32 / msgina / msgina.h
index 1eec5ec..7709e75 100644 (file)
@@ -1,24 +1,17 @@
 #ifndef _MSGINA_H
 #define _MSGINA_H
 
+#include <stdarg.h>
+
 #define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
 
-#include <stdarg.h>
-#include <stdlib.h>
 #include <windef.h>
 #include <winbase.h>
-#include <wincon.h>
-#include <winreg.h>
-#include <wingdi.h>
-#include <winnls.h>
-#include <winsvc.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>
@@ -84,10 +77,26 @@ typedef struct _GINA_UI
     PFGINA_DISPLAYLOCKEDNOTICE DisplayLockedNotice;
 } GINA_UI, *PGINA_UI;
 
+/* lsa.c */
+
+BOOL
+ConnectToLsa(
+    PGINA_CONTEXT pgContext);
+
+BOOL
+MyLogonUser(
+    HANDLE LsaHandle,
+    ULONG AuthenticationPackage,
+    LPWSTR lpszUsername,
+    LPWSTR lpszDomain,
+    LPWSTR lpszPassword,
+    PHANDLE phToken);
+
 /* msgina.c */
 
 BOOL
 DoAdminUnlock(
+    IN PGINA_CONTEXT pgContext,
     IN PWSTR UserName,
     IN PWSTR Domain,
     IN PWSTR Password);
@@ -100,5 +109,3 @@ DoLoginTasks(
     IN PWSTR Password);
 
 #endif /* _MSGINA_H */
-
-/* EOF */