Set IDirectDrawSurface7::QueryInterface failure return based on version of interface it was created on.
Fix crash with QueryInterface on a D3D1 object.

git-svn-id: https://www.williamfeely.info/svn/dxgl@534 8a90861a-4eca-46d5-b744-240ff16d0c4d
Make D3D device QueryInterface version dependent.

git-svn-id: https://www.williamfeely.info/svn/dxgl@535 8a90861a-4eca-46d5-b744-240ff16d0c4d