📄 licenseexport.h
字号:
#ifndef _LICENSEEXPORT_H_
#define _LICENSEEXPORT_H_
#ifdef WIN32
#ifdef _IMPORT_
#define CALLMOTHED extern "C" __declspec(dllimport)
#endif
#ifdef _EXPORT_
#define CALLMOTHED extern "C" __declspec(dllexport)
#endif
#ifndef CALLMOTHED
#define CALLMOTHED extern "C" __declspec(dllimport)
#endif
#else
#define CALLMOTHED extern "C"
#define __stdcall
#endif
/* Describe:
* Verify the certificate
* Input:
szFileName -- a string contain the path of the certificate
* Output:
license -- a structure contain all of licensed information.
* Return:
* 0 -- success
* -1 -- Open File failed
* -2 -- Verify the certificate failed.
*/
namespace License
{
CALLMOTHED int __stdcall VerifyCertificate(const char *szFileName);
CALLMOTHED int __stdcall Init( void* pInitPara );
}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -