https://bugs.winehq.org/show_bug.cgi?id=14897
--- Comment #14 from Henri Verbeet hverbeet@gmail.com --- (In reply to Kimmo Myllyvirta from comment #13)
Is setting the dwSize actually required when calling IDirectDrawSurface7::Lock?
The tests in StructSizeTest() in ddraw/tests/dsurface.c at least suggest so. There's a chance the size check is supposed to less strict than what's currently there, but it doesn't seem very likely.
Any chance that "3403136" (or 0x33ed80 in hexadecimal...) is a bit less random than it appears at first sight? It looks like it could have been a stack address.