Bug 157080 releng warnings in the carbon plug-in
bundles/org.eclipse.ui.carbon/src/org/eclipse/ui/carbon/CarbonUIEnhancer.java
OS.typeHICommand, null, HICommand.sizeof, null, command);
                    switch (command.commandID) {
                    case kHICommandPreferences:
                        return runAction("preferences"); 
                    case kHICommandAbout:
                        return runAction("about"); 
                    default:
                        break;
                    }
                }
                return OS.eventNotHandledErr;
            }
        };
        final Callback commandCallback = new Callback(target, "commandProc", 3); 
        int commandProc = commandCallback.getAddress();
        if (commandProc == 0) {
            commandCallback.dispose();
            return; 
        }
        
        int[] mask = new int[] { OS.kEventClassCommand, OS.kEventProcessCommand };
        OS.InstallEventHandler(OS.GetApplicationEventTarget(), commandProc,
                mask.length / 2, mask, 0, null);
        
        int[] outMenu = new int[1];
        short[] outIndex = new short[1];
        if (OS.GetIndMenuItemWithCommandID(0, kHICommandPreferences, 1, outMenu, outIndex) == OS.noErr
                && outMenu[0] != 0) {
            int menu = outMenu[0];
            int l = fAboutActionName.length();