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
9fc9c91b
Commit
9fc9c91b
authored
Dec 07, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Use proper dllimports for rpcrt4 functions.
parent
48aec004
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
28 deletions
+23
-28
Makefile.in
dlls/rpcrt4/Makefile.in
+1
-1
rpc.h
include/rpc.h
+8
-1
rpcproxy.h
include/rpcproxy.h
+14
-26
No files found.
dlls/rpcrt4/Makefile.in
View file @
9fc9c91b
EXTRADEFS
=
-DMSWMSG
EXTRADEFS
=
-D
_RPCRT4_
-D
MSWMSG
MODULE
=
rpcrt4.dll
IMPORTLIB
=
rpcrt4
IMPORTS
=
uuid advapi32
...
...
include/rpc.h
View file @
9fc9c91b
...
...
@@ -38,9 +38,16 @@
#define __RPC_USER __stdcall
#define __RPC_STUB __stdcall
#define RPC_ENTRY __stdcall
#ifndef RPCRTAPI
#if !defined(_RPCRT4_) && !defined(_KRPCENV_)
#define RPCRTAPI DECLSPEC_IMPORT
#else
#define RPCRTAPI
typedef
LONG
RPC_STATUS
;
#endif
#endif
typedef
LONG
RPC_STATUS
;
typedef
void
*
I_RPC_HANDLE
;
#include <rpcdce.h>
...
...
include/rpcproxy.h
View file @
9fc9c91b
...
...
@@ -125,34 +125,22 @@ typedef struct tagCStdPSFactoryBuffer
#define STUB_FORWARDING_FUNCTION NdrStubForwardingFunction
ULONG
STDMETHODCALLTYPE
CStdStubBuffer2_Release
(
IRpcStubBuffer
*
This
)
DECLSPEC_HIDDEN
;
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
CStdStubBuffer_AddRef
(
IRpcStubBuffer
*
This
);
ULONG
WINAPI
CStdStubBuffer_Release
(
IRpcStubBuffer
*
This
)
DECLSPEC_HIDDEN
;
ULONG
WINAPI
NdrCStdStubBuffer_Release
(
IRpcStubBuffer
*
This
,
IPSFactoryBuffer
*
pPSF
);
HRESULT
WINAPI
CStdStubBuffer_Connect
(
IRpcStubBuffer
*
This
,
IUnknown
*
pUnkServer
);
void
WINAPI
CStdStubBuffer_Disconnect
(
IRpcStubBuffer
*
This
);
HRESULT
WINAPI
CStdStubBuffer_Invoke
(
IRpcStubBuffer
*
This
,
RPCOLEMESSAGE
*
pRpcMsg
,
IRpcChannelBuffer
*
pRpcChannelBuffer
);
IRpcStubBuffer
*
WINAPI
CStdStubBuffer_IsIIDSupported
(
IRpcStubBuffer
*
This
,
REFIID
riid
);
ULONG
WINAPI
CStdStubBuffer_CountRefs
(
IRpcStubBuffer
*
This
);
HRESULT
WINAPI
CStdStubBuffer_DebugServerQueryInterface
(
IRpcStubBuffer
*
This
,
void
**
ppv
);
void
WINAPI
CStdStubBuffer_DebugServerRelease
(
IRpcStubBuffer
*
This
,
void
*
pv
);
RPCRTAPI
HRESULT
WINAPI
CStdStubBuffer_QueryInterface
(
IRpcStubBuffer
*
This
,
REFIID
riid
,
void
**
ppvObject
);
RPCRTAPI
ULONG
WINAPI
CStdStubBuffer_AddRef
(
IRpcStubBuffer
*
This
);
RPCRTAPI
HRESULT
WINAPI
CStdStubBuffer_Connect
(
IRpcStubBuffer
*
This
,
IUnknown
*
pUnkServer
);
RPCRTAPI
void
WINAPI
CStdStubBuffer_Disconnect
(
IRpcStubBuffer
*
This
);
RPCRTAPI
HRESULT
WINAPI
CStdStubBuffer_Invoke
(
IRpcStubBuffer
*
This
,
RPCOLEMESSAGE
*
pRpcMsg
,
IRpcChannelBuffer
*
pRpcChannelBuffer
);
RPCRTAPI
IRpcStubBuffer
*
WINAPI
CStdStubBuffer_IsIIDSupported
(
IRpcStubBuffer
*
This
,
REFIID
riid
);
RPCRTAPI
ULONG
WINAPI
CStdStubBuffer_CountRefs
(
IRpcStubBuffer
*
This
);
RPCRTAPI
HRESULT
WINAPI
CStdStubBuffer_DebugServerQueryInterface
(
IRpcStubBuffer
*
This
,
void
**
ppv
);
RPCRTAPI
void
WINAPI
CStdStubBuffer_DebugServerRelease
(
IRpcStubBuffer
*
This
,
void
*
pv
);
RPCRTAPI
ULONG
WINAPI
NdrCStdStubBuffer_Release
(
IRpcStubBuffer
*
This
,
IPSFactoryBuffer
*
pPSF
);
RPCRTAPI
ULONG
WINAPI
NdrCStdStubBuffer2_Release
(
IRpcStubBuffer
*
This
,
IPSFactoryBuffer
*
pPSF
);
ULONG
STDMETHODCALLTYPE
CStdStubBuffer_Release
(
IRpcStubBuffer
*
This
)
DECLSPEC_HIDDEN
;
ULONG
STDMETHODCALLTYPE
CStdStubBuffer2_Release
(
IRpcStubBuffer
*
This
)
DECLSPEC_HIDDEN
;
#define CStdStubBuffer_METHODS \
CStdStubBuffer_QueryInterface, \
...
...
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