DSA_Sort function (dpa_dsa.h)

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

Syntax

BOOL DSA_Sort(
  [in] HDSA         pdsa,
  [in] PFNDACOMPARE pfnCompare,
  [in] LPARAM       lParam
);

Parameters

[in] pdsa

Type: HDSA

A handle to an existing DSA.

[in] pfnCompare

Type: PFNDACOMPARE

A comparison function pointer. See PFNDPACOMPARE for the comparison function prototype.

[in] lParam

Type: LPARAM

An additional parameter to be passed to pfnCmp.

Return value

Type: BOOL

Returns TRUE on success or FALSE on failure.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header dpa_dsa.h
DLL Comctl32.dll