Jacek Caban : include: Add proofofpossessioncookieinfo.idl file.
Alexandre Julliard
julliard at winehq.org
Mon Jun 28 16:49:36 CDT 2021
Module: wine
Branch: master
Commit: 4cf888007f08ba3a3d72bc3d4712085756e40ec6
URL: https://source.winehq.org/git/wine.git/?a=commit;h=4cf888007f08ba3a3d72bc3d4712085756e40ec6
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon Jun 28 16:20:41 2021 +0200
include: Add proofofpossessioncookieinfo.idl file.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/Makefile.in | 1 +
include/proofofpossessioncookieinfo.idl | 70 +++++++++++++++++++++++++++++++++
2 files changed, 71 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in
index 4a8c261bb8f..e6477d13cef 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -581,6 +581,7 @@ SOURCES = \
powrprof.h \
prntvpt.h \
profinfo.h \
+ proofofpossessioncookieinfo.idl \
propidl.idl \
propkey.h \
propkeydef.h \
diff --git a/include/proofofpossessioncookieinfo.idl b/include/proofofpossessioncookieinfo.idl
new file mode 100644
index 00000000000..3d639523e8a
--- /dev/null
+++ b/include/proofofpossessioncookieinfo.idl
@@ -0,0 +1,70 @@
+/*
+ * Copyright 2021 Jacek Caban for CodeWeavers
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+import "oaidl.idl";
+import "ocidl.idl";
+
+typedef struct ProofOfPossessionCookieInfo
+{
+ LPWSTR name;
+ LPWSTR data;
+ DWORD flags;
+ LPWSTR p3pHeader;
+} ProofOfPossessionCookieInfo;
+
+
+cpp_quote("static inline void FreeProofOfPossessionCookieInfoArray(ProofOfPossessionCookieInfo *cookie_info, DWORD count)")
+cpp_quote("{")
+cpp_quote(" unsigned int i;")
+cpp_quote(" for (i = 0; i < count; i++)")
+cpp_quote(" {")
+cpp_quote(" CoTaskMemFree(cookie_info[i].name);")
+cpp_quote(" CoTaskMemFree(cookie_info[i].data);")
+cpp_quote(" CoTaskMemFree(cookie_info[i].p3pHeader);")
+cpp_quote(" }")
+cpp_quote(" CoTaskMemFree(cookie_info);")
+cpp_quote("}")
+
+
+[
+ object,
+ uuid(cdaece56-4edf-43df-b113-88e4556fa1bb),
+ pointer_default(unique)
+]
+interface IProofOfPossessionCookieInfoManager : IUnknown
+{
+ HRESULT GetCookieInfoForUri([in] LPCWSTR uri,
+ [out] DWORD *cookieInfoCount,
+ [out, size_is(,*cookieInfoCount)] ProofOfPossessionCookieInfo **cookieInfo);
+}
+
+
+[
+ uuid(7681a019-8f51-4594-9507-f27040f71f01),
+ version(1.0)
+]
+library ProofOfPossessionCookieInfoManagerLib
+{
+ [
+ uuid(a9927f85-a304-4390-8b23-a75f1c668600)
+ ]
+ coclass ProofOfPossessionCookieInfoManager
+ {
+ [default] interface IProofOfPossessionCookieInfoManager;
+ }
+}
More information about the wine-cvs
mailing list