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

Minimum supported client

Windows 8.1 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 R2 [desktop apps | Windows Store apps]

Header

Mfapi.h

See also

Alphabetical List of Media Foundation Attributes
IMFSample
MFSampleExtension_Encryption_SubSampleMappingSplit

 

 

Show: