windows.cfg: Add *LANGID() macros.
This commit is contained in:
parent
5fb23a4983
commit
7832d69edf
|
@ -5828,6 +5828,9 @@ HFONT CreateFont(
|
|||
<define name="CALLBACK" value="__stdcall"/>
|
||||
<define name="CONST" value="const"/>
|
||||
<define name="APIENTRY" value="WINAPI"/>
|
||||
<define name="MAKELANGID(p, s)" value="((((WORD)(s)) << 10) | (WORD)(p))"/>
|
||||
<define name="PRIMARYLANGID(lgid)" value="((WORD)(lgid) & 0x3ff)"/>
|
||||
<define name="SUBLANGID(lgid)" value="((WORD)(lgid) >> 10)"/>
|
||||
<!-- WORD MAKEWORD(BYTE bLow, BYTE bHigh); -->
|
||||
<define name="MAKEWORD(bLow, bHigh)" value="((WORD)(((BYTE)(((DWORD_PTR)(bLow)) & 0xff)) | ((WORD)((BYTE)(((DWORD_PTR)(bHigh)) & 0xff))) << 8))"/>
|
||||
<!-- DWORD MAKELONG(WORD wLow, WORD wHigh); -->
|
||||
|
|
Loading…
Reference in New Issue