IMAPIFormContainer::GetDisplay
Applies to: Outlook 2013 | Outlook 2016
Returns the display name of a form container.
HRESULT GetDisplay(
ULONG ulFlags,
LPSTR FAR * pszDisplayName
);
Parameters
ulFlags
[in] A bitmask of flags that controls the type of the returned string. The following flag can be set:
MAPI_UNICODE
The returned string is in Unicode format. If the MAPI_UNICODE flag is not set, the string is in ANSI format.
pszDisplayName
[out] A pointer to a string that contains the display name of the form container.
Return value
S_OK
The call succeeded and has returned the expected value or values.
MFCMAPI reference
For MFCMAPI sample code, see the following table.
File | Function | Comment |
---|---|---|
FormContainerDlg.cpp |
CFormContainerDlg::CFormContainerDlg |
MFCMAPI uses the IMAPIFormContainer::GetDisplay method to get the name of the form container when it renders CFormContainerDlg. |