How To Create a Restriction (177622)
The information in this article applies to:
- Microsoft Exchange Development Kit (EDK) 5.0
This article was previously published under Q177622 SUMMARY
Restrictions are used by Exchange to limit the rows returned in a table.
Restrictions are used throughout the product for determining the conditions
for rules, searching for messages, and for creating views of messages. This
article describes how to create a restriction and provides a code example.
The code provided is not complete. It assumes that you already have a
handle to a MAPI session, a pointer to the message store, a pointer to the
folder the rule is to be applied to, and that you will release the
appropriate structures before exiting the function.
REFERENCES
For more information, please see the following topics in the Microsoft
Developer Network Library (MSDN). These topics can be found in the Win32
Messaging (MAPI) section of the Platform SDK:
- Starting a MAPI Session
- Opening a Message Store
- Opening the Default Message Store
- Opening a Folder
Modification Type: | Minor | Last Reviewed: | 3/21/2005 |
---|
Keywords: | kbAPI kbcode kbhowto kbMsg KB177622 |
---|
|