Partager via


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

Syntax

void __lidt(  
     void *Source);  

Parameters

Parameter Description
[in] Source Pointer to the value to be copied to the IDTR.

Requirements

Intrinsic Architecture
__lidt x86, x64

Header file <intrin.h>

Remarks

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.

END Microsoft Specific

See Also

Compiler Intrinsics
__sidt