#pragma once #include #include #include #pragma comment(lib, "advapi32.lib") #define SVCNAME TEXT("ShellServer") #define SVC_ERROR ((DWORD)0xC0020001L) VOID SvcInstall(void); VOID WINAPI SvcCtrlHandler(DWORD); VOID WINAPI SvcMain(DWORD, LPTSTR*); VOID ReportSvcStatus(DWORD, DWORD, DWORD); VOID SvcInit(DWORD, LPTSTR*); VOID SvcReportEvent(LPTSTR);