Reference

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".

History