Add files via upload
This commit is contained in:
parent
cbf06a2185
commit
794ab735b4
|
@ -0,0 +1,28 @@
|
||||||
|
#ifndef __MAIN_H__
|
||||||
|
#define __MAIN_H__
|
||||||
|
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
|
/* To use this exported function of dll, include this header
|
||||||
|
* in your project.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifdef BUILD_DLL
|
||||||
|
#define DLL_EXPORT __declspec(dllexport)
|
||||||
|
#else
|
||||||
|
#define DLL_EXPORT __declspec(dllimport)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void DLL_EXPORT SomeFunction(const LPCSTR sometext);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif // __MAIN_H__
|
Loading…
Reference in New Issue