Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 899 Bytes

LsaFreeReturnBuffer.md

File metadata and controls

47 lines (31 loc) · 899 Bytes

Home

Function name : LsaFreeReturnBuffer

Group: Security - Library: secur32


Frees the memory used by a buffer previously allocated by the LSA.


Code examples:

How to enumerate logon sessions on local computer

Declaration:

NTSTATUS LsaFreeReturnBuffer(
  _In_  PVOID Buffer
);  

FoxPro declaration:

DECLARE INTEGER LsaFreeReturnBuffer IN secur32;
	INTEGER Buffer  

Parameters:

Buffer [in] Pointer to the buffer to be freed.


Return value:

If the function succeeds, the return value is STATUS_SUCCESS.


Comments:

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