Kms sources from google.init.

This commit is contained in:
gunmetal313 committed 2015-06-04 13:32:42 +04:00
1 parent 47778e32f0
commit 4e22666689
58 files changed
+6752

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
// KMS Emulator DLL.cpp : Defines the exported functions for the DLL application.
//
// Includes and Namespaces
#include "stdafx.h"
// DLL Export Function Prototypes
extern "C" __declspec(dllexport) void RunKMSClient(int argc, wchar_t *argv[], bool RunAsService);
extern "C" __declspec(dllexport) void RunKMSServer(int argc, wchar_t *argv[], bool RunAsService);
extern "C" __declspec(dllexport) void KillKMSServer();
// Load KMS Client Options and Start KMS Client
extern "C" __declspec(dllexport) void RunKMSClient(int argc, wchar_t *argv[], bool RunAsService)
{
LoadClientParameters(argc, argv, RunAsService);
StartKMSClient();
}
// Load KMS Server Options and Start KMS Server
extern "C" __declspec(dllexport) void RunKMSServer(int argc, wchar_t *argv[], bool RunAsService)
{
LoadServerParameters(argc, argv, RunAsService);
StartKMSServer();
}
// Stop KMS Server
extern "C" __declspec(dllexport) void KillKMSServer()
{
StopKMSServer();
}