IMFOutputPolicy::GenerateRequiredSchemas method
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
- dwAttributes [in]
-
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.
- guidOutputSubType [in]
-
Indicates a specific family of output connectors that is represented by the OTA calling this method. Possible values include the following.
- rgGuidProtectionSchemasSupported [in]
-
Pointer to an array of GUID values that specify which output protection systems are supported by the OTA that is calling this method.
- cProtectionSchemasSupported [in]
-
Number of elements in the rgGuidProtectionSchemasSupported array.
- ppRequiredProtectionSchemas [out]
-
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
|
Minimum supported client | Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server | Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
See also
Send comments about this topic to Microsoft
Build date: 11/28/2012
