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
fc2c0160
Commit
fc2c0160
authored
Apr 27, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Apr 30, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Avoid shadowing pProcHeader.
parent
2da2f001
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
ndr_es.c
dlls/rpcrt4/ndr_es.c
+3
-3
ndr_stubless.c
dlls/rpcrt4/ndr_stubless.c
+8
-8
No files found.
dlls/rpcrt4/ndr_es.c
View file @
fc2c0160
...
...
@@ -348,9 +348,9 @@ void WINAPIV NdrMesProcEncodeDecode(handle_t Handle, const MIDL_STUB_DESC * pStu
if
(
pProcHeader
->
Oi_flags
&
RPC_FC_PROC_OIF_RPCFLAGS
)
{
const
NDR_PROC_HEADER_RPC
*
pProcHeader
=
(
const
NDR_PROC_HEADER_RPC
*
)
&
pFormat
[
0
];
stack_size
=
pProcHeader
->
stack_size
;
pEsMsg
->
ProcNumber
=
pProcHeader
->
proc_num
;
const
NDR_PROC_HEADER_RPC
*
header_rpc
=
(
const
NDR_PROC_HEADER_RPC
*
)
&
pFormat
[
0
];
stack_size
=
header_rpc
->
stack_size
;
pEsMsg
->
ProcNumber
=
header_rpc
->
proc_num
;
pFormat
+=
sizeof
(
NDR_PROC_HEADER_RPC
);
}
else
...
...
dlls/rpcrt4/ndr_stubless.c
View file @
fc2c0160
...
...
@@ -626,9 +626,9 @@ LONG_PTR CDECL ndr_client_call( PMIDL_STUB_DESC pStubDesc, PFORMAT_STRING pForma
if
(
pProcHeader
->
Oi_flags
&
RPC_FC_PROC_OIF_RPCFLAGS
)
{
const
NDR_PROC_HEADER_RPC
*
pProcHeader
=
(
const
NDR_PROC_HEADER_RPC
*
)
&
pFormat
[
0
];
stack_size
=
pProcHeader
->
stack_size
;
procedure_number
=
pProcHeader
->
proc_num
;
const
NDR_PROC_HEADER_RPC
*
header_rpc
=
(
const
NDR_PROC_HEADER_RPC
*
)
&
pFormat
[
0
];
stack_size
=
header_rpc
->
stack_size
;
procedure_number
=
header_rpc
->
proc_num
;
pFormat
+=
sizeof
(
NDR_PROC_HEADER_RPC
);
}
else
...
...
@@ -1231,8 +1231,8 @@ LONG WINAPI NdrStubCall2(
if
(
pProcHeader
->
Oi_flags
&
RPC_FC_PROC_OIF_RPCFLAGS
)
{
const
NDR_PROC_HEADER_RPC
*
pProcHeader
=
(
const
NDR_PROC_HEADER_RPC
*
)
&
pFormat
[
0
];
stack_size
=
pProcHeader
->
stack_size
;
const
NDR_PROC_HEADER_RPC
*
header_rpc
=
(
const
NDR_PROC_HEADER_RPC
*
)
&
pFormat
[
0
];
stack_size
=
header_rpc
->
stack_size
;
pFormat
+=
sizeof
(
NDR_PROC_HEADER_RPC
);
}
...
...
@@ -1519,9 +1519,9 @@ LONG_PTR CDECL ndr_async_client_call( PMIDL_STUB_DESC pStubDesc, PFORMAT_STRING
if
(
pProcHeader
->
Oi_flags
&
RPC_FC_PROC_OIF_RPCFLAGS
)
{
const
NDR_PROC_HEADER_RPC
*
pProcHeader
=
(
const
NDR_PROC_HEADER_RPC
*
)
&
pFormat
[
0
];
async_call_data
->
stack_size
=
pProcHeader
->
stack_size
;
procedure_number
=
pProcHeader
->
proc_num
;
const
NDR_PROC_HEADER_RPC
*
header_rpc
=
(
const
NDR_PROC_HEADER_RPC
*
)
&
pFormat
[
0
];
async_call_data
->
stack_size
=
header_rpc
->
stack_size
;
procedure_number
=
header_rpc
->
proc_num
;
pFormat
+=
sizeof
(
NDR_PROC_HEADER_RPC
);
}
else
...
...
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