NVIDIA Corporation
Frame Synchronization User’s Guide
– Version 3.0
29
C
HAPTER
3
Using the OpenGL Extensions
wglEnableGenlockI3D
This call enables genlock for all monitors connected to a device (device context
hDC
) of an
OpenGL window. There is only a single genlock device for each graphics adapter
regardless of the number of monitors supported by the adapter.
wglDisableGenlockI3D
This call disables genlock for a monitor.
wglIsEnabledGenlockI3D
This call queries the current genlock enable/disable state
Function
BOOL wglEnableGenlockI3D(HDC hDC)
Parameters In
hDC
- Device context for the frame lock card, or a window residing on the
frame lock card.
Return Values
TRUE: Success
FALSE: Failure
Function
BOOL wglDisableGenlockI3D(HDC hDC)
Parameters In
hDC
- Device context for the frame lock card, or a window residing on the
frame lock card.
Return Values
TRUE:
Success
FALSE:
Failure
Function
BOOL wglIsEnabledGenlockI3D(HDC hDC, BOOL *pFlag)
Parameters In
hDC
- Device context for the frame lock card, or a window residing on the
frame lock card.
Parameters Out
*pFlag
: -
0 = Genlock is disabled.
1 = Genlock is enabled.
Return Values
TRUE:
Success
FALSE:
Failure