ReactOS 0.4.16-dev-257-g6aa11ac
|
#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) |
Definition at line 645 of file main.cpp.
Referenced by CreateSnapshotW(), CreateSubvolW(), RecvSubvolW(), ReflinkCopyW(), SendSubvolW(), StartScrubW(), and StopScrubW().
Definition at line 599 of file main.cpp.
Referenced by CreateSnapshotW().
Definition at line 558 of file main.cpp.
Referenced by CreateSubvolW().
Definition at line 636 of file main.cpp.
Definition at line 250 of file main.cpp.
Definition at line 500 of file main.cpp.
Referenced by DllInstall().
Definition at line 523 of file main.cpp.
Referenced by DllInstall().
Definition at line 783 of file main.cpp.
Referenced by AddDeviceW(), BtrfsPropSheet::AddPages(), BtrfsVolPropSheet::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 444 of file main.cpp.
Referenced by DllRegisterServer().
Definition at line 342 of file main.cpp.
Referenced by reg_delete_tree(), unreg_context_menu_handler(), unreg_icon_overlay(), unreg_prop_sheet_handler(), and unregister_clsid().
Definition at line 414 of file main.cpp.
Referenced by DllRegisterServer().
|
static |
Definition at line 472 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 463 of file main.cpp.
Referenced by DllUnregisterServer().
Definition at line 435 of file main.cpp.
Referenced by DllUnregisterServer().
Definition at line 491 of file main.cpp.
Referenced by DllUnregisterServer().
Definition at line 394 of file main.cpp.
Referenced by DllUnregisterServer().
Definition at line 670 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 734 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().
LONG objs_loaded = 0 |
Definition at line 48 of file main.cpp.
Referenced by BtrfsPropSheet::AddPages(), BtrfsVolPropSheet::AddPages(), BtrfsContextMenu::BtrfsContextMenu(), BtrfsIconOverlay::BtrfsIconOverlay(), BtrfsPropSheet::BtrfsPropSheet(), BtrfsVolPropSheet::BtrfsVolPropSheet(), DllCanUnloadNow(), Factory::Factory(), BtrfsContextMenu::~BtrfsContextMenu(), BtrfsIconOverlay::~BtrfsIconOverlay(), BtrfsPropSheet::~BtrfsPropSheet(), BtrfsVolPropSheet::~BtrfsVolPropSheet(), and Factory::~Factory().