H. Verbeet : d3d8: IDirect3DDevice8Impl_GetPixelShaderFunction gets passed a handle instead of a pointer .