mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 20:50:41 +00:00
[WIN32SS][NTGDI][NTUSER] Make gusLanguageID USHORT (#1776)
Every language ID is an unsigned integer. - Make gusLanguageID unsigned. - Make the return value type of UserGetLanguageID unsigned.
This commit is contained in:
parent
87279857bb
commit
6642dbc470
3 changed files with 5 additions and 5 deletions
|
@ -21,9 +21,9 @@ extern BOOL APIENTRY IntEngEnter(PINTENG_ENTER_LEAVE EnterLeave,
|
|||
extern BOOL APIENTRY IntEngLeave(PINTENG_ENTER_LEAVE EnterLeave);
|
||||
|
||||
extern HGDIOBJ StockObjects[];
|
||||
extern SHORT gusLanguageID;
|
||||
extern USHORT gusLanguageID;
|
||||
|
||||
SHORT FASTCALL UserGetLanguageID(VOID);
|
||||
USHORT FASTCALL UserGetLanguageID(VOID);
|
||||
PVOID APIENTRY HackSecureVirtualMemory(IN PVOID,IN SIZE_T,IN ULONG,OUT PVOID *);
|
||||
VOID APIENTRY HackUnsecureVirtualMemory(IN PVOID);
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ NTSTATUS GdiThreadDestroy(PETHREAD Thread);
|
|||
|
||||
PSERVERINFO gpsi = NULL; // Global User Server Information.
|
||||
|
||||
SHORT gusLanguageID;
|
||||
USHORT gusLanguageID;
|
||||
PPROCESSINFO ppiScrnSaver;
|
||||
PPROCESSINFO gppiList = NULL;
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@ UserGetLanguageToggle(VOID)
|
|||
return dwValue;
|
||||
}
|
||||
|
||||
SHORT
|
||||
USHORT
|
||||
FASTCALL
|
||||
UserGetLanguageID(VOID)
|
||||
{
|
||||
|
@ -137,7 +137,7 @@ UserGetLanguageID(VOID)
|
|||
ZwClose(KeyHandle);
|
||||
}
|
||||
TRACE("Language ID = %x\n",Ret);
|
||||
return (SHORT) Ret;
|
||||
return (USHORT) Ret;
|
||||
}
|
||||
|
||||
HBRUSH
|
||||
|
|
Loading…
Reference in a new issue