The ScCopyProps function copies the properties defined by an array of SPropValue structures to a new destination.
Note This function may not be supported in future versions of MAPI.
Header file: | MAPIUTIL.H |
Implemented by: | MAPI |
Called by: | Client applications and service providers |
SCODE ScCopyProps(
int cprop,
LPSPropValue rgprop,
LPVOID pvDst,
ULONG FAR * pcb
);
The new array and its data reside in a buffer created with a single allocation, and the ScRelocProps function can be used to adjust the pointers in the individual SPropValue structures. Prior to this adjustment, the pointers are valid.
ScCopyProps maintains the original property order for the copied property array.
The pcb parameter is optional; if it is not NULL, it is set to the number of bytes stored in the pvDst parameter.
Properties Functions, ScDupPropset