Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LPCTSTR driverFiles[] = {
- _T("mxdwdrv.dll"),
- // _T("UNIDRV.DLL"),
- _T("UniDrv.hlp"),
- _T("UniDrvUI.dll"),
- _T("UNIRES.DLL"),
- _T("STDNAMES.GPD")
- };
- for each(auto sourceFileName in driverFiles) {
- auto sourceFilePath = driverDirectory;
- sourceFilePath += _T("\\3\\") /*+ sourceFileName*/;
- auto destFilePath = driverDirectory + L"\\" + sourceFileName;
- if (!CopyFile(sourceFilePath.c_str(), destFilePath.c_str(), FALSE)) {
- LogLastError();
- return FALSE;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement