src/video/win32/SDL_win32window.c
branchgsoc2008_force_feedback
changeset 2582 9f0f0a532343
parent 2581 a1c00531ee00
child 2583 2ae5b4fc6af5
equal deleted inserted replaced
2581:a1c00531ee00 2582:9f0f0a532343
   426    WNDCLASSEX wce;
   426    WNDCLASSEX wce;
   427 
   427 
   428    ZeroMemory(&wce, sizeof (wce));
   428    ZeroMemory(&wce, sizeof (wce));
   429    wce.cbSize = sizeof(WNDCLASSEX);
   429    wce.cbSize = sizeof(WNDCLASSEX);
   430    wce.lpfnWndProc = NULL;
   430    wce.lpfnWndProc = NULL;
   431    wce.lpszClassName = class_name;
   431    wce.lpszClassName = (LPCWSTR) class_name;
   432    wce.hInstance = hInstance;
   432    wce.hInstance = hInstance;
   433 
   433 
   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);