1160 {
1161 try {
1163 bool ended = false;
1164
1167
1169
1172
1175
1177
1181
1182 while (true) {
1186
1188 break;
1189
1192
1196
1197 break;
1198 }
1199
1201
1202 if (
cmd.length > 0) {
1205
1209 }
1210
1211 try {
1215
1217 }
1218
1221
1223 ended = true;
1224 break;
1225 }
1226
1231 }
1232
1234
1238 }
1239
1243 break;
1244
1247 break;
1248
1256 break;
1257
1260 break;
1261
1264 break;
1265
1268 break;
1269
1272 break;
1273
1276 break;
1277
1280 break;
1281
1284 break;
1285
1288 break;
1289
1292 break;
1293
1296 break;
1297
1300 break;
1301
1304 break;
1305
1307
1308 break;
1309
1310 default:
1312 }
1313 } catch (...) {
1315 throw;
1316 }
1317
1319 }
1320
1325 }
1326
1328 }
1329
1332
1337
1340
1342 nullptr, 0);
1345 }
1346
1348
1351 } catch (...) {
1354
1356 attrib &= ~FILE_ATTRIBUTE_READONLY;
1357
1360 }
1361
1362 throw;
1363 }
1364}
#define FSCTL_BTRFS_RECEIVED_SUBVOL
void cmd_removexattr(HWND hwnd, btrfs_send_command *cmd, uint8_t *data)
void cmd_chmod(HWND hwnd, btrfs_send_command *cmd, uint8_t *data)
void cmd_subvol(HWND hwnd, btrfs_send_command *cmd, uint8_t *data, const win_handle &parent)
void cmd_write(HWND hwnd, btrfs_send_command *cmd, uint8_t *data)
void cmd_rmdir(HWND hwnd, btrfs_send_command *cmd, uint8_t *data)
void cmd_snapshot(HWND hwnd, btrfs_send_command *cmd, uint8_t *data, const win_handle &parent)
void cmd_clone(HWND hwnd, btrfs_send_command *cmd, uint8_t *data)
void cmd_setxattr(HWND hwnd, btrfs_send_command *cmd, uint8_t *data)
void cmd_mkfile(HWND hwnd, btrfs_send_command *cmd, uint8_t *data)
void cmd_link(HWND hwnd, btrfs_send_command *cmd, uint8_t *data)
void cmd_unlink(HWND hwnd, btrfs_send_command *cmd, uint8_t *data)
void cmd_rename(HWND hwnd, btrfs_send_command *cmd, uint8_t *data)
void cmd_truncate(HWND hwnd, btrfs_send_command *cmd, uint8_t *data)
void cmd_chown(HWND hwnd, btrfs_send_command *cmd, uint8_t *data)
void cmd_utimes(HWND hwnd, btrfs_send_command *cmd, uint8_t *data)
#define IDS_RECV_CSUM_ERROR
#define IDS_RECV_FILE_TRUNCATED
#define IDS_RECV_NOT_A_SEND_STREAM
#define IDS_RECV_RECEIVED_SUBVOL_FAILED
#define IDS_RECV_UNKNOWN_COMMAND
#define IDS_RECV_READFILE_FAILED
#define IDS_RECV_UNSUPPORTED_VERSION
#define IDC_RECV_PROGRESS
#define ReadFile(a, b, c, d, e)
#define BTRFS_SEND_CMD_RMDIR
#define BTRFS_SEND_CMD_SET_XATTR
#define BTRFS_SEND_CMD_MKFILE
#define BTRFS_SEND_CMD_UPDATE_EXTENT
#define BTRFS_SEND_CMD_WRITE
#define BTRFS_SEND_CMD_UTIMES
#define BTRFS_SEND_CMD_CHMOD
#define BTRFS_SEND_CMD_LINK
#define BTRFS_SEND_CMD_RENAME
#define BTRFS_SEND_CMD_SUBVOL
#define BTRFS_SEND_CMD_SNAPSHOT
#define BTRFS_SEND_CMD_TRUNCATE
#define BTRFS_SEND_CMD_CHOWN
#define BTRFS_SEND_CMD_END
#define BTRFS_SEND_CMD_UNLINK
#define BTRFS_SEND_CMD_REMOVE_XATTR
#define BTRFS_SEND_CMD_CLONE
static float(__cdecl *square_half_float)(float x
static void delete_directory(const wstring &dir)
static bool check_csum(btrfs_send_command *cmd, uint8_t *data)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)