Changeset 9403 for trunk/src/setupapi/virtcopy.c
- Timestamp:
- Nov 13, 2002, 12:50:07 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/setupapi/virtcopy.c
r8667 r9403 468 468 TRACE("copying '%s' to '%s'\n", fn_src, fn_dst); 469 469 /* perform the file copy */ 470 if (!(CopyFileA(fn_src, fn_dst, TRUE))) 470 if (!(CopyFileA(fn_src, fn_dst, 471 (lpvn->fl & VNLP_COPYIFEXISTS) ? FALSE : TRUE ))) 471 472 { 472 473 ERR("error copying, src: %s -> dst: %s\n", fn_src, fn_dst); … … 579 580 static char BackupDir[12]; 580 581 581 static BOOLCALLBACK VCP_UI_FileCopyDlgProc(HWND hWndDlg, UINT iMsg, WPARAM wParam, LPARAM lParam)582 { 583 BOOLretval = FALSE;582 static INT_PTR CALLBACK VCP_UI_FileCopyDlgProc(HWND hWndDlg, UINT iMsg, WPARAM wParam, LPARAM lParam) 583 { 584 INT_PTR retval = FALSE; 584 585 585 586 if (iMsg == WM_INITDIALOG) … … 594 595 BOOL VCP_UI_GetDialogTemplate(LPCVOID *template32) 595 596 { 596 HANDLE hResInfo, hDlgTmpl32; 597 HRSRC hResInfo; 598 HGLOBAL hDlgTmpl32; 597 599 598 600 if (!(hResInfo = FindResourceA(SETUPAPI_hInstance, MAKEINTRESOURCEA(COPYFILEDLGORD), RT_DIALOGA)))
Note:
See TracChangeset
for help on using the changeset viewer.