summaryrefslogtreecommitdiff
path: root/api/api.h
blob: 8fba13c533590f866c4b797ba8798ce026c68b97 (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
#ifndef API_H
#define API_H
#ifdef __cplusplus
extern "C" {
#endif

struct PluginInfo
{
//	DWORD dwPluginType; //unused for now
	char *szPluginName;	
};

struct HostInfo 
{
	DWORD dwVersion;
};

__declspec(dllexport) void GetPluginInfo(PluginInfo* pPluginInfo, DWORD *pdwResult);
__declspec(dllexport) void PluginHandler(DWORD dwCode, HostInfo *pHostInfo, DWORD *pdwResult);
#ifdef __cplusplus
}
#endif
#endif //API_H