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
5067ea70
Commit
5067ea70
authored
May 18, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
May 18, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Increment the call id field of the request header.
This is necessary for compatibility with MS/RPC servers.
parent
c1d00c54
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
rpc_binding.h
dlls/rpcrt4/rpc_binding.h
+1
-0
rpc_message.c
dlls/rpcrt4/rpc_message.c
+1
-0
rpc_transport.c
dlls/rpcrt4/rpc_transport.c
+1
-0
No files found.
dlls/rpcrt4/rpc_binding.h
View file @
5067ea70
...
...
@@ -37,6 +37,7 @@ typedef struct _RpcConnection
USHORT
MaxTransmissionSize
;
/* The active interface bound to server. */
RPC_SYNTAX_IDENTIFIER
ActiveInterface
;
USHORT
NextCallId
;
/* authentication */
CtxtHandle
ctx
;
...
...
dlls/rpcrt4/rpc_message.c
View file @
5067ea70
...
...
@@ -666,6 +666,7 @@ RPC_STATUS WINAPI I_RpcSend(PRPC_MESSAGE pMsg)
hdr
=
RPCRT4_BuildRequestHeader
(
pMsg
->
DataRepresentation
,
pMsg
->
BufferLength
,
pMsg
->
ProcNum
,
&
bind
->
ObjectUuid
);
hdr
->
common
.
call_id
=
conn
->
NextCallId
++
;
}
status
=
RPCRT4_Send
(
conn
,
hdr
,
pMsg
->
Buffer
,
pMsg
->
BufferLength
);
...
...
dlls/rpcrt4/rpc_transport.c
View file @
5067ea70
...
...
@@ -451,6 +451,7 @@ RPC_STATUS RPCRT4_CreateConnection(RpcConnection** Connection, BOOL server, LPCS
NewConnection
->
Endpoint
=
RPCRT4_strdupA
(
Endpoint
);
NewConnection
->
Used
=
Binding
;
NewConnection
->
MaxTransmissionSize
=
RPC_MAX_PACKET_SIZE
;
NewConnection
->
NextCallId
=
1
;
TRACE
(
"connection: %p
\n
"
,
NewConnection
);
*
Connection
=
NewConnection
;
...
...
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