# Function Reference

# _WinAPI_ValidateRgn

Removes a region from the current update region of the specified window

#include <WinAPIGdi.au3>
_WinAPI_ValidateRgn ( $hWnd [, $hRgn = 0] )

## Parameters

$hWnd | Handle to the window whose update region is to be modified.
$hRgn | [optional] Handle to a region that defines the area to be removed from the update region. If this parameter is 0 (Default), the entire client area is removed.

## Return Value

Success: | True
Failure: | False

## See Also

Search ValidateRgn in MSDN Library.