Win32 port work.

This commit is contained in:
Camilla Berglund 2010-09-13 01:23:22 +02:00
parent f25a5cdea9
commit 1c55f68fb6

View File

@ -104,7 +104,7 @@ static LRESULT CALLBACK keyboardHook(int nCode, WPARAM wParam, LPARAM lParam)
// Enable system keys // Enable system keys
//======================================================================== //========================================================================
void _glfwPlatformEnableSystemKeys(void) void _glfwPlatformEnableSystemKeys(_GLFWwindow* window)
{ {
if (_glfwLibrary.Win32.keyboardHook != NULL) if (_glfwLibrary.Win32.keyboardHook != NULL)
{ {
@ -118,7 +118,7 @@ void _glfwPlatformEnableSystemKeys(void)
// Disable system keys // Disable system keys
//======================================================================== //========================================================================
void _glfwPlatformDisableSystemKeys(void) void _glfwPlatformDisableSystemKeys(_GLFWwindow* window)
{ {
_glfwLibrary.Win32.keyboardHook = SetWindowsHookEx(WH_KEYBOARD_LL, _glfwLibrary.Win32.keyboardHook = SetWindowsHookEx(WH_KEYBOARD_LL,
keyboardHook, keyboardHook,