The IMAPIFormMgr::OpenFormContainer method opens an IMAPIFormContainer interface for a specific form container.
HRESULT OpenFormContainer(
HFRMREG hfrmreg,
LPUNKNOWN lpunk,
LPMAPIFORMCONTAINER FAR * lppfcnt
);
Form viewers call the IMAPIFormMgr::OpenFormContainer method to open an IMAPIFormContainer interface for a specific form container. This interface can then be used for installing forms into and removing forms from a form container.
If the value in hfrmreg is HFRMREG_FOLDER, the interface identifier used in lpunk must be non-null and must allow QueryInterface calls to an IMAPIFolder interface.
To open the local form container, a call to OpenFormContainer or the MAPIOpenLocalFormContainer function must be used; the IMAPIFormMgr::SelectFormContainer method cannot be used to enable the user to select the local form container.
IMAPIFormContainer::InstallForm, IMAPIFormMgr::SelectFormContainer, MAPIOpenLocalFormContainer