| DirectX SDK | 
The D3DXUninitialize function frees the resources used by Direct3DX.
HRESULT D3DXUninitialize();
If this function is successful, it returns S_OK; otherwise it returns D3DXERR_D3DXNOTSTARTEDYET.
The D3DXUninitialize function is the final call made by a Direct3DX application.
  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.