DSA_Sort function

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

Syntax


BOOL DSA_Sort(
  _In_  HDSA pdsa,
  _In_  PFNDACOMPARE pfnCompare,
  _In_  LPARAM lParam
);

Parameters

pdsa [in]

Type: HDSA

A handle to an existing DSA.

pfnCompare [in]

Type: PFNDACOMPARE

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

lParam [in]

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]

Header

Commctrl.h

DLL

Comctl32.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft