IDebugDataSpaces4::ReadControl method (dbgeng.h)

The ReadControl method reads implementation-specific system data.

Syntax

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

Parameters

[in] Processor

Specifies the processor whose information is to be read.

[in] Offset

Specifies the offset in the control space of the memory to read.

[out] Buffer

Receives the data read from the control-space memory.

[in] BufferSize

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

[out, optional] BytesRead

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

Return value

Return code Description
S_OK
The method was successful.
 

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

Remarks

This method is only available in kernel-mode debugging.

Requirements

Requirement Value
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)