36 DPRINT1(
"WARNING: uf not closed!\n");
151 DPRINT1(
"ERROR, m_hExtractionThread: CreateThread failed: 0x%x\n",
err);
313 Path.ReleaseBuffer();
353 psh.
hInstance = _AtlBaseModule.GetResourceInstance();
439 DPRINT1(
"ERROR, unzOpenCurrentFilePassword: 0x%x\n",
err);
450 bool bOverwrite = *bOverwriteAll;
457 *bOverwriteAll =
true;
487 DPRINT1(
"ERROR, CreateFile: 0x%x (%s)\n",
dwErr, *bOverwriteAll ?
"Y" :
"N");
508 DPRINT1(
"ERROR, unzReadCurrentFile: 0x%x\n",
err);
521 DPRINT1(
"ERROR, WriteFile: dwWritten:%d err:%d\n", dwWritten,
err);
541 DPRINT1(
"ERROR, unzReadCurrentFile2: 0x%x\n",
err);
550 DPRINT1(
"ERROR(non-fatal), unzCloseCurrentFile: 0x%x\n",
err);
563 DPRINT1(
"ERROR, unzGetGlobalInfo64: 0x%x\n",
err);
571 DPRINT1(
"ERROR, zipEnum.initialize\n");
585 bool bOverwriteAll =
false;
594 bool is_dir =
Name.GetLength() > 0 &&
Name[
Name.GetLength()-1] ==
'/';
597 CPathW FullPath(BaseDirectory);
655 Info.compression_method != 0 &&
679 PWSTR Win32ErrorString;
703 strText.
Append(
L"\r\n\r\n" + strErr);
713 return MessageBoxW(hDlg, strText, strTitle, mbFlags);
eZipConfirmResponse _CZipAskReplace(HWND hDlg, PCWSTR FullPath)
eZipPasswordResponse _CZipAskPassword(HWND hDlg, PCWSTR filename, CStringA &Password)
PRTL_UNICODE_STRING_BUFFER Path
EXTERN_C LPITEMIDLIST WINAPI SHBrowseForFolderW(LPBROWSEINFOW lpbi)
void SetWizardButtons(DWORD dwFlags)
void Append(_In_count_(nLength) PCXSTR pszSrc, _In_ int nLength)
void SetString(_In_opt_z_ PCXSTR pszSrc)
void ReleaseBuffer(_In_ int nNewLength=-1)
PXSTR GetString() noexcept
int GetLength() const noexcept
BOOL LoadString(_In_ UINT nID)
void __cdecl Format(UINT nFormatID,...)
void __cdecl FormatMessage(UINT nFormatID,...)
UINT IsDlgButtonChecked(int nIDButton) const
BOOL CheckDlgButton(int nIDButton, UINT nCheck)
BOOL CenterWindow(HWND hWndCenter=NULL)
HWND GetDlgItem(_In_ int nID) const
LRESULT SendMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
HICON SetIcon(HICON hIcon, BOOL bBigIcon=TRUE)
BOOL GetWindowRect(LPRECT lpRect) const
CWindow GetParent() const
BOOL EnableWindow(BOOL bEnable=TRUE)
_In_ PSCSI_REQUEST_BLOCK _Out_ NTSTATUS _Inout_ BOOLEAN * Retry
zlib_filefunc64_def g_FFunc
#define MINIZIP_PASSWORD_FLAG
#define IDS_WIZ_BROWSE_TITLE
#define IDS_CANTEXTRACTFILE
#define IDS_WIZ_COMPL_SUBTITLE
#define IDS_WIZ_COMPL_TITLE
#define IDC_SHOW_EXTRACTED
#define IDD_PROPPAGEDESTINATION
#define IDS_WIZ_DEST_TITLE
#define IDS_DECOMPRESSERROR
#define IDS_WIZ_DEST_SUBTITLE
#define IDD_PROPPAGECOMPLETE
INT_PTR WINAPI PropertySheetW(LPCPROPSHEETHEADERW lppsh)
#define INVALID_HANDLE_VALUE
#define FILE_ATTRIBUTE_NORMAL
#define FAILED_UNEXPECTEDLY(hr)
BOOL WINAPI DeleteFileW(IN LPCWSTR lpFileName)
BOOL WINAPI SetFileTime(IN HANDLE hFile, CONST FILETIME *lpCreationTime OPTIONAL, CONST FILETIME *lpLastAccessTime OPTIONAL, CONST FILETIME *lpLastWriteTime OPTIONAL)
BOOL WINAPI WriteFile(IN HANDLE hFile, IN LPCVOID lpBuffer, IN DWORD nNumberOfBytesToWrite OPTIONAL, OUT LPDWORD lpNumberOfBytesWritten, IN LPOVERLAPPED lpOverlapped OPTIONAL)
HMODULE WINAPI DECLSPEC_HOTPATCH GetModuleHandleA(LPCSTR lpModuleName)
HANDLE WINAPI DECLSPEC_HOTPATCH CreateThread(IN LPSECURITY_ATTRIBUTES lpThreadAttributes, IN DWORD dwStackSize, IN LPTHREAD_START_ROUTINE lpStartAddress, IN LPVOID lpParameter, IN DWORD dwCreationFlags, OUT LPDWORD lpThreadId)
BOOL WINAPI DosDateTimeToFileTime(IN WORD wFatDate, IN WORD wFatTime, OUT LPFILETIME lpFileTime)
BOOL WINAPI LocalFileTimeToFileTime(IN CONST FILETIME *lpLocalFileTime, OUT LPFILETIME lpFileTime)
void WINAPI PathStripPathW(LPWSTR lpszPath)
BOOL WINAPI PathRemoveFileSpecW(LPWSTR lpszPath)
void WINAPI PathRemoveExtensionW(LPWSTR lpszPath)
BOOL WINAPI PathCompactPathW(HDC hDC, LPWSTR lpszPath, UINT dx)
LPWSTR WINAPI StrCpyNW(LPWSTR dst, LPCWSTR src, int count)
IN PVCB IN PBCB OUT PDIRENT IN USHORT IN POEM_STRING Filename
_Must_inspect_result_ _In_ PFSRTL_PER_STREAM_CONTEXT Ptr
HLOCAL NTAPI LocalFree(HLOCAL hMem)
#define CHAIN_MSG_MAP(theChainClass)
#define BEGIN_MSG_MAP(theClass)
#define COMMAND_ID_HANDLER(id, func)
#define COMMAND_HANDLER(id, code, func)
struct _PSP * HPROPSHEETPAGE
_In_ NDIS_ERROR_CODE ErrorCode
BOOL WINAPI SHGetPathFromIDListW(LPCITEMIDLIST pidl, LPWSTR pszPath)
HINSTANCE WINAPI ShellExecuteW(HWND hwnd, LPCWSTR lpVerb, LPCWSTR lpFile, LPCWSTR lpParameters, LPCWSTR lpDirectory, INT nShowCmd)
EXTERN_C HRESULT WINAPI SHPathPrepareForWriteW(HWND hwnd, IUnknown *modless, LPCWSTR path, DWORD flags)
#define BIF_RETURNONLYFSDIRS
#define BIF_RETURNFSANCESTORS
#define SHPPFW_IGNOREFILENAME
#define BFFM_SETSELECTION
#define BIF_NEWDIALOGSTYLE
bool next(CStringW &name, unz_file_info64 &info)
bool initialize(IZip *zip)
DWORD WINAPI WaitForSingleObject(IN HANDLE hHandle, IN DWORD dwMilliseconds)
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
int ZEXPORT unzOpenCurrentFilePassword(unzFile file, const char *password)
unzFile ZEXPORT unzOpen2_64(const void *path, zlib_filefunc64_def *pzlib_filefunc_def)
int ZEXPORT unzOpenCurrentFile(unzFile file)
int ZEXPORT unzReadCurrentFile(unzFile file, voidp buf, unsigned len)
int ZEXPORT unzGetGlobalInfo64(unzFile file, unz_global_info64 *pglobal_info)
int ZEXPORT unzCloseCurrentFile(unzFile file)
int ZEXPORT unzClose(unzFile file)
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
int WINAPI GetWindowTextW(HWND hWnd, LPWSTR lpString, int nMaxCount)
DWORD WINAPI GetLastError(void)
#define FORMAT_MESSAGE_FROM_SYSTEM
#define FORMAT_MESSAGE_ALLOCATE_BUFFER
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
#define HRESULT_FACILITY(hr)
#define ERROR_FILE_EXISTS
BOOL WINAPI SetDlgItemTextW(_In_ HWND, _In_ int, _In_ LPCWSTR)
int WINAPI MessageBoxW(_In_opt_ HWND hWnd, _In_opt_ LPCWSTR lpText, _In_opt_ LPCWSTR lpCaption, _In_ UINT uType)
HWND WINAPI GetDesktopWindow(void)
#define MB_ABORTRETRYIGNORE
#define SendMessageCallback
#define MAKEINTRESOURCEW(i)
HICON WINAPI LoadIconW(_In_opt_ HINSTANCE hInstance, _In_ LPCWSTR lpIconName)
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO