Share via


IMAPIFormContainer::GetDisplay

Applies to: Office 2010 | Outlook 2010 | Visual Studio

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.

See Also

Reference

IMAPIFormContainer : IUnknown

Concepts

MFCMAPI as a Code Sample