Home | Info | Community | Development | myReactOS | Contact Us
[static]
Definition at line 827 of file d3d9_impl.c.
{ HRESULT hResult; LPDIRECT3D9_INT This = IDirect3D9ToImpl(iface); LOCK_D3D9(); if (Adapter >= This->NumDisplayAdapters) { DPRINT1("Invalid Adapter number specified"); UNLOCK_D3D9(); return D3DERR_INVALIDCALL; } if (NULL == pCaps) { DPRINT1("Invalid pCaps parameter specified"); UNLOCK_D3D9(); return D3DERR_INVALIDCALL; } hResult = GetAdapterCaps(&This->DisplayAdapters[Adapter], DeviceType, pCaps); UNLOCK_D3D9(); return hResult; }