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
7a6228d1
Commit
7a6228d1
authored
Dec 11, 1998
by
Andreas Mohr
Committed by
Alexandre Julliard
Dec 11, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bunch of compiler warnings.
parent
7d123bf0
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
33 additions
and
28 deletions
+33
-28
animate.c
dlls/comctl32/animate.c
+1
-1
comboex.c
dlls/comctl32/comboex.c
+13
-11
nt.c
dlls/ntdll/nt.c
+1
-1
typelib.spec
if1632/typelib.spec
+1
-1
file.h
include/file.h
+1
-0
module.c
loader/dos/module.c
+2
-0
int21.c
msdos/int21.c
+1
-1
ole2nls.c
ole/ole2nls.c
+1
-1
typelib.c
ole/typelib.c
+5
-5
ordinals.c
win32/ordinals.c
+1
-1
driver.c
windows/driver.c
+2
-2
msgbox.c
windows/msgbox.c
+2
-2
multimon.c
windows/multimon.c
+1
-1
user.c
windows/user.c
+1
-1
No files found.
dlls/comctl32/animate.c
View file @
7a6228d1
...
...
@@ -87,7 +87,7 @@ ANIMATE_Free (ANIMATE_INFO *infoPtr)
infoPtr
->
lpAvi
=
NULL
;
}
else
{
GlobalFree32
(
infoPtr
->
lpAvi
);
GlobalFree32
(
(
HGLOBAL32
)
infoPtr
->
lpAvi
);
infoPtr
->
lpAvi
=
NULL
;
}
}
...
...
dlls/comctl32/comboex.c
View file @
7a6228d1
...
...
@@ -27,7 +27,7 @@
#define COMBOEX_GetInfoPtr(wndPtr) ((COMBOEX_INFO *)wndPtr->wExtra[0])
/
/ << COMBOEX_DeleteItem >>
/
* << COMBOEX_DeleteItem >> */
__inline__
static
LRESULT
...
...
@@ -137,7 +137,7 @@ COMBOEX_SetItem32A (WND *wndPtr, WPARAM32 wParam, LPARAM lParam)
}
/
/ << COMBOEX_SetItem32W >>
/
* << COMBOEX_SetItem32W >> */
__inline__
static
LRESULT
...
...
@@ -145,7 +145,7 @@ COMBOEX_Forward (WND *wndPtr, UINT32 uMsg, WPARAM32 wParam, LPARAM lParam)
{
COMBOEX_INFO
*
infoPtr
=
COMBOEX_GetInfoPtr
(
wndPtr
);
FIXME
(
comboex
,
"(0x%
lx 0x%l
x 0x%lx): stub
\n
"
,
uMsg
,
wParam
,
lParam
);
FIXME
(
comboex
,
"(0x%
x 0x%
x 0x%lx): stub
\n
"
,
uMsg
,
wParam
,
lParam
);
if
(
infoPtr
->
hwndCombo
)
return
SendMessage32A
(
infoPtr
->
hwndCombo
,
uMsg
,
wParam
,
lParam
);
...
...
@@ -234,7 +234,7 @@ COMBOEX_WindowProc (HWND32 hwnd, UINT32 uMsg, WPARAM32 wParam, LPARAM lParam)
switch
(
uMsg
)
{
/
/ case CBEM_DELETEITEM:
/
* case CBEM_DELETEITEM: */
case
CBEM_GETCOMBOCONTROL
:
return
COMBOEX_GetComboControl
(
wndPtr
,
wParam
,
lParam
);
...
...
@@ -248,15 +248,16 @@ COMBOEX_WindowProc (HWND32 hwnd, UINT32 uMsg, WPARAM32 wParam, LPARAM lParam)
case
CBEM_GETIMAGELIST
:
return
COMBOEX_GetImageList
(
wndPtr
,
wParam
,
lParam
);
// case CBEM_GETITEM32A:
// case CBEM_GETITEM32W:
// case CBEM_GETUNICODEFORMAT:
// case CBEM_HASEDITCHANGED:
/* case CBEM_GETITEM32A:
case CBEM_GETITEM32W:
case CBEM_GETUNICODEFORMAT:
case CBEM_HASEDITCHANGED:
*/
case
CBEM_INSERTITEM32A
:
return
COMBOEX_InsertItem32A
(
wndPtr
,
wParam
,
lParam
);
/
/ case CBEM_INSERTITEM32W:
/
* case CBEM_INSERTITEM32W: */
case
CBEM_SETEXTENDEDSTYLE
:
return
COMBOEX_SetExtendedStyle
(
wndPtr
,
wParam
,
lParam
);
...
...
@@ -267,8 +268,9 @@ COMBOEX_WindowProc (HWND32 hwnd, UINT32 uMsg, WPARAM32 wParam, LPARAM lParam)
case
CBEM_SETITEM32A
:
return
COMBOEX_SetItem32A
(
wndPtr
,
wParam
,
lParam
);
// case CBEM_SETITEM32W:
// case CBEM_SETUNICODEFORMAT:
/* case CBEM_SETITEM32W:
case CBEM_SETUNICODEFORMAT:
*/
case
CB_DELETESTRING32
:
case
CB_FINDSTRINGEXACT32
:
...
...
dlls/ntdll/nt.c
View file @
7a6228d1
...
...
@@ -151,7 +151,7 @@ NTSTATUS WINAPI NtFsControlFile(
*/
NTSTATUS
WINAPI
NtOpenKey
(
DWORD
x1
,
DWORD
x2
,
LPUNICODE_STRING
key
)
{
FIXME
(
ntdll
,
"(0x%08lx,0x%08lx,%s),stub!
\n
"
,
x1
,
x2
,
debugstr_w
(
key
->
Buffer
));
return
RegOpenKey32W
(
HKEY_LOCAL_MACHINE
,
key
->
Buffer
,
x1
);
return
RegOpenKey32W
(
HKEY_LOCAL_MACHINE
,
key
->
Buffer
,
(
LPHKEY
)
x1
);
}
/******************************************************************************
...
...
if1632/typelib.spec
View file @
7a6228d1
...
...
@@ -2,7 +2,7 @@ name typelib
type win16
2 stub CREATETYPELIB
3 pascal LoadTypeLib(ptr ptr) LoadTypeLib
3 pascal LoadTypeLib(ptr ptr) LoadTypeLib
16
4 stub LHASHVALOFNAMESYS
5 stub _IID_ICREATETYPEINFO
6 stub _IID_ICREATETYPELIB
...
...
include/file.h
View file @
7a6228d1
...
...
@@ -63,6 +63,7 @@ extern FILE_OBJECT *FILE_GetFile( HFILE32 handle );
extern
void
FILE_ReleaseFile
(
FILE_OBJECT
*
file
);
extern
HFILE32
FILE_Alloc
(
FILE_OBJECT
**
file
);
extern
void
FILE_SetDosError
(
void
);
extern
int
FILE_GetUnixHandle
(
HFILE32
hFile
);
extern
HFILE32
FILE_DupUnixHandle
(
int
fd
);
extern
BOOL32
FILE_Stat
(
LPCSTR
unixName
,
BY_HANDLE_FILE_INFORMATION
*
info
);
extern
HFILE32
FILE_Dup
(
HFILE32
hFile
);
...
...
loader/dos/module.c
View file @
7a6228d1
...
...
@@ -43,6 +43,8 @@
#define SEG16(ptr,seg) ((LPVOID)((BYTE*)ptr+((DWORD)(seg)<<4)))
#define SEGPTR16(ptr,segptr) ((LPVOID)((BYTE*)ptr+((DWORD)SELECTOROF(segptr)<<4)+OFFSETOF(segptr)))
extern
WORD
WINAPI
SYSTEM_KillSystemTimer
(
WORD
timer
);
static
void
MZ_InitPSP
(
LPVOID
lpPSP
,
LPCSTR
cmdline
,
WORD
env
)
{
PDB
*
psp
=
lpPSP
;
...
...
msdos/int21.c
View file @
7a6228d1
...
...
@@ -101,7 +101,7 @@ static BYTE *GetCurrentDTA( CONTEXT *context )
/* FIXME: This assumes DTA was set correctly! */
return
(
BYTE
*
)
CTX_SEG_OFF_TO_LIN
(
context
,
SELECTOROF
(
pTask
->
dta
),
OFFSETOF
(
pTask
->
dta
)
);
(
DWORD
)
OFFSETOF
(
pTask
->
dta
)
);
}
...
...
ole/ole2nls.c
View file @
7a6228d1
...
...
@@ -709,7 +709,7 @@ INT32 WINAPI GetLocaleInfo32A(LCID lcid,LCTYPE LCType,LPSTR buf,INT32 len)
if
(
!
found
)
{
ERR
(
ole
,
"'%s' not supported for your language (%04X).
\n
"
,
retString
,
lcid
);
retString
,
(
WORD
)
lcid
);
SetLastError
(
ERROR_INVALID_PARAMETER
);
return
0
;
}
...
...
ole/typelib.c
View file @
7a6228d1
...
...
@@ -104,11 +104,11 @@ QueryPathOfRegTypeLib32(
* Success: S_OK
* Failure: Status
*/
HRESULT
WINAPI
LoadTypeLib
(
void
*
szFile
,
/* [in] Name of file to load from */
HRESULT
WINAPI
LoadTypeLib
16
(
OLECHAR32
*
szFile
,
/* [in] Name of file to load from */
void
*
*
pptLib
)
/* [out] Pointer to pointer to loaded type library */
{
FIXME
(
ole
,
"(
%s
,%p): stub
\n
"
,
debugstr_a
(
szFile
),
pptLib
);
FIXME
(
ole
,
"(
'%s'
,%p): stub
\n
"
,
debugstr_a
(
szFile
),
pptLib
);
return
E_FAIL
;
}
...
...
@@ -124,10 +124,10 @@ HRESULT WINAPI LoadTypeLib(
* Failure: Status
*/
HRESULT
WINAPI
LoadTypeLib32
(
void
*
szFile
,
/* [in] Name of file to load from */
OLECHAR32
*
szFile
,
/* [in] Name of file to load from */
void
*
*
pptLib
)
/* [out] Pointer to pointer to loaded type library */
{
FIXME
(
ole
,
"(
%s,%p): stub
\n
"
,
szFile
,
pptLib
);
FIXME
(
ole
,
"(
'%s',%p): stub
\n
"
,
debugstr_a
(
szFile
)
,
pptLib
);
(
long
*
)
pptLib
=
0x123
;
return
S_OK
;
/* fixme: pretend everything is OK*/
}
...
...
win32/ordinals.c
View file @
7a6228d1
...
...
@@ -147,7 +147,7 @@ LPVOID WINAPI GetPK16SysVar(void)
REGS_ENTRYPOINT
(
CommonUnimpStub
)
{
if
(
EAX_reg
(
context
))
MSG
(
"*** Unimplemented Win32 API: %s
\n
"
,
EAX_reg
(
context
)
);
MSG
(
"*** Unimplemented Win32 API: %s
\n
"
,
(
LPSTR
)
EAX_reg
(
context
)
);
switch
((
ECX_reg
(
context
)
>>
4
)
&
0x0f
)
{
...
...
windows/driver.c
View file @
7a6228d1
...
...
@@ -208,7 +208,7 @@ HDRVR32 WINAPI OpenDriver32A(
while
(
lpdrv
)
{
if
(
!
strcasecmp
(
lpDriverName
,
lpdrv
->
dis
.
szAliasName
))
{
lpdrv
->
count
++
;
lpdrv
->
dis
.
hDriver
=
SendDriverMessage32
(
lpdrv
->
dis
.
hDriver
,
DRV_OPEN
,
""
/*FIXME*/
,
0L
);
lpdrv
->
dis
.
hDriver
=
SendDriverMessage32
(
lpdrv
->
dis
.
hDriver
,
DRV_OPEN
,
(
LPARAM
)
""
/*FIXME*/
,
0L
);
return
(
HDRVR32
)
lpdrv
;
}
lpdrv
=
lpdrv
->
next
;
...
...
@@ -243,7 +243,7 @@ HDRVR32 WINAPI OpenDriver32A(
SendDriverMessage32
(
hDrvr
,
DRV_LOAD
,
0L
,
lParam
);
SendDriverMessage32
(
hDrvr
,
DRV_ENABLE
,
0L
,
lParam
);
tmpbuf
=
HeapAlloc
(
SystemHeap
,
0
,
256
);
lpnewdrv
->
dis
.
hDriver
=
SendDriverMessage32
(
hDrvr
,
DRV_OPEN
,
tmpbuf
,
lParam
);
lpnewdrv
->
dis
.
hDriver
=
SendDriverMessage32
(
hDrvr
,
DRV_OPEN
,
(
LPARAM
)
tmpbuf
,
lParam
);
HeapFree
(
SystemHeap
,
0
,
tmpbuf
);
TRACE
(
driver
,
"hDrvr=%04x loaded !
\n
"
,
hDrvr
);
return
hDrvr
;
...
...
windows/msgbox.c
View file @
7a6228d1
...
...
@@ -316,9 +316,9 @@ INT32 WINAPI MessageBoxIndirect32W( LPMSGBOXPARAMS32W msgbox )
memcpy
(
&
msgboxa
,
msgbox
,
sizeof
(
msgboxa
));
if
(
msgbox
->
lpszCaption
)
lstrcpyWtoA
(
msgboxa
.
lpszCaption
,
msgbox
->
lpszCaption
);
lstrcpyWtoA
(
(
LPSTR
)
msgboxa
.
lpszCaption
,
msgbox
->
lpszCaption
);
if
(
msgbox
->
lpszText
)
lstrcpyWtoA
(
msgboxa
.
lpszText
,
msgbox
->
lpszText
);
lstrcpyWtoA
(
(
LPSTR
)
msgboxa
.
lpszText
,
msgbox
->
lpszText
);
return
MessageBoxIndirect32A
(
&
msgboxa
);
}
...
...
windows/multimon.c
View file @
7a6228d1
...
...
@@ -93,7 +93,7 @@ BOOL32 WINAPI GetMonitorInfo32W(HMONITOR hMonitor, LPMONITORINFO lpMonitorInfo)
lpMonitorInfo
->
dwFlags
=
MONITORINFOF_PRIMARY
;
if
(
lpMonitorInfo
->
cbSize
>=
sizeof
(
MONITORINFOEX32W
))
lstrcpy32W
(((
MONITORINFOEX32W
*
)
lpMonitorInfo
)
->
szDevice
,
"D
\0
I
\0
S
\0
P
\0
L
\0
A
\0
Y
\0\0
"
);
lstrcpy32W
(((
MONITORINFOEX32W
*
)
lpMonitorInfo
)
->
szDevice
,
(
LPCWSTR
)
"D
\0
I
\0
S
\0
P
\0
L
\0
A
\0
Y
\0\0
"
);
return
TRUE
;
}
...
...
windows/user.c
View file @
7a6228d1
...
...
@@ -489,7 +489,7 @@ DWORD WINAPI SetWindowStationUser(DWORD x1,DWORD x2) {
* SetLogonNotifyWindow (USER32.486)
*/
DWORD
WINAPI
SetLogonNotifyWindow
(
HWINSTA32
hwinsta
,
HWND32
hwnd
)
{
FIXME
(
win32
,
"(0x%x,%
ld
),stub!
\n
"
,
hwinsta
,
hwnd
);
FIXME
(
win32
,
"(0x%x,%
04x
),stub!
\n
"
,
hwinsta
,
hwnd
);
return
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