IMFVideoSampleAllocatorNotify::NotifyRelease method

Called when a video sample is returned to the allocator.

Syntax


HRESULT NotifyRelease();

Parameters

This method has no parameters.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

To get a video sample from the allocator, call the IMFVideoSampleAllocator::AllocateSample method. When the sample is released and then returned to the pool of available samples, the allocator invokes the NotifyRelease method.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

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

Header

Mfidl.h

See also

IMFVideoSampleAllocatorNotifyEx
IMFVideoSampleAllocatorNotify

 

 

Show: