# Function Reference

# _WinAPI_GetBufferedPaintTargetRect

Retrieves the target rectangle

#include <WinAPITheme.au3>
_WinAPI_GetBufferedPaintTargetRect ( $hBP )

## Parameters

$hBP | Handle of the buffered paint context.

## Return Value

Success: | $tagRECT structure that contains the rectangle specified by _WinAPI_BeginBufferedPaint() function.
Failure: | Sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

## Remarks

This function requires Windows Vista or later.

## Related

_WinAPI_BeginBufferedPaint

## See Also

Search GetBufferedPaintTargetRect in MSDN Library.