src/video/win32/SDL_win32video.c
changeset 3011 8f4ed5ec2b06
parent 2970 94b634c56455
child 3013 8cc00819c8d6
equal deleted inserted replaced
3010:a6694a812119 3011:8f4ed5ec2b06
   112 #define PROCNAME(X) #X
   112 #define PROCNAME(X) #X
   113         data->WTInfoA =
   113         data->WTInfoA =
   114             (UINT(*)(UINT, UINT, LPVOID)) GetProcAddress(data->wintabDLL,
   114             (UINT(*)(UINT, UINT, LPVOID)) GetProcAddress(data->wintabDLL,
   115                                                          PROCNAME(WTInfoA));
   115                                                          PROCNAME(WTInfoA));
   116         data->WTOpenA =
   116         data->WTOpenA =
   117             (HCTX(*)(HWND, LPLOGCONTEXTA, BOOL)) GetProcAddress(data->
   117             (HCTX(*)(HWND, LPLOGCONTEXTA, BOOL))
   118                                                                 wintabDLL,
   118             GetProcAddress(data->wintabDLL, PROCNAME(WTOpenA));
   119                                                                 PROCNAME
       
   120                                                                 (WTOpenA));
       
   121         data->WTPacket =
   119         data->WTPacket =
   122             (int (*)(HCTX, UINT, LPVOID)) GetProcAddress(data->wintabDLL,
   120             (int (*)(HCTX, UINT, LPVOID)) GetProcAddress(data->wintabDLL,
   123                                                          PROCNAME(WTPacket));
   121                                                          PROCNAME(WTPacket));
   124         data->WTClose =
   122         data->WTClose =
   125             (BOOL(*)(HCTX)) GetProcAddress(data->wintabDLL,
   123             (BOOL(*)(HCTX)) GetProcAddress(data->wintabDLL,