| DirectX SDK | 
The D3DXGetErrorString function prints out an error string given an HRESULT.
void D3DXGetErrorString( HRESULT hr, DWORD strLength, LPSTR pStr );
None.
The D3DXGetErrorString function prints Win32, DirectX 6.0, and Direct3DX error messages.
  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 d3dxcore.h.
  Library: Use d3dx.lib.