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

Microsoft Specific**

Generates the x86 invlpg instruction, which invalidates the translation lookaside buffer (TLB) for the page associated with memory pointed to by Address.


void __invlpg(  
   void* Address  


[in] Address
A 64-bit address.


Intrinsic Architecture
__invlpg x86, x64

Header file <intrin.h>


The intrinsic __invlpg emits a privileged instruction and is only available in kernel mode with a privilege level (CPL) of 0.

This routine is only available as an intrinsic.

END Microsoft Specific

See Also

Compiler Intrinsics