# Function Reference

# _WinAPI_BufferedPaintClear

Clears a specified rectangle in the buffer to ARGB = {0,0,0,0}

#include <WinAPITheme.au3>
_WinAPI_BufferedPaintClear ( $hBP [, $tRECT = 0] )

## Parameters

$hBP | Handle of the buffered paint context.
$tRECT | [optional] $tagRECT structure that specifies the rectangle to clear. If this parameter is 0 (Default), the entire buffer is used.

## Return Value

Success: | 1.
Failure: | 0 and sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

## Remarks

This function requires Windows Vista or later.

## See Also

Search BufferedPaintClear in MSDN Library.