This topic has not yet been rated - Rate this topic

PFNDAENUMCALLBACK function pointer

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

Syntax


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

Parameters

p [in, optional]

Type: void*

A pointer to the structure to be enumerated.

pData [in, optional]

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.

Remarks

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Commctrl.h

 

 

Send comments about this topic to Microsoft

Build date: 10/27/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.