PFNDAENUMCALLBACK callback function (dpa_dsa.h)

Defines the prototype for the callback function used by dynamic structure array (DSA) and dynamic pointer array (DPA) functions.


PFNDAENUMCALLBACK Pfndaenumcallback;

int Pfndaenumcallback(
  [in, optional] void *p,
  [in, optional] void *pData


[in, optional] p

Type: void*

A pointer to the structure to be enumerated.

[in, optional] pData

Type: void*

The value that was passed in the pData parameter to function DSA_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.


Alternate names for this callback are PFNDPAENUMCALLBACK and PFNDSAENUMCALLBACK.


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