The IDirect3DViewport2::LightElements method is not currently implemented.
HRESULT LightElements(
  DWORD dwElementCount,  
  LPD3DLIGHTDATA lpData  
);
 
  Windows NT: Use version 5.0 or later.
  Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in d3d.h.
  Import Library: Use ddraw.lib.