Export (0) Print
Expand All

PFNDPAMERGECONST function pointer

Defines the prototype for the merge function used by DPA_Merge, using constant values.

Syntax


typedef const void* ( CALLBACK *PFNDPAMERGECONST)(
  _In_  UINT uMsg,
  _In_  const void *pvDest,
  _In_  const void *pvSrc,
  _In_  LPARAM lParam
);

Parameters

uMsg [in]

Type: UINT

A message that instructs this function how to handle the merge. One of the following values.

ValueMeaning
DPAMM_MERGE
0x1

Perform any additional processing needed when merging p2 into p1. The function should return a pointer to an item that contains the result of the merge.

DPAMM_DELETE
0x2

Perform any additional processing needed when a delete occurs as part of the merge. The function should return NULL.

DPAMM_INSERT
0x3

Perform any user-defined processing when the merge results in an item being inserted as part of the merge. The return value of this function should point to the item result that is inserted as part of the merge.

 

pvDest [in]

Type: const void*

A pointer to the destination item in the merge.

pvSrc [in]

Type: const void*

A pointer to the source item in the merge.

lParam [in]

Type: LPARAM

Additional data that can be used by the merge callback.

Return value

Type: const void*

A pointer to constant data which results from the merge, or NULL if there is a failure when DPAMM_MERGE or DPAMM_INSERT is used.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

See also

PFNDPAMERGE

 

 

Community Additions

ADD
Show:
© 2014 Microsoft