Partager via


DMO_OUTPUT_DATA_BUFFER

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure describes an output buffer used by a DirectX DMO.

Syntax

typedef struct _DMO_OUTPUT_DATA_BUFFER {
  IMediaBuffer* pBuffer;
  DWORD dwStatus;
  REFERENCE_TIME rtTimestamp;
  REFERENCE_TIME rtTimelength;
} DMO_OUTPUT_DATA_BUFFER, *PDMO_OUTPUT_DATA_BUFFER;

Members

  • pBuffer
    [in] Pointer to the IMediaBuffer interface of a buffer allocated by the application.
  • dwStatus
    [out] Status flags. After processing output, the DMO sets this member to a bitwise combination of zero or more DMO_OUTPUT_DATA_BUFFER_FLAGS flags.
  • rtTimestamp
    [out] Time stamp that specifies the start time of the data in the buffer. If the buffer has a valid time stamp, the DMO sets this member and also sets the DMO_OUTPUT_DATA_BUFFERF_TIME flag in the dwStatus member. Otherwise, ignore this member.
  • rtTimelength
    [out] Reference time specifying the length of the data in the buffer. If the DMO sets this member to a valid value, it also sets the DMO_OUTPUT_DATA_BUFFERF_TIMELENGTH flag in the dwStatus member. Otherwise, ignore this member.

Requirements

Header dmo.h
Library Dmoguid.lib
Windows Embedded CE Windows CE .NET 4.1 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

DMO Structures
IMediaBuffer
IMediaObject::ProcessOutput
AM_MEDIA_TYPE
DMO_OUTPUT_DATA_BUFFER_FLAGS
DMO_OUTPUT_DATA_BUFFER_FLAGS
DMO_OUTPUT_DATA_BUFFER_FLAGS