Mailing Lists: Apple Mailing Lists

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

ICA notifications



I hope this is the right list for this...I tried to do some searches on the archives, but it appears that searching is borked (several searches on several different lists just sat there with a spinning control "forever"). If not, feel free to point me in the better direction.

I'm using Image Capture Architecture to talk to a digital camera. I've registered for various notifications, and successfully sent messages to the camera. However, some notifications I'm getting, others I'm not.

ICARegisterForEventNotificationPB pb = {};
pb.objectOfInterest = deviceList;
pb.eventsOfInterest = (CFArrayRef)eventsOfInterest;
pb.notificationProc = icaNotificationProc;
pb.options = nil;
ICAError err = ICARegisterForEventNotification(&pb, NULL);

"eventsOfInterest" is contains various notification names, including

kICANotificationTypeDeviceAdded,
									 kICANotificationTypeDeviceRemoved,
									 kICANotificationTypeDeviceInfoChanged,
									 kICANotificationTypeDeviceWasReset,
									 kICANotificationTypeCaptureComplete,
									 kICANotificationTypeTransactionCanceled,
									 kICANotificationTypeStoreAdded,
									 kICANotificationTypeStoreRemoved,
									 kICANotificationTypeStoreFull,
									 kICANotificationTypeStoreInfoChanged,
									 kICANotificationTypeObjectAdded,

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

This email sent to 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.