The required GetConnection routine gathers information about the attached display.
OSErr = Status (yourDeviceRefNum, cscGetConnection,
&theVDDisplayConnectInfoRec);
See Responding to GetConnectionInfo for more information on how to implement the GetConnection routine.