DSA_Sort

Sorts the items in a dynamic structure array (DSA).

Syntax

BOOL DSA_Sort(
  HDSA              hdsa,
  PFNDACOMPARECONST pfnCompare,
  LPARAM            lParam
);

Parameters

hdsa

Type: HDSA

A handle to an existing DSA.

pfnCompare

Type: PFNDACOMPARECONST

A comparison function pointer.

lParam

Type: LPARAM

An additional parameter to be passed to pfnCmp.

Return value

Type: BOOL

Returns TRUE on success or FALSE on failure.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header dpa_dsa.h