• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CGDisplayIOServicePort deprecated in 10.9... IOServicePortFromCGDisplayID?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CGDisplayIOServicePort deprecated in 10.9... IOServicePortFromCGDisplayID?


  • Subject: CGDisplayIOServicePort deprecated in 10.9... IOServicePortFromCGDisplayID?
  • From: Trygve Inda <email@hidden>
  • Date: Sun, 15 Jun 2014 21:56:55 -0700
  • Thread-topic: CGDisplayIOServicePort deprecated in 10.9... IOServicePortFromCGDisplayID?

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 (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: CGDisplayIOServicePort deprecated in 10.9... IOServicePortFromCGDisplayID?
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: UIKit and Swift
  • Next by Date: Re: CGDisplayIOServicePort deprecated in 10.9... IOServicePortFromCGDisplayID?
  • Previous by thread: Re: title bar hit test?
  • Next by thread: Re: CGDisplayIOServicePort deprecated in 10.9... IOServicePortFromCGDisplayID?
  • Index(es):
    • Date
    • Thread