Mercurial > sdl-ios-xcode
comparison src/video/wincommon/SDL_lowvideo.h @ 1481:deb22b9fe970
Yet more Win64 tweaks
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 07 Mar 2006 16:02:59 +0000 |
parents | 4aac8563c296 |
children | 21b1fbb53f4a |
comparison
equal
deleted
inserted
replaced
1480:0a2bd6507477 | 1481:deb22b9fe970 |
---|---|
36 #ifndef SetWindowLongPtr | 36 #ifndef SetWindowLongPtr |
37 #define SetWindowLongPtr SetWindowLong | 37 #define SetWindowLongPtr SetWindowLong |
38 #endif | 38 #endif |
39 #ifndef GWLP_WNDPROC | 39 #ifndef GWLP_WNDPROC |
40 #define GWLP_WNDPROC GWL_WNDPROC | 40 #define GWLP_WNDPROC GWL_WNDPROC |
41 #endif | |
42 #ifndef GCLP_HICON | |
43 #define GCLP_HICON GCL_HICON | |
41 #endif | 44 #endif |
42 | 45 |
43 #include "../SDL_sysvideo.h" | 46 #include "../SDL_sysvideo.h" |
44 | 47 |
45 /* Hidden "this" pointer for the video functions */ | 48 /* Hidden "this" pointer for the video functions */ |
116 /* This is really from SDL_dx5audio.c */ | 119 /* This is really from SDL_dx5audio.c */ |
117 extern void DX5_SoundFocus(HWND window); | 120 extern void DX5_SoundFocus(HWND window); |
118 | 121 |
119 /* DJM: This is really from SDL_sysevents.c, we need it in | 122 /* DJM: This is really from SDL_sysevents.c, we need it in |
120 GDL_CreateWindow as well */ | 123 GDL_CreateWindow as well */ |
121 LONG CALLBACK WinMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); | 124 LRESULT CALLBACK WinMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); |
122 | 125 |
123 /* JFP: Implementation of ToUnicode() that works on 9x/ME/2K/XP */ | 126 /* JFP: Implementation of ToUnicode() that works on 9x/ME/2K/XP */ |
124 typedef int (WINAPI *ToUnicodeFN)(UINT, UINT, PBYTE, LPWSTR, int, UINT); | 127 typedef int (WINAPI *ToUnicodeFN)(UINT, UINT, PBYTE, LPWSTR, int, UINT); |
125 | 128 |
126 extern ToUnicodeFN SDL_ToUnicode; | 129 extern ToUnicodeFN SDL_ToUnicode; |