windows.cfg: Added some constants from WinUser.h
This commit is contained in:
parent
8ab02ed97a
commit
cabafca5ae
141
cfg/windows.cfg
141
cfg/windows.cfg
|
@ -12645,6 +12645,147 @@ HFONT CreateFont(
|
||||||
<define name="INVALID_SET_FILE_POINTER" value="((DWORD)-1)"/>
|
<define name="INVALID_SET_FILE_POINTER" value="((DWORD)-1)"/>
|
||||||
<define name="INVALID_FILE_ATTRIBUTES" value="((DWORD)-1)"/>
|
<define name="INVALID_FILE_ATTRIBUTES" value="((DWORD)-1)"/>
|
||||||
<!-- WinUser.h -->
|
<!-- WinUser.h -->
|
||||||
|
<define name="SPI_GETBEEP" value="0x0001"/>
|
||||||
|
<define name="SPI_SETBEEP" value="0x0002"/>
|
||||||
|
<define name="SPI_GETMOUSE" value="0x0003"/>
|
||||||
|
<define name="SPI_SETMOUSE" value="0x0004"/>
|
||||||
|
<define name="SPI_GETBORDER" value="0x0005"/>
|
||||||
|
<define name="SPI_SETBORDER" value="0x0006"/>
|
||||||
|
<define name="SPI_GETKEYBOARDSPEED" value="0x000A"/>
|
||||||
|
<define name="SPI_SETKEYBOARDSPEED" value="0x000B"/>
|
||||||
|
<define name="SPI_LANGDRIVER" value="0x000C"/>
|
||||||
|
<define name="SPI_ICONHORIZONTALSPACING" value="0x000D"/>
|
||||||
|
<define name="SPI_GETSCREENSAVETIMEOUT" value="0x000E"/>
|
||||||
|
<define name="SPI_SETSCREENSAVETIMEOUT" value="0x000F"/>
|
||||||
|
<define name="SPI_GETSCREENSAVEACTIVE" value="0x0010"/>
|
||||||
|
<define name="SPI_SETSCREENSAVEACTIVE" value="0x0011"/>
|
||||||
|
<define name="SPI_GETGRIDGRANULARITY" value="0x0012"/>
|
||||||
|
<define name="SPI_SETGRIDGRANULARITY" value="0x0013"/>
|
||||||
|
<define name="SPI_SETDESKWALLPAPER" value="0x0014"/>
|
||||||
|
<define name="SPI_SETDESKPATTERN" value="0x0015"/>
|
||||||
|
<define name="SPI_GETKEYBOARDDELAY" value="0x0016"/>
|
||||||
|
<define name="SPI_SETKEYBOARDDELAY" value="0x0017"/>
|
||||||
|
<define name="SPI_ICONVERTICALSPACING" value="0x0018"/>
|
||||||
|
<define name="SPI_GETICONTITLEWRAP" value="0x0019"/>
|
||||||
|
<define name="SPI_SETICONTITLEWRAP" value="0x001A"/>
|
||||||
|
<define name="SPI_GETMENUDROPALIGNMENT" value="0x001B"/>
|
||||||
|
<define name="SPI_SETMENUDROPALIGNMENT" value="0x001C"/>
|
||||||
|
<define name="SPI_SETDOUBLECLKWIDTH" value="0x001D"/>
|
||||||
|
<define name="SPI_SETDOUBLECLKHEIGHT" value="0x001E"/>
|
||||||
|
<define name="SPI_GETICONTITLELOGFONT" value="0x001F"/>
|
||||||
|
<define name="SPI_SETDOUBLECLICKTIME" value="0x0020"/>
|
||||||
|
<define name="SPI_SETMOUSEBUTTONSWAP" value="0x0021"/>
|
||||||
|
<define name="SPI_SETICONTITLELOGFONT" value="0x0022"/>
|
||||||
|
<define name="SPI_GETFASTTASKSWITCH" value="0x0023"/>
|
||||||
|
<define name="SPI_SETFASTTASKSWITCH" value="0x0024"/>
|
||||||
|
<define name="SPI_SETDRAGFULLWINDOWS" value="0x0025"/>
|
||||||
|
<define name="SPI_GETDRAGFULLWINDOWS" value="0x0026"/>
|
||||||
|
<define name="SPI_GETNONCLIENTMETRICS" value="0x0029"/>
|
||||||
|
<define name="SPI_SETNONCLIENTMETRICS" value="0x002A"/>
|
||||||
|
<define name="SPI_GETMINIMIZEDMETRICS" value="0x002B"/>
|
||||||
|
<define name="SPI_SETMINIMIZEDMETRICS" value="0x002C"/>
|
||||||
|
<define name="SPI_GETICONMETRICS" value="0x002D"/>
|
||||||
|
<define name="SPI_SETICONMETRICS" value="0x002E"/>
|
||||||
|
<define name="SPI_SETWORKAREA" value="0x002F"/>
|
||||||
|
<define name="SPI_GETWORKAREA" value="0x0030"/>
|
||||||
|
<define name="SPI_SETPENWINDOWS" value="0x0031"/>
|
||||||
|
<define name="SPI_GETHIGHCONTRAST" value="0x0042"/>
|
||||||
|
<define name="SPI_SETHIGHCONTRAST" value="0x0043"/>
|
||||||
|
<define name="SPI_GETKEYBOARDPREF" value="0x0044"/>
|
||||||
|
<define name="SPI_SETKEYBOARDPREF" value="0x0045"/>
|
||||||
|
<define name="SPI_GETSCREENREADER" value="0x0046"/>
|
||||||
|
<define name="SPI_SETSCREENREADER" value="0x0047"/>
|
||||||
|
<define name="SPI_GETANIMATION" value="0x0048"/>
|
||||||
|
<define name="SPI_SETANIMATION" value="0x0049"/>
|
||||||
|
<define name="SPI_GETFONTSMOOTHING" value="0x004A"/>
|
||||||
|
<define name="SPI_SETFONTSMOOTHING" value="0x004B"/>
|
||||||
|
<define name="SPI_SETDRAGWIDTH" value="0x004C"/>
|
||||||
|
<define name="SPI_SETDRAGHEIGHT" value="0x004D"/>
|
||||||
|
<define name="SPI_SETHANDHELD" value="0x004E"/>
|
||||||
|
<define name="SPI_GETLOWPOWERTIMEOUT" value="0x004F"/>
|
||||||
|
<define name="SPI_GETPOWEROFFTIMEOUT" value="0x0050"/>
|
||||||
|
<define name="SPI_SETLOWPOWERTIMEOUT" value="0x0051"/>
|
||||||
|
<define name="SPI_SETPOWEROFFTIMEOUT" value="0x0052"/>
|
||||||
|
<define name="SPI_GETLOWPOWERACTIVE" value="0x0053"/>
|
||||||
|
<define name="SPI_GETPOWEROFFACTIVE" value="0x0054"/>
|
||||||
|
<define name="SPI_SETLOWPOWERACTIVE" value="0x0055"/>
|
||||||
|
<define name="SPI_SETPOWEROFFACTIVE" value="0x0056"/>
|
||||||
|
<define name="SPI_SETCURSORS" value="0x0057"/>
|
||||||
|
<define name="SPI_SETICONS" value="0x0058"/>
|
||||||
|
<define name="SPI_GETDEFAULTINPUTLANG" value="0x0059"/>
|
||||||
|
<define name="SPI_SETDEFAULTINPUTLANG" value="0x005A"/>
|
||||||
|
<define name="SPI_SETLANGTOGGLE" value="0x005B"/>
|
||||||
|
<define name="SPI_GETWINDOWSEXTENSION" value="0x005C"/>
|
||||||
|
<define name="SPI_SETMOUSETRAILS" value="0x005D"/>
|
||||||
|
<define name="SPI_GETMOUSETRAILS" value="0x005E"/>
|
||||||
|
<define name="SPI_SETSCREENSAVERRUNNING" value="0x0061"/>
|
||||||
|
<define name="SPI_SCREENSAVERRUNNING" value="SPI_SETSCREENSAVERRUNNING"/>
|
||||||
|
<define name="SPI_GETFILTERKEYS" value="0x0032"/>
|
||||||
|
<define name="SPI_SETFILTERKEYS" value="0x0033"/>
|
||||||
|
<define name="SPI_GETTOGGLEKEYS" value="0x0034"/>
|
||||||
|
<define name="SPI_SETTOGGLEKEYS" value="0x0035"/>
|
||||||
|
<define name="SPI_GETMOUSEKEYS" value="0x0036"/>
|
||||||
|
<define name="SPI_SETMOUSEKEYS" value="0x0037"/>
|
||||||
|
<define name="SPI_GETSHOWSOUNDS" value="0x0038"/>
|
||||||
|
<define name="SPI_SETSHOWSOUNDS" value="0x0039"/>
|
||||||
|
<define name="SPI_GETSTICKYKEYS" value="0x003A"/>
|
||||||
|
<define name="SPI_SETSTICKYKEYS" value="0x003B"/>
|
||||||
|
<define name="SPI_GETACCESSTIMEOUT" value="0x003C"/>
|
||||||
|
<define name="SPI_SETACCESSTIMEOUT" value="0x003D"/>
|
||||||
|
<define name="SPI_GETSERIALKEYS" value="0x003E"/>
|
||||||
|
<define name="SPI_SETSERIALKEYS" value="0x003F"/>
|
||||||
|
<define name="SPI_GETSOUNDSENTRY" value="0x0040"/>
|
||||||
|
<define name="SPI_SETSOUNDSENTRY" value="0x0041"/>
|
||||||
|
<define name="SPI_GETSNAPTODEFBUTTON" value="0x005F"/>
|
||||||
|
<define name="SPI_SETSNAPTODEFBUTTON" value="0x0060"/>
|
||||||
|
<define name="SPI_GETMOUSEHOVERWIDTH" value="0x0062"/>
|
||||||
|
<define name="SPI_SETMOUSEHOVERWIDTH" value="0x0063"/>
|
||||||
|
<define name="SPI_GETMOUSEHOVERHEIGHT" value="0x0064"/>
|
||||||
|
<define name="SPI_SETMOUSEHOVERHEIGHT" value="0x0065"/>
|
||||||
|
<define name="SPI_GETMOUSEHOVERTIME" value="0x0066"/>
|
||||||
|
<define name="SPI_SETMOUSEHOVERTIME" value="0x0067"/>
|
||||||
|
<define name="SPI_GETWHEELSCROLLLINES" value="0x0068"/>
|
||||||
|
<define name="SPI_SETWHEELSCROLLLINES" value="0x0069"/>
|
||||||
|
<define name="SPI_GETMENUSHOWDELAY" value="0x006A"/>
|
||||||
|
<define name="SPI_SETMENUSHOWDELAY" value="0x006B"/>
|
||||||
|
<define name="SPI_GETWHEELSCROLLCHARS" value="0x006C"/>
|
||||||
|
<define name="SPI_SETWHEELSCROLLCHARS" value="0x006D"/>
|
||||||
|
<define name="SPI_GETSHOWIMEUI" value="0x006E"/>
|
||||||
|
<define name="SPI_SETSHOWIMEUI" value="0x006F"/>
|
||||||
|
<define name="SPI_GETMOUSESPEED" value="0x0070"/>
|
||||||
|
<define name="SPI_SETMOUSESPEED" value="0x0071"/>
|
||||||
|
<define name="SPI_GETSCREENSAVERRUNNING" value="0x0072"/>
|
||||||
|
<define name="SPI_GETDESKWALLPAPER" value="0x0073"/>
|
||||||
|
<define name="SPI_GETAUDIODESCRIPTION" value="0x0074"/>
|
||||||
|
<define name="SPI_SETAUDIODESCRIPTION" value="0x0075"/>
|
||||||
|
<define name="SPI_GETSCREENSAVESECURE" value="0x0076"/>
|
||||||
|
<define name="SPI_SETSCREENSAVESECURE" value="0x0077"/>
|
||||||
|
<define name="SPI_GETHUNGAPPTIMEOUT" value="0x0078"/>
|
||||||
|
<define name="SPI_SETHUNGAPPTIMEOUT" value="0x0079"/>
|
||||||
|
<define name="SPI_GETWAITTOKILLTIMEOUT" value="0x007A"/>
|
||||||
|
<define name="SPI_SETWAITTOKILLTIMEOUT" value="0x007B"/>
|
||||||
|
<define name="SPI_GETWAITTOKILLSERVICETIMEOUT" value="0x007C"/>
|
||||||
|
<define name="SPI_SETWAITTOKILLSERVICETIMEOUT" value="0x007D"/>
|
||||||
|
<define name="SPI_GETMOUSEDOCKTHRESHOLD" value="0x007E"/>
|
||||||
|
<define name="SPI_SETMOUSEDOCKTHRESHOLD" value="0x007F"/>
|
||||||
|
<define name="SPI_GETPENDOCKTHRESHOLD" value="0x0080"/>
|
||||||
|
<define name="SPI_SETPENDOCKTHRESHOLD" value="0x0081"/>
|
||||||
|
<define name="SPI_GETWINARRANGING" value="0x0082"/>
|
||||||
|
<define name="SPI_SETWINARRANGING" value="0x0083"/>
|
||||||
|
<define name="SPI_GETMOUSEDRAGOUTTHRESHOLD" value="0x0084"/>
|
||||||
|
<define name="SPI_SETMOUSEDRAGOUTTHRESHOLD" value="0x0085"/>
|
||||||
|
<define name="SPI_GETPENDRAGOUTTHRESHOLD" value="0x0086"/>
|
||||||
|
<define name="SPI_SETPENDRAGOUTTHRESHOLD" value="0x0087"/>
|
||||||
|
<define name="SPI_GETMOUSESIDEMOVETHRESHOLD" value="0x0088"/>
|
||||||
|
<define name="SPI_SETMOUSESIDEMOVETHRESHOLD" value="0x0089"/>
|
||||||
|
<define name="SPI_GETPENSIDEMOVETHRESHOLD" value="0x008A"/>
|
||||||
|
<define name="SPI_SETPENSIDEMOVETHRESHOLD" value="0x008B"/>
|
||||||
|
<define name="SPI_GETDRAGFROMMAXIMIZE" value="0x008C"/>
|
||||||
|
<define name="SPI_SETDRAGFROMMAXIMIZE" value="0x008D"/>
|
||||||
|
<define name="SPI_GETSNAPSIZING" value="0x008E"/>
|
||||||
|
<define name="SPI_SETSNAPSIZING" value="0x008F"/>
|
||||||
|
<define name="SPI_GETDOCKMOVING" value="0x0090"/>
|
||||||
|
<define name="SPI_SETDOCKMOVING" value="0x0091"/>
|
||||||
<define name="IDOK" value="1"/>
|
<define name="IDOK" value="1"/>
|
||||||
<define name="IDCANCEL" value="2"/>
|
<define name="IDCANCEL" value="2"/>
|
||||||
<define name="IDABORT" value="3"/>
|
<define name="IDABORT" value="3"/>
|
||||||
|
|
|
@ -2040,6 +2040,19 @@ void uninivar_bsearch(void)
|
||||||
(void)std::bsearch(key,base,num,size,(int(*)(const void*,const void*)) strcmp);
|
(void)std::bsearch(key,base,num,size,(int(*)(const void*,const void*)) strcmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void minsize_bsearch(const void* key, const void* base,
|
||||||
|
size_t num, size_t size,
|
||||||
|
int (*compar)(const void*,const void*))
|
||||||
|
{
|
||||||
|
int Base [3] = {42, 43, 44};
|
||||||
|
|
||||||
|
(void)std::bsearch(key,Base,2,size,(int(*)(const void*,const void*)) strcmp);
|
||||||
|
(void)std::bsearch(key,Base,3,size,(int(*)(const void*,const void*)) strcmp);
|
||||||
|
(void)std::bsearch(key,Base,4,size,(int(*)(const void*,const void*)) strcmp);
|
||||||
|
|
||||||
|
(void)std::bsearch(key,base,2,size,(int(*)(const void*,const void*)) strcmp);
|
||||||
|
}
|
||||||
|
|
||||||
void uninitvar_qsort(void)
|
void uninitvar_qsort(void)
|
||||||
{
|
{
|
||||||
void *base;
|
void *base;
|
||||||
|
|
Loading…
Reference in New Issue