设置动态指针数组(DPA)中的指针数。
语法
int DPA_SetPtrCount(
[in] HDPA hdpa,
[in] int cItems
);
参数
[in] hdpa
现有 DPA 的句柄。
[in] cItems
DPA 中的项数。
返回值
类型:int
返回 DPA 包含的指针数(元素)。
要求
| 要求 | 价值 |
|---|---|
| 最低支持的客户端 | Windows 7 [仅限桌面应用] |
| 支持的最低服务器 | Windows Server 2008 R2 [仅限桌面应用] |
| 目标平台 | 窗户 |
| 标头 | dpa_dsa.h |