HrRestrictionToString

The HrRestrictionToString function produces a string from a MAPI SRestriction structure.

Quick Info

Header file: RULECLS.H
Library: RULECLS.LIB

HRESULT HrRestrictionToString(
  LPSRestriction lpRestriction,  
  LPSTR FAR * lppszString        
);
 

Parameters

lpRestriction
Input parameter. Points to an SRestriction structure containing the restriction to convert.
lppszString
Output parameter. Points to the address of the string containing the converted restriction.

Return Values

See Return Values.

Remarks

The HrRestrictionToString function has a limited capability to convert an SRestriction structure to a string. See the conditional expression grammar used for the HrStringToRestriction function For more information on this function, see the HrRestrictionToString function in RULECLS.CPP under the RULECLS code sample in Code Samples folder.

For information on the SRestriction structure, see the MAPI Programmer's Reference.

See Also

HrStringToRestriction