Sam Lantinga 4a089ca1c8 Fixed bug 3486 - Can't get HINSTANCE of my window
realitix

SDL2 allows to create widow and to get information through SDL_SysWMinfo.
But it misses something, with Vulkan, you need the HWND and HINSTANCE of the window for Win32 system.
Sadly, SDL2 provides only HWND but not HINSTANCE.

In some context, it can be difficult to get the HINSTANCE, indeed, I'm using pySDL2 (Python) and I can only access properties that SDL2 gives me.
I have to use a dirty trick like that to get the HINSTANCE:  (https://raw.githubusercontent.com/bglgwyng/pyVulkan/master/examples/win32misc.py)
2016-11-20 21:18:55 -08:00
..
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-11-03 11:10:52 -04:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00
2016-01-02 10:10:34 -08:00