FROM : Gregory Weston
DATE : Mon Mar 24 01:06:40 2008
Herb Petschauer wrote:
> It looks like DARegisterDiskDescriptionChangedCallback() can watch for
> volume name changes if I pass it kDADiskDescriptionWatchVolumeName for
> its watch parameter. Thanks.
It should be pointed out that if your goal is to get a warning that
some cached path you're tracking has gone stale, the best answer is:
Don't cache paths. They're not reliable across any significant span
of time.
DATE : Mon Mar 24 01:06:40 2008
Herb Petschauer wrote:
> It looks like DARegisterDiskDescriptionChangedCallback() can watch for
> volume name changes if I pass it kDADiskDescriptionWatchVolumeName for
> its watch parameter. Thanks.
It should be pointed out that if your goal is to get a warning that
some cached path you're tracking has gone stale, the best answer is:
Don't cache paths. They're not reliable across any significant span
of time.
| Related mails | Author | Date |
|---|---|---|
| Michael Watson | Mar 23, 22:53 | |
| Herb Petschauer | Mar 23, 23:06 | |
| Michael Watson | Mar 23, 23:18 | |
| Gregory Weston | Mar 24, 01:06 |






Cocoa mail archive

