Skip to content

Latest commit

 

History

History
92 lines (69 loc) · 2.45 KB

nf-mfmediaengine-imfmediakeys-createsession.md

File metadata and controls

92 lines (69 loc) · 2.45 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:mfmediaengine.IMFMediaKeys.CreateSession
IMFMediaKeys::CreateSession (mfmediaengine.h)
Creates a media key session object using the specified initialization data and custom data. .
CreateSession
CreateSession method [Media Foundation]
CreateSession method [Media Foundation]
IMFMediaKeys interface
IMFMediaKeys interface [Media Foundation]
CreateSession method
IMFMediaKeys.CreateSession
IMFMediaKeys::CreateSession
mf.imfmediakeys_createsession
mfmediaengine/IMFMediaKeys::CreateSession
mf\imfmediakeys_createsession.htm
mf
9f11433c-7cff-4a59-9d4a-7f4b56ba62cf
12/05/2018
CreateSession, CreateSession method [Media Foundation], CreateSession method [Media Foundation],IMFMediaKeys interface, IMFMediaKeys interface [Media Foundation],CreateSession method, IMFMediaKeys.CreateSession, IMFMediaKeys::CreateSession, mf.imfmediakeys_createsession, mfmediaengine/IMFMediaKeys::CreateSession
mfmediaengine.h
Windows
Windows 8.1 [desktop apps only]
Windows Server 2012 R2 [desktop apps only]
Mfmediaengine.idl
Windows
19H1
IMFMediaKeys::CreateSession
mfmediaengine/IMFMediaKeys::CreateSession
c++
APIRef
kbSyntax
COM
mfmediaengine.h
IMFMediaKeys.CreateSession

IMFMediaKeys::CreateSession

-description

Creates a media key session object using the specified initialization data and custom data. .

-parameters

-param mimeType

The MIME type of the media container used for the content.

-param initData

The initialization data for the key system.

-param cb

The count in bytes of initData.

-param customData

Custom data sent to the key system.

-param cbCustomData

The count in bytes of cbCustomData.

-param notify

notify

-param ppSession

The media key session.

-returns

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-see-also

IMFMediaKeys