Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DPA_Sort function

[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 WINAPI DPA_Sort(
   HDPA          pdpa,
   PFNDPACOMPARE pfnCmp,
   LPARAM        lParam
);

Parameters

pdpa

Type: HDPA

A handle to a DPA.

pfnCmp

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

Library

Comctl32.lib

DLL

ComCtl32.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft