FBadRestriction

The FBadRestriction function validates a restriction used to limit a table view.

Note This function may not be supported in future versions of MAPI.

Quick Info

Header file: MAPIVAL.H
Implemented by: MAPI
Called by: Service providers

ULONG FBadRestriction(
  LPSRestriction lpres  
);
 

Parameters

lpres
[in] An SRestriction structure defining the restriction to be validated.

Return Values

TRUE
The specified restriction, or one or more of its subrestrictions, is invalid.
FALSE
The specified restriction and all its subrestrictions are valid.

Remarks

Once a restriction is validated, it can be passed in calls to the IMAPITable::Restrict method to restrict the table to certain rows, to the IMAPITable::FindRow method to locate a table row, and to methods of the IMAPIContainer interface to perform a restriction on a container object.

See Also

Structure Validation Functions