Eliyas
Mon Oct 27 08:37:13 CST 2003
> 3) When I'm starting toast.exe, I get an error:
That means you are using the incomplete1 version of toaster func driver
which doesn't set handlers for create & close dispatch routines. Try the
featured1 version and you will be alright.
Do take time to read ddk documentation and Walter Oney's book before you
post your next question.
--
--
-Eliyas
This posting is provided "AS IS" with no warranties, and confers no rights.
"jens" <gratian.jens.balanescu@bundesbank.de> wrote in message
news:02b401c39c6d$19963ab0$a001280a@phx.gbl...
> 1) I have rebuilded the whole project in checked build
> environment.
> 2) I have installed bus.inf, toaster.inf and toastmon.inf
> (in this order). In Computer Management View, I can see
>
> System devices
> Toaster Bus Enumerator
> Toaster
> Microsoft Toaster
> Sample ToastMon Driver
>
> 3) When I'm starting toast.exe, I get an error:
>
> Instance ID : ROOT\TOASTER\0000
> Description: Microsoft Toaster
> FriendlyName:
>
> Instance ID : ROOT\TOASTER\0001
> Description: Sample ToastMon Driver
> FriendlyName:
>
> List of Toaster Device Interfaces
> ---------------------------------
> 1) \\?\root#toaster#0000#{781ef630-72b2-11d2-b852-
> 00c04fad5171}
>
> Opening the last interface:
> \\?\root#toaster#0000#{781ef630-72b2-11d2-b852-
> 00c04fad5171}
> Error in CreateFile: 32
>
>
> >-----Original Message-----
> >1) Did you build the driver in the checked build
> environment?
> >2) Did you make sure that both toaster.sys and
> toastmon.sys are loaded?
> >3) Are you able to open the toaster using from the
> usermode using toast.exe?
> >
> >--
> >-Eliyas
> >This posting is provided "AS IS" with no warranties, and
> confers no rights.
> >
http://www.microsoft.com/whdc/hwdev/driver/kb-drv.mspx
> >
> >"jens" <gratian.jens.balanescu@bundesbank.de> wrote in
> message
> >news:09e601c39a29$c35e2710$a401280a@phx.gbl...
> >> From the XP DDK toaster sample, I have installed Toaster
> >> Bus Enumerator and toastmon.
> >>
> >> toastmon.inf has
> >>
> >> Class=TOASTER
> >> ClassGuid={B85B7C50-6A01-11d2-B841-00C04FAD5171}
> >> %ToastMon.DRVDESC%=ToastMon_Inst,root\toastmon
> >>
> >> I started toastmon and simulated plug/unplug of a device
> >> with the enum application. The problem is that I can't
> get
> >> in DebugView traces of the Notification Callback in
> >> toastmon. Can you help me?
> >
> >
> >.
> >