Hello all,
I am trying to get my head around using directx functions in Lite-C, and I am not really getting anywhere

I was wondering if anyone was willing enough to make a basic script that renders a triangle onto the screen, made purely by using directx. Also, how does 3dgs manage things like this? What would I have to do to get this triangle to become a 3dgs entity?
I am really stuck, any advice would be greatly appreciated ^^
Thanks

Adoado