Home > Function descriptions > History back  Previous chapter  Next chapter  Print  

DRGetOverlayDC

uEye ActiveX Manual Version 4.00

DRGetOverlayDC

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

DRReleaseOverlayDC()

DirectRenderer()

IsDirectRendererSupported()


Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!

For technical questions please contact you local distributor or use the support form on our website.


© 2012 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com