Partager via


DISMISSMODELESS

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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

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 32-bit 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

Reference

ADRPARM