Fixed WinMain's signature.
diff --git a/libtest/hello.c b/libtest/hello.c
index a897e94..41036cb 100644
--- a/libtest/hello.c
+++ b/libtest/hello.c
@@ -4,7 +4,7 @@
long FAR PASCAL WndProc(HWND, UINT, WPARAM, LPARAM);
-int PASCAL WinMain (HANDLE hInstance, HANDLE hPrevInst, LPSTR lpszCmdLine,
+int PASCAL WinMain (HINSTANCE hInstance, HINSTANCE hPrevInst, LPSTR lpszCmdLine,
int nCmdShow)
{
HWND hwnd;
diff --git a/libtest/hello2.c b/libtest/hello2.c
index 589f131..166eec4 100644
--- a/libtest/hello2.c
+++ b/libtest/hello2.c
@@ -1,6 +1,6 @@
#include "windows.h"
-int PASCAL WinMain (HANDLE inst, HANDLE prev, LPSTR cmdline, int show)
+int PASCAL WinMain (HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
{
return MessageBox((HWND)0,
(LPSTR)"Hello, hello!",
diff --git a/libtest/hello3.c b/libtest/hello3.c
index 462bbe3..80e077b 100644
--- a/libtest/hello3.c
+++ b/libtest/hello3.c
@@ -82,7 +82,7 @@
return 0l;
}
-int PASCAL WinMain (HANDLE inst, HANDLE prev, LPSTR cmdline, int show)
+int PASCAL WinMain (HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
{
MSG msg;
WNDCLASS class;
diff --git a/libtest/hello4.c b/libtest/hello4.c
index 08e5ff7..6e247cb 100644
--- a/libtest/hello4.c
+++ b/libtest/hello4.c
@@ -99,7 +99,7 @@
return 0l;
}
-int PASCAL WinMain (HANDLE inst, HANDLE prev, LPSTR cmdline, int show)
+int PASCAL WinMain (HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
{
HWND wnd,wnd2;
MSG msg;
diff --git a/libtest/hello5.c b/libtest/hello5.c
index 75825d0..c3047bd 100644
--- a/libtest/hello5.c
+++ b/libtest/hello5.c
@@ -4,7 +4,7 @@
#include <stdio.h>
#include <windows.h>
-int PASCAL WinMain (HANDLE inst, HANDLE prev, LPSTR cmdline, int show)
+int PASCAL WinMain (HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
{
SYSTEM_INFO si;
void (CALLBACK *fnGetSystemInfo)(LPSYSTEM_INFO si);
diff --git a/libtest/new.c b/libtest/new.c
index 63c6488..dc0b507 100644
--- a/libtest/new.c
+++ b/libtest/new.c
@@ -6,7 +6,7 @@
LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM);
LRESULT CALLBACK ChildProc (HWND, UINT, WPARAM, LPARAM);
-int PASCAL WinMain (HANDLE hInstance, HANDLE hPrevInstance,
+int PASCAL WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpszCmdParam, int nCmdShow)
{
char szAppName[] = "ClassLook" ;
diff --git a/libtest/rolex.c b/libtest/rolex.c
index ca84e99..4881600 100644
--- a/libtest/rolex.c
+++ b/libtest/rolex.c
@@ -220,7 +220,7 @@
}
}
-int PASCAL WinMain (HANDLE inst, HANDLE prev, LPSTR cmdline, int show)
+int PASCAL WinMain (HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
{
WNDCLASS class;
if(!prev)
diff --git a/libtest/vartest.c b/libtest/vartest.c
index e6a8f5b..afff0f2 100644
--- a/libtest/vartest.c
+++ b/libtest/vartest.c
@@ -101,7 +101,7 @@
#endif
-int PASCAL WinMain (HANDLE inst, HANDLE prev, LPSTR cmdline, int show)
+int PASCAL WinMain (HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
{
VARIANTARG va;
VARIANTARG vb;