Expand Minimize

ScDupPropset

Last modified: July 23, 2011

Applies to: Outlook

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

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
);

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.

S_OK

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

Show:
© 2014 Microsoft