SDL/include
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
..
SDL.h Fixed bug 3165 - define numbers don't match types in Swift 2016-10-01 13:35:36 -07:00
SDL_assert.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_atomic.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_audio.h audio: Implemented buffer queueing for capture devices (SDL_DequeueAudio()). 2016-08-06 02:47:27 -04:00
SDL_bits.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_blendmode.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_clipboard.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_config.h Removed premake build system. 2016-11-03 11:10:52 -04:00
SDL_config.h.cmake cpuinfo: first attempt at SDL_HasNEON() implementation. 2016-11-17 01:15:16 -05:00
SDL_config.h.in cpuinfo: first attempt at SDL_HasNEON() implementation. 2016-11-17 01:15:16 -05:00
SDL_config_android.h Fixed bug 2758 - Android issues with NDK r10c and API-21 2016-10-14 06:57:55 -07:00
SDL_config_iphoneos.h Enable SDL_LoadObject on iOS 8+ and tvOS. 2016-09-25 15:02:06 -03:00
SDL_config_macosx.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_config_minimal.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_config_pandora.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_config_psp.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_config_windows.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_config_winrt.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_config_wiz.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_copying.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_cpuinfo.h cpuinfo: first attempt at SDL_HasNEON() implementation. 2016-11-17 01:15:16 -05:00
SDL_egl.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_endian.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_error.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_events.h Added SDL_DROPBEGIN and SDL_DROPCOMPLETE events, plus window IDs for drops. 2016-01-05 01:42:00 -05:00
SDL_filesystem.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_gamecontroller.h Standardized the format of the SDL joystick GUID and added functions to retrieve the USB VID/PID from a joystick and game controller. 2016-11-10 17:19:34 -08:00
SDL_gesture.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_haptic.h Fixed bug 3165 - define numbers don't match types in Swift 2016-10-01 13:35:36 -07:00
SDL_hints.h [qtwayland] Set orientation and window flags via SDL hints 2016-11-13 10:39:04 +01:00
SDL_joystick.h Standardized the format of the SDL joystick GUID and added functions to retrieve the USB VID/PID from a joystick and game controller. 2016-11-10 17:19:34 -08:00
SDL_keyboard.h Fixed two old identifiers in header comments. 2016-08-03 22:39:44 +02:00
SDL_keycode.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_loadso.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_log.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_main.h Android: Updated name of README file. 2016-04-25 22:17:38 +02:00
SDL_messagebox.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_mouse.h Added brackets to function names in header comments so that doxygen links them. 2016-08-03 22:30:31 +02:00
SDL_mutex.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_name.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_opengl.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_opengl_glext.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_opengles.h Fixed including OpenGL ES on iOS without any other SDL headers 2016-09-14 08:20:24 -07:00
SDL_opengles2.h Fixed including OpenGL ES on iOS without any other SDL headers 2016-09-14 08:20:24 -07:00
SDL_opengles2_gl2.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_opengles2_gl2ext.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_opengles2_gl2platform.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_opengles2_khrplatform.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_pixels.h Fixed comment for new pixel formats 2016-10-11 23:21:41 -07:00
SDL_platform.h Initial Apple TV / tvOS support. 2016-09-13 22:18:06 -03:00
SDL_power.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_quit.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_rect.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_render.h Fixed bug 3345 - SDL_RenderClear inconsistency with ClipRect 2016-10-01 11:46:32 -07:00
SDL_revision.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_rwops.h Fixed bug 3165 - define numbers don't match types in Swift 2016-10-01 13:35:36 -07:00
SDL_scancode.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_shape.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_stdinc.h Fixed bug 2885 - SDL_stdinc.h doesn't need to include iconv.h 2016-10-07 16:44:42 -07:00
SDL_surface.h Fixed bug 2924 - SDL_CreateRGBSurface[From] versions that take SDL_PIXELFORMAT enum 2016-10-07 17:04:58 -07:00
SDL_system.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_syswm.h Fixed bug 3486 - Can't get HINSTANCE of my window 2016-11-20 21:18:55 -08:00
SDL_test.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_test_assert.h Patch from Sylvain to fix clang warnings 2016-11-13 22:57:41 -08:00
SDL_test_common.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_test_compare.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_test_crc32.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_test_font.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_test_fuzzer.h Patch from Sylvain to fix clang warnings 2016-11-13 22:57:41 -08:00
SDL_test_harness.h Fixed build error with missing function prototype in the SDL_test_harness.h header 2016-11-13 23:09:42 -08:00
SDL_test_images.h Patch from Sylvain to fix clang warnings 2016-11-13 22:57:41 -08:00
SDL_test_log.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_test_md5.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_test_random.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_thread.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_timer.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_touch.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_types.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_version.h Updated version to 2.0.5 in preparation for release 2016-09-28 22:24:01 -07:00
SDL_video.h Fixed bug 3165 - define numbers don't match types in Swift 2016-10-01 13:35:36 -07:00
begin_code.h Fixed bug 1646 - Warnings from clang with -Weverything 2016-11-15 01:30:08 -08:00
close_code.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00