> ----------
From: Paul “TBBle” Hampson[SMTP:xxxxx@Pobox.Com]
Reply To: NT Developers Interest List
Sent: Wednesday, February 28, 2001 5:48 PM
To: NT Developers Interest List
Subject: [ntdev] Win2K and NT4 intermediate Q’s, plus one or two
others.Trying to port a Win2K intermediate driver to NT4…
DriverEntry is being called, but ProtocolBindAdapter isn’t. The status at
the end
of DriverEntry is 0, so I dunno what’s wrong. Is NT4 that different
underneath to
Win2K in that respect?
It is probably caused by incorrect registry configuration i.e. oemsetup.inf
file. Writting correct one is probably the most difficult part of NT4 IM
driver development. You can temporarily create correct adapter information
by hand, it will work until binding engine is called (so don’t touch NCPA).
Admittedly, if ProtocolBindAdapter is called, it’ll reject the bindings
since I’m
using the imsamp oemsetup.inf file with just our .sys instead, but the
problem is
it’s not even getting started.
It is called only when some adapter for your driver is found.
(We’re busy removing all the PnP code so that it’ll compile under Win98
DDK…)Also, under Win2K, our notify DLL is unable to remove our driver without a
reboot,
and the miniport-part seems to be locked in memory due to a process
waiting
on an
event from (somewhere) in a call to PtGetRelatedDevice (I think, I forgot
about
this problem until recently, and we’re focussing on the OS porting right
now)
There are some bugs. I’m not sure what exactly do you mean by ‘remove
driver’ (uninstall or just unload?). As a workaround I disable all drivers’
devices and OS unloads driver automatically. It can be uninstalled without
problems in this state. Also, if you want just reload it, update image,
re-enable devices and OS will load it back. I’m not sure if there are some
additional problems when notify DLL is used, I have a NDIS filter driver and
there is (fortunately!) no need for notify DLL.
Best regards,
Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com