mirror of
https://github.com/Wind4/vlmcsd.git
synced 2025-05-19 17:35:05 -04:00
vlmcsd-svn906-2016-06-05-Hotbird64
This commit is contained in:
parent
1c86f7a6bf
commit
c479a67c2c
55 changed files with 5728 additions and 21773 deletions
11
libkms.h
11
libkms.h
|
@ -9,24 +9,19 @@
|
|||
#include "kms.h"
|
||||
#include "rpc.h"
|
||||
|
||||
#ifndef EXTERNC
|
||||
#ifdef __cplusplus
|
||||
#define EXTERNC extern "C"
|
||||
#define EXTERNC EXTERN "C"
|
||||
#else
|
||||
#define EXTERNC
|
||||
#endif
|
||||
|
||||
#if !defined(_WIN32) && !__CYGWIN__
|
||||
#define __declspec(x) __attribute__((__visibility__("default")))
|
||||
#endif
|
||||
|
||||
#if !defined(EXTERNAL)
|
||||
#define EXTERNAL dllimport
|
||||
#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();
|
||||
EXTERNC __declspec(EXTERNAL) const char* const __cdecl GetEmulatorVersion();
|
||||
//EXTERN_C __declspec(EXTERNAL) unsigned int __cdecl GetRandom32();
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue