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