Someone suggested here:

http://stackoverflow.com/questions/20025868/cgdisplayioserviceport-is-deprec
ated-in-os-x-10-9-how-to-replace?answertab=votes#tab-top

that

io_service_t service = IOServicePortFromCGDisplayID(displayID);

Could be used to replace

io_service_t service = CGDisplayIOServicePort(displayID);


But it doesn't seem to be a defined function in IOKit.

What headers to I have to import to make this work?

Thanks,

Trygve



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to