Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7656b145
Commit
7656b145
authored
Oct 31, 2002
by
Eric Pouech
Committed by
Alexandre Julliard
Oct 31, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Split between 16 / 32 bit code.
parent
1e85f708
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
57 additions
and
28 deletions
+57
-28
Makefile.in
dlls/msvideo/Makefile.in
+1
-1
drawdib.c
dlls/msvideo/drawdib.c
+1
-1
msvideo.spec
dlls/msvideo/msvideo.spec
+3
-1
msvideo16.c
dlls/msvideo/msvideo16.c
+0
-0
msvideo_main.c
dlls/msvideo/msvideo_main.c
+0
-0
msvideo_private.h
dlls/msvideo/msvideo_private.h
+52
-0
vfw16.h
dlls/msvideo/vfw16.h
+0
-8
vfw.h
include/vfw.h
+0
-17
No files found.
dlls/msvideo/Makefile.in
View file @
7656b145
...
...
@@ -17,7 +17,7 @@ C_SRCS = \
C_SRCS16
=
\
msvideo16.c
EXTRA_OBJS
=
$(MODULE)
.glue.o
EXTRA_OBJS
16
=
$(MODULE)
.glue.o
@MAKE_DLL_RULES@
...
...
dlls/msvideo/drawdib.c
View file @
7656b145
...
...
@@ -28,7 +28,7 @@
#include "wine/winbase16.h"
#include "wine/debug.h"
#include "vfw.h"
#include "
vfw16
.h"
#include "
msvideo_private
.h"
#include "windef.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
msvideo
);
...
...
dlls/msvideo/msvideo.spec
View file @
7656b145
2 pascal VideoForWindowsVersion() VideoForWindowsVersion
20 stub VIDEOGETNUMDEVS
21 stub VIDEOGETERRORTEXT
22 pascal VideoCapDriverDescAndVer(word ptr word ptr word) VideoCapDriverDescAndVer
22 pascal VideoCapDriverDescAndVer(word ptr word ptr word) VideoCapDriverDescAndVer
16
28 stub VIDEOOPEN
29 stub VIDEOCLOSE
30 stub VIDEODIALOG
...
...
@@ -64,3 +64,5 @@
251 stub _MCIWNDREGISTERCLASS
252 stub GETOPENFILENAMEPREVIEW
253 stub GETSAVEFILENAMEPREVIEW
300 pascal DllEntryPoint(long word word word long word) VIDEO_LibMain
dlls/msvideo/msvideo16.c
View file @
7656b145
This diff is collapsed.
Click to expand it.
dlls/msvideo/msvideo_main.c
View file @
7656b145
This diff is collapsed.
Click to expand it.
dlls/msvideo/msvideo_private.h
0 → 100644
View file @
7656b145
/*
* Copyright 1999 Marcus Meissner
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __WINE_MSVIDEO_PRIVATE_H
#define __WINE_MSVIDEO_PRIVATE_H
/* HIC struct (same layout as Win95 one) */
typedef
struct
tagWINE_HIC
{
DWORD
magic
;
/* 00: 'Smag' */
HANDLE
curthread
;
/* 04: */
DWORD
type
;
/* 08: */
DWORD
handler
;
/* 0C: */
HDRVR
hdrv
;
/* 10: */
DWORD
private
;
/* 14:(handled by SendDriverMessage)*/
DRIVERPROC
driverproc
;
/* 18:(handled by SendDriverMessage)*/
DWORD
x1
;
/* 1c: name? */
WORD
x2
;
/* 20: */
DWORD
x3
;
/* 22: */
/* 26: */
DRIVERPROC16
driverproc16
;
/* Wine specific flags */
}
WINE_HIC
;
HIC
MSVIDEO_OpenFunction
(
DWORD
,
DWORD
,
UINT
,
DRIVERPROC
,
DRIVERPROC16
);
LRESULT
MSVIDEO_SendMessage
(
HIC
,
UINT
,
DWORD
,
DWORD
);
extern
LRESULT
(
CALLBACK
*
pFnCallTo16
)(
HDRVR
,
HIC
,
UINT
,
LPARAM
,
LPARAM
);
/* handle16 --> handle conversions */
#define HDRAWDIB_32(h16) ((HDRAWDIB)(ULONG_PTR)(h16))
#define HIC_32(h16) ((HIC)(ULONG_PTR)(h16))
/* handle --> handle16 conversions */
#define HDRVR_16(h32) (LOWORD(h32))
#define HDRAWDIB_16(h32) (LOWORD(h32))
#define HIC_16(h32) (LOWORD(h32))
#endif
/* __WINE_MSVIDEO_PRIVATE_H */
dlls/msvideo/vfw16.h
View file @
7656b145
...
...
@@ -118,14 +118,6 @@ HIC16 VFWAPI ICOpen16(DWORD,DWORD,UINT16);
HIC16
VFWAPI
ICOpenFunction16
(
DWORD
,
DWORD
,
UINT16
,
FARPROC16
);
LRESULT
VFWAPI
ICSendMessage16
(
HIC16
,
UINT16
,
DWORD
,
DWORD
);
/* handle16 --> handle conversions */
#define HDRAWDIB_32(h16) ((HDRAWDIB)(ULONG_PTR)(h16))
#define HIC_32(h16) ((HIC)(ULONG_PTR)(h16))
/* handle --> handle16 conversions */
#define HDRAWDIB_16(h32) (LOWORD(h32))
#define HIC_16(h32) (LOWORD(h32))
#ifdef __cplusplus
}
#endif
/* __cplusplus */
...
...
include/vfw.h
View file @
7656b145
...
...
@@ -47,23 +47,6 @@ typedef struct IGetFrame IGetFrame,*PGETFRAME;
DECLARE_HANDLE
(
HIC
);
#ifdef __WINE__
/* HIC struct (same layout as Win95 one) */
typedef
struct
tagWINE_HIC
{
DWORD
magic
;
/* 00: 'Smag' */
HANDLE
curthread
;
/* 04: */
DWORD
type
;
/* 08: */
DWORD
handler
;
/* 0C: */
HDRVR
hdrv
;
/* 10: */
DWORD
private
;
/* 14:(handled by SendDriverMessage)*/
FARPROC
driverproc
;
/* 18:(handled by SendDriverMessage)*/
DWORD
x1
;
/* 1c: name? */
WORD
x2
;
/* 20: */
DWORD
x3
;
/* 22: */
/* 26: */
}
WINE_HIC
;
#endif
/* error return codes */
#define ICERR_OK 0
#define ICERR_DONTDRAW 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment