# Function Reference

# _WinAPI_LockWindowUpdate

Disables or enables drawing in the specified window

#include <WinAPIGdi.au3>
_WinAPI_LockWindowUpdate ( $hWnd )

## Parameters

$hWnd | Handle to the window in which drawing will be disabled. If this parameter is 0, drawing in the locked window is enabled.

## Return Value

Success: | True
Failure: | False

## Remarks

Only one window can be locked at a time by using this function.

## See Also

Search LockWindowUpdate in MSDN Library.