PcGetContentRights 函式 (portcls.h)
PcGetContentRights 函式會擷取指派給DRM內容識別碼的DRM內容許可權。 請注意,此函式呼叫在作業中與 DrmGetContentRights 函式相同,其參數定義和傳回值也相同。
語法
PORTCLASSAPI NTSTATUS PcGetContentRights(
[in] ULONG ContentId,
[out] PDRMRIGHTS DrmRights
);
參數
[in] ContentId
指定DRM內容識別碼。 此參數會識別 KS 音訊數據流。
[out] DrmRights
指定指派給 stream 的DRM內容許可權,該數據流是由 ContentId所識別。 此參數是 DRMRIGHTS 結構的指標。
傳回值
請參閱 DrmGetContentRights中的傳回值定義。
言論
如需詳細資訊,請參閱 DrmGetContentRights中的批注。
要求
要求 | 價值 |
---|---|
最低支援的用戶端 | PortCls 系統驅動程式會在 windows XP 和更新版本的作系統Microsoft實作 PcGetContentRights 函式。 |
目標平臺 | 普遍 |
標頭 | portcls.h (包括 Portcls.h) |
連結庫 | Portcls.lib |