; --------------------------------------------------------------------------------------------------
;                           d3dx8d.inc Copyright The MASM32 SDK 1998-2010
; --------------------------------------------------------------------------------------------------

IFNDEF D3DX8D_INC
D3DX8D_INC equ <1>

D3DXAssembleShader PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

D3DXAssembleShaderFromFileA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXAssembleShaderFromFile equ <D3DXAssembleShaderFromFileA>
ENDIF

D3DXAssembleShaderFromFileW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXAssembleShaderFromFile equ <D3DXAssembleShaderFromFileW>
ENDIF

D3DXAssembleShaderFromResourceA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXAssembleShaderFromResource equ <D3DXAssembleShaderFromResourceA>
ENDIF

D3DXAssembleShaderFromResourceW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXAssembleShaderFromResource equ <D3DXAssembleShaderFromResourceW>
ENDIF

D3DXBoxBoundProbe PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
D3DXCheckCubeTextureRequirements PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCheckTextureRequirements PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCheckVolumeTextureRequirements PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCleanMesh PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXColorAdjustContrast PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXColorAdjustSaturation PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXComputeBoundingBox PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXComputeBoundingSphere PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXComputeNormalMap PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXComputeNormals PROTO STDCALL :DWORD,:DWORD
D3DXComputeTangent PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXConvertMeshSubsetToSingleStrip PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXConvertMeshSubsetToStrips PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCpuOptimizations PROTO STDCALL :DWORD
D3DXCreateBox PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateBuffer PROTO STDCALL :DWORD,:DWORD
D3DXCreateCubeTexture PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

D3DXCreateCubeTextureFromFileA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXCreateCubeTextureFromFile equ <D3DXCreateCubeTextureFromFileA>
ENDIF

D3DXCreateCubeTextureFromFileExA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXCreateCubeTextureFromFileEx equ <D3DXCreateCubeTextureFromFileExA>
ENDIF

D3DXCreateCubeTextureFromFileExW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXCreateCubeTextureFromFileEx equ <D3DXCreateCubeTextureFromFileExW>
ENDIF

D3DXCreateCubeTextureFromFileInMemory PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateCubeTextureFromFileInMemoryEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

D3DXCreateCubeTextureFromFileW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXCreateCubeTextureFromFile equ <D3DXCreateCubeTextureFromFileW>
ENDIF

D3DXCreateCubeTextureFromResourceA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXCreateCubeTextureFromResource equ <D3DXCreateCubeTextureFromResourceA>
ENDIF

D3DXCreateCubeTextureFromResourceExA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXCreateCubeTextureFromResourceEx equ <D3DXCreateCubeTextureFromResourceExA>
ENDIF

D3DXCreateCubeTextureFromResourceExW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXCreateCubeTextureFromResourceEx equ <D3DXCreateCubeTextureFromResourceExW>
ENDIF

D3DXCreateCubeTextureFromResourceW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXCreateCubeTextureFromResource equ <D3DXCreateCubeTextureFromResourceW>
ENDIF

D3DXCreateCylinder PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateEffect PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD

D3DXCreateEffectFromFileA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXCreateEffectFromFile equ <D3DXCreateEffectFromFileA>
ENDIF

D3DXCreateEffectFromFileW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXCreateEffectFromFile equ <D3DXCreateEffectFromFileW>
ENDIF

D3DXCreateEffectFromResourceA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXCreateEffectFromResource equ <D3DXCreateEffectFromResourceA>
ENDIF

D3DXCreateEffectFromResourceW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXCreateEffectFromResource equ <D3DXCreateEffectFromResourceW>
ENDIF

D3DXCreateFont PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXCreateFontIndirect PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXCreateMatrixStack PROTO STDCALL :DWORD,:DWORD
D3DXCreateMesh PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateMeshFVF PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreatePMeshFromStream PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreatePolygon PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateRenderToEnvMap PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateRenderToSurface PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateSPMesh PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateSkinMesh PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateSkinMeshFVF PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateSkinMeshFromMesh PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXCreateSphere PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateSprite PROTO STDCALL :DWORD,:DWORD
D3DXCreateTeapot PROTO STDCALL :DWORD,:DWORD,:DWORD

D3DXCreateTextA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXCreateText equ <D3DXCreateTextA>
ENDIF

D3DXCreateTextW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXCreateText equ <D3DXCreateTextW>
ENDIF

D3DXCreateTexture PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

D3DXCreateTextureFromFileA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXCreateTextureFromFile equ <D3DXCreateTextureFromFileA>
ENDIF

D3DXCreateTextureFromFileExA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXCreateTextureFromFileEx equ <D3DXCreateTextureFromFileExA>
ENDIF

D3DXCreateTextureFromFileExW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXCreateTextureFromFileEx equ <D3DXCreateTextureFromFileExW>
ENDIF

D3DXCreateTextureFromFileInMemory PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateTextureFromFileInMemoryEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

D3DXCreateTextureFromFileW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXCreateTextureFromFile equ <D3DXCreateTextureFromFileW>
ENDIF

D3DXCreateTextureFromResourceA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXCreateTextureFromResource equ <D3DXCreateTextureFromResourceA>
ENDIF

D3DXCreateTextureFromResourceExA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXCreateTextureFromResourceEx equ <D3DXCreateTextureFromResourceExA>
ENDIF

D3DXCreateTextureFromResourceExW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXCreateTextureFromResourceEx equ <D3DXCreateTextureFromResourceExW>
ENDIF

D3DXCreateTextureFromResourceW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXCreateTextureFromResource equ <D3DXCreateTextureFromResourceW>
ENDIF

D3DXCreateTorus PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateVolumeTexture PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

D3DXCreateVolumeTextureFromFileA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXCreateVolumeTextureFromFile equ <D3DXCreateVolumeTextureFromFileA>
ENDIF

D3DXCreateVolumeTextureFromFileExA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXCreateVolumeTextureFromFileEx equ <D3DXCreateVolumeTextureFromFileExA>
ENDIF

D3DXCreateVolumeTextureFromFileExW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXCreateVolumeTextureFromFileEx equ <D3DXCreateVolumeTextureFromFileExW>
ENDIF

D3DXCreateVolumeTextureFromFileInMemory PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
D3DXCreateVolumeTextureFromFileInMemoryEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

D3DXCreateVolumeTextureFromFileW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXCreateVolumeTextureFromFile equ <D3DXCreateVolumeTextureFromFileW>
ENDIF

D3DXCreateVolumeTextureFromResourceA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXCreateVolumeTextureFromResource equ <D3DXCreateVolumeTextureFromResourceA>
ENDIF

D3DXCreateVolumeTextureFromResourceExA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXCreateVolumeTextureFromResourceEx equ <D3DXCreateVolumeTextureFromResourceExA>
ENDIF

D3DXCreateVolumeTextureFromResourceExW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXCreateVolumeTextureFromResourceEx equ <D3DXCreateVolumeTextureFromResourceExW>
ENDIF

D3DXCreateVolumeTextureFromResourceW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXCreateVolumeTextureFromResource equ <D3DXCreateVolumeTextureFromResourceW>
ENDIF

D3DXDeclaratorFromFVF PROTO STDCALL :DWORD,:DWORD
D3DXFVFFromDeclarator PROTO STDCALL :DWORD,:DWORD
D3DXFillCubeTexture PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXFillTexture PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXFillVolumeTexture PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXFilterTexture PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
D3DXFresnelTerm PROTO STDCALL :DWORD,:DWORD
D3DXGeneratePMesh PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

D3DXGetErrorStringA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXGetErrorString equ <D3DXGetErrorStringA>
ENDIF

D3DXGetErrorStringW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXGetErrorString equ <D3DXGetErrorStringW>
ENDIF

D3DXGetFVFVertexSize PROTO STDCALL :DWORD

D3DXGetImageInfoFromFileA PROTO STDCALL :DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXGetImageInfoFromFile equ <D3DXGetImageInfoFromFileA>
ENDIF

D3DXGetImageInfoFromFileInMemory PROTO STDCALL :DWORD,:DWORD,:DWORD

D3DXGetImageInfoFromFileW PROTO STDCALL :DWORD,:DWORD
IFDEF __UNICODE__
  D3DXGetImageInfoFromFile equ <D3DXGetImageInfoFromFileW>
ENDIF

D3DXGetImageInfoFromResourceA PROTO STDCALL :DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXGetImageInfoFromResource equ <D3DXGetImageInfoFromResourceA>
ENDIF

D3DXGetImageInfoFromResourceW PROTO STDCALL :DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXGetImageInfoFromResource equ <D3DXGetImageInfoFromResourceW>
ENDIF

D3DXIntersect PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXIntersectSubset PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXIntersectTri PROTO C :VARARG
D3DXLoadMeshFromX PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXLoadMeshFromXof PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXLoadSkinMeshFromXof PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

D3DXLoadSurfaceFromFileA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXLoadSurfaceFromFile equ <D3DXLoadSurfaceFromFileA>
ENDIF

D3DXLoadSurfaceFromFileInMemory PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

D3DXLoadSurfaceFromFileW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXLoadSurfaceFromFile equ <D3DXLoadSurfaceFromFileW>
ENDIF

D3DXLoadSurfaceFromMemory PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

D3DXLoadSurfaceFromResourceA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXLoadSurfaceFromResource equ <D3DXLoadSurfaceFromResourceA>
ENDIF

D3DXLoadSurfaceFromResourceW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXLoadSurfaceFromResource equ <D3DXLoadSurfaceFromResourceW>
ENDIF

D3DXLoadSurfaceFromSurface PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

D3DXLoadVolumeFromFileA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXLoadVolumeFromFile equ <D3DXLoadVolumeFromFileA>
ENDIF

D3DXLoadVolumeFromFileInMemory PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

D3DXLoadVolumeFromFileW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXLoadVolumeFromFile equ <D3DXLoadVolumeFromFileW>
ENDIF

D3DXLoadVolumeFromMemory PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

D3DXLoadVolumeFromResourceA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXLoadVolumeFromResource equ <D3DXLoadVolumeFromResourceA>
ENDIF

D3DXLoadVolumeFromResourceW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXLoadVolumeFromResource equ <D3DXLoadVolumeFromResourceW>
ENDIF

D3DXLoadVolumeFromVolume PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixAffineTransformation PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixInverse PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXMatrixLookAtLH PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixLookAtRH PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixMultiply PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXMatrixMultiplyTranspose PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXMatrixOrthoLH PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixOrthoOffCenterLH PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixOrthoOffCenterRH PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixOrthoRH PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixPerspectiveFovLH PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixPerspectiveFovRH PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixPerspectiveLH PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixPerspectiveOffCenterLH PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixPerspectiveOffCenterRH PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixPerspectiveRH PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixReflect PROTO STDCALL :DWORD,:DWORD
D3DXMatrixRotationAxis PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXMatrixRotationQuaternion PROTO STDCALL :DWORD,:DWORD
D3DXMatrixRotationX PROTO STDCALL :DWORD,:DWORD
D3DXMatrixRotationY PROTO STDCALL :DWORD,:DWORD
D3DXMatrixRotationYawPitchRoll PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixRotationZ PROTO STDCALL :DWORD,:DWORD
D3DXMatrixScaling PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixShadow PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXMatrixTransformation PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixTranslation PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
D3DXMatrixTranspose PROTO STDCALL :DWORD,:DWORD
D3DXMatrixfDeterminant PROTO STDCALL :DWORD
D3DXPlaneFromPointNormal PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXPlaneFromPoints PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
D3DXPlaneIntersectLine PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
D3DXPlaneNormalize PROTO STDCALL :DWORD,:DWORD
D3DXPlaneTransform PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXQuaternionBaryCentric PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXQuaternionExp PROTO STDCALL :DWORD,:DWORD
D3DXQuaternionInverse PROTO STDCALL :DWORD,:DWORD
D3DXQuaternionLn PROTO STDCALL :DWORD,:DWORD
D3DXQuaternionMultiply PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXQuaternionNormalize PROTO STDCALL :DWORD,:DWORD
D3DXQuaternionRotationAxis PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXQuaternionRotationMatrix PROTO STDCALL :DWORD,:DWORD
D3DXQuaternionRotationYawPitchRoll PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
D3DXQuaternionSlerp PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
D3DXQuaternionSquad PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXQuaternionSquadSetup PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXQuaternionToAxisAngle PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXSaveMeshToX PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

D3DXSaveSurfaceToFileA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXSaveSurfaceToFile equ <D3DXSaveSurfaceToFileA>
ENDIF

D3DXSaveSurfaceToFileW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXSaveSurfaceToFile equ <D3DXSaveSurfaceToFileW>
ENDIF

D3DXSaveTextureToFileA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXSaveTextureToFile equ <D3DXSaveTextureToFileA>
ENDIF

D3DXSaveTextureToFileW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXSaveTextureToFile equ <D3DXSaveTextureToFileW>
ENDIF

D3DXSaveVolumeToFileA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  D3DXSaveVolumeToFile equ <D3DXSaveVolumeToFileA>
ENDIF

D3DXSaveVolumeToFileW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  D3DXSaveVolumeToFile equ <D3DXSaveVolumeToFileW>
ENDIF

D3DXSimplifyMesh PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXSphereBoundProbe PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
D3DXSplitMesh PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXTessellateNPatches PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXValidMesh PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXVec2BaryCentric PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXVec2CatmullRom PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXVec2Hermite PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXVec2Normalize PROTO STDCALL :DWORD,:DWORD
D3DXVec2Transform PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXVec2TransformCoord PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXVec2TransformNormal PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXVec3BaryCentric PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXVec3CatmullRom PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXVec3Hermite PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXVec3Normalize PROTO STDCALL :DWORD,:DWORD
D3DXVec3Project PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXVec3Transform PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXVec3TransformCoord PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXVec3TransformNormal PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXVec3Unproject PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXVec4BaryCentric PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXVec4CatmullRom PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXVec4Cross PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
D3DXVec4Hermite PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
D3DXVec4Normalize PROTO STDCALL :DWORD,:DWORD
D3DXVec4Transform PROTO STDCALL :DWORD,:DWORD,:DWORD
D3DXWeldVertices PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

ELSE
  echo -----------------------------------------
  echo WARNING duplicate include file d3dx8d.inc
  echo -----------------------------------------
ENDIF
