SigImp: Unmanaged to Managed Signature Converter

Windows SigGen

SigImp: Unmanaged to Managed Signature Converter

The converter generates managed signatures and definitions in either C# or VB.NET from unmanaged:

  • Type
  • Procedure (Function)
  • Constant
  • Snippet of manually-entered unmanaged function signature

The converter can be invoked using the P/Invoke Interop Assistant application or as a command line tool. In the Assistant, switch to the SigImp Search tab, choose the kind (Type, Procedure, Constant, All), the target language (C# or VB.NET) and enter the name of the unmanaged entity. You can also enter unmanaged signature manually if SigImp Translate Snippet tab is selected. The C# or VB.NET code appears in the box located at the right side of the window.

The command line tool can be used to process entire C++ header files in the same fashion as the Assistant SigImp Translate Snippet tab. It has the following usage:

GUI Usage Command line usage
Unsupported scenarios and other special cases