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
48dc5189
Commit
48dc5189
authored
Feb 22, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wiaservc: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5a65a603
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
16 deletions
+15
-16
Makefile.in
dlls/wiaservc/Makefile.in
+0
-1
service.c
dlls/wiaservc/service.c
+3
-3
wiadevmgr.c
dlls/wiaservc/wiadevmgr.c
+12
-12
No files found.
dlls/wiaservc/Makefile.in
View file @
48dc5189
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
wiaservc.dll
IMPORTS
=
uuid ole32 advapi32
...
...
dlls/wiaservc/service.c
View file @
48dc5189
...
...
@@ -69,7 +69,7 @@ ServiceHandler(DWORD ctrl, DWORD event_type, LPVOID event_data, LPVOID context)
SetEvent
(
stop_event
);
break
;
default:
FIXME
(
"ignoring handle service ctrl %x
\n
"
,
ctrl
);
FIXME
(
"ignoring handle service ctrl %
l
x
\n
"
,
ctrl
);
UpdateStatus
(
status
.
dwCurrentState
,
NO_ERROR
,
0
);
break
;
}
...
...
@@ -107,7 +107,7 @@ StartCount(void)
VOID
WINAPI
ServiceMain
(
DWORD
dwArgc
,
LPWSTR
*
lpszArgv
)
{
TRACE
(
"(%d, %p)
\n
"
,
dwArgc
,
lpszArgv
);
TRACE
(
"(%
l
d, %p)
\n
"
,
dwArgc
,
lpszArgv
);
stop_event
=
CreateEventW
(
NULL
,
TRUE
,
FALSE
,
NULL
);
if
(
!
stop_event
)
{
...
...
@@ -117,7 +117,7 @@ ServiceMain(DWORD dwArgc, LPWSTR *lpszArgv)
status_handle
=
RegisterServiceCtrlHandlerExW
(
L"stisvc"
,
ServiceHandler
,
NULL
);
if
(
!
status_handle
)
{
ERR
(
"failed to register handler: %u
\n
"
,
GetLastError
());
ERR
(
"failed to register handler: %
l
u
\n
"
,
GetLastError
());
return
;
}
...
...
dlls/wiaservc/wiadevmgr.c
View file @
48dc5189
...
...
@@ -67,7 +67,7 @@ static ULONG WINAPI enumwiadevinfo_AddRef(IEnumWIA_DEV_INFO *iface)
{
enumwiadevinfo
*
This
=
impl_from_IEnumWIA_DEV_INFO
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(%u)
\n
"
,
This
,
ref
);
TRACE
(
"(%p)->(%
l
u)
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -76,7 +76,7 @@ static ULONG WINAPI enumwiadevinfo_Release(IEnumWIA_DEV_INFO *iface)
enumwiadevinfo
*
This
=
impl_from_IEnumWIA_DEV_INFO
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(%u)
\n
"
,
This
,
ref
);
TRACE
(
"(%p)->(%
l
u)
\n
"
,
This
,
ref
);
if
(
ref
==
0
)
HeapFree
(
GetProcessHeap
(),
0
,
This
);
...
...
@@ -87,7 +87,7 @@ static HRESULT WINAPI enumwiadevinfo_Next(IEnumWIA_DEV_INFO *iface, ULONG count,
{
enumwiadevinfo
*
This
=
impl_from_IEnumWIA_DEV_INFO
(
iface
);
FIXME
(
"(%p, %d, %p, %p): stub
\n
"
,
This
,
count
,
elem
,
fetched
);
FIXME
(
"(%p, %
l
d, %p, %p): stub
\n
"
,
This
,
count
,
elem
,
fetched
);
*
fetched
=
0
;
return
E_NOTIMPL
;
...
...
@@ -97,7 +97,7 @@ static HRESULT WINAPI enumwiadevinfo_Skip(IEnumWIA_DEV_INFO *iface, ULONG count)
{
enumwiadevinfo
*
This
=
impl_from_IEnumWIA_DEV_INFO
(
iface
);
FIXME
(
"(%p, %u): stub
\n
"
,
This
,
count
);
FIXME
(
"(%p, %
l
u): stub
\n
"
,
This
,
count
);
return
E_NOTIMPL
;
}
...
...
@@ -182,7 +182,7 @@ static HRESULT WINAPI wiadevmgr_EnumDeviceInfo(IWiaDevMgr *iface, LONG flag, IEn
wiadevmgr
*
This
=
impl_from_IWiaDevMgr
(
iface
);
enumwiadevinfo
*
enuminfo
;
TRACE
(
"(%p)->(%x, %p)
\n
"
,
This
,
flag
,
ret
);
TRACE
(
"(%p)->(%
l
x, %p)
\n
"
,
This
,
flag
,
ret
);
*
ret
=
NULL
;
...
...
@@ -208,7 +208,7 @@ static HRESULT WINAPI wiadevmgr_SelectDeviceDlg(IWiaDevMgr *iface, HWND hwndPare
LONG
lFlags
,
BSTR
*
pbstrDeviceID
,
IWiaItem
**
ppItemRoot
)
{
wiadevmgr
*
This
=
impl_from_IWiaDevMgr
(
iface
);
FIXME
(
"(%p, %p, %
d, 0x%
x, %p, %p): stub
\n
"
,
This
,
hwndParent
,
lDeviceType
,
lFlags
,
pbstrDeviceID
,
ppItemRoot
);
FIXME
(
"(%p, %p, %
ld, 0x%l
x, %p, %p): stub
\n
"
,
This
,
hwndParent
,
lDeviceType
,
lFlags
,
pbstrDeviceID
,
ppItemRoot
);
return
E_NOTIMPL
;
}
...
...
@@ -216,7 +216,7 @@ static HRESULT WINAPI wiadevmgr_SelectDeviceDlgID(IWiaDevMgr *iface, HWND hwndPa
LONG
lFlags
,
BSTR
*
pbstrDeviceID
)
{
wiadevmgr
*
This
=
impl_from_IWiaDevMgr
(
iface
);
FIXME
(
"(%p, %p, %
d, 0x%
x, %p): stub
\n
"
,
This
,
hwndParent
,
lDeviceType
,
lFlags
,
pbstrDeviceID
);
FIXME
(
"(%p, %p, %
ld, 0x%l
x, %p): stub
\n
"
,
This
,
hwndParent
,
lDeviceType
,
lFlags
,
pbstrDeviceID
);
return
E_NOTIMPL
;
}
...
...
@@ -225,7 +225,7 @@ static HRESULT WINAPI wiadevmgr_GetImageDlg(IWiaDevMgr *iface, HWND hwndParent,
BSTR
bstrFilename
,
GUID
*
pguidFormat
)
{
wiadevmgr
*
This
=
impl_from_IWiaDevMgr
(
iface
);
FIXME
(
"(%p, %p, %
d, 0x%x, %
d, %p, %s, %s): stub
\n
"
,
This
,
hwndParent
,
lDeviceType
,
lFlags
,
FIXME
(
"(%p, %p, %
ld, 0x%lx, %l
d, %p, %s, %s): stub
\n
"
,
This
,
hwndParent
,
lDeviceType
,
lFlags
,
lIntent
,
pItemRoot
,
debugstr_w
(
bstrFilename
),
debugstr_guid
(
pguidFormat
));
return
E_NOTIMPL
;
}
...
...
@@ -235,7 +235,7 @@ static HRESULT WINAPI wiadevmgr_RegisterEventCallbackProgram(IWiaDevMgr *iface,
BSTR
bstrName
,
BSTR
bstrDescription
,
BSTR
bstrIcon
)
{
wiadevmgr
*
This
=
impl_from_IWiaDevMgr
(
iface
);
FIXME
(
"(%p, 0x%x, %s, %s, %s, %s, %s, %s): stub
\n
"
,
This
,
lFlags
,
debugstr_w
(
bstrDeviceID
),
FIXME
(
"(%p, 0x%
l
x, %s, %s, %s, %s, %s, %s): stub
\n
"
,
This
,
lFlags
,
debugstr_w
(
bstrDeviceID
),
debugstr_guid
(
pEventGUID
),
debugstr_w
(
bstrCommandline
),
debugstr_w
(
bstrName
),
debugstr_w
(
bstrDescription
),
debugstr_w
(
bstrIcon
));
return
E_NOTIMPL
;
...
...
@@ -246,7 +246,7 @@ static HRESULT WINAPI wiadevmgr_RegisterEventCallbackInterface(IWiaDevMgr *iface
IUnknown
**
pEventObject
)
{
wiadevmgr
*
This
=
impl_from_IWiaDevMgr
(
iface
);
FIXME
(
"(%p, 0x%x, %s, %s, %p, %p): stub
\n
"
,
This
,
lFlags
,
debugstr_w
(
bstrDeviceID
),
FIXME
(
"(%p, 0x%
l
x, %s, %s, %p, %p): stub
\n
"
,
This
,
lFlags
,
debugstr_w
(
bstrDeviceID
),
debugstr_guid
(
pEventGUID
),
pIWiaEventCallback
,
pEventObject
);
return
E_NOTIMPL
;
}
...
...
@@ -256,7 +256,7 @@ static HRESULT WINAPI wiadevmgr_RegisterEventCallbackCLSID(IWiaDevMgr *iface, LO
BSTR
bstrDescription
,
BSTR
bstrIcon
)
{
wiadevmgr
*
This
=
impl_from_IWiaDevMgr
(
iface
);
FIXME
(
"(%p, 0x%x, %s, %s, %s, %s, %s, %s): stub
\n
"
,
This
,
lFlags
,
debugstr_w
(
bstrDeviceID
),
FIXME
(
"(%p, 0x%
l
x, %s, %s, %s, %s, %s, %s): stub
\n
"
,
This
,
lFlags
,
debugstr_w
(
bstrDeviceID
),
debugstr_guid
(
pEventGUID
),
debugstr_guid
(
pClsID
),
debugstr_w
(
bstrName
),
debugstr_w
(
bstrDescription
),
debugstr_w
(
bstrIcon
));
return
E_NOTIMPL
;
...
...
@@ -265,7 +265,7 @@ static HRESULT WINAPI wiadevmgr_RegisterEventCallbackCLSID(IWiaDevMgr *iface, LO
static
HRESULT
WINAPI
wiadevmgr_AddDeviceDlg
(
IWiaDevMgr
*
iface
,
HWND
hwndParent
,
LONG
lFlags
)
{
wiadevmgr
*
This
=
impl_from_IWiaDevMgr
(
iface
);
FIXME
(
"(%p, %p, 0x%x): stub
\n
"
,
This
,
hwndParent
,
lFlags
);
FIXME
(
"(%p, %p, 0x%
l
x): stub
\n
"
,
This
,
hwndParent
,
lFlags
);
return
E_NOTIMPL
;
}
...
...
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