The LPFNBUTTON function prototype defines a callback function that MAPI calls to activate an optional button control in an address book dialog box. This button is typically a Details button.
Header file: | MAPIDEFS.H |
Defined function implemented by: | Service providers |
Defined function called by: | MAPI |
SCODE (STDMETHODCALLTYPE FAR * LPFNBUTTON) (
ULONG ulUIParam,
LPVOID lpvContext,
ULONG cbEntryID,
LPENTRYID lpSelection,
ULONG ulFlags
);
Client applications call a callback function based on the LPFNBUTTON prototype to define a button in a details dialog box. The client passes a pointer to the callback function in calls to the IAddrBook::Details method.
Service providers call a hook function based on the LPFNBUTTON prototype to define a button in a details dialog box. The provider passes a pointer to this hook function in calls to the IMAPISupport::Details method.
In both cases, when the dialog box is displayed and the user chooses the defined button, MAPI calls LPFNBUTTON.