include/SDL_system.h
changeset 9599 223fbcc6a327
parent 9597 345bc53b52b8
child 9619 b94b6d0bff0f
equal deleted inserted replaced
9598:5f50522bf2e1 9599:223fbcc6a327
    44 #ifdef __WIN32__
    44 #ifdef __WIN32__
    45 	
    45 	
    46 /**
    46 /**
    47    \brief Set a function that is called for every windows message, before TranslateMessage()
    47    \brief Set a function that is called for every windows message, before TranslateMessage()
    48 */
    48 */
    49 typedef void (*SDL_WindowsMessageHook)(void *hWnd, unsigned int message, Uint64 wParam, Sint64 lParam);
    49 typedef void (SDLCALL * SDL_WindowsMessageHook)(void *userdata, void *hWnd, unsigned int message, Uint64 wParam, Sint64 lParam);
    50 extern DECLSPEC void SDLCALL SDL_SetWindowsMessageHook(SDL_WindowsMessageHook callback);
    50 extern DECLSPEC void SDLCALL SDL_SetWindowsMessageHook(SDL_WindowsMessageHook callback, void *userdata);
    51 
    51 
    52 /**
    52 /**
    53    \brief Returns the D3D9 adapter index that matches the specified display index.
    53    \brief Returns the D3D9 adapter index that matches the specified display index.
    54 
    54 
    55    This adapter index can be passed to IDirect3D9::CreateDevice and controls
    55    This adapter index can be passed to IDirect3D9::CreateDevice and controls