include/SDL_syswm.h
branchSDL-1.2
changeset 5575 0d5999bb4ba5
parent 4544 3f2d351d8274
child 6137 4720145f848b
equal deleted inserted replaced
5574:7b7ad16f9704 5575:0d5999bb4ba5
   207  * implemented and no error occurred, and -1 if the version member of
   207  * implemented and no error occurred, and -1 if the version member of
   208  * the 'info' structure is not filled in or not supported.
   208  * the 'info' structure is not filled in or not supported.
   209  *
   209  *
   210  * You typically use this function like this:
   210  * You typically use this function like this:
   211  * @code
   211  * @code
   212  * SDL_SysWMInfo info;
   212  * SDL_SysWMinfo info;
   213  * SDL_VERSION(&info.version);
   213  * SDL_VERSION(&info.version);
   214  * if ( SDL_GetWMInfo(&info) ) { ... }
   214  * if ( SDL_GetWMInfo(&info) ) { ... }
   215  * @endcode
   215  * @endcode
   216  */
   216  */
   217 extern DECLSPEC int SDLCALL SDL_GetWMInfo(SDL_SysWMinfo *info);
   217 extern DECLSPEC int SDLCALL SDL_GetWMInfo(SDL_SysWMinfo *info);