ScDupPropset

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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.