Skip to content

Latest commit

 

History

History
70 lines (60 loc) · 1.48 KB

File metadata and controls

70 lines (60 loc) · 1.48 KB
title __writedr | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-tools
ms.tgt_pltfrm
ms.topic article
f1_keywords
__writedr
dev_langs
C++
helpviewer_keywords
__writedr intrinsic
ms.assetid ac55c1ee-df2f-41d4-a429-6f369d2a934d
caps.latest.revision 5
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
ru-ru
zh-cn
zh-tw
translation.priority.mt
cs-cz
pl-pl
pt-br
tr-tr

__writedr

Writes the specified value to the specified debug register.

Syntax

void __writedr(unsigned DebugRegister, unsigned DebugValue);  
void __writedr(unsigned DebugRegister, unsigned __int64 DebugValue);  

Parameters

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

[in] DebugValue
A value to write to the debug register.

Remarks

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

Requirements

Intrinsic Architecture
__writedr x86, [!INCLUDEvcprx64]

Header file <intrin.h>

END Microsoft Specific

See Also

Compiler Intrinsics
__readdr