Draw a Bounding Box

I have calculated the bounding boxes of all the objects of my scene and now I want to see them, I have all the vertexs of the cubes (bounding box) of all the objects in arrays like this: D3DXVertex3 ObjectBoundMusic and I want to draw this boxes to see when they collide. How can I draw this boxes?
[353 byte] By [ZBufferMan] at [2007-12-23]
# 1
Here my code:

const unsigned short index[] = {0, 1, 1, 2, 2, 3, 3, 0,
4, 5, 5, 6, 6, 7, 7, 4,
3, 7, 2, 6, 0, 4, 1, 5};
m_pd3dDevice->SetFVF(D3DFVF_XYZ);
m_pd3dDevice->DrawIndexedPrimitiveUP(D3DPT_LINELIST, 0, 24, 12, (void *)index, D3DFMT_INDEX16, ObjectBound, sizeof(D3DXVECTOR3));

where ObjectBound is declared as follow: D3DXVECTOR3 ObjectBound[ 8 ];

Cheers,

AGPX

AGPX at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...