Patrik Stridvall <ps(a)leissner.se> writes:
No it isn't. I'm not sure why it was added in the first place. It is neither used by Wine, nor defined by Windows.
It is in the Windows headers I have.
It is not in my Microsoft Visual C++ 6.0 header, but perhaps you have a newer version? DPlay using volatile seems a little strange, so I thought is was wrong especially since it was not in my version, but then I have seen stranger things. :-)
As you wish, but as I said HOOKPROC can't be fixed with STRICT.
Why not?
Because it would be incompatible (warning wise) with Winelib applications compile with -DSTRICT since Windows doesn't provide a special -DSTRICT version of HOOKPROC. The application might pass a FARPROC to it and expect it to work. Well, of course it works but it would generate a warning.
participants (1)
-
Patrik Stridvall