Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Behavior of InstallEventHandler differs from Reference (10.3.9)




On Jun 30, 2006, at 4:06 PM, email@hidden wrote:

When the 2nd call succeeds with same handler/spec but different data, can you confirm that the handler begins to receive the *new* data and not the old data? If so, this may simply be a mechanism for tweaking the behavior of installed handlers (and may be why it succeeds). But if the new data isn't actually passed in, I would say the install API should return an error.

If you pass the same handler but different userData, then the handler is installed twice. The handler will be called first with the new data. If it returns eventNotHandledErr, or if the event was sent with the SendToAllHandlers option, then the handler will be called again with the old data.


-eric

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Behavior of InstallEventHandler differs from Reference (10.3.9) (From: P McIlroy <email@hidden>)
 >Re: Behavior of InstallEventHandler differs from Reference (10.3.9) (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.