共用方式為


IDrmPort::GetContentRights 方法 (portcls.h)

GetContentRights 方法會擷取指派給內容標識碼所識別數據流的DRM內容許可權。 請注意,此方法的運作方式與 DrmGetContentRights 函式相同,其參數定義和傳回值也相同。

語法

NTSTATUS GetContentRights(
  ULONG      ContentId,
  PDRMRIGHTS DrmRights
);

參數

ContentId

指定DRM內容識別碼。 此參數會識別 KS 音訊數據流。

DrmRights

指定指派給 ContentId 所識別數據流的DRM內容許可權。 此參數是DRMRIGHTS結構的指標。

傳回值

這個方法會傳回NTSTATUS。

言論

請參閱 DrmGetContentRights中的批注。

要求

要求 價值
標頭 portcls.h

另請參閱

IDrmPort