mirror of
https://github.com/reactos/wine.git
synced 2025-01-25 21:46:04 +00:00
The first 2 parameters of WinMain are HINSTANCEs, not HANDLEs.
This commit is contained in:
parent
11dbda6bf9
commit
2a6480231a
@ -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 @@
|
|||||||
#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 @@
|
|||||||
#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];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user