Description:
This function returns the current hwnd that is bound to an OpenGL context. A window is current if it was the last window to be bound to an OpenGL context by calling pglMakeCurrent.
Parameters:
HAB | hab | Handle to Anchor Block |
Return Values:
HWND | Current window that is bound to an OpenGL context |
NULL | No window is currently bound to any OpenGL context for the calling process |
Notes:
Only one current window is allowed per process.