Carbon


Active Device Only Values

Header: Displays.h

enum {
    dmOnlyActiveDisplays = 1,
    dmAllDisplays = 0
};

Constant descriptions

dmOnlyActiveDisplays

Returns a handle to the GDevice structure for an active device only.

dmAllDisplays

Returns a handle to the GDevice structure for a device, active or not.

The functions DMGetFirstScreenDevice and DMGetNextScreenDevice contain the parameter activeOnly which you can specify with an Active Device Constant.


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