NVIDIA Corporation
Frame Synchronization User’s Guide
– Version 3.0
33
C
HAPTER
3
Using the OpenGL Extensions
wglGetGenlockSourceDelayI3D
This call queries the current trigger pulse delay.
wglQueryGenlockMaxSourceDelayI3D
This call queries the maximum line and pixel delay. Use these values to calculate the
maximum trigger pulse delay (
maxDelay
), using the equation
maxDelay
= (
maxLineDelay
) x (
maxPixelDelay
).
Function
BOOL wglGetGenlockSourceDelayI3D(HDC hDC, UINT *uDelay)
Parameters In
hDC
- Device context for the frame lock card, or a window residing on the
frame lock card.
Parameters Out
*uDelay
- The delay, in pixels, from the sync source trigger edge to the
actual trigger pulse.
Return Values
TRUE:
Success
FALSE:
Failure
Function
BOOL wglQueryGenlockMaxSourceDelayI3D(HDC hDC,
UINT *uMaxLineDelay,
UINT *uMaxPixelDelay)
Parameters In
hDC
- Device context for the frame lock card, or a window residing on the
frame lock card.
Parameters Out
*uMaxLineDelay
- The maximum number of raster scan lines per frame.
This includes all visible and non-visible lines—such as
vertical blanking lines— for all fields.
*uMaxPixelDelay
- The maximum number of pixels per raster scan
line. This includes all visible and non-visible pixels
such as horizontal blank.
Return Values
TRUE:
Success
FALSE:
Failure