DPA_Create function (dpa_dsa.h)

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

Creates a dynamic pointer array (DPA).

Syntax

HDPA DPA_Create(
  int cItemGrow
);

Parameters

cItemGrow

Type: int

The number of elements by which the array should be expanded, if the DPA needs to be enlarged.

Return value

Type: HDPA

Returns a handle to a DPA if successful, 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)

See also

DPA_CreateEx