Re: Menu Extras, Preference Panes, and HIServices.framework
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."