include/SDL_syswm.h
branchSDL-1.2
changeset 4544 3f2d351d8274
parent 4217 4c4113c2162c
child 5575 0d5999bb4ba5
equal deleted inserted replaced
4543:d7cdc25af9a2 4544:3f2d351d8274
   201 
   201 
   202 /* Function prototypes */
   202 /* Function prototypes */
   203 /**
   203 /**
   204  * This function gives you custom hooks into the window manager information.
   204  * This function gives you custom hooks into the window manager information.
   205  * It fills the structure pointed to by 'info' with custom information and
   205  * It fills the structure pointed to by 'info' with custom information and
   206  * returns 1 if the function is implemented.  If it's not implemented, or
   206  * returns 0 if the function is not implemented, 1 if the function is 
   207  * the version member of the 'info' structure is invalid, it returns 0. 
   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  *
   209  *
   209  * You typically use this function like this:
   210  * You typically use this function like this:
   210  * @code
   211  * @code
   211  * SDL_SysWMInfo info;
   212  * SDL_SysWMInfo info;
   212  * SDL_VERSION(&info.version);
   213  * SDL_VERSION(&info.version);