DPA_CreateEx function

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

Syntax


HDPA WINAPI DPA_CreateEx(
  _In_     int    cpGrow,
  _In_opt_ HANDLE hheap
);

Parameters

cpGrow [in]

Type: int

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

hheap [in, optional]

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Dpa_dsa.h

DLL

ComCtl32.dll (version 4.0 or later)

See also

DPA_Create

 

 

Show: