DPA_Grow function (dpa_dsa.h)
Changes the number of pointers in a dynamic pointer array (DPA).
Syntax
BOOL DPA_Grow(
[in] HDPA pdpa,
[in] int cp
);
Parameters
[in] pdpa
Type: HDPA
A handle to an existing DPA.
[in] cp
Type: int
The number of pointers desired in the DPA.
Return value
Type: BOOL
Returns TRUE if successful, or FALSE otherwise.
Remarks
If cp is less than the number of pointers already in the DPA, the DPA is left unchanged. If cp is greater than the number of pointers in the DPA, the added pointers are initialized to NULL.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | dpa_dsa.h |
DLL | Comctl32.dll |
API set | ext-ms-win-shell-comctl32-da-l1-1-0 (introduced in Windows 10, version 10.0.14393) |