Compartir a través de


PFNDPAENUMCALLBACK function pointer

Defines the prototype for the callback function used by DPA_EnumCallback.

Syntax

typedef int ( CALLBACK *PFNDPAENUMCALLBACK)(
  _In_opt_ void *p,
  _In_opt_ void *pData
);

Parameters

  • p [in, optional]
    Type: void*

    A pointer to an item in a DPA.

  • pData [in, optional]
    Type: void*

    A value that was passed in the pData parameter to 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

As of Windows Vista, this function is merely an alias for PFNDAENUMCALLBACK.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h