-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 2014-08-18 14:37, schrieb Stefan Dösinger:
I remember that there was an application (Anarchy Online if my
memory serves me right) that detected if a surface was locked by
calling GetSurfaceDesc and checking if lpSurface was NULL. I'll do
some testing on real HW and different IDirectDrawSurface versions.
The app in question was Dungeon Keeper 2:
https://www.winehq.org/pipermail/wine-patches/2007-May/039168.html
Testing on my AMD Radeon HD 5770 confirms the findings from the VM:
GetSurfaceDesc returns lpSurface == NULL. IDirectDrawSurface7 behaves
in the same way.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird -
http://www.enigmail.net/
iQIcBAEBAgAGBQJT8gx2AAoJEN0/YqbEcdMwxRQQAJNU+yYFGJO6MV7kOBbPVCDQ
VAked5UMNhGPDPuR/V0DpsBQe5qUmoVMaQ9jclsgyAIgaQSElB34W8yUVf9V2vsc
jdMJDSyWjYhcWnrMSK2c5z3WiYa5/To7mXc5o/Id6LCIdEF2piKHAlf6PIJQGDOF
SV7WWc5jbyvRyYifDHeKN+fm/mOzUBpiIZmgErifLd832YJwPcQvfvpMEHmlGROC
gWF7Uwqg0eulwSyz5WYDvqpzRRCAMk2VZfAl2j9nCBHfJ7A1uHNb5iRu2Mai/UrZ
tefLXgmGRY88gDayD9z7Ync1C/3d6TbxQI7WqYLIQo4GPAHBIa/uaAE8C6pNcbMp
ZTPcP/04D3bat+yxghqPCGU6HLGZlongL82O463bZsCIK3ya3+DIfBL45wPnZQ4m
htPJtattJWfhkYMZYfnnc+n5ZI7j32qrP8667Dvc9WBJPu0viXVJB0k5qKo2PHYd
slifCafGsyipbJiK6GRRjsQHEktMPzbVi2At/gJ9UYc3AVztxyc/MIMBvPFdgKxa
ZokHWsNYZXq164Rq10k57Ydfc/dcSzkDEscWBwdnVLP6nsJG6Kx8GIrgZVNXofma
PeeNgwy/7xyaUeoeg3ineVxlLrcgyCCqQceCYegHxaqE9ChjbHI/USCCtoc6k2Zt
MRHoSIPilAChUEH22FNW
=xr8j
-----END PGP SIGNATURE-----