_enable

 

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 _enable.

Microsoft Specific**

Enables interrupts.

void _enable(void);  

IntrinsicArchitecture
_enablex86, ARM, x64

Header file <intrin.h>

_enable instructs the processor to set the interrupt flag. On x86 systems, this function generates the Set Interrupt Flag (sti) instruction.

This function is only available in kernel mode. If used in user mode, a Privileged Instruction exception is thrown.

Compiler Intrinsics

Show: