Home | History | Annotate | Download | only in man1
 Automatically generated by Pod::Man v1.37, Pod::Parser v1.32

Standard preamble:
========================================================================

\\$1

.. ..

..
.. Set up some character translations and predefined strings. \*(-- will
give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
double quote, and \*(R" will give a right double quote. | will give a
real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to
do unbreakable dashes and therefore won't be available. \*(C` and \*(C'
expand to `' in nroff, nothing in troff, for use with C<>.
.tr \(*W-|\(bv\*(Tr . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' 'br\}
If the F register is turned on, we'll generate index entries on stderr for
titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
entries marked with X<> in POD. Of course, you'll have to process the
output yourself in some meaningful fashion.
. de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\}
For nroff, turn off justification. Always turn off hyphenation; it makes
way too many mistakes in technical documents.

Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
Fear. Run. Save yourself. No user-serviceable parts.
. \" fudge factors for nroff and troff . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] .\} . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents . \" corrections for vroff . \" for low resolution devices (crt and lpr) \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} ========================================================================

Title "WINDMC 1"
WINDMC 1 "2008-09-10" "binutils-2.18.90" "GNU Development Tools"
"NAME"
windmc - generates Windows message resources.
"SYNOPSIS"
Header "SYNOPSIS"
"DESCRIPTION"
Header "DESCRIPTION" \fBwindmc reads message definitions from an input file (.mc) and translate them into a set of output files. The output files may be of four kinds: Item "h" A C header file containing the message definitions. Item "rc" A resource file compilable by the windres tool. Item "bin" One or more binary files containing the resource data for a specific message language. Item "dbg" A C include file that maps message id's to their symbolic name.

The exact description of these different formats is available in documentation from Microsoft.

When windmc converts from the \*(C`mc\*(C' format to the \*(C`bin\*(C' format, \*(C`rc\*(C', \*(C`h\*(C', and optional \*(C`dbg\*(C' it is acting like the Windows Message Compiler.

"OPTIONS"
Header "OPTIONS"
"-a" 4
Item "-a"

0

"--ascii_in" 4
Item "--ascii_in"

Specifies that the input file specified is \s-1ANSI\s0. This is the default behaviour.

"-A" 4
Item "-A"

0

"--ascii_out" 4
Item "--ascii_out"

Specifies that messages in the output \*(C`bin\*(C' files should be in \s-1ANSI\s0 format.

"-b" 4
Item "-b"

0

"--binprefix" 4
Item "--binprefix"

Specifies that \*(C`bin\*(C' filenames should have to be prefixed by the basename of the source file.

"-c" 4
Item "-c"

0

"--customflag" 4
Item "--customflag"

Sets the customer bit in all message id's.

"-C codepage" 4
Item "-C codepage"

0

"--codepage_in codepage" 4
Item "--codepage_in codepage"

Sets the default codepage to be used to convert input file to \s-1UTF16\s0. The default is ocdepage 1252.

"-d" 4
Item "-d"

0

"--decimal_values" 4
Item "--decimal_values"

Outputs the constants in the header file in decimal. Default is using hexadecimal output.

"-e ext" 4
Item "-e ext"

0

"--extension ext" 4
Item "--extension ext"

The extension for the header file. The default is .h extension.

"-F target" 4
Item "-F target"

0

"--target target" 4
Item "--target target"

Specify the \s-1BFD\s0 format to use for a bin file as output. This is a \s-1BFD\s0 target name; you can use the --help option to see a list of supported targets. Normally windmc will use the default format, which is the first one listed by the --help option.

"-h path" 4
Item "-h path"

0

"--headerdir path" 4
Item "--headerdir path"

The target directory of the generated header file. The default is the current directory.

"-H" 4
Item "-H"

0

"--help" 4
Item "--help"

Displays a list of command line options and then exits.

"-m characters" 4
Item "-m characters"

0

"--maxlength characters" 4
Item "--maxlength characters"

Instructs windmc to generate a warning if the length of any message exceeds the number specified.

"-n" 4
Item "-n"

0

"--nullterminate" 4
Item "--nullterminate"

Terminate message text in \*(C`bin\*(C' files by zero. By default they are terminated by \s-1CR/LF\s0.

"-o" 4
Item "-o"

0

"--hresult_use" 4
Item "--hresult_use"

Not yet implemented. Instructs \*(C`windmc\*(C' to generate an \s-1OLE2\s0 header file, using \s-1HRESULT\s0 definitions. Status codes are used if the flag is not specified.

"-O codepage" 4
Item "-O codepage"

0

"--codepage_out codepage" 4
Item "--codepage_out codepage"

Sets the default codepage to be used to output text files. The default is ocdepage 1252.

"-r path" 4
Item "-r path"

0

"--rcdir path" 4
Item "--rcdir path"

The target directory for the generated \*(C`rc\*(C' script and the generated \f(CW\*(C`bin\*(C' files that the resource compiler script includes. The default is the current directory.

"-u" 4
Item "-u"

0

"--unicode_in" 4
Item "--unicode_in"

Specifies that the input file is \s-1UTF16\s0.

"-U" 4
Item "-U"

0

"--unicode_out" 4
Item "--unicode_out"

Specifies that messages in the output \*(C`bin\*(C' file should be in \s-1UTF16\s0 format. This is the default behaviour.

"-v" 4
Item "-v"

0

"--verbose" 4
Item "--verbose"

Enable verbose mode.

"-V" 4
Item "-V"

0

"--version" 4
Item "--version"

Prints the version number for windmc.

"-x path" 4
Item "-x path"

0

"--xdgb path" 4
Item "--xdgb path"

The path of the \*(C`dbg\*(C' C include file that maps message id's to the symbolic name. No such file is generated without specifying the switch.

"@file" 4
Item "@file" Read command-line options from file. The options read are inserted in place of the original @file option. If file does not exist, or cannot be read, then the option will be treated literally, and not removed. .Sp Options in file are separated by whitespace. A whitespace character may be included in an option by surrounding the entire option in either single or double quotes. Any character (including a backslash) may be included by prefixing the character to be included with a backslash. The file may itself contain additional @file options; any such options will be processed recursively.
"SEE ALSO"
Header "SEE ALSO" the Info entries for binutils.
"COPYRIGHT"
Header "COPYRIGHT" Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".