MonobjcMonobjc Documented Class Library
SetCurrentCGDisplay Method (displayLink, displayID)
NamespacesMonobjc.QuartzCoreCVDisplayLinkSetCurrentCGDisplay(IntPtr, UInt32)

Sets the current display of a display link.

Original signature is 'CVReturn CVDisplayLinkSetCurrentCGDisplay ( CVDisplayLinkRef displayLink, CGDirectDisplayID displayID );'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static int SetCurrentCGDisplay(
	IntPtr displayLink,
	uint displayID
)
Public Shared Function SetCurrentCGDisplay ( _
	displayLink As IntPtr, _
	displayID As UInteger _
) As Integer
public:
static int SetCurrentCGDisplay(
	IntPtr displayLink, 
	unsigned int displayID
)
Parameters
displayLink (IntPtr)
MISSING
displayID (UInt32)
MISSING
Return Value
A Core Video result code. See Core Video Constants Reference for possible values.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)