Tech Support > Microsoft Windows > Drivers > Re: What is 0x220003 ?
Re: What is 0x220003 ?
Posted by Tim Roberts on June 25th, 2003


"lallous" <lallous@lgwm.org> wrote:
Before I tell you the answer, I would like to learn what methods you used
to try find the answer yourself, because it took me about 30 seconds to
find this.

USB ioctls are defined in usbioctl.h -- no big surprise there. An ioctl
code consists of multiple fields: 16 bits of device type, 2 bits of access
type, 12 bits of function code, 2 bits of access method.

In your case, 220003 means device type 0x22, function code 0. Device type
0x22 is FILE_DEVICE_UNKNOWN, which also happens to be FILE_DEVICE_USB.
Looking in usbioctl.h, I find that function code 0 is
IOCTL_INTERNAL_USB_SUBMIT_URB. So, your device is submitting a URB.

That's not a big surprise; 99% of the ioctls sent down a USB driver stack
are URBs. Your next step is to look up the URB code.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.