19 lines
363 B
C
19 lines
363 B
C
#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
|
|
|
|
void DLL_EXPORT SomeFunction(const LPCSTR sometext);
|
|
|
|
#endif // __MAIN_H__
|