#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