LSA_PROTECT_MEMORY callback function

Encrypts the specified memory buffer.

Syntax

LSA_PROTECT_MEMORY LsaProtectMemory;

void LsaProtectMemory(
  PVOID Buffer,
  ULONG BufferSize
)
{...}

Parameters

Buffer

On input, a pointer to the buffer to be encrypted. On output, a pointer to the encrypted buffer.

BufferSize

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]
Target Platform Windows
Header ntsecpkg.h

See Also

SpInitialize