Partager via


FBadProp

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Validates a specified property.

Header file:

Mapival.h

Implemented by:

MAPI

Called by:

Service providers

ULONG FBadProp(
  LPSPropValue lpprop
);

Parameters

  • lpprop
    [in] An SPropValue structure defining the property to be validated.

Return Value

  • TRUE
    The specified property is invalid.

  • FALSE
    The specified property is valid.

Remarks

A service provider can call the FBadProp function for several reasons, for example to prepare for a call to the IMAPIProp::SetProps method setting a property. FBadProp validates the specified property depending on the property type. For example, if the property is Boolean, FBadProp make sures that its value is either TRUE or FALSE. If the property is binary, FBadProp checks its pointer and size and makes sure that it is allocated correctly.

See Also

Reference

FBadPropTag