16DEFINE_GUID(
CLSID_ZipFolderStorageHandler, 0xe88dcce0, 0xb7b3, 0x11d1, 0xa9, 0xf0, 0x00, 0xaa, 0x00, 0x60, 0xfa, 0x31);
17DEFINE_GUID(
CLSID_ZipFolderSendTo, 0x888dca60, 0xfc0a, 0x11cf, 0x8f, 0x0f, 0x00, 0xc0, 0x4f, 0xd7, 0xd0, 0x62);
18DEFINE_GUID(
CLSID_ZipFolderContextMenu, 0xb8cdcb65, 0xb1bf, 0x4b42, 0x94, 0x28, 0x1d, 0xfd, 0xb7, 0xee, 0x92, 0xaf);
19DEFINE_GUID(
CLSID_ZipFolderRightDragHandler,0xbd472f60, 0x27fa, 0x11cf, 0xb8, 0xb4, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00);
20DEFINE_GUID(
CLSID_ZipFolderDropHandler, 0xed9d80b9, 0xd157, 0x457b, 0x91, 0x92, 0x0e, 0x72, 0x80, 0x31, 0x3b, 0xf0);
23DEFINE_GUID(
CLSID_ZipFolderExtractAllCommand, 0xc3d9647b, 0x8fd9, 0x4ee6, 0x8b, 0xc7, 0x82, 0x7, 0x80, 0x9, 0x10, 0x5a);
41#include "minizip/ioapi.h"
74 StringCbCatW(szSendToFile,
sizeof(szSendToFile),
L".ZFSendToTarget");
77 DPRINT1(
"CreateEmptyFile('%ls')\n", szSendToFile);
93 DWORD dwType, cbValue =
sizeof(szValue);
97 (bUnZip ?
L"UnZipCodePage" :
L"ZipCodePage"),
98 &dwType, szValue, &cbValue);
100 return nDefaultCodePage;
103 return *(
DWORD*)szValue;
106 return nDefaultCodePage;
181 path.ReleaseBuffer();
HRESULT WINAPI UpdateRegistryFromResource(LPCTSTR lpszRes, BOOL bRegister, struct _ATL_REGMAP_ENTRY *pMapEntries=NULL)
HRESULT DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
HRESULT DllUnregisterServer(BOOL bUnRegTypeLib=TRUE)
HRESULT Init(_ATL_OBJMAP_ENTRY *p, HINSTANCE, const GUID *plibid)
HRESULT DllCanUnloadNow()
HRESULT DllRegisterServer(BOOL bRegTypeLib=TRUE)
EXTERN_C const GUID CLSID_ZipFolderSendTo
EXTERN_C const GUID CLSID_ZipFolderExtractAllCommand
EXTERN_C const GUID CLSID_ZipFolderContextMenu
EXTERN_C const GUID CLSID_ZipFolderStorageHandler
EXTERN_C const GUID CLSID_ZipFolderDropHandler
EXTERN_C const GUID CLSID_ZipFolderRightDragHandler
#define DLL_PROCESS_ATTACH
#define INVALID_HANDLE_VALUE
#define FILE_ATTRIBUTE_NORMAL
#define FAILED_UNEXPECTEDLY(hr)
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
UINT WINAPI GetWindowsDirectoryW(OUT LPWSTR lpBuffer, IN UINT uSize)
HRESULT WINAPI SHGetFolderPathW(HWND hwndOwner, int nFolder, HANDLE hToken, DWORD dwFlags, LPWSTR pszPath)
VOID WINAPI PathRemoveBlanksW(LPWSTR lpszPath)
DWORD WINAPI SHGetValueW(HKEY hKey, LPCWSTR lpszSubKey, LPCWSTR lpszValue, LPDWORD pwType, LPVOID pvData, LPDWORD pcbData)
_Check_return_ long __cdecl wcstol(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_ int _Radix)
void fill_win32_filefunc64W(zlib_filefunc64_def *pzlib_filefunc_def)
#define OBJECT_ENTRY(clsid, class)
#define BEGIN_OBJECT_MAP(x)
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
HINSTANCE WINAPI ShellExecuteW(HWND hwnd, LPCWSTR lpVerb, LPCWSTR lpFile, LPCWSTR lpParameters, LPCWSTR lpDirectory, INT nShowCmd)
STRSAFEAPI StringCbCopyW(STRSAFE_LPWSTR pszDest, size_t cbDest, STRSAFE_LPCWSTR pszSrc)
STRSAFEAPI StringCbCatW(STRSAFE_LPWSTR pszDest, size_t cbDest, STRSAFE_LPCWSTR pszSrc)
#define HKEY_CURRENT_USER
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
EXTERN_C BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
static BOOL CreateEmptyFile(PCWSTR pszFile)
zlib_filefunc64_def g_FFunc
STDAPI DllRegisterServer()
STDAPI DllUnregisterServer()
EXTERN_C BOOL WINAPI RouteTheCallW(IN HWND hWndOwner, IN HINSTANCE hInstance, IN PCWSTR lpStringArg, IN INT Show)
STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
UINT GetZipCodePage(BOOL bUnZip)
static HRESULT GetDefaultUserSendTo(PWSTR pszPath)
static HRESULT CreateSendToZip(PCWSTR pszSendTo)