Kms sources from google.init.
This commit is contained in:
1 parent
47778e32f0
commit
4e22666689
58 files changed
+6752
No files matched your search
@@ -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();
|
||||
}
|
||||
Reference in new issue
Block a user