Export (0) Print
Expand All

IMFTrackedSample interface

Tracks the reference counts on a video media sample. Video samples created by the MFCreateVideoSampleFromSurface function expose this interface.

Members

The IMFTrackedSample interface inherits from the IUnknown interface. IMFTrackedSample also has these types of members:

Methods

The IMFTrackedSample interface has these methods.

MethodDescription
SetAllocator

Sets the owner for the sample.

 

Remarks

Use this interface to determine whether it is safe to delete or re-use the buffer contained in a sample. One object assigns itself as the owner of the video sample by calling SetAllocator. When all objects release their reference counts on the sample, the owner's callback method is invoked.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Evr.h

Library

Strmiids.lib

See also

Media Foundation Interfaces

 

 

Community Additions

ADD
Show:
© 2014 Microsoft