Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

68 lines
1.6 KiB

//*************************************************************
//
// Header file for copydir.c
//
// Microsoft Confidential
// Copyright (c) Microsoft Corporation 1995
// All rights reserved
//
//*************************************************************
//
// File copy structure
//
typedef struct _FILEINFO {
TCHAR szSrc[MAX_PATH];
TCHAR szDest[MAX_PATH];
FILETIME ftLastWrite;
FILETIME ftCreationTime;
DWORD dwFileSize;
DWORD dwFileAttribs;
BOOL bHive;
struct _FILEINFO *pNext;
} FILEINFO, * LPFILEINFO;
#define NUM_COPY_THREADS 7
//
// ThreadInfo structure
//
typedef struct _THREADINFO {
DWORD dwFlags;
HANDLE hCopyEvent;
LPFILEINFO lpSrcFiles;
DWORD dwError;
HWND hStatusDlg;
HANDLE hStatusInitEvent;
HANDLE hStatusTermEvent;
HDESK hDesktop;
HANDLE hTokenUser;
} THREADINFO, * LPTHREADINFO;
//
// Error dialog structure
//
typedef struct _COPYERRORINFO {
LPTSTR lpSrc;
LPTSTR lpDest;
DWORD dwError;
DWORD dwTimeout;
} COPYERRORINFO, * LPCOPYERRORINFO;
INT ReconcileFile (LPCTSTR lpSrcFile, LPCTSTR lpDestFile,
DWORD dwFlags, LPFILETIME ftSrcTime,
DWORD dwFileSize, BOOL bHiveFile);
INT_PTR APIENTRY CopyStatusDlgProc (HWND hDlg, UINT uMsg,
WPARAM wParam, LPARAM lParam);
INT_PTR APIENTRY CopyErrorDlgProc (HWND hDlg, UINT uMsg,
WPARAM wParam, LPARAM lParam);