21#define WIN32_LEAN_AND_MEAN
87 if (str1[0] !=
'/' && str1[0] !=
'-')
96 char outfile_basename[
MAX_PATH], *basename_index;
123 outfile_basename[0] = 0;
126 myprintf(
"%s: can't determine original name\n",
argv[0] );
146 myprintf(
"%s: can't expand file to itself\n",
argv[0] );
HANDLE WINAPI GetStdHandle(IN DWORD nStdHandle)
#define ERROR_NOT_SUPPORTED
BOOL WINAPI CopyFileA(IN LPCSTR lpExistingFileName, IN LPCSTR lpNewFileName, IN BOOL bFailIfExists)
BOOL WINAPI WriteFile(IN HANDLE hFile, IN LPCVOID lpBuffer, IN DWORD nNumberOfBytesToWrite OPTIONAL, OUT LPDWORD lpNumberOfBytesWritten, IN LPOVERLAPPED lpOverlapped OPTIONAL)
DWORD WINAPI GetFullPathNameA(IN LPCSTR lpFileName, IN DWORD nBufferLength, OUT LPSTR lpBuffer, OUT LPSTR *lpFilePart)
int WINAPI lstrcmpA(LPCSTR str1, LPCSTR str2)
int WINAPI lstrcmpiA(LPCSTR str1, LPCSTR str2)
static void basename(LPCWSTR path, LPWSTR name)
BOOL WINAPI SetupGetFileCompressionInfoExA(PCSTR source, PSTR name, DWORD len, PDWORD required, PDWORD source_size, PDWORD target_size, PUINT type)
BOOL WINAPI SetupIterateCabinetA(PCSTR CabinetFile, DWORD Reserved, PSP_FILE_CALLBACK_A MsgHandler, PVOID Context)
static BOOL option_equal(LPCSTR str1, LPCSTR str2)
static UINT CALLBACK set_outfile(PVOID context, UINT notification, UINT_PTR param1, UINT_PTR param2)
static int myprintf(const char *format,...)
static UINT CALLBACK extract_callback(PVOID context, UINT notification, UINT_PTR param1, UINT_PTR param2)
GLubyte GLubyte GLubyte GLubyte w
LONG WINAPI LZCopy(HFILE src, HFILE dest)
void WINAPI LZClose(HFILE fd)
HFILE WINAPI LZOpenFileA(LPSTR fn, LPOFSTRUCT ofs, WORD mode)
INT WINAPI GetExpandedNameA(LPSTR in, LPSTR out)
unsigned __int3264 UINT_PTR
#define FILE_COMPRESSION_WINLZA
#define FILE_COMPRESSION_MSZIP
#define SPFILENOTIFY_FILEINCABINET