Author: spetreolle
Date: Fri Jul 1 19:55:32 2016
New Revision: 71715
URL:
http://svn.reactos.org/svn/reactos?rev=71715&view=rev
Log:
[SECUR32]
Enable LsaEnumerateLogonSessions and LsaGetLogonSessionData implemtations, used by
VirtualBox guest additions.
CORE-7424
Modified:
trunk/reactos/dll/win32/secur32/lsalpc.c
Modified: trunk/reactos/dll/win32/secur32/lsalpc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/lsalpc.c…
==============================================================================
--- trunk/reactos/dll/win32/secur32/lsalpc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/secur32/lsalpc.c [iso-8859-1] Fri Jul 1 19:55:32 2016
@@ -112,7 +112,6 @@
PULONG LogonSessionCount,
PLUID *LogonSessionList)
{
-#if 1
LSA_API_MSG ApiMessage;
NTSTATUS Status;
@@ -146,10 +145,6 @@
*LogonSessionList = ApiMessage.EnumLogonSessions.Reply.LogonSessionBuffer;
return Status;
-#else
- UNIMPLEMENTED;
- return STATUS_NOT_IMPLEMENTED;
-#endif
}
@@ -162,7 +157,6 @@
PLUID LogonId,
PSECURITY_LOGON_SESSION_DATA *ppLogonSessionData)
{
-#if 1
LSA_API_MSG ApiMessage;
PSECURITY_LOGON_SESSION_DATA SessionData;
NTSTATUS Status;
@@ -207,10 +201,19 @@
*ppLogonSessionData = SessionData;
return Status;
-#else
+}
+
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+NTAPI
+LsaRegisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS
InformationClass,
+ HANDLE NotificationEventHandle)
+{
UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED;
-#endif
}
@@ -219,24 +222,11 @@
*/
NTSTATUS
NTAPI
-LsaRegisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS
InformationClass,
- HANDLE NotificationEventHandle)
+LsaUnregisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS
InformationClass,
+ HANDLE NotificationEventHandle)
{
UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED;
}
-
-/*
- * @unimplemented
- */
-NTSTATUS
-NTAPI
-LsaUnregisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS
InformationClass,
- HANDLE NotificationEventHandle)
-{
- UNIMPLEMENTED;
- return STATUS_NOT_IMPLEMENTED;
-}
-
/* EOF */