blob: 6d1b1fbab1e3f7f13eca465f1e64d0a74c38a717 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
//*************************************************************
//
// Header file for copydir.c
//
// Microsoft Confidential
// Copyright (c) Microsoft Corporation 1995
// All rights reserved
//
//*************************************************************
//
// FILEINFO flags
//
#define FI_DIREXISTED 0x00000001
//
// File copy structure
//
typedef struct _FILEINFO {
DWORD dwFlags;
TCHAR szSrc[MAX_PATH];
TCHAR szDest[MAX_PATH];
FILETIME ftSrc;
DWORD dwFileSize;
DWORD dwFileAttribs;
struct _FILEINFO *pNext;
} FILEINFO, * LPFILEINFO;
#define NUM_COPY_THREADS 7
//
// ThreadInfo structure
//
typedef struct _THREADINFO {
DWORD dwFlags;
LPCRITICAL_SECTION lpCrit;
LPFILEINFO lpSrcFiles;
} THREADINFO, * LPTHREADINFO;
BOOL ReconcileFile (LPTSTR lpSrcFile, LPTSTR lpDestFile,
DWORD dwFlags, LPFILETIME ftSrcTime);
|