Commit 4f148c28 authored by Tony Wasserka's avatar Tony Wasserka Committed by Alexandre Julliard

d3dx9: Implement D3DXCheckVersion.

parent e6a3d808
......@@ -6,7 +6,7 @@
@ stdcall D3DXBoxBoundProbe(ptr ptr ptr ptr) d3dx9_36.D3DXBoxBoundProbe
@ stdcall D3DXCheckCubeTextureRequirements(ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckCubeTextureRequirements
@ stdcall D3DXCheckTextureRequirements(ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckTextureRequirements
@ stdcall D3DXCheckVersion(long long) d3dx9_36.D3DXCheckVersion
@ stdcall D3DXCheckVersion(long long)
@ stdcall D3DXCheckVolumeTextureRequirements(ptr ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckVolumeTextureRequirements
@ stdcall D3DXCleanMesh(ptr ptr ptr ptr ptr) d3dx9_36.D3DXCleanMesh
@ stdcall D3DXColorAdjustContrast(ptr ptr long) d3dx9_36.D3DXColorAdjustContrast
......
......@@ -51,3 +51,15 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
}
return TRUE;
}
/***********************************************************************
* D3DXCheckVersion
* Checks wether we are compiling against the correct d3d and d3dx library.
*/
BOOL WINAPI D3DXCheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers)
{
if(d3dsdkvers==D3D_SDK_VERSION && d3dxsdkvers==24)
return TRUE;
else
return FALSE;
}
......@@ -6,7 +6,7 @@
@ stdcall D3DXBoxBoundProbe(ptr ptr ptr ptr) d3dx9_36.D3DXBoxBoundProbe
@ stdcall D3DXCheckCubeTextureRequirements(ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckCubeTextureRequirements
@ stdcall D3DXCheckTextureRequirements(ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckTextureRequirements
@ stdcall D3DXCheckVersion(long long) d3dx9_36.D3DXCheckVersion
@ stdcall D3DXCheckVersion(long long)
@ stdcall D3DXCheckVolumeTextureRequirements(ptr ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckVolumeTextureRequirements
@ stdcall D3DXCleanMesh(ptr ptr ptr ptr ptr) d3dx9_36.D3DXCleanMesh
@ stdcall D3DXColorAdjustContrast(ptr ptr long) d3dx9_36.D3DXColorAdjustContrast
......
......@@ -51,3 +51,15 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
}
return TRUE;
}
/***********************************************************************
* D3DXCheckVersion
* Checks wether we are compiling against the correct d3d and d3dx library.
*/
BOOL WINAPI D3DXCheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers)
{
if(d3dsdkvers==D3D_SDK_VERSION && d3dxsdkvers==25)
return TRUE;
else
return FALSE;
}
......@@ -6,7 +6,7 @@
@ stdcall D3DXBoxBoundProbe(ptr ptr ptr ptr) d3dx9_36.D3DXBoxBoundProbe
@ stdcall D3DXCheckCubeTextureRequirements(ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckCubeTextureRequirements
@ stdcall D3DXCheckTextureRequirements(ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckTextureRequirements
@ stdcall D3DXCheckVersion(long long) d3dx9_36.D3DXCheckVersion
@ stdcall D3DXCheckVersion(long long)
@ stdcall D3DXCheckVolumeTextureRequirements(ptr ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckVolumeTextureRequirements
@ stdcall D3DXCleanMesh(ptr ptr ptr ptr ptr) d3dx9_36.D3DXCleanMesh
@ stdcall D3DXColorAdjustContrast(ptr ptr long) d3dx9_36.D3DXColorAdjustContrast
......
......@@ -51,3 +51,15 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
}
return TRUE;
}
/***********************************************************************
* D3DXCheckVersion
* Checks wether we are compiling against the correct d3d and d3dx library.
*/
BOOL WINAPI D3DXCheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers)
{
if(d3dsdkvers==D3D_SDK_VERSION && d3dxsdkvers==26)
return TRUE;
else
return FALSE;
}
......@@ -6,7 +6,7 @@
@ stdcall D3DXBoxBoundProbe(ptr ptr ptr ptr) d3dx9_36.D3DXBoxBoundProbe
@ stdcall D3DXCheckCubeTextureRequirements(ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckCubeTextureRequirements
@ stdcall D3DXCheckTextureRequirements(ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckTextureRequirements
@ stdcall D3DXCheckVersion(long long) d3dx9_36.D3DXCheckVersion
@ stdcall D3DXCheckVersion(long long)
@ stdcall D3DXCheckVolumeTextureRequirements(ptr ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckVolumeTextureRequirements
@ stdcall D3DXCleanMesh(ptr ptr ptr ptr ptr) d3dx9_36.D3DXCleanMesh
@ stdcall D3DXColorAdjustContrast(ptr ptr long) d3dx9_36.D3DXColorAdjustContrast
......
......@@ -51,3 +51,15 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
}
return TRUE;
}
/***********************************************************************
* D3DXCheckVersion
* Checks wether we are compiling against the correct d3d and d3dx library.
*/
BOOL WINAPI D3DXCheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers)
{
if(d3dsdkvers==D3D_SDK_VERSION && d3dxsdkvers==27)
return TRUE;
else
return FALSE;
}
......@@ -6,7 +6,7 @@
@ stdcall D3DXBoxBoundProbe(ptr ptr ptr ptr) d3dx9_36.D3DXBoxBoundProbe
@ stdcall D3DXCheckCubeTextureRequirements(ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckCubeTextureRequirements
@ stdcall D3DXCheckTextureRequirements(ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckTextureRequirements
@ stdcall D3DXCheckVersion(long long) d3dx9_36.D3DXCheckVersion
@ stdcall D3DXCheckVersion(long long)
@ stdcall D3DXCheckVolumeTextureRequirements(ptr ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckVolumeTextureRequirements
@ stdcall D3DXCleanMesh(ptr ptr ptr ptr ptr) d3dx9_36.D3DXCleanMesh
@ stdcall D3DXColorAdjustContrast(ptr ptr long) d3dx9_36.D3DXColorAdjustContrast
......
......@@ -51,3 +51,15 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
}
return TRUE;
}
/***********************************************************************
* D3DXCheckVersion
* Checks wether we are compiling against the correct d3d and d3dx library.
*/
BOOL WINAPI D3DXCheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers)
{
if(d3dsdkvers==D3D_SDK_VERSION && d3dxsdkvers==28)
return TRUE;
else
return FALSE;
}
......@@ -6,7 +6,7 @@
@ stdcall D3DXBoxBoundProbe(ptr ptr ptr ptr) d3dx9_36.D3DXBoxBoundProbe
@ stdcall D3DXCheckCubeTextureRequirements(ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckCubeTextureRequirements
@ stdcall D3DXCheckTextureRequirements(ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckTextureRequirements
@ stdcall D3DXCheckVersion(long long) d3dx9_36.D3DXCheckVersion
@ stdcall D3DXCheckVersion(long long)
@ stdcall D3DXCheckVolumeTextureRequirements(ptr ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckVolumeTextureRequirements
@ stdcall D3DXCleanMesh(ptr ptr ptr ptr ptr) d3dx9_36.D3DXCleanMesh
@ stdcall D3DXColorAdjustContrast(ptr ptr long) d3dx9_36.D3DXColorAdjustContrast
......
......@@ -51,3 +51,15 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
}
return TRUE;
}
/***********************************************************************
* D3DXCheckVersion
* Checks wether we are compiling against the correct d3d and d3dx library.
*/
BOOL WINAPI D3DXCheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers)
{
if(d3dsdkvers==D3D_SDK_VERSION && d3dxsdkvers==29)
return TRUE;
else
return FALSE;
}
......@@ -6,7 +6,7 @@
@ stdcall D3DXBoxBoundProbe(ptr ptr ptr ptr) d3dx9_36.D3DXBoxBoundProbe
@ stdcall D3DXCheckCubeTextureRequirements(ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckCubeTextureRequirements
@ stdcall D3DXCheckTextureRequirements(ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckTextureRequirements
@ stdcall D3DXCheckVersion(long long) d3dx9_36.D3DXCheckVersion
@ stdcall D3DXCheckVersion(long long)
@ stdcall D3DXCheckVolumeTextureRequirements(ptr ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckVolumeTextureRequirements
@ stdcall D3DXCleanMesh(ptr ptr ptr ptr ptr) d3dx9_36.D3DXCleanMesh
@ stdcall D3DXColorAdjustContrast(ptr ptr long) d3dx9_36.D3DXColorAdjustContrast
......
......@@ -51,3 +51,15 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
}
return TRUE;
}
/***********************************************************************
* D3DXCheckVersion
* Checks wether we are compiling against the correct d3d and d3dx library.
*/
BOOL WINAPI D3DXCheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers)
{
if(d3dsdkvers==D3D_SDK_VERSION && d3dxsdkvers==30)
return TRUE;
else
return FALSE;
}
......@@ -6,7 +6,7 @@
@ stdcall D3DXBoxBoundProbe(ptr ptr ptr ptr) d3dx9_36.D3DXBoxBoundProbe
@ stdcall D3DXCheckCubeTextureRequirements(ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckCubeTextureRequirements
@ stdcall D3DXCheckTextureRequirements(ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckTextureRequirements
@ stdcall D3DXCheckVersion(long long) d3dx9_36.D3DXCheckVersion
@ stdcall D3DXCheckVersion(long long)
@ stdcall D3DXCheckVolumeTextureRequirements(ptr ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckVolumeTextureRequirements
@ stdcall D3DXCleanMesh(ptr ptr ptr ptr ptr) d3dx9_36.D3DXCleanMesh
@ stdcall D3DXColorAdjustContrast(ptr ptr long) d3dx9_36.D3DXColorAdjustContrast
......
......@@ -51,3 +51,15 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
}
return TRUE;
}
/***********************************************************************
* D3DXCheckVersion
* Checks wether we are compiling against the correct d3d and d3dx library.
*/
BOOL WINAPI D3DXCheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers)
{
if(d3dsdkvers==D3D_SDK_VERSION && d3dxsdkvers==31)
return TRUE;
else
return FALSE;
}
......@@ -6,7 +6,7 @@
@ stdcall D3DXBoxBoundProbe(ptr ptr ptr ptr) d3dx9_36.D3DXBoxBoundProbe
@ stdcall D3DXCheckCubeTextureRequirements(ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckCubeTextureRequirements
@ stdcall D3DXCheckTextureRequirements(ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckTextureRequirements
@ stdcall D3DXCheckVersion(long long) d3dx9_36.D3DXCheckVersion
@ stdcall D3DXCheckVersion(long long)
@ stdcall D3DXCheckVolumeTextureRequirements(ptr ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckVolumeTextureRequirements
@ stdcall D3DXCleanMesh(ptr ptr ptr ptr ptr) d3dx9_36.D3DXCleanMesh
@ stdcall D3DXColorAdjustContrast(ptr ptr long) d3dx9_36.D3DXColorAdjustContrast
......
......@@ -51,3 +51,16 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
}
return TRUE;
}
/***********************************************************************
* D3DXCheckVersion
* Checks wether we are compiling against the correct d3d and d3dx library.
*/
BOOL WINAPI D3DXCheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers)
{
if(d3dsdkvers==D3D_SDK_VERSION && d3dxsdkvers==32)
return TRUE;
else
return FALSE;
}
......@@ -6,7 +6,7 @@
@ stdcall D3DXBoxBoundProbe(ptr ptr ptr ptr) d3dx9_36.D3DXBoxBoundProbe
@ stdcall D3DXCheckCubeTextureRequirements(ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckCubeTextureRequirements
@ stdcall D3DXCheckTextureRequirements(ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckTextureRequirements
@ stdcall D3DXCheckVersion(long long) d3dx9_36.D3DXCheckVersion
@ stdcall D3DXCheckVersion(long long)
@ stdcall D3DXCheckVolumeTextureRequirements(ptr ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckVolumeTextureRequirements
@ stdcall D3DXCleanMesh(ptr ptr ptr ptr ptr) d3dx9_36.D3DXCleanMesh
@ stdcall D3DXColorAdjustContrast(ptr ptr long) d3dx9_36.D3DXColorAdjustContrast
......
......@@ -51,3 +51,16 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
}
return TRUE;
}
/***********************************************************************
* D3DXCheckVersion
* Checks wether we are compiling against the correct d3d and d3dx library.
*/
BOOL WINAPI D3DXCheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers)
{
if(d3dsdkvers==D3D_SDK_VERSION && d3dxsdkvers==33)
return TRUE;
else
return FALSE;
}
......@@ -6,7 +6,7 @@
@ stdcall D3DXBoxBoundProbe(ptr ptr ptr ptr) d3dx9_36.D3DXBoxBoundProbe
@ stdcall D3DXCheckCubeTextureRequirements(ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckCubeTextureRequirements
@ stdcall D3DXCheckTextureRequirements(ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckTextureRequirements
@ stdcall D3DXCheckVersion(long long) d3dx9_36.D3DXCheckVersion
@ stdcall D3DXCheckVersion(long long)
@ stdcall D3DXCheckVolumeTextureRequirements(ptr ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckVolumeTextureRequirements
@ stdcall D3DXCleanMesh(ptr ptr ptr ptr ptr) d3dx9_36.D3DXCleanMesh
@ stdcall D3DXColorAdjustContrast(ptr ptr long) d3dx9_36.D3DXColorAdjustContrast
......
......@@ -51,3 +51,15 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
}
return TRUE;
}
/***********************************************************************
* D3DXCheckVersion
* Checks wether we are compiling against the correct d3d and d3dx library.
*/
BOOL WINAPI D3DXCheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers)
{
if(d3dsdkvers==D3D_SDK_VERSION && d3dxsdkvers==34)
return TRUE;
else
return FALSE;
}
......@@ -6,7 +6,7 @@
@ stdcall D3DXBoxBoundProbe(ptr ptr ptr ptr) d3dx9_36.D3DXBoxBoundProbe
@ stdcall D3DXCheckCubeTextureRequirements(ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckCubeTextureRequirements
@ stdcall D3DXCheckTextureRequirements(ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckTextureRequirements
@ stdcall D3DXCheckVersion(long long) d3dx9_36.D3DXCheckVersion
@ stdcall D3DXCheckVersion(long long)
@ stdcall D3DXCheckVolumeTextureRequirements(ptr ptr ptr ptr ptr long ptr long) d3dx9_36.D3DXCheckVolumeTextureRequirements
@ stdcall D3DXCleanMesh(ptr ptr ptr ptr ptr) d3dx9_36.D3DXCleanMesh
@ stdcall D3DXColorAdjustContrast(ptr ptr long) d3dx9_36.D3DXColorAdjustContrast
......
......@@ -51,3 +51,15 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
}
return TRUE;
}
/***********************************************************************
* D3DXCheckVersion
* Checks wether we are compiling against the correct d3d and d3dx library.
*/
BOOL WINAPI D3DXCheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers)
{
if(d3dsdkvers==D3D_SDK_VERSION && d3dxsdkvers==35)
return TRUE;
else
return FALSE;
}
......@@ -6,7 +6,7 @@
@ stdcall D3DXBoxBoundProbe(ptr ptr ptr ptr) d3dx8.D3DXBoxBoundProbe
@ stub D3DXCheckCubeTextureRequirements
@ stub D3DXCheckTextureRequirements
@ stub D3DXCheckVersion
@ stdcall D3DXCheckVersion(long long)
@ stub D3DXCheckVolumeTextureRequirements
@ stub D3DXCleanMesh
@ stdcall D3DXColorAdjustContrast(ptr ptr long) d3dx8.D3DXColorAdjustContrast
......
......@@ -54,6 +54,18 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
}
/***********************************************************************
* D3DXCheckVersion
* Checks wether we are compiling against the correct d3d and d3dx library.
*/
BOOL WINAPI D3DXCheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers)
{
if(d3dsdkvers==D3D_SDK_VERSION && d3dxsdkvers==36)
return TRUE;
else
return FALSE;
}
/***********************************************************************
* D3DXGetDriverLevel.
* Returns always 900 (DX 9) for us
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment