comparison src/video/win32/SDL_win32window.c @ 2583:2ae5b4fc6af5 gsoc2008_force_feedback

A bit of windows debugging.
author Edgar Simo <bobbens@gmail.com>
date Mon, 04 Aug 2008 14:44:21 +0000
parents 9f0f0a532343
children e8644f625d45
comparison
equal deleted inserted replaced
2582:9f0f0a532343 2583:2ae5b4fc6af5
434 SDL_HelperWindow = CreateWindowExA(0, class_name, win_name, WS_OVERLAPPEDWINDOW, 434 SDL_HelperWindow = CreateWindowExA(0, class_name, win_name, WS_OVERLAPPEDWINDOW,
435 CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, 435 CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
436 CW_USEDEFAULT, HWND_MESSAGE, NULL, hInstance, NULL); 436 CW_USEDEFAULT, HWND_MESSAGE, NULL, hInstance, NULL);
437 437
438 if (SDL_HelperWindow == NULL) { 438 if (SDL_HelperWindow == NULL) {
439 SDL_SetError("Unable to create Helper Window."); 439 SDL_SetError("Unable to create Helper Window: error %d.", GetLastError());
440 return -1; 440 return -1;
441 } 441 }
442 442
443 return 0; 443 return 0;
444 } 444 }