IMFInputTrustAuthority::GetPolicy method (mfidl.h)
Retrieves the policy that defines which output protection systems are allowed for this stream, and the configuration data for each protection system.
Syntax
HRESULT GetPolicy(
[in] MFPOLICYMANAGER_ACTION Action,
[out] IMFOutputPolicy **ppPolicy
);
Parameters
[in] Action
The action that will be performed on this stream, specified as a member of the MFPOLICYMANAGER_ACTION enumeration.
[out] ppPolicy
Receives a pointer to the IMFOutputPolicy interface. The caller must release the interface.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
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 |