d3d9: Use more reasonable return values for unimplemented functions.

This commit is contained in:
Henri Verbeet 2010-10-27 11:36:17 +02:00 committed by Alexandre Julliard
parent cd957f5b64
commit c287ed2232
1 changed files with 3 additions and 3 deletions

View File

@ -444,7 +444,7 @@ static UINT WINAPI IDirect3D9ExImpl_GetAdapterModeCountEx(IDirect3D9Ex *iface,
{
FIXME("iface %p, adapter %u, filter %p stub!\n", iface, adapter, filter);
return D3DERR_DRIVERINTERNALERROR;
return E_NOTIMPL;
}
static HRESULT WINAPI IDirect3D9ExImpl_EnumAdapterModesEx(IDirect3D9Ex *iface,
@ -453,7 +453,7 @@ static HRESULT WINAPI IDirect3D9ExImpl_EnumAdapterModesEx(IDirect3D9Ex *iface,
FIXME("iface %p, adapter %u, filter %p, mode_idx %u, mode %p stub!\n",
iface, adapter, filter, mode_idx, mode);
return D3DERR_DRIVERINTERNALERROR;
return E_NOTIMPL;
}
static HRESULT WINAPI IDirect3D9ExImpl_GetAdapterDisplayModeEx(IDirect3D9Ex *iface,
@ -462,7 +462,7 @@ static HRESULT WINAPI IDirect3D9ExImpl_GetAdapterDisplayModeEx(IDirect3D9Ex *ifa
FIXME("iface %p, adapter %u, mode %p, rotation %p stub!\n",
iface, adapter, mode, rotation);
return D3DERR_DRIVERINTERNALERROR;
return E_NOTIMPL;
}
static HRESULT WINAPI DECLSPEC_HOTPATCH IDirect3D9ExImpl_CreateDeviceEx(IDirect3D9Ex *iface,