Scroll to navigation

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.

By default, only the first name for a propid is emitted. -a will cause all names to be emitted.
Emit C++ constexpr statements.
Emit preprocessor #defines.
Emit an enum block.
By default, only a numeric literal is emitted. -p will cause definitions to be in the form of PROP_TAG(proptype, propid).