Expand Minimize
This topic has not yet been rated - Rate this topic

LsaProtectMemory function

Encrypts the specified memory buffer.

Syntax


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

Parameters

Buffer [in, out]

On input, a pointer to the buffer to be encrypted. On output, a pointer to the encrypted 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

 

 

Send comments about this topic to Microsoft

Build date: 1/2/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.