| DirectX SDK | 
The ID3DXSimpleShape::GetIndices method is used to obtain index information from shape objects.
DWORD GetIndices( LPWORD* ppIndices );
This method returns the number of indices in the index list.
The values in the index list are used to index into a vertex list when creating geometry to render.
  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Version: Requires DirectX 7.0.
  Header: Declared in d3dxshapes.h.
  Library: Use d3dx.lib.