Hi:
In win2K ddk documentation says:
“CCPORT actually includes all the functions you would expect to find in a
VCOMM port driver and the functionality to translate those functions to
familiar WDM based IRPs.”
I want to konw which IRPs been translated because I have a wdm usb
modem/serial driver which I want they can work under win98/winMe.
My driver uses the serial IRP defined in ntddser.h in win2k/xp ddk such as
#define IOCTL_SERIAL_SET_BAUD_RATE CTL_CODE(FILE_DEVICE_SERIAL_PORT,
1,METHOD_BUFFERED,FILE_ANY_ACCESS)
#define IOCTL_SERIAL_SET_QUEUE_SIZE CTL_CODE(FILE_DEVICE_SERIAL_PORT,
2,METHOD_BUFFERED,FILE_ANY_ACCESS)
#define IOCTL_SERIAL_SET_LINE_CONTROL CTL_CODE(FILE_DEVICE_SERIAL_PORT,
3,METHOD_BUFFERED,FILE_ANY_ACCESS)
#define IOCTL_SERIAL_SET_BREAK_ON CTL_CODE(FILE_DEVICE_SERIAL_PORT,
4,METHOD_BUFFERED,FILE_ANY_ACCESS)
#define IOCTL_SERIAL_SET_BREAK_OFF CTL_CODE(FILE_DEVICE_SERIAL_PORT,
5,METHOD_BUFFERED,FILE_ANY_ACCESS)
But there is no such a file(ntddser.h) in win98 ddk, can i copy it from
win2k ddk to win98 ddk include directory?
So I don’t konw whether the IRPs that CCPORT translates matches the IRPs
that ntddser.h supports.
Any advice would be appreciated.
Thanks,
Zhang
*******************************************
本邮件已ç»è¿‡åžƒåœ¾é‚®ä»¶è¿‡æ»¤ï¼Œå¦‚å‘现垃圾
邮件,请转å‘至:xxxxx@zte.com.cn
********************************************