ScDupPropset

The ScDupPropset function duplicates a property value array in a single block of MAPI memory combining the operations of the ScCopyProps and ScCountProps functions.

Quick Info

Header file: MAPIUTIL.H
Implemented by: MAPI
Called by: Client applications and service providers

SCODE ScDupPropset(
  int cprop,                           
  LPSPropValue rgprop,                 
  LPALLOCATEBUFFER lpAllocateBuffer,   
  LPSPropValue FAR * prgprop           
);
 

Parameters

cprop
[in] Count of property values in the array indicated by the rgprop parameter.
rgprop
[in] Pointer to an array of SPropValue structures defining the property values to be duplicated.
lpAllocateBuffer
[in] Pointer to the MAPIAllocateBuffer function, to be used to allocate memory for the duplicated array.
prgprop
[out] Pointer to the initial position in memory where the returned duplicated array of SPropValue structures is stored.

Return Values

S_OK
The call succeeded and has returned the expected value or values.

See Also

Properties Functions