Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Encrypts the specified memory buffer.
Syntax
LSA_PROTECT_MEMORY LsaProtectMemory;
void LsaProtectMemory(
[in, out] PVOID Buffer,
[in] ULONG BufferSize
)
{...}
Parameters
[in, out] Buffer
On input, a pointer to the buffer to be encrypted. On output, a pointer to the encrypted buffer.
[in] BufferSize
The size, in bytes, of the Buffer buffer.
Return value
None
Remarks
A pointer to the LsaProtectMemory function is available in the LSA_SECPKG_FUNCTION_TABLE structure received by the SpInitialize function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | ntsecpkg.h |