This function will return what type of context hgc is. The hgc parameter must have been returned from pglCreateContext.
#include <pgl.h> HAB hab; HGC hgc; LONG rc; rc = pglIsIndirect(hab, hgc);