Commit 2a648023 authored by François Gouget's avatar François Gouget Committed by Alexandre Julliard

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

parent 11dbda6b
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include "vfw.h" #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; int n;
HRESULT hres; HRESULT hres;
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include "vfw.h" #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; int bytesline,i,n,pos;
time_t tstart,tend; time_t tstart,tend;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include "vfw.h" #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; int n=0,doabout=0,doconfigure=0;
char buf[128],type[5],handler[5]; char buf[128],type[5],handler[5];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment