You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
387 B
C
18 lines
387 B
C
#pragma once
|
|
|
|
#include <windows.h>
|
|
#include <tchar.h>
|
|
#include <strsafe.h>
|
|
|
|
#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); |