mingw-unknown.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. From ae5fe7a557873f05a4954f4b3a47e4b41053a406 Mon Sep 17 00:00:00 2001
  2. From: Tom Ritter <tom@ritter.vg>
  3. Date: Tue, 29 Jun 2021 23:10:24 -0400
  4. Subject: [PATCH] Add back the IUnknown_QI functions
  5. ---
  6. mingw-w64-headers/include/unknwn.h | 23 +++++++++++++++++++++++
  7. 1 file changed, 23 insertions(+)
  8. diff --git a/mingw-w64-headers/include/unknwn.h b/mingw-w64-headers/include/unknwn.h
  9. index d8c309071..968c41d61 100644
  10. --- a/mingw-w64-headers/include/unknwn.h
  11. +++ b/mingw-w64-headers/include/unknwn.h
  12. @@ -167,6 +167,29 @@ static FORCEINLINE ULONG IUnknown_Release(IUnknown* This) {
  13. #endif
  14. +HRESULT STDMETHODCALLTYPE IUnknown_QueryInterface_Proxy(
  15. + IUnknown* This,
  16. + REFIID riid,
  17. + void **ppvObject);
  18. +void __RPC_STUB IUnknown_QueryInterface_Stub(
  19. + IRpcStubBuffer* This,
  20. + IRpcChannelBuffer* pRpcChannelBuffer,
  21. + PRPC_MESSAGE pRpcMessage,
  22. + DWORD* pdwStubPhase);
  23. +ULONG STDMETHODCALLTYPE IUnknown_AddRef_Proxy(
  24. + IUnknown* This);
  25. +void __RPC_STUB IUnknown_AddRef_Stub(
  26. + IRpcStubBuffer* This,
  27. + IRpcChannelBuffer* pRpcChannelBuffer,
  28. + PRPC_MESSAGE pRpcMessage,
  29. + DWORD* pdwStubPhase);
  30. +ULONG STDMETHODCALLTYPE IUnknown_Release_Proxy(
  31. + IUnknown* This);
  32. +void __RPC_STUB IUnknown_Release_Stub(
  33. + IRpcStubBuffer* This,
  34. + IRpcChannelBuffer* pRpcChannelBuffer,
  35. + PRPC_MESSAGE pRpcMessage,
  36. + DWORD* pdwStubPhase);
  37. #endif /* __IUnknown_INTERFACE_DEFINED__ */
  38. --
  39. 2.25.1