mirror of
https://github.com/reactos/reactos.git
synced 2025-06-13 13:38:31 +00:00
[CTFMON][MSCTFIME][SDK] Improve cicGetOSInfo
and s/OSINFO_/CIC_OSINFO/. Adapt ctfmon and msctfime to these changes. CORE-19360
This commit is contained in:
parent
96d525959b
commit
c4308d1e49
5 changed files with 41 additions and 24 deletions
|
@ -177,9 +177,8 @@ InitApp(
|
|||
{
|
||||
g_hInst = hInstance; // Save the instance handle
|
||||
|
||||
g_uACP = ::GetACP(); // Save the active codepage
|
||||
g_bOnWow64 = cicIsWow64(); // Is the current process on WoW64?
|
||||
g_dwOsInfo = cicGetOSInfo(); // Get OS info
|
||||
cicGetOSInfo(&g_uACP, &g_dwOsInfo); // Get OS info
|
||||
|
||||
// Create a mutex for Cicero
|
||||
g_hCicMutex = TF_CreateCicLoadMutex(&g_fWinLogon);
|
||||
|
@ -190,7 +189,7 @@ InitApp(
|
|||
WriteRegRun();
|
||||
|
||||
// Call SetProcessShutdownParameters if possible
|
||||
if (g_dwOsInfo & OSINFO_NT)
|
||||
if (g_dwOsInfo & CIC_OSINFO_NT)
|
||||
{
|
||||
g_hKernel32 = cicGetSystemModuleHandle(L"kernel32.dll", FALSE);
|
||||
g_fnSetProcessShutdownParameters =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue