source: trunk/testapp/keyboard/OKeyHook/OKeyHook.h@ 10367

Last change on this file since 10367 was 7353, checked in by phaller, 24 years ago

.

File size: 686 bytes
Line 
1
2// The following ifdef block is the standard way of creating macros which make exporting
3// from a DLL simpler. All files within this DLL are compiled with the OKEYHOOK_EXPORTS
4// symbol defined on the command line. this symbol should not be defined on any project
5// that uses this DLL. This way any other project whose source files include this file see
6// OKEYHOOK_API functions as being imported from a DLL, wheras this DLL sees symbols
7// defined with this macro as being exported.
8#ifdef OKEYHOOK_EXPORTS
9#define OKEYHOOK_API __declspec(dllexport)
10#else
11#define OKEYHOOK_API __declspec(dllimport)
12#endif
13
14extern OKEYHOOK_API int nOKeyHook;
15
16OKEYHOOK_API int fnOKeyHook(void);
17
Note: See TracBrowser for help on using the repository browser.