Function

CVDisplayLinkGetCurrentCGDisplay

Gets the current display associated with a display link.

Declaration

CGDirectDisplayID CVDisplayLinkGetCurrentCGDisplay(CVDisplayLinkRef displayLink);

Parameters

displayLink

The display link whose current display you want to obtain.

Return Value

An identifier representing the current display. For more information on the display identifier type, see CGDirectDisplayID.

See Also

Inspecting Display Links

CVDisplayLinkGetCurrentTime

Retrieves the current (“now”) time of a given display link.

CVDisplayLinkTranslateTime

Translates the time in the display link’s time base from one representation to another.

CVDisplayLinkGetActualOutputVideoRefreshPeriod

Retrieves the actual output refresh period of a display as measured by the system time.

CVDisplayLinkGetNominalOutputVideoRefreshPeriod

Retrieves the nominal refresh period of a display link.

CVDisplayLinkGetOutputVideoLatency

Retrieves the nominal latency of a display link.

CVDisplayLinkIsRunning

Indicates whether a given display link is running.

CVDisplayLinkGetTypeID

Obtains the Core Foundation ID for the display link data type.