Skip to content

Latest commit

 

History

History
62 lines (34 loc) · 1.31 KB

mfsampleextension-content-keyid.md

File metadata and controls

62 lines (34 loc) · 1.31 KB
description ms.assetid title ms.topic ms.date
Sets the Key ID for the sample.
75339350-05AA-486E-9C28-11070C0DA61D
MFSampleExtension_Content_KeyID attribute (Mfapi.h)
reference
05/31/2018

MFSampleExtension_Content_KeyID attribute

Sets the Key ID for the sample.

Data type

GUID

Examples

The following example shows how to set the Key ID for the sample.

// m_spSample is a IMFSample
// guidKID is a GUID

m_spSample->SetGUID( MFSampleExtension_Content_KeyID, guidKID );

Requirements

Requirement Value
Minimum supported client
Windows 8.1 [desktop apps | UWP apps]
Minimum supported server
Windows Server 2012 R2 [desktop apps | UWP apps]
Header
Mfapi.h

See also

Alphabetical List of Media Foundation Attributes

IMFSample

MFSampleExtension_Encryption_SubSampleMappingSplit