Re: Need help top open hid device

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Tim Roberts (timr_at_probo.com)
Date: 02/27/05


Date: Sat, 26 Feb 2005 23:02:23 -0800


"Sherrie" <ww.> wrote:

>I have a problem to open a hid device
>
>HidHandle& = CreateFile _
> ( _
> HidName$, _
> GENERIC_READ Or GENERIC_WRITE, _
> FILE_SHARE_READ Or FILE_SHARE_WRITE, _
> 0&, _
> OPEN_EXISTING, _
> 0, _
> 0 _
> )
>
>I am receiving INVALID_HANDLE_VALUE
>with this error
>
> 1305 The revision level is unknown. ERROR_UNKNOWN_REVISION

How did you get this number? I'm surprised at this, because that's not one
of the GetLastError values that can be mapped from a driver error.

-- 
- Tim Roberts, timr@probo.com
  Providenza & Boekelheide, Inc