IDebugDataSpaces::WriteControl method

The WriteControl method writes implementation-specific system data.

Syntax


HRESULT WriteControl(
  [in]            ULONG   Processor,
  [in]            ULONG64 Offset,
  [in]            PVOID   Buffer,
  [in]            ULONG   BufferSize,
  [out, optional] PULONG  BytesWritten
);

Parameters

Processor [in]

Specifies the processor whose information is to be written.

Offset [in]

Specifies the offset of the control space of the memory to write.

Buffer [in]

Specifies the data to write to the control-space memory.

BufferSize [in]

Specifies the size in bytes of the buffer Buffer. This is the maximum number of bytes that will be written.

BytesWritten [out, optional]

Receives the number of bytes returned in the buffer Buffer. If BytesWritten is NULL, this information is not returned.

Return value

This method can also return error values. See Return Values for more details.

Return codeDescription
S_OK

The method was successful.

 

Remarks

This method is only available in kernel-mode debugging.

Requirements

Target platform

Header

Dbgeng.h (include Dbgeng.h)

 

 

Send comments about this topic to Microsoft

Show: