PsRequestWriteVirtualMemory

Assigns the PsWriteVirtualMemory Pulse API function to the request.

Syntax

PULSE_STATUS PsRequestWriteVirtualMemory(
 [in] PPS_REQUEST pRequest
 [in] uint64_t PageTableAddress
 [in] uint16_t SelectorValue
 [in] uint64_t Offset
 [in] void* pBuffer
 [in] uint64_t cbToWrite
 [out, optional] uint64_t *pcbWritten
);

Parameters

Please refer to the PsWriteVirtualMemory Pulse API function for details.

Return value

If the function succeeds, the return value is PULSE_STATUS_SUCCESS.

If it fails, it returns one of the PULSE_STATUS values. Possible return codes include, but are not limited to, the following:

PULSE_STATUS_INVALID_PARAMETER
0xC0000010
The pRequest parameter is NULL.

Remarks

Cancels any pending Pulse API call assigned to this request.