https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6cdefd33e1f79327f9807…
commit 6cdefd33e1f79327f98070835b132ee581d77122
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sun Oct 8 14:04:24 2017 +0100
[PSDK] Update unknwn.idl. CORE-13762
---
sdk/include/psdk/unknwn.idl | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/sdk/include/psdk/unknwn.idl b/sdk/include/psdk/unknwn.idl
index 9071973fbe..7856a7f504 100644
--- a/sdk/include/psdk/unknwn.idl
+++ b/sdk/include/psdk/unknwn.idl
@@ -20,7 +20,14 @@
import "wtypes.idl";
#endif
-/* Interfaces */
+cpp_quote("#ifdef __WINESRC__")
+cpp_quote("#define WIDL_C_INLINE_WRAPPERS")
+cpp_quote("#endif")
+
+cpp_quote("#ifdef WIDL_C_INLINE_WRAPPERS")
+cpp_quote("#define SAVE_WIDL_C_INLINE_WRAPPERS")
+cpp_quote("#undef WIDL_C_INLINE_WRAPPERS")
+cpp_quote("#endif")
[
local,
@@ -39,6 +46,20 @@ interface IUnknown
ULONG Release();
}
+cpp_quote("HRESULT STDMETHODCALLTYPE IUnknown_QueryInterface_Proxy(IUnknown* This,
REFIID riid, void **ppvObject);")
+cpp_quote("void __RPC_STUB IUnknown_QueryInterface_Stub(IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,")
+cpp_quote(" PRPC_MESSAGE pRpcMessage, DWORD* pdwStubPhase);")
+cpp_quote("ULONG STDMETHODCALLTYPE IUnknown_AddRef_Proxy(IUnknown* This);")
+cpp_quote("void __RPC_STUB IUnknown_AddRef_Stub(IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,")
+cpp_quote(" PRPC_MESSAGE pRpcMessage, DWORD* pdwStubPhase);")
+cpp_quote("ULONG STDMETHODCALLTYPE IUnknown_Release_Proxy(IUnknown* This);")
+cpp_quote("void __RPC_STUB IUnknown_Release_Stub(IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,")
+cpp_quote(" PRPC_MESSAGE pRpcMessage, DWORD* pdwStubPhase);")
+
+cpp_quote("#ifdef SAVE_WIDL_C_INLINE_WRAPPERS")
+cpp_quote("#define WIDL_C_INLINE_WRAPPERS")
+cpp_quote("#endif")
+
[
object,
uuid(00000001-0000-0000-C000-000000000046),