_disable
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at _disable.
Microsoft Specific**
Disables interrupts.
void _disable(void);
| Intrinsic | Architecture |
|---|---|
_disable | x86, ARM, x64 |
Header file <intrin.h>
_disable instructs the processor to clear the interrupt flag. On x86 systems, this function generates the Clear Interrupt Flag (cli) instruction.
This function is only available in kernel mode. If used in user mode, a Privileged Instruction exception is thrown at run time.
On ARM platforms, this routine is only available as an intrinsic.
Show: