The Windows Services Win32 Programming

 

 

 

 

HOME

 

 

What do we have in this session?

 

Windows service is another way on how to run Windows executable. In this tutorial we will learn how to create, initialize, start, stop, pause and delete Windows service. We will also learn how to modify and control Windows services...

  1. Brief Introduction

  2. Service Changes for Windows Vista

  3. Introduction on Windows Services

  4. Service Control Manager

    Database of Installed Services

  5. Automatically Starting Services

  6. Starting Services on Demand

  7. Service Record List

    SCM Handles

    Service Programs

    Service Entry Point

    Service ServiceMain Function

    Service Control Handler Function

  8. Receiving Events in a Service

  9. Multithreaded Services

    Services and the Registry

    Services and Redirected Drives

    Redirected Drives on Windows 2000

    Service Trigger Events

  10. Service Configuration Programs

  11. Service Installation, Removal, and Enumeration

    Service Configuration

    Configuring a Service Using SC

 

 

 

  1. Service Control Programs

  2. Service Startup

    Service Control Requests

    Service User Accounts (SUA)

    LocalService Account

    NetworkService Account

    LocalSystem Account

  3. Interactive Services

  4. Interacting with a User from a Service Indirectly

    Using an Interactive Service

    Service Security and Access Rights

    Access Rights for the Service Control Manager

    Access Rights for a Service

  5. Debugging a Service

  6. Using Services: Program Examples

  7. Service Program Tasks

    Service Configuration Program Tasks

    Service Control Program Tasks

    Writing a Service Program's main Function Example

  8. Writing a ServiceMain Function Example

  9. Writing a Control Handler Function Example

  10. Installing a Service Example

  11. Deleting a Service Example

  12. Changing a Service's Configuration example

  13. Querying a Service's Configuration Example

  14. Starting a Windows Service Example

  15. Stopping a Windows Service Example

  16. Modifying the DACL for a Windows Service Example

  17. A Complete Windows Service Working Program Example

  18. Creating a New Console Application

    Creating a Message File (Generating DLL, Headers and Other Files)

  19. Linking the DLL File

  20. Adding the C++ Source File

  21. Building the Project

  22. Adding New Project for Windows Service Configuration Application

  23. Running and Testing the Windows Service Configuration Application

  24. Adding New Project for Windows Service Control Application

  25. Running and Testing the Windows Service Control Application

  26. Another Program Example on How to Stop Windows Service

< Windows Files Programming | Win32 Programming | Windows Services 1 >