From 794ab735b4da39de598e1b29b2757fd50a4e3f5a Mon Sep 17 00:00:00 2001 From: ChrisMiuchiz Date: Thu, 19 Sep 2019 20:44:35 -0400 Subject: [PATCH] Add files via upload --- CallbackManager/main.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 CallbackManager/main.h diff --git a/CallbackManager/main.h b/CallbackManager/main.h new file mode 100644 index 0000000..ee03cf3 --- /dev/null +++ b/CallbackManager/main.h @@ -0,0 +1,28 @@ +#ifndef __MAIN_H__ +#define __MAIN_H__ + +#include + +/* 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__