CreateFile on a device driver
From: sienaman (sienaman_at_discussions.microsoft.com)
Date: 08/27/04
- Next message: bsqr_TSAT: "Re: What seeds CeGenRandom?"
- Previous message: Jacky Ko: "RE: Help, can't change screen res. on my EPIA platform to 800x600"
- Next in thread: Bruce Eitman \(eMVP\): "Re: CreateFile on a device driver"
- Reply: Bruce Eitman \(eMVP\): "Re: CreateFile on a device driver"
- Reply: Paul L: "Re: CreateFile on a device driver"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 27 Aug 2004 12:39:02 -0700
Whenever I try and hFile =
CreateFile(L"MYDRIVER1:",GENERIC_READ|GENERIC_WRITE,0,NULL,OPEN_EXISTING,0,NULL)
where "MyDriver" is a driver I have built I get the following error
"The specified network resource or device is no longer available. " I am
pretty sure my driver is running because I was able to set a breakpoint in
DllMain and see that the DLL_PROCESS_ATTACH message arrives and no detach
message arrives. Also, I can see that my driver is loaded into device.exe's
memory using the remote process viewer. I have written several XP drivers but
since this my first CE driver I am a bit stumped on why my driver seems
loaded but CreateFile disagrees.
- Next message: bsqr_TSAT: "Re: What seeds CeGenRandom?"
- Previous message: Jacky Ko: "RE: Help, can't change screen res. on my EPIA platform to 800x600"
- Next in thread: Bruce Eitman \(eMVP\): "Re: CreateFile on a device driver"
- Reply: Bruce Eitman \(eMVP\): "Re: CreateFile on a device driver"
- Reply: Paul L: "Re: CreateFile on a device driver"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|