FBadRestriction 

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

 

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 SRestriction1TRSEKP structure defining the restriction to be validated.

 

Return Values

TRUE

The specified restriction or any of its subrestrictions is invalid.

FALSE

The specified restriction and its subrestrictions are valid.

 

Remarks

A service provider calls the FBadRestriction function. Once validated, a restriction can be passed in calls to the IMAPITable::Restrict23_KZ0W method to restrict a table to certain rows, to the IMAPITable::FindRow2WU753 method to locate a table row, and to methods of the IMAPIContainer6IZN.5 interface to perform a restriction on a container object.