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 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

Library

Comctl32.lib

DLL

ComCtl32.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft