Command Line Usage
The command line tool has the following usage:
sigexp [<options>] /file <path_to_assembly> [<def_1>,<def_2>, ...]
/32 - generate signatures for 32-bit target platform (Default)
/64 - generate signatures for 64-bit target platform
/unicode - generate signatures for Unicode target platform (Default)
/ansi - generate signatures for ANSI target platform - Win9x
/wintypes - use standard Windows types like 'LPCSTR' (Default)
/plaintypes - use plain C++ types like 'const char *'
/color - use colorful console output (Default)
/bw - use boring B&W; output
/direction - annotate ptr parameters with marshal direction like '/*in*/'
/nologo - prevents displaying of logo
/nomsg - prevents displaying of error, warning, and info messages
/notypes - prevents displaying of complex types definitions
(will only display the signature itself)
/? - This help screen.
<def_n> are designations of types or methods in the assembly. If none is given,
signatures of all interop (P/Invoke and RCW) methods will be displayed.
Example:
sigexp /direction /file mscorlib Microsoft.Win32.Win32Native::CreateFile