// d3dumddi.h
PFND3DDDI_DRAWPRIMITIVE2 Pfnd3dddiDrawprimitive2;
HRESULT Pfnd3dddiDrawprimitive2(
HANDLE hDevice,
const D3DDDIARG_DRAWPRIMITIVE2 *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DrawPrimitive2 function draws nonindexed primitives in which the Microsoft Direct3D runtime has transformed the vertex data.
hDeviceA handle to the display device (graphics context).
unnamedParam2pData [in]
A pointer to a D3DDDIARG_DRAWPRIMITIVE2 structure that describes the primitive to draw.
DrawPrimitive2 returns S_OK or an appropriate error result if the primitive is not successfully drawn.
Stream zero contains transform vertices and is the only stream that should be accessed.