Almost all services use the Windows NT Event Log. It’s quite common for services to load startup and shutdown events, and error conditions should always go to the Event Log.
We look first at the facilities provided by the
module for working with the Event Log.
Then we will have another look at a couple of modules described
previously in this chapter,
. We discussed how to use these modules
to read the Event Log, so now let’s look at how they can write
to the Log.