D3D8_GetCreationParameters fix
Mike Hearn
mike at navi.cx
Fri Jul 9 16:40:39 CDT 2004
On Fri, 09 Jul 2004 17:08:05 -0400, Andrei Barbu wrote:
> Even if it does it a different way, this
> is a reliable way of testing to see if we can write to a pointer, so if
> it's valid.
Actually it's not - IsBadWritePtr isn't thread safe, as it only tells you
whether the pointer was valid at the instant you called it. The docs warn
against using it for exactly that reason, hence the fact that Windows
itself uses it only rarely.
thanks -mike
More information about the wine-devel
mailing list