Hi All!
How can I open \Driver\Tcpip in user mode application using CreateFile?
Edward
Hi All!
How can I open \Driver\Tcpip in user mode application using CreateFile?
Edward
Yes, you can open the Tcp and Udp devices from user-mode using CreateFile.
Both DefineDosDevice and CreateFile are involved, and the semantics for the
arguments to pass to CreateFile for opening a device must be researched
carefully. That is work for you to do - and do it carefully.
However, there are limitations in what you can do from user-mode using this
technique.
Since the Win32 API does NOT provide any support for “Extended Attributes”
(EA Buffer), you can only open a control channel file and make IOCTL calls
like IOCTL_TCP_QUERY_INFORMATION_EX. You cannot open an address object or
connection object this way. You cannot send or receive on the handle opened
this way.
The PCAUSA TDIQ application does this. You can download TDIQ executable
from:
http://www.pcausa.com/tdisamp/tdiq.htm
Thomas F. Divine
PCAUSA - Tools & Resources For Network Software Developers
NDIS Protocol/Intermediate/Hooking - TDI Client/Filter
http: - http:
wrote in message news:xxxxx@ntdev…
>
> Hi All!
>
> How can I open \Driver\Tcpip in user mode application using CreateFile?
>
> Edward
>
></http:></http:>
What do you want to do with TCPIP?
I hope there are other ways of solving your problem.
Max
----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Tuesday, April 02, 2002 4:00 PM
Subject: [ntdev] Open \Driver\Tcpip
> Hi All!
>
> How can I open \Driver\Tcpip in user mode application using CreateFile?
>
> Edward
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>