Function Reference


_WinAPI_RestoreDC

Restores a device context (DC) to the specified state

#include <WinAPIGdi.au3>
_WinAPI_RestoreDC ( $hDC, $iID )

Parameters

$hDC Handle to the DC.
$iID The saved state to be restored. If this parameter is positive, $DC represents a specific instance of the
state to be restored. If this parameter is negative, $DC represents an instance relative to the current
state. For example, (-1) restores the most recently saved state.

Return Value

Success: True
Failure: False

See Also

Search RestoreDC in MSDN Library.