Re: Why does API search for "USBDeviceOpen" return no results?
Re: Why does API search for "USBDeviceOpen" return no results?
- Subject: Re: Why does API search for "USBDeviceOpen" return no results?
- From: Chris Espinosa <email@hidden>
- Date: Thu, 24 Jan 2008 22:42:57 -0800
On Jan 24, 2008, at 3:21 PM, Rick Mann wrote:
I'm debugging some open-source USB code that's returning an error
there (0xe00002c5). So, I try to use Xcode's documentation features
to find USBDeviceOpen(), but nothing comes up.
I'm pretty sure that when I do find the docs for USBDeviceOpen, it
won't list all the error codes it could return right there (my
biggest complaint with the API docs).
A full-text search returns some hits, but why not the API search?
Because of the funky way that USBDeviceOpen and friends are defined in
IOUSBLib.h. They're not defined as straight function calls in C or as
straight member functions in C++, but as C function members in a
struct. That way both C and C++ programmers can use them...but
neither can find them in the docs.
It'd be helpful to file a bug on the developer documentation (or use
the Feedback box on the documentation page) to tell the documentation
team; they may need to tweak their automated header indexer to find
these entry points.
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden