IMAPIFormContainer::RemoveForm
The IMAPIFormContainer::RemoveForm method removes a particular form from a form container.
Quick Info
See IMAPIFormContainer : IUnknown.
HRESULT RemoveForm(
LPCSTR szMessageClass
);
Parameters
- szMessageClass
- [in] String naming the message class of the form to be removed from the form container. Message class names are always ANSI strings, never Unicode.
Return Values
- S_OK
- The call succeeded and has returned the expected value or values.
- MAPI_E_NOT_FOUND
- The message class passed in the szMessageClass parameter does not match the message class of any form in the form container.