IMFSampleProtection::GetInputProtectionVersion method

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

Syntax


HRESULT GetInputProtectionVersion(
  [out] DWORD *pdwVersion
);

Parameters

pdwVersion [out]

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 codeDescription
S_OK

The method succeeded.

 

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfidl.h

Library

Mfuuid.lib

See also

IMFSampleProtection

 

 

Show: