secureswitools/swisistools/source/sisxlibrary/utility_windows.cpp
branchRCL_3
changeset 62 5cc91383ab1e
parent 19 7ca52d38f8c3
child 65 7333d7932ef7
equal deleted inserted replaced
61:cd189dac02f7 62:5cc91383ab1e
     1 /*
     1 /*
     2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   183 int GetErrorValue()
   183 int GetErrorValue()
   184 	{
   184 	{
   185 	return ::GetLastError();
   185 	return ::GetLastError();
   186 	}
   186 	}
   187 
   187 
       
   188 int FileCopyA(const char* aSrc, const char* aDest, size_t aFlag)
       
   189 {
       
   190 	int err=CopyFileA(aSrc,aDest,aFlag);
       
   191 	return err;
       
   192 }
       
   193 
       
   194 int FileMoveA(const char* aSrc, const char* aDest)
       
   195 {
       
   196 	int err=MoveFileA(aSrc,aDest);
       
   197 	return err;
       
   198 }
       
   199