How to get the handle of a Window in GLFW

kanesoban wrote on Thursday, August 13, 2015:

I am using cocos2d and by extension GLFW for a game project. I need to get the handle of the current window, but i cannot find anything in the API that shows how this can be done.

elmindreda wrote on Thursday, August 13, 2015:

The handle?

You have to include the glfw3native.h header and use the glfwGetWin32Window (GLFWwindow *window) function.
http://www.glfw.org/docs/latest/glfw3native_8h.html