Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize

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

IMFSample
MFSampleExtension_Encryption_SubSampleMappingSplit

 

 

Community Additions

ADD
Show:
© 2015 Microsoft