PropCopyMore.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

PropCopyMore (MAPI32.76)

SYNOPSIS

SCODE PropCopyMore
 (
  LPSPropValue  lpDest,
  LPSPropValue  lpSrc,
  ALLOCATEMORE* lpMore,
  LPVOID        lpOrig
 )

DESCRIPTION

Copy a property value.

PARAMS

lpDest [Out] Destination for the copied value.

lpSrc [In] Property value to copy to lpDest.

lpMore [In] Linked memory allocation function (pass MAPIAllocateMore(3w)).

lpOrig [In] Original allocation to which memory will be linked.

RETURNS

Success: S_OK. lpDest contains a deep copy of lpSrc.

Failure: MAPI_E_INVALID_PARAMETER, if any parameter is invalid, MAPI_E_NOT_ENOUGH_MEMORY, if memory allocation fails.

NOTES

Any elements within the property returned should not be individually freed, as they will be freed when lpOrig is.

IMPLEMENTATION

Defined in "mapiutil.h".

Implemented in "dlls/mapi32/prop.c".

Debug channel "mapi".