MFCONTENTPROTECTIONDEVICE_OUTPUT_DATA structure

Contains information about the data you received as output from a protection system function.

Syntax


typedef struct _MFCONTENTPROTECTIONDEVICE_OUTPUT_DATA {
  DWORD    PrivateDataByteCount;
  DWORD    MaxHWProtectionDataByteCount;
  DWORD    HWProtectionDataByteCount;
  HRESULT  Status;
  LONGLONG TransportTimeInHundredsOfNanoseconds;
  LONGLONG ExecutionTimeInHundredsOfNanoseconds;
  BYTE     OutputData[4];
} MFCONTENTPROTECTIONDEVICE_OUTPUT_DATA;

Members

PrivateDataByteCount

The size of the private data that the implementation of the security processor reserves, in bytes. You can determine this value by calling the IMFContentProtectionDevice::GetPrivateDataByteCount method.

MaxHWProtectionDataByteCount

The maximum size of data that the independent hardware vendor (IHV) can return in the output buffer, in bytes.

HWProtectionDataByteCount

The size of the data that the IHV wrote to the output buffer, in bytes.

Status

The result of the protection system function.

TransportTimeInHundredsOfNanoseconds

The number of 100 nanosecond units spent transporting the data.

ExecutionTimeInHundredsOfNanoseconds

The number of 100 nanosecond units spent running the protection system function.

OutputData

The output of the protection system function.

If the value of the PrivateDataByteCount member is greater than 0, bytes 0 through PrivateDataByteCount - 1 are reserved for IHV use. Bytes PrivateDataByteCount through MaxHWProtectionDataByteCount + PrivateDataByteCount - 1 contain the region of the array into which the driver should return the output data from the protection system function.

The protection system specification defines the format and size of the function.

Requirements

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

Mfidl.h

See also

Media Foundation Structures
IMFContentProtectionDevice::GetPrivateDataByteCount
MFCONTENTPROTECTIONDEVICE_INPUT_DATA
IMFContentProtectionDevice::InvokeFunction

 

 

Show: