PFNDPAMERGE callback function (dpa_dsa.h)
Defines the prototype for the merge function used by DPA_Merge.
Syntax
PFNDPAMERGE Pfndpamerge;
void * Pfndpamerge(
[in] UINT uMsg,
[in] void *pvDest,
[in] void *pvSrc,
[in] LPARAM lParam
)
{...}
Parameters
[in] uMsg
Type: UINT
A message that instructs this function how to handle the merge. One of the following values.
[in] pvDest
Type: void*
A pointer to the first item in the merge.
[in] pvSrc
Type: void*
A pointer to the second item in the merge.
[in] lParam
Type: LPARAM
Additional data that can be used by the merge callback.
Return value
A pointer to the item which results from the merge or NULL if there is a failure when DPAMM_MERGE or DPAMM_INSERT is used.
Remarks
The callback function might not modify the dynamic pointer arrays (DPAs) involved in the merge operation.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | dpa_dsa.h |