DPA_Sort function (dpa_dsa.h)
[DPA_Sort is available for use in the operating
systems specified in the Requirements section. It may be altered or unavailable in
subsequent versions.]
Sorts the items in a Dynamic Pointer Array (DPA).
Syntax
BOOL DPA_Sort(
HDPA hdpa,
PFNDACOMPARE pfnCompare,
LPARAM lParam
);
Parameters
hdpa
Type: HDPA
A handle to a DPA.
pfnCompare
Type: PFNDPACOMPARE
A comparison function pointer. See PFNDPACOMPARE for the comparison function prototype.
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 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) |