__readdr

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

Reads the value of the specified debug register.

unsigned         __readdr(unsigned int DebugRegister);  
unsigned __int64 __readdr(unsigned int DebugRegister);  

Parameters

[in] DebugRegister
A constant from 0 through 7 that identifies the debug register.

The value of the specified debug register.

These intrinsics are available only in kernel mode, and the routines are available only as intrinsics.

IntrinsicArchitecture
__readdrx86, x64

Header file <intrin.h>

Compiler Intrinsics
__readeflags

Show: