Creates an IMFTrackedSample object that tracks the reference counts on a video media sample.
HRESULT MFCreateTrackedSample(
_Outptr_ IMFTrackedSample **ppMFSample
)
ppMFSample
Type: Outptr IMFTrackedSample **
Receives a pointer to the IMFTrackedSample interface.
Type: HRESULT
The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
| S_OK | The function succeeded. |
Refer to Media Foundation return codes.
Header: Declared in mfidl.h.
Library: Use mfplat.lib.