Share via


VMRPRESENTATIONINFO (Compact 2013)

3/26/2014

This structure is used in the IVMRImagePresenter::PresentImage method.

Syntax

typedef struct tag VMRPRESENTATIONINFO {
    DWORD dwFlags;
    LPDIRECTDRAWSURFACE lpSurf;
    REFERENCE_TIME rtStart;  
    REFERENCE_TIME rtEnd;
    SIZE szAspectRatio;
    RECT rcSrc;
    RECT rcDst;
    DWORD dwTypeSpecificFlags;
    DWORD dwInterlaceFlags;
    IMediaSample *pMediaSample;
    DWORD dwFrameNo;
} VMRPRESENTATIONINFO;

Members

  • dwFlags
    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.
  • dwFrameNo
    The frame number.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

DirectShow Structures