IMAPIFormInfo::CalcVerbSet

The IMAPIFormInfo::CalcVerbSet method returns a pointer to the complete set of verbs used by a form.

Quick Info

See IMAPIFormInfo : IMAPIProp.

HRESULT CalcVerbSet(
  ULONG ulFlags,                         
  LPMAPIVERBARRAY FAR * ppMAPIVerbArray  
);
 

Parameters

ulFlags
[in] Bitmask of flags that controls the type of the returned strings. The following flag can be set:
MAPI_UNICODE
The returned strings are in Unicode format. If the MAPI_UNICODE flag is not set, the strings are in ANSI format.
ppMAPIVerbArray
[out] Pointer to a pointer to the returned SMAPIVerbArray structure containing the form's verbs.

Return Values

S_OK
The call succeeded and has returned the expected value or values.

Remarks

Client applications call the IMAPIFormInfo::CalcVerbSet method to obtain a pointer to the set of verbs used by a form. Within the SMAPIVerbArray structure returned in the ppMAPIVerbArray parameter, the verbs are returned in order of index number; each verb's index is found in its lVerb member. Client applications can use the verb array to dynamically build menus, hide or show buttons, and so on.

See Also

SMAPIVerbArray