Chapter 12. Windows 2000 Services

Any operating system needs a way to start up processes when the system boots and then leave them running while the system is on-line. For example, the Messenger service that comes with Windows 2000 monitors the network continuously and displays a dialog box whenever it receives a message. An application that receives faxes needs to start up at boot time and then continuously monitor the fax modem for fax machines dialing in. A home or office-security system needs to continuously monitor sensors and respond to them, regardless of who is currently using the machine.

In UNIX, this functionality is handled by daemons. Daemons are loaded as the system boots and receive CPU time as background tasks. Typical UNIX ...

Get Win32 System Services: The Heart of Windows® 98 and Windows® 2000 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.