At 09:28 AM 8/20/2004, you wrote:
Hello,All!

I'm a newbee in Palm OS development.

I have a couple of questions about VFS and Exp. Mgr:

1. Why sysNotyfyVolumeMouintedEvent registered in VFSMgr and ExpMgr with different
priority? (10 and -20 respectively. p.223 in Palm OS Programmer's Companion)
2. What means 10 and -20 priority?
3. How can I register my event with given priority?


The priority setting controls the order in which the notification is sent to registered applications. See

    http://www.palmos.com/dev/support/docs/palmos/AppStartupAndStop.html#997938

Since ExpMgr has a smaller priority number, it is notified of a volume being mounted before VFS Manager is.

You can send custom notifications, if you want. You would use the SysNotifyBroadcast and SysNotifyBroadcastDeferred APIs.


-- Ben Combee, DTS technical lead, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Palm OS Dev Fourm Archives: http://news.palmos.com/read/all_forums/



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to