MAPIOpenFormMgr
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.
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
);
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. |