We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0b84df4 + 08bc5cf commit 34b81a8Copy full SHA for 34b81a8
COREDLL/winbase_wcecl.cpp
@@ -12,7 +12,7 @@ BOOL SystemTimeToFileTime_WCECL(
12
13
BOOL FileTimeToLocalFileTime_WCECL(
14
const FILETIME* lpFileTime,
15
- LPFILETIME lpLocalFileTime)
+ LPFILETIME lpLocalFileTime)
16
{
17
auto result = ::FileTimeToLocalFileTime(lpFileTime, lpLocalFileTime);
18
return result;
@@ -590,6 +590,11 @@ BOOL WINAPI TerminateProcess_WCECL(
590
HANDLE hProcess,
591
DWORD uExitCode)
592
593
+ /* GetCurrentProcess() seems to be inlined to 0x42 for WinCE */
594
+ if (hProcess == (HANDLE)0x42)
595
+ {
596
+ hProcess = GetCurrentProcess();
597
+ }
598
auto result = ::TerminateProcess(hProcess, uExitCode);
599
600
}
0 commit comments