DPA_InsertPtr 函式 (dpa_dsa.h)

[DPA_InsertPtr 可用於需求一節中指定的操作系統。 它可能會在後續版本中改變或無法使用。]

將新專案插入動態指標陣列中指定的位置, (DPA) 。 如有必要,DPA 會展開以容納新專案。

語法

int DPA_InsertPtr(
  HDPA hdpa,
  int  i,
  void *p
);

參數

hdpa

類型: HDPA

DPA 的句柄。

i

類型: int

要插入新專案的 Tbe 位置。

p

類型: void*

要插入之專案的指標。

傳回值

類型: int

如果插入失敗,則傳回新專案的索引或 -1

規格需求

需求
最低支援的用戶端 Windows Vista [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2003 [僅限傳統型應用程式]
目標平台 Windows
標頭 dpa_dsa.h
程式庫 Comctl32.lib
Dll ComCtl32.dll
API 集合 ext-ms-win-shell-comctl32-da-l1-1-0 (Windows 10 10.0.14393 版)