mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:23:05 +00:00
[lsalib]
Fix indentation. No code changes. svn path=/trunk/; revision=44776
This commit is contained in:
parent
e50eff1409
commit
2db30d58d2
1 changed files with 240 additions and 241 deletions
|
@ -40,17 +40,18 @@ LsaDeregisterLogonProcess(HANDLE LsaHandle)
|
||||||
&Reply.Header);
|
&Reply.Header);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
return(Status);
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!NT_SUCCESS(Reply.Status))
|
if (!NT_SUCCESS(Reply.Status))
|
||||||
{
|
{
|
||||||
return(Reply.Status);
|
return Reply.Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
return(Status);
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
|
@ -61,6 +62,7 @@ LsaConnectUntrusted(PHANDLE LsaHandle)
|
||||||
return STATUS_UNSUCCESSFUL;
|
return STATUS_UNSUCCESSFUL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
|
@ -69,7 +71,7 @@ LsaCallAuthenticationPackage(HANDLE LsaHandle,
|
||||||
ULONG AuthenticationPackage,
|
ULONG AuthenticationPackage,
|
||||||
PVOID ProtocolSubmitBuffer,
|
PVOID ProtocolSubmitBuffer,
|
||||||
ULONG SubmitBufferLength,
|
ULONG SubmitBufferLength,
|
||||||
PVOID* ProtocolReturnBuffer,
|
PVOID *ProtocolReturnBuffer,
|
||||||
PULONG ReturnBufferLength,
|
PULONG ReturnBufferLength,
|
||||||
PNTSTATUS ProtocolStatus)
|
PNTSTATUS ProtocolStatus)
|
||||||
{
|
{
|
||||||
|
@ -101,12 +103,12 @@ LsaCallAuthenticationPackage(HANDLE LsaHandle,
|
||||||
&Reply->Header);
|
&Reply->Header);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
return(Status);
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!NT_SUCCESS(Reply->Status))
|
if (!NT_SUCCESS(Reply->Status))
|
||||||
{
|
{
|
||||||
return(Reply->Status);
|
return Reply->Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
OutBufferSize = Reply->d.CallAuthenticationPackageReply.OutBufferLength;
|
OutBufferSize = Reply->d.CallAuthenticationPackageReply.OutBufferLength;
|
||||||
|
@ -118,7 +120,7 @@ LsaCallAuthenticationPackage(HANDLE LsaHandle,
|
||||||
Reply->d.CallAuthenticationPackageReply.OutBuffer,
|
Reply->d.CallAuthenticationPackageReply.OutBuffer,
|
||||||
*ReturnBufferLength);
|
*ReturnBufferLength);
|
||||||
|
|
||||||
return(Status);
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -128,7 +130,7 @@ LsaCallAuthenticationPackage(HANDLE LsaHandle,
|
||||||
NTSTATUS WINAPI
|
NTSTATUS WINAPI
|
||||||
LsaFreeReturnBuffer(PVOID Buffer)
|
LsaFreeReturnBuffer(PVOID Buffer)
|
||||||
{
|
{
|
||||||
return(RtlFreeHeap(Secur32Heap, 0, Buffer));
|
return RtlFreeHeap(Secur32Heap, 0, Buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -157,16 +159,17 @@ LsaLookupAuthenticationPackage(HANDLE LsaHandle,
|
||||||
&Reply.Header);
|
&Reply.Header);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
return(Status);
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!NT_SUCCESS(Reply.Status))
|
if (!NT_SUCCESS(Reply.Status))
|
||||||
{
|
{
|
||||||
return(Reply.Status);
|
return Reply.Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
*AuthenticationPackage = Reply.d.LookupAuthenticationPackageReply.Package;
|
*AuthenticationPackage = Reply.d.LookupAuthenticationPackageReply.Package;
|
||||||
|
|
||||||
return(Reply.Status);
|
return Reply.Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -182,7 +185,7 @@ LsaLogonUser(HANDLE LsaHandle,
|
||||||
ULONG AuthenticationInformationLength,
|
ULONG AuthenticationInformationLength,
|
||||||
PTOKEN_GROUPS LocalGroups,
|
PTOKEN_GROUPS LocalGroups,
|
||||||
PTOKEN_SOURCE SourceContext,
|
PTOKEN_SOURCE SourceContext,
|
||||||
PVOID* ProfileBuffer,
|
PVOID *ProfileBuffer,
|
||||||
PULONG ProfileBufferLength,
|
PULONG ProfileBufferLength,
|
||||||
PLUID LogonId,
|
PLUID LogonId,
|
||||||
PHANDLE Token,
|
PHANDLE Token,
|
||||||
|
@ -247,14 +250,14 @@ LsaLogonUser(HANDLE LsaHandle,
|
||||||
&Reply->Header);
|
&Reply->Header);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
return(Status);
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
*SubStatus = Reply->d.LogonUserReply.SubStatus;
|
*SubStatus = Reply->d.LogonUserReply.SubStatus;
|
||||||
|
|
||||||
if (!NT_SUCCESS(Reply->Status))
|
if (!NT_SUCCESS(Reply->Status))
|
||||||
{
|
{
|
||||||
return(Status);
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
*ProfileBuffer = RtlAllocateHeap(Secur32Heap,
|
*ProfileBuffer = RtlAllocateHeap(Secur32Heap,
|
||||||
|
@ -270,7 +273,7 @@ LsaLogonUser(HANDLE LsaHandle,
|
||||||
&Reply->d.LogonUserReply.Quotas,
|
&Reply->d.LogonUserReply.Quotas,
|
||||||
sizeof(Reply->d.LogonUserReply.Quotas));
|
sizeof(Reply->d.LogonUserReply.Quotas));
|
||||||
|
|
||||||
return(Status);
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -299,7 +302,7 @@ LsaRegisterLogonProcess(PLSA_STRING LsaLogonProcessName,
|
||||||
&ConnectInfoLength);
|
&ConnectInfoLength);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
return(Status);
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
Request.Type = LSASS_REQUEST_REGISTER_LOGON_PROCESS;
|
Request.Type = LSASS_REQUEST_REGISTER_LOGON_PROCESS;
|
||||||
|
@ -319,72 +322,68 @@ LsaRegisterLogonProcess(PLSA_STRING LsaLogonProcessName,
|
||||||
{
|
{
|
||||||
NtClose(*Handle);
|
NtClose(*Handle);
|
||||||
*Handle = NULL;
|
*Handle = NULL;
|
||||||
return(Status);
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!NT_SUCCESS(Reply.Status))
|
if (!NT_SUCCESS(Reply.Status))
|
||||||
{
|
{
|
||||||
NtClose(*Handle);
|
NtClose(*Handle);
|
||||||
*Handle = NULL;
|
*Handle = NULL;
|
||||||
return(Status);
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
*OperationalMode = Reply.d.RegisterLogonProcessReply.OperationalMode;
|
*OperationalMode = Reply.d.RegisterLogonProcessReply.OperationalMode;
|
||||||
|
|
||||||
return(Reply.Status);
|
return Reply.Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
WINAPI
|
WINAPI
|
||||||
LsaEnumerateLogonSessions(
|
LsaEnumerateLogonSessions(PULONG LogonSessionCount,
|
||||||
PULONG LogonSessionCount,
|
PLUID *LogonSessionList)
|
||||||
PLUID * LogonSessionList
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
WINAPI
|
WINAPI
|
||||||
LsaGetLogonSessionData(
|
LsaGetLogonSessionData(PLUID LogonId,
|
||||||
PLUID LogonId,
|
PSECURITY_LOGON_SESSION_DATA *ppLogonSessionData)
|
||||||
PSECURITY_LOGON_SESSION_DATA * ppLogonSessionData
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
WINAPI
|
WINAPI
|
||||||
LsaRegisterPolicyChangeNotification(
|
LsaRegisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS InformationClass,
|
||||||
POLICY_NOTIFICATION_INFORMATION_CLASS InformationClass,
|
HANDLE NotificationEventHandle)
|
||||||
HANDLE NotificationEventHandle
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
WINAPI
|
WINAPI
|
||||||
LsaUnregisterPolicyChangeNotification(
|
LsaUnregisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS InformationClass,
|
||||||
POLICY_NOTIFICATION_INFORMATION_CLASS InformationClass,
|
HANDLE NotificationEventHandle)
|
||||||
HANDLE NotificationEventHandle
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue