From 205670df9b1d1a0b630ee22ad51a87e20b0d8300 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <nathbap...@gmail.com>
Date: Sun, 23 Feb 2025 06:19:41 +0000
Subject: [PATCH] headers: Add RoGetAgileReference in combaseapi.h

Required for https://github.com/mozilla/gecko-dev/commit/74cac7296d5036600300b44dc6275fb190f4955d

Signed-off-by: Biswapriyo Nath <nathbap...@gmail.com>
---
 mingw-w64-headers/include/combaseapi.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/mingw-w64-headers/include/combaseapi.h b/mingw-w64-headers/include/combaseapi.h
index fa289ac..1a96f6d 100644
--- a/mingw-w64-headers/include/combaseapi.h
+++ b/mingw-w64-headers/include/combaseapi.h
@@ -354,6 +354,17 @@ WINOLEAPI CoGetTreatAsClass (REFCLSID clsidOld, LPCLSID pClsidNew);
 WINOLEAPI CoInvalidateRemoteMachineBindings (LPOLESTR pszMachineName);
 #endif
 
+#if (NTDDI_VERSION >= NTDDI_WINBLUE)
+#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
+enum AgileReferenceOptions {
+  AGILEREFERENCE_DEFAULT = 0,
+  AGILEREFERENCE_DELAYEDMARSHAL = 1
+};
+
+WINOLEAPI RoGetAgileReference(enum AgileReferenceOptions options, REFIID riid, IUnknown *pUnk, IAgileReference **ppAgileReference);
+#endif
+#endif
+
 #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP)
 typedef HRESULT (STDAPICALLTYPE *LPFNGETCLASSOBJECT) (REFCLSID, REFIID, LPVOID *);
 typedef HRESULT (STDAPICALLTYPE *LPFNCANUNLOADNOW) (void);
-- 
2.48.1

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to