The first 2 parameters of WinMain are HINSTANCEs, not HANDLEs.
[wine] / include / docobj.h
2000-02-10  Jeremy WhiteRemoved #include of wingdi.h and windef.h from winuser...
1999-10-23  Francois GougetDefine the COM macros even in C++.
1999-07-24  Paul QuinnAdd a few stubs, some C++ compatibility, and fix a...
1999-07-10  Juergen SchmiedSmall fixes.
1999-04-25  Jim AstonAdded some missing #defines I've run across.
1999-04-10  Juergen SchmiedNew interfaces for IOleCommandTarget, IDropTarget,...
1999-03-25  Paul QuinnCreation of docobj.h.