LSA_COPY_FROM_CLIENT_BUFFER callback function (ntsecpkg.h)

Copies information from the address space of a client process into a buffer in the current process.

Syntax

LSA_COPY_FROM_CLIENT_BUFFER LsaCopyFromClientBuffer;

NTSTATUS LsaCopyFromClientBuffer(
  [in] PLSA_CLIENT_REQUEST ClientRequest,
  [in] ULONG Length,
  [in] PVOID BufferToCopy,
  [in] PVOID ClientBaseAddress
)
{...}

Parameters

[in] ClientRequest

Pointer to an opaque LSA_CLIENT_REQUEST data structure that contains information about the LSA client's authentication request.

[in] Length

Length of the buffer to be copied, in bytes.

[in] BufferToCopy

Pointer to the local buffer into which the data is to be copied.

[in] ClientBaseAddress

Pointer to the client buffer whose contents are to be copied. This address is the address of the buffer within the client process, not the current process.

Return value

If the function succeeds, the return value is STATUS_SUCCESS.

If the function fails, the return value is an NTSTATUS code. For more information, see LSA Policy Function Return Values.

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

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

See also

LSA_DISPATCH_TABLE

LSA_SECPKG_FUNCTION_TABLE