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

SProcesses

Routines for working with processes.

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

Quick Index

DESCRIPTION

Class Summary

class SProcesses

{

public:
typedef enum tageMoveProcess eMoveProcess;
static ErrCode getProcesses( long maxToReturn, long flags, long *numReturned, long *vRefsP, long *parIDsP, StringPtr namesP, long *PSNLoP, long *PSNHiP, long *proFlagsP );
static ErrCode setFinderAsFrontProcess( void );
static ErrCode escortProcessToTheFront( ProcessSerialNumber *psnP );
static ErrCode findProcess( OSType creator, OSType typ, ProcessSerialNumber *processP, CFSpec *specP );
static ErrCode hideProcess( ProcessSerialNumber *psnP );
static ErrCode hideFrontProcess( void );
static ErrCode moveProcess( ProcessSerialNumber *psn, eMoveProcess selector, long flags );
static ErrCode quitProcess( ProcessSerialNumber *thePSN, long flags );
static ErrCode verifyPSN( ProcessSerialNumber *thePSN );
protected:
}; // SProcesses

Back to the top of SProcesses


DESCRIPTION

Routines for working with processes.

Back to the top of SProcesses


typedef enum tageMoveProcess eMoveProcess;

See moveProcess().

	typedef enum tageMoveProcess {
		kMoveProcessToFront = 1,
		kMoveProcessToBack = 2,
		kMoveProcessMinimize = 3,
		kMoveProcessMaximize = 4
	} eMoveProcess;

Back to the top of SProcesses


ErrCode getProcesses( long maxToReturn, long flags, long *numReturned, long *vRefsP, long *parIDsP, StringPtr namesP, long *PSNLoP, long *PSNHiP, long *proFlagsP );

Get a list of the running processes.

	static	ErrCode getProcesses( long maxToReturn, long flags, long *numReturned,
								long *vRefsP, long *parIDsP, StringPtr namesP,
								long *PSNLoP, long *PSNHiP, long *proFlagsP );

Back to the top of SProcesses


ErrCode setFinderAsFrontProcess( void );

Bring finder to the front.

	static	ErrCode setFinderAsFrontProcess( void );

Back to the top of SProcesses


ErrCode escortProcessToTheFront( ProcessSerialNumber *psnP );

Bring a process to the front.

	static	ErrCode escortProcessToTheFront( ProcessSerialNumber *psnP );

Back to the top of SProcesses


ErrCode findProcess( OSType creator, OSType typ, ProcessSerialNumber *processP, CFSpec *specP );

Search for a running process, and return its PSN and FSSpec in 'processP' and 'specP' if found.

	static	ErrCode findProcess( OSType creator, OSType typ, ProcessSerialNumber *processP,
								CFSpec *specP );

Back to the top of SProcesses


ErrCode hideProcess( ProcessSerialNumber *psnP );

Hide a process.

	static	ErrCode hideProcess( ProcessSerialNumber *psnP );

Back to the top of SProcesses


ErrCode hideFrontProcess( void );

Hide the front process.

	static	ErrCode hideFrontProcess( void );

Back to the top of SProcesses


ErrCode moveProcess( ProcessSerialNumber *psn, eMoveProcess selector, long flags );

Move a process.

	static	ErrCode moveProcess( ProcessSerialNumber *psn, eMoveProcess selector, long flags );

Back to the top of SProcesses


ErrCode quitProcess( ProcessSerialNumber *thePSN, long flags );

Quit a process.

	static	ErrCode quitProcess( ProcessSerialNumber *thePSN, long flags );

Back to the top of SProcesses


ErrCode verifyPSN( ProcessSerialNumber *thePSN );

Verify that a process is still running.

	static	ErrCode verifyPSN( ProcessSerialNumber *thePSN );

Back to the top of SProcesses


All Members

public:
typedef enum tageMoveProcess eMoveProcess;
static ErrCode getProcesses( long maxToReturn, long flags, long *numReturned, long *vRefsP, long *parIDsP, StringPtr namesP, long *PSNLoP, long *PSNHiP, long *proFlagsP );
static ErrCode setFinderAsFrontProcess( void );
static ErrCode escortProcessToTheFront( ProcessSerialNumber *psnP );
static ErrCode findProcess( OSType creator, OSType typ, ProcessSerialNumber *processP, CFSpec *specP );
static ErrCode hideProcess( ProcessSerialNumber *psnP );
static ErrCode hideFrontProcess( void );
static ErrCode moveProcess( ProcessSerialNumber *psn, eMoveProcess selector, long flags );
static ErrCode quitProcess( ProcessSerialNumber *thePSN, long flags );
static ErrCode verifyPSN( ProcessSerialNumber *thePSN );
protected:

Back to the top of SProcesses


Ancestors

Class does not inherit from any other class.

Back to the top of SProcesses


Descendants

Class is not inherited by any others.

Back to the top of SProcesses


Generated from source by the Cocoon utilities on Fri Aug 23 12:34:31 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.