Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

driver can not get serial pointer with IoGetDeviceObjectPointer()

30 views
Skip to first unread message

zhang

unread,
May 8, 2004, 11:16:32 PM5/8/04
to
I develop a pnp style driver for a non pnp device on win2000,it is good.but
on win XP,
I can install the driver,however,after system
restarting,IoGetDeviceObjectPointer() does not return STATUS_SUCCESS,but a
minus value,such as -1073741810,-1073741637,what is the problem??There is no
such problem on Win2000,
by the way,the driver is complied with win2000+2000ddk+Ds2.6,
I tried winxp+xpddk+ds2.6(or higher version),but can not compile,the error
message "Complier version not supported",
what is the problem??
Thanks in advance!!!


Steve

unread,
May 8, 2004, 9:02:15 AM5/8/04
to
Although I have no concrete suggestion,I think the driver complied with
win2000+2000ddk+Ds2.6, certainly won't work in windows XP. Try to revise and
compile it with winxp+xpddk+ds2.6.

"zhang" <peng...@tom.com> news:e2mH#YPNEH...@TK2MSFTNGP10.phx.gbl...

Doron Holan [MS]

unread,
May 8, 2004, 12:13:31 PM5/8/04
to
instead of decimal values, convert these to hex (in kd or windbg that would
be ".enable_long_status 1" w/out the quotes on the cmd prompt). You can
then look them up in ntstatus.h or use !error from the same cmd prompt).
In general, when posting NTSTATUS values, post the hex version of it.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Steve" <non_...@163.com> wrote in message
news:OBUawyPN...@TK2MSFTNGP09.phx.gbl...

zhang

unread,
May 9, 2004, 7:29:27 PM5/9/04
to
I have got the return value,it is STATUS_NO_SUCH_DEVICE,may be because some
other driver needs loading before my own driver,if so,which driver is it?
and how to make it load earlier?
Thanks a lot!!
"zhang" <peng...@tom.com> wrote in message
news:e2mH#YPNEH...@TK2MSFTNGP10.phx.gbl...

Eliyas Yakub [MSFT]

unread,
May 9, 2004, 11:13:50 AM5/9/04
to
0 new messages