Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize

CopyFromClientBuffer function

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

Syntax


NTSTATUS CopyFromClientBuffer(
  _In_ PLSA_CLIENT_REQUEST ClientRequest,
  _In_ ULONG               Length,
  _In_ PVOID               BufferToCopy,
  _In_ PVOID               ClientBaseAddress
);

Parameters

ClientRequest [in]

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

Length [in]

Length of the buffer to be copied, in bytes.

BufferToCopy [in]

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

ClientBaseAddress [in]

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ntsecpkg.h

See also

LSA_DISPATCH_TABLE
LSA_SECPKG_FUNCTION_TABLE

 

 

Community Additions

ADD
Show:
© 2015 Microsoft