Microsoft DirectX 8.1 (C++)

DisplaySizeList Enumeration

This topic applies to Windows XP Home Edition and Windows XP Professional only.

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

Syntax

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

Elements

dslDefaultSize

Display the video rectangle at the native size.

dslSourceSize

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.

Remarks

No special remarks.

See Also