IMFDeviceTransformCallback::OnBufferSent method (mftransform.h)

Called when system-allocated frame buffers are sent to the device driver.

Syntax

HRESULT OnBufferSent(
  IMFAttributes *pCallbackAttributes,
  DWORD         pinId
);

Parameters

pCallbackAttributes

The attributes containing the callback data. The System-allocated frame buffer information is stored in the attribute with the MF_DMFT_FRAME_BUFFER_INFO key.

pinId

The identifier of the device pin to which the frame buffers are sent.

Return value

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

Remarks

The frame buffer header information provided by this callback is read-only. You should not try to allocate, deallocate, open, or close anything within the header.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1803
Minimum supported server Windows Server 2016
Target Platform Windows
Header mftransform.h

See also

IMFDeviceTransformCallback