| description | Learn more about: __readcr4 | |
|---|---|---|
| title | __readcr4 | |
| ms.date | 09/02/2019 | |
| f1_keywords |
|
|
| helpviewer_keywords |
|
|
| ms.assetid | b841a27b-fe0d-4ee9-b76b-f91d3eb061fa |
Microsoft Specific
Reads the CR4 register and returns its value.
unsigned __int64 __readcr4(void);The value in the CR4 register.
| Intrinsic | Architecture |
|---|---|
__readcr4 |
x86, x64 |
Header file <intrin.h>
The intrinsic is only available in kernel mode, and the routine is only available as an intrinsic.
END Microsoft Specific