# Function Reference

# _WinAPI_GetBufferedPaintBits

Retrieves a pointer to the buffer bitmap if the buffer is a device-independent bitmap (DIB)

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

## Parameters

$hBP | Handle of the buffered paint context.

## Return Value

Success: | A pointer to the address of the buffer bitmap pixels, @extended flag will contain the width of the buffer bitmap, in pixels.
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 GetBufferedPaintBits in MSDN Library.