2 * Copyright (C) 2007 Francois Gouget
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 #ifndef _WINE_WININETI_H_
20 #define _WINE_WININETI_H_
22 /* FIXME: #include <iedial.h> */
25 typedef struct _INTERNET_CACHE_CONFIG_PATH_ENTRYA
27 CHAR CachePath
[MAX_PATH
];
29 } INTERNET_CACHE_CONFIG_PATH_ENTRYA
, *LPINTERNET_CACHE_CONFIG_PATH_ENTRYA
;
31 typedef struct _INTERNET_CACHE_CONFIG_PATH_ENTRYW
33 WCHAR CachePath
[MAX_PATH
];
35 } INTERNET_CACHE_CONFIG_PATH_ENTRYW
, *LPINTERNET_CACHE_CONFIG_PATH_ENTRYW
;
37 DECL_WINELIB_TYPE_AW(INTERNET_CACHE_CONFIG_PATH_ENTRY
)
38 DECL_WINELIB_TYPE_AW(LPINTERNET_CACHE_CONFIG_PATH_ENTRY
)
40 typedef struct _INTERNET_CACHE_CONFIG_INFOA
48 DWORD dwNumCachePaths
;
49 __C89_NAMELESSUNION
union
51 __C89_NAMELESSSTRUCT
struct
53 CHAR CachePath
[MAX_PATH
];
55 } __C89_NAMELESSSTRUCTNAME
;
56 INTERNET_CACHE_CONFIG_PATH_ENTRYA CachePaths
[ANYSIZE_ARRAY
];
57 } __C89_NAMELESSUNIONNAME
;
60 } INTERNET_CACHE_CONFIG_INFOA
, *LPINTERNET_CACHE_CONFIG_INFOA
;
62 typedef struct _INTERNET_CACHE_CONFIG_INFOW
70 DWORD dwNumCachePaths
;
71 __C89_NAMELESSUNION
union
73 __C89_NAMELESSSTRUCT
struct
75 WCHAR CachePath
[MAX_PATH
];
77 } __C89_NAMELESSSTRUCTNAME
;
78 INTERNET_CACHE_CONFIG_PATH_ENTRYW CachePaths
[ANYSIZE_ARRAY
];
79 } __C89_NAMELESSUNIONNAME
;
82 } INTERNET_CACHE_CONFIG_INFOW
, *LPINTERNET_CACHE_CONFIG_INFOW
;
84 DECL_WINELIB_TYPE_AW(INTERNET_CACHE_CONFIG_INFO
)
85 DECL_WINELIB_TYPE_AW(LPINTERNET_CACHE_CONFIG_INFO
)
92 DWORD WINAPI
DeleteIE3Cache(HWND
,HINSTANCE
,LPSTR
,int);
93 BOOL WINAPI
GetDiskInfoA(PCSTR
,PDWORD
,PDWORDLONG
,PDWORDLONG
);
94 BOOL WINAPI
GetUrlCacheConfigInfoA(LPINTERNET_CACHE_CONFIG_INFOA
,LPDWORD
,DWORD
);
95 BOOL WINAPI
GetUrlCacheConfigInfoW(LPINTERNET_CACHE_CONFIG_INFOW
,LPDWORD
,DWORD
);
96 #define GetUrlCacheConfigInfo WINELIB_NAME_AW(GetUrlCacheConfigInfo)
97 BOOL WINAPI
IncrementUrlCacheHeaderData(DWORD
,LPDWORD
);
98 BOOL WINAPI
InternetQueryFortezzaStatus(DWORD
*,DWORD_PTR
);
99 BOOL WINAPI
IsUrlCacheEntryExpiredA(LPCSTR
,DWORD
,FILETIME
*);
100 BOOL WINAPI
IsUrlCacheEntryExpiredW(LPCWSTR
,DWORD
,FILETIME
*);
101 #define IsUrlCacheEntryExpired WINELIB_NAME_AW(IsUrlCacheEntryExpired)
102 BOOL WINAPI
SetUrlCacheConfigInfoA(LPINTERNET_CACHE_CONFIG_INFOA
,DWORD
);
103 BOOL WINAPI
SetUrlCacheConfigInfoW(LPINTERNET_CACHE_CONFIG_INFOW
,DWORD
);
104 #define SetUrlCacheConfigInfo WINELIB_NAME_AW(SetUrlCacheConfigInfo)
110 #endif /* _WINE_WININETI_H_ */