[PATCH] include: Add IAuthenticateEx interface definition.

Dmitry Timoshkov dmitry at baikal.ru
Wed Jun 16 10:58:46 CDT 2021


Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
---
 include/urlmon.idl | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/include/urlmon.idl b/include/urlmon.idl
index 867d3ebc959..0aab6588658 100644
--- a/include/urlmon.idl
+++ b/include/urlmon.idl
@@ -404,6 +404,37 @@ interface IAuthenticate : IUnknown
         [out] LPWSTR *pszPassword);
 }
 
+/*****************************************************************************
+ * IAuthenticateEx interface
+ */
+[
+    object,
+    uuid(2ad1edaf-d83d-48b5-9adf-03dbe19f53bd),
+    pointer_default(unique)
+]
+
+interface IAuthenticateEx : IAuthenticate
+{
+    typedef [unique] IAuthenticateEx *LPAUTHENTICATIONEX;
+
+    typedef enum {
+        AUTHENTICATEF_PROXY = 0x00000001,
+        AUTHENTICATEF_BASIC = 0x00000002,
+        AUTHENTICATEF_HTTP  = 0x00000004
+    } AUTHENTICATEF;
+
+    typedef struct _tagAUTHENTICATEINFO {
+        DWORD dwFlags;
+        DWORD dwReserved;
+    } AUTHENTICATEINFO;
+
+    HRESULT AuthenticateEx(
+            [out] HWND *phwnd,
+            [out] LPWSTR *pszUsername,
+            [out] LPWSTR *pszPassword,
+            [in]  AUTHENTICATEINFO *pauthinfo);
+}
+
 /*****************************************************************************
  * IHttpNegotiate interface
  */
-- 
2.31.1




More information about the wine-devel mailing list