MFT_MESSAGE_TYPE enumeration

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           = 0x00000000,
  MFT_MESSAGE_COMMAND_DRAIN           = 0x00000001,
  MFT_MESSAGE_SET_D3D_MANAGER         = 0x00000002,
  MFT_MESSAGE_DROP_SAMPLES            = 0x00000003,
  MFT_MESSAGE_COMMAND_TICK            = 0x00000004,
  MFT_MESSAGE_NOTIFY_BEGIN_STREAMING  = 0x10000000,
  MFT_MESSAGE_NOTIFY_END_STREAMING    = 0x10000001,
  MFT_MESSAGE_NOTIFY_END_OF_STREAM    = 0x10000002,
  MFT_MESSAGE_NOTIFY_START_OF_STREAM  = 0x10000003,
  MFT_MESSAGE_COMMAND_MARKER          = 0x20000000
} MFT_MESSAGE_TYPE;

Constants

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_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 | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mftransform.h

See also

IMFTransform::ProcessMessage
Media Foundation Enumerations
Media Foundation Transforms

 

 

Community Additions

ADD
Show:
© 2014 Microsoft