O'Reilly logo

Windows® via C/C++, Fifth Edition by Christophe Nasarre, Jeffrey Richter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Job Lab Sample Application

The Job Lab application, 05-JobLab.exe, allows you to easily experiment with jobs. The source code and resource files for the application are in the 05-JobLab directory on the companion content Web page. When you start the program, the window shown in Figure 5-3 appears.

Job Lab sample application

Figure 5-3. Job Lab sample application

When the process initializes, it creates a job object. I created this job object with the name JobLab so that you can use the MMC Performance Monitor Snap-in to see it and monitor its performance. The application also creates an I/O completion port and associates the job object with it. This allows notifications ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required