MFCONTENTPROTECTIONDEVICE_INPUT_DATA structure
Contains information about the data that you want to provide as input to a protection system function.
Syntax
typedef struct _MFCONTENTPROTECTIONDEVICE_INPUT_DATA { DWORD HWProtectionFunctionID; DWORD PrivateDataByteCount; DWORD HWProtectionDataByteCount; DWORD Reserved; BYTE InputData[4]; } MFCONTENTPROTECTIONDEVICE_INPUT_DATA;
Members
- HWProtectionFunctionID
-
The identifier of the function that you need to run. This value is defined by the implementation of the protection system.
- PrivateDataByteCount
-
The size of the private data that the implementation of the security processor implementation reserved. You can determine this value by calling the IMFContentProtectionDevice::GetPrivateDataByteCount method.
- HWProtectionDataByteCount
-
The size of the data provided as input to the protection system function that you want to run.
- Reserved
-
Reserved.
- InputData
-
The data to provide as input to the protection system function.
If the value of the PrivateDataByteCount member is greater than 0, bytes 0 through PrivateDataByteCount - 1 are reserved for use by the independent hardware vendor (IHV). Bytes PrivateDataByteCount through HWProtectionDataByteCount + PrivateDataByteCount - 1 contain the input data for the protection system function.
The protection system specification defines the format and size of the DRM function.
Requirements
|
Minimum supported client |
Windows 10 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2016 [desktop apps only] |
|
Header |
|
See also
- Media Foundation Structures
- IMFContentProtectionDevice::GetPrivateDataByteCount
- MFCONTENTPROTECTIONDEVICE_OUTPUT_DATA
- IMFContentProtectionDevice::InvokeFunction