HrCopyRestriction
The HrCopyRestriction function creates a copy of a MAPI SRestriction structure.
Quick Info
Header file: |
RULECLS.H |
Library: |
RULECLS.LIB |
HRESULT HrCopyRestriction(
LPSRestriction lpResSrc,
LPVOID lpObject,
LPSRestriction FAR * lppResDest
);
Parameters
-
lpResSrc
-
Input parameter. Points to the SRestriction structure to be copied.
-
lpObject
-
Input parameter. Points to an existing MAPI buffer allocated by the MAPI MAPIAllocateBuffer function, or NULL if the returned structure is to be allocated by HrCopySRestriction.
-
lppResDest
-
Output parameter. Points to a pointer to the copy of the restriction structure pointed to by lpResSrc.
Return Values
See Return Values.
Remarks
For information on the MAPIAllocateBuffer function and SRestriction structure, see the MAPI Programmer's Reference.
See Also
HrCopyActions