Platform SDK: Exchange Server |
When reading a restriction from the view description streams, there are cases where you must read the property values. For more information, see Reading a View’s Row Restriction.
The procedure for reading the property values for a view restriction assumes that the following parameters were passed to this function:
To read the property values for a view restriction
If pval->ulPropTag == PT_BINARY, append the binary bytes onto the end of presRoot by using MAPIAllocateMore to allocate the number of bytes specified in pval->Value.bin.cb and then reading the bytes from the binary stream into the newly allocated space.
If pval->ulPropTag == PT_TSTRING, read the string from the string stream. Allocate sufficient memory to the end of presRoot by using MAPIAllocateMore, and then copy the string into the newly allocated space.
For all other properties, there is no additional information to read.