Look up the current OpenGL context for this process. A context is 'current' if it was the last context to be bound to a window by calling pglMakeCurrent.
#include <pgl.h> HAB hab; HGC hgc; hgc = pglGetCurrentContext(hab);