• 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: Menu Extras, Preference Panes, and HIServices.framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Menu Extras, Preference Panes, and HIServices.framework


  • Subject: Re: Menu Extras, Preference Panes, and HIServices.framework
  • From: Chris Boot <email@hidden>
  • Date: Sun, 28 Oct 2001 11:23:16 +0100

Hi Frank,

> though I'm not an assembly language expert at all, I'm quite sure about
> the number of arguments for each function:
>
> int CoreMenuExtraAddMenuExtra( CFURLRef path, int position, int whoCares,
> int whoCares2, int whoCares3, int whoCares4);
>
> int CoreMenuExtraGetMenuExtra( CFStringRef identifier, void *menuExtra);
>
> int CoreMenuExtraRemoveMenuExtra( void *menuExtra, int whoCares);
>
>
> Hope this helps.

This is exactly what I was looking for! Now I'll be spending the rest of my
day in GDB figuring out what those parameters mean. I'll post the results
of my findings here for all to enjoy.

PS: While I'm at it, how exactly are parameters passed to functions in
assembly code? And what about return values?

Thanks,

--
Chris Boot
email@hidden

"Unix is user friendly. It's just selective when choosing friends."


  • Follow-Ups:
    • Re: Menu Extras, Preference Panes, and HIServices.framework
      • From: Frank Vercruesse <email@hidden>
    • Re: Menu Extras, Preference Panes, and HIServices.framework
      • From: Finlay Dobbie <email@hidden>
References: 
 >Re: Menu Extras, Preference Panes, and HIServices.framework (From: Frank Vercruesse <email@hidden>)

  • Prev by Date: Re: NSWorkspace getInfoForFile weirdness
  • Next by Date: Re: Menu Extras, Preference Panes, and HIServices.framework
  • Previous by thread: Re: Menu Extras, Preference Panes, and HIServices.framework
  • Next by thread: Re: Menu Extras, Preference Panes, and HIServices.framework
  • Index(es):
    • Date
    • Thread