Математика

Физика

Химия

Биология

Техника и    технологии

NT Services-Kevin Miller
Table of Contents
Introduction 1
Chapter 1: Understanding NT Services 9
What are NT Services? 9
Why Write NT Services? 10
Usage Patterns for Services
Accepting Pause/Continue Requests 35
Accepting Shutdown Notifications 36
dwWin32ExitCode 36
dwServiceSpecificExitCode 36
dwCheckPoint 36
dwWaitHint 37
Parameters to ServiceMain 37
Completing Initialization 38
The Running Service 38
Handling an Error in ServiceMain 38
Terminating ServiceMain 39
ServiceMain in Code 39
The Control Handler 41
Service Control Requests 41
User-Defined Control Requests '
The StartService Function 91
Example of Using StartService 92
Using StartService Inside a Service 94
Controlling Services 94
The ControlService Function 94
Example of Using ControlService 96
Sending User-Defined Control Requests 141
Source 141
Category 141
Event ID 141
Description 142
Event Data 142
How Event Logging Works 143
Three Steps to Event Logging 144
Creating the Message File Resource 144
Why use a Message Script? 144
Win32 Error Codes 145
Writing a Message Script 145
The Header Section 146
164
Converting the Monitor 166
Monitor.MC 166
Registering the Message File 166
Error Handling Modifications 167
Run Modifications 168
Seeing the Results 168
Other Operations on the Event Log
Reading Records from the Event Log 170
Other Event Log Functions 171
Adding a Custom Event Log 171
Other Techniques 172
Summary

Цена: 150руб.

Назад

Заказ

На главную страницу

Hosted by uCoz