使用到的Windows API,在<WinSvc.h>中查询它们的定义:
1. SERVICE_TABLE_ENTRY
2. StartServiceCtrlDispatcher
3. RegisterServiceCtrlHandler
4. SetServiceStatus
PS:也可以使用ATL Windows Service模板来进行创建于开发。
使用到的Windows API,在<WinSvc.h>中查询它们的定义:
1. SERVICE_TABLE_ENTRY
2. StartServiceCtrlDispatcher
3. RegisterServiceCtrlHandler
4. SetServiceStatus
PS:也可以使用ATL Windows Service模板来进行创建于开发。