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: DiskArb DiskChangedCallback bug?



Brian --

Nevermind. I was looking at the wrong API.

As for using DARegisterDiskDescriptionChangedCallback() for mounts, I think that's incorrect. DARegisterDiskDescriptionChangedCallback() is meant to track disk that are already mounted and changing either their name or path. I think your really want DARegisterDiskAppearedCallback().

-- Chris


On Jun 12, 2006, at 10:42 AM, Chris Sarcone wrote:

Brian --

   DARegisterDiskDescriptionChangedCallback(daSession, NULL, kDADiskDescriptionWatchVolumePath,
      DiskArbCallback_ChangeNotification, NULL);

The third argument is supposed to be a CFArrayRef of keys to watch, not a CFDictionaryRef. You might want to try fixing that, then retest...

-- Chris

------------------
6 Infinite Loop
M/S 306-2MS
Cupertino CA 95014
phone: (408) 974-4033
fax:   (408) 862-7577
email: email@hidden




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

------------------
6 Infinite Loop
M/S 306-2MS
Cupertino CA 95014
phone: (408) 974-4033
fax:   (408) 862-7577
email: email@hidden




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

This email sent to email@hidden

References: 
 >DiskArb DiskChangedCallback bug? (From: Brian Bergstrand <email@hidden>)
 >Re: DiskArb DiskChangedCallback bug? (From: Chris Sarcone <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.