Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[DPA_SetPtr is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Assigns a value to an item in a dynamic pointer array (DPA).
Syntax
BOOL DPA_SetPtr(
HDPA hdpa,
int i,
void *p
);
Parameters
hdpa
Type: HDPA
A handle to a DPA.
i
Type: int
The index of the item in the DPA.
p
Type: void*
A pointer to the value to assign to the specified DPA item.
Return value
Type: BOOL
Returns TRUE if successful, or FALSE otherwise.
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) |