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
fc55077e
Commit
fc55077e
authored
Oct 28, 2002
by
Greg Turner
Committed by
Alexandre Julliard
Oct 28, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Clean up and enhance some traces.
- Stubs for NdrConvert, NdrConvert2, and NdrServerInitializeNew.
parent
61e8be88
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
37 additions
and
7 deletions
+37
-7
ndr_marshall.c
dlls/rpcrt4/ndr_marshall.c
+19
-1
ndr_midl.c
dlls/rpcrt4/ndr_midl.c
+10
-0
rpc_binding.c
dlls/rpcrt4/rpc_binding.c
+1
-1
rpc_server.c
dlls/rpcrt4/rpc_server.c
+2
-2
rpcrt4.spec
dlls/rpcrt4/rpcrt4.spec
+3
-3
rpcndr.h
include/rpcndr.h
+2
-0
No files found.
dlls/rpcrt4/ndr_marshall.c
View file @
fc55077e
...
...
@@ -127,8 +127,26 @@ unsigned long WINAPI NdrConformantStringMemorySize( PMIDL_STUB_MESSAGE pStubMsg,
unsigned
char
*
WINAPI
NdrConformantStringUnmarshall
(
PMIDL_STUB_MESSAGE
pStubMsg
,
unsigned
char
**
ppMemory
,
PFORMAT_STRING
pFormat
,
unsigned
char
fMustAlloc
)
{
FIXME
(
"stub
\n
"
);
FIXME
(
"(pStubMsg == ^%p, *pMemory == ^%p, pFormat == ^%p, fMustAlloc == %u): stub.
\n
"
,
pStubMsg
,
*
ppMemory
,
pFormat
,
fMustAlloc
);
return
NULL
;
}
/***********************************************************************
* NdrConvert [RPCRT4.@]
*/
void
WINAPI
NdrConvert
(
PMIDL_STUB_MESSAGE
pStubMsg
,
PFORMAT_STRING
pFormat
)
{
FIXME
(
"(pStubMsg == ^%p, pFormat == ^%p): stub.
\n
"
,
pStubMsg
,
pFormat
);
}
/***********************************************************************
* NdrConvert2 [RPCRT4.@]
*/
void
WINAPI
NdrConvert2
(
PMIDL_STUB_MESSAGE
pStubMsg
,
PFORMAT_STRING
pFormat
,
long
NumberParams
)
{
FIXME
(
"(pStubMsg == ^%p, pFormat == ^%p, NumberParams == %ld): stub.
\n
"
,
pStubMsg
,
pFormat
,
NumberParams
);
}
#undef BUFFER_PARANOIA
dlls/rpcrt4/ndr_midl.c
View file @
fc55077e
...
...
@@ -193,6 +193,16 @@ void WINAPI NdrClientInitializeNew( PRPC_MESSAGE pRpcMessage, PMIDL_STUB_MESSAGE
}
/***********************************************************************
* NdrServerInitializeNew [RPCRT4.@]
*/
unsigned
char
*
WINAPI
NdrServerInitializeNew
(
PRPC_MESSAGE
pRpcMsg
,
PMIDL_STUB_MESSAGE
pStubMsg
,
PMIDL_STUB_DESC
pStubDesc
)
{
FIXME
(
"(pRpcMsg == ^%p, pStubMsg == ^%p, pStubDesc == ^%p): stub.
\n
"
,
pRpcMsg
,
pStubMsg
,
pStubDesc
);
return
NULL
;
}
/***********************************************************************
* NdrGetBuffer [RPCRT4.@]
*/
unsigned
char
*
WINAPI
NdrGetBuffer
(
MIDL_STUB_MESSAGE
*
stubmsg
,
unsigned
long
buflen
,
RPC_BINDING_HANDLE
handle
)
...
...
dlls/rpcrt4/rpc_binding.c
View file @
fc55077e
...
...
@@ -231,7 +231,7 @@ RPC_STATUS RPCRT4_DestroyBinding(RpcBinding* Binding)
RPC_STATUS
RPCRT4_OpenBinding
(
RpcBinding
*
Binding
)
{
TRACE
(
"
(Binding == ^%p)
\n
"
,
Binding
);
TRACE
(
"(Binding == ^%p)
\n
"
,
Binding
);
if
(
!
Binding
->
conn
)
{
if
(
Binding
->
server
)
{
/* server */
/* protseq=ncalrpc: supposed to use NT LPC ports,
...
...
dlls/rpcrt4/rpc_server.c
View file @
fc55077e
...
...
@@ -402,7 +402,7 @@ RPC_STATUS WINAPI RpcServerUseProtseqEpExA( LPSTR Protseq, UINT MaxCalls, LPSTR
{
RpcServerProtseq
*
ps
;
TRACE
(
"(%s,%u,%s,%p,{%u,%lu,%lu})
: stub
\n
"
,
debugstr_a
(
Protseq
),
MaxCalls
,
TRACE
(
"(%s,%u,%s,%p,{%u,%lu,%lu})
\n
"
,
debugstr_a
(
Protseq
),
MaxCalls
,
debugstr_a
(
Endpoint
),
SecurityDescriptor
,
lpPolicy
->
Length
,
lpPolicy
->
EndpointFlags
,
lpPolicy
->
NICFlags
);
...
...
@@ -422,7 +422,7 @@ RPC_STATUS WINAPI RpcServerUseProtseqEpExW( LPWSTR Protseq, UINT MaxCalls, LPWST
{
RpcServerProtseq
*
ps
;
TRACE
(
"(%s,%u,%s,%p,{%u,%lu,%lu})
: stub
\n
"
,
debugstr_w
(
Protseq
),
MaxCalls
,
TRACE
(
"(%s,%u,%s,%p,{%u,%lu,%lu})
\n
"
,
debugstr_w
(
Protseq
),
MaxCalls
,
debugstr_w
(
Endpoint
),
SecurityDescriptor
,
lpPolicy
->
Length
,
lpPolicy
->
EndpointFlags
,
lpPolicy
->
NICFlags
);
...
...
dlls/rpcrt4/rpcrt4.spec
View file @
fc55077e
...
...
@@ -209,8 +209,8 @@ init RPCRT4_LibMain
@ stdcall NdrClientInitializeNew(ptr ptr ptr long) NdrClientInitializeNew
@ stub NdrContextHandleInitialize
@ stub NdrContextHandleSize
@ st
ub
NdrConvert
@ st
ub
NdrConvert2
@ st
dcall NdrConvert(ptr ptr)
NdrConvert
@ st
dcall NdrConvert2(ptr ptr long)
NdrConvert2
@ stub NdrCorrelationFree
@ stub NdrCorrelationInitialize
@ stub NdrCorrelationPass
...
...
@@ -349,7 +349,7 @@ init RPCRT4_LibMain
@ stub NdrServerContextUnmarshall
@ stub NdrServerInitialize
@ stub NdrServerInitializeMarshall
@ st
ub
NdrServerInitializeNew
@ st
dcall NdrServerInitializeNew(ptr ptr ptr)
NdrServerInitializeNew
@ stub NdrServerInitializeUnmarshall
@ stub NdrServerMarshall
@ stub NdrServerUnmarshall
...
...
include/rpcndr.h
View file @
fc55077e
...
...
@@ -309,6 +309,8 @@ RPCRTAPI void RPC_ENTRY
NdrClientInitializeNew
(
PRPC_MESSAGE
pRpcMessage
,
PMIDL_STUB_MESSAGE
pStubMsg
,
PMIDL_STUB_DESC
pStubDesc
,
unsigned
int
ProcNum
);
RPCRTAPI
unsigned
char
*
RPC_ENTRY
NdrServerInitializeNew
(
PRPC_MESSAGE
pRpcMsg
,
PMIDL_STUB_MESSAGE
pStubMsg
,
PMIDL_STUB_DESC
pStubDesc
);
RPCRTAPI
unsigned
char
*
RPC_ENTRY
NdrGetBuffer
(
MIDL_STUB_MESSAGE
*
stubmsg
,
unsigned
long
buflen
,
RPC_BINDING_HANDLE
handle
);
RPCRTAPI
void
RPC_ENTRY
NdrFreeBuffer
(
MIDL_STUB_MESSAGE
*
pStubMsg
);
...
...
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