IMFVideoSampleAllocatorNotify::NotifyRelease Method

Called when a video sample is returned to the allocator.

Syntax

public:
HRESULT NotifyRelease()  

Return value

Type: HRESULT 

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

Refer to Media Foundation return codes.

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

Header: Declared in mfidl.h.