Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: salmon.atmel.com: keith owned process doing -bs Date: Wed, 20 Aug 2003 10:30:36 -0700 (PDT) From: Keith Gudger X-Sender: keith AT salmon To: cygwin AT cygwin DOT com Subject: USB HID Examples Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I am trying to enumerate / find a particular USB HID device. I am using cygwin 1.3.22-1. I have searched the cygwin archives with no luck. The previous API I used (MSC) to get info on a HID device was: HidD_GetAttributes(), which does not seem to be supported in cygwin. A GNU/Linux example I FOTW uses ioctl's, which I'd rather not get into (which are not compatable with cygwin anyway). Can anyone on this list please direct me to an example which might help? I have gotten as far as SetupDiGetDeviceInterfaceDetail(), and opened a handle to the device (DeviceHandle=CreateFile ...). After that, I can find no function to even get the Device Descriptor (although I did find that structure...) Thank you. Keith Gudger -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/