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

# DPA\_GetPtrIndex(3w)

## NAME

**DPA\_GetPtrIndex** (COMCTL32.333)

## SYNOPSIS

INT DPA\_GetPtrIndex\
  (\
   HDPA    *hdpa*,\
   LPCVOID *p*\
  )

## DESCRIPTION

Retrieves the index of the specified pointer.

## PARAMS

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

*p* **\[In\]**  pointer.

## RETURNS

**Success:** index of the specified pointer

**Failure:** **-1**

## IMPLEMENTATION

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

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

Debug channel **"dpa"**.
