__lidt

 

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

Microsoft Specific**

Loads the interrupt descriptor table register (IDTR) with the value in the specified memory location.

void __lidt(  
     void *Source);  

Parameters

ParameterDescription
[in] SourcePointer to the value to be copied to the IDTR.
IntrinsicArchitecture
__lidtx86, x64

Header file <intrin.h>

The __lidt function is equivalent to the LIDT machine instruction, and is available only in kernel mode. For more information, search for the document, "Intel Architecture Software Developer's Manual, Volume 2: Instruction Set Reference," at the Intel Corporation site.

Compiler Intrinsics
__sidt

Show: