# Function Reference

# _WinAPI_SaveDC

Saves the current state of the specified device context (DC) by copying data describing selected objects and graphic modes to a context stack

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

## Parameters

$hDC | Handle to the DC whose state is to be saved.

## Return Value

Success: | The value identifies the saved state.
Failure: | 0.

## See Also

Search SaveDC in MSDN Library.