mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 14:10:32 +00:00
d3dx9: Implement D3DXCheckVersion.
This commit is contained in:
parent
e6a3d80828
commit
4f148c28a1
@ -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
|
||||
|
@ -53,6 +53,18 @@ 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==36)
|
||||
return TRUE;
|
||||
else
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* D3DXGetDriverLevel.
|
||||
* Returns always 900 (DX 9) for us
|
||||
|
Loading…
Reference in New Issue
Block a user