Compartir a través de


LsaUnprotectMemory function

Decrypts the specified memory buffer.

Syntax

void NTAPI LsaUnprotectMemory(
  _Inout_ PVOID Buffer,
  _In_    ULONG BufferSize
);

Parameters

  • Buffer [in, out]
    On input, a pointer to the buffer to be decrypted. On output, a pointer to the decrypted buffer.

  • BufferSize [in]
    The size, in bytes, of the Buffer buffer.

Return value

This function does not return a value.

Remarks

A pointer to the LsaProtectMemory function is available in the LSA_SECPKG_FUNCTION_TABLE structure received by the SpInitialize function.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ntsecpkg.h

See also

SpInitialize