DPA_SetPtrCount macro

Sets the number of pointers in a dynamic pointer array (DPA).

Syntax


int DPA_SetPtrCount(
  [in]  HDPA hdpa,
  [in]  int cItems
);

Parameters

hdpa [in]

A handle to an existing DPA.

cItems [in]

The number of items in the DPA.

Return value

Returns the number of pointers (elements) the DPA contains.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft