IMFInputTrustAuthority::GetPolicy Method
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
);
Parameter
Action [in]
The action that will be performed on this stream, specified as a member of the MFPOLICYMANAGER_ACTION enumeration.ppPolicy [out]
Receives a pointer to the IMFOutputPolicy interface. The caller must release the interface.
Rückgabewert
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Rückgabecode | Beschreibung |
---|---|
S_OK | The method succeeded. |
Anforderungen
Mindestens unterstützter Client |
Windows Vista |
Mindestens unterstützter Server |
Windows Server 2008 |
Header |
Mfidl.h |
Bibliothek |
Mfuuid.lib |