mirror of
https://github.com/joel16/SDL2.git
synced 2025-01-19 09:43:37 +00:00
Added a usage example for SDL_GetWMInfo()
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401000
This commit is contained in:
parent
365f99178e
commit
268aaf600f
@ -188,6 +188,11 @@ typedef struct SDL_SysWMinfo {
|
||||
* It fills the structure pointed to by 'info' with custom information and
|
||||
* returns 1 if the function is implemented. If it's not implemented, or
|
||||
* the version member of the 'info' structure is invalid, it returns 0.
|
||||
*
|
||||
* You typically use this function like this:
|
||||
* SDL_SysWMInfo info;
|
||||
* SDL_VERSION(&info.version);
|
||||
* if ( SDL_GetWMInfo(&info) ) { ... }
|
||||
*/
|
||||
extern DECLSPEC int SDLCALL SDL_GetWMInfo(SDL_SysWMinfo *info);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user