2007-08-09 10:38:07 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2007 Francois Gouget
|
|
|
|
*
|
|
|
|
* 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
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _WINE_WININETI_H_
|
|
|
|
#define _WINE_WININETI_H_
|
|
|
|
|
|
|
|
/* FIXME: #include <iedial.h> */
|
|
|
|
#include <schannel.h>
|
|
|
|
|
|
|
|
typedef struct _INTERNET_CACHE_CONFIG_PATH_ENTRYA
|
|
|
|
{
|
|
|
|
CHAR CachePath[MAX_PATH];
|
|
|
|
DWORD dwCacheSize;
|
|
|
|
} INTERNET_CACHE_CONFIG_PATH_ENTRYA, *LPINTERNET_CACHE_CONFIG_PATH_ENTRYA;
|
|
|
|
|
|
|
|
typedef struct _INTERNET_CACHE_CONFIG_PATH_ENTRYW
|
|
|
|
{
|
|
|
|
WCHAR CachePath[MAX_PATH];
|
|
|
|
DWORD dwCacheSize;
|
|
|
|
} INTERNET_CACHE_CONFIG_PATH_ENTRYW, *LPINTERNET_CACHE_CONFIG_PATH_ENTRYW;
|
|
|
|
|
|
|
|
DECL_WINELIB_TYPE_AW(INTERNET_CACHE_CONFIG_PATH_ENTRY)
|
|
|
|
DECL_WINELIB_TYPE_AW(LPINTERNET_CACHE_CONFIG_PATH_ENTRY)
|
|
|
|
|
|
|
|
typedef struct _INTERNET_CACHE_CONFIG_INFOA
|
|
|
|
{
|
|
|
|
DWORD dwStructSize;
|
|
|
|
DWORD dwContainer;
|
|
|
|
DWORD dwQuota;
|
|
|
|
DWORD dwReserved4;
|
|
|
|
BOOL fPerUser;
|
|
|
|
DWORD dwSyncMode;
|
|
|
|
DWORD dwNumCachePaths;
|
2010-12-23 16:05:29 +01:00
|
|
|
__C89_NAMELESSUNION union
|
2007-08-09 10:38:07 +02:00
|
|
|
{
|
2010-12-23 16:05:29 +01:00
|
|
|
__C89_NAMELESSSTRUCT struct
|
2007-08-09 10:38:07 +02:00
|
|
|
{
|
|
|
|
CHAR CachePath[MAX_PATH];
|
|
|
|
DWORD dwCacheSize;
|
2010-12-23 16:05:29 +01:00
|
|
|
} __C89_NAMELESSSTRUCTNAME;
|
2007-08-09 10:38:07 +02:00
|
|
|
INTERNET_CACHE_CONFIG_PATH_ENTRYA CachePaths[ANYSIZE_ARRAY];
|
2010-12-23 16:05:29 +01:00
|
|
|
} __C89_NAMELESSUNIONNAME;
|
2007-08-09 10:38:07 +02:00
|
|
|
DWORD dwNormalUsage;
|
|
|
|
DWORD dwExemptUsage;
|
|
|
|
} INTERNET_CACHE_CONFIG_INFOA, *LPINTERNET_CACHE_CONFIG_INFOA;
|
|
|
|
|
|
|
|
typedef struct _INTERNET_CACHE_CONFIG_INFOW
|
|
|
|
{
|
|
|
|
DWORD dwStructSize;
|
|
|
|
DWORD dwContainer;
|
|
|
|
DWORD dwQuota;
|
|
|
|
DWORD dwReserved4;
|
|
|
|
BOOL fPerUser;
|
|
|
|
DWORD dwSyncMode;
|
|
|
|
DWORD dwNumCachePaths;
|
2010-12-23 16:05:29 +01:00
|
|
|
__C89_NAMELESSUNION union
|
2007-08-09 10:38:07 +02:00
|
|
|
{
|
2010-12-23 16:05:29 +01:00
|
|
|
__C89_NAMELESSSTRUCT struct
|
2007-08-09 10:38:07 +02:00
|
|
|
{
|
|
|
|
WCHAR CachePath[MAX_PATH];
|
|
|
|
DWORD dwCacheSize;
|
2010-12-23 16:05:29 +01:00
|
|
|
} __C89_NAMELESSSTRUCTNAME;
|
2007-08-09 10:38:07 +02:00
|
|
|
INTERNET_CACHE_CONFIG_PATH_ENTRYW CachePaths[ANYSIZE_ARRAY];
|
2010-12-23 16:05:29 +01:00
|
|
|
} __C89_NAMELESSUNIONNAME;
|
2007-08-09 10:38:07 +02:00
|
|
|
DWORD dwNormalUsage;
|
|
|
|
DWORD dwExemptUsage;
|
|
|
|
} INTERNET_CACHE_CONFIG_INFOW, *LPINTERNET_CACHE_CONFIG_INFOW;
|
|
|
|
|
|
|
|
DECL_WINELIB_TYPE_AW(INTERNET_CACHE_CONFIG_INFO)
|
|
|
|
DECL_WINELIB_TYPE_AW(LPINTERNET_CACHE_CONFIG_INFO)
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
DWORD WINAPI DeleteIE3Cache(HWND,HINSTANCE,LPSTR,int);
|
2009-05-13 14:01:18 +02:00
|
|
|
BOOL WINAPI GetDiskInfoA(PCSTR,PDWORD,PDWORDLONG,PDWORDLONG);
|
2007-08-09 10:38:07 +02:00
|
|
|
BOOL WINAPI GetUrlCacheConfigInfoA(LPINTERNET_CACHE_CONFIG_INFOA,LPDWORD,DWORD);
|
|
|
|
BOOL WINAPI GetUrlCacheConfigInfoW(LPINTERNET_CACHE_CONFIG_INFOW,LPDWORD,DWORD);
|
|
|
|
#define GetUrlCacheConfigInfo WINELIB_NAME_AW(GetUrlCacheConfigInfo)
|
2009-05-13 14:01:27 +02:00
|
|
|
BOOL WINAPI IncrementUrlCacheHeaderData(DWORD,LPDWORD);
|
2007-08-09 10:38:07 +02:00
|
|
|
BOOL WINAPI InternetQueryFortezzaStatus(DWORD*,DWORD_PTR);
|
|
|
|
BOOL WINAPI IsUrlCacheEntryExpiredA(LPCSTR,DWORD,FILETIME*);
|
|
|
|
BOOL WINAPI IsUrlCacheEntryExpiredW(LPCWSTR,DWORD,FILETIME*);
|
|
|
|
#define IsUrlCacheEntryExpired WINELIB_NAME_AW(IsUrlCacheEntryExpired)
|
|
|
|
BOOL WINAPI SetUrlCacheConfigInfoA(LPINTERNET_CACHE_CONFIG_INFOA,DWORD);
|
|
|
|
BOOL WINAPI SetUrlCacheConfigInfoW(LPINTERNET_CACHE_CONFIG_INFOW,DWORD);
|
|
|
|
#define SetUrlCacheConfigInfo WINELIB_NAME_AW(SetUrlCacheConfigInfo)
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _WINE_WININETI_H_ */
|