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
4ff79add
Commit
4ff79add
authored
Aug 27, 2003
by
Dimitrie O. Paun
Committed by
Alexandre Julliard
Aug 27, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some unneeded __WINESRC__ tests from the headers.
Miscellaneous cleanups and fixes.
parent
4ebc8067
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
32 additions
and
36 deletions
+32
-36
main.c
dlls/dpnhpast/main.c
+1
-1
propset.c
dlls/dsound/tests/propset.c
+1
-1
opengl_norm.c
dlls/opengl32/opengl_norm.c
+3
-3
twain.h
dlls/twain/twain.h
+2
-0
windef.h
include/windef.h
+21
-24
wtypes.idl
include/wtypes.idl
+1
-1
cmdlgtst.c
programs/cmdlgtst/cmdlgtst.c
+3
-6
No files found.
dlls/dpnhpast/main.c
View file @
4ff79add
...
...
@@ -89,7 +89,7 @@ HRESULT WINAPI DPNHPAST_DllCanUnloadNow(void)
*
*
*/
HRESULT
WINAPI
DPNHPAST_DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
riid
,
LPVOID
FAR
)
HRESULT
WINAPI
DPNHPAST_DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
riid
,
LPVOID
*
ppv
)
{
FIXME
(
":stub
\n
"
);
return
E_FAIL
;
...
...
dlls/dsound/tests/propset.c
View file @
4ff79add
...
...
@@ -38,7 +38,7 @@ DEFINE_GUID(DSPROPSETID_I3DL2_ListenerProperties,0xDA0F0520,0x300A,0x11D3,0x8A,0
DEFINE_GUID
(
DSPROPSETID_I3DL2_BufferProperties
,
0xDA0F0521
,
0x300A
,
0x11D3
,
0x8A
,
0x2B
,
0x00
,
0x60
,
0x97
,
0x0D
,
0xB0
,
0x11
);
DEFINE_GUID
(
DSPROPSETID_ZOOMFX_BufferProperties
,
0xCD5368E0
,
0x3450
,
0x11D3
,
0x8B
,
0x6E
,
0x00
,
0x10
,
0x5A
,
0x9B
,
0x7B
,
0xBC
);
typedef
HRESULT
(
CALLBACK
*
MYPROC
)(
REFCLSID
,
REFIID
,
LPVOID
FAR
*
);
typedef
HRESULT
(
CALLBACK
*
MYPROC
)(
REFCLSID
,
REFIID
,
LPVOID
*
);
BOOL
CALLBACK
callback
(
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA
data
,
LPVOID
context
)
{
...
...
dlls/opengl32/opengl_norm.c
View file @
4ff79add
...
...
@@ -802,10 +802,10 @@ void WINAPI wine_glDepthMask( GLboolean flag ) {
/***********************************************************************
* glDepthRange (OPENGL32.@)
*/
void
WINAPI
wine_glDepthRange
(
GLclampd
near
,
GLclampd
far
)
{
TRACE
(
"(%f, %f)
\n
"
,
near
,
far
);
void
WINAPI
wine_glDepthRange
(
GLclampd
near
Parm
,
GLclampd
farParm
)
{
TRACE
(
"(%f, %f)
\n
"
,
near
Parm
,
farParm
);
ENTER_GL
();
glDepthRange
(
near
,
far
);
glDepthRange
(
near
Parm
,
farParm
);
LEAVE_GL
();
}
...
...
dlls/twain/twain.h
View file @
4ff79add
...
...
@@ -54,10 +54,12 @@
#include "windef.h"
#undef FAR
#define FAR
#define huge
#define WIN32
#define _WIN32
#undef __declspec
#define __declspec(spec)
/****************************************************************************
...
...
include/windef.h
View file @
4ff79add
...
...
@@ -21,10 +21,6 @@
#ifndef __WINE_WINDEF_H
#define __WINE_WINDEF_H
#ifdef __WINESRC__
# undef UNICODE
#endif
/* __WINESRC__ */
#ifndef WINVER
#define WINVER 0x0500
#endif
...
...
@@ -67,61 +63,63 @@ extern "C" {
# endif
#endif
/* __stdcall */
#ifndef __WINESRC__
#ifdef __WINESRC__
#define __ONLY_IN_WINELIB(x) do_not_use_this_in_wine
#else
#define __ONLY_IN_WINELIB(x) x
#endif
#ifndef pascal
#define pascal __
stdcall
#define pascal __
ONLY_IN_WINELIB(__stdcall)
#endif
#ifndef _pascal
#define _pascal
__stdcall
#define _pascal
__ONLY_IN_WINELIB(__stdcall)
#endif
#ifndef _stdcall
#define _stdcall __
stdcall
#define _stdcall __
ONLY_IN_WINELIB(__stdcall)
#endif
#ifndef _fastcall
#define _fastcall __
stdcall
#define _fastcall __
ONLY_IN_WINELIB(__stdcall)
#endif
#ifndef __fastcall
#define __fastcall __
stdcall
#define __fastcall __
ONLY_IN_WINELIB(__stdcall)
#endif
#ifndef __export
#define __export __
stdcall
#define __export __
ONLY_IN_WINELIB(__stdcall)
#endif
#ifndef cdecl
#define cdecl __
cdecl
#define cdecl __
ONLY_IN_WINELIB(__cdecl)
#endif
#ifndef _cdecl
#define _cdecl __
cdecl
#define _cdecl __
ONLY_IN_WINELIB(__cdecl)
#endif
#ifndef near
#define near
#define near
__ONLY_IN_WINELIB()
#endif
#ifndef far
#define far
#define far
__ONLY_IN_WINELIB()
#endif
#ifndef _near
#define _near
#define _near
__ONLY_IN_WINELIB()
#endif
#ifndef _far
#define _far
#define _far
__ONLY_IN_WINELIB()
#endif
#ifndef NEAR
#define NEAR
#define NEAR
__ONLY_IN_WINELIB()
#endif
#ifndef FAR
#define FAR
#define FAR
__ONLY_IN_WINELIB()
#endif
#ifndef _declspec
#define _declspec(x)
#define _declspec(x)
__ONLY_IN_WINELIB()
#endif
#ifndef __declspec
#define __declspec(x)
#define __declspec(x)
__ONLY_IN_WINELIB()
#endif
#endif
/* __WINESRC__ */
#define CALLBACK __stdcall
#define WINAPI __stdcall
#define APIPRIVATE __stdcall
...
...
@@ -184,7 +182,6 @@ typedef double DATE;
#include "winnt.h"
/* Macros to map Winelib names to the correct implementation name */
/* depending on __WINESRC__ and UNICODE macros. */
/* Note that Winelib is purely Win32. */
#ifdef __WINESRC__
...
...
include/wtypes.idl
View file @
4ff79add
...
...
@@ -263,7 +263,7 @@ typedef WCHAR OLECHAR;
typedef [string] OLECHAR *LPOLESTR;
typedef [string] const OLECHAR *LPCOLESTR;
cpp_quote("#ifndef __WINESRC__")
cpp_quote("#define OLESTR(str)
WINE_UNICODE_TEXT(str)
")
cpp_quote("#define OLESTR(str)
L##str
")
cpp_quote("#endif")
/* from Wine'
s
pre
-
WIDL
wtypes
.
h
*/
...
...
programs/cmdlgtst/cmdlgtst.c
View file @
4ff79add
...
...
@@ -56,9 +56,6 @@ struct FlagTableEntry {
unsigned
long
ft_bit
;
};
#if 0
#define FAR
#endif
#define EXPORT
static
char
menuName
[]
=
"CmdlgtstMenu"
;
...
...
@@ -288,9 +285,9 @@ void paintMainWindow(HWND hWnd, UINT iMessage, WPARAM wParam, LPARAM lParam)
/* now draw a couple of lines, just for giggles. */
MoveToEx
(
ps
.
hdc
,
rect
.
left
,
rect
.
top
,
(
POINT
FAR
*
)
0
);
MoveToEx
(
ps
.
hdc
,
rect
.
left
,
rect
.
top
,
(
POINT
*
)
0
);
LineTo
(
ps
.
hdc
,
rect
.
right
,
rect
.
bottom
);
MoveToEx
(
ps
.
hdc
,
rect
.
left
,
rect
.
bottom
,
(
POINT
FAR
*
)
0
);
MoveToEx
(
ps
.
hdc
,
rect
.
left
,
rect
.
bottom
,
(
POINT
*
)
0
);
LineTo
(
ps
.
hdc
,
rect
.
right
,
rect
.
top
);
/* draw some text */
...
...
@@ -722,7 +719,7 @@ LRESULT CALLBACK EXPORT mainWindowDispatcher(
{
if
(
uMsg
==
findMessageId
)
{
FINDREPLACE
FAR
*
lpfr
=
(
FINDREPLACE
FAR
*
)
lParam
;
FINDREPLACE
*
lpfr
=
(
FINDREPLACE
*
)
lParam
;
if
(
lpfr
->
Flags
&
FR_DIALOGTERM
)
{
MessageBox
(
hWnd
,
"User closing us down."
,
"Down"
,
MB_OK
);
findDialogBox
=
0
;
...
...
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