Export (0) Print
Expand All
Expand Minimize

MAPIOpenFormMgr

Published: July 16, 2012

Opens an IMAPIFormMgr interface on a form library provider object in the context of an existing session.

Header file:

Mapiform.h

Implemented by:

MAPI

Called by:

Client applications

MAPIOpenFormMgr(
  LPMAPISESSION pSession,
  LPMAPIFORMMGR FAR * ppmgr
);

pSession

[in] Pointer to the session in use by the client application.

ppmgr

[out] Pointer to the returned IMAPIFormMgr interface.

After a client application makes a call to the MAPIOpenFormMgr function, most subsequent forms-related interactions take place through the form library provider or an interface returned by the form library provider. The IMAPIFormMgr interface allows the client to work with message handlers and perform resolutions between message classes and form libraries.

For MFCMAPI sample code, see the following table.

File

Function

Comment

MainDlg.cpp opens the form manager so a form can be selected.

CMainDlg::OnSelectForm

MFCMAPI uses the MAPIOpenFormMgr method to open the form manager so a form can be selected.

Community Additions

ADD
Show:
© 2014 Microsoft