• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why does API search for "USBDeviceOpen" return no results?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Why does API search for "USBDeviceOpen" return no results?
      • From: "Sean McBride" <email@hidden>
References: 
 >Why does API search for "USBDeviceOpen" return no results? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Regex Documentation in Xcode 3.0 ?
  • Next by Date: Re: Timing of Build Phases
  • Previous by thread: Re: Why does API search for "USBDeviceOpen" return no results?
  • Next by thread: Re: Why does API search for "USBDeviceOpen" return no results?
  • Index(es):
    • Date
    • Thread