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
f1729574
Commit
f1729574
authored
Feb 04, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcss: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
cf63513a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
12 deletions
+11
-12
Makefile.in
programs/rpcss/Makefile.in
+0
-1
epmp.c
programs/rpcss/epmp.c
+5
-5
irotp.c
programs/rpcss/irotp.c
+4
-4
rpcss_main.c
programs/rpcss/rpcss_main.c
+2
-2
No files found.
programs/rpcss/Makefile.in
View file @
f1729574
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
rpcss.exe
MODULE
=
rpcss.exe
IMPORTS
=
rpcrt4 advapi32
IMPORTS
=
rpcrt4 advapi32
...
...
programs/rpcss/epmp.c
View file @
f1729574
...
@@ -98,7 +98,7 @@ void __cdecl ept_insert(handle_t h,
...
@@ -98,7 +98,7 @@ void __cdecl ept_insert(handle_t h,
unsigned32
i
;
unsigned32
i
;
RPC_STATUS
rpc_status
;
RPC_STATUS
rpc_status
;
WINE_TRACE
(
"(%p, %
u, %p, %
u, %p)
\n
"
,
h
,
num_ents
,
entries
,
replace
,
status
);
WINE_TRACE
(
"(%p, %
lu, %p, %l
u, %p)
\n
"
,
h
,
num_ents
,
entries
,
replace
,
status
);
*
status
=
RPC_S_OK
;
*
status
=
RPC_S_OK
;
...
@@ -119,7 +119,7 @@ void __cdecl ept_insert(handle_t h,
...
@@ -119,7 +119,7 @@ void __cdecl ept_insert(handle_t h,
&
entry
->
address
);
&
entry
->
address
);
if
(
rpc_status
!=
RPC_S_OK
)
if
(
rpc_status
!=
RPC_S_OK
)
{
{
WINE_WARN
(
"TowerExplode failed %u
\n
"
,
rpc_status
);
WINE_WARN
(
"TowerExplode failed %
l
u
\n
"
,
rpc_status
);
*
status
=
rpc_status
;
*
status
=
rpc_status
;
HeapFree
(
GetProcessHeap
(),
0
,
entry
);
HeapFree
(
GetProcessHeap
(),
0
,
entry
);
break
;
/* FIXME: more cleanup? */
break
;
/* FIXME: more cleanup? */
...
@@ -149,7 +149,7 @@ void __cdecl ept_delete(handle_t h,
...
@@ -149,7 +149,7 @@ void __cdecl ept_delete(handle_t h,
*
status
=
RPC_S_OK
;
*
status
=
RPC_S_OK
;
WINE_TRACE
(
"(%p, %u, %p, %p)
\n
"
,
h
,
num_ents
,
entries
,
status
);
WINE_TRACE
(
"(%p, %
l
u, %p, %p)
\n
"
,
h
,
num_ents
,
entries
,
status
);
EnterCriticalSection
(
&
csEpm
);
EnterCriticalSection
(
&
csEpm
);
...
@@ -215,7 +215,7 @@ void __cdecl ept_map(handle_t h,
...
@@ -215,7 +215,7 @@ void __cdecl ept_map(handle_t h,
*
status
=
RPC_S_OK
;
*
status
=
RPC_S_OK
;
*
num_towers
=
0
;
*
num_towers
=
0
;
WINE_TRACE
(
"(%p, %p, %p, %p, %u, %p, %p, %p)
\n
"
,
h
,
object
,
map_tower
,
WINE_TRACE
(
"(%p, %p, %p, %p, %
l
u, %p, %p, %p)
\n
"
,
h
,
object
,
map_tower
,
entry_handle
,
max_towers
,
num_towers
,
towers
,
status
);
entry_handle
,
max_towers
,
num_towers
,
towers
,
status
);
rpc_status
=
TowerExplode
(
map_tower
,
&
iface
,
&
syntax
,
&
protseq
,
rpc_status
=
TowerExplode
(
map_tower
,
&
iface
,
&
syntax
,
&
protseq
,
...
@@ -282,7 +282,7 @@ void __cdecl ept_mgmt_delete(handle_t h,
...
@@ -282,7 +282,7 @@ void __cdecl ept_mgmt_delete(handle_t h,
twr_p_t
tower
,
twr_p_t
tower
,
error_status_t
*
status
)
error_status_t
*
status
)
{
{
WINE_FIXME
(
"(%p, %d, %p, %p, %p): stub
\n
"
,
h
,
object_speced
,
object
,
tower
,
status
);
WINE_FIXME
(
"(%p, %
l
d, %p, %p, %p): stub
\n
"
,
h
,
object_speced
,
object
,
tower
,
status
);
*
status
=
EPT_S_CANT_PERFORM_OP
;
*
status
=
EPT_S_CANT_PERFORM_OP
;
}
}
programs/rpcss/irotp.c
View file @
f1729574
...
@@ -84,7 +84,7 @@ HRESULT __cdecl IrotRegister(
...
@@ -84,7 +84,7 @@ HRESULT __cdecl IrotRegister(
if
(
grfFlags
&
~
(
ROTFLAGS_REGISTRATIONKEEPSALIVE
|
ROTFLAGS_ALLOWANYCLIENT
))
if
(
grfFlags
&
~
(
ROTFLAGS_REGISTRATIONKEEPSALIVE
|
ROTFLAGS_ALLOWANYCLIENT
))
{
{
WINE_ERR
(
"Invalid grfFlags: 0x%08x
\n
"
,
grfFlags
&
~
(
ROTFLAGS_REGISTRATIONKEEPSALIVE
|
ROTFLAGS_ALLOWANYCLIENT
));
WINE_ERR
(
"Invalid grfFlags: 0x%08
l
x
\n
"
,
grfFlags
&
~
(
ROTFLAGS_REGISTRATIONKEEPSALIVE
|
ROTFLAGS_ALLOWANYCLIENT
));
return
E_INVALIDARG
;
return
E_INVALIDARG
;
}
}
...
@@ -132,7 +132,7 @@ HRESULT __cdecl IrotRegister(
...
@@ -132,7 +132,7 @@ HRESULT __cdecl IrotRegister(
!
memcmp
(
&
data
->
abData
,
&
existing_rot_entry
->
moniker_data
->
abData
,
data
->
ulCntData
))
!
memcmp
(
&
data
->
abData
,
&
existing_rot_entry
->
moniker_data
->
abData
,
data
->
ulCntData
))
{
{
hr
=
MK_S_MONIKERALREADYREGISTERED
;
hr
=
MK_S_MONIKERALREADYREGISTERED
;
WINE_TRACE
(
"moniker already registered with cookie %d
\n
"
,
existing_rot_entry
->
cookie
);
WINE_TRACE
(
"moniker already registered with cookie %
l
d
\n
"
,
existing_rot_entry
->
cookie
);
break
;
break
;
}
}
}
}
...
@@ -157,7 +157,7 @@ HRESULT __cdecl IrotRevoke(
...
@@ -157,7 +157,7 @@ HRESULT __cdecl IrotRevoke(
{
{
struct
rot_entry
*
rot_entry
;
struct
rot_entry
*
rot_entry
;
WINE_TRACE
(
"%d
\n
"
,
cookie
);
WINE_TRACE
(
"%
l
d
\n
"
,
cookie
);
EnterCriticalSection
(
&
csRunningObjectTable
);
EnterCriticalSection
(
&
csRunningObjectTable
);
LIST_FOR_EACH_ENTRY
(
rot_entry
,
&
RunningObjectTable
,
struct
rot_entry
,
entry
)
LIST_FOR_EACH_ENTRY
(
rot_entry
,
&
RunningObjectTable
,
struct
rot_entry
,
entry
)
...
@@ -269,7 +269,7 @@ HRESULT __cdecl IrotNoteChangeTime(
...
@@ -269,7 +269,7 @@ HRESULT __cdecl IrotNoteChangeTime(
{
{
struct
rot_entry
*
rot_entry
;
struct
rot_entry
*
rot_entry
;
WINE_TRACE
(
"%d %p
\n
"
,
cookie
,
last_modified_time
);
WINE_TRACE
(
"%
l
d %p
\n
"
,
cookie
,
last_modified_time
);
EnterCriticalSection
(
&
csRunningObjectTable
);
EnterCriticalSection
(
&
csRunningObjectTable
);
LIST_FOR_EACH_ENTRY
(
rot_entry
,
&
RunningObjectTable
,
struct
rot_entry
,
entry
)
LIST_FOR_EACH_ENTRY
(
rot_entry
,
&
RunningObjectTable
,
struct
rot_entry
,
entry
)
...
...
programs/rpcss/rpcss_main.c
View file @
f1729574
...
@@ -230,7 +230,7 @@ static DWORD WINAPI service_handler( DWORD ctrl, DWORD event_type, LPVOID event_
...
@@ -230,7 +230,7 @@ static DWORD WINAPI service_handler( DWORD ctrl, DWORD event_type, LPVOID event_
SetEvent
(
exit_event
);
SetEvent
(
exit_event
);
return
NO_ERROR
;
return
NO_ERROR
;
default:
default:
FIXME
(
"got service ctrl %x
\n
"
,
ctrl
);
FIXME
(
"got service ctrl %
l
x
\n
"
,
ctrl
);
status
.
dwCurrentState
=
SERVICE_RUNNING
;
status
.
dwCurrentState
=
SERVICE_RUNNING
;
SetServiceStatus
(
service_handle
,
&
status
);
SetServiceStatus
(
service_handle
,
&
status
);
return
NO_ERROR
;
return
NO_ERROR
;
...
@@ -246,7 +246,7 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv )
...
@@ -246,7 +246,7 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv )
if
((
ret
=
RPCSS_Initialize
()))
if
((
ret
=
RPCSS_Initialize
()))
{
{
WARN
(
"Failed to initialize rpc interfaces, status %d.
\n
"
,
ret
);
WARN
(
"Failed to initialize rpc interfaces, status %
l
d.
\n
"
,
ret
);
return
;
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