MFT_MESSAGE_TYPE enumeration (mftransform.h)

Defines messages for a Media Foundation transform (MFT). To send a message to an MFT, call IMFTransform::ProcessMessage.

Syntax

typedef enum _MFT_MESSAGE_TYPE {
  MFT_MESSAGE_COMMAND_FLUSH,
  MFT_MESSAGE_COMMAND_DRAIN,
  MFT_MESSAGE_SET_D3D_MANAGER,
  MFT_MESSAGE_DROP_SAMPLES,
  MFT_MESSAGE_COMMAND_TICK,
  MFT_MESSAGE_NOTIFY_BEGIN_STREAMING,
  MFT_MESSAGE_NOTIFY_END_STREAMING,
  MFT_MESSAGE_NOTIFY_END_OF_STREAM,
  MFT_MESSAGE_NOTIFY_START_OF_STREAM,
  MFT_MESSAGE_NOTIFY_RELEASE_RESOURCES,
  MFT_MESSAGE_NOTIFY_REACQUIRE_RESOURCES,
  MFT_MESSAGE_NOTIFY_EVENT,
  MFT_MESSAGE_COMMAND_SET_OUTPUT_STREAM_STATE,
  MFT_MESSAGE_COMMAND_FLUSH_OUTPUT_STREAM,
  MFT_MESSAGE_COMMAND_MARKER
} MFT_MESSAGE_TYPE;

Constants

Name Description
MFT_MESSAGE_COMMAND_FLUSH Requests the MFT to flush all stored data.

See MFT_MESSAGE_COMMAND_FLUSH.
MFT_MESSAGE_COMMAND_DRAIN Requests the MFT to drain any stored data.

See MFT_MESSAGE_COMMAND_DRAIN.
MFT_MESSAGE_SET_D3D_MANAGER Sets or clears the Direct3D Device Manager for DirectX Video Accereration (DXVA).




See MFT_MESSAGE_SET_D3D_MANAGER.
MFT_MESSAGE_DROP_SAMPLES Note Requires Windows 7.
MFT_MESSAGE_COMMAND_TICK Note Requires Windows 8.
MFT_MESSAGE_NOTIFY_BEGIN_STREAMING Notifies the MFT that streaming is about to begin.



See MFT_MESSAGE_NOTIFY_BEGIN_STREAMING.
MFT_MESSAGE_NOTIFY_END_STREAMING Notifies the MFT that streaming is about to end.



See MFT_MESSAGE_NOTIFY_END_STREAMING.
MFT_MESSAGE_NOTIFY_END_OF_STREAM Notifies the MFT that an input stream has ended.



See MFT_MESSAGE_NOTIFY_END_OF_STREAM.
MFT_MESSAGE_NOTIFY_START_OF_STREAM Notifies the MFT that the first sample is about to be processed.

See

MFT_MESSAGE_NOTIFY_START_OF_STREAM.
MFT_MESSAGE_NOTIFY_RELEASE_RESOURCES
MFT_MESSAGE_NOTIFY_REACQUIRE_RESOURCES
MFT_MESSAGE_NOTIFY_EVENT
MFT_MESSAGE_COMMAND_SET_OUTPUT_STREAM_STATE
MFT_MESSAGE_COMMAND_FLUSH_OUTPUT_STREAM
MFT_MESSAGE_COMMAND_MARKER Marks a point in the stream. This message applies only to asynchronous MFTs.

See MFT_MESSAGE_COMMAND_MARKER.

Note  Requires Windows 7

 

Remarks

Some messages require specific actions from the MFT. These events have "MESSAGE" in the message name. Other messages are informational; they notify the MFT of some action by the client, and do not require any particular response from the MFT. These messages have "NOTIFY" in the messages name. Except where noted, an MFT should not rely on the client sending notification messages.

Requirements

   
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Header mftransform.h

See also

IMFTransform::ProcessMessage

Media Foundation Enumerations

Media Foundation Transforms