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
47dc4123
Commit
47dc4123
authored
Feb 04, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
plugplay: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
eb1ff556
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Makefile.in
programs/plugplay/Makefile.in
+0
-1
main.c
programs/plugplay/main.c
+4
-4
No files found.
programs/plugplay/Makefile.in
View file @
47dc4123
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
plugplay.exe
IMPORTS
=
advapi32 rpcrt4 user32
...
...
programs/plugplay/main.c
View file @
47dc4123
...
...
@@ -190,7 +190,7 @@ static DWORD WINAPI service_handler( DWORD ctrl, DWORD event_type, LPVOID event_
SetEvent
(
stop_event
);
return
NO_ERROR
;
default:
WINE_FIXME
(
"got service ctrl %x
\n
"
,
ctrl
);
WINE_FIXME
(
"got service ctrl %
l
x
\n
"
,
ctrl
);
status
.
dwCurrentState
=
SERVICE_RUNNING
;
SetServiceStatus
(
service_handle
,
&
status
);
return
NO_ERROR
;
...
...
@@ -208,17 +208,17 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv )
if
((
err
=
RpcServerUseProtseqEpA
(
protseq
,
0
,
endpoint
,
NULL
)))
{
ERR
(
"RpcServerUseProtseqEp() failed, error %u
\n
"
,
err
);
ERR
(
"RpcServerUseProtseqEp() failed, error %
l
u
\n
"
,
err
);
return
;
}
if
((
err
=
RpcServerRegisterIf
(
plugplay_v0_0_s_ifspec
,
NULL
,
NULL
)))
{
ERR
(
"RpcServerRegisterIf() failed, error %u
\n
"
,
err
);
ERR
(
"RpcServerRegisterIf() failed, error %
l
u
\n
"
,
err
);
return
;
}
if
((
err
=
RpcServerListen
(
1
,
RPC_C_LISTEN_MAX_CALLS_DEFAULT
,
TRUE
)))
{
ERR
(
"RpcServerListen() failed, error %u
\n
"
,
err
);
ERR
(
"RpcServerListen() failed, error %
l
u
\n
"
,
err
);
return
;
}
...
...
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