Microsoft DirectX 8.1 (C++)

VMRPRESENTATIONINFO Structure

The VMR PRESENTATIONINFO structure is used in the IVMRImagePresenter::PresentImage method.

Requirements

Requires Microsoft® Windows® XP.

Syntax

typedef struct tagVMRPRESENTATIONINFO {
    DWORD dwFlags;
    LPDIRECTDRAWSURFACE7 lpSurf;
    REFERENCE_TIME rtStart;
    REFERENCE_TIME rtEnd;
    SIZE szAspectRatio;
    RECT rcSrc;
    RECT rcDst;
    DWORD dwTypeSpecificFlags;
    DWORD dwInterlaceFlags;
} VMRPRESENTATIONINFO;

Members

dwFlags

Specifies the VMRPresentationFlags values that describe the status of the video sample with respect to its presentation time.

lpSurf

Pointer to the DirectDraw surface that contains the video frame to be presented.

rtStart

Specifies the start time for the current frame.

rtEnd

Specifies the end time for the current frame.

szAspectRatio

Specifies the aspect ratio of the rectangle.

rcSrc

Specifies the source rectangle.

rcDst

Specifies the destination rectangle.

dwTypeSpecificFlags

These are the same flags that are used in the AM_SAMPLE2_PROPERTIES structure.

DWORD dwInterlaceFlags

These are the same flags that are used in the VIDEOINFOHEADER2 structure.

See Also