PFNDAENUMCALLBACKCONST callback function (dpa_dsa.h)

Defines the prototype for the callback function used by dynamic structure array (DSA) and dynamic pointer array (DPA) functions when the items involved are pointers to constant data.

Syntax

PFNDAENUMCALLBACKCONST Pfndaenumcallbackconst;

int Pfndaenumcallbackconst(
  [in, optional] const void *p,
  [in, optional] void *pData
)
{...}

Parameters

[in, optional] p

Type: const void*

A pointer to the constant structure to be enumerated.

[in, optional] pData

Type: void*

A value that was passed in the pData parameter to function DSA_EnumCallback or function DPA_EnumCallback.

Return value

Type: int

The return value is used to determine whether to terminate or continue the iteration. A return value of zero indicates that the iteration should stop; nonzero indicates that the iteration should continue.

Remarks

Alternate names for this callback are PFNDPAENUMCALLBACKCONST and PFNDSAENUMCALLBACKCONST.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header dpa_dsa.h