Compartilhar via


VMR9PresentationInfo structure (vmr9.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The VMR9PresentationInfo structure is used with the VMR-9 in the IVMRImagePresenter9::PresentImage method.

Syntax

typedef struct _VMR9PresentationInfo {
  DWORD             dwFlags;
  IDirect3DSurface9 *lpSurf;
  REFERENCE_TIME    rtStart;
  REFERENCE_TIME    rtEnd;
  SIZE              szAspectRatio;
  RECT              rcSrc;
  RECT              rcDst;
  DWORD             dwReserved1;
  DWORD             dwReserved2;
} VMR9PresentationInfo;

Members

dwFlags

Contains a bitwise combination of flags from the VMR9PresentationFlags enumeration type. These flags describe the status of the video sample with respect to its presentation time.

lpSurf

Pointer to the DirectDraw surface that contains the video frame.

rtStart

Specifies the start time for the video frame.

rtEnd

Specifies the end time for the video frame

szAspectRatio

Specifies the aspect ratio of the video, as a SIZE structure.

rcSrc

Specifies the source rectangle.

rcDst

Specifies the destination rectangle.

dwReserved1

Reserved.

dwReserved2

Reserved.

Requirements

Requirement Value
Header vmr9.h

See also

DirectShow Structures