This function reads a CPU-specific control space into an array.

VOID ReadControlSpace(
  USHORT processor,
  ULONG address,
  PVOID buf,
  ULONG size


  • processor
    [in] Number of the CPU whose control space is to be read.
  • address
    [in] Address of the control space.
  • buf
    [in] Address of an array of bytes to hold the data from the control space.
  • size
    [in] Number of bytes in the array pointed to by the buf parameter.

Return Values

This function returns TRUE if the function call succeeds. Otherwise, the function returns FALSE.


OS Versions: Windows CE 3.0 and later.
Header: Wdbgexts.h.
Link Library: Developer defined.

See Also

Debugger Extension Functions

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.