Home > Obsolete functions > History back  Previous chapter  Next chapter  Print  

GetDC

uEye ActiveX Manual Version 4.00

GetDC

Syntax

OLE_HANDLE GetDC()

Description

GetDC() returns the windows device context handle in DirectDraw mode. All graphics commands such as line, circle, rectangle and text out from Windows are available using the device context handle. The device context handle must be released as soon as possible with the ReleaseDC() function. On each call to GetDC() a call to ReleaseDC() must follow.

Achtung

DirectDraw display functions are obsolete and should not be used anymore. We recommend to use the Direct3D functions instead (see Obsolete functions).

Parameters

<none>

Return values

Returns the DC handle of the overlay buffer (of type HDC in Win32).


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