SDL_SysWMmsg
A structure that contains system-dependent window manager messages.
Data Fields
All Subsystems |
||
version |
an SDL_version structure that contains the current SDL version |
|
subsystem |
the windowing system type; see Remarks for details |
|
int |
dummy |
unused (to help compilers when no specific system is available) |
SDL_SYSWM_WINDOWS |
||
HWND |
win.hwnd |
the window for the message |
UINT |
win.msg |
the type of message |
WPARAM |
win.wParam |
WORD message parameter |
LPARAM |
win.lParam |
LONG message parameter |
SDL_SYSWM_X11 |
||
XEvent |
x11.event |
the native x11 event structure |
SDL_SYSWM_DIRECTFB |
||
DFBEvent |
dfb.event |
the DirectFB event |
SDL_SYSWM_COCOA |
||
int |
cocoa.dummy |
unused (>= SDL 2.0.4) |
SDL_SYSWM_UIKIT |
||
int |
uikit.dummy |
unused (>= SDL 2.0.4) |
SDL_SYSWM_VIVANTE |
||
int |
vivante.dummy |
unused (>= SDL 2.0.5) |
Code Examples
You can add your code example here
Remarks
subsystem may be one of the following:
SDL_SYSWM_UNKNOWN |
|
SDL_SYSWM_WINDOWS |
Microsoft Windows |
SDL_SYSWM_X11 |
X Window System |
SDL_SYSWM_DIRECTFB |
|
SDL_SYSWM_COCOA |
Apple Mac OS X |
SDL_SYSWM_UIKIT |
Apple iOS |
SDL_SYSWM_WAYLAND |
Wayland (>= SDL 2.0.2) |
SDL_SYSWM_MIR |
Mir (>= SDL 2.0.2) |
SDL_SYSWM_WINRT |
WinRT (>= SDL 2.0.3) |
SDL_SYSWM_ANDROID |
Android (>= SDL 2.0.4) |
SDL_SYSWM_VIVANTE |
Vivante (>= SDL 2.0.5) |
There are currently no Cocoa or UIKit window events.
Related Enumerations