DPA_AppendPtr macro (dpa_dsa.h)

Inserts a new item at the end of a dynamic pointer array (DPA).

Syntax

int DPA_AppendPtr(
   HDPA hdpa,
   void *pitem
);

Parameters

hdpa

A handle to a DPA.

pitem

A pointer to the item that is to be inserted.

Return value

Type: int

Returns the index of the new item or -1, if the append action fails.

Remarks

Note  This macro wraps the DPA_InsertPtr function.
 

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