Export (0) Print
Expand All
Expand Minimize

LsaDeregisterLogonProcess function

The LsaDeregisterLogonProcess function deletes the caller's logon application context and closes the connection to the LSA server.

Syntax


NTSTATUS LsaDeregisterLogonProcess(
  _In_  HANDLE LsaHandle
);

Parameters

LsaHandle [in]

Handle obtained from a LsaRegisterLogonProcess or LsaConnectUntrusted call.

Return value

If the function succeeds, the return value is STATUS_SUCCESS.

If the function fails, the return value is an NTSTATUS code. For more information, see LSA Policy Function Return Values.

The LsaNtStatusToWinError function converts an NTSTATUS code to a Windows error code.

Remarks

If your logon application references the connection handle after calling the LsaDeregisterLogonProcess function, unexpected behavior can result.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ntsecapi.h

Library

Secur32.lib

DLL

Secur32.dll

See also

LsaConnectUntrusted
LsaRegisterLogonProcess

 

 

Community Additions

ADD
Show:
© 2014 Microsoft