I was toying around with owner-drawn buttons and I wanted a GDI+ function to draw a rectangle with rounded corners. Once I got over the shock of realising that one didn't exist, I wrote my own.
#include <GDIPlus.au3>
#include <WinAPI.au3>
#include <WindowsConstants.au3>
_GDIPlus_Startup()
Global $hWndMain = GUICreate("Rounded Rectangles", 400, 400)
GUISetState()
Global $hDC = _WinAPI_GetDC($hWndMain)
Global $hGraphics = _GDIPlus_GraphicsCreateFromHDC($hDC)
Global $hBru