table of contents
mtgen(1) | General Commands Manual | mtgen(1) |
Name¶
mtgen — MAPI taglist generator
Synopsis¶
mtgen [-cdep] <mapilist.txt >out.cpp
Description¶
mtgen reads the provided MAPI tag list from standard input and reformats it for use with the C and C++ preprocessor and/or for use as a C or C++ program.
Options¶
{-c, -d, -e} override each other.
- -a
- By default, only the first name for a propid is emitted. -a will cause all names to be emitted.
- -c
- Emit C++ constexpr statements.
- -d
- Emit preprocessor #defines.
- -e
- Emit an enum block.
- -p
- By default, only a numeric literal is emitted. -p will cause definitions to be in the form of PROP_TAG(proptype, propid).