src/video/win32/SDL_win32video.c
changeset 3013 8cc00819c8d6
parent 3011 8f4ed5ec2b06
child 3057 089a77aebb7d
equal deleted inserted replaced
3012:7e30c2dc7783 3013:8cc00819c8d6
   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))
   117             (HCTX(*)(HWND, LPLOGCONTEXTA, BOOL)) GetProcAddress(data->
   118             GetProcAddress(data->wintabDLL, PROCNAME(WTOpenA));
   118                                                                 wintabDLL,
       
   119                                                                 PROCNAME
       
   120                                                                 (WTOpenA));
   119         data->WTPacket =
   121         data->WTPacket =
   120             (int (*)(HCTX, UINT, LPVOID)) GetProcAddress(data->wintabDLL,
   122             (int (*)(HCTX, UINT, LPVOID)) GetProcAddress(data->wintabDLL,
   121                                                          PROCNAME(WTPacket));
   123                                                          PROCNAME(WTPacket));
   122         data->WTClose =
   124         data->WTClose =
   123             (BOOL(*)(HCTX)) GetProcAddress(data->wintabDLL,
   125             (BOOL(*)(HCTX)) GetProcAddress(data->wintabDLL,