Change oldnames option from '-o' to '--oldnames'.
[reactos.git] / reactos / tools / widl / widl.man
1 .TH WIDL 1 "March 2004" "Wine Manpage" "Wine Developers Manual"
2 .SH NAME
3 widl \- Wine Interface Definition Language Compiler
4 .SH SYNOPSIS
5 .BR "widl "\fI[options]\fR " \fIinfile.idl\fR"
6 .SH DESCRIPTION
7 .B widl
8 is a Wine tool which purpose is to compile Interface Definition Language (IDL) files.
9 .PP
10 .SH OPTIONS
11 .B Help mode:
12 .nf
13 No options are used.
14 The program prints the help info and then exits.
15 .PP
16 .B General options:
17 .IP \fB--oldnames\fR
18 Use old naming conventions.
19 .IP \fB-V\fR
20 Print version number and exits from the program.
21 .PP
22 .B Header options:
23 .IP \fB-h\fR
24 Generate header files.
25 .IP "\fB-H \fIfile\fR"
26 Name of header file to generate. The default header
27 filename is infile.h.
28 .PP
29 .B Type library options:
30 .IP \fB-t\fR
31 Generate a type library.
32 .IP "\fB-T \fIfile\fR"
33 Define the name of the type library to be generated.
34 The default filename is infile.tlb.
35 .PP
36 .B Proxy/stub generation options:
37 .IP \fB-c\fR
38 Generate client stub.
39 .IP \fB-C \fIfile\fR
40 Name of client stub file (default is infile_c.c)
41 .IP \fB-c\fR
42 Generate proxy.
43 .IP \fB-P \fIfile\fR
44 Name of proxy file (default is infile_p.c)
45 .IP \fB-s\fR
46 Generate server stub.
47 .IP \fB-S \fIfile\fR
48 Name of server stub file (default is infile_s.c)
49 .PP
50 .B Preprocessor options:
51 .IP "\fB-I \fIpath\fR"
52 Add a header search dir to path. Multiple search
53 dirs are allowed.
54 .IP "\fB-D \fIid[=val]\fR"
55 Define preprocessor identifier id value.
56 .IP \fB-E\fR
57 Preprocess only.
58 .IP \fB-N\fR
59 Do not preprocess input.
60 .PP
61 .B Debug options:
62 .IP \fB-W\fR
63 Enable pedantic warnings.
64 .IP "\fB-d \fIn\fR"
65 .nf
66 Set debug level to n.
67 n may be '0x01', '0x02', '0x04', '0x08', '0x10' or '0x20'.
68 (See section \fBDebug\fR)
69 .PP
70 .SH Debug
71 Debug level 'n' is a bitmask with the following meaning:
72 * 0x01 Tell which resource is parsed (verbose mode)
73 * 0x02 Dump internal structures
74 * 0x04 Create a parser trace (yydebug=1)
75 * 0x08 Preprocessor messages
76 * 0x10 Preprocessor lex messages
77 * 0x20 Preprocessor yacc trace
78 .SH BUGS
79 Typelib generation doesn't work at the moment. It is still under development.
80 .SH AUTHORS
81 .B widl
82 was written by Ove Kaaven. This man page was written by Hannu
83 Valtonen.
84 .SH "SEE ALSO"
85 The Winelib User Guide
86 .nf
87 The Wine Developers Guide