windows.cfg: Added support for more platform types and some macros defined in winnt.h

This commit is contained in:
orbitcowboy 2019-07-16 13:10:04 +02:00
parent 7d7078f126
commit 29983aac0c
1 changed files with 35 additions and 0 deletions

View File

@ -50,6 +50,12 @@
<platform type="win32W"/> <platform type="win32W"/>
<platform type="win64"/> <platform type="win64"/>
</platformtype> </platformtype>
<platformtype name="FCHAR" value="char">
<unsigned/>
<platform type="win32A"/>
<platform type="win32W"/>
<platform type="win64"/>
</platformtype>
<platformtype name="CCHAR" value="char"> <platformtype name="CCHAR" value="char">
<platform type="win32A"/> <platform type="win32A"/>
<platform type="win32W"/> <platform type="win32W"/>
@ -78,6 +84,12 @@
<platform type="win32W"/> <platform type="win32W"/>
<platform type="win64"/> <platform type="win64"/>
</platformtype> </platformtype>
<platformtype name="FLONG" value="DWORD">
<unsigned/>
<platform type="win32A"/>
<platform type="win32W"/>
<platform type="win64"/>
</platformtype>
<platformtype name="DWORD32" value="int"> <platformtype name="DWORD32" value="int">
<unsigned/> <unsigned/>
<platform type="win32A"/> <platform type="win32A"/>
@ -339,6 +351,12 @@
<platformtype name="HALF_PTR" value="int"> <platformtype name="HALF_PTR" value="int">
<platform type="win64"/> <platform type="win64"/>
</platformtype> </platformtype>
<platformtype name="PSHORT" value="short">
<pointer/>
<platform type="win32A"/>
<platform type="win32W"/>
<platform type="win64"/>
</platformtype>
<platformtype name="HCALL" value="long"> <platformtype name="HCALL" value="long">
<unsigned/> <unsigned/>
<platform type="win32A"/> <platform type="win32A"/>
@ -664,6 +682,13 @@
<platform type="win32W"/> <platform type="win32W"/>
<platform type="win64"/> <platform type="win64"/>
</platformtype> </platformtype>
<platformtype name="PLCID" value="PDWORD">
<unsigned/>
<pointer/>
<platform type="win32A"/>
<platform type="win32W"/>
<platform type="win64"/>
</platformtype>
<platformtype name="PHANDLE" value="void"> <platformtype name="PHANDLE" value="void">
<ptr_ptr/> <ptr_ptr/>
<platform type="win32A"/> <platform type="win32A"/>
@ -998,6 +1023,12 @@
<platform type="win32W"/> <platform type="win32W"/>
<platform type="win64"/> <platform type="win64"/>
</platformtype> </platformtype>
<platformtype name="FSHORT" value="WORD">
<unsigned/>
<platform type="win32A"/>
<platform type="win32W"/>
<platform type="win64"/>
</platformtype>
<platformtype name="WPARAM" value="int"> <platformtype name="WPARAM" value="int">
<unsigned/> <unsigned/>
<platform type="win32A"/> <platform type="win32A"/>
@ -12113,4 +12144,8 @@ HFONT CreateFont(
<define name="FILE_ATTRIBUTE_SYSTEM" value="4"/> <define name="FILE_ATTRIBUTE_SYSTEM" value="4"/>
<define name="FILE_ATTRIBUTE_TEMPORARY" value="0x100"/> <define name="FILE_ATTRIBUTE_TEMPORARY" value="0x100"/>
<define name="FILE_ATTRIBUTE_VIRTUAL" value="0x10000"/> <define name="FILE_ATTRIBUTE_VIRTUAL" value="0x10000"/>
<!-- https://docs.microsoft.com/en-us/windows/win32/api/winnt/nf-winnt-text -->
<define name="TEXT(quote)" value="quote"/>
<define name="__TEXT(quote)" value="quote"/>
<define name="ALL_PROCESSOR_GROUPS" value="0xFFFF"/>
</def> </def>