DPA_AppendPtr macro

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

Syntax


int DPA_AppendPtr(
   HDPA pdpa,
   void *pitem
);

Parameters

pdpa

A handle to a DPA.

pitem

A pointer to the item that is to be inserted.

Return value

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

Remarks

Note  This macro wraps the DPA_InsertPtr function.
 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Dpa_dsa.h

 

 

Show: