---
name: "LockWindowUpdate"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/LockWindowUpdate"
---

# LockWindowUpdate(3w)

## NAME

**LockWindowUpdate** (USER32.@)

## SYNOPSIS

BOOL LockWindowUpdate\
  (\
   HWND *hwnd*\
  )

## DESCRIPTION

Enables or disables painting in the chosen window.

## PARAMS

*hwnd* **\[In\]**  handle to a window.

## RETURNS

If successful, returns nonzero value. Otherwise, returns **0.**

## NOTES

You can lock only one window at a time.

## IMPLEMENTATION

Declared in **"winuser.h"**.

Implemented in **"dlls/user32/painting.c"**.

Debug channel **"win"**.
