Redigera

Dela via


IMAPIFormInfo::CalcFormPropSet

Applies to: Outlook 2013 | Outlook 2016

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

SMAPIFormPropArray

IMAPIFormInfo : IMAPIProp

MFCMAPI as a Code Sample