ReactOS 0.4.16-dev-59-gd481587
|
#include "shellext.h"
#include <windows.h>
#include <strsafe.h>
#include <stddef.h>
#include <winternl.h>
#include <wincodec.h>
#include <sstream>
#include <iostream>
#include <shlwapi.h>
#include "contextmenu.h"
#include "resource.h"
#include "../btrfsioctl.h"
Go to the source code of this file.
Classes | |
struct | reparse_header |
Macros | |
#define | NO_SHLWAPI_STRFCNS |
#define | NEW_SUBVOL_VERBA "newsubvol" |
#define | NEW_SUBVOL_VERBW L"newsubvol" |
#define | SNAPSHOT_VERBA "snapshot" |
#define | SNAPSHOT_VERBW L"snapshot" |
#define | REFLINK_VERBA "reflink" |
#define | REFLINK_VERBW L"reflink" |
#define | RECV_VERBA "recvsubvol" |
#define | RECV_VERBW L"recvsubvol" |
#define | SEND_VERBA "sendsubvol" |
#define | SEND_VERBW L"sendsubvol" |
Functions | |
static void | path_remove_file (wstring &path) |
static bool | get_volume_path_parent (const WCHAR *fn, WCHAR *volpath, ULONG volpathlen) |
static bool | show_reflink_paste (const wstring &path) |
static void | InitBitmapInfo (BITMAPINFO *pbmi, ULONG cbInfo, LONG cx, LONG cy, WORD bpp) |
static HRESULT | Create32BitHBITMAP (HDC hdc, const SIZE *psize, void **ppvBits, HBITMAP *phBmp) |
static void | path_strip_path (wstring &path) |
static void | create_snapshot (HWND hwnd, const wstring &fn) |
static uint64_t __inline | sector_align (uint64_t n, uint64_t a) |
static void | reflink_copy2 (const wstring &srcfn, const wstring &destdir, const wstring &destname) |
void CALLBACK | ReflinkCopyW (HWND hwnd, HINSTANCE hinst, LPWSTR lpszCmdLine, int nCmdShow) |
#define NEW_SUBVOL_VERBA "newsubvol" |
Definition at line 49 of file contextmenu.cpp.
#define NEW_SUBVOL_VERBW L"newsubvol" |
Definition at line 50 of file contextmenu.cpp.
#define NO_SHLWAPI_STRFCNS |
Definition at line 38 of file contextmenu.cpp.
#define RECV_VERBA "recvsubvol" |
Definition at line 55 of file contextmenu.cpp.
#define RECV_VERBW L"recvsubvol" |
Definition at line 56 of file contextmenu.cpp.
#define REFLINK_VERBA "reflink" |
Definition at line 53 of file contextmenu.cpp.
#define REFLINK_VERBW L"reflink" |
Definition at line 54 of file contextmenu.cpp.
#define SEND_VERBA "sendsubvol" |
Definition at line 57 of file contextmenu.cpp.
#define SEND_VERBW L"sendsubvol" |
Definition at line 58 of file contextmenu.cpp.
#define SNAPSHOT_VERBA "snapshot" |
Definition at line 51 of file contextmenu.cpp.
#define SNAPSHOT_VERBW L"snapshot" |
Definition at line 52 of file contextmenu.cpp.
|
static |
Definition at line 275 of file contextmenu.cpp.
Referenced by BtrfsContextMenu::get_uac_icon().
Definition at line 451 of file contextmenu.cpp.
Referenced by BtrfsContextMenu::InvokeCommand().
Definition at line 185 of file contextmenu.cpp.
Referenced by BtrfsContextMenu::reflink_copy(), ReflinkCopyW(), and show_reflink_paste().
Definition at line 264 of file contextmenu.cpp.
Referenced by Create32BitHBITMAP().
|
static |
Definition at line 426 of file contextmenu.cpp.
Referenced by create_snapshot(), and BtrfsContextMenu::Initialize().
|
static |
|
static |
Definition at line 1320 of file contextmenu.cpp.
Referenced by reflink_copy2(), and ReflinkCopyW().
Definition at line 1646 of file contextmenu.cpp.
Definition at line 531 of file contextmenu.cpp.
Referenced by __attribute__(), add_ext_holes(), add_trim_entry_avoid_sb(), allocate_cache_chunk(), balance_data_chunk(), check_for_orphans_root(), clean_space_cache(), delete_fileref_fcb(), device_still_valid(), duplicate_extents(), fcb_alloc_size(), fill_in_file_stream_information(), fill_in_hard_link_full_id_information(), fill_in_hard_link_information(), flush_extents(), flush_fcb(), get_inode_info(), get_superblock_size(), is_device_part_of_mounted_btrfs_raid(), load_stored_free_space_cache(), load_stored_free_space_tree(), lzo_compress(), protect_superblocks(), query_dir_item(), read_superblock(), BtrfsContextMenu::reflink_copy(), reflink_copy2(), remove_free_space_inode(), rename_file_to_stream(), rename_stream_to_file(), scrub_chunk(), scrub_chunk_raid56_stripe_run(), set_zero_data(), still_has_superblock(), test_vol(), trim_unalloc_space(), update_chunk_cache(), verify_device(), write_compressed(), write_superblock(), and zero_data().
Definition at line 205 of file contextmenu.cpp.
Referenced by BtrfsContextMenu::QueryContextMenu().