Porting with OpenGL

I am porting an Unix program(with OpenGL in int) to Windows NT 4.0. Although there are some functions that maybe outdated. Can some one tell me what these functions did so I just recode it myself. These are things:
<gl/device>
qdevice
lrectwrite
gconfig
getbutton
RGBmode
winopen
prefposition
keepaspect.