PcAddContentHandlers 函式 (portcls.h)
PcAddContentHandlers 函式會提供處理受保護內容的函式清單。 請注意,此函式呼叫的運作方式與 DrmAddContentHandlers 函式相同,其參數定義和傳回值也相同。
語法
PORTCLASSAPI NTSTATUS PcAddContentHandlers(
[in] ULONG ContentId,
[in] PVOID *paHandlers,
[in] ULONG NumHandlers
);
參數
[in] ContentId
指定DRM內容識別碼。 此參數會識別受保護的 KS 音訊數據流。
[in] paHandlers
函式指標陣列的指標。 每個數位元素都會指向內容處理程式。
[in] NumHandlers
指定 paHandlers 陣列中的函式指標數目。
傳回值
請參閱 DrmAddContentHandlers中的傳回值定義。
言論
如需詳細資訊,請參閱 DrmAddContentHandlers中的批注。
要求
要求 | 價值 |
---|---|
最低支援的用戶端 | 可從 Windows XP 開始使用。 |
目標平臺 | 普遍 |
標頭 | portcls.h (包括 Portcls.h) |
連結庫 | Portcls.lib |