Microsoft DirectX 9.0

VMRPRESENTATIONINFO Structure

This topic applies to Windows XP only.

The VMRPRESENTATIONINFO structure is used in the IVMRImagePresenter::PresentImage method (VMR-7 only).

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

A bitwise combination of flags from the VMRPresentationFlags enumeration, which 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

Bitwise combination of flags, as defined for the dwTypeSpecificFlags member of the AM_SAMPLE2_PROPERTIES structure.

dwInterlaceFlags

Bitwise combination of flags, as defined for the dwInterlaceFlags member of the VIDEOINFOHEADER2 structure.

Requirements

Requires Microsoft® Windows® XP.

See Also

See Also