DSA_DestroyCallback function (dpa_dsa.h)

[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 DSA_DestroyCallback(
  [in] HDSA              hdsa,
  [in] PFNDAENUMCALLBACK pfnCB,
  [in] void              *pData
);

Parameters

[in] hdsa

Type: HDSA

A handle to a DSA to walk and destroy.

[in] pfnCB

Type: PFNDSAENUMCALLBACK

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

[in] pData

Type: void*

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

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header dpa_dsa.h
Library Comctl32.lib
DLL ComCtl32.dll
API set ext-ms-win-shell-comctl32-da-l1-1-0 (introduced in Windows 10, version 10.0.14393)