RULECLS.LIB Functions

Functions Contained in the RULECLS.LIB Library:

Function Purpose
HrCopyActions Makes a copy of an ACTIONS structure and all its subelements.
HrCopyRestriction Makes a copy of an SRestriction structure and all its subelements.
HrFolderRulesGetProviders Retrieves an array of rules provider names for a given folder.
HrFolderRulesOpen Retrieves a pointer to an object which implements the IExchangeFolderRules interface defined in RULECLS.H.
HrActionToString Retrieves a string representation of an ACTION.
HrRestrictionToString Retrieves a string representation of an SRestriction.
HrStringToAction Generates an ACTION structure that describes the action provided in *lpszString.
HrStringToRestriction Generates an SRestriction structure that describes the restriction condition provided in *lpszString. The grammar for *lpszString is given in the header file RULECLS.H.
HrAdrListDisplayNamesToString Retrieves a string representation of the display names in an ADRLIST.
HrAndRestrictionToString Retrieves a string representation of an SAndRestriction.
HrContentRestrictionToString Retrieves a string representation of an SContentRestriction.
HrCopyRestrictionArray Copies an SRestriction array.
HrCreateReplyMsg Creates a reply message for the reply action.
HrGetExplicitTag Parses an explicit property tag token, returning results in *pti. A value for ulPropTag is returned in pti->dwValue.
HrGetExpressionToken Parses a token in a condition expression, returning results in *pti. The types of token that may be parsed are defined by the TOKENTYPE enumeration.
HrGetFolderPath Given the ENTRYID for a folder and a pointer to its store, retrieves its path name.
HrGetMoveCopyArgs Parses the parenthetical expression following a move or copy action argument. Results are stored in the ACTION struct passed in as an argument.
HrGetNamedTag Parses a named property tag token (PR_*), returning results in *pti. A value for ulPropTag is returned in pti->dwValue.
HrGetNumericLiteral Parses a numeric literal token, returning results in *pti. A value for the numeric literal is returned in pti->dwValue.
HrGetStoreName Given a pointer to an information store, retrieves its display name.
HrGetStringLiteral Parses a string literal token, returning results in *pti. The user should allocate separate storage to save the string literal if it is to be converted to a MAPI property value.
HrNotRestrictionToString Retrieves a string representation of an SNotRestriction
HrOrRestrictionToString Retrieves a string representation of an SOrRestriction.
HrParseAction Parses an action string.
HrParseCondition Parses a restriction condition expression or parenthetical subexpression.
HrPrintToString Writes the formatted string to the end of the supplied output string.
HrPrivateRestrictionToString Retrieves a string representation of an SRestriction.
HrPropertyRestrictionToString Retrieves a string representation of an SPropertyRestriction.
HrPropValueToString Retrieves a string representation of an SPropValue.
lpszSkipNonWhiteSpace Finds the first whitespace CHAR or '\0' in *pch.
lpszSkipWhiteSpace Finds the first nonwhitespace CHAR in *pch.