IKsPin 介面 (ksproxy.h)
IKsPin 介面提供方法來控制及擷取針腳的相關信息。
這個介面的 IID 是IID_IKsPin。
遺產
IKsPin 介面繼承自 IUnknown 介面。
方法
IKsPin 介面具有這些方法。
IKsPin::KsCreateSinkPinHandle KsCreateSinkPinHandle 方法會建立針腳控點,並將它儲存在 KS 針腳物件中。 |
IKsPin::KsDecrementPendingIoCount KsDecrementPendingIoCount 方法會遞減針腳上進行中的輸入/輸出 (I/O) 作業數目。 |
IKsPin::KsDeliver KsDeliver 方法會將媒體範例從輸出針腳傳遞至輸入針腳、從配置器擷取下一個緩衝區,並將緩衝區提交至相關聯的裝置,以繼續 I/O 作業。 |
IKsPin::KsGetCurrentCommunication KsGetCurrentCommunication 方法會擷取針腳的目前通訊方向、介面和媒體。 |
IKsPin::KsIncrementPendingIoCount KsIncrementPendingIoCount 方法會遞增針腳上進行中的輸入/輸出 (I/O) 作業數目。 |
IKsPin::KsMediaSamplesCompleted KsMediaSamplesCompleted 方法會通知針腳數據流區段已完成。 |
IKsPin::KsPeekAllocator KsPeekAllocator 方法會針對針腳指派的配置器傳回 IMemAllocator 介面的指標。 |
IKsPin::KsPropagateAcquire KsPropagateAcquire 方法會指示篩選上的所有針腳,以達到 Acquire 狀態。 |
IKsPin::KsQueryInterfaces KsQueryInterfaces 方法會擷取針腳支援的介面。 |
IKsPin::KsQueryMediums KsQueryMediums 方法會擷取針腳支持的媒體。 |
言論
介面處理程式(IKsInterfaceHandler) 會使用許多 IKsPin 方法來路由傳送特定媒體類型的媒體樣本。
要求
要求 | 價值 |
---|---|
目標平臺 | 窗戶 |
標頭 | ksproxy.h (包括 Ksproxy.h) |