Platform Invocation Services
Appearance
Platform Invocation Services, commonly referred to as just PInvoke, is a feature of Common Language Infrastructure implementations, like Microsoft's Common Language Runtime, that enable managed code to call native code in dynamic-linked libraries (DLLs). The native code is referenced via metadata that refers to functions exported from a native DLL. The runtime uses the same data marshaling for PInvoke as is used for COM interoperability and C++/CLI (or the deprecated Managed C++).