Function Reference


Creates a memory device context compatible with the specified device

#include <WinAPIGdiDC.au3>
_WinAPI_CreateCompatibleDC ( $hDC )


$hDC Handle to an existing DC. If this handle is 0, the function creates a memory DC compatible with the application's current screen.

Return Value

Success: Handle to a memory DC
Failure: 0


When you no longer need the memory DC, call the _WinAPI_DeleteDC() function



See Also

Search CreateCompatibleDC in MSDN Library.