widl -VERSION (return code: 0)
Wine IDL Compiler version 2.0.2
Copyright 2002 Ove Kaaven
widl --help (return code: 0)
Usage: widl [options...] infile.idl
or: widl [options...] --dlldata-only name1 [name2...]
-app_config Ignored, present for midl compatibility
-b arch Set the target architecture
-c Generate client stub
-d n Set debug level to 'n'
-D id[=val] Define preprocessor identifier id=val
-E Preprocess only
--help Display this help and exit
-h Generate headers
-H file Name of header file (default is infile.h)
-I path Set include search dir to path (multiple -I allowed)
--local-stubs=file Write empty stubs for call_as/local methods to file
-m32, -m64 Set the kind of typelib to build (Win32 or Win64)
-N Do not preprocess input
--oldnames Use old naming conventions
-o, --output=NAME Set the output file name
-Otype Type of stubs to generate (-Os, -Oi, -Oif)
-p Generate proxy
--prefix-all=p Prefix names of client stubs / server functions with 'p'
--prefix-client=p Prefix names of client stubs with 'p'
--prefix-server=p Prefix names of server functions with 'p'
-r Generate registration script
--winrt Enable Windows Runtime mode
--ns_prefix Prefix namespaces with ABI namespace
-s Generate server stub
-t Generate typelib
-u Generate interface identifiers file
-V Print version and exit
-W Enable pedantic warnings
--win32 Only generate 32-bit code
--win64 Only generate 64-bit code
--win32-align n Set win32 structure alignment to 'n'
--win64-align n Set win64 structure alignment to 'n'
Debug level 'n' is a bitmask with following meaning:
* 0x01 Tell which resource is parsed (verbose mode)
* 0x02 Dump internal structures
* 0x04 Create a parser trace (yydebug=1)
* 0x08 Preprocessor messages
* 0x10 Preprocessor lex messages
* 0x20 Preprocessor yacc trace