Direct access to LPT port in WIN NT via TPW 1.5

Does anyone know how to get direct access to the parallel port in WIN NT
if you compile a program in TPW 1.5.

I know how to detect NT all I need is some code which will give me
access to the real hardware of the port not the virtual hardware.