Condividi tramite


__readdr

This topic is new for Visual Studio 2005 SP1.

Reads the value of the specified debug register.

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

Parameters

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

Return Value

The value of the specified debug register.

Remarks

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

Requirements

Intrinsic

Architecture

__readdr

x86, x64

Header file <intrin.h>

See Also

Concepts

Compiler Intrinsics

__readeflags