DISMISSMODELESS

Applies to: Outlook 2013 | Outlook 2016

Defines a callback function that MAPI calls when it has dismissed a modeless address book dialog box.

Property Value
Header file:
Mapidefs.h
Defined function implemented by:
Client applications
Defined function called by:
MAPI
void (STDMETHODCALLTYPE DISMISSMODELESS)(
  ULONG_PTR ulUIParam,
  LPVOID lpvContext
);

Parameters

ulUIParam

[in] An implementation-specific value typically used for passing user interface information to a function. For example, in Microsoft Windows this parameter is the parent window handle for the dialog box and is of type HWND, cast to a ULONG_PTR. A value of zero indicates there is no parent window.

lpvContext

[in] Pointer to an arbitrary value passed to the callback function when MAPI calls it. This value can represent an address of significance to the client application. Typically, for C++ code, lpvContext is a pointer to the address of a C++ object instance.

Return value

None

Remarks

When the client application invokes a modeless address book dialog box, it includes in its Windows message loop a call to a function based on the ACCELERATEABSDI prototype, which checks for and processes accelerator keys. When the dialog box is closed, MAPI calls the DISMISSMODELESS based function so that the client application will stop calling the ACCELERATEABSDI based function.

See also

ADRPARM