You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
864 B
C
37 lines
864 B
C
#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)
|