#if !defined(_SCREENCAP_H) #define _SCREENCAP_H // // declspec switcher // #ifdef PLUGIN_EXPORTS #define PLUGIN_API __declspec(dllexport) #else #define PLUGIN_API __declspec(dllimport) #endif typedef int PFStartGame( HWND windowhandle, int w, int h, const char * ServerName, const char * Path, const char * PageName, const char * Src, const char * Params ); typedef int PFStopGame( HWND windowhandle ); extern "C" PLUGIN_API int StartGame( HWND windowhandle, int w, int h, const char * ServerName, // domain/ip bzw "" wenn lokal const char * Path, // Pfad zur htmlseite const char * PageName, // htmlseite const char * Src, // optional const char * Params); // optional extern "C" PLUGIN_API int StopGame( HWND windowhandle ); #endif // !defined(_SCREENCAP_H)