IMFOutputPolicy::GenerateRequiredSchemas method (mfidl.h)
Retrieves a list of the output protection systems that the output trust authority (OTA) must enforce, along with configuration data for each protection system.
Syntax
HRESULT GenerateRequiredSchemas(
[in] DWORD dwAttributes,
[in] GUID guidOutputSubType,
[in] GUID *rgGuidProtectionSchemasSupported,
[in] DWORD cProtectionSchemasSupported,
[out] IMFCollection **ppRequiredProtectionSchemas
);
Parameters
[in] dwAttributes
Describes the output that is represented by the OTA calling this method. This value is a bitwise OR of zero or more of the following flags.
[in] guidOutputSubType
Indicates a specific family of output connectors that is represented by the OTA calling this method. Possible values include the following.
[in] rgGuidProtectionSchemasSupported
Pointer to an array of GUID values that specify which output protection systems are supported by the OTA that is calling this method.
[in] cProtectionSchemasSupported
Number of elements in the rgGuidProtectionSchemasSupported array.
[out] ppRequiredProtectionSchemas
Receives a pointer to the IMFCollection interface of a collection object. The caller must release the interface. Each object in the collection is an IMFOutputSchema pointer. Each IMFOutputSchema pointer defines an output protection system that the OTA must enforce.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The video OTA returns the MFCONNECTOR_UNKNOWN connector type unless the Direct3D device is in full-screen mode. (Direct3D windowed mode is not generally a secure video mode.) You can override this behavior by implementing a custom EVR presenter that implements the IEVRTrustedVideoPlugin interface.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | mfidl.h |
Library | Mfuuid.lib |