READCONTROLSPACE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdbgexts.h

typedef struct _READCONTROLSPACE {
  USHORT Processor;
  ULONG  Address;
  ULONG  BufLen;
  UCHAR  Buf[1];
} READCONTROLSPACE, *PREADCONTROLSPACE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-wdbgexts-_readcontrolspace)

_READCONTROLSPACE structure

Description

The ReadControlSpace function reads the processor-specific control space into the array pointed to by buf.

Members

Processor

Specifies the number of the processor whose control space is to be read.

Address

Specifies the address of the control space.

BufLen

The length of the buffer.

Buf[1]

Specifies the object into which the control space data is read.

Remarks

If you are writing 64-bit code, you should use ReadControlSpace64 instead. See 32-Bit Pointers and 64-Bit Pointers for details.

If you are writing a WdbgExts extension, include wdbgexts.h. If you are writing a DbgEng extension that calls this function, include wdbgexts.h before dbgeng.h (see Writing DbgEng Extension Code for details).