diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/core_services.h | 7 | ||||
-rw-r--r-- | api/pluginapi.h | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/api/core_services.h b/api/core_services.h new file mode 100644 index 0000000..c0d241d --- /dev/null +++ b/api/core_services.h @@ -0,0 +1,7 @@ +#ifndef CORE_SERVICES_H +#define CORE_SERVICES_H +#define SVC_TEST "Core/Test" +#define SVC_SHUTDOWN "Core/Shutdown" +#define Shutdown() CallService(SVC_SHUTDOWN, 0, 0) +#define TestService() CallService(SVC_TEST, 0, 0) +#endif diff --git a/api/pluginapi.h b/api/pluginapi.h index cce9605..3cb5b63 100644 --- a/api/pluginapi.h +++ b/api/pluginapi.h @@ -3,7 +3,8 @@ #define PLUGIN_MAKE_VERSION(a,b,c,d) (((((DWORD)(a))&0xFF)<<24)|((((DWORD)(b))&0xFF)<<16)|((((DWORD)(c))&0xFF)<<8)|(((DWORD)(d))&0xFF)) -#define GLOBAL_ACCESS_FLAG 0x0010 +#define F_GLOBAL_ACCESS 0x0010 +#define F_DB_PLUGIN 0x0001 typedef INT_PTR (*SERVICE)(WPARAM,LPARAM); |