IMAPIFormInfo::CalcFormPropSet

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Returns a pointer to the complete set of properties that a form uses.

HRESULT CalcFormPropSet(
  ULONG ulFlags,
  LPMAPIFORMPROPARRAY FAR * ppFormPropArray
);

Parameters

  • ulFlags
    [in] A bitmask of flags that controls the type of strings returned. The following flag can be set:

    • MAPI_UNICODE
      The returned strings are in Unicode format. If the MAPI_UNICODE flag is not set, the strings are in ANSI format.
  • ppFormPropArray
    [out] A pointer to a pointer to the returned SMAPIFormPropArray structure.

Return Value

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

  • MAPI_E_BAD_CHARWIDTH
    Either the MAPI_UNICODE flag was set and the implementation does not support Unicode, or MAPI_UNICODE was not set and the implementation supports only Unicode.

MFCMAPI Reference

For MFCMAPI sample code, see the following table.

File

Function

Comment

MFCOutput.cpp

_OutputFormInfo

MFCMAPI uses the IMAPIFormInfo::CalcFormPropSet method when writing debug output for form information objects.

See Also

Reference

SMAPIFormPropArray

IMAPIFormInfo : IMAPIProp

Concepts

MFCMAPI as a Code Sample