IToc::AddEntryList 方法 (wmcodecdsp.h)

AddEntryList方法會將專案清單加入目錄,並將索引指派給專案清單。

語法

HRESULT AddEntryList(
  [in]  ITocEntryList *pEntryList,
  [out] WORD          *pwEntryListIndex
);

參數

[in] pEntryList

ITocEntryList介面的指標,表示要加入的專案清單。

[out] pwEntryListIndex

接收新增專案清單的索引。

傳回值

方法會傳回 HRESULT。 可能的值包括 (但不限於) 下表中的這些值。

傳回碼 描述
S_OK
此方法已成功。

規格需求

   
最低支援的用戶端 Windows Vista [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2008 [僅限傳統型應用程式]
目標平台 Windows
標頭 wmcodecdsp.h
Dll Wmvdspa.dll

另請參閱

IToc

RemoveEntryListByIndex