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
e299b5af
Commit
e299b5af
authored
Feb 04, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorer: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ed875d65
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
31 deletions
+30
-31
Makefile.in
programs/explorer/Makefile.in
+0
-1
appbar.c
programs/explorer/appbar.c
+1
-1
desktop.c
programs/explorer/desktop.c
+26
-26
explorer.c
programs/explorer/explorer.c
+2
-2
systray.c
programs/explorer/systray.c
+1
-1
No files found.
programs/explorer/Makefile.in
View file @
e299b5af
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
explorer.exe
IMPORTS
=
rpcrt4 user32 gdi32 advapi32
DELAYIMPORTS
=
comctl32 shell32 oleaut32 ole32 shlwapi
...
...
programs/explorer/appbar.c
View file @
e299b5af
...
...
@@ -223,7 +223,7 @@ static UINT_PTR handle_appbarmessage(DWORD msg, struct appbar_data_msg *abd)
case
ABM_WINDOWPOSCHANGED
:
return
TRUE
;
default:
WINE_FIXME
(
"SHAppBarMessage(%x) unimplemented
\n
"
,
msg
);
WINE_FIXME
(
"SHAppBarMessage(%
l
x) unimplemented
\n
"
,
msg
);
return
FALSE
;
}
}
...
...
programs/explorer/desktop.c
View file @
e299b5af
...
...
@@ -84,7 +84,7 @@ static HRESULT load_typelib(void)
hres
=
LoadRegTypeLib
(
&
LIBID_SHDocVw
,
1
,
0
,
LOCALE_SYSTEM_DEFAULT
,
&
tl
);
if
(
FAILED
(
hres
))
{
ERR
(
"LoadRegTypeLib failed: %08x
\n
"
,
hres
);
ERR
(
"LoadRegTypeLib failed: %08
l
x
\n
"
,
hres
);
return
hres
;
}
...
...
@@ -107,7 +107,7 @@ static HRESULT get_typeinfo(tid_t tid, ITypeInfo **typeinfo)
hres
=
ITypeLib_GetTypeInfoOfGuid
(
typelib
,
tid_ids
[
tid
],
&
ti
);
if
(
FAILED
(
hres
))
{
ERR
(
"GetTypeInfoOfGuid(%s) failed: %08x
\n
"
,
debugstr_guid
(
tid_ids
[
tid
]),
hres
);
ERR
(
"GetTypeInfoOfGuid(%s) failed: %08
l
x
\n
"
,
debugstr_guid
(
tid_ids
[
tid
]),
hres
);
return
hres
;
}
...
...
@@ -467,7 +467,7 @@ static BOOL process_changes( const WCHAR *folder, char *buf )
break
;
default:
WARN
(
"unexpected action %u
\n
"
,
info
->
Action
);
WARN
(
"unexpected action %
l
u
\n
"
,
info
->
Action
);
break
;
}
if
(
!
info
->
NextEntryOffset
)
break
;
...
...
@@ -623,7 +623,7 @@ static WNDPROC desktop_orig_wndproc;
/* window procedure for the desktop window */
static
LRESULT
WINAPI
desktop_wnd_proc
(
HWND
hwnd
,
UINT
message
,
WPARAM
wp
,
LPARAM
lp
)
{
WINE_TRACE
(
"got msg %04x wp %
lx lp %l
x
\n
"
,
message
,
wp
,
lp
);
WINE_TRACE
(
"got msg %04x wp %
Ix lp %I
x
\n
"
,
message
,
wp
,
lp
);
switch
(
message
)
{
...
...
@@ -852,7 +852,7 @@ static HMODULE load_graphics_driver( const WCHAR *driver, const GUID *guid )
strcpy
(
error
,
"Make sure that your X server is running and that $DISPLAY is set correctly."
);
break
;
default:
sprintf
(
error
,
"Unknown error (%u)."
,
GetLastError
()
);
sprintf
(
error
,
"Unknown error (%
l
u)."
,
GetLastError
()
);
break
;
}
name
=
next
;
...
...
@@ -897,7 +897,7 @@ static void initialize_display_settings(void)
continue
;
}
WINE_TRACE
(
"Device %s current display mode %
ux%u %uBits %uHz at %d,%
d.
\n
"
,
WINE_TRACE
(
"Device %s current display mode %
lux%lu %luBits %luHz at %ld,%l
d.
\n
"
,
wine_dbgstr_w
(
ddW
.
DeviceName
),
dmW
.
dmPelsWidth
,
dmW
.
dmPelsHeight
,
dmW
.
dmBitsPerPel
,
dmW
.
dmDisplayFrequency
,
dmW
.
u1
.
s2
.
dmPosition
.
x
,
dmW
.
u1
.
s2
.
dmPosition
.
y
);
...
...
@@ -997,7 +997,7 @@ void manage_desktop( WCHAR *arg )
{
if
(
!
(
desktop
=
CreateDesktopW
(
name
,
NULL
,
NULL
,
0
,
DESKTOP_ALL_ACCESS
,
NULL
)))
{
WINE_ERR
(
"failed to create desktop %s error %d
\n
"
,
wine_dbgstr_w
(
name
),
GetLastError
()
);
WINE_ERR
(
"failed to create desktop %s error %
l
d
\n
"
,
wine_dbgstr_w
(
name
),
GetLastError
()
);
ExitProcess
(
1
);
}
SetThreadDesktop
(
desktop
);
...
...
@@ -1122,7 +1122,7 @@ static HRESULT WINAPI shellwindows_GetTypeInfoCount(IShellWindows *iface, UINT *
static
HRESULT
WINAPI
shellwindows_GetTypeInfo
(
IShellWindows
*
iface
,
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
{
TRACE
(
"%d %d %p
\n
"
,
iTInfo
,
lcid
,
ppTInfo
);
TRACE
(
"%d %
l
d %p
\n
"
,
iTInfo
,
lcid
,
ppTInfo
);
return
get_typeinfo
(
IShellWindows_tid
,
ppTInfo
);
}
...
...
@@ -1133,7 +1133,7 @@ static HRESULT WINAPI shellwindows_GetIDsOfNames(IShellWindows *iface,
ITypeInfo
*
typeinfo
;
HRESULT
hr
;
TRACE
(
"%s %p %d %d %p
\n
"
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
TRACE
(
"%s %p %d %
l
d %p
\n
"
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
lcid
,
rgDispId
);
if
(
!
rgszNames
||
cNames
==
0
||
!
rgDispId
)
...
...
@@ -1157,7 +1157,7 @@ static HRESULT WINAPI shellwindows_Invoke(IShellWindows *iface,
ITypeInfo
*
typeinfo
;
HRESULT
hr
;
TRACE
(
"%
d %s %
d %08x %p %p %p %p
\n
"
,
dispIdMember
,
debugstr_guid
(
riid
),
TRACE
(
"%
ld %s %l
d %08x %p %p %p %p
\n
"
,
dispIdMember
,
debugstr_guid
(
riid
),
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
hr
=
get_typeinfo
(
IShellWindows_tid
,
&
typeinfo
);
...
...
@@ -1196,7 +1196,7 @@ static HRESULT WINAPI shellwindows_Register(IShellWindows *iface,
struct
shellwindows
*
sw
=
impl_from_IShellWindows
(
iface
);
struct
window
*
window
;
TRACE
(
"iface %p, disp %p, hwnd %#x, class %u, cookie %p.
\n
"
,
iface
,
disp
,
hwnd
,
class
,
cookie
);
TRACE
(
"iface %p, disp %p, hwnd %#
l
x, class %u, cookie %p.
\n
"
,
iface
,
disp
,
hwnd
,
class
,
cookie
);
if
(
!
hwnd
)
return
E_POINTER
;
...
...
@@ -1225,7 +1225,7 @@ static HRESULT WINAPI shellwindows_Register(IShellWindows *iface,
static
HRESULT
WINAPI
shellwindows_RegisterPending
(
IShellWindows
*
iface
,
LONG
threadid
,
VARIANT
*
loc
,
VARIANT
*
root
,
int
class
,
LONG
*
cookie
)
{
FIXME
(
"0x%x %s %s 0x%x %p
\n
"
,
threadid
,
debugstr_variant
(
loc
),
debugstr_variant
(
root
),
FIXME
(
"0x%
l
x %s %s 0x%x %p
\n
"
,
threadid
,
debugstr_variant
(
loc
),
debugstr_variant
(
root
),
class
,
cookie
);
return
E_NOTIMPL
;
}
...
...
@@ -1235,7 +1235,7 @@ static HRESULT WINAPI shellwindows_Revoke(IShellWindows *iface, LONG cookie)
struct
shellwindows
*
sw
=
impl_from_IShellWindows
(
iface
);
unsigned
int
i
;
TRACE
(
"iface %p, cookie %u.
\n
"
,
iface
,
cookie
);
TRACE
(
"iface %p, cookie %
l
u.
\n
"
,
iface
,
cookie
);
EnterCriticalSection
(
&
sw
->
cs
);
...
...
@@ -1259,7 +1259,7 @@ static HRESULT WINAPI shellwindows_OnNavigate(IShellWindows *iface, LONG cookie,
struct
shellwindows
*
sw
=
impl_from_IShellWindows
(
iface
);
unsigned
int
i
;
TRACE
(
"iface %p, cookie %u, location %s.
\n
"
,
iface
,
cookie
,
debugstr_variant
(
location
));
TRACE
(
"iface %p, cookie %
l
u, location %s.
\n
"
,
iface
,
cookie
,
debugstr_variant
(
location
));
if
(
V_VT
(
location
)
!=
(
VT_ARRAY
|
VT_UI1
))
{
...
...
@@ -1292,7 +1292,7 @@ static HRESULT WINAPI shellwindows_OnNavigate(IShellWindows *iface, LONG cookie,
static
HRESULT
WINAPI
shellwindows_OnActivated
(
IShellWindows
*
iface
,
LONG
cookie
,
VARIANT_BOOL
active
)
{
FIXME
(
"0x%x 0x%x
\n
"
,
cookie
,
active
);
FIXME
(
"0x%
l
x 0x%x
\n
"
,
cookie
,
active
);
return
E_NOTIMPL
;
}
...
...
@@ -1343,7 +1343,7 @@ static HRESULT WINAPI shellwindows_FindWindowSW(IShellWindows *iface, VARIANT *l
static
HRESULT
WINAPI
shellwindows_OnCreated
(
IShellWindows
*
iface
,
LONG
cookie
,
IUnknown
*
punk
)
{
FIXME
(
"0x%x %p
\n
"
,
cookie
,
punk
);
FIXME
(
"0x%
l
x %p
\n
"
,
cookie
,
punk
);
return
E_NOTIMPL
;
}
...
...
@@ -1497,7 +1497,7 @@ static HRESULT WINAPI webbrowser_GetTypeInfo(IWebBrowser2 *iface, UINT iTInfo, L
LPTYPEINFO
*
ppTInfo
)
{
struct
shellbrowserwindow
*
This
=
impl_from_IWebBrowser2
(
iface
);
TRACE
(
"(%p)->(%d %d %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
TRACE
(
"(%p)->(%d %
l
d %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
return
get_typeinfo
(
IWebBrowser2_tid
,
ppTInfo
);
}
...
...
@@ -1509,7 +1509,7 @@ static HRESULT WINAPI webbrowser_GetIDsOfNames(IWebBrowser2 *iface, REFIID riid,
ITypeInfo
*
typeinfo
;
HRESULT
hr
;
TRACE
(
"(%p)->(%s %p %d %d %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
TRACE
(
"(%p)->(%s %p %d %
l
d %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
lcid
,
rgDispId
);
if
(
!
rgszNames
||
cNames
==
0
||
!
rgDispId
)
...
...
@@ -1534,7 +1534,7 @@ static HRESULT WINAPI webbrowser_Invoke(IWebBrowser2 *iface, DISPID dispIdMember
ITypeInfo
*
typeinfo
;
HRESULT
hr
;
TRACE
(
"(%p)->(%
d %s %
d %08x %p %p %p %p)
\n
"
,
This
,
dispIdMember
,
debugstr_guid
(
riid
),
TRACE
(
"(%p)->(%
ld %s %l
d %08x %p %p %p %p)
\n
"
,
This
,
dispIdMember
,
debugstr_guid
(
riid
),
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
hr
=
get_typeinfo
(
IWebBrowser2_tid
,
&
typeinfo
);
...
...
@@ -1666,7 +1666,7 @@ static HRESULT WINAPI webbrowser_get_Left(IWebBrowser2 *iface, LONG *pl)
static
HRESULT
WINAPI
webbrowser_put_Left
(
IWebBrowser2
*
iface
,
LONG
Left
)
{
struct
shellbrowserwindow
*
This
=
impl_from_IWebBrowser2
(
iface
);
FIXME
(
"(%p)->(%d)
\n
"
,
This
,
Left
);
FIXME
(
"(%p)->(%
l
d)
\n
"
,
This
,
Left
);
return
E_NOTIMPL
;
}
...
...
@@ -1680,7 +1680,7 @@ static HRESULT WINAPI webbrowser_get_Top(IWebBrowser2 *iface, LONG *pl)
static
HRESULT
WINAPI
webbrowser_put_Top
(
IWebBrowser2
*
iface
,
LONG
Top
)
{
struct
shellbrowserwindow
*
This
=
impl_from_IWebBrowser2
(
iface
);
FIXME
(
"(%p)->(%d)
\n
"
,
This
,
Top
);
FIXME
(
"(%p)->(%
l
d)
\n
"
,
This
,
Top
);
return
E_NOTIMPL
;
}
...
...
@@ -1694,7 +1694,7 @@ static HRESULT WINAPI webbrowser_get_Width(IWebBrowser2 *iface, LONG *pl)
static
HRESULT
WINAPI
webbrowser_put_Width
(
IWebBrowser2
*
iface
,
LONG
Width
)
{
struct
shellbrowserwindow
*
This
=
impl_from_IWebBrowser2
(
iface
);
FIXME
(
"(%p)->(%d)
\n
"
,
This
,
Width
);
FIXME
(
"(%p)->(%
l
d)
\n
"
,
This
,
Width
);
return
E_NOTIMPL
;
}
...
...
@@ -1708,7 +1708,7 @@ static HRESULT WINAPI webbrowser_get_Height(IWebBrowser2 *iface, LONG *pl)
static
HRESULT
WINAPI
webbrowser_put_Height
(
IWebBrowser2
*
iface
,
LONG
Height
)
{
struct
shellbrowserwindow
*
This
=
impl_from_IWebBrowser2
(
iface
);
FIXME
(
"(%p)->(%d)
\n
"
,
This
,
Height
);
FIXME
(
"(%p)->(%
l
d)
\n
"
,
This
,
Height
);
return
E_NOTIMPL
;
}
...
...
@@ -2223,7 +2223,7 @@ static HRESULT WINAPI shellbrowser_BrowseObject(IShellBrowser *iface, LPCITEMIDL
static
HRESULT
WINAPI
shellbrowser_GetViewStateStream
(
IShellBrowser
*
iface
,
DWORD
mode
,
IStream
**
stream
)
{
FIXME
(
"0x%x %p
\n
"
,
mode
,
stream
);
FIXME
(
"0x%
l
x %p
\n
"
,
mode
,
stream
);
return
E_NOTIMPL
;
}
...
...
@@ -2236,7 +2236,7 @@ static HRESULT WINAPI shellbrowser_GetControlWindow(IShellBrowser *iface, UINT i
static
HRESULT
WINAPI
shellbrowser_SendControlMsg
(
IShellBrowser
*
iface
,
UINT
id
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
,
LRESULT
*
pret
)
{
FIXME
(
"%d %d %
lx %l
x %p
\n
"
,
id
,
uMsg
,
wParam
,
lParam
,
pret
);
FIXME
(
"%d %d %
Ix %I
x %p
\n
"
,
id
,
uMsg
,
wParam
,
lParam
,
pret
);
return
E_NOTIMPL
;
}
...
...
@@ -2314,5 +2314,5 @@ static void shellwindows_init(void)
&
shellwindows_classfactory
.
classreg
);
if
(
FAILED
(
hr
))
WARN
(
"Failed to register ShellWindows object: %08x
\n
"
,
hr
);
WARN
(
"Failed to register ShellWindows object: %08
l
x
\n
"
,
hr
);
}
programs/explorer/explorer.c
View file @
e299b5af
...
...
@@ -421,7 +421,7 @@ static void make_explorer_window(parameters_struct *params)
V_VT
(
&
empty_var
)
=
VT_EMPTY
;
if
(
IShellWindows_FindWindowSW
(
sw
,
&
var
,
&
empty_var
,
SWC_EXPLORER
,
&
hwnd
,
0
,
&
dispatch
)
==
S_OK
)
{
TRACE
(
"Found window %#x already browsing path %s.
\n
"
,
hwnd
,
debugstr_w
(
path
));
TRACE
(
"Found window %#
l
x already browsing path %s.
\n
"
,
hwnd
,
debugstr_w
(
path
));
SetForegroundWindow
((
HWND
)(
LONG_PTR
)
hwnd
);
IShellWindows_Release
(
sw
);
return
;
...
...
@@ -665,7 +665,7 @@ static LRESULT CALLBACK explorer_wnd_proc(HWND hwnd, UINT uMsg, WPARAM wParam, L
=
(
explorer_info
*
)
GetWindowLongPtrW
(
hwnd
,
EXPLORER_INFO_INDEX
);
IExplorerBrowser
*
browser
=
NULL
;
WINE_TRACE
(
"(hwnd=%p,uMsg=%u,wParam=%
lx,lParam=%l
x)
\n
"
,
hwnd
,
uMsg
,
wParam
,
lParam
);
WINE_TRACE
(
"(hwnd=%p,uMsg=%u,wParam=%
Ix,lParam=%I
x)
\n
"
,
hwnd
,
uMsg
,
wParam
,
lParam
);
if
(
info
)
browser
=
info
->
browser
;
switch
(
uMsg
)
...
...
programs/explorer/systray.c
View file @
e299b5af
...
...
@@ -594,7 +594,7 @@ static BOOL handle_incoming(HWND hwndSource, COPYDATASTRUCT *cds)
}
break
;
default:
WINE_FIXME
(
"unhandled tray message: %
l
d
\n
"
,
cds
->
dwData
);
WINE_FIXME
(
"unhandled tray message: %
I
d
\n
"
,
cds
->
dwData
);
break
;
}
...
...
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