The Microsoft DrawPrimitive API
Please
click here
to view this article located under MSDN Library\Backgrounders.