DPA_CreateEx function (dpa_dsa.h)

Creates a dynamic pointer array (DPA) using a given specified size and heap location.

Syntax

HDPA DPA_CreateEx(
  [in]           int    cpGrow,
  [in, optional] HANDLE hheap
);

Parameters

[in] cpGrow

Type: int

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

[in, optional] hheap

Type: HANDLE

A handle to the heap where the array is stored.

Return value

Type: HDPA

Returns a handle to a DPA if successful, or NULL if the call fails.

Remarks

DPA_CreateEx is not exported by name. To use it, you must use GetProcAddress and request ordinal 340 from ComCtl32.dll to obtain a function pointer.

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
DLL ComCtl32.dll (version 4.0 or later)
API set ext-ms-win-shell-comctl32-da-l1-1-0 (introduced in Windows 10, version 10.0.14393)

See also

DPA_Create