Configurations can be listed through pglQueryConfigs.
Direct context- bypasses PM when displaying OpenGL rendering. Not available on all OS/2 configurations. If IsDirect parameter is TRUE, but a direct context is not available, an indirect context will be created. pglIsIndirect can be called to see if an OpenGL context is direct or indirect.
Indirect context - uses GpiBitBlt to get image to screen. Allows access to a PM bitmap containing OpenGL rendered image. The PM Bitmap is not guaranteed to contain any OpenGL rendering until the OpenGL graphics pipeline has been flushed (glFlush , pglSwapBuffers or pglWaitGL). If ShareList is not NULL, then all display list definitions are shared by ShareList and the newly created context. An arbitrary number of contexts can share display lists, but each context must be owned by the same process.