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
c4e8f063
Commit
c4e8f063
authored
Oct 26, 2005
by
Huw Davies
Committed by
Alexandre Julliard
Oct 26, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stubs for NdrStubForwardingFunction and NdrCStdStubBuffer2_Release
along with a few related defines.
parent
69b5f808
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
2 deletions
+35
-2
cstub.c
dlls/rpcrt4/cstub.c
+7
-0
ndr_midl.c
dlls/rpcrt4/ndr_midl.c
+10
-0
rpcrt4.spec
dlls/rpcrt4/rpcrt4.spec
+2
-2
rpcproxy.h
include/rpcproxy.h
+16
-0
No files found.
dlls/rpcrt4/cstub.c
View file @
c4e8f063
...
...
@@ -109,6 +109,13 @@ ULONG WINAPI NdrCStdStubBuffer_Release(LPRPCSTUBBUFFER iface,
return
This
->
RefCount
;
}
ULONG
WINAPI
NdrCStdStubBuffer2_Release
(
LPRPCSTUBBUFFER
iface
,
LPPSFACTORYBUFFER
pPSF
)
{
FIXME
(
"Not implemented
\n
"
);
return
0
;
}
HRESULT
WINAPI
CStdStubBuffer_Connect
(
LPRPCSTUBBUFFER
iface
,
LPUNKNOWN
lpUnkServer
)
{
...
...
dlls/rpcrt4/ndr_midl.c
View file @
c4e8f063
...
...
@@ -301,3 +301,13 @@ RPC_STATUS RPC_ENTRY NdrMapCommAndFaultStatus( PMIDL_STUB_MESSAGE pStubMsg,
return
RPC_S_OK
;
}
/************************************************************************
* NdrStubForwardingFunction [RPCRT4.@]
*/
void
__RPC_STUB
NdrStubForwardingFunction
(
IRpcStubBuffer
*
This
,
IRpcChannelBuffer
*
pChannel
,
PRPC_MESSAGE
pMsg
,
DWORD
*
pdwStubPhase
)
{
FIXME
(
"Not implemented
\n
"
);
return
;
}
dlls/rpcrt4/rpcrt4.spec
View file @
c4e8f063
...
...
@@ -154,7 +154,7 @@
@ stdcall NdrByteCountPointerFree(ptr ptr ptr)
@ stdcall NdrByteCountPointerMarshall(ptr ptr ptr)
@ stdcall NdrByteCountPointerUnmarshall(ptr ptr ptr long)
@ st
ub NdrCStdStubBuffer2_Release
@ st
dcall NdrCStdStubBuffer2_Release(ptr ptr)
@ stdcall NdrCStdStubBuffer_Release(ptr ptr)
@ stdcall NdrClearOutParameters(ptr ptr ptr)
@ varargs NdrClientCall2(ptr ptr)
...
...
@@ -325,7 +325,7 @@
@ stdcall NdrSimpleTypeUnmarshall(ptr ptr long)
@ stub NdrStubCall2
@ stub NdrStubCall
@ st
ub NdrStubForwardingFunction
@ st
dcall NdrStubForwardingFunction(ptr ptr ptr ptr)
@ stdcall NdrStubGetBuffer(ptr ptr ptr)
@ stdcall NdrStubInitialize(ptr ptr ptr ptr)
@ stub NdrStubInitializeMarshall
...
...
include/rpcproxy.h
View file @
c4e8f063
...
...
@@ -119,6 +119,14 @@ typedef struct tagCStdPSFactoryBuffer
long
Filler1
;
}
CStdPSFactoryBuffer
;
#define STUB_FORWARDING_FUNCTION NdrStubForwardingFunction
ULONG
STDMETHODCALLTYPE
CStdStubBuffer2_Release
(
IRpcStubBuffer
*
This
);
ULONG
STDMETHODCALLTYPE
NdrCStdStubBuffer2_Release
(
IRpcStubBuffer
*
This
,
IPSFactoryBuffer
*
pPSF
);
#define CStdStubBuffer_DELEGATING_METHODS 0, 0, CStdStubBuffer2_Release, 0, 0, 0, 0, 0, 0, 0
HRESULT
WINAPI
CStdStubBuffer_QueryInterface
(
IRpcStubBuffer
*
This
,
REFIID
riid
,
void
**
ppvObject
);
ULONG
WINAPI
...
...
@@ -195,6 +203,14 @@ RPCRTAPI HRESULT RPC_ENTRY
ULONG WINAPI CStdStubBuffer_Release(IRpcStubBuffer *This) \
{ return NdrCStdStubBuffer_Release(This, (IPSFactoryBuffer *)pFactory); }
#ifdef PROXY_DELEGATION
#define CSTDSTUBBUFFER2RELEASE(pFactory) \
ULONG WINAPI CStdStubBuffer2_Release(IRpcStubBuffer *This) \
{ return NdrCStdStubBuffer2_Release(This, (IPSFactoryBuffer *)pFactory); }
#else
#define CSTDSTUBBUFFER2RELEASE(pFactory)
#endif
#define IID_GENERIC_CHECK_IID(name,pIID,index) memcmp(pIID, name##_ProxyVtblList[index]->header.piid, sizeof(IID))
/*
...
...
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