Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7ed94416
Commit
7ed94416
authored
Oct 11, 1998
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 11, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A few function prototype fixes.
parent
8220bc9d
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
16 deletions
+15
-16
shellole.c
dlls/shell32/shellole.c
+3
-4
callback.h
include/callback.h
+1
-1
interfaces.h
include/interfaces.h
+3
-3
shell.h
include/shell.h
+3
-3
winreg.h
include/winreg.h
+3
-3
user32.spec
relay32/user32.spec
+1
-1
fnt2bdf.c
tools/fnt2bdf.c
+1
-1
No files found.
dlls/shell32/shellole.c
View file @
7ed94416
...
@@ -77,9 +77,8 @@ static DWORD SH_get_instance(REFCLSID clsid,LPSTR dllname,LPVOID unknownouter,RE
...
@@ -77,9 +77,8 @@ static DWORD SH_get_instance(REFCLSID clsid,LPSTR dllname,LPVOID unknownouter,RE
}
}
hres
=
(
*
dllgetclassob
)(
clsid
,(
REFIID
)
&
IID_IClassFactory
,
&
classfac
);
hres
=
(
*
dllgetclassob
)(
clsid
,(
REFIID
)
&
IID_IClassFactory
,
&
classfac
);
if
(
hres
<
0
||
(
hres
>=
0x80000000
))
if
((
hres
<
0
)
||
(
hres
>=
0x80000000
))
{
return
hres
;
return
hres
;
}
if
(
!
classfac
)
if
(
!
classfac
)
{
FIXME
(
shell
,
"no classfactory, but hres is 0x%ld!
\n
"
,
hres
);
{
FIXME
(
shell
,
"no classfactory, but hres is 0x%ld!
\n
"
,
hres
);
return
E_FAIL
;
return
E_FAIL
;
...
@@ -137,7 +136,7 @@ LRESULT WINAPI SHCoCreateInstance(LPSTR aclsid,CLSID *clsid,LPUNKNOWN unknownout
...
@@ -137,7 +136,7 @@ LRESULT WINAPI SHCoCreateInstance(LPSTR aclsid,CLSID *clsid,LPUNKNOWN unknownout
TRACE
(
shell
,
"Threading model is %s
\n
"
,
tmodel
);
TRACE
(
shell
,
"Threading model is %s
\n
"
,
tmodel
);
hres
=
SH_get_instance
(
clsid
,
path
,
unknownouter
,
refiid
,
inst
);
hres
=
SH_get_instance
(
clsid
,
path
,
unknownouter
,
refiid
,
inst
);
if
(
hres
<
0
)
if
(
hres
<
0
||
(
hres
>
0x80000000
)
)
{
hres
=
SH_get_instance
(
clsid
,
"shell32.dll"
,
unknownouter
,
refiid
,
inst
);
{
hres
=
SH_get_instance
(
clsid
,
"shell32.dll"
,
unknownouter
,
refiid
,
inst
);
}
}
RegCloseKey
(
inprockey
);
RegCloseKey
(
inprockey
);
...
...
include/callback.h
View file @
7ed94416
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
#include "wintypes.h"
#include "wintypes.h"
#include "winnt.h"
#include "winnt.h"
extern
int
(
*
IF1632_CallLargeStack
)(
int
(
*
func
)(),
void
*
arg
);
extern
int
(
*
IF1632_CallLargeStack
)(
int
(
*
func
)(
void
),
void
*
arg
);
#define CALL_LARGE_STACK(func,arg) \
#define CALL_LARGE_STACK(func,arg) \
(IF1632_CallLargeStack ? \
(IF1632_CallLargeStack ? \
...
...
include/interfaces.h
View file @
7ed94416
...
@@ -103,9 +103,9 @@ struct IMalloc16 {
...
@@ -103,9 +103,9 @@ struct IMalloc16 {
/* private prototypes for the constructors */
/* private prototypes for the constructors */
#ifdef __WINE__
#ifdef __WINE__
LPUNKNOWN
IUnknown_Constructor
();
LPUNKNOWN
IUnknown_Constructor
(
void
);
LPMALLOC16
IMalloc16_Constructor
();
LPMALLOC16
IMalloc16_Constructor
(
void
);
LPMALLOC32
IMalloc32_Constructor
();
LPMALLOC32
IMalloc32_Constructor
(
void
);
#endif
#endif
HRESULT
WINAPI
CoGetMalloc32
(
DWORD
,
LPMALLOC32
*
);
HRESULT
WINAPI
CoGetMalloc32
(
DWORD
,
LPMALLOC32
*
);
...
...
include/shell.h
View file @
7ed94416
...
@@ -15,9 +15,9 @@
...
@@ -15,9 +15,9 @@
/****************************************************************************
/****************************************************************************
* shell 16
* shell 16
*/
*/
extern
void
SHELL_LoadRegistry
();
extern
void
SHELL_LoadRegistry
(
void
);
extern
void
SHELL_SaveRegistry
();
extern
void
SHELL_SaveRegistry
(
void
);
extern
void
SHELL_Init
();
extern
void
SHELL_Init
(
void
);
/* global functions used from shell32 */
/* global functions used from shell32 */
extern
HINSTANCE32
SHELL_FindExecutable
(
LPCSTR
,
LPCSTR
,
LPSTR
);
extern
HINSTANCE32
SHELL_FindExecutable
(
LPCSTR
,
LPCSTR
,
LPSTR
);
...
...
include/winreg.h
View file @
7ed94416
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
KEY_CREATE_LINK \
KEY_CREATE_LINK \
)
)
void
SHELL_Init
();
void
SHELL_Init
(
void
);
void
SHELL_SaveRegistry
();
void
SHELL_SaveRegistry
(
void
);
void
SHELL_LoadRegistry
();
void
SHELL_LoadRegistry
(
void
);
#endif
/* __WINE_WINREG_H */
#endif
/* __WINE_WINREG_H */
relay32/user32.spec
View file @
7ed94416
...
@@ -612,5 +612,5 @@ type win32
...
@@ -612,5 +612,5 @@ type win32
608 stdcall GetMonitorInfoW(long ptr) GetMonitorInfo32W
608 stdcall GetMonitorInfoW(long ptr) GetMonitorInfo32W
609 stdcall MonitorFromWindow(long long) MonitorFromPoint
609 stdcall MonitorFromWindow(long long) MonitorFromPoint
610 stdcall MonitorFromRect(ptr long) MonitorFromRect
610 stdcall MonitorFromRect(ptr long) MonitorFromRect
611 stdcall MonitorFromPoint(
ptr
long) MonitorFromPoint
611 stdcall MonitorFromPoint(
long long
long) MonitorFromPoint
612 stdcall EnumDisplayMonitors(long ptr ptr long) EnumDisplayMonitors
612 stdcall EnumDisplayMonitors(long ptr ptr long) EnumDisplayMonitors
tools/fnt2bdf.c
View file @
7ed94416
...
@@ -46,7 +46,7 @@ static char* errorEmpty = "No fonts found.\n";
...
@@ -46,7 +46,7 @@ static char* errorEmpty = "No fonts found.\n";
/* info */
/* info */
void
usage
()
void
usage
(
void
)
{
{
printf
(
"Usage: fnt2bdf [-t] [-c charset] [-o basename] [input file]
\n
"
);
printf
(
"Usage: fnt2bdf [-t] [-c charset] [-o basename] [input file]
\n
"
);
printf
(
" -c charset
\t
charset name for OEM_CHARSET fonts
\n
"
);
printf
(
" -c charset
\t
charset name for OEM_CHARSET fonts
\n
"
);
...
...
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