Did you just replace IODisplayConnect by IODPDevice and the iteration worked out of the box ?
Topic:
App & System Services
SubTopic:
Drivers
Tags: