Replace SetLastErrorByStatus with RtlNtStatusToDosError

svn path=/trunk/; revision=4584
This commit is contained in:
Steven Edwards 2003-04-26 01:19:31 +00:00
parent b9269e59c8
commit 63e4fdcdc6
2 changed files with 4 additions and 4 deletions

View file

@ -129,7 +129,7 @@ int STDCALL LoadStringA
if(!NT_SUCCESS(nErrCode))
{
/* failure */
SetLastErrorByStatus(nErrCode);
RtlNtStatusToDosError(nErrCode);
return 0;
}

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: timer.c,v 1.5 2003/04/02 23:29:04 gdalsnes Exp $
/* $Id: timer.c,v 1.6 2003/04/26 01:19:31 sedwards Exp $
*
* PROJECT: ReactOS user32.dll
* FILE: lib/user32/misc/dde.c
@ -48,7 +48,7 @@ KillTimer(
if (!NT_SUCCESS(Status))
{
SetLastErrorByStatus(Status);
RtlNtStatusToDosError(Status);
return FALSE;
}
@ -70,7 +70,7 @@ SetTimer(
if (!NT_SUCCESS(Status))
{
SetLastErrorByStatus(Status);
RtlNtStatusToDosError(Status);
return FALSE;
}