Validating Data Structures

Standard MAPI data structures are often passed between methods. MAPI provides several API functions to check the validity of these structures. The following table describes the common functions used by clients and service providers to validate MAPI data structures.

Validation function Purpose
FBadColumnSet Validates an array of property tags.
FBadEntryList Validates a list of entry identifiers.
FBadProp Validates a single property value.
FBadPropTag Validates a single property tag.
FBadRestriction Validates a restriction.
FBadRglpNameID Validates an array of name identifiers.
FBadRglpszW Validates an array of Unicode strings.
FBadRow Validates a single row in a table.
FBadRowSet Validates a set of rows in a table.
FBadSortOrderSet Validates a sort order for a table.