DPA_DeletePtr function (dpa_dsa.h)

[DPA_DeletePtr is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Removes an item from a dynamic pointer array (DPA). The DPA shrinks if necessary to accommodate the removed item.

Syntax

PVOID DPA_DeletePtr(
  HDPA hdpa,
  int  i
);

Parameters

hdpa

Type: HDPA

A handle to a DPA.

i

Type: int

An index of item to be removed from DPA.

Return value

Returns the removed item or NULL, if the call fails.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header dpa_dsa.h
Library Comctl32.lib
DLL ComCtl32.dll
API set ext-ms-win-shell-comctl32-da-l1-1-0 (introduced in Windows 10, version 10.0.14393)