home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
RUNNING.ZIP
/
RUNNING.H
< prev
next >
Wrap
C/C++ Source or Header
|
1990-02-12
|
1KB
|
56 lines
/* running.h
**
** Copyright (c) 1989, Christopher Laforet
** All Rights Reserved
**
** Started: 25 October 1989
**
** Revision Information:
**
** $Logfile: D:/os2/running/vcs/running.h_v $
** $Date: 12 Feb 1990 04:04:26 $
** $Revision: 1.3 $
**
*/
#define MAJOR_VERSION 1
#define MINOR_VERSION 3
struct id
{
USHORT pid;
USHORT ppid;
USHORT start_threads;
USHORT ready_threads;
USHORT blocked_threads;
USHORT frozen_threads;
USHORT critsec_threads;
USHORT background_threads;
USHORT other_threads; /* zombie and boost */
USHORT signiture;
};
struct proc
{
USHORT pid;
USHORT ppid;
USHORT signiture;
USHORT children;
USHORT start_threads;
USHORT ready_threads;
USHORT blocked_threads;
USHORT frozen_threads;
USHORT critsec_threads;
USHORT background_threads;
USHORT other_threads;
USHORT max_dependents;
USHORT *dependents;
UCHAR *process;
};
extern USHORT APIENTRY DosQProcStatus(PVOID pBuf,USHORT cbBuf);