| Home > Function descriptions > | History back Previous chapter Next chapter Print |
DRGetOverlayDC |
|
uEye ActiveX Manual Version 4.00
Syntax
LONG DRGetOverlayDC (LONG* hDC)
Description
DRGetOverlayDC() returns the device context (DC) handle to the overlay area of the graphics card.
In Direct3D mode, the DRGetOverlayDC mode returns the device context (DC) handle of the overlay area. Using this handle, it is possible to access the overlay using the Windows GDI functionality. Thus, all Windows graphics commands (e.g. Line, Circle, Rectangle, TextOut) are available. To transfer the drawn elements to the overlay, release the DC handle by calling DRReleaseOverlayDC().
Parameters
hDC |
Pointer to the overlay's device context |
Return values
IS_SUCCESS |
Function executed successfully |
IS_NO_SUCCESS |
General error message |
Related functions