Tao.Sdl SDK Documentation

Sdl.SDL_GetWMInfo Method (SDL_SysWMinfo_Unix)

Gives you custom hooks into the window manager information.

[Visual Basic]
Overloads Public Shared Function SDL_GetWMInfo( _
   ByRef info As SDL_SysWMinfo_Unix _
) As Integer
[C#]
public static int SDL_GetWMInfo(
   out SDL_SysWMinfo_Unix info
);

Parameters

info
IntPtr to SDL_SysWMinfo struct

Return Value

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.

Remarks

This function gives you custom hooks into the window manager information. 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) ) { ... }

Binds to C-function call in SDL_rwops.h:

extern DECLSPEC int SDLCALL SDL_GetWMInfo(SDL_SysWMinfo *info)

See Also

Sdl Class | Tao.Sdl Namespace | Sdl.SDL_GetWMInfo Overload List