|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Validates a specified property.
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.