93 |
|
static void do_putscrap(uint32 type, void *scrap, int32 length); |
94 |
|
static void do_getscrap(void **handle, uint32 type, int32 offset); |
95 |
|
|
96 |
< |
// The main window handle |
97 |
< |
#ifdef USE_SDL_VIDEO |
98 |
< |
#include <SDL_syswm.h> |
99 |
< |
static HWND GetMainWindowHandle(void) |
100 |
< |
{ |
101 |
< |
SDL_SysWMinfo wmInfo; |
102 |
< |
SDL_VERSION(&wmInfo.version); |
103 |
< |
return SDL_GetWMInfo(&wmInfo) ? wmInfo.window : NULL; |
104 |
< |
} |
105 |
< |
#endif |
96 |
> |
// From main_windows.cpp |
97 |
> |
extern HWND GetMainWindowHandle(void); |
98 |
|
|
99 |
|
|
100 |
|
/* |