Query on usage of Zwreadfile!

Hi all,

To receive Data on a TDI connection endpoint: Can i use ZwReadFile
instead of building a IRP and calling IocallDriver to send this to TCP
Problem is with ZwReadFile i am getting the error of
STATUS_INVALID_DEVICE_REQUEST(0xc0000010)

could somebody help me on this.

thanks,
KIRAN MANDAVA,