Partager via


ScDupPropset

Applies to: Office 2010 | Outlook 2010 | Visual Studio

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

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.