---
name: "DPA_Sort"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/DPA_Sort"
---

# DPA\_Sort(3w)

## NAME

**DPA\_Sort** (COMCTL32.338)

## SYNOPSIS

BOOL DPA\_Sort\
  (\
   const HDPA    *hdpa*,\
   PFNDPACOMPARE *pfnCompare*,\
   LPARAM        *lParam*\
  )

## DESCRIPTION

Sorts a pointer array using a user defined compare function.

## PARAMS

*hdpa* **\[In\]**  handle (pointer) to the pointer array.

*pfnCompare* **\[In\]**  pointer to the compare function.

*lParam* **\[In\]**  user defined value (3rd parameter of compare function).

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

Declared in **"commctrl.h"**.

Implemented in **"dlls/comctl32/dpa.c"**.

Debug channel **"dpa"**.
