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)
BOOL WINAPI CopyFileA(IN LPCSTR lpExistingFileName, IN LPCSTR lpNewFileName, IN BOOL bFailIfExists)
#define ERROR_NOT_SUPPORTED
BOOL WINAPI WriteFile(_In_ HANDLE hFile, _In_reads_bytes_opt_(nNumberOfBytesToWrite) LPCVOID lpBuffer, _In_ DWORD nNumberOfBytesToWrite, _Out_opt_ LPDWORD lpNumberOfBytesWritten, _Inout_opt_ LPOVERLAPPED lpOverlapped)
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
XML_HIDDEN void xmlParserErrors const char const xmlChar const xmlChar * str2
XML_HIDDEN void xmlParserErrors const char const xmlChar * str1
#define FILE_COMPRESSION_WINLZA
#define FILE_COMPRESSION_MSZIP
#define SPFILENOTIFY_FILEINCABINET