DSA_DestroyCallback function

[DSA_DestroyCallback is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Iterates through a dynamic structure array (DSA), calling a specified callback function on each item. Upon reaching the end of the array, the DSA is freed.

Syntax


void WINAPI DSA_DestroyCallback(
  _In_ HDSA               pdsa,
  _In_ PFNDSAENUMCALLBACK pfnCB,
  _In_ void               *pData
);

Parameters

pdsa [in]

Type: HDSA

A handle to a DSA to walk and destroy.

pfnCB [in]

Type: PFNDSAENUMCALLBACK

A callback function pointer. For the callback function prototype, see PFNDSAENUMCALLBACK.

pData [in]

Type: void*

A callback data pointer. This pointer is, in turn, passed as a parameter to pfnCB.

Return value

This function does not return a value.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Dpa_dsa.h

Library

Comctl32.lib

DLL

ComCtl32.dll

 

 

Show: