user32: Implement GetWindowModuleFileName with tests

Dmitry Timoshkov dmitry at
Fri Feb 8 19:47:58 CST 2008

"Maarten Lankhorst" <m.b.lankhorst at> wrote:

> I've tried to do the GetWindowLongPtr GWLP_HINSTANCE thing but it
> seems to always return 0 in wine, which according to msdn means error,
> but it could just be not set in wine. Perhaps GWLP_HINSTANCE needs to
> be set when the window is being created?

It works just fine in Wine, have a look at dlls/user32/tests/class.c,


More information about the wine-devel mailing list