WriteControlSpace function (wdbgexts.h)

The WriteControlSpace function writes to the processor-specific control space of the current target.

Syntax

void WriteControlSpace(
  USHORT processor,
  ULONG  address,
  PVOID  buf,
  ULONG  size
);

Parameters

processor

Specifies the index of the processor whose control space is to be written.

address

Specifies the address of the control space.

buf

Specifies the data to be written to the control space.

size

Specifies the number of bytes to be written. This is the number of bytes in the buf buffer.

Return value

None

Remarks

This function can only be called in kernel-mode debugging.

Requirements

Requirement Value
Target Platform Desktop
Header wdbgexts.h (include Wdbgexts.h, Dbgeng.h)

See also

ReadControlSpace

ReadControlSpace64