다음을 통해 공유


DisplaySizeList enumeration (msvidctl.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

This topic applies to Windows XP or later.

The DisplaySizeList enumeration defines the possible sizes at which the video rectangle may be rendered.

Syntax

typedef enum DisplaySizeList {
  dslDefaultSize = 0,
  dslSourceSize = 0,
  dslHalfSourceSize,
  dslDoubleSourceSize,
  dslFullScreen,
  dslHalfScreen,
  dslQuarterScreen,
  dslSixteenthScreen
} ;

Constants

 
dslDefaultSize
Value: 0
Display the video rectangle at the native size.
dslSourceSize
Value: 0
Same as dslDefaultSize.
dslHalfSourceSize
Display the video rectangle by shrinking the width and height by half.
dslDoubleSourceSize
Display the video rectangle by stretching the width and height to twice their native size.
dslFullScreen
Display the video rectangle by stretching the width and height to fill the entire screen as much as possible while maintaining the original aspect ratio.
dslHalfScreen
Display the video rectangle by stretching the width and height as much as possible to fill half (50%) of the screen while maintaining the original aspect ratio.
dslQuarterScreen
Display the video rectangle by stretching the width and height as much as possible to fill one quarter (25%) of the screen while maintaining the original aspect ratio.
dslSixteenthScreen
Display the video rectangle by stretching the width and height as much as possible to fill one sixteenth (6.25%) of the screen while maintaining the original aspect ratio.

Requirements

Requirement Value
Header msvidctl.h (include Dshow.h)

See also

IMSVidCtl::get_DisplaySize

IMSVidCtl::put_DisplaySize