SSubRestriction
The SSubRestriction
structure describes a subobject restriction, which is used to impose a
restriction against a message s attachments
or recipients.
Quick Info
|
Header
file: |
MAPIDEFS.H |
typedef struct _SSubRestriction
{
ULONG ulSubObject;
LPSRestriction lpRes;
} SSubRestriction;
Members
ulSubObject
Subobject
identified in the RES_SUBRESTRICTION restriction type supplied for the rt member
of the SRestriction
structure. Possible values are PR_MESSAGE_RECIPIENTS or PR_MESSAGE_ATTACHMENTS.
lpRes
Pointer to an
SRestriction
structure.
Remarks
The most
common objects to support subrestrictions are folder contents tables and
search-results folders. These objects may support restricting a search using PR_MESSAGE_ATTACHMENTS or PR_MESSAGE_RECIPIENTS as a restriction to find a
message that has an attachment or a recipient that meets the other given
restrictions. If an implementation does not support subrestrictions, it returns
for a subrestricted search the error value MAPI_E_TOO_COMPLEX.
See Also