EXAMPLE: SIMPLE JOB MANAGEMENT
191
Listing Background Jobs
Program 6–5 shows the job management function.
192
CHAPTER 6 PROCESS MANAGEMENT
Program 6–5 Displaying Active Jobs
EXAMPLE: SIMPLE JOB MANAGEMENT
193
Finding a Job in the Job List File
Program 6–6 shows the final job management function, , which
obtains the process ID of a specified job number. The process ID, in turn, can be
used by the calling program to obtain a handle and other process status infor-
mation.
Program 6–6
Getting the Process ID from a Job Number

Get Windows System Programming Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.