The first 2 parameters of WinMain are HINSTANCEs, not HANDLEs.
[wine] / include / dispdib.h
2000-03-24  Patrik StridvallMade the include files self sufficient.
1999-02-21  Michael Veksler- Fix headers to include less or smaller header files.
1999-02-19  Marcus MeissnerRemoved a lot of occurences of windows.h (and added...
1998-10-24  Ove KaavenImplemented DisplayDib.