G
Guest
Hi all,
I'm trying to access the extended Passthru from
http://www.wd-3.com/031504/PTEx3_index.htm using C#.
Anybody know how to get the correct iocontrol codes of :
IOCTL_PTUSERIO_ENUMERATE = ?;
IOCTL_NDISPROT_OPEN_DEVICE = ?;
There is an example using with ndisprot protocol driver:
http://www.codeproject.com/csharp/SendRawPacket.asp?df=100&forumid=25245&select=1082543
// iocontrol code constants
private const uint IOCTL_NDISPROT_QUERY_BINDING = 0x12C80C;
private const uint IOCTL_NDISPROT_OPEN_DEVICE = 0x12C800;
however i dont khnow this codes are taking from where.
I'm trying to access the extended Passthru from
http://www.wd-3.com/031504/PTEx3_index.htm using C#.
Anybody know how to get the correct iocontrol codes of :
IOCTL_PTUSERIO_ENUMERATE = ?;
IOCTL_NDISPROT_OPEN_DEVICE = ?;
There is an example using with ndisprot protocol driver:
http://www.codeproject.com/csharp/SendRawPacket.asp?df=100&forumid=25245&select=1082543
// iocontrol code constants
private const uint IOCTL_NDISPROT_QUERY_BINDING = 0x12C80C;
private const uint IOCTL_NDISPROT_OPEN_DEVICE = 0x12C800;
however i dont khnow this codes are taking from where.