The parameters cxBorder and cyBorder can be passed as 0. When both are 0, the interior must still be drawn. When the X-borders and Y-borders overlap, the border is drawn as a single rectangle with no interior.
GreDrawBorder is a BitBlt accelerator and is similar in function and limitation to GreBitblt, GreDeviceSetAttributes, and GreSetAttributes.
See the Presentation Manager Programming Reference for a description of the WinDrawBorder function.