1 | /*
|
---|
2 | * Copyright (C) 2007 Francois Gouget
|
---|
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 |
|
---|
19 | /*
|
---|
20 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef _WINE_WININETI_H_
|
---|
29 | #define _WINE_WININETI_H_
|
---|
30 |
|
---|
31 | /* FIXME: #include <iedial.h> */
|
---|
32 | #include <schannel.h>
|
---|
33 |
|
---|
34 | typedef struct _INTERNET_CACHE_CONFIG_PATH_ENTRYA
|
---|
35 | {
|
---|
36 | CHAR CachePath[MAX_PATH];
|
---|
37 | DWORD dwCacheSize;
|
---|
38 | } INTERNET_CACHE_CONFIG_PATH_ENTRYA, *LPINTERNET_CACHE_CONFIG_PATH_ENTRYA;
|
---|
39 |
|
---|
40 | typedef struct _INTERNET_CACHE_CONFIG_PATH_ENTRYW
|
---|
41 | {
|
---|
42 | WCHAR CachePath[MAX_PATH];
|
---|
43 | DWORD dwCacheSize;
|
---|
44 | } INTERNET_CACHE_CONFIG_PATH_ENTRYW, *LPINTERNET_CACHE_CONFIG_PATH_ENTRYW;
|
---|
45 |
|
---|
46 | DECL_WINELIB_TYPE_AW(INTERNET_CACHE_CONFIG_PATH_ENTRY)
|
---|
47 | DECL_WINELIB_TYPE_AW(LPINTERNET_CACHE_CONFIG_PATH_ENTRY)
|
---|
48 |
|
---|
49 | typedef struct _INTERNET_CACHE_CONFIG_INFOA
|
---|
50 | {
|
---|
51 | DWORD dwStructSize;
|
---|
52 | DWORD dwContainer;
|
---|
53 | DWORD dwQuota;
|
---|
54 | DWORD dwReserved4;
|
---|
55 | BOOL fPerUser;
|
---|
56 | DWORD dwSyncMode;
|
---|
57 | DWORD dwNumCachePaths;
|
---|
58 | union
|
---|
59 | {
|
---|
60 | struct
|
---|
61 | {
|
---|
62 | CHAR CachePath[MAX_PATH];
|
---|
63 | DWORD dwCacheSize;
|
---|
64 | } DUMMYSTRUCTNAME;
|
---|
65 | INTERNET_CACHE_CONFIG_PATH_ENTRYA CachePaths[ANYSIZE_ARRAY];
|
---|
66 | } DUMYUNIONNAME;
|
---|
67 | DWORD dwNormalUsage;
|
---|
68 | DWORD dwExemptUsage;
|
---|
69 | } INTERNET_CACHE_CONFIG_INFOA, *LPINTERNET_CACHE_CONFIG_INFOA;
|
---|
70 |
|
---|
71 | typedef struct _INTERNET_CACHE_CONFIG_INFOW
|
---|
72 | {
|
---|
73 | DWORD dwStructSize;
|
---|
74 | DWORD dwContainer;
|
---|
75 | DWORD dwQuota;
|
---|
76 | DWORD dwReserved4;
|
---|
77 | BOOL fPerUser;
|
---|
78 | DWORD dwSyncMode;
|
---|
79 | DWORD dwNumCachePaths;
|
---|
80 | union
|
---|
81 | {
|
---|
82 | struct
|
---|
83 | {
|
---|
84 | WCHAR CachePath[MAX_PATH];
|
---|
85 | DWORD dwCacheSize;
|
---|
86 | } DUMMYSTRUCTNAME;
|
---|
87 | INTERNET_CACHE_CONFIG_PATH_ENTRYW CachePaths[ANYSIZE_ARRAY];
|
---|
88 | } ;
|
---|
89 | DWORD dwNormalUsage;
|
---|
90 | DWORD dwExemptUsage;
|
---|
91 | } INTERNET_CACHE_CONFIG_INFOW, *LPINTERNET_CACHE_CONFIG_INFOW;
|
---|
92 |
|
---|
93 | DECL_WINELIB_TYPE_AW(INTERNET_CACHE_CONFIG_INFO)
|
---|
94 | DECL_WINELIB_TYPE_AW(LPINTERNET_CACHE_CONFIG_INFO)
|
---|
95 |
|
---|
96 |
|
---|
97 | #ifdef __cplusplus
|
---|
98 | extern "C" {
|
---|
99 | #endif
|
---|
100 |
|
---|
101 | DWORD WINAPI DeleteIE3Cache(HWND,HINSTANCE,LPSTR,int);
|
---|
102 | BOOL WINAPI GetDiskInfoA(PCSTR,PDWORD,PDWORDLONG,PDWORDLONG);
|
---|
103 | BOOL WINAPI GetUrlCacheConfigInfoA(LPINTERNET_CACHE_CONFIG_INFOA,LPDWORD,DWORD);
|
---|
104 | BOOL WINAPI GetUrlCacheConfigInfoW(LPINTERNET_CACHE_CONFIG_INFOW,LPDWORD,DWORD);
|
---|
105 | #define GetUrlCacheConfigInfo WINELIB_NAME_AW(GetUrlCacheConfigInfo)
|
---|
106 | BOOL WINAPI IncrementUrlCacheHeaderData(DWORD,LPDWORD);
|
---|
107 | BOOL WINAPI InternetQueryFortezzaStatus(DWORD*,DWORD_PTR);
|
---|
108 | BOOL WINAPI IsUrlCacheEntryExpiredA(LPCSTR,DWORD,FILETIME*);
|
---|
109 | BOOL WINAPI IsUrlCacheEntryExpiredW(LPCWSTR,DWORD,FILETIME*);
|
---|
110 | #define IsUrlCacheEntryExpired WINELIB_NAME_AW(IsUrlCacheEntryExpired)
|
---|
111 | BOOL WINAPI SetUrlCacheConfigInfoA(LPINTERNET_CACHE_CONFIG_INFOA,DWORD);
|
---|
112 | BOOL WINAPI SetUrlCacheConfigInfoW(LPINTERNET_CACHE_CONFIG_INFOW,DWORD);
|
---|
113 | #define SetUrlCacheConfigInfo WINELIB_NAME_AW(SetUrlCacheConfigInfo)
|
---|
114 |
|
---|
115 | #ifdef __cplusplus
|
---|
116 | }
|
---|
117 | #endif
|
---|
118 |
|
---|
119 | #endif /* _WINE_WININETI_H_ */
|
---|