Share via


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

Syntax

void _enable(void);  

Requirements

Intrinsic Architecture
_enable x86, ARM, x64

Header file <intrin.h>

Remarks

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

END Microsoft Specific

See Also

Compiler Intrinsics