src/video/win32/SDL_win32window.c
branchgsoc2008_force_feedback
changeset 2583 2ae5b4fc6af5
parent 2582 9f0f0a532343
child 2584 e8644f625d45
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 }