include/SDL_syswm.h
branchSDL-1.2
changeset 4544 3f2d351d8274
parent 4217 4c4113c2162c
child 5575 0d5999bb4ba5
     1.1 --- a/include/SDL_syswm.h	Sun Jul 18 10:28:57 2010 -0700
     1.2 +++ b/include/SDL_syswm.h	Sun Jul 18 10:39:24 2010 -0700
     1.3 @@ -203,8 +203,9 @@
     1.4  /**
     1.5   * This function gives you custom hooks into the window manager information.
     1.6   * It fills the structure pointed to by 'info' with custom information and
     1.7 - * returns 1 if the function is implemented.  If it's not implemented, or
     1.8 - * the version member of the 'info' structure is invalid, it returns 0. 
     1.9 + * returns 0 if the function is not implemented, 1 if the function is 
    1.10 + * implemented and no error occurred, and -1 if the version member of
    1.11 + * the 'info' structure is not filled in or not supported.
    1.12   *
    1.13   * You typically use this function like this:
    1.14   * @code