IMAPIFormInfo::CalcFormPropSet

Last modified: July 23, 2011

Applies to: Outlook

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

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

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.

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.

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.

Show: