Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MFSampleExtension_PacketCrossOffsets attribute

Specifies the offsets to the payload boundaries in a frame for protected samples.

Data type

Byte array


To get this attribute, call IMFAttributes::GetBlob.

To set this attribute, call IMFAttributes::SetBlob.

Applies to



This attribute applies to media samples protected by Windows Media Digital Rights Management (DRM). The value of the attribute is an array of DWORDs. Each entry in the array is the offset of a payload boundary, relative to the start of the frame. An application can use these values when decrypting and reconstructing the frames.

The GUID constant for this attribute is exported from mfuuid.lib.


Minimum supported client

Windows Vista [desktop apps | UWP apps]

Minimum supported server

Windows Server 2008 [desktop apps | UWP apps]



See also

Alphabetical List of Media Foundation Attributes
ASF Splitter
Sample Attributes
Media Samples



© 2018 Microsoft