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
bbaf0ea7
Commit
bbaf0ea7
authored
Mar 24, 2000
by
Patrik Stridvall
Committed by
Alexandre Julliard
Mar 24, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made the include files self sufficient.
parent
fcfacb95
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
62 additions
and
41 deletions
+62
-41
dinput_main.c
dlls/dinput/dinput_main.c
+12
-12
dispdib.c
graphics/dispdib.c
+4
-2
animate.h
include/animate.h
+1
-0
button.h
include/button.h
+1
-0
crtdll.h
include/crtdll.h
+23
-0
dinput.h
include/dinput.h
+1
-1
dispdib.h
include/dispdib.h
+0
-2
enhmetafile.h
include/enhmetafile.h
+2
-1
imagelist.h
include/imagelist.h
+1
-1
metafile.h
include/metafile.h
+2
-1
region.h
include/region.h
+2
-1
sqltypes.h
include/sqltypes.h
+0
-20
icmpapi.h
include/wine/icmpapi.h
+3
-0
obj_commdlgbrowser.h
include/wine/obj_commdlgbrowser.h
+1
-0
obj_contextmenu.h
include/wine/obj_contextmenu.h
+1
-0
obj_dockingwindowframe.h
include/wine/obj_dockingwindowframe.h
+1
-0
obj_property.h
include/wine/obj_property.h
+1
-0
obj_shellextinit.h
include/wine/obj_shellextinit.h
+1
-0
windef16.h
include/wine/windef16.h
+2
-0
wingdi16.h
include/wine/wingdi16.h
+1
-0
winpos.h
include/winpos.h
+2
-0
No files found.
dlls/dinput/dinput_main.c
View file @
bbaf0ea7
...
...
@@ -306,7 +306,7 @@ static void _dump_DIPROPHEADER(DIPROPHEADER *diph) {
((
diph
->
dwHow
==
DIPH_BYID
))
?
"DIPH_BYID"
:
"unknown"
)));
}
static
void
_dump_OBJECTINSTANCE
(
DIDEVICEOBJECTINSTANCE
*
ddoi
)
{
static
void
_dump_OBJECTINSTANCE
A
(
DIDEVICEOBJECTINSTANCEA
*
ddoi
)
{
if
(
TRACE_ON
(
dinput
))
{
DPRINTF
(
" - enumerating : 0x%08lx - %2ld - 0x%08lx - %s
\n
"
,
ddoi
->
guidType
.
Data1
,
ddoi
->
dwOfs
,
ddoi
->
dwType
,
ddoi
->
tszName
);
...
...
@@ -1708,7 +1708,7 @@ static HRESULT WINAPI SysMouseAImpl_EnumObjects(
DWORD
dwFlags
)
{
ICOM_THIS
(
SysMouseAImpl
,
iface
);
DIDEVICEOBJECTINSTANCE
ddoi
;
DIDEVICEOBJECTINSTANCE
A
ddoi
;
TRACE
(
"(this=%p,%p,%p,%08lx)
\n
"
,
This
,
lpCallback
,
lpvRef
,
dwFlags
);
if
(
TRACE_ON
(
dinput
))
{
...
...
@@ -1718,7 +1718,7 @@ static HRESULT WINAPI SysMouseAImpl_EnumObjects(
}
/* Only the fields till dwFFMaxForce are relevant */
ddoi
.
dwSize
=
FIELD_OFFSET
(
DIDEVICEOBJECTINSTANCE
,
dwFFMaxForce
);
ddoi
.
dwSize
=
FIELD_OFFSET
(
DIDEVICEOBJECTINSTANCE
A
,
dwFFMaxForce
);
/* In a mouse, we have : two relative axis and three buttons */
if
((
dwFlags
==
DIDFT_ALL
)
||
...
...
@@ -1728,7 +1728,7 @@ static HRESULT WINAPI SysMouseAImpl_EnumObjects(
ddoi
.
dwOfs
=
This
->
offset_array
[
WINE_MOUSE_X_POSITION
];
ddoi
.
dwType
=
DIDFT_MAKEINSTANCE
(
WINE_MOUSE_X_AXIS_INSTANCE
)
|
DIDFT_RELAXIS
;
strcpy
(
ddoi
.
tszName
,
"X-Axis"
);
_dump_OBJECTINSTANCE
(
&
ddoi
);
_dump_OBJECTINSTANCE
A
(
&
ddoi
);
if
(
lpCallback
(
&
ddoi
,
lpvRef
)
!=
DIENUM_CONTINUE
)
return
DI_OK
;
/* Y axis */
...
...
@@ -1736,7 +1736,7 @@ static HRESULT WINAPI SysMouseAImpl_EnumObjects(
ddoi
.
dwOfs
=
This
->
offset_array
[
WINE_MOUSE_Y_POSITION
];
ddoi
.
dwType
=
DIDFT_MAKEINSTANCE
(
WINE_MOUSE_Y_AXIS_INSTANCE
)
|
DIDFT_RELAXIS
;
strcpy
(
ddoi
.
tszName
,
"Y-Axis"
);
_dump_OBJECTINSTANCE
(
&
ddoi
);
_dump_OBJECTINSTANCE
A
(
&
ddoi
);
if
(
lpCallback
(
&
ddoi
,
lpvRef
)
!=
DIENUM_CONTINUE
)
return
DI_OK
;
}
...
...
@@ -1748,21 +1748,21 @@ static HRESULT WINAPI SysMouseAImpl_EnumObjects(
ddoi
.
dwOfs
=
This
->
offset_array
[
WINE_MOUSE_L_POSITION
];
ddoi
.
dwType
=
DIDFT_MAKEINSTANCE
(
WINE_MOUSE_L_BUTTON_INSTANCE
)
|
DIDFT_PSHBUTTON
;
strcpy
(
ddoi
.
tszName
,
"Left-Button"
);
_dump_OBJECTINSTANCE
(
&
ddoi
);
_dump_OBJECTINSTANCE
A
(
&
ddoi
);
if
(
lpCallback
(
&
ddoi
,
lpvRef
)
!=
DIENUM_CONTINUE
)
return
DI_OK
;
/* Right button */
ddoi
.
dwOfs
=
This
->
offset_array
[
WINE_MOUSE_R_POSITION
];
ddoi
.
dwType
=
DIDFT_MAKEINSTANCE
(
WINE_MOUSE_R_BUTTON_INSTANCE
)
|
DIDFT_PSHBUTTON
;
strcpy
(
ddoi
.
tszName
,
"Right-Button"
);
_dump_OBJECTINSTANCE
(
&
ddoi
);
_dump_OBJECTINSTANCE
A
(
&
ddoi
);
if
(
lpCallback
(
&
ddoi
,
lpvRef
)
!=
DIENUM_CONTINUE
)
return
DI_OK
;
/* Middle button */
ddoi
.
dwOfs
=
This
->
offset_array
[
WINE_MOUSE_M_POSITION
];
ddoi
.
dwType
=
DIDFT_MAKEINSTANCE
(
WINE_MOUSE_M_BUTTON_INSTANCE
)
|
DIDFT_PSHBUTTON
;
strcpy
(
ddoi
.
tszName
,
"Middle-Button"
);
_dump_OBJECTINSTANCE
(
&
ddoi
);
_dump_OBJECTINSTANCE
A
(
&
ddoi
);
if
(
lpCallback
(
&
ddoi
,
lpvRef
)
!=
DIENUM_CONTINUE
)
return
DI_OK
;
}
...
...
@@ -2048,7 +2048,7 @@ static HRESULT WINAPI JoystickAImpl_EnumObjects(
DWORD
dwFlags
)
{
ICOM_THIS
(
JoystickAImpl
,
iface
);
DIDEVICEOBJECTINSTANCE
ddoi
;
DIDEVICEOBJECTINSTANCE
A
ddoi
;
int
xfd
=
This
->
joyfd
;
TRACE
(
"(this=%p,%p,%p,%08lx)
\n
"
,
This
,
lpCallback
,
lpvRef
,
dwFlags
);
...
...
@@ -2059,7 +2059,7 @@ static HRESULT WINAPI JoystickAImpl_EnumObjects(
}
/* Only the fields till dwFFMaxForce are relevant */
ddoi
.
dwSize
=
FIELD_OFFSET
(
DIDEVICEOBJECTINSTANCE
,
dwFFMaxForce
);
ddoi
.
dwSize
=
FIELD_OFFSET
(
DIDEVICEOBJECTINSTANCE
A
,
dwFFMaxForce
);
/* For the joystick, do as is done in the GetCapabilities function */
if
((
dwFlags
==
DIDFT_ALL
)
||
...
...
@@ -2091,7 +2091,7 @@ static HRESULT WINAPI JoystickAImpl_EnumObjects(
}
ddoi
.
dwType
=
DIDFT_MAKEINSTANCE
((
0x0001
<<
i
)
<<
WINE_JOYSTICK_AXIS_BASE
)
|
DIDFT_ABSAXIS
;
sprintf
(
ddoi
.
tszName
,
"%d-Axis"
,
i
);
_dump_OBJECTINSTANCE
(
&
ddoi
);
_dump_OBJECTINSTANCE
A
(
&
ddoi
);
if
(
lpCallback
(
&
ddoi
,
lpvRef
)
!=
DIENUM_CONTINUE
)
return
DI_OK
;
}
}
...
...
@@ -2112,7 +2112,7 @@ static HRESULT WINAPI JoystickAImpl_EnumObjects(
ddoi
.
dwOfs
=
DIJOFS_BUTTON
(
i
);
ddoi
.
dwType
=
DIDFT_MAKEINSTANCE
((
0x0001
<<
i
)
<<
WINE_JOYSTICK_BUTTON_BASE
)
|
DIDFT_PSHBUTTON
;
sprintf
(
ddoi
.
tszName
,
"%d-Button"
,
i
);
_dump_OBJECTINSTANCE
(
&
ddoi
);
_dump_OBJECTINSTANCE
A
(
&
ddoi
);
if
(
lpCallback
(
&
ddoi
,
lpvRef
)
!=
DIENUM_CONTINUE
)
return
DI_OK
;
}
}
...
...
graphics/dispdib.c
View file @
bbaf0ea7
...
...
@@ -6,13 +6,15 @@
*/
#include <string.h>
#include "windef.h"
#include "wingdi.h"
#include "wine/wingdi16.h"
#include "miscemu.h"
#include "dispdib.h"
#include "vga.h"
#include "debugtools.h"
#include "wine/wingdi16.h"
DEFAULT_DEBUG_CHANNEL
(
ddraw
)
DEFAULT_DEBUG_CHANNEL
(
ddraw
)
;
static
int
dispdib_multi
=
0
;
...
...
include/animate.h
View file @
bbaf0ea7
...
...
@@ -8,6 +8,7 @@
#define __WINE_ANIMATE_H
#include "windef.h"
#include "winbase.h"
#include "vfw.h"
typedef
struct
tagANIMATE_INFO
...
...
include/button.h
View file @
bbaf0ea7
...
...
@@ -7,6 +7,7 @@
#ifndef __WINE_BUTTON_H
#define __WINE_BUTTON_H
#include "windef.h"
#include "wingdi.h"
/* Extra info for BUTTON windows */
...
...
include/crtdll.h
View file @
bbaf0ea7
...
...
@@ -41,6 +41,18 @@ LPWSTR __cdecl CRTDLL__wcsnset( LPWSTR str, WCHAR c, INT n );
LPWSTR
__cdecl
CRTDLL__wcsrev
(
LPWSTR
str
);
LPWSTR
__cdecl
CRTDLL__wcsset
(
LPWSTR
str
,
WCHAR
c
);
LPWSTR
__cdecl
CRTDLL__wcsupr
(
LPWSTR
str
);
INT
__cdecl
CRTDLL_iswalnum
(
WCHAR
wc
);
INT
__cdecl
CRTDLL_iswalpha
(
WCHAR
wc
);
INT
__cdecl
CRTDLL_iswcntrl
(
WCHAR
wc
);
INT
__cdecl
CRTDLL_iswdigit
(
WCHAR
wc
);
INT
__cdecl
CRTDLL_iswgraph
(
WCHAR
wc
);
INT
__cdecl
CRTDLL_iswlower
(
WCHAR
wc
);
INT
__cdecl
CRTDLL_iswprint
(
WCHAR
wc
);
INT
__cdecl
CRTDLL_iswpunct
(
WCHAR
wc
);
INT
__cdecl
CRTDLL_iswspace
(
WCHAR
wc
);
INT
__cdecl
CRTDLL_iswupper
(
WCHAR
wc
);
INT
__cdecl
CRTDLL_iswxdigit
(
WCHAR
wc
);
INT
__cdecl
CRTDLL_iswctype
(
WCHAR
wc
,
WCHAR
wct
);
INT
__cdecl
CRTDLL_mbstowcs
(
LPWSTR
dst
,
LPCSTR
src
,
INT
n
);
INT
__cdecl
CRTDLL_mbtowc
(
WCHAR
*
dst
,
LPCSTR
str
,
INT
n
);
WCHAR
__cdecl
CRTDLL_towlower
(
WCHAR
ch
);
...
...
@@ -76,6 +88,17 @@ INT __cdecl CRTDLL_wctomb( LPSTR dst, WCHAR ch );
#define _wcsrev CRTDLL__wcsrev
#define _wcsset CRTDLL__wcsset
#define _wcsupr CRTDLL__wcsupr
#define iswalnum CRTDLL_iswalnum
#define iswalpha CRTDLL_iswalpha
#define iswcntrl CRTDLL_iswcntrl
#define iswdigit CRTDLL_iswdigit
#define iswgraph CRTDLL_iswgraph
#define iswlower CRTDLL_iswlower
#define iswprint CRTDLL_iswprint
#define iswpunct CRTDLL_iswpunct
#define iswspace CRTDLL_iswspace
#define iswupper CRTDLL_iswupper
#define iswxdigit CRTDLL_iswxdigit
#define mbstowcs CRTDLL_mbstowcs
#define mbtowc CRTDLL_mbtowc
#define towlower CRTDLL_towlower
...
...
include/dinput.h
View file @
bbaf0ea7
...
...
@@ -172,7 +172,7 @@ typedef struct {
WORD
wExponent
;
WORD
wReserved
;
#endif
/* DIRECTINPUT_VERSION >= 0x0500 */
}
DIDEVICEOBJECTINSTANCE
,
DIDEVICEOBJECTINSTANCE
A
,
*
LPDIDEVICEOBJECTINSTANCEA
,
*
LPCDIDEVICEOBJECTINSTANCEA
;
}
DIDEVICEOBJECTINSTANCEA
,
*
LPDIDEVICEOBJECTINSTANCEA
,
*
LPCDIDEVICEOBJECTINSTANCEA
;
typedef
struct
{
DWORD
dwSize
;
...
...
include/dispdib.h
View file @
bbaf0ea7
...
...
@@ -8,8 +8,6 @@
#ifndef __WINE_DISPDIB_H
#define __WINE_DISPDIB_H
#include "wingdi.h"
/* for LPBITMAPINFO */
/* error codes */
#define DISPLAYDIB_NOERROR 0x0000
#define DISPLAYDIB_NOTSUPPORTED 0x0001
...
...
include/enhmetafile.h
View file @
bbaf0ea7
...
...
@@ -6,8 +6,9 @@
#ifndef __WINE_ENHMETAFILE_H
#define __WINE_ENHMETAFILE_H
#include "wingdi.h"
#include "gdi.h"
#include "windef.h"
#include "wingdi.h"
/* GDI32 enhanced metafile object */
typedef
struct
...
...
include/imagelist.h
View file @
bbaf0ea7
...
...
@@ -7,7 +7,7 @@
#ifndef __WINE_IMAGELIST_H
#define __WINE_IMAGELIST_H
#include "windef.h"
#include "wingdi.h"
#include "pshpack1.h"
...
...
include/metafile.h
View file @
bbaf0ea7
...
...
@@ -7,8 +7,9 @@
#ifndef __WINE_METAFILE_H
#define __WINE_METAFILE_H
#include "wingdi.h"
#include "gdi.h"
#include "windef.h"
#include "wingdi.h"
/* GDI32 metafile object */
typedef
struct
...
...
include/region.h
View file @
bbaf0ea7
...
...
@@ -7,8 +7,9 @@
#ifndef __WINE_REGION_H
#define __WINE_REGION_H
#include "wingdi.h"
#include "gdi.h"
#include "windef.h"
#include "wingdi.h"
typedef
struct
{
INT
size
;
...
...
include/sqltypes.h
View file @
bbaf0ea7
...
...
@@ -12,26 +12,6 @@
extern
"C"
{
#endif
#ifndef _WINDOWS
#define FAR
#define CALLBACK
#define SQL_API
#define BOOL int
typedef
void
*
HWND
;
typedef
char
*
GUID
;
#define GUID_DEFINED
typedef
char
CHAR
;
typedef
void
VOID
;
typedef
unsigned
short
WORD
;
typedef
unsigned
long
DWORD
;
typedef
unsigned
char
BYTE
;
typedef
unsigned
short
WCHAR
;
typedef
WCHAR
*
LPWSTR
;
typedef
const
char
*
LPCSTR
;
typedef
char
*
LPSTR
;
typedef
DWORD
*
LPDWORD
;
#endif
typedef
unsigned
char
SQLCHAR
;
#if (ODBCVER >= 0x0300)
...
...
include/wine/icmpapi.h
View file @
bbaf0ea7
...
...
@@ -10,6 +10,9 @@
#ifndef __WINE_ICMPAPI_H
#define __WINE_ICMPAPI_H
#include "wine/ipexport.h"
#include "windef.h"
HANDLE
WINAPI
IcmpCreateFile
(
VOID
);
...
...
include/wine/obj_commdlgbrowser.h
View file @
bbaf0ea7
...
...
@@ -6,6 +6,7 @@
#define __WINE_WINE_OBJ_COMMDLGBROWSER_H
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "wine/obj_base.h"
#include "wine/obj_shellview.h"
...
...
include/wine/obj_contextmenu.h
View file @
bbaf0ea7
...
...
@@ -10,6 +10,7 @@
#define __WINE_WINE_OBJ_CONTEXTMENU_H
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "wine/obj_base.h"
...
...
include/wine/obj_dockingwindowframe.h
View file @
bbaf0ea7
...
...
@@ -6,6 +6,7 @@
#define __WINE_WINE_OBJ_DOCKINGWINDOWFRAME_H
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "wine/obj_base.h"
#include "wine/obj_inplace.h"
...
...
include/wine/obj_property.h
View file @
bbaf0ea7
...
...
@@ -10,6 +10,7 @@
#include "wine/obj_oleaut.h"
/* for DISPID */
#include "wine/obj_storage.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#ifdef __cplusplus
...
...
include/wine/obj_shellextinit.h
View file @
bbaf0ea7
...
...
@@ -7,6 +7,7 @@
#include "shell.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "wine/obj_base.h"
#include "wine/obj_dataobject.h"
...
...
include/wine/windef16.h
View file @
bbaf0ea7
...
...
@@ -7,6 +7,8 @@
#ifndef __WINE_WINDEF16_H
#define __WINE_WINDEF16_H
#include "windef.h"
/* Standard data types */
typedef
short
INT16
;
...
...
include/wine/wingdi16.h
View file @
bbaf0ea7
#ifndef __WINE_WINE_WINGDI16_H
#define __WINE_WINE_WINGDI16_H
#include "windef.h"
#include "wingdi.h"
#include "pshpack1.h"
...
...
include/winpos.h
View file @
bbaf0ea7
...
...
@@ -8,6 +8,8 @@
#define __WINE_WINPOS_H
#include "windef.h"
#include "wingdi.h"
#include "winuser.h"
struct
tagWND
;
...
...
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