MAPIOpenFormMgr
Applies to: Outlook 2013 | Outlook 2016
Opens an IMAPIFormMgr interface on a form library provider object in the context of an existing session.
Property | Value |
---|---|
Header file: |
Mapiform.h |
Implemented by: |
MAPI |
Called by: |
Client applications |
MAPIOpenFormMgr(
LPMAPISESSION pSession,
LPMAPIFORMMGR FAR * ppmgr
);
Parameters
pSession
[in] Pointer to the session in use by the client application.
ppmgr
[out] Pointer to the returned IMAPIFormMgr interface.
Return value
None.
Remarks
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.
MFCMAPI reference
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. |