IToc 介面 (wmcodecdsp.h)

IToc 介面代表個別目錄。 它提供將專案新增至 的方法,以及從目錄中移除專案的方法。

繼承

IToc 介面繼承自 IUnknown 介面。 IToc 也有下列類型的成員:

方法

IToc 介面具有這些方法。

 
IToc::AddEntryList

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

AddEntryListByIndex 方法會將專案清單新增至目錄,並將呼叫端提供的索引與專案清單產生關聯。
IToc::GetContext

GetContext 方法會擷取先前透過 SetContext 呼叫與目錄相關聯的位元組區塊。
IToc::GetDescription

GetDescription 方法會擷取先前呼叫 SetDescription 目錄所設定的描述。
IToc::GetDescriptor

GetDescriptor 方法會擷取先前由 SetDescriptor 設定的目錄描述元。
IToc::GetEntryListByIndex

GetEntryListByIndex 方法會從目錄擷取索引所指定的項目清單。
IToc::GetEntryListCount

GetEntryListCount 方法會擷取目錄中的項目清單數目。
IToc::RemoveEntryListByIndex

RemoveEntryListByIndex 方法會從目錄移除索引所指定的項目清單。
IToc::SetContext

SetContext 方法會將呼叫端提供的內容區塊與目錄產生關聯。
IToc::SetDescription

SetDescription 方法會將描述與目錄產生關聯。
IToc::SetDescriptor

SetDescriptor 方法會將描述項與目錄產生關聯。

規格需求

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

另請參閱

IUnknown

目錄剖析器介面