Commit ae21e301 authored by H. Verbeet's avatar H. Verbeet Committed by Alexandre Julliard

wined3d: Implement GetCreationParameters (from a patch by Al Tobey).

parent 270afeb5
...@@ -6531,13 +6531,9 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetDialogBoxMode(IWineD3DDevice *iface, BOOL b ...@@ -6531,13 +6531,9 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetDialogBoxMode(IWineD3DDevice *iface, BOOL b
HRESULT WINAPI IWineD3DDeviceImpl_GetCreationParameters(IWineD3DDevice *iface, D3DDEVICE_CREATION_PARAMETERS *pParameters) { HRESULT WINAPI IWineD3DDeviceImpl_GetCreationParameters(IWineD3DDevice *iface, D3DDEVICE_CREATION_PARAMETERS *pParameters) {
IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *) iface; IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *) iface;
TRACE("(%p) : pParameters %p\n", This, pParameters);
FIXME("(%p) : stub\n", This); *pParameters = This->createParms;
/* Setup some reasonable defaults */
pParameters->AdapterOrdinal = 0; /* always for now */
pParameters->DeviceType = D3DDEVTYPE_HAL; /* always for now */
pParameters->hFocusWindow = 0;
pParameters->BehaviorFlags =0;
return D3D_OK; return D3D_OK;
} }
......
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