58 WARN(
"hmmm... not right version number \"5.1.1106.1\"?\n");
86 DWORD dwShareMode = 0;
87 DWORD dwCreateDisposition;
118 dwCreateDisposition, 0,
NULL);
193 LPSTR szFullPath, szDirectory;
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static INT_PTR CDECL fdi_notify_extract(FDINOTIFICATIONTYPE fdint, PFDINOTIFICATION pfdin)
static BOOL file_in_list(struct FILELIST *pNode, LPCSTR szFilename, struct FILELIST **pOut)
static UINT CDECL fdi_read(INT_PTR hf, void *pv, UINT cb)
HRESULT WINAPI Extract(SESSION *dest, LPCSTR szCabName)
static LONG CDECL fdi_seek(INT_PTR hf, LONG dist, int seektype)
static int CDECL fdi_close(INT_PTR hf)
static void fill_file_node(struct FILELIST *pNode, LPCSTR szFilename)
static UINT CDECL fdi_write(INT_PTR hf, void *pv, UINT cb)
static INT_PTR CDECL fdi_open(char *pszFile, int oflag, int pmode)
HRESULT WINAPI DllGetVersion(DLLVERSIONINFO *pdvi)
#define mem_free(ptr, bsize)
#define EXTRACT_EXTRACTFILES
#define EXTRACT_FILLFILELIST
HFDI __cdecl FDICreate(PFNALLOC pfnalloc, PFNFREE pfnfree, PFNOPEN pfnopen, PFNREAD pfnread, PFNWRITE pfnwrite, PFNCLOSE pfnclose, PFNSEEK pfnseek, int cpuType, PERF perf)
BOOL __cdecl FDICopy(HFDI hfdi, char *pszCabinet, char *pszCabPath, int flags, PFNFDINOTIFY pfnfdin, PFNFDIDECRYPT pfnfdid, void *pvUser)
BOOL __cdecl FDIDestroy(HFDI hfdi)
#define ReadFile(a, b, c, d, e)
#define INVALID_HANDLE_VALUE
#define CreateFileA(a, b, c, d, e, f, g)
#define HeapFree(x, y, z)
#define FILE_ATTRIBUTE_NORMAL
BOOL WINAPI CreateDirectoryA(IN LPCSTR lpPathName, IN LPSECURITY_ATTRIBUTES lpSecurityAttributes)
BOOL WINAPI SetFileTime(IN HANDLE hFile, CONST FILETIME *lpCreationTime OPTIONAL, CONST FILETIME *lpLastAccessTime OPTIONAL, CONST FILETIME *lpLastWriteTime OPTIONAL)
DWORD WINAPI GetFileAttributesA(LPCSTR lpFileName)
BOOL WINAPI WriteFile(_In_ HANDLE hFile, _In_reads_bytes_opt_(nNumberOfBytesToWrite) LPCVOID lpBuffer, _In_ DWORD nNumberOfBytesToWrite, _Out_opt_ LPDWORD lpNumberOfBytesWritten, _Inout_opt_ LPOVERLAPPED lpOverlapped)
BOOL WINAPI DosDateTimeToFileTime(IN WORD wFatDate, IN WORD wFatTime, OUT LPFILETIME lpFileTime)
BOOL WINAPI LocalFileTimeToFileTime(IN CONST FILETIME *lpLocalFileTime, OUT LPFILETIME lpFileTime)
int WINAPI lstrcmpiA(LPCSTR str1, LPCSTR str2)
_ACRTIMP size_t __cdecl strlen(const char *)
_ACRTIMP char *__cdecl strrchr(const char *, int)
LPSTR WINAPI lstrcpyA(LPSTR lpString1, LPCSTR lpString2)
LPSTR WINAPI lstrcatA(LPSTR lpString1, LPCSTR lpString2)
int WINAPI lstrlenA(LPCSTR lpString)
#define TRUNCATE_EXISTING
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
static char memory[1024 *256]
#define FILE_SHARE_DELETE
struct FILELIST * FilterList
CHAR CurrentFile[MAX_PATH]
struct FILELIST * FileList
CHAR Destination[MAX_PATH]
#define INVALID_FILE_ATTRIBUTES
DWORD WINAPI GetLastError(void)
static HRESULT HRESULT_FROM_WIN32(unsigned int x)