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
40c9882b
Commit
40c9882b
authored
May 21, 2003
by
Ove Kaaven
Committed by
Alexandre Julliard
May 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added semi-stub for NdrProxyErrorHandler.
Fixed a case of potential stack trashing.
parent
81e72d8f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
ndr_midl.c
dlls/rpcrt4/ndr_midl.c
+14
-2
rpcrt4.spec
dlls/rpcrt4/rpcrt4.spec
+1
-1
No files found.
dlls/rpcrt4/ndr_midl.c
View file @
40c9882b
...
...
@@ -122,6 +122,15 @@ void WINAPI NdrProxyFreeBuffer(void *This,
}
/***********************************************************************
* NdrProxyErrorHandler [RPCRT4.@]
*/
HRESULT
WINAPI
NdrProxyErrorHandler
(
DWORD
dwExceptionCode
)
{
FIXME
(
"(0x%08lx): semi-stub
\n
"
,
dwExceptionCode
);
return
MAKE_HRESULT
(
SEVERITY_ERROR
,
FACILITY_RPC
,
RPC_S_CALL_FAILED
);
}
/***********************************************************************
* NdrStubInitialize [RPCRT4.@]
*/
void
WINAPI
NdrStubInitialize
(
PRPC_MESSAGE
pRpcMsg
,
...
...
@@ -162,7 +171,9 @@ void WINAPI NdrClientInitializeNew( PRPC_MESSAGE pRpcMessage, PMIDL_STUB_MESSAGE
assert
(
pRpcMessage
&&
pStubMsg
&&
pStubDesc
);
memset
(
pRpcMessage
,
0
,
sizeof
(
RPC_MESSAGE
));
memset
(
pStubMsg
,
0
,
sizeof
(
MIDL_STUB_MESSAGE
));
/* not everyone allocates stack space for w2kReserved */
memset
(
pStubMsg
,
0
,
sizeof
(
*
pStubMsg
)
-
sizeof
(
pStubMsg
->
w2kReserved
));
pStubMsg
->
ReuseBuffer
=
FALSE
;
pStubMsg
->
IsClient
=
TRUE
;
...
...
@@ -185,7 +196,8 @@ unsigned char* WINAPI NdrServerInitializeNew( PRPC_MESSAGE pRpcMsg, PMIDL_STUB_M
assert
(
pRpcMsg
&&
pStubMsg
&&
pStubDesc
);
memset
(
pStubMsg
,
0
,
sizeof
(
MIDL_STUB_MESSAGE
));
/* not everyone allocates stack space for w2kReserved */
memset
(
pStubMsg
,
0
,
sizeof
(
*
pStubMsg
)
-
sizeof
(
pStubMsg
->
w2kReserved
));
pStubMsg
->
ReuseBuffer
=
TRUE
;
pStubMsg
->
IsClient
=
FALSE
;
...
...
dlls/rpcrt4/rpcrt4.spec
View file @
40c9882b
...
...
@@ -285,7 +285,7 @@
@ stub NdrPipeSendReceive
@ stub NdrPipesDone
@ stub NdrPipesInitialize
@ st
ub NdrProxyErrorHandler
@ st
dcall NdrProxyErrorHandler(long)
@ stdcall NdrProxyFreeBuffer(ptr ptr)
@ stdcall NdrProxyGetBuffer(ptr ptr)
@ stdcall NdrProxyInitialize(ptr ptr ptr ptr long)
...
...
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