The first 2 parameters of WinMain are HINSTANCEs, not HANDLEs.

This commit is contained in:
François Gouget 2001-01-05 03:42:54 +00:00 committed by Alexandre Julliard
parent 11dbda6bf9
commit 2a6480231a
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
#include "vfw.h"
int PASCAL WinMain (HANDLE hInstance, HANDLE prev, LPSTR cmdline, int show)
int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
{
int n;
HRESULT hres;

View File

@ -28,7 +28,7 @@
#include "vfw.h"
int PASCAL WinMain (HANDLE hInstance, HANDLE prev, LPSTR cmdline, int show)
int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
{
int bytesline,i,n,pos;
time_t tstart,tend;

View File

@ -5,7 +5,7 @@
#include "vfw.h"
int PASCAL WinMain (HANDLE hInstance, HANDLE prev, LPSTR cmdline, int show)
int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
{
int n=0,doabout=0,doconfigure=0;
char buf[128],type[5],handler[5];