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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.