Skip to content
Snippets Groups Projects
Commit 2a648023 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard
Browse files

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

parent 11dbda6b
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
......@@ -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;
......
......@@ -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];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment