hi,
I was asked to port the existing win2k/xp usb modem driver to windows
98/me(WDM). Now it can be successfully added, but I failed to open the modem
com port to send AT commands or simply use CreateFile routine to get the
handle. I haven’t made any progress on this for almost a month and don’t know
how to proceed.
Because of the license prohibition, I can’t paste the source code here.
If someone has some experience on window 98/me usb modem driver(WDM) and
wanna help me out, please don’t hesitate to contact me through MSN:
xxxxx@hotmail.com
Thank you so much~
Best regards
Jason
–http://www.eyou.com
–Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ Òƶ¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢…ÒÚÓÊδ¾¡
–http://vip.eyou.com
–¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû
What the error code CreateFile is returning?
-----Original Message-----
From: Jason Zhang [mailto:xxxxx@eyou.com]
Sent: Wednesday, November 24, 2004 12:35 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] porting usb modem driver
hi,
I was asked to port the existing win2k/xp usb modem driver to windows
98/me(WDM). Now it can be successfully added, but I failed to open the modem
com port to send AT commands or simply use CreateFile routine to get the
handle. I haven’t made any progress on this for almost a month and don’t
know
how to proceed.
Because of the license prohibition, I can’t paste the source code here.
If someone has some experience on window 98/me usb modem driver(WDM) and
wanna help me out, please don’t hesitate to contact me through MSN:
xxxxx@hotmail.com
Thank you so much~
Best regards
Jason
–http://www.eyou.com
–?ȶ??ɿ??ĵ??? ???ʼ? ?ƶ???ǩ ??? ???洢…???δ??
–http://vip.eyou.com
–???¼???VIP??? ע???û???
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: dsingh@in.rainbow.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
hi,
The program is blocked when calling CreateFile, so I couldn’t get any error
code.
Calling the program below, the driver first received IRP_MJ_CREATE, and open
the com port(I dunno whether it is successful, but it returned SUCCESS), then
got IRP_INTERNAL_DEVICE_CONTROL the driver doesn’t support. There is no other
IOCTL, like IOCTL_SERIAL_XXX.
---------- WinMeOpenCom.c -----------------
#include <windows.h>
#include <winbase.h>
#include <winnt.h>
void main()
{
HANDLE m_hComm = CreateFile(“COM4”, GENERIC_READ|GENERIC_WRITE, 0, NULL,
OPEN_EXISTING, FILE_FLAG_OVERLAPPED, 0);
if (INVALID_HANDLE_VALUE == m_hComm)
{
printf(“\n\nUnable to open com port (error %d)\n\n”,
GetLastError());
return;
}
CloseHandle(m_hComm);
}
-------------------------------------------
Dsingh
>What the error code CreateFile is returning?
>
>-----Original Message-----
>From: Jason Zhang [mailto:xxxxx@eyou.com]
>Sent: Wednesday, November 24, 2004 12:35 PM
>To: Windows System Software Devs Interest List
>Subject: [ntdev] porting usb modem driver
>
>
>hi,
>
> I was asked to port the existing win2k/xp usb modem driver to windows
>98/me(WDM). Now it can be successfully added, but I failed to open the
modem
>com port to send AT commands or simply use CreateFile routine to get the
>handle. I haven’t made any progress on this for almost a month and don’t
>know
>how to proceed.
>
> Because of the license prohibition, I can’t paste the source code here.
>
> If someone has some experience on window 98/me usb modem driver(WDM) and
>wanna help me out, please don’t hesitate to contact me through MSN:
>xxxxx@hotmail.com
>
> Thank you so much~
>
> Best regards
>
> Jason
>
>
>
>
>
>–http://www.eyou.com
>–Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ Òƶ¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢…ÒÚÓÊδ¾¡
>
>–http://vip.eyou.com
>–¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû
>
>
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: dsingh@in.rainbow.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>—
>Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
>To unsubscribe send a blank email to xxxxx@lists.osr.com
–http://www.eyou.com
–Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ Òƶ¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢…ÒÚÓÊδ¾¡
–http://vip.eyou.com
–¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû</winnt.h></winbase.h></windows.h>
hi, buddy
I didn’t make it clear in the former email. I should say, if you have some
experience on window 98/me usb modem driver(WDM) and wanna help me out, please
don’t hesitate to contact me through
MSN Messenger: xxxxx@hotmail.com
Sorry to bother you again, but I really need your support. This is the only
way I could find. Thanks.
Best regards
Jason
hi,
I was asked to port the existing win2k/xp usb modem driver to windows
98/me(WDM). Now it can be successfully added, but I failed to open the
modem
com port to send AT commands or simply use CreateFile routine to get the
handle. I haven’t made any progress on this for almost a month and don’t
know
how to proceed.
Because of the license prohibition, I can’t paste the source code here.
If someone has some experience on window 98/me usb modem driver(WDM) and
wanna help me out, please don’t hesitate to contact me through MSN:
xxxxx@hotmail.com
Thank you so much~
Best regards
Jason
–http://www.eyou.com
–Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ Òƶ¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢…ÒÚÓÊδ¾¡
–http://vip.eyou.com
–¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@eyou.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
–http://www.eyou.com
–Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ Òƶ¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢…ÒÚÓÊδ¾¡
–http://vip.eyou.com
–¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû