Platform SDK: MAPI |
The [Verbs] section lists the complete set of verbs supported by the form. The format of the [Verbs] section is:
[Verbs]
Verb1 = string
Following is an example of a [Verbs] section.
[Verbs] Verb1=1 Verb2=2
Each verb is defined in a separate [Verb.string] section. A [Verb.string] section describes a single verb offered by the form. The DisplayName entry in a [Verb.string] section specifies the command name displayed in the user interface. The Code entry corresponds to the verb number passed in the IMAPIForm::DoVerb method. The syntax for the [Verb.string] section is:
[Verb.string]
DisplayName = displayed string
Code = integer
Flags = integer
Attribs = integer
Following is an example of a [Verb.string] section.
[Verb.1] DisplayName=Reply code=1 Flags=0 Attribs=2 [Verb.2] DisplayName=Delete Code=2 Flags=0 Attribs=2
Verbs listed in this section are retrieved by a client using the IMAPIFormInfo::CalcVerbSet method. Verbs are activated by calling the form's IMAPIForm::DoVerb method and passing it the code number of the verb to be performed.