Skip to content

Latest commit

 

History

History
121 lines (95 loc) · 3.88 KB

nf-mfidl-imfsampleprotection-initoutputprotection.md

File metadata and controls

121 lines (95 loc) · 3.88 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mfidl.IMFSampleProtection.InitOutputProtection
IMFSampleProtection::InitOutputProtection (mfidl.h)
Retrieves initialization information for sample protection from the upstream component.
03bee13d-1c51-4b26-98bb-bac15264aa54
IMFSampleProtection interface [Media Foundation]
InitOutputProtection method
IMFSampleProtection.InitOutputProtection
IMFSampleProtection::InitOutputProtection
InitOutputProtection
InitOutputProtection method [Media Foundation]
InitOutputProtection method [Media Foundation]
IMFSampleProtection interface
mf.imfsampleprotection_initoutputprotection
mfidl/IMFSampleProtection::InitOutputProtection
mf\imfsampleprotection_initoutputprotection.htm
mf
03bee13d-1c51-4b26-98bb-bac15264aa54
12/05/2018
03bee13d-1c51-4b26-98bb-bac15264aa54, IMFSampleProtection interface [Media Foundation],InitOutputProtection method, IMFSampleProtection.InitOutputProtection, IMFSampleProtection::InitOutputProtection, InitOutputProtection, InitOutputProtection method [Media Foundation], InitOutputProtection method [Media Foundation],IMFSampleProtection interface, mf.imfsampleprotection_initoutputprotection, mfidl/IMFSampleProtection::InitOutputProtection
mfidl.h
Windows
Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 [desktop apps \| UWP apps]
Mfuuid.lib
Windows
19H1
IMFSampleProtection::InitOutputProtection
mfidl/IMFSampleProtection::InitOutputProtection
c++
APIRef
kbSyntax
COM
mfuuid.lib
mfuuid.dll
IMFSampleProtection.InitOutputProtection

IMFSampleProtection::InitOutputProtection

-description

Retrieves initialization information for sample protection from the upstream component.

-parameters

-param dwVersion [in]

Specifies the version number of the sample protection scheme. The version number is specified as a SAMPLE_PROTECTION_VERSION enumeration value.

-param dwOutputId [in]

Identifier of the output stream. The identifier corresponds to the output stream identifier returned by the IMFTransform interface.

-param pbCert [in]

Pointer to a certificate provided by the downstream component.

-param cbCert [in]

Size of the certificate, in bytes.

-param ppbSeed [out]

Receives a pointer to a buffer that contains the initialization information for downstream component. The caller must free the memory for the buffer by calling CoTaskMemFree.

-param pcbSeed [out]

Receives the size of the ppbSeed buffer, in bytes.

-returns

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.
E_NOTIMPL
Not implemented.

-remarks

This method must be implemented by the upstream component. The method fails if the component does not support the requested sample protection version. Downstream components do not implement this method and should return E_NOTIMPL.

-see-also

IMFSampleProtection