Microsoft DirectX 9.0

VMR9PresentationInfo

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;
};

Members

dwFlags

Contains a bitwise combintation 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.

See Also