Carbon


DMDisplayModeListEntryRec

Header: Displays.h

struct DMDisplayModeListEntryRec {
    UInt32 displayModeFlags; 
    VDSwitchInfoPtr displayModeSwitchInfo; 
    VDResolutionInfoPtr displayModeResolutionInfo; 
    VDTimingInfoPtr displayModeTimingInfo; 
    DMDepthInfoBlockPtr displayModeDepthBlockInfo; 
    UInt32 displayModeVersion; 
    StringPtr displayModeName; 
    DMDisplayTimingInfoPtr displayModeDisplayInfo;
};
typedef DMDisplayModeListEntryRec DMDisplayModeListEntryPtr;

Field descriptions

displayModeFlags

A pointer to a video structure, VDSwitchInfoRec, which provides information you need to tell the driver how to switch into different configurations, bit depths, or resolutions. See the function DMSetDisplayMode for more information.

displayModeSwitchInfo

A pointer to a VDSwitchInfoRec video structure, which provides information you need to tell the driver how to switch into different configurations, bit depths, or resolutions. See the function DMSetDisplayMode for more information.

displayModeResolutionInfo

A pointer to a pointer to a VDResolutionInfoRec video structure, which provides information about horizontal pixels, maximum depth modes, and the vertical line of the specified display mode.

displayModeTimingInfo

A pointer to a pointer to a VDTimingInfoRec video structure, which provides information about timing, format of the specified display mode.

displayModeDepthBlockInfo

A pointer to a DMDepthInfoBlockRec structure, which provides information about available pixel formats and the VPBlock, including size and depth.

displayModeVersion

The version of this structure. Currently it is version kDisplayTimingInfoVersionOne. See “Display Version Values” for more information.

displayModeName

A string pointer giving the display mode name. For example, “640 x 480, 67 Hz”

displayModeDisplayInfo

A pointer to the DMDisplayTimingInfoRec data type. This data type supplies information about the quality and default values of the timing.

The DMDisplayModeListEntryRec structure contains information about a display mode in a display mode list built by the function DMNewDisplayModeList.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)