A command table consists of command lists. Each command list in the table defines the parsing of a particular command. For example, the following example shows the command lists for MCI_OPEN and MCI_INFO, which are part of the system default table contained in the MDMCMD.RC file.
"open", MCI_OPEN, 0, MCI_COMMAND_HEAD, "", MCI_INTEGER, MCI_RETURN, "notify", MCI_NOTIFY, MCI_FLAG, "wait", MCI_WAIT, MCI_FLAG, "readonly", MCI_READONLY, MCI_FLAG, "shareable", MCI_OPEN_SHAREABLE, MCI_FLAG, "type", 0L, MCI_STRING, "", MCI_OPEN_ELEMENT, MCI_STRING, "alias", MCI_OPEN_ALIAS, MCI_STRING, "", 0L, MCI_END_COMMAND, "info", MCI_INFO, 0, MCI_COMMAND_HEAD, "", MCI_STRING, MCI_RETURN, "notify", MCI_NOTIFY, MCI_FLAG, "wait", MCI_WAIT, MCI_FLAG, "product", MCI_INFO_PRODUCT, MCI_FLAG, "file", MCI_INFO_FILE, MCI_FLAG, "", 0L, MCI_END_COMMAND,
Command lists have a sequence of lines that are organized into three columns: