Skip to content

Commit 794ab73

Browse files
author
ChrisMiuchiz
authored
Add files via upload
1 parent cbf06a2 commit 794ab73

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

CallbackManager/main.h

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#ifndef __MAIN_H__
2+
#define __MAIN_H__
3+
4+
#include <windows.h>
5+
6+
/* To use this exported function of dll, include this header
7+
* in your project.
8+
*/
9+
10+
#ifdef BUILD_DLL
11+
#define DLL_EXPORT __declspec(dllexport)
12+
#else
13+
#define DLL_EXPORT __declspec(dllimport)
14+
#endif
15+
16+
17+
#ifdef __cplusplus
18+
extern "C"
19+
{
20+
#endif
21+
22+
void DLL_EXPORT SomeFunction(const LPCSTR sometext);
23+
24+
#ifdef __cplusplus
25+
}
26+
#endif
27+
28+
#endif // __MAIN_H__

0 commit comments

Comments
 (0)