ScDupPropset

Applies to: Outlook 2013 | Outlook 2016

Duplicates a property value array in a single block of MAPI memory combining the operations of the ScCopyProps and ScCountProps functions.

Property Value
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 value

S_OK

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