* PROGRAMMERS: Eric Kohl
*/
+#include <stdarg.h>
+
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
-#include <stdarg.h>
+
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
+#include <winuser.h>
+
#define NTOS_MODE_USER
#include <ndk/cmfuncs.h>
#include <ndk/kefuncs.h>
#include <ntsam.h>
#include <ntlsa.h>
-//#include <ntsecapi.h>
#include <sddl.h>
-//#include <string.h>
-
#include <lsass.h>
#include <lsa_s.h>
#include <wine/debug.h>
+WINE_DEFAULT_DEBUG_CHANNEL(lsasrv);
+#include "resources.h"
typedef enum _LSA_DB_OBJECT_TYPE
{
extern PSID AccountDomainSid;
extern UNICODE_STRING AccountDomainName;
+extern PSID LsapLocalSystemSid;
+
+
/* authpackage.c */
NTSTATUS
LsapInitAuthPackages(VOID);
LsapCreateSecretSd(PSECURITY_DESCRIPTOR *SecretSd,
PULONG SecretSdSize);
+/* session.c */
+VOID
+LsapInitLogonSessions(VOID);
+
+NTSTATUS
+NTAPI
+LsapCreateLogonSession(IN PLUID LogonId);
+
+NTSTATUS
+NTAPI
+LsapDeleteLogonSession(IN PLUID LogonId);
+
+NTSTATUS
+LsapSetLogonSessionData(IN PLUID LogonId);
+
+/* utils.c */
+INT
+LsapLoadString(HINSTANCE hInstance,
+ UINT uId,
+ LPWSTR lpBuffer,
+ INT nBufferMax);
+
/* EOF */