IMAPIFormContainer::GetDisplay

IMAPIFormContainer::GetDisplay

Last modified: July 23, 2011

Applies to: Outlook

Returns the display name of a form container.

HRESULT GetDisplay(
  ULONG ulFlags,
  LPSTR FAR * pszDisplayName
);

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.

S_OK

The call succeeded and has returned the expected value or values.

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.

Show:
© 2016 Microsoft