Partager via


IMAPIFormContainer::GetDisplay

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.

Returns the display name of a form container.

HRESULT GetDisplay(
  ULONG ulFlags,
  LPTSTR 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