-
Notifications
You must be signed in to change notification settings - Fork 7
/
FSnap.h
18 lines (15 loc) · 848 Bytes
/
FSnap.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// The following ifdef block is the standard way of creating macros which make exporting
// from a DLL simpler. All files within this DLL are compiled with the FSNAP_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any other project whose source files include this file see
// FSNAP_API functions as being imported from a DLL, wheras this DLL sees symbols
// defined with this macro as being exported.
#ifdef FSNAP_EXPORTS
#define FSNAP_API __declspec(dllexport)
#else
#define FSNAP_API __declspec(dllimport)
#endif
#include <vector>
FSNAP_API bool snap_install(std::vector<SIZE> sizes, bool altKeys, bool undo, bool task_switch);
FSNAP_API bool snap_uninstall();
FSNAP_API LRESULT CALLBACK FSnapKeyboardProc(int code, WPARAM wpar, LPARAM lpar);