ReactOS
0.4.15-dev-1623-g66cf1d2
|
#include "shellext.h"
#include <windows.h>
#include <commctrl.h>
#include <strsafe.h>
#include <stddef.h>
#include <stdexcept>
#include "factory.h"
#include "resource.h"
Go to the source code of this file.
Macros | |
#define | COM_DESCRIPTION_ICON_HANDLER L"WinBtrfs shell extension (icon handler)" |
#define | COM_DESCRIPTION_CONTEXT_MENU L"WinBtrfs shell extension (context menu)" |
#define | COM_DESCRIPTION_PROP_SHEET L"WinBtrfs shell extension (property sheet)" |
#define | COM_DESCRIPTION_VOL_PROP_SHEET L"WinBtrfs shell extension (volume property sheet)" |
#define | ICON_OVERLAY_NAME L"WinBtrfs" |
Typedefs | |
typedef enum _PROCESS_DPI_AWARENESS | PROCESS_DPI_AWARENESS |
typedef ULONG(WINAPI * | _RtlNtStatusToDosError) (NTSTATUS Status) |
typedef HRESULT(WINAPI * | _SetProcessDpiAwareness) (PROCESS_DPI_AWARENESS value) |
Enumerations | |
enum | _PROCESS_DPI_AWARENESS { PROCESS_DPI_UNAWARE, PROCESS_SYSTEM_DPI_AWARE, PROCESS_PER_MONITOR_DPI_AWARE } |
Variables | |
static const GUID | CLSID_ShellBtrfsIconHandler = { 0x2690b74f, 0xf353, 0x422d, { 0xbb, 0x12, 0x40, 0x15, 0x81, 0xee, 0xf8, 0xf0 } } |
static const GUID | CLSID_ShellBtrfsContextMenu = { 0x2690b74f, 0xf353, 0x422d, { 0xbb, 0x12, 0x40, 0x15, 0x81, 0xee, 0xf8, 0xf1 } } |
static const GUID | CLSID_ShellBtrfsPropSheet = { 0x2690b74f, 0xf353, 0x422d, { 0xbb, 0x12, 0x40, 0x15, 0x81, 0xee, 0xf8, 0xf2 } } |
static const GUID | CLSID_ShellBtrfsVolPropSheet = { 0x2690b74f, 0xf353, 0x422d, { 0xbb, 0x12, 0x40, 0x15, 0x81, 0xee, 0xf8, 0xf3 } } |
HMODULE | module |
LONG | objs_loaded = 0 |
typedef HRESULT(WINAPI * _SetProcessDpiAwareness) (PROCESS_DPI_AWARENESS value) |
Enumerator | |
---|---|
PROCESS_DPI_UNAWARE | |
PROCESS_SYSTEM_DPI_AWARE | |
PROCESS_PER_MONITOR_DPI_AWARE |
Definition at line 38 of file main.cpp.
Definition at line 647 of file main.cpp.
Referenced by CreateSnapshotW(), CreateSubvolW(), RecvSubvolW(), ReflinkCopyW(), SendSubvolW(), StartScrubW(), and StopScrubW().
Definition at line 601 of file main.cpp.
Referenced by CreateSnapshotW().
Definition at line 560 of file main.cpp.
Referenced by CreateSubvolW().
Definition at line 638 of file main.cpp.
Definition at line 592 of file main.cpp.
Definition at line 250 of file main.cpp.
Definition at line 553 of file main.cpp.
Definition at line 502 of file main.cpp.
Referenced by DllInstall().
Definition at line 525 of file main.cpp.
Referenced by DllInstall().
Definition at line 785 of file main.cpp.
Referenced by AddDeviceW(), BtrfsVolPropSheet::AddPages(), BtrfsPropSheet::AddPages(), BtrfsBalance::BalanceDlgProc(), BtrfsBalance::BalanceOptsDlgProc(), BtrfsDeviceAdd::DeviceAddDlgProc(), BtrfsVolPropSheet::DeviceDlgProc(), BtrfsDeviceResize::DeviceResizeDlgProc(), BtrfsChangeDriveLetter::DlgProc(), DllRegisterServer(), DllUnregisterServer(), BtrfsChangeDriveLetter::do_change(), BtrfsPropSheet::Initialize(), BtrfsContextMenu::InvokeCommand(), PauseBalanceW(), PropSheetDlgProc(), RecvSubvolGUIW(), RemoveDeviceW(), ResetStatsW(), ResizeDeviceW(), BtrfsScrub::ScrubDlgProc(), BtrfsSend::SendDlgProc(), SendSubvolGUIW(), ShowPropSheetW(), ShowScrubW(), SizeDetailsDlgProc(), StartBalanceW(), BtrfsVolPropSheet::StatsDlgProc(), StopBalanceW(), and BtrfsVolPropSheet::UsageDlgProc().
wstring format_message | ( | ULONG | last_error | ) |
Definition at line 164 of file main.cpp.
Referenced by format_ntstatus().
wstring format_ntstatus | ( | NTSTATUS | Status | ) |
Definition at line 184 of file main.cpp.
Referenced by BtrfsSend::AddClone(), BtrfsSend::BrowseParent(), BtrfsRecv::cmd_chmod(), BtrfsRecv::cmd_chown(), BtrfsRecv::cmd_clone(), BtrfsRecv::cmd_mkfile(), BtrfsRecv::cmd_removexattr(), BtrfsRecv::cmd_setxattr(), BtrfsRecv::cmd_snapshot(), BtrfsRecv::cmd_subvol(), BtrfsRecv::do_recv(), BtrfsBalance::RefreshBalanceDlg(), and BtrfsSend::Thread().
Definition at line 65 of file main.cpp.
Referenced by BtrfsDeviceResize::DeviceResizeDlgProc(), BtrfsDeviceResize::do_resize(), BtrfsVolPropSheet::FormatUsage(), midi_IDirectMusicPort_GetFormat(), BtrfsDeviceAdd::populate_device_tree(), BtrfsVolPropSheet::RefreshDevList(), BtrfsPropSheet::set_size_on_disk(), BtrfsPropSheet::update_size_details_dialog(), and BtrfsScrub::UpdateTextBox().
Definition at line 206 of file main.cpp.
Referenced by error_message(), format_size(), and string_error::string_error().
|
static |
Definition at line 446 of file main.cpp.
Referenced by DllRegisterServer().
Definition at line 344 of file main.cpp.
Referenced by unreg_context_menu_handler(), unreg_icon_overlay(), unreg_prop_sheet_handler(), and unregister_clsid().
Definition at line 416 of file main.cpp.
Referenced by DllRegisterServer().
|
static |
Definition at line 474 of file main.cpp.
Referenced by DllRegisterServer().
Definition at line 310 of file main.cpp.
Referenced by DllRegisterServer().
void set_dpi_aware | ( | ) |
Definition at line 50 of file main.cpp.
Referenced by AddDeviceW(), RecvSubvolGUIW(), RemoveDeviceW(), ResetStatsW(), ResizeDeviceW(), SendSubvolGUIW(), ShowPropSheetW(), and ShowScrubW().
Definition at line 465 of file main.cpp.
Referenced by DllUnregisterServer().
Definition at line 437 of file main.cpp.
Referenced by DllUnregisterServer().
Definition at line 493 of file main.cpp.
Referenced by DllUnregisterServer().
Definition at line 396 of file main.cpp.
Referenced by DllUnregisterServer().
Definition at line 672 of file main.cpp.
Referenced by create_snapshot(), create_stream(), create_subvol(), file_create2(), last_error::last_error(), mknod(), ntstatus_error::ntstatus_error(), rename_file_to_stream(), rename_stream(), set_link_information(), set_rename_information(), set_symlink(), and string_error::string_error().
wstring utf8_to_utf16 | ( | const string_view & | utf8 | ) |
Definition at line 736 of file main.cpp.
Referenced by BtrfsRecv::cmd_chmod(), BtrfsRecv::cmd_chown(), BtrfsRecv::cmd_clone(), BtrfsRecv::cmd_link(), BtrfsRecv::cmd_mkfile(), BtrfsRecv::cmd_removexattr(), BtrfsRecv::cmd_rename(), BtrfsRecv::cmd_rmdir(), BtrfsRecv::cmd_setxattr(), BtrfsRecv::cmd_snapshot(), BtrfsRecv::cmd_subvol(), BtrfsRecv::cmd_truncate(), BtrfsRecv::cmd_unlink(), BtrfsRecv::cmd_utimes(), BtrfsRecv::cmd_write(), error_message(), get_reparse_block(), get_reparse_point(), load_dir_children(), log_file_checksum_error(), open_fcb(), open_fileref_by_inode(), BtrfsRecv::recv_thread(), BtrfsRecv::RecvProgressDlgProc(), and BtrfsSend::Thread().
|
static |
Definition at line 292 of file main.cpp.
Referenced by reg_context_menu_handler(), reg_icon_overlay(), reg_prop_sheet_handler(), and register_clsid().
void wstring_sprintf | ( | wstring & | s, |
wstring | fmt, | ||
... | |||
) |
Definition at line 225 of file main.cpp.
Referenced by BtrfsDeviceAdd::AddDevice(), BtrfsBalance::BalanceOptsDlgProc(), create_snapshot(), BtrfsVolPropSheet::DeviceDlgProc(), BtrfsDeviceResize::DeviceResizeDlgProc(), BtrfsDeviceResize::do_resize(), format_size(), BtrfsVolPropSheet::FormatUsage(), BtrfsPropSheet::init_propsheet(), BtrfsDeviceAdd::populate_device_tree(), PropSheetDlgProc(), BtrfsRecv::recv_thread(), BtrfsBalance::RefreshBalanceDlg(), BtrfsVolPropSheet::RefreshDevList(), BtrfsScrub::RefreshScrubDlg(), BtrfsPropSheet::set_size_on_disk(), BtrfsVolPropSheet::StatsDlgProc(), and BtrfsScrub::UpdateTextBox().
|
static |
Definition at line 28 of file main.cpp.
Referenced by DllGetClassObject(), DllRegisterServer(), and DllUnregisterServer().
|
static |
Definition at line 27 of file main.cpp.
Referenced by DllGetClassObject(), DllRegisterServer(), and DllUnregisterServer().
|
static |
Definition at line 29 of file main.cpp.
Referenced by DllGetClassObject(), DllRegisterServer(), and DllUnregisterServer().
|
static |
Definition at line 30 of file main.cpp.
Referenced by DllGetClassObject(), DllRegisterServer(), and DllUnregisterServer().
Definition at line 47 of file main.cpp.
Referenced by BtrfsVolPropSheet::AddPages(), BtrfsPropSheet::AddPages(), af_face_globals_new(), BtrfsSend::Browse(), cache_connection(), cff_size_get_globals_funcs(), cff_slot_init(), check_hook_thread(), cid_size_get_globals_funcs(), cid_slot_init(), DECLARE_INTERFACE_(), do_register_dll(), dsound_enum(), dwarf2_parse(), dwarf2_parse_compilation_unit(), elf_load_cb(), elf_search_and_load_file(), elf_synchronize_module_list(), FT_Add_Module(), ft_add_renderer(), FT_Get_Module_Interface(), get_process_name_from_pid(), http_release_netconn(), InternalIsOS2OrOldWin(), ITERATE_RegisterTypeLibraries(), ITypeInfo_fnAddressOfMember(), load_d3dcompiler(), load_d3dcompiler_43(), load_d3dcompiler_47(), load_libglu(), LoadShimDLL2(), macho_load_debug_info(), macho_search_and_load_file(), macho_synchronize_module_list(), pe_load_builtin_module(), pe_load_debug_directory(), pe_load_native_module(), RecvSubvolGUIW(), ResProtocolInfo_ParseUrl(), RtlCreateActivationContext(), setup_dll(), ShowPropSheetW(), source_new(), stabs_parse_typedef(), START_TEST(), SymFromName(), T1_GlyphSlot_Init(), T1_Size_Get_Globals_Funcs(), test_comctl32_class(), test_FakeDLL(), test_HashLinks(), test_md5_ctx(), test_queryvirtualmemory(), test_thread_start_address(), TIFFError(), TIFFErrorExt(), TIFFWarning(), TIFFWarningExt(), x86_64_fetch_minidump_module(), xsltGetExtData(), xsltInitCtxtExt(), xsltRegisterExtModuleFull(), xsltRegisterExtPrefix(), xsltShutdownCtxtExt(), xsltShutdownExt(), and xsltStyleInitializeStylesheetModule().
LONG objs_loaded = 0 |
Definition at line 48 of file main.cpp.
Referenced by BtrfsVolPropSheet::AddPages(), BtrfsPropSheet::AddPages(), BtrfsContextMenu::BtrfsContextMenu(), BtrfsIconOverlay::BtrfsIconOverlay(), BtrfsPropSheet::BtrfsPropSheet(), BtrfsVolPropSheet::BtrfsVolPropSheet(), DllCanUnloadNow(), Factory::Factory(), BtrfsContextMenu::~BtrfsContextMenu(), BtrfsIconOverlay::~BtrfsIconOverlay(), BtrfsPropSheet::~BtrfsPropSheet(), BtrfsVolPropSheet::~BtrfsVolPropSheet(), and Factory::~Factory().