WriteControl
The WriteControl method writes implementation-specific system data.
HRESULT
IDebugDataSpaces::WriteControl(
IN ULONG Processor,
IN ULONG64 Offset,
IN PVOID Buffer,
IN ULONG BufferSize,
OUT OPTIONAL PULONG BytesWritten
);
Parameters
- Processor
- Specifies the processor whose information is to be written.
- Offset
- Specifies the offset of the control space of the memory to write.
- Buffer
- Specifies the data to write to the control-space memory.
- BufferSize
- Specifies the size in bytes of the buffer Buffer. This is the maximum number of bytes that will be written.
- BytesWritten
- Receives the number of bytes returned in the buffer Buffer. If BytesWritten is NULL, this information is not returned.
Return Value
- S_OK
- The method was successful.
This method can also return error values. See Return Values for more details.
Interface Version
WriteControl is available in all versions of IDebugDataSpaces.
Comments
This method is only available in kernel-mode debugging.
Requirements
Headers: Defined in Dbgeng.h. Include Dbgeng.h.
Build machine: CAPEBUILD