CopyToClientBuffer function
Copies information from a buffer in the current process into a client process's address space.
Syntax
NTSTATUS CopyToClientBuffer( _In_ PLSA_CLIENT_REQUEST ClientRequest, _In_ ULONG Length, _In_ PVOID ClientBaseAddress, _In_ PVOID BufferToCopy );
Parameters
- ClientRequest [in]
-
Pointer to an opaque LSA_CLIENT_REQUEST data type representing a client request.
- Length [in]
-
Length in bytes of the buffer to be copied.
- ClientBaseAddress [in]
-
Pointer to a buffer that receives the data. This address is the address of the buffer within the client process, not the current process.
- BufferToCopy [in]
-
Pointer to the local buffer whose contents are to be copied into the client address space.
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
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
See also