source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/proofofpossessioncookieinfo.idl@ 1170

Last change on this file since 1170 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 2.1 KB
RevLine 
[1166]1/*
2 * Copyright 2021 Jacek Caban for CodeWeavers
3 *
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.
8 *
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.
13 *
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
17 */
18
19import "oaidl.idl";
20import "ocidl.idl";
21
22typedef struct ProofOfPossessionCookieInfo
23{
24 LPWSTR name;
25 LPWSTR data;
26 DWORD flags;
27 LPWSTR p3pHeader;
28} ProofOfPossessionCookieInfo;
29
30
31cpp_quote("static inline void FreeProofOfPossessionCookieInfoArray(ProofOfPossessionCookieInfo *cookie_info, DWORD count)")
32cpp_quote("{")
33cpp_quote(" unsigned int i;")
34cpp_quote(" for (i = 0; i < count; i++)")
35cpp_quote(" {")
36cpp_quote(" CoTaskMemFree(cookie_info[i].name);")
37cpp_quote(" CoTaskMemFree(cookie_info[i].data);")
38cpp_quote(" CoTaskMemFree(cookie_info[i].p3pHeader);")
39cpp_quote(" }")
40cpp_quote(" CoTaskMemFree(cookie_info);")
41cpp_quote("}")
42
43
44[
45 object,
46 uuid(cdaece56-4edf-43df-b113-88e4556fa1bb),
47 pointer_default(unique)
48]
49interface IProofOfPossessionCookieInfoManager : IUnknown
50{
51 HRESULT GetCookieInfoForUri([in] LPCWSTR uri,
52 [out] DWORD *cookieInfoCount,
53 [out, size_is(,*cookieInfoCount)] ProofOfPossessionCookieInfo **cookieInfo);
54}
55
56
57[
58 uuid(7681a019-8f51-4594-9507-f27040f71f01),
59 version(1.0)
60]
61library ProofOfPossessionCookieInfoManagerLib
62{
63 [
64 uuid(a9927f85-a304-4390-8b23-a75f1c668600)
65 ]
66 coclass ProofOfPossessionCookieInfoManager
67 {
68 [default] interface IProofOfPossessionCookieInfoManager;
69 }
70}
Note: See TracBrowser for help on using the repository browser.