© 2013 Thorlabs GmbH388
DCx Cameras
4.5.6 is_GetDC
Syntax
INT is_GetDC (HIDS hCam, HDC* phDC)
Description
Attention
This function is obsolete and should not be used anymore. We recommend to use the is_DirectRenderer()
function instead (see also Obsolete functions ).
In DirectDraw BackBuffer mode, is_GetDC() returns the device context handle of the overlay buffer. Using this
handle, it is possible to access the overlay using the Windows GDI functionality. Thus, all Windows graphics
commands such as Line, Circle, Rectangle, TextOut, … are available. You should release the device
context handle as early as possible using the is_ReleaseDC() function. While a GetDC...ReleaseDC block
is executed, the overlay buffer on the screen will not be updated.
Input parameters
Pointer to the variable that is supposed to contain the
device context handle
Return values
Function executed successfully
Related functions
is_ReleaseDC()
is_ShowDDOverlay()
is_DisableDDOverlay()
is_EnableDDOverlay()
is_GetDDOvlSurface()
is_SetDisplayMode()
198 379
403
403
446
383
384
389
322