Re: CreateFile on a device driver
From: Paul L (nospam_at_nospam.org)
Date: 08/30/04
- Next message: howe: "Re: Vga Linear[flat]"
- Previous message: K. S. Huang: "Re: ActiveSync by IRDA in WinCE .NET ?"
- In reply to: sienaman: "CreateFile on a device driver"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 29 Aug 2004 17:50:02 -0700
If you want good template for working CE drivers, run the driver Wizard at
http://www.codetelligence.com/productsCE.htm
It's a free download.
Paul L
www.codetelligence.com
"sienaman" <sienaman@discussions.microsoft.com> wrote in message
news:959DE913-B2A9-41B6-8E55-2E73B7AB9E45@microsoft.com...
> 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: howe: "Re: Vga Linear[flat]"
- Previous message: K. S. Huang: "Re: ActiveSync by IRDA in WinCE .NET ?"
- In reply to: sienaman: "CreateFile on a device driver"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|