Main Page Cookbook/Overview ImageMeister the jcprops file Licensing Binary Installation & Configuration [ Win · Mac · Nix · OSX ] Changes Public API Source Code Main Page Java [ Common · Win · Mac · Nix ] Native Code [ Common · Win · Mac · Nix ] Manifest Native Code Overviews [ Common · Win · Mac · Nix · Strings ] Macros [ General · Native Macros ] Walkthroughs [ Java only · Java and native ] Building [ Win · Mac · Nix · OSX ] Distribution Issues

# SMonitors

  Routines for working with video monitors.

[ Mac | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

## Quick Index

  DESCRIPTION

## Class Summary

class SMonitors
{
public:

  static ErrCode getMainMonitorInfo( long *monitorInfoP );
  static ErrCode getAllMonitorInfo( long *monitorInfoP, long maxToReturn, long *numDone );
  Unnamed_Enum UEnum_SMonitors_h_1;

protected:

}; // SMonitors

Back to the top of SMonitors

### DESCRIPTION

Routines for working with video monitors.

Back to the top of SMonitors

### ErrCode getMainMonitorInfo( long *monitorInfoP );

Get information on the user's main monitor into 'monitorInfoP'. eMonitorIntArray defines the offset of each piece of data. For instance, the depth of the monitor will be stored at monitorInfoP[ kOffsDepth ]

out monitorInfoP
  Points to a memory buffer which will receive the information This must be large enough for at lesst kMonitorInfoNumInts longs.

    	static	ErrCode getMainMonitorInfo( long *monitorInfoP );

Back to the top of SMonitors

### ErrCode getAllMonitorInfo( long *monitorInfoP, long maxToReturn, long *numDone );

Get information on each of the user's monitors into 'monitorInfoP'. 'numDone' will contain the number of monitors for which information is returned. Information on each monitor will be stored at succeeding offsets, in a similar manner as with the 'getMainMonitorInfo()' routine.

out monitorInfoP
  Points to a memory buffer which will receive the information This must be large enough for at lesst (maxToReturn * kMonitorInfoNumInts) longs.
in maxToReturn
  The maximum number to return; indicates the size of the buffer.
out numReturnedP
  On exit, the number of monitors returned.

    	static	ErrCode getAllMonitorInfo( long *monitorInfoP, long maxToReturn, long *numDone );

Back to the top of SMonitors

### Unnamed_Enum UEnum_SMonitors_h_1;

The offsets at which monitor information is stored.

    	enum {
    		kOffsBoundsTop = 0,
    		kOffsBoundsLeft = 1,
    		kOffsBoumdsBottom = 2,
    		kOffsBoundsRight = 3,
    		kOffsWorkareaTop = 4,
    		kOffsWorkareaLeft = 5,
    		kOffsWorkareaBottom = 6,
    		kOffsWorkareaRight = 7,
    		kOffsDepth = 8,
    		kOffsIsMainMonitor = 9,
    		kOffsRefNum = 10,

Back to the top of SMonitors

## All Members

public:
  static ErrCode getMainMonitorInfo( long *monitorInfoP );
  static ErrCode getAllMonitorInfo( long *monitorInfoP, long maxToReturn, long *numDone );
  Unnamed_Enum UEnum_SMonitors_h_1;
protected:

Back to the top of SMonitors

## Ancestors

Class does not inherit from any other class.

Back to the top of SMonitors

## Descendants

Class is not inherited by any others.

Back to the top of SMonitors

Generated from source by the Cocoon utilities on Fri Aug 23 12:34:31 2002 .

Main Page · JConfig · ImageMeister · System Properties Repository · WordMeister · Free Samples · Java Freeware · Contact Us · FAQ · Links

Copyright (c) 1997-2002 Samizdat Productions. All Rights Reserved.
WarpMovie, TileMovie, JConfig, ImageMeister and MovieShredder are Trademarks of Samizdat Productions.