Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DPA_SetPtrCount macro (dpa_dsa.h)

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

Syntax

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

Parameters

[in] hdpa

A handle to an existing DPA.

[in] cItems

The number of items in the DPA.

Return value

Type: int

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

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header dpa_dsa.h

Feedback

Was this page helpful?

Additional resources