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

Returns information on the user's video monitors.

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

Quick Index

DESCRIPTION

Class Summary

class SMonitors
{

public:
static ErrCode iGetMainMonitorInfo( long *monitorInfoP );
static ErrCode iGetAllMonitorInfo( long *monitorInfoP, long maxToReturn, long *numReturnedP );
enum eMonitorIntArray;
protected:
}; // SMonitors

Back to the top of SMonitors


DESCRIPTION

Returns information on the user's video monitors.

Back to the top of SMonitors


ErrCode iGetMainMonitorInfo( 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 iGetMainMonitorInfo( long *monitorInfoP );

Back to the top of SMonitors


ErrCode iGetAllMonitorInfo( long *monitorInfoP, long maxToReturn, long *numReturnedP );

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 iGetAllMonitorInfo( long *monitorInfoP, long maxToReturn, long *numReturnedP );

Back to the top of SMonitors


enum eMonitorIntArray;

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,
		kMonitorInfoNumInts = 20
	} eMonitorIntArray;

Back to the top of SMonitors


All Members

public:
static ErrCode iGetMainMonitorInfo( long *monitorInfoP );
static ErrCode iGetAllMonitorInfo( long *monitorInfoP, long maxToReturn, long *numReturnedP );
enum eMonitorIntArray;
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:08 2002 .

Report problems to jkotula@stratasys.com


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.