IMFSampleProtection::GetInputProtectionVersion method (mfidl.h)

Retrieves the version of sample protection that the component implements on input.

Syntax

HRESULT GetInputProtectionVersion(
  [out] DWORD *pdwVersion
);

Parameters

[out] pdwVersion

Receives a member of the SAMPLE_PROTECTION_VERSION enumeration.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
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

See also

IMFSampleProtection