Mac OS 9
ProcessInfoRec Struct Reference

#include <Processes.h>

Data Fields

unsigned long processInfoLength
 
StringPtr processName
 
ProcessSerialNumber processNumber
 
unsigned long processType
 
OSType processSignature
 
unsigned long processMode
 
Ptr processLocation
 
unsigned long processSize
 
unsigned long processFreeMem
 
ProcessSerialNumber processLauncher
 
unsigned long processLaunchDate
 
unsigned long processActiveTime
 
FSSpecPtr processAppSpec
 

Detailed Description

Record returned by GetProcessInformation When calling GetProcessInformation(), the input ProcesInfoRec should have the processInfoLength set to sizeof(ProcessInfoRec), the processName field set to nil or a pointer to a Str255, and processAppSpec set to nil or a pointer to an FSSpec. If processName or processAppSpec are not specified, this routine will very likely write data to whatever random location in memory these happen to point to, which is not a good thing.


The documentation for this struct was generated from the following file: