vlmcsd/libkms.h

29 lines
816 B
C
Raw Normal View History

2015-11-29 10:30:52 +01:00
/*
* libkms.h
*/
#ifndef LIBKMS_H_
#define LIBKMS_H_
#include "types.h"
#include "kms.h"
#include "rpc.h"
2016-06-06 04:36:00 +02:00
#ifndef EXTERNC
2015-11-29 10:30:52 +01:00
#ifdef __cplusplus
2016-06-06 04:36:00 +02:00
#define EXTERNC EXTERN "C"
2015-11-29 10:30:52 +01:00
#else
#define EXTERNC
#endif
#endif
EXTERNC __declspec(EXTERNAL) DWORD __cdecl SendActivationRequest(const char* const hostname, const int port, RESPONSE* baseResponse, const REQUEST* const baseRequest, RESPONSE_RESULT* result, BYTE *hwid);
EXTERNC __declspec(EXTERNAL) DWORD __cdecl StartKmsServer(const int port, RequestCallback_t requestCallback);
EXTERNC __declspec(EXTERNAL) DWORD __cdecl StopKmsServer();
EXTERNC __declspec(EXTERNAL) int __cdecl GetLibKmsVersion();
2016-06-06 04:36:00 +02:00
EXTERNC __declspec(EXTERNAL) const char* const __cdecl GetEmulatorVersion();
2015-11-29 10:30:52 +01:00
//EXTERN_C __declspec(EXTERNAL) unsigned int __cdecl GetRandom32();
#endif /* LIBKMS_H_ */