blob: 3cb5b6351b3f2f7bf30e2f157464125065c91328 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef PLUGINAPI_H
#define PLUGINAPI_H
#define PLUGIN_MAKE_VERSION(a,b,c,d) (((((DWORD)(a))&0xFF)<<24)|((((DWORD)(b))&0xFF)<<16)|((((DWORD)(c))&0xFF)<<8)|(((DWORD)(d))&0xFF))
#define F_GLOBAL_ACCESS 0x0010
#define F_DB_PLUGIN 0x0001
typedef INT_PTR (*SERVICE)(WPARAM,LPARAM);
typedef struct tagPLUGINLINK {
HANDLE (*CreateServiceFunction)(const char *,SERVICE);
INT_PTR (*CallService)(const char *,WPARAM,LPARAM);
int (*ServiceExists)(const char *);
} PLUGINLINK;
typedef struct
{
int cbSize;
char *shortName, *description, *author, *authorEmail;
DWORD version;
WORD flags;
} PLUGININFO;
#endif
|