Re: Failed to open USB device using CreateFile: ERROR_FILE_NOT_FOUND
- From: Tim Roberts <timr@xxxxxxxxx>
- Date: Thu, 17 Apr 2008 20:17:43 -0700
flashlib@xxxxxxxxx wrote:
Alghouh I don't if there is any problem in my code( It succeed when I
install EZUSB driver to my device, but failed with the custom driver
which is written by other people), I post it here for a deep discuss:
Do you not have source code for this driver?
DEFINE_GUID(CameraClassGuid, 0xa5dcbf10,0x6530,0x11d2,0x90,0x1f,
0x00,0xc0,0x4f,0xb9,0x51,0xed);// ??usb device
That is NOT "CameraClassGuid". That is GUID_DEVINTERFACE_USB_DEVICE. It
is assigned to your PDO by the USB hub driver. In fact, it is assigned to
EVERY device PDO by the USB hub driver.
In fact, this code works for many device. And for this device I want
to open, it works with the EZUSB driver but failed with the custom
drier. Is it possible that there is a authorization in the driver when
proccess the IRP_MJ_CREAT?
Sure, it's possible. Remember that the device's driver (for the FDO) did
not register this device interface. It didn't expect you to use it.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- Follow-Ups:
- References:
- Re: Failed to open USB device using CreateFile: ERROR_FILE_NOT_FOUND
- From: Doron Holan [MSFT]
- Re: Failed to open USB device using CreateFile: ERROR_FILE_NOT_FOUND
- From: flashlib
- Re: Failed to open USB device using CreateFile: ERROR_FILE_NOT_FOUND
- From: Doron Holan [MSFT]
- Re: Failed to open USB device using CreateFile: ERROR_FILE_NOT_FOUND
- From: flashlib
- Re: Failed to open USB device using CreateFile: ERROR_FILE_NOT_FOUND
- From: Doron Holan [MSFT]
- Re: Failed to open USB device using CreateFile: ERROR_FILE_NOT_FOUND
- From: flashlib
- Re: Failed to open USB device using CreateFile: ERROR_FILE_NOT_FOUND
- From: Tim Roberts
- Re: Failed to open USB device using CreateFile: ERROR_FILE_NOT_FOUND
- From: flashlib
- Re: Failed to open USB device using CreateFile: ERROR_FILE_NOT_FOUND
- Prev by Date: Re: How to detect the mouse horizontal scroll?
- Next by Date: Re: How to detect the mouse horizontal scroll?
- Previous by thread: Re: Failed to open USB device using CreateFile: ERROR_FILE_NOT_FOUND
- Next by thread: Re: Failed to open USB device using CreateFile: ERROR_FILE_NOT_FOUND
- Index(es):
Relevant Pages
|
Loading