fixed typo and don't use memcpy to just copy a 32bit variable...

svn path=/trunk/; revision=13567
This commit is contained in:
Thomas Bluemel 2005-02-14 16:49:36 +00:00
parent 04380923bf
commit f9f5d87742
2 changed files with 2 additions and 2 deletions

View file

@ -297,7 +297,7 @@ GetExitCodeProcess(HANDLE hProcess,
return(FALSE);
}
memcpy(lpExitCode, &ProcessBasic.ExitStatus, sizeof(DWORD));
*lpExitCode = (DWORD)ProcessBasic.ExitStatus;
return(TRUE);
}

View file

@ -121,7 +121,7 @@ NTSTATUS
ExpSetTimeZoneInformation(PTIME_ZONE_INFORMATION TimeZoneInformation);
NTSTATUS
ExpAllocateLocallyUniqueId(OUT LUID *LocallyUniqueId);;
ExpAllocateLocallyUniqueId(OUT LUID *LocallyUniqueId);
#define InterlockedDecrementUL(Addend) \
(ULONG)InterlockedDecrement((PLONG)(Addend))