msxml3/tests: Add test saving XML with non-english characters.
[wine.git] / include / proofofpossessioncookieinfo.idl
blob3d639523e8ac1de4caca143158dfcd47042e97ac
1 /*
2 * Copyright 2021 Jacek Caban for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 import "oaidl.idl";
20 import "ocidl.idl";
22 typedef struct ProofOfPossessionCookieInfo
24 LPWSTR name;
25 LPWSTR data;
26 DWORD flags;
27 LPWSTR p3pHeader;
28 } ProofOfPossessionCookieInfo;
31 cpp_quote("static inline void FreeProofOfPossessionCookieInfoArray(ProofOfPossessionCookieInfo *cookie_info, DWORD count)")
32 cpp_quote("{")
33 cpp_quote(" unsigned int i;")
34 cpp_quote(" for (i = 0; i < count; i++)")
35 cpp_quote(" {")
36 cpp_quote(" CoTaskMemFree(cookie_info[i].name);")
37 cpp_quote(" CoTaskMemFree(cookie_info[i].data);")
38 cpp_quote(" CoTaskMemFree(cookie_info[i].p3pHeader);")
39 cpp_quote(" }")
40 cpp_quote(" CoTaskMemFree(cookie_info);")
41 cpp_quote("}")
45 object,
46 uuid(cdaece56-4edf-43df-b113-88e4556fa1bb),
47 pointer_default(unique)
49 interface IProofOfPossessionCookieInfoManager : IUnknown
51 HRESULT GetCookieInfoForUri([in] LPCWSTR uri,
52 [out] DWORD *cookieInfoCount,
53 [out, size_is(,*cookieInfoCount)] ProofOfPossessionCookieInfo **cookieInfo);
58 uuid(7681a019-8f51-4594-9507-f27040f71f01),
59 version(1.0)
61 library ProofOfPossessionCookieInfoManagerLib
64 uuid(a9927f85-a304-4390-8b23-a75f1c668600)
66 coclass ProofOfPossessionCookieInfoManager
68 [default] interface IProofOfPossessionCookieInfoManager;