mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +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);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
return(Status);
|
||||
return Status;
|
||||
}
|
||||
|
||||
if (!NT_SUCCESS(Reply.Status))
|
||||
{
|
||||
return(Reply.Status);
|
||||
return Reply.Status;
|
||||
}
|
||||
|
||||
return(Status);
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
|
@ -61,6 +62,7 @@ LsaConnectUntrusted(PHANDLE LsaHandle)
|
|||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
@ -69,7 +71,7 @@ LsaCallAuthenticationPackage(HANDLE LsaHandle,
|
|||
ULONG AuthenticationPackage,
|
||||
PVOID ProtocolSubmitBuffer,
|
||||
ULONG SubmitBufferLength,
|
||||
PVOID* ProtocolReturnBuffer,
|
||||
PVOID *ProtocolReturnBuffer,
|
||||
PULONG ReturnBufferLength,
|
||||
PNTSTATUS ProtocolStatus)
|
||||
{
|
||||
|
@ -101,12 +103,12 @@ LsaCallAuthenticationPackage(HANDLE LsaHandle,
|
|||
&Reply->Header);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
return(Status);
|
||||
return Status;
|
||||
}
|
||||
|
||||
if (!NT_SUCCESS(Reply->Status))
|
||||
{
|
||||
return(Reply->Status);
|
||||
return Reply->Status;
|
||||
}
|
||||
|
||||
OutBufferSize = Reply->d.CallAuthenticationPackageReply.OutBufferLength;
|
||||
|
@ -118,7 +120,7 @@ LsaCallAuthenticationPackage(HANDLE LsaHandle,
|
|||
Reply->d.CallAuthenticationPackageReply.OutBuffer,
|
||||
*ReturnBufferLength);
|
||||
|
||||
return(Status);
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
||||
|
@ -128,7 +130,7 @@ LsaCallAuthenticationPackage(HANDLE LsaHandle,
|
|||
NTSTATUS WINAPI
|
||||
LsaFreeReturnBuffer(PVOID Buffer)
|
||||
{
|
||||
return(RtlFreeHeap(Secur32Heap, 0, Buffer));
|
||||
return RtlFreeHeap(Secur32Heap, 0, Buffer);
|
||||
}
|
||||
|
||||
|
||||
|
@ -157,16 +159,17 @@ LsaLookupAuthenticationPackage(HANDLE LsaHandle,
|
|||
&Reply.Header);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
return(Status);
|
||||
return Status;
|
||||
}
|
||||
|
||||
if (!NT_SUCCESS(Reply.Status))
|
||||
{
|
||||
return(Reply.Status);
|
||||
return Reply.Status;
|
||||
}
|
||||
|
||||
*AuthenticationPackage = Reply.d.LookupAuthenticationPackageReply.Package;
|
||||
|
||||
return(Reply.Status);
|
||||
return Reply.Status;
|
||||
}
|
||||
|
||||
|
||||
|
@ -182,7 +185,7 @@ LsaLogonUser(HANDLE LsaHandle,
|
|||
ULONG AuthenticationInformationLength,
|
||||
PTOKEN_GROUPS LocalGroups,
|
||||
PTOKEN_SOURCE SourceContext,
|
||||
PVOID* ProfileBuffer,
|
||||
PVOID *ProfileBuffer,
|
||||
PULONG ProfileBufferLength,
|
||||
PLUID LogonId,
|
||||
PHANDLE Token,
|
||||
|
@ -247,14 +250,14 @@ LsaLogonUser(HANDLE LsaHandle,
|
|||
&Reply->Header);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
return(Status);
|
||||
return Status;
|
||||
}
|
||||
|
||||
*SubStatus = Reply->d.LogonUserReply.SubStatus;
|
||||
|
||||
if (!NT_SUCCESS(Reply->Status))
|
||||
{
|
||||
return(Status);
|
||||
return Status;
|
||||
}
|
||||
|
||||
*ProfileBuffer = RtlAllocateHeap(Secur32Heap,
|
||||
|
@ -270,7 +273,7 @@ LsaLogonUser(HANDLE LsaHandle,
|
|||
&Reply->d.LogonUserReply.Quotas,
|
||||
sizeof(Reply->d.LogonUserReply.Quotas));
|
||||
|
||||
return(Status);
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
||||
|
@ -299,7 +302,7 @@ LsaRegisterLogonProcess(PLSA_STRING LsaLogonProcessName,
|
|||
&ConnectInfoLength);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
return(Status);
|
||||
return Status;
|
||||
}
|
||||
|
||||
Request.Type = LSASS_REQUEST_REGISTER_LOGON_PROCESS;
|
||||
|
@ -319,72 +322,68 @@ LsaRegisterLogonProcess(PLSA_STRING LsaLogonProcessName,
|
|||
{
|
||||
NtClose(*Handle);
|
||||
*Handle = NULL;
|
||||
return(Status);
|
||||
return Status;
|
||||
}
|
||||
|
||||
if (!NT_SUCCESS(Reply.Status))
|
||||
{
|
||||
NtClose(*Handle);
|
||||
*Handle = NULL;
|
||||
return(Status);
|
||||
return Status;
|
||||
}
|
||||
|
||||
*OperationalMode = Reply.d.RegisterLogonProcessReply.OperationalMode;
|
||||
|
||||
return(Reply.Status);
|
||||
return Reply.Status;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS
|
||||
WINAPI
|
||||
LsaEnumerateLogonSessions(
|
||||
PULONG LogonSessionCount,
|
||||
PLUID * LogonSessionList
|
||||
)
|
||||
LsaEnumerateLogonSessions(PULONG LogonSessionCount,
|
||||
PLUID *LogonSessionList)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS
|
||||
WINAPI
|
||||
LsaGetLogonSessionData(
|
||||
PLUID LogonId,
|
||||
PSECURITY_LOGON_SESSION_DATA * ppLogonSessionData
|
||||
)
|
||||
LsaGetLogonSessionData(PLUID LogonId,
|
||||
PSECURITY_LOGON_SESSION_DATA *ppLogonSessionData)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS
|
||||
WINAPI
|
||||
LsaRegisterPolicyChangeNotification(
|
||||
POLICY_NOTIFICATION_INFORMATION_CLASS InformationClass,
|
||||
HANDLE NotificationEventHandle
|
||||
)
|
||||
LsaRegisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS InformationClass,
|
||||
HANDLE NotificationEventHandle)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS
|
||||
WINAPI
|
||||
LsaUnregisterPolicyChangeNotification(
|
||||
POLICY_NOTIFICATION_INFORMATION_CLASS InformationClass,
|
||||
HANDLE NotificationEventHandle
|
||||
)
|
||||
LsaUnregisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS InformationClass,
|
||||
HANDLE NotificationEventHandle)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue