| author | |
| committer | |
| log | 4a02e080d127cc577d40f8ea5d68122ba8ac4243 |
| tree | ec78ff4709cf83e749f6240445302d804a92bbaa |
| parent | f4c7290bc51c48293690a879a428b24e520b0f68 |
| parent | 78d6f1c56aa3bca72c3f336b89626982631da2e7 |
| signature |
`mingw`: Update MinGW-w64 to 38c8142f660b6ba11e7c408f2de1e9f8bfaf839e.511 files changed, 7830 insertions(+), 8651 deletions(-)
lib/libc/include/any-windows-any/_mingw.h+7-1| ... | @@ -246,6 +246,12 @@ limitations in handling dllimport attribute. */ | ... | @@ -246,6 +246,12 @@ limitations in handling dllimport attribute. */ |
| 246 | #define _UCRT | 246 | #define _UCRT |
| 247 | #endif | 247 | #endif |
| 248 | 248 | ||
| 249 | #ifdef _UCRT | ||
| 250 | # define __MINGW_UCRT_ASM_CALL(func) __MINGW_ASM_CALL(func) | ||
| 251 | #else | ||
| 252 | # define __MINGW_UCRT_ASM_CALL(func) | ||
| 253 | #endif | ||
| 254 | |||
| 249 | #ifndef _WIN32_WINNT | 255 | #ifndef _WIN32_WINNT |
| 250 | #define _WIN32_WINNT 0xa00 | 256 | #define _WIN32_WINNT 0xa00 |
| 251 | #endif | 257 | #endif |
| ... | @@ -384,7 +390,7 @@ typedef int __int128 __attribute__ ((__mode__ (TI))); | ... | @@ -384,7 +390,7 @@ typedef int __int128 __attribute__ ((__mode__ (TI))); |
| 384 | 390 | ||
| 385 | #ifndef __WIDL__ | 391 | #ifndef __WIDL__ |
| 386 | 392 | ||
| 387 | #if defined (_WIN32) && !defined (_WIN64) && !defined (__MINGW_USE_VC2005_COMPAT) && !defined (_UCRT) | 393 | #if defined (_WIN32) && !defined (_WIN64) && !defined (__MINGW_USE_VC2005_COMPAT) && !defined (_UCRT) && !(defined (_TIME_BITS) && _TIME_BITS == 64) |
| 388 | #ifndef _USE_32BIT_TIME_T | 394 | #ifndef _USE_32BIT_TIME_T |
| 389 | #define _USE_32BIT_TIME_T | 395 | #define _USE_32BIT_TIME_T |
| 390 | #endif | 396 | #endif |
lib/libc/include/any-windows-any/_mingw_mac.h+1-1| ... | @@ -270,7 +270,7 @@ | ... | @@ -270,7 +270,7 @@ |
| 270 | # define __MINGW_ATTRIB_DEPRECATED_MSVC2005 | 270 | # define __MINGW_ATTRIB_DEPRECATED_MSVC2005 |
| 271 | #endif | 271 | #endif |
| 272 | 272 | ||
| 273 | #if !defined (_CRT_SECURE_NO_WARNINGS) || (_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES == 0) | 273 | #if !defined (_CRT_SECURE_NO_WARNINGS) |
| 274 | # define __MINGW_ATTRIB_DEPRECATED_SEC_WARN \ | 274 | # define __MINGW_ATTRIB_DEPRECATED_SEC_WARN \ |
| 275 | __MINGW_ATTRIB_DEPRECATED_STR(__MINGW_SEC_WARN_STR) | 275 | __MINGW_ATTRIB_DEPRECATED_STR(__MINGW_SEC_WARN_STR) |
| 276 | #else | 276 | #else |
lib/libc/include/any-windows-any/_mingw_stat64.h+3-20| ... | @@ -1,5 +1,8 @@ | ... | @@ -1,5 +1,8 @@ |
| 1 | #ifndef _STAT_DEFINED | 1 | #ifndef _STAT_DEFINED |
| 2 | 2 | ||
| 3 | /* __stat64 is needed for compatibility with msvc */ | ||
| 4 | #define __stat64 _stat64 | ||
| 5 | |||
| 3 | #ifdef _USE_32BIT_TIME_T | 6 | #ifdef _USE_32BIT_TIME_T |
| 4 | #define _fstat _fstat32 | 7 | #define _fstat _fstat32 |
| 5 | #define _fstati64 _fstat32i64 | 8 | #define _fstati64 _fstat32i64 |
| ... | @@ -30,22 +33,6 @@ | ... | @@ -30,22 +33,6 @@ |
| 30 | __time32_t st_ctime; | 33 | __time32_t st_ctime; |
| 31 | }; | 34 | }; |
| 32 | 35 | ||
| 33 | #ifndef	NO_OLDNAMES | ||
| 34 | struct stat { | ||
| 35 | _dev_t st_dev; | ||
| 36 | _ino_t st_ino; | ||
| 37 | unsigned short st_mode; | ||
| 38 | short st_nlink; | ||
| 39 | short st_uid; | ||
| 40 | short st_gid; | ||
| 41 | _dev_t st_rdev; | ||
| 42 | _off_t st_size; | ||
| 43 | time_t st_atime; | ||
| 44 | time_t st_mtime; | ||
| 45 | time_t st_ctime; | ||
| 46 | }; | ||
| 47 | #endif /* NO_OLDNAMES */ | ||
| 48 | |||
| 49 | struct _stat32i64 { | 36 | struct _stat32i64 { |
| 50 | _dev_t st_dev; | 37 | _dev_t st_dev; |
| 51 | _ino_t st_ino; | 38 | _ino_t st_ino; |
| ... | @@ -88,9 +75,5 @@ | ... | @@ -88,9 +75,5 @@ |
| 88 | __time64_t st_ctime; | 75 | __time64_t st_ctime; |
| 89 | }; | 76 | }; |
| 90 | 77 | ||
| 91 | #define __stat64 _stat64 | ||
| 92 | #define stat64 _stat64 /* for POSIX */ | ||
| 93 | #define fstat64 _fstat64 /* for POSIX */ | ||
| 94 | |||
| 95 | #define _STAT_DEFINED | 78 | #define _STAT_DEFINED |
| 96 | #endif /* _STAT_DEFINED */ | 79 | #endif /* _STAT_DEFINED */ |
lib/libc/include/any-windows-any/accctrl.h+2-2| ... | @@ -32,7 +32,7 @@ extern "C" { | ... | @@ -32,7 +32,7 @@ extern "C" { |
| 32 | SE_DS_OBJECT_ALL, | 32 | SE_DS_OBJECT_ALL, |
| 33 | SE_PROVIDER_DEFINED_OBJECT, | 33 | SE_PROVIDER_DEFINED_OBJECT, |
| 34 | SE_WMIGUID_OBJECT, | 34 | SE_WMIGUID_OBJECT, |
| 35 | SE_REGISTRY_WOW64_32KEY, | 35 | SE_REGISTRY_WOW64_32KEY |
| 36 | } SE_OBJECT_TYPE; | 36 | } SE_OBJECT_TYPE; |
| 37 | 37 | ||
| 38 | typedef enum _TRUSTEE_TYPE { | 38 | typedef enum _TRUSTEE_TYPE { |
| ... | @@ -56,7 +56,7 @@ extern "C" { | ... | @@ -56,7 +56,7 @@ extern "C" { |
| 56 | 56 | ||
| 57 | typedef enum _MULTIPLE_TRUSTEE_OPERATION { | 57 | typedef enum _MULTIPLE_TRUSTEE_OPERATION { |
| 58 | NO_MULTIPLE_TRUSTEE, | 58 | NO_MULTIPLE_TRUSTEE, |
| 59 | TRUSTEE_IS_IMPERSONATE, | 59 | TRUSTEE_IS_IMPERSONATE |
| 60 | } MULTIPLE_TRUSTEE_OPERATION; | 60 | } MULTIPLE_TRUSTEE_OPERATION; |
| 61 | 61 | ||
| 62 | typedef struct _OBJECTS_AND_SID { | 62 | typedef struct _OBJECTS_AND_SID { |
lib/libc/include/any-windows-any/aclui.h+1-1| ... | @@ -112,7 +112,7 @@ extern "C" { | ... | @@ -112,7 +112,7 @@ extern "C" { |
| 112 | SI_SHOW_OWNER_ACTIVATED, | 112 | SI_SHOW_OWNER_ACTIVATED, |
| 113 | SI_SHOW_EFFECTIVE_ACTIVATED, | 113 | SI_SHOW_EFFECTIVE_ACTIVATED, |
| 114 | SI_SHOW_SHARE_ACTIVATED, | 114 | SI_SHOW_SHARE_ACTIVATED, |
| 115 | SI_SHOW_CENTRAL_POLICY_ACTIVATED, | 115 | SI_SHOW_CENTRAL_POLICY_ACTIVATED |
| 116 | } SI_PAGE_ACTIVATED; | 116 | } SI_PAGE_ACTIVATED; |
| 117 | 117 | ||
| 118 | #define GET_PAGE_TYPE(X) (UINT) ((X) &0x0000ffff) | 118 | #define GET_PAGE_TYPE(X) (UINT) ((X) &0x0000ffff) |
lib/libc/include/any-windows-any/activation.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/activation.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/activation.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/activaut.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/activaut.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/activaut.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/activdbg.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/activdbg.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/activdbg.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/activdbg100.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/activdbg100.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/activdbg100.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/activprof.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/activprof.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/activprof.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/activscp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/activscp.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/activscp.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/adhoc.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/adhoc.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/adhoc.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/af_irda.h+1-1| ... | @@ -59,7 +59,7 @@ | ... | @@ -59,7 +59,7 @@ |
| 59 | 59 | ||
| 60 | enum { | 60 | enum { |
| 61 | LM_HB_Extension = 128,LM_HB1_PnP = 1,LM_HB1_PDA_Palmtop = 2,LM_HB1_Computer = 4,LM_HB1_Printer = 8,LM_HB1_Modem = 16,LM_HB1_Fax = 32, | 61 | LM_HB_Extension = 128,LM_HB1_PnP = 1,LM_HB1_PDA_Palmtop = 2,LM_HB1_Computer = 4,LM_HB1_Printer = 8,LM_HB1_Modem = 16,LM_HB1_Fax = 32, |
| 62 | LM_HB1_LANAccess = 64,LM_HB2_Telephony = 1,LM_HB2_FileServer = 2, | 62 | LM_HB1_LANAccess = 64,LM_HB2_Telephony = 1,LM_HB2_FileServer = 2 |
| 63 | }; | 63 | }; |
| 64 | 64 | ||
| 65 | #define LmCharSetASCII 0 | 65 | #define LmCharSetASCII 0 |
lib/libc/include/any-windows-any/agtctl_i.c deleted-50| ... | @@ -1,50 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | #ifdef __cplusplus | ||
| 7 | extern "C"{ | ||
| 8 | #endif | ||
| 9 | |||
| 10 | #ifndef __IID_DEFINED__ | ||
| 11 | #define __IID_DEFINED__ | ||
| 12 | typedef struct _IID { | ||
| 13 | unsigned long x; | ||
| 14 | unsigned short s1; | ||
| 15 | unsigned short s2; | ||
| 16 | unsigned char c[8]; | ||
| 17 | } IID; | ||
| 18 | #endif | ||
| 19 | |||
| 20 | #ifndef CLSID_DEFINED | ||
| 21 | #define CLSID_DEFINED | ||
| 22 | typedef IID CLSID; | ||
| 23 | #endif | ||
| 24 | |||
| 25 | const IID IID_IAgentCtlRequest = {0x1DAB85C3,0x803A,0x11D0,{0xAC,0x63,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 26 | const IID IID_IAgentCtlUserInput = {0xC4ABF875,0x8100,0x11D0,{0xAC,0x63,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 27 | const IID IID_IAgentCtlBalloon = {0xF5BE8BD3,0x7DE6,0x11D0,{0x91,0xFE,0x00,0xC0,0x4F,0xD7,0x01,0xA5}}; | ||
| 28 | const IID IID_IAgentCtlBalloonEx = {0x822DB1C0,0x8879,0x11d1,{0x9E,0xC6,0x00,0xC0,0x4F,0xD7,0x08,0x1F}}; | ||
| 29 | const IID IID_IAgentCtlCommand = {0xF5BE8BE3,0x7DE6,0x11D0,{0x91,0xFE,0x00,0xC0,0x4F,0xD7,0x01,0xA5}}; | ||
| 30 | const IID IID_IAgentCtlCommandEx = {0xB0913410,0x3B44,0x11d1,{0xAC,0xBA,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 31 | const IID IID_IAgentCtlCommands = {0xF5BE8BE1,0x7DE6,0x11D0,{0x91,0xFE,0x00,0xC0,0x4F,0xD7,0x01,0xA5}}; | ||
| 32 | const IID IID_IAgentCtlCommandsEx = {0x6BA90C01,0x3910,0x11d1,{0xAC,0xB3,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 33 | const IID IID_IAgentCtlCharacter = {0xF5BE8BD9,0x7DE6,0x11D0,{0x91,0xFE,0x00,0xC0,0x4F,0xD7,0x01,0xA5}}; | ||
| 34 | const IID IID_IAgentCtlAnimationNames = {0x8B77181C,0xD3EF,0x11d1,{0x85,0x00,0x00,0xC0,0x4F,0xA3,0x4A,0x14}}; | ||
| 35 | const IID IID_IAgentCtlCharacterEx = {0xDE8EF600,0x2F82,0x11d1,{0xAC,0xAC,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 36 | const IID IID_IAgentCtlCharacters = {0xF5BE8BE8,0x7DE6,0x11D0,{0x91,0xFE,0x00,0xC0,0x4F,0xD7,0x01,0xA5}}; | ||
| 37 | const IID IID_IAgentCtlAudioObject = {0xF5BE8BDB,0x7DE6,0x11D0,{0x91,0xFE,0x00,0xC0,0x4F,0xD7,0x01,0xA5}}; | ||
| 38 | const IID IID_IAgentCtlAudioObjectEx = {0xF5BE8BF0,0x7DE6,0x11D0,{0x91,0xFE,0x00,0xC0,0x4F,0xD7,0x01,0xA5}}; | ||
| 39 | const IID IID_IAgentCtlSpeechInput = {0xF5BE8BDD,0x7DE6,0x11D0,{0x91,0xFE,0x00,0xC0,0x4F,0xD7,0x01,0xA5}}; | ||
| 40 | const IID IID_IAgentCtlPropertySheet = {0xF5BE8BDF,0x7DE6,0x11D0,{0x91,0xFE,0x00,0xC0,0x4F,0xD7,0x01,0xA5}}; | ||
| 41 | const IID IID_IAgentCtlCommandsWindow = {0x6D0ECB27,0x9968,0x11D0,{0xAC,0x6E,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 42 | const IID IID_IAgentCtl = {0xF5BE8BD1,0x7DE6,0x11D0,{0x91,0xFE,0x00,0xC0,0x4F,0xD7,0x01,0xA5}}; | ||
| 43 | const IID IID_IAgentCtlEx = {0x8563FF20,0x8ECC,0x11d1,{0xB9,0xB4,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 44 | const IID LIBID_AgentObjects = {0xF5BE8BC2,0x7DE6,0x11D0,{0x91,0xFE,0x00,0xC0,0x4F,0xD7,0x01,0xA5}}; | ||
| 45 | const IID DIID__AgentEvents = {0xF5BE8BD4,0x7DE6,0x11D0,{0x91,0xFE,0x00,0xC0,0x4F,0xD7,0x01,0xA5}}; | ||
| 46 | const CLSID CLSID_Agent = {0xD45FD31B,0x5C6E,0x11D1,{0x9E,0xC1,0x00,0xC0,0x4F,0xD7,0x08,0x1F}}; | ||
| 47 | |||
| 48 | #ifdef __cplusplus | ||
| 49 | } | ||
| 50 | #endif | ||
lib/libc/include/any-windows-any/agtsvr_i.c deleted-51| ... | @@ -1,51 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | #ifdef __cplusplus | ||
| 7 | extern "C"{ | ||
| 8 | #endif | ||
| 9 | |||
| 10 | #ifndef __IID_DEFINED__ | ||
| 11 | #define __IID_DEFINED__ | ||
| 12 | typedef struct _IID { | ||
| 13 | unsigned long x; | ||
| 14 | unsigned short s1; | ||
| 15 | unsigned short s2; | ||
| 16 | unsigned char c[8]; | ||
| 17 | } IID; | ||
| 18 | #endif | ||
| 19 | |||
| 20 | #ifndef CLSID_DEFINED | ||
| 21 | #define CLSID_DEFINED | ||
| 22 | typedef IID CLSID; | ||
| 23 | #endif | ||
| 24 | |||
| 25 | const IID IID_IAgentUserInput = {0xA7B93C80,0x7B81,0x11D0,{0xAC,0x5F,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 26 | const IID IID_IAgentCommand = {0xA7B93C83,0x7B81,0x11D0,{0xAC,0x5F,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 27 | const IID IID_IAgentCommandEx = {0xB0913412,0x3B44,0x11d1,{0xAC,0xBA,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 28 | const IID IID_IAgentCommands = {0xA7B93C85,0x7B81,0x11D0,{0xAC,0x5F,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 29 | const IID IID_IAgentCommandsEx = {0x6BA90C00,0x3910,0x11d1,{0xAC,0xB3,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 30 | const IID IID_IAgentCommandWindow = {0x6D0ECB23,0x9968,0x11D0,{0xAC,0x6E,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 31 | const IID IID_IAgentSpeechInputProperties = {0xA7B93C87,0x7B81,0x11D0,{0xAC,0x5F,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 32 | const IID IID_IAgentAudioOutputProperties = {0xA7B93C89,0x7B81,0x11D0,{0xAC,0x5F,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 33 | const IID IID_IAgentAudioOutputPropertiesEx = {0xA7B93CA0,0x7B81,0x11D0,{0xAC,0x5F,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 34 | const IID IID_IAgentPropertySheet = {0xA7B93C8B,0x7B81,0x11D0,{0xAC,0x5F,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 35 | const IID IID_IAgentBalloon = {0xA7B93C8D,0x7B81,0x11D0,{0xAC,0x5F,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 36 | const IID IID_IAgentBalloonEx = {0xD7A6D440,0x8872,0x11d1,{0x9E,0xC6,0x00,0xC0,0x4F,0xD7,0x08,0x1F}}; | ||
| 37 | const IID IID_IAgentCharacter = {0xA7B93C8F,0x7B81,0x11D0,{0xAC,0x5F,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 38 | const IID IID_IAgentCharacterEx = {0x98BBE491,0x2EED,0x11d1,{0xAC,0xAC,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 39 | const IID IID_IAgent = {0xA7B93C91,0x7B81,0x11D0,{0xAC,0x5F,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 40 | const IID IID_IAgentEx = {0x48D12BA0,0x5B77,0x11d1,{0x9E,0xC1,0x00,0xC0,0x4F,0xD7,0x08,0x1F}}; | ||
| 41 | const IID IID_IAgentNotifySink = {0x00D18159,0x8466,0x11D0,{0xAC,0x63,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 42 | const IID IID_IAgentNotifySinkEx = {0x08C75162,0x3C9C,0x11d1,{0x91,0xFE,0x00,0xC0,0x4F,0xD7,0x01,0xA5}}; | ||
| 43 | const IID IID_IAgentPrivateNotifySink = {0xB741B760,0x8EA6,0x11d0,{0xAC,0x6A,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 44 | const IID IID_IAgentCustomMarshalMaker = {0x408D7542,0xC8FC,0x11d1,{0xAA,0x83,0x00,0xC0,0x4F,0xA3,0x4D,0x72}}; | ||
| 45 | const IID IID_IAgentClientStatus = {0xC5649F70,0x7AED,0x11d1,{0xB9,0xA8,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 46 | const IID LIBID_AgentServerObjects = {0xA7B93C73,0x7B81,0x11D0,{0xAC,0x5F,0x00,0xC0,0x4F,0xD9,0x75,0x75}}; | ||
| 47 | const CLSID CLSID_AgentServer = {0xD45FD2FC,0x5C6E,0x11D1,{0x9E,0xC1,0x00,0xC0,0x4F,0xD7,0x08,0x1F}}; | ||
| 48 | |||
| 49 | #ifdef __cplusplus | ||
| 50 | } | ||
| 51 | #endif | ||
lib/libc/include/any-windows-any/alg.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/alg.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/alg.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/alink.h+1-1| ... | @@ -35,7 +35,7 @@ typedef enum _AssemblyFlags { | ... | @@ -35,7 +35,7 @@ typedef enum _AssemblyFlags { |
| 35 | afCleanModules = 0x00000002, | 35 | afCleanModules = 0x00000002, |
| 36 | afNoRefHash = 0x00000004, | 36 | afNoRefHash = 0x00000004, |
| 37 | afNoDupTypeCheck = 0x00000008, | 37 | afNoDupTypeCheck = 0x00000008, |
| 38 | afDupeCheckTypeFwds = 0x00000010, | 38 | afDupeCheckTypeFwds = 0x00000010 |
| 39 | } AssemblyFlags; | 39 | } AssemblyFlags; |
| 40 | 40 | ||
| 41 | EXTERN_GUID (CLSID_AssemblyLinker, 0xf7e02368, 0xa7f4, 0x471f, 0x8c, 0x5e, 0x98, 0x39, 0xed, 0x57, 0xcb, 0x5e); | 41 | EXTERN_GUID (CLSID_AssemblyLinker, 0xf7e02368, 0xa7f4, 0x471f, 0x8c, 0x5e, 0x98, 0x39, 0xed, 0x57, 0xcb, 0x5e); |
lib/libc/include/any-windows-any/amstream.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/amstream.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/amstream.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/amvideo.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/amvideo.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/amvideo.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/aqadmtyp.h+2-2| ... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
| 10 | #define QUEUE_ADMIN_MAX_BUFFER_REQUIRED 200 | 10 | #define QUEUE_ADMIN_MAX_BUFFER_REQUIRED 200 |
| 11 | 11 | ||
| 12 | typedef enum tagQUEUE_ADMIN_VERSIONS { | 12 | typedef enum tagQUEUE_ADMIN_VERSIONS { |
| 13 | CURRENT_QUEUE_ADMIN_VERSION = 4, | 13 | CURRENT_QUEUE_ADMIN_VERSION = 4 |
| 14 | } QUEUE_ADMIN_VERSIONS; | 14 | } QUEUE_ADMIN_VERSIONS; |
| 15 | 15 | ||
| 16 | typedef struct tagMESSAGE_FILTER { | 16 | typedef struct tagMESSAGE_FILTER { |
| ... | @@ -54,7 +54,7 @@ typedef enum tagMESSAGE_ENUM_FILTER_TYPE { | ... | @@ -54,7 +54,7 @@ typedef enum tagMESSAGE_ENUM_FILTER_TYPE { |
| 54 | MEF_N_OLDEST_MESSAGES = 0x80, | 54 | MEF_N_OLDEST_MESSAGES = 0x80, |
| 55 | MEF_FAILED = 0x100, | 55 | MEF_FAILED = 0x100, |
| 56 | MEF_ALL = 0x40000000, | 56 | MEF_ALL = 0x40000000, |
| 57 | MEF_INVERTSENSE = 0x80000000, | 57 | MEF_INVERTSENSE = 0x80000000 |
| 58 | } MESSAGE_ENUM_FILTER_TYPE; | 58 | } MESSAGE_ENUM_FILTER_TYPE; |
| 59 | 59 | ||
| 60 | typedef struct tagMESSAGE_ENUM_FILTER { | 60 | typedef struct tagMESSAGE_ENUM_FILTER { |
lib/libc/include/any-windows-any/asyncinfo.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/asyncinfo.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/asyncinfo.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/audioapotypes.h+1-1| ... | @@ -29,7 +29,7 @@ typedef struct APO_CONNECTION_PROPERTY { | ... | @@ -29,7 +29,7 @@ typedef struct APO_CONNECTION_PROPERTY { |
| 29 | 29 | ||
| 30 | typedef enum { | 30 | typedef enum { |
| 31 | AUDIO_CURVE_TYPE_NONE = 0, | 31 | AUDIO_CURVE_TYPE_NONE = 0, |
| 32 | AUDIO_CURVE_TYPE_WINDOWS_FADE = 1, | 32 | AUDIO_CURVE_TYPE_WINDOWS_FADE = 1 |
| 33 | } AUDIO_CURVE_TYPE; | 33 | } AUDIO_CURVE_TYPE; |
| 34 | #endif | 34 | #endif |
| 35 | 35 |
lib/libc/include/any-windows-any/audioclient.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/audioclient.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/audioclient.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/audioendpoints.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/audioendpoints.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/audioendpoints.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/audiopolicy.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/audiopolicy.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/audiopolicy.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/austream.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/austream.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/austream.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/authz.h+1-1| ... | @@ -243,7 +243,7 @@ extern "C" { | ... | @@ -243,7 +243,7 @@ extern "C" { |
| 243 | AuthzAuditEventInfoOperationType, | 243 | AuthzAuditEventInfoOperationType, |
| 244 | AuthzAuditEventInfoObjectType, | 244 | AuthzAuditEventInfoObjectType, |
| 245 | AuthzAuditEventInfoObjectName, | 245 | AuthzAuditEventInfoObjectName, |
| 246 | AuthzAuditEventInfoAdditionalInfo, | 246 | AuthzAuditEventInfoAdditionalInfo |
| 247 | } AUTHZ_AUDIT_EVENT_INFORMATION_CLASS; | 247 | } AUTHZ_AUDIT_EVENT_INFORMATION_CLASS; |
| 248 | 248 | ||
| 249 | AUTHZAPI WINBOOL WINAPI AuthzFreeAuditEvent (AUTHZ_AUDIT_EVENT_HANDLE hAuditEvent); | 249 | AUTHZAPI WINBOOL WINAPI AuthzFreeAuditEvent (AUTHZ_AUDIT_EVENT_HANDLE hAuditEvent); |
lib/libc/include/any-windows-any/bdaiface.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/bdaiface.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/bdaiface.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/bdaiface_enums.h+3-3| ... | @@ -1,6 +1,6 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /** | 1 | /** |
| 2 | * This file is part of the mingw-w64 runtime package. | 2 | * This file is part of the mingw-w64 runtime package. |
| 3 | * No warranty is given; refer to the file DISCLAIMER within this package. | 3 | * No warranty is given; refer to the file DISCLAIMER within this package. |
| 4 | */ | 4 | */ |
| 5 | #ifndef BDAIFACE_ENUMS_H | 5 | #ifndef BDAIFACE_ENUMS_H |
| 6 | #define BDAIFACE_ENUMS_H | 6 | #define BDAIFACE_ENUMS_H |
lib/libc/include/any-windows-any/bdatypes.h+3-3| ... | @@ -69,7 +69,7 @@ typedef enum MEDIA_SAMPLE_CONTENT | ... | @@ -69,7 +69,7 @@ typedef enum MEDIA_SAMPLE_CONTENT |
| 69 | 69 | ||
| 70 | typedef enum ISDBCAS_REQUEST_ID { | 70 | typedef enum ISDBCAS_REQUEST_ID { |
| 71 | ISDBCAS_REQUEST_ID_EMG = 0x38, | 71 | ISDBCAS_REQUEST_ID_EMG = 0x38, |
| 72 | ISDBCAS_REQUEST_ID_EMD = 0x3a, | 72 | ISDBCAS_REQUEST_ID_EMD = 0x3a |
| 73 | } ISDBCAS_REQUEST_ID; | 73 | } ISDBCAS_REQUEST_ID; |
| 74 | 74 | ||
| 75 | typedef enum MUX_PID_TYPE { | 75 | typedef enum MUX_PID_TYPE { |
| ... | @@ -299,7 +299,7 @@ typedef enum tagScanModulationTypes | ... | @@ -299,7 +299,7 @@ typedef enum tagScanModulationTypes |
| 299 | ScanModulationTypesMask_DVBC = BDA_MOD_64QAM | BDA_SCAN_MOD_128QAM | | 299 | ScanModulationTypesMask_DVBC = BDA_MOD_64QAM | BDA_SCAN_MOD_128QAM | |
| 300 | BDA_MOD_256QAM, | 300 | BDA_MOD_256QAM, |
| 301 | BDA_SCAN_MOD_16APSK = 0x10000000, | 301 | BDA_SCAN_MOD_16APSK = 0x10000000, |
| 302 | BDA_SCAN_MOD_32APSK = 0x20000000, | 302 | BDA_SCAN_MOD_32APSK = 0x20000000 |
| 303 | } ScanModulationTypes; | 303 | } ScanModulationTypes; |
| 304 | 304 | ||
| 305 | #ifdef __WIDL__ | 305 | #ifdef __WIDL__ |
| ... | @@ -460,7 +460,7 @@ typedef enum ApplicationTypeType { | ... | @@ -460,7 +460,7 @@ typedef enum ApplicationTypeType { |
| 460 | SCTE28_CopyProtection, | 460 | SCTE28_CopyProtection, |
| 461 | SCTE28_Diagnostic, | 461 | SCTE28_Diagnostic, |
| 462 | SCTE28_Undesignated, | 462 | SCTE28_Undesignated, |
| 463 | SCTE28_Reserved, | 463 | SCTE28_Reserved |
| 464 | } ApplicationTypeType; | 464 | } ApplicationTypeType; |
| 465 | 465 | ||
| 466 | #ifdef __WIDL__ | 466 | #ifdef __WIDL__ |
lib/libc/include/any-windows-any/bits.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/bits.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/bits.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/bits1_5.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/bits1_5.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/bits1_5.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/bits2_0.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/bits2_0.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/bits2_0.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/bits2_5.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/bits2_5.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/bits2_5.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/bits3_0.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/bits3_0.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/bits3_0.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/bits5_0.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/bits5_0.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/bits5_0.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/cdoex_i.c deleted-106| ... | @@ -1,106 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | #ifdef __cplusplus | ||
| 7 | extern "C"{ | ||
| 8 | #endif | ||
| 9 | |||
| 10 | #include <rpc.h> | ||
| 11 | #include <rpcndr.h> | ||
| 12 | |||
| 13 | #ifdef _MIDL_USE_GUIDDEF_ | ||
| 14 | #ifndef INITGUID | ||
| 15 | #define INITGUID | ||
| 16 | #include <guiddef.h> | ||
| 17 | #undef INITGUID | ||
| 18 | #else | ||
| 19 | #include <guiddef.h> | ||
| 20 | #endif | ||
| 21 | #define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) | ||
| 22 | #else | ||
| 23 | #ifndef __IID_DEFINED__ | ||
| 24 | #define __IID_DEFINED__ | ||
| 25 | typedef struct _IID { | ||
| 26 | unsigned long x; | ||
| 27 | unsigned short s1; | ||
| 28 | unsigned short s2; | ||
| 29 | unsigned char c[8]; | ||
| 30 | } IID; | ||
| 31 | #endif | ||
| 32 | |||
| 33 | #ifndef CLSID_DEFINED | ||
| 34 | #define CLSID_DEFINED | ||
| 35 | typedef IID CLSID; | ||
| 36 | #endif | ||
| 37 | #define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}} | ||
| 38 | #endif | ||
| 39 | |||
| 40 | #if defined __cplusplus && !defined CDO_NO_NAMESPACE | ||
| 41 | namespace CDO { | ||
| 42 | #else | ||
| 43 | #undef IDataSource | ||
| 44 | #endif | ||
| 45 | |||
| 46 | MIDL_DEFINE_GUID(IID,IID_IDataSource,0xCD000029,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 47 | MIDL_DEFINE_GUID(IID,IID_IMessage,0xCD000020,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 48 | MIDL_DEFINE_GUID(IID,IID_IBodyPart,0xCD000021,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 49 | MIDL_DEFINE_GUID(IID,IID_IConfiguration,0xCD000022,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 50 | MIDL_DEFINE_GUID(IID,IID_IMessages,0xCD000025,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 51 | MIDL_DEFINE_GUID(IID,IID_IDropDirectory,0xCD000024,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 52 | MIDL_DEFINE_GUID(IID,IID_IBodyParts,0xCD000023,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 53 | MIDL_DEFINE_GUID(IID,IID_ISMTPScriptConnector,0xCD000030,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 54 | MIDL_DEFINE_GUID(IID,IID_INNTPEarlyScriptConnector,0xCD000034,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 55 | MIDL_DEFINE_GUID(IID,IID_INNTPPostScriptConnector,0xCD000031,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 56 | MIDL_DEFINE_GUID(IID,IID_INNTPFinalScriptConnector,0xCD000032,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 57 | MIDL_DEFINE_GUID(IID,IID_ISMTPOnArrival,0xCD000026,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 58 | MIDL_DEFINE_GUID(IID,IID_INNTPOnPostEarly,0xCD000033,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 59 | MIDL_DEFINE_GUID(IID,IID_INNTPOnPost,0xCD000027,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 60 | MIDL_DEFINE_GUID(IID,IID_INNTPOnPostFinal,0xCD000028,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 61 | MIDL_DEFINE_GUID(IID,IID_IProxyObject,0xCD000083,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 62 | MIDL_DEFINE_GUID(IID,IID_IItem,0xCD000126,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 63 | MIDL_DEFINE_GUID(IID,IID_IAppointment,0xCD000120,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 64 | MIDL_DEFINE_GUID(IID,IID_ICalendarMessage,0xCD000122,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 65 | MIDL_DEFINE_GUID(IID,IID_IIntegers,0xCD00012E,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 66 | MIDL_DEFINE_GUID(IID,IID_IVariants,0xCD00012F,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 67 | MIDL_DEFINE_GUID(IID,IID_IRecurrencePattern,0xCD000123,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 68 | MIDL_DEFINE_GUID(IID,IID_IException,0xCD000124,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 69 | MIDL_DEFINE_GUID(IID,IID_IRecurrencePatterns,0xCD00012C,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 70 | MIDL_DEFINE_GUID(IID,IID_IExceptions,0xCD00012D,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 71 | MIDL_DEFINE_GUID(IID,IID_ICalendarPart,0xCD000133,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 72 | MIDL_DEFINE_GUID(IID,IID_ICalendarParts,0xCD000130,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 73 | MIDL_DEFINE_GUID(IID,IID_IAttendee,0xCD000135,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 74 | MIDL_DEFINE_GUID(IID,IID_IAttendees,0xCD000136,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 75 | MIDL_DEFINE_GUID(IID,IID_IMailbox,0xCD000125,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 76 | MIDL_DEFINE_GUID(IID,IID_IFolder,0xCD000132,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 77 | MIDL_DEFINE_GUID(IID,IID_IContactGroupMembers,0xCD000138,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 78 | MIDL_DEFINE_GUID(IID,IID_IPerson,0xCD000127,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 79 | MIDL_DEFINE_GUID(IID,IID_IAddressee,0xCD000139,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 80 | MIDL_DEFINE_GUID(IID,IID_IAddressees,0xCD000142,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 81 | MIDL_DEFINE_GUID(IID,IID_IGetInterface,0xCD0ff000,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 82 | MIDL_DEFINE_GUID(IID,LIBID_CDO,0xCD000000,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 83 | MIDL_DEFINE_GUID(CLSID,CLSID_Message,0xCD000001,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 84 | MIDL_DEFINE_GUID(CLSID,CLSID_Configuration,0xCD000002,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 85 | MIDL_DEFINE_GUID(CLSID,CLSID_DropDirectory,0xCD000004,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 86 | MIDL_DEFINE_GUID(CLSID,CLSID_SMTPConnector,0xCD000008,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 87 | MIDL_DEFINE_GUID(CLSID,CLSID_NNTPEarlyConnector,0xCD000011,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 88 | MIDL_DEFINE_GUID(CLSID,CLSID_NNTPPostConnector,0xCD000009,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 89 | MIDL_DEFINE_GUID(CLSID,CLSID_NNTPFinalConnector,0xCD000010,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 90 | MIDL_DEFINE_GUID(CLSID,CLSID_Item,0xCD000112,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 91 | MIDL_DEFINE_GUID(CLSID,CLSID_Appointment,0xCD000100,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 92 | MIDL_DEFINE_GUID(CLSID,CLSID_CalendarMessage,0xCD000102,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 93 | MIDL_DEFINE_GUID(CLSID,CLSID_Folder,0xCD00010E,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 94 | MIDL_DEFINE_GUID(CLSID,CLSID_Person,0xCD000107,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 95 | MIDL_DEFINE_GUID(CLSID,CLSID_Attendee,0xCD00010D,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 96 | MIDL_DEFINE_GUID(CLSID,CLSID_Addressee,0xCD000110,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 97 | |||
| 98 | #undef MIDL_DEFINE_GUID | ||
| 99 | |||
| 100 | #if defined __cplusplus && !defined CDO_NO_NAMESPACE | ||
| 101 | } | ||
| 102 | #endif | ||
| 103 | |||
| 104 | #ifdef __cplusplus | ||
| 105 | } | ||
| 106 | #endif | ||
lib/libc/include/any-windows-any/cdoexm_i.c deleted-59| ... | @@ -1,59 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | #ifdef __cplusplus | ||
| 7 | extern "C"{ | ||
| 8 | #endif | ||
| 9 | |||
| 10 | #include <rpc.h> | ||
| 11 | #include <rpcndr.h> | ||
| 12 | |||
| 13 | #ifdef _MIDL_USE_GUIDDEF_ | ||
| 14 | #ifndef INITGUID | ||
| 15 | #define INITGUID | ||
| 16 | #include <guiddef.h> | ||
| 17 | #undef INITGUID | ||
| 18 | #else | ||
| 19 | #include <guiddef.h> | ||
| 20 | #endif | ||
| 21 | #define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) | ||
| 22 | #else | ||
| 23 | #ifndef __IID_DEFINED__ | ||
| 24 | #define __IID_DEFINED__ | ||
| 25 | typedef struct _IID { | ||
| 26 | unsigned long x; | ||
| 27 | unsigned short s1; | ||
| 28 | unsigned short s2; | ||
| 29 | unsigned char c[8]; | ||
| 30 | } IID; | ||
| 31 | #endif | ||
| 32 | |||
| 33 | #ifndef CLSID_DEFINED | ||
| 34 | #define CLSID_DEFINED | ||
| 35 | typedef IID CLSID; | ||
| 36 | #endif | ||
| 37 | |||
| 38 | #define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}} | ||
| 39 | #endif | ||
| 40 | |||
| 41 | MIDL_DEFINE_GUID(IID,LIBID_CDOEXM,0x25150F00,0x5734,0x11d2,0xA5,0x93,0x00,0xC0,0x4F,0x99,0x0D,0x8A); | ||
| 42 | MIDL_DEFINE_GUID(IID,IID_IDistributionList,0x25150F3F,0x5734,0x11d2,0xA5,0x93,0x00,0xC0,0x4F,0x99,0x0D,0x8A); | ||
| 43 | MIDL_DEFINE_GUID(IID,IID_IMailRecipient,0x25150F40,0x5734,0x11d2,0xA5,0x93,0x00,0xC0,0x4F,0x99,0x0D,0x8A); | ||
| 44 | MIDL_DEFINE_GUID(IID,IID_IMailboxStore,0x25150F41,0x5734,0x11d2,0xA5,0x93,0x00,0xC0,0x4F,0x99,0x0D,0x8A); | ||
| 45 | MIDL_DEFINE_GUID(CLSID,CLSID_MailGroup,0x25150F1F,0x5734,0x11d2,0xA5,0x93,0x00,0xC0,0x4F,0x99,0x0D,0x8A); | ||
| 46 | MIDL_DEFINE_GUID(CLSID,CLSID_MailRecipient,0x25150F20,0x5734,0x11d2,0xA5,0x93,0x00,0xC0,0x4F,0x99,0x0D,0x8A); | ||
| 47 | MIDL_DEFINE_GUID(CLSID,CLSID_Mailbox,0x25150F21,0x5734,0x11d2,0xA5,0x93,0x00,0xC0,0x4F,0x99,0x0D,0x8A); | ||
| 48 | MIDL_DEFINE_GUID(CLSID,CLSID_FolderAdmin,0x25150F22,0x5734,0x11d2,0xA5,0x93,0x00,0xC0,0x4F,0x99,0x0D,0x8A); | ||
| 49 | MIDL_DEFINE_GUID(CLSID,CLSID_ExchangeServer,0x25150F27,0x5734,0x11d2,0xA5,0x93,0x00,0xC0,0x4F,0x99,0x0D,0x8A); | ||
| 50 | MIDL_DEFINE_GUID(CLSID,CLSID_FolderTree,0x25150F23,0x5734,0x11d2,0xA5,0x93,0x00,0xC0,0x4F,0x99,0x0D,0x8A); | ||
| 51 | MIDL_DEFINE_GUID(CLSID,CLSID_PublicStoreDB,0x25150F24,0x5734,0x11d2,0xA5,0x93,0x00,0xC0,0x4F,0x99,0x0D,0x8A); | ||
| 52 | MIDL_DEFINE_GUID(CLSID,CLSID_MailboxStoreDB,0x25150F25,0x5734,0x11d2,0xA5,0x93,0x00,0xC0,0x4F,0x99,0x0D,0x8A); | ||
| 53 | MIDL_DEFINE_GUID(CLSID,CLSID_StorageGroup,0x25150F26,0x5734,0x11d2,0xA5,0x93,0x00,0xC0,0x4F,0x99,0x0D,0x8A); | ||
| 54 | |||
| 55 | #undef MIDL_DEFINE_GUID | ||
| 56 | |||
| 57 | #ifdef __cplusplus | ||
| 58 | } | ||
| 59 | #endif | ||
lib/libc/include/any-windows-any/cdosys_i.c deleted-83| ... | @@ -1,83 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | #ifdef __cplusplus | ||
| 7 | extern "C"{ | ||
| 8 | #endif | ||
| 9 | |||
| 10 | #include <rpc.h> | ||
| 11 | #include <rpcndr.h> | ||
| 12 | |||
| 13 | #ifdef _MIDL_USE_GUIDDEF_ | ||
| 14 | #ifndef INITGUID | ||
| 15 | #define INITGUID | ||
| 16 | #include <guiddef.h> | ||
| 17 | #undef INITGUID | ||
| 18 | #else | ||
| 19 | #include <guiddef.h> | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) | ||
| 23 | #else | ||
| 24 | |||
| 25 | #ifndef __IID_DEFINED__ | ||
| 26 | #define __IID_DEFINED__ | ||
| 27 | typedef struct _IID { | ||
| 28 | unsigned long x; | ||
| 29 | unsigned short s1; | ||
| 30 | unsigned short s2; | ||
| 31 | unsigned char c[8]; | ||
| 32 | } IID; | ||
| 33 | #endif | ||
| 34 | |||
| 35 | #ifndef CLSID_DEFINED | ||
| 36 | #define CLSID_DEFINED | ||
| 37 | typedef IID CLSID; | ||
| 38 | #endif | ||
| 39 | |||
| 40 | #define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}} | ||
| 41 | #endif | ||
| 42 | |||
| 43 | #if defined __cplusplus && !defined CDO_NO_NAMESPACE | ||
| 44 | namespace CDO { | ||
| 45 | #else | ||
| 46 | #undef IDataSource | ||
| 47 | #endif | ||
| 48 | |||
| 49 | MIDL_DEFINE_GUID(IID,IID_IDataSource,0xCD000029,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 50 | MIDL_DEFINE_GUID(IID,IID_IMessage,0xCD000020,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 51 | MIDL_DEFINE_GUID(IID,IID_IBodyPart,0xCD000021,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 52 | MIDL_DEFINE_GUID(IID,IID_IConfiguration,0xCD000022,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 53 | MIDL_DEFINE_GUID(IID,IID_IMessages,0xCD000025,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 54 | MIDL_DEFINE_GUID(IID,IID_IDropDirectory,0xCD000024,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 55 | MIDL_DEFINE_GUID(IID,IID_IBodyParts,0xCD000023,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 56 | MIDL_DEFINE_GUID(IID,IID_ISMTPScriptConnector,0xCD000030,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 57 | MIDL_DEFINE_GUID(IID,IID_INNTPEarlyScriptConnector,0xCD000034,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 58 | MIDL_DEFINE_GUID(IID,IID_INNTPPostScriptConnector,0xCD000031,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 59 | MIDL_DEFINE_GUID(IID,IID_INNTPFinalScriptConnector,0xCD000032,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 60 | MIDL_DEFINE_GUID(IID,IID_ISMTPOnArrival,0xCD000026,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 61 | MIDL_DEFINE_GUID(IID,IID_INNTPOnPostEarly,0xCD000033,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 62 | MIDL_DEFINE_GUID(IID,IID_INNTPOnPost,0xCD000027,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 63 | MIDL_DEFINE_GUID(IID,IID_INNTPOnPostFinal,0xCD000028,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 64 | MIDL_DEFINE_GUID(IID,IID_IProxyObject,0xCD000083,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 65 | MIDL_DEFINE_GUID(IID,IID_IGetInterface,0xCD0ff000,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 66 | MIDL_DEFINE_GUID(IID,LIBID_CDO,0xCD000000,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 67 | MIDL_DEFINE_GUID(CLSID,CLSID_Message,0xCD000001,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 68 | MIDL_DEFINE_GUID(CLSID,CLSID_Configuration,0xCD000002,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 69 | MIDL_DEFINE_GUID(CLSID,CLSID_DropDirectory,0xCD000004,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 70 | MIDL_DEFINE_GUID(CLSID,CLSID_SMTPConnector,0xCD000008,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 71 | MIDL_DEFINE_GUID(CLSID,CLSID_NNTPEarlyConnector,0xCD000011,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 72 | MIDL_DEFINE_GUID(CLSID,CLSID_NNTPPostConnector,0xCD000009,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 73 | MIDL_DEFINE_GUID(CLSID,CLSID_NNTPFinalConnector,0xCD000010,0x8B95,0x11D1,0x82,0xDB,0x00,0xC0,0x4F,0xB1,0x62,0x5D); | ||
| 74 | |||
| 75 | #undef MIDL_DEFINE_GUID | ||
| 76 | |||
| 77 | #if defined __cplusplus && !defined CDO_NO_NAMESPACE | ||
| 78 | } | ||
| 79 | #endif | ||
| 80 | |||
| 81 | #ifdef __cplusplus | ||
| 82 | } | ||
| 83 | #endif | ||
lib/libc/include/any-windows-any/certsrv.h+1-1| ... | @@ -167,7 +167,7 @@ | ... | @@ -167,7 +167,7 @@ |
| 167 | #define __ENUM_CATYPES__ | 167 | #define __ENUM_CATYPES__ |
| 168 | 168 | ||
| 169 | typedef enum { | 169 | typedef enum { |
| 170 | ENUM_ENTERPRISE_ROOTCA = 0,ENUM_ENTERPRISE_SUBCA = 1,ENUM_STANDALONE_ROOTCA = 3,ENUM_STANDALONE_SUBCA = 4,ENUM_UNKNOWN_CA = 5, | 170 | ENUM_ENTERPRISE_ROOTCA = 0,ENUM_ENTERPRISE_SUBCA = 1,ENUM_STANDALONE_ROOTCA = 3,ENUM_STANDALONE_SUBCA = 4,ENUM_UNKNOWN_CA = 5 |
| 171 | } ENUM_CATYPES; | 171 | } ENUM_CATYPES; |
| 172 | 172 | ||
| 173 | typedef struct _CAINFO { | 173 | typedef struct _CAINFO { |
lib/libc/include/any-windows-any/comadmin.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/comadmin.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/comadmin.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/combaseapi.h+1-1| ... | @@ -147,7 +147,7 @@ typedef interface IRpcStubBuffer IRpcStubBuffer; | ... | @@ -147,7 +147,7 @@ typedef interface IRpcStubBuffer IRpcStubBuffer; |
| 147 | typedef interface IRpcChannelBuffer IRpcChannelBuffer; | 147 | typedef interface IRpcChannelBuffer IRpcChannelBuffer; |
| 148 | 148 | ||
| 149 | typedef enum tagCOINITBASE { | 149 | typedef enum tagCOINITBASE { |
| 150 | COINITBASE_MULTITHREADED = 0x0, | 150 | COINITBASE_MULTITHREADED = 0x0 |
| 151 | } COINITBASE; | 151 | } COINITBASE; |
| 152 | 152 | ||
| 153 | #include <wtypesbase.h> | 153 | #include <wtypesbase.h> |
lib/libc/include/any-windows-any/comcat.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/comcat.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/comcat.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/commctrl.h+2-2| ... | @@ -3827,7 +3827,7 @@ extern "C" { | ... | @@ -3827,7 +3827,7 @@ extern "C" { |
| 3827 | #define TreeView_ShowInfoTip(hwnd, hitem) (DWORD)SNDMSG ((hwnd), TVM_SHOWINFOTIP, 0,(LPARAM) (hitem)) | 3827 | #define TreeView_ShowInfoTip(hwnd, hitem) (DWORD)SNDMSG ((hwnd), TVM_SHOWINFOTIP, 0,(LPARAM) (hitem)) |
| 3828 | 3828 | ||
| 3829 | typedef enum _TVITEMPART { | 3829 | typedef enum _TVITEMPART { |
| 3830 | TVGIPR_BUTTON = 0x0001, | 3830 | TVGIPR_BUTTON = 0x0001 |
| 3831 | } TVITEMPART; | 3831 | } TVITEMPART; |
| 3832 | 3832 | ||
| 3833 | typedef struct tagTVGETITEMPARTRECTINFO { | 3833 | typedef struct tagTVGETITEMPARTRECTINFO { |
| ... | @@ -5534,7 +5534,7 @@ WINCOMMCTRLAPI WINBOOL WINAPI Str_SetPtrW (LPWSTR *ppsz, LPCWSTR psz); | ... | @@ -5534,7 +5534,7 @@ WINCOMMCTRLAPI WINBOOL WINAPI Str_SetPtrW (LPWSTR *ppsz, LPCWSTR psz); |
| 5534 | #if NTDDI_VERSION >= 0x06000000 | 5534 | #if NTDDI_VERSION >= 0x06000000 |
| 5535 | enum _LI_METRIC { | 5535 | enum _LI_METRIC { |
| 5536 | LIM_SMALL, | 5536 | LIM_SMALL, |
| 5537 | LIM_LARGE, | 5537 | LIM_LARGE |
| 5538 | }; | 5538 | }; |
| 5539 | 5539 | ||
| 5540 | WINCOMMCTRLAPI HRESULT WINAPI LoadIconMetric (HINSTANCE hinst, PCWSTR pszName, int lims, HICON *phico); | 5540 | WINCOMMCTRLAPI HRESULT WINAPI LoadIconMetric (HINSTANCE hinst, PCWSTR pszName, int lims, HICON *phico); |
lib/libc/include/any-windows-any/commoncontrols.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/commoncontrols.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/commoncontrols.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/control.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/control.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/control.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/cor.h+4-4| ... | @@ -165,14 +165,14 @@ extern "C" { | ... | @@ -165,14 +165,14 @@ extern "C" { |
| 165 | nltUnicode = 3, | 165 | nltUnicode = 3, |
| 166 | nltAuto = 4, | 166 | nltAuto = 4, |
| 167 | nltOle = 5, | 167 | nltOle = 5, |
| 168 | nltMaxValue = 7, | 168 | nltMaxValue = 7 |
| 169 | } CorNativeLinkType; | 169 | } CorNativeLinkType; |
| 170 | 170 | ||
| 171 | typedef enum { | 171 | typedef enum { |
| 172 | nlfNone = 0x0, | 172 | nlfNone = 0x0, |
| 173 | nlfLastError = 0x1, | 173 | nlfLastError = 0x1, |
| 174 | nlfNoMangle = 0x2, | 174 | nlfNoMangle = 0x2, |
| 175 | nlfMaxValue = 0x3, | 175 | nlfMaxValue = 0x3 |
| 176 | } CorNativeLinkFlags; | 176 | } CorNativeLinkFlags; |
| 177 | 177 | ||
| 178 | typedef void const *UVCP_CONSTANT; | 178 | typedef void const *UVCP_CONSTANT; |
| ... | @@ -644,7 +644,7 @@ extern "C" { | ... | @@ -644,7 +644,7 @@ extern "C" { |
| 644 | ValidatorModuleTypeObj = 0x00000002, | 644 | ValidatorModuleTypeObj = 0x00000002, |
| 645 | ValidatorModuleTypeEnc = 0x00000003, | 645 | ValidatorModuleTypeEnc = 0x00000003, |
| 646 | ValidatorModuleTypeIncr = 0x00000004, | 646 | ValidatorModuleTypeIncr = 0x00000004, |
| 647 | ValidatorModuleTypeMax = 0x00000004, | 647 | ValidatorModuleTypeMax = 0x00000004 |
| 648 | } CorValidatorModuleType; | 648 | } CorValidatorModuleType; |
| 649 | 649 | ||
| 650 | #undef INTERFACE | 650 | #undef INTERFACE |
| ... | @@ -804,7 +804,7 @@ extern "C" { | ... | @@ -804,7 +804,7 @@ extern "C" { |
| 804 | enum { | 804 | enum { |
| 805 | SIGN_MASK_ONEBYTE = 0xffffffc0, | 805 | SIGN_MASK_ONEBYTE = 0xffffffc0, |
| 806 | SIGN_MASK_TWOBYTE = 0xffffe000, | 806 | SIGN_MASK_TWOBYTE = 0xffffe000, |
| 807 | SIGN_MASK_FOURBYTE = 0xf0000000, | 807 | SIGN_MASK_FOURBYTE = 0xf0000000 |
| 808 | }; | 808 | }; |
| 809 | 809 | ||
| 810 | extern const mdToken __declspec (selectany) g_tkCorEncodeToken[4] = { mdtTypeDef, mdtTypeRef, mdtTypeSpec, mdtBaseType }; | 810 | extern const mdToken __declspec (selectany) g_tkCorEncodeToken[4] = { mdtTypeDef, mdtTypeRef, mdtTypeSpec, mdtBaseType }; |
lib/libc/include/any-windows-any/corecrt_startup.h+1-1| ... | @@ -25,7 +25,7 @@ _CRTIMP void __cdecl _set_app_type(_crt_app_type _Type); | ... | @@ -25,7 +25,7 @@ _CRTIMP void __cdecl _set_app_type(_crt_app_type _Type); |
| 25 | typedef enum _crt_argv_mode { | 25 | typedef enum _crt_argv_mode { |
| 26 | _crt_argv_no_arguments, | 26 | _crt_argv_no_arguments, |
| 27 | _crt_argv_unexpanded_arguments, | 27 | _crt_argv_unexpanded_arguments, |
| 28 | _crt_argv_expanded_arguments, | 28 | _crt_argv_expanded_arguments |
| 29 | } _crt_argv_mode; | 29 | } _crt_argv_mode; |
| 30 | 30 | ||
| 31 | _CRTIMP errno_t __cdecl _configure_narrow_argv(_crt_argv_mode mode); | 31 | _CRTIMP errno_t __cdecl _configure_narrow_argv(_crt_argv_mode mode); |
lib/libc/include/any-windows-any/corecrt_stdio_config.h+12-2| ... | @@ -9,6 +9,13 @@ | ... | @@ -9,6 +9,13 @@ |
| 9 | 9 | ||
| 10 | #include <corecrt.h> | 10 | #include <corecrt.h> |
| 11 | 11 | ||
| 12 | #ifdef __cplusplus | ||
| 13 | extern "C" { | ||
| 14 | #endif | ||
| 15 | |||
| 16 | unsigned __int64* __local_stdio_printf_options(void); | ||
| 17 | unsigned __int64* __local_stdio_scanf_options(void); | ||
| 18 | |||
| 12 | #define _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION 0x0001ULL | 19 | #define _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION 0x0001ULL |
| 13 | #define _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR 0x0002ULL | 20 | #define _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR 0x0002ULL |
| 14 | #define _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS 0x0004ULL | 21 | #define _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS 0x0004ULL |
| ... | @@ -21,11 +28,14 @@ | ... | @@ -21,11 +28,14 @@ |
| 21 | #define _CRT_INTERNAL_SCANF_LEGACY_MSVCRT_COMPATIBILITY 0x0004ULL | 28 | #define _CRT_INTERNAL_SCANF_LEGACY_MSVCRT_COMPATIBILITY 0x0004ULL |
| 22 | 29 | ||
| 23 | #ifndef _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | 30 | #ifndef _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS |
| 24 | #define _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS (_CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS | _CRT_INTERNAL_PRINTF_STANDARD_ROUNDING) | 31 | #define _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS (*__local_stdio_printf_options()) |
| 25 | #endif | 32 | #endif |
| 26 | 33 | ||
| 27 | #ifndef _CRT_INTERNAL_LOCAL_SCANF_OPTIONS | 34 | #ifndef _CRT_INTERNAL_LOCAL_SCANF_OPTIONS |
| 28 | #define _CRT_INTERNAL_LOCAL_SCANF_OPTIONS _CRT_INTERNAL_SCANF_LEGACY_WIDE_SPECIFIERS | 35 | #define _CRT_INTERNAL_LOCAL_SCANF_OPTIONS (*__local_stdio_scanf_options()) |
| 29 | #endif | 36 | #endif |
| 30 | 37 | ||
| 38 | #ifdef __cplusplus | ||
| 39 | } | ||
| 40 | #endif | ||
| 31 | #endif /* _STDIO_CONFIG_DEFINED */ | 41 | #endif /* _STDIO_CONFIG_DEFINED */ |
lib/libc/include/any-windows-any/corecrt_wctype.h created+164| ... | @@ -0,0 +1,164 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | #ifndef _INC_CORECRT_WCTYPE | ||
| 7 | #define _INC_CORECRT_WCTYPE | ||
| 8 | |||
| 9 | #include <corecrt.h> | ||
| 10 | |||
| 11 | #ifdef __cplusplus | ||
| 12 | extern "C" { | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #ifndef _WCTYPE_T_DEFINED | ||
| 16 | #define _WCTYPE_T_DEFINED | ||
| 17 | typedef unsigned short wint_t; | ||
| 18 | typedef unsigned short wctype_t; | ||
| 19 | #endif /* _WCTYPE_T_DEFINED */ | ||
| 20 | |||
| 21 | #ifndef WEOF | ||
| 22 | #define WEOF (wint_t)(0xFFFF) | ||
| 23 | #endif | ||
| 24 | |||
| 25 | #ifndef _CRT_CTYPEDATA_DEFINED | ||
| 26 | #define _CRT_CTYPEDATA_DEFINED | ||
| 27 | #ifndef _CTYPE_DISABLE_MACROS | ||
| 28 | |||
| 29 | #ifndef __PCTYPE_FUNC | ||
| 30 | #define __PCTYPE_FUNC __pctype_func() | ||
| 31 | _CRTIMP const unsigned short* __pctype_func(void); | ||
| 32 | #endif | ||
| 33 | |||
| 34 | #ifndef _pctype | ||
| 35 | #define _pctype (__pctype_func()) | ||
| 36 | #endif | ||
| 37 | |||
| 38 | #endif | ||
| 39 | #endif | ||
| 40 | |||
| 41 | #ifndef _CRT_WCTYPEDATA_DEFINED | ||
| 42 | #define _CRT_WCTYPEDATA_DEFINED | ||
| 43 | #ifndef _CTYPE_DISABLE_MACROS | ||
| 44 | #if !defined(_wctype) && defined(_CRT_USE_WINAPI_FAMILY_DESKTOP_APP) | ||
| 45 | extern const unsigned short ** __MINGW_IMP_SYMBOL(_wctype); | ||
| 46 | #define _wctype (* __MINGW_IMP_SYMBOL(_wctype)) | ||
| 47 | #endif | ||
| 48 | |||
| 49 | _CRTIMP const wctype_t * __cdecl __pwctype_func(void); | ||
| 50 | #ifndef _pwctype | ||
| 51 | #define _pwctype (__pwctype_func()) | ||
| 52 | #endif | ||
| 53 | #endif | ||
| 54 | #endif | ||
| 55 | |||
| 56 | #define _UPPER 0x1 | ||
| 57 | #define _LOWER 0x2 | ||
| 58 | #define _DIGIT 0x4 | ||
| 59 | #define _SPACE 0x8 | ||
| 60 | |||
| 61 | #define _PUNCT 0x10 | ||
| 62 | #define _CONTROL 0x20 | ||
| 63 | #define _BLANK 0x40 | ||
| 64 | #define _HEX 0x80 | ||
| 65 | |||
| 66 | #define _LEADBYTE 0x8000 | ||
| 67 | #define _ALPHA (0x0100|_UPPER|_LOWER) | ||
| 68 | |||
| 69 | #ifndef _WCTYPE_DEFINED | ||
| 70 | #define _WCTYPE_DEFINED | ||
| 71 | |||
| 72 | _CRTIMP int __cdecl iswalpha(wint_t _C); | ||
| 73 | _CRTIMP int __cdecl iswupper(wint_t _C); | ||
| 74 | _CRTIMP int __cdecl iswlower(wint_t _C); | ||
| 75 | _CRTIMP int __cdecl iswdigit(wint_t _C); | ||
| 76 | _CRTIMP int __cdecl iswxdigit(wint_t _C); | ||
| 77 | _CRTIMP int __cdecl iswspace(wint_t _C); | ||
| 78 | _CRTIMP int __cdecl iswpunct(wint_t _C); | ||
| 79 | _CRTIMP int __cdecl iswalnum(wint_t _C); | ||
| 80 | _CRTIMP int __cdecl iswprint(wint_t _C); | ||
| 81 | _CRTIMP int __cdecl iswgraph(wint_t _C); | ||
| 82 | _CRTIMP int __cdecl iswcntrl(wint_t _C); | ||
| 83 | _CRTIMP int __cdecl iswascii(wint_t _C); | ||
| 84 | #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP | ||
| 85 | _CRTIMP int __cdecl isleadbyte(int _C); | ||
| 86 | #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */ | ||
| 87 | _CRTIMP wint_t __cdecl towupper(wint_t _C); | ||
| 88 | _CRTIMP wint_t __cdecl towlower(wint_t _C); | ||
| 89 | _CRTIMP int __cdecl iswctype(wint_t _C,wctype_t _Type); | ||
| 90 | _CRTIMP int __cdecl __iswcsymf(wint_t _C); | ||
| 91 | _CRTIMP int __cdecl __iswcsym(wint_t _C); | ||
| 92 | _CRTIMP int __cdecl iswblank(wint_t _C); | ||
| 93 | #if __MSVCRT_VERSION__ >= 0x800 || (__MSVCRT_VERSION__ == 0x600 && _WIN32_WINNT >= 0x0600) | ||
| 94 | /* These are available since msvcr80.dll (__MSVCRT_VERSION__ >= 0x800), and in | ||
| 95 | * msvcrt.dll (__MSVCRT_VERSION__ == 0x600) since Vista (_WIN32_WINNT >= 0x0600). */ | ||
| 96 | _CRTIMP int __cdecl _iswalpha_l(wint_t _C,_locale_t _Locale); | ||
| 97 | _CRTIMP int __cdecl _iswupper_l(wint_t _C,_locale_t _Locale); | ||
| 98 | _CRTIMP int __cdecl _iswlower_l(wint_t _C,_locale_t _Locale); | ||
| 99 | _CRTIMP int __cdecl _iswdigit_l(wint_t _C,_locale_t _Locale); | ||
| 100 | _CRTIMP int __cdecl _iswxdigit_l(wint_t _C,_locale_t _Locale); | ||
| 101 | _CRTIMP int __cdecl _iswspace_l(wint_t _C,_locale_t _Locale); | ||
| 102 | _CRTIMP int __cdecl _iswpunct_l(wint_t _C,_locale_t _Locale); | ||
| 103 | _CRTIMP int __cdecl _iswalnum_l(wint_t _C,_locale_t _Locale); | ||
| 104 | _CRTIMP int __cdecl _iswprint_l(wint_t _C,_locale_t _Locale); | ||
| 105 | _CRTIMP int __cdecl _iswgraph_l(wint_t _C,_locale_t _Locale); | ||
| 106 | _CRTIMP int __cdecl _iswcntrl_l(wint_t _C,_locale_t _Locale); | ||
| 107 | _CRTIMP wint_t __cdecl _towupper_l(wint_t _C,_locale_t _Locale); | ||
| 108 | _CRTIMP wint_t __cdecl _towlower_l(wint_t _C,_locale_t _Locale); | ||
| 109 | # ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP | ||
| 110 | _CRTIMP int __cdecl _isleadbyte_l(int _C,_locale_t _Locale); | ||
| 111 | # endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */ | ||
| 112 | _CRTIMP int __cdecl _iswctype_l(wint_t _C,wctype_t _Type,_locale_t _Locale); | ||
| 113 | _CRTIMP int __cdecl _iswblank_l(wint_t _C,_locale_t _Locale); | ||
| 114 | #endif | ||
| 115 | #if __MSVCRT_VERSION__ >= 0x800 | ||
| 116 | /* These are only available since msvcr80.dll, never in msvcrt.dll. */ | ||
| 117 | _CRTIMP int __cdecl _iswcsymf_l(wint_t _C,_locale_t _Locale); | ||
| 118 | _CRTIMP int __cdecl _iswcsym_l(wint_t _C,_locale_t _Locale); | ||
| 119 | #endif | ||
| 120 | #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP | ||
| 121 | _CRTIMP int __cdecl is_wctype(wint_t _C,wctype_t _Type); | ||
| 122 | #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */ | ||
| 123 | #endif | ||
| 124 | |||
| 125 | #ifndef _WCTYPE_INLINE_DEFINED | ||
| 126 | #define _WCTYPE_INLINE_DEFINED | ||
| 127 | |||
| 128 | #undef _CRT_WCTYPE_NOINLINE | ||
| 129 | #ifndef __cplusplus | ||
| 130 | #define iswalpha(_c) (iswctype(_c,_ALPHA)) | ||
| 131 | #define iswupper(_c) (iswctype(_c,_UPPER)) | ||
| 132 | #define iswlower(_c) (iswctype(_c,_LOWER)) | ||
| 133 | #define iswdigit(_c) (iswctype(_c,_DIGIT)) | ||
| 134 | #define iswxdigit(_c) (iswctype(_c,_HEX)) | ||
| 135 | #define iswspace(_c) (iswctype(_c,_SPACE)) | ||
| 136 | #define iswpunct(_c) (iswctype(_c,_PUNCT)) | ||
| 137 | #define iswalnum(_c) (iswctype(_c,_ALPHA|_DIGIT)) | ||
| 138 | #define iswprint(_c) (iswctype(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT)) | ||
| 139 | #define iswgraph(_c) (iswctype(_c,_PUNCT|_ALPHA|_DIGIT)) | ||
| 140 | #define iswcntrl(_c) (iswctype(_c,_CONTROL)) | ||
| 141 | #define iswascii(_c) ((unsigned)(_c) < 0x80) | ||
| 142 | #define iswblank(_c) (((_c) == '\t') || iswctype(_c,_BLANK)) | ||
| 143 | #if __MSVCRT_VERSION__ >= 0x800 || (__MSVCRT_VERSION__ == 0x600 && _WIN32_WINNT >= 0x0600) | ||
| 144 | # define _iswalpha_l(_c,_p) (_iswctype_l(_c,_ALPHA,_p)) | ||
| 145 | # define _iswupper_l(_c,_p) (_iswctype_l(_c,_UPPER,_p)) | ||
| 146 | # define _iswlower_l(_c,_p) (_iswctype_l(_c,_LOWER,_p)) | ||
| 147 | # define _iswdigit_l(_c,_p) (_iswctype_l(_c,_DIGIT,_p)) | ||
| 148 | # define _iswxdigit_l(_c,_p) (_iswctype_l(_c,_HEX,_p)) | ||
| 149 | # define _iswspace_l(_c,_p) (_iswctype_l(_c,_SPACE,_p)) | ||
| 150 | # define _iswpunct_l(_c,_p) (_iswctype_l(_c,_PUNCT,_p)) | ||
| 151 | # define _iswalnum_l(_c,_p) (_iswctype_l(_c,_ALPHA|_DIGIT,_p)) | ||
| 152 | # define _iswprint_l(_c,_p) (_iswctype_l(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT,_p)) | ||
| 153 | # define _iswgraph_l(_c,_p) (_iswctype_l(_c,_PUNCT|_ALPHA|_DIGIT,_p)) | ||
| 154 | # define _iswcntrl_l(_c,_p) (_iswctype_l(_c,_CONTROL,_p)) | ||
| 155 | # define _iswblank_l(_c,_p) (((_c) == '\t') || _iswctype_l(_c,_BLANK,_p)) | ||
| 156 | #endif /* __MSVCRT_VERSION__ >= 0x800 */ | ||
| 157 | #endif | ||
| 158 | #endif | ||
| 159 | |||
| 160 | #ifdef __cplusplus | ||
| 161 | } | ||
| 162 | #endif | ||
| 163 | |||
| 164 | #endif | ||
lib/libc/include/any-windows-any/corhdr.h+13-13| ... | @@ -42,7 +42,7 @@ typedef enum CorTypeAttr { | ... | @@ -42,7 +42,7 @@ typedef enum CorTypeAttr { |
| 42 | tdForwarder = 0x200000, | 42 | tdForwarder = 0x200000, |
| 43 | tdReservedMask = 0x40800, | 43 | tdReservedMask = 0x40800, |
| 44 | tdRTSpecialName = 0x800, | 44 | tdRTSpecialName = 0x800, |
| 45 | tdHasSecurity = 0x40000, | 45 | tdHasSecurity = 0x40000 |
| 46 | } CorTypeAttr; | 46 | } CorTypeAttr; |
| 47 | 47 | ||
| 48 | typedef enum CorMethodAttr { | 48 | typedef enum CorMethodAttr { |
| ... | @@ -164,7 +164,7 @@ typedef enum CorPropertyAttr { | ... | @@ -164,7 +164,7 @@ typedef enum CorPropertyAttr { |
| 164 | typedef enum CorEventAttr { | 164 | typedef enum CorEventAttr { |
| 165 | evSpecialName = 0x0200, | 165 | evSpecialName = 0x0200, |
| 166 | evReservedMask = 0x0400, | 166 | evReservedMask = 0x0400, |
| 167 | evRTSpecialName = 0x0400, | 167 | evRTSpecialName = 0x0400 |
| 168 | } CorEventAttr; | 168 | } CorEventAttr; |
| 169 | 169 | ||
| 170 | typedef enum CorMethodSemanticsAttr { | 170 | typedef enum CorMethodSemanticsAttr { |
| ... | @@ -266,12 +266,12 @@ typedef enum CorAssemblyFlags { | ... | @@ -266,12 +266,12 @@ typedef enum CorAssemblyFlags { |
| 266 | typedef enum CorManifestResourceFlags { | 266 | typedef enum CorManifestResourceFlags { |
| 267 | mrVisibilityMask = 0x0007, | 267 | mrVisibilityMask = 0x0007, |
| 268 | mrPublic = 0x0001, | 268 | mrPublic = 0x0001, |
| 269 | mrPrivate = 0x0002, | 269 | mrPrivate = 0x0002 |
| 270 | } CorManifestResourceFlags; | 270 | } CorManifestResourceFlags; |
| 271 | 271 | ||
| 272 | typedef enum CorFileFlags { | 272 | typedef enum CorFileFlags { |
| 273 | ffContainsMetaData = 0x0000, | 273 | ffContainsMetaData = 0x0000, |
| 274 | ffContainsNoMetaData = 0x0001, | 274 | ffContainsNoMetaData = 0x0001 |
| 275 | } CorFileFlags; | 275 | } CorFileFlags; |
| 276 | 276 | ||
| 277 | typedef enum CorPEKind { | 277 | typedef enum CorPEKind { |
| ... | @@ -331,7 +331,7 @@ typedef enum CorElementType { | ... | @@ -331,7 +331,7 @@ typedef enum CorElementType { |
| 331 | ELEMENT_TYPE_MAX = 0x22, | 331 | ELEMENT_TYPE_MAX = 0x22, |
| 332 | ELEMENT_TYPE_MODIFIER = 0x40, | 332 | ELEMENT_TYPE_MODIFIER = 0x40, |
| 333 | ELEMENT_TYPE_SENTINEL = 0x01 | ELEMENT_TYPE_MODIFIER, | 333 | ELEMENT_TYPE_SENTINEL = 0x01 | ELEMENT_TYPE_MODIFIER, |
| 334 | ELEMENT_TYPE_PINNED = 0x05 | ELEMENT_TYPE_MODIFIER, | 334 | ELEMENT_TYPE_PINNED = 0x05 | ELEMENT_TYPE_MODIFIER |
| 335 | } CorElementType; | 335 | } CorElementType; |
| 336 | 336 | ||
| 337 | typedef enum CorSerializationType { | 337 | typedef enum CorSerializationType { |
| ... | @@ -370,7 +370,7 @@ typedef enum CorCallingConvention { | ... | @@ -370,7 +370,7 @@ typedef enum CorCallingConvention { |
| 370 | IMAGE_CEE_CS_CALLCONV_MASK = 0x0f, | 370 | IMAGE_CEE_CS_CALLCONV_MASK = 0x0f, |
| 371 | IMAGE_CEE_CS_CALLCONV_HASTHIS = 0x20, | 371 | IMAGE_CEE_CS_CALLCONV_HASTHIS = 0x20, |
| 372 | IMAGE_CEE_CS_CALLCONV_EXPLICITTHIS = 0x40, | 372 | IMAGE_CEE_CS_CALLCONV_EXPLICITTHIS = 0x40, |
| 373 | IMAGE_CEE_CS_CALLCONV_GENERIC = 0x10, | 373 | IMAGE_CEE_CS_CALLCONV_GENERIC = 0x10 |
| 374 | } CorCallingConvention; | 374 | } CorCallingConvention; |
| 375 | 375 | ||
| 376 | typedef enum CorUnmanagedCallingConvention { | 376 | typedef enum CorUnmanagedCallingConvention { |
| ... | @@ -381,7 +381,7 @@ typedef enum CorUnmanagedCallingConvention { | ... | @@ -381,7 +381,7 @@ typedef enum CorUnmanagedCallingConvention { |
| 381 | IMAGE_CEE_CS_CALLCONV_C = IMAGE_CEE_UNMANAGED_CALLCONV_C, | 381 | IMAGE_CEE_CS_CALLCONV_C = IMAGE_CEE_UNMANAGED_CALLCONV_C, |
| 382 | IMAGE_CEE_CS_CALLCONV_STDCALL = IMAGE_CEE_UNMANAGED_CALLCONV_STDCALL, | 382 | IMAGE_CEE_CS_CALLCONV_STDCALL = IMAGE_CEE_UNMANAGED_CALLCONV_STDCALL, |
| 383 | IMAGE_CEE_CS_CALLCONV_THISCALL = IMAGE_CEE_UNMANAGED_CALLCONV_THISCALL, | 383 | IMAGE_CEE_CS_CALLCONV_THISCALL = IMAGE_CEE_UNMANAGED_CALLCONV_THISCALL, |
| 384 | IMAGE_CEE_CS_CALLCONV_FASTCALL = IMAGE_CEE_UNMANAGED_CALLCONV_FASTCALL, | 384 | IMAGE_CEE_CS_CALLCONV_FASTCALL = IMAGE_CEE_UNMANAGED_CALLCONV_FASTCALL |
| 385 | } CorUnmanagedCallingConvention; | 385 | } CorUnmanagedCallingConvention; |
| 386 | 386 | ||
| 387 | typedef enum CorArgType { | 387 | typedef enum CorArgType { |
| ... | @@ -395,7 +395,7 @@ typedef enum CorArgType { | ... | @@ -395,7 +395,7 @@ typedef enum CorArgType { |
| 395 | IMAGE_CEE_CS_OBJECT = 0x7, | 395 | IMAGE_CEE_CS_OBJECT = 0x7, |
| 396 | IMAGE_CEE_CS_STRUCT4 = 0x8, | 396 | IMAGE_CEE_CS_STRUCT4 = 0x8, |
| 397 | IMAGE_CEE_CS_STRUCT32 = 0x9, | 397 | IMAGE_CEE_CS_STRUCT32 = 0x9, |
| 398 | IMAGE_CEE_CS_BYVALUE = 0xa, | 398 | IMAGE_CEE_CS_BYVALUE = 0xa |
| 399 | } CorArgType; | 399 | } CorArgType; |
| 400 | 400 | ||
| 401 | typedef enum CorNativeType { | 401 | typedef enum CorNativeType { |
| ... | @@ -471,7 +471,7 @@ typedef enum CorILMethodFlags { | ... | @@ -471,7 +471,7 @@ typedef enum CorILMethodFlags { |
| 471 | CorILMethod_SmallFormat = 0x0, | 471 | CorILMethod_SmallFormat = 0x0, |
| 472 | CorILMethod_TinyFormat = 0x0002, | 472 | CorILMethod_TinyFormat = 0x0002, |
| 473 | CorILMethod_FatFormat = 0x0003, | 473 | CorILMethod_FatFormat = 0x0003, |
| 474 | CorILMethod_TinyFormat1 = 0x0006, | 474 | CorILMethod_TinyFormat1 = 0x0006 |
| 475 | } CorILMethodFlags; | 475 | } CorILMethodFlags; |
| 476 | 476 | ||
| 477 | typedef enum CorExceptionFlag { | 477 | typedef enum CorExceptionFlag { |
| ... | @@ -556,7 +556,7 @@ typedef enum CorSetENC { | ... | @@ -556,7 +556,7 @@ typedef enum CorSetENC { |
| 556 | MDUpdateExtension = 0x00000003, | 556 | MDUpdateExtension = 0x00000003, |
| 557 | MDUpdateIncremental = 0x00000004, | 557 | MDUpdateIncremental = 0x00000004, |
| 558 | MDUpdateDelta = 0x00000005, | 558 | MDUpdateDelta = 0x00000005, |
| 559 | MDUpdateMask = 0x00000007, | 559 | MDUpdateMask = 0x00000007 |
| 560 | } CorSetENC; | 560 | } CorSetENC; |
| 561 | 561 | ||
| 562 | typedef enum CorErrorIfEmitOutOfOrder { | 562 | typedef enum CorErrorIfEmitOutOfOrder { |
| ... | @@ -567,7 +567,7 @@ typedef enum CorErrorIfEmitOutOfOrder { | ... | @@ -567,7 +567,7 @@ typedef enum CorErrorIfEmitOutOfOrder { |
| 567 | MDFieldOutOfOrder = 0x00000002, | 567 | MDFieldOutOfOrder = 0x00000002, |
| 568 | MDParamOutOfOrder = 0x00000004, | 568 | MDParamOutOfOrder = 0x00000004, |
| 569 | MDPropertyOutOfOrder = 0x00000008, | 569 | MDPropertyOutOfOrder = 0x00000008, |
| 570 | MDEventOutOfOrder = 0x00000010, | 570 | MDEventOutOfOrder = 0x00000010 |
| 571 | } CorErrorIfEmitOutOfOrder; | 571 | } CorErrorIfEmitOutOfOrder; |
| 572 | 572 | ||
| 573 | typedef enum CorImportOptions { | 573 | typedef enum CorImportOptions { |
| ... | @@ -634,7 +634,7 @@ typedef enum CorTokenType { | ... | @@ -634,7 +634,7 @@ typedef enum CorTokenType { |
| 634 | mdtGenericParamConstraint = 0x2c000000, | 634 | mdtGenericParamConstraint = 0x2c000000, |
| 635 | mdtString = 0x70000000, | 635 | mdtString = 0x70000000, |
| 636 | mdtName = 0x71000000, | 636 | mdtName = 0x71000000, |
| 637 | mdtBaseType = 0x72000000, | 637 | mdtBaseType = 0x72000000 |
| 638 | } CorTokenType; | 638 | } CorTokenType; |
| 639 | 639 | ||
| 640 | typedef enum CorOpenFlags { | 640 | typedef enum CorOpenFlags { |
| ... | @@ -669,7 +669,7 @@ typedef enum CorAttributeTargets { | ... | @@ -669,7 +669,7 @@ typedef enum CorAttributeTargets { |
| 669 | catGenericParameter = 0x4000, | 669 | catGenericParameter = 0x4000, |
| 670 | catAll = catAssembly | catModule | catClass | catStruct | catEnum | catConstructor | 670 | catAll = catAssembly | catModule | catClass | catStruct | catEnum | catConstructor |
| 671 | | catMethod | catProperty | catField | catEvent | catInterface | catParameter | catDelegate | catGenericParameter, | 671 | | catMethod | catProperty | catField | catEvent | catInterface | catParameter | catDelegate | catGenericParameter, |
| 672 | catClassMembers = catClass | catStruct | catEnum | catConstructor | catMethod | catProperty | catField | catEvent | catDelegate | catInterface, | 672 | catClassMembers = catClass | catStruct | catEnum | catConstructor | catMethod | catProperty | catField | catEvent | catDelegate | catInterface |
| 673 | } CorAttributeTargets; | 673 | } CorAttributeTargets; |
| 674 | 674 | ||
| 675 | typedef enum CorFileMapping { | 675 | typedef enum CorFileMapping { |
lib/libc/include/any-windows-any/credentialprovider.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/credentialprovider.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/credentialprovider.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/crtdbg.h-2| ... | @@ -161,12 +161,10 @@ extern "C" { | ... | @@ -161,12 +161,10 @@ extern "C" { |
| 161 | #define _aligned_offset_malloc_dbg(s,a,o,f,l) _aligned_offset_malloc(s,a,o) | 161 | #define _aligned_offset_malloc_dbg(s,a,o,f,l) _aligned_offset_malloc(s,a,o) |
| 162 | #define _aligned_offset_realloc_dbg(p,s,a,o,f,l) _aligned_offset_realloc(p,s,a,o) | 162 | #define _aligned_offset_realloc_dbg(p,s,a,o,f,l) _aligned_offset_realloc(p,s,a,o) |
| 163 | 163 | ||
| 164 | #if __MSVCRT_VERSION__ >= 0x900 | ||
| 165 | #define _recalloc_dbg(p,c,s,t,f,l) _recalloc(p,c,s) | 164 | #define _recalloc_dbg(p,c,s,t,f,l) _recalloc(p,c,s) |
| 166 | #define _aligned_recalloc_dbg(p,c,s,a,f,l) _aligned_realloc(p,c,s,a) | 165 | #define _aligned_recalloc_dbg(p,c,s,a,f,l) _aligned_realloc(p,c,s,a) |
| 167 | #define _aligned_offset_recalloc_dbg(p,c,s,a,o,f,l) _aligned_offset_recalloc(p,c,s,a,o) | 166 | #define _aligned_offset_recalloc_dbg(p,c,s,a,o,f,l) _aligned_offset_recalloc(p,c,s,a,o) |
| 168 | #define _aligned_msize_dbg(p,a,o) _aligned_msize(p,a,o) | 167 | #define _aligned_msize_dbg(p,a,o) _aligned_msize(p,a,o) |
| 169 | #endif | ||
| 170 | 168 | ||
| 171 | #define _malloca_dbg(s,t,f,l) _malloca(s) | 169 | #define _malloca_dbg(s,t,f,l) _malloca(s) |
| 172 | #define _freea_dbg(p,t) _freea(p) | 170 | #define _freea_dbg(p,t) _freea(p) |
lib/libc/include/any-windows-any/ctfutb.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/ctfutb.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/ctfutb.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/ctxtcall.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/ctxtcall.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/ctxtcall.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/ctype.h+18-163| ... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
| 6 | #ifndef _INC_CTYPE | 6 | #ifndef _INC_CTYPE |
| 7 | #define _INC_CTYPE | 7 | #define _INC_CTYPE |
| 8 | 8 | ||
| 9 | #include <crtdefs.h> | 9 | #include <corecrt_wctype.h> |
| 10 | 10 | ||
| 11 | #ifdef __cplusplus | 11 | #ifdef __cplusplus |
| 12 | extern "C" { | 12 | extern "C" { |
| ... | @@ -14,37 +14,6 @@ extern "C" { | ... | @@ -14,37 +14,6 @@ extern "C" { |
| 14 | 14 | ||
| 15 | #ifndef WEOF | 15 | #ifndef WEOF |
| 16 | #define WEOF (wint_t)(0xFFFF) | 16 | #define WEOF (wint_t)(0xFFFF) |
| 17 | #endif | ||
| 18 | |||
| 19 | #ifndef _CRT_CTYPEDATA_DEFINED | ||
| 20 | #define _CRT_CTYPEDATA_DEFINED | ||
| 21 | #ifndef _CTYPE_DISABLE_MACROS | ||
| 22 | |||
| 23 | #ifndef __PCTYPE_FUNC | ||
| 24 | #define __PCTYPE_FUNC __pctype_func() | ||
| 25 | _CRTIMP const unsigned short* __pctype_func(void); | ||
| 26 | #endif | ||
| 27 | |||
| 28 | #ifndef _pctype | ||
| 29 | #define _pctype (__pctype_func()) | ||
| 30 | #endif | ||
| 31 | |||
| 32 | #endif | ||
| 33 | #endif | ||
| 34 | |||
| 35 | #ifndef _CRT_WCTYPEDATA_DEFINED | ||
| 36 | #define _CRT_WCTYPEDATA_DEFINED | ||
| 37 | #ifndef _CTYPE_DISABLE_MACROS | ||
| 38 | #if !defined(_wctype) && defined(_CRT_USE_WINAPI_FAMILY_DESKTOP_APP) | ||
| 39 | extern const unsigned short ** __MINGW_IMP_SYMBOL(_wctype); | ||
| 40 | #define _wctype (* __MINGW_IMP_SYMBOL(_wctype)) | ||
| 41 | #endif | ||
| 42 | |||
| 43 | _CRTIMP const wctype_t * __cdecl __pwctype_func(void); | ||
| 44 | #ifndef _pwctype | ||
| 45 | #define _pwctype (__pwctype_func()) | ||
| 46 | #endif | ||
| 47 | #endif | ||
| 48 | #endif | 17 | #endif |
| 49 | 18 | ||
| 50 | /* CRT stuff */ | 19 | /* CRT stuff */ |
| ... | @@ -61,123 +30,45 @@ extern "C" { | ... | @@ -61,123 +30,45 @@ extern "C" { |
| 61 | pthreadmbcinfo __cdecl __updatetmbcinfo(void); | 30 | pthreadmbcinfo __cdecl __updatetmbcinfo(void); |
| 62 | #endif | 31 | #endif |
| 63 | 32 | ||
| 64 | #define _UPPER 0x1 | ||
| 65 | #define _LOWER 0x2 | ||
| 66 | #define _DIGIT 0x4 | ||
| 67 | #define _SPACE 0x8 | ||
| 68 | |||
| 69 | #define _PUNCT 0x10 | ||
| 70 | #define _CONTROL 0x20 | ||
| 71 | #define _BLANK 0x40 | ||
| 72 | #define _HEX 0x80 | ||
| 73 | |||
| 74 | #define _LEADBYTE 0x8000 | ||
| 75 | #define _ALPHA (0x0100|_UPPER|_LOWER) | ||
| 76 | |||
| 77 | #ifndef _CTYPE_DEFINED | 33 | #ifndef _CTYPE_DEFINED |
| 78 | #define _CTYPE_DEFINED | 34 | #define _CTYPE_DEFINED |
| 79 | 35 | ||
| 80 | _CRTIMP int __cdecl _isctype(int _C,int _Type); | ||
| 81 | _CRTIMP int __cdecl _isctype_l(int _C,int _Type,_locale_t _Locale); | ||
| 82 | _CRTIMP int __cdecl isalpha(int _C); | 36 | _CRTIMP int __cdecl isalpha(int _C); |
| 83 | _CRTIMP int __cdecl _isalpha_l(int _C,_locale_t _Locale); | ||
| 84 | _CRTIMP int __cdecl isupper(int _C); | 37 | _CRTIMP int __cdecl isupper(int _C); |
| 85 | _CRTIMP int __cdecl _isupper_l(int _C,_locale_t _Locale); | ||
| 86 | _CRTIMP int __cdecl islower(int _C); | 38 | _CRTIMP int __cdecl islower(int _C); |
| 87 | _CRTIMP int __cdecl _islower_l(int _C,_locale_t _Locale); | ||
| 88 | _CRTIMP int __cdecl isdigit(int _C); | 39 | _CRTIMP int __cdecl isdigit(int _C); |
| 89 | _CRTIMP int __cdecl _isdigit_l(int _C,_locale_t _Locale); | ||
| 90 | _CRTIMP int __cdecl isxdigit(int _C); | 40 | _CRTIMP int __cdecl isxdigit(int _C); |
| 91 | _CRTIMP int __cdecl _isxdigit_l(int _C,_locale_t _Locale); | ||
| 92 | _CRTIMP int __cdecl isspace(int _C); | 41 | _CRTIMP int __cdecl isspace(int _C); |
| 93 | _CRTIMP int __cdecl _isspace_l(int _C,_locale_t _Locale); | ||
| 94 | _CRTIMP int __cdecl ispunct(int _C); | 42 | _CRTIMP int __cdecl ispunct(int _C); |
| 95 | _CRTIMP int __cdecl _ispunct_l(int _C,_locale_t _Locale); | ||
| 96 | _CRTIMP int __cdecl isalnum(int _C); | 43 | _CRTIMP int __cdecl isalnum(int _C); |
| 97 | _CRTIMP int __cdecl _isalnum_l(int _C,_locale_t _Locale); | ||
| 98 | _CRTIMP int __cdecl isprint(int _C); | 44 | _CRTIMP int __cdecl isprint(int _C); |
| 99 | _CRTIMP int __cdecl _isprint_l(int _C,_locale_t _Locale); | ||
| 100 | _CRTIMP int __cdecl isgraph(int _C); | 45 | _CRTIMP int __cdecl isgraph(int _C); |
| 101 | _CRTIMP int __cdecl _isgraph_l(int _C,_locale_t _Locale); | ||
| 102 | _CRTIMP int __cdecl iscntrl(int _C); | 46 | _CRTIMP int __cdecl iscntrl(int _C); |
| 103 | _CRTIMP int __cdecl _iscntrl_l(int _C,_locale_t _Locale); | ||
| 104 | _CRTIMP int __cdecl toupper(int _C); | 47 | _CRTIMP int __cdecl toupper(int _C); |
| 48 | _CRTIMP int __cdecl _toupper(int _C); | ||
| 105 | _CRTIMP int __cdecl tolower(int _C); | 49 | _CRTIMP int __cdecl tolower(int _C); |
| 106 | _CRTIMP int __cdecl _tolower(int _C); | 50 | _CRTIMP int __cdecl _tolower(int _C); |
| 107 | _CRTIMP int __cdecl _tolower_l(int _C,_locale_t _Locale); | 51 | _CRTIMP int __cdecl _tolower_l(int _C,_locale_t _Locale); |
| 108 | _CRTIMP int __cdecl _toupper(int _C); | 52 | _CRTIMP int __cdecl _isctype(int _C,int _Type); |
| 53 | _CRTIMP int __cdecl isblank(int _C); | ||
| 54 | _CRTIMP int __cdecl _isalpha_l(int _C,_locale_t _Locale); | ||
| 55 | _CRTIMP int __cdecl _isupper_l(int _C,_locale_t _Locale); | ||
| 56 | _CRTIMP int __cdecl _islower_l(int _C,_locale_t _Locale); | ||
| 57 | _CRTIMP int __cdecl _isdigit_l(int _C,_locale_t _Locale); | ||
| 58 | _CRTIMP int __cdecl _isxdigit_l(int _C,_locale_t _Locale); | ||
| 59 | _CRTIMP int __cdecl _isspace_l(int _C,_locale_t _Locale); | ||
| 60 | _CRTIMP int __cdecl _ispunct_l(int _C,_locale_t _Locale); | ||
| 61 | _CRTIMP int __cdecl _isalnum_l(int _C,_locale_t _Locale); | ||
| 62 | _CRTIMP int __cdecl _isprint_l(int _C,_locale_t _Locale); | ||
| 63 | _CRTIMP int __cdecl _isgraph_l(int _C,_locale_t _Locale); | ||
| 64 | _CRTIMP int __cdecl _iscntrl_l(int _C,_locale_t _Locale); | ||
| 109 | _CRTIMP int __cdecl _toupper_l(int _C,_locale_t _Locale); | 65 | _CRTIMP int __cdecl _toupper_l(int _C,_locale_t _Locale); |
| 66 | _CRTIMP int __cdecl _isctype_l(int _C,int _Type,_locale_t _Locale); | ||
| 67 | _CRTIMP int __cdecl _isblank_l(int _C,_locale_t _Locale); | ||
| 110 | _CRTIMP int __cdecl __isascii(int _C); | 68 | _CRTIMP int __cdecl __isascii(int _C); |
| 111 | _CRTIMP int __cdecl __toascii(int _C); | 69 | _CRTIMP int __cdecl __toascii(int _C); |
| 112 | _CRTIMP int __cdecl __iscsymf(int _C); | 70 | _CRTIMP int __cdecl __iscsymf(int _C); |
| 113 | _CRTIMP int __cdecl __iscsym(int _C); | 71 | _CRTIMP int __cdecl __iscsym(int _C); |
| 114 | #if __MSVCRT_VERSION__ >= 0xC00 | ||
| 115 | _CRTIMP int __cdecl isblank(int _C); | ||
| 116 | _CRTIMP int __cdecl _isblank_l(int _C,_locale_t _Locale); | ||
| 117 | #else | ||
| 118 | int __cdecl isblank(int _C); | ||
| 119 | #endif /* msvcr120 */ | ||
| 120 | #endif | ||
| 121 | |||
| 122 | #ifndef _WCTYPE_DEFINED | ||
| 123 | #define _WCTYPE_DEFINED | ||
| 124 | |||
| 125 | _CRTIMP int __cdecl iswalpha(wint_t _C); | ||
| 126 | _CRTIMP int __cdecl iswupper(wint_t _C); | ||
| 127 | _CRTIMP int __cdecl iswlower(wint_t _C); | ||
| 128 | _CRTIMP int __cdecl iswdigit(wint_t _C); | ||
| 129 | _CRTIMP int __cdecl iswxdigit(wint_t _C); | ||
| 130 | _CRTIMP int __cdecl iswspace(wint_t _C); | ||
| 131 | _CRTIMP int __cdecl iswpunct(wint_t _C); | ||
| 132 | _CRTIMP int __cdecl iswalnum(wint_t _C); | ||
| 133 | _CRTIMP int __cdecl iswprint(wint_t _C); | ||
| 134 | _CRTIMP int __cdecl iswgraph(wint_t _C); | ||
| 135 | _CRTIMP int __cdecl iswcntrl(wint_t _C); | ||
| 136 | _CRTIMP int __cdecl iswascii(wint_t _C); | ||
| 137 | #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP | ||
| 138 | _CRTIMP int __cdecl isleadbyte(int _C); | ||
| 139 | #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */ | ||
| 140 | _CRTIMP wint_t __cdecl towupper(wint_t _C); | ||
| 141 | _CRTIMP wint_t __cdecl towlower(wint_t _C); | ||
| 142 | _CRTIMP int __cdecl iswctype(wint_t _C,wctype_t _Type); | ||
| 143 | #if __MSVCRT_VERSION__ >= 0x800 || (__MSVCRT_VERSION__ == 0x600 && _WIN32_WINNT >= 0x0600) | ||
| 144 | /* These are available since msvcr80.dll (__MSVCRT_VERSION__ >= 0x800), and in | ||
| 145 | * msvcrt.dll (__MSVCRT_VERSION__ == 0x600) since Vista (_WIN32_WINNT >= 0x0600). */ | ||
| 146 | _CRTIMP int __cdecl _iswalpha_l(wint_t _C,_locale_t _Locale); | ||
| 147 | _CRTIMP int __cdecl _iswupper_l(wint_t _C,_locale_t _Locale); | ||
| 148 | _CRTIMP int __cdecl _iswlower_l(wint_t _C,_locale_t _Locale); | ||
| 149 | _CRTIMP int __cdecl _iswdigit_l(wint_t _C,_locale_t _Locale); | ||
| 150 | _CRTIMP int __cdecl _iswxdigit_l(wint_t _C,_locale_t _Locale); | ||
| 151 | _CRTIMP int __cdecl _iswspace_l(wint_t _C,_locale_t _Locale); | ||
| 152 | _CRTIMP int __cdecl _iswpunct_l(wint_t _C,_locale_t _Locale); | ||
| 153 | _CRTIMP int __cdecl _iswalnum_l(wint_t _C,_locale_t _Locale); | ||
| 154 | _CRTIMP int __cdecl _iswprint_l(wint_t _C,_locale_t _Locale); | ||
| 155 | _CRTIMP int __cdecl _iswgraph_l(wint_t _C,_locale_t _Locale); | ||
| 156 | _CRTIMP int __cdecl _iswcntrl_l(wint_t _C,_locale_t _Locale); | ||
| 157 | _CRTIMP wint_t __cdecl _towupper_l(wint_t _C,_locale_t _Locale); | ||
| 158 | _CRTIMP wint_t __cdecl _towlower_l(wint_t _C,_locale_t _Locale); | ||
| 159 | # ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP | ||
| 160 | _CRTIMP int __cdecl _isleadbyte_l(int _C,_locale_t _Locale); | ||
| 161 | # endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */ | ||
| 162 | _CRTIMP int __cdecl _iswctype_l(wint_t _C,wctype_t _Type,_locale_t _Locale); | ||
| 163 | _CRTIMP int __cdecl __iswcsymf(wint_t _C); | ||
| 164 | _CRTIMP int __cdecl __iswcsym(wint_t _C); | ||
| 165 | #endif | ||
| 166 | #if __MSVCRT_VERSION__ >= 0x800 | ||
| 167 | /* These are only available since msvcr80.dll, never in msvcrt.dll. */ | ||
| 168 | _CRTIMP int __cdecl _iswcsymf_l(wint_t _C,_locale_t _Locale); | ||
| 169 | _CRTIMP int __cdecl _iswcsym_l(wint_t _C,_locale_t _Locale); | ||
| 170 | #endif | ||
| 171 | #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP | ||
| 172 | _CRTIMP int __cdecl is_wctype(wint_t _C,wctype_t _Type); | ||
| 173 | #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */ | ||
| 174 | |||
| 175 | #if __MSVCRT_VERSION__ >= 0xC00 | ||
| 176 | _CRTIMP int __cdecl iswblank(wint_t _C); | ||
| 177 | _CRTIMP int __cdecl _iswblank_l(wint_t _C,_locale_t _Locale); | ||
| 178 | #else | ||
| 179 | int __cdecl iswblank(wint_t _C); | ||
| 180 | #endif /* msvcr120 */ | ||
| 181 | #endif | 72 | #endif |
| 182 | 73 | ||
| 183 | #ifndef _CTYPE_DISABLE_MACROS | 74 | #ifndef _CTYPE_DISABLE_MACROS |
| ... | @@ -209,48 +100,12 @@ _CRTIMP int __cdecl ___mb_cur_max_func(void); | ... | @@ -209,48 +100,12 @@ _CRTIMP int __cdecl ___mb_cur_max_func(void); |
| 209 | #define _isprint_l(_Char,_Locale) _ischartype_l(_Char,_BLANK|_PUNCT|_ALPHA|_DIGIT,_Locale) | 100 | #define _isprint_l(_Char,_Locale) _ischartype_l(_Char,_BLANK|_PUNCT|_ALPHA|_DIGIT,_Locale) |
| 210 | #define _isgraph_l(_Char,_Locale) _ischartype_l(_Char,_PUNCT|_ALPHA|_DIGIT,_Locale) | 101 | #define _isgraph_l(_Char,_Locale) _ischartype_l(_Char,_PUNCT|_ALPHA|_DIGIT,_Locale) |
| 211 | #define _iscntrl_l(_Char,_Locale) _ischartype_l(_Char,_CONTROL,_Locale) | 102 | #define _iscntrl_l(_Char,_Locale) _ischartype_l(_Char,_CONTROL,_Locale) |
| 103 | #define _isblank_l(_Char,_Locale) (((_Char) == '\t') || _ischartype_l(_Char,_BLANK,_Locale)) | ||
| 212 | #define _tolower(_Char) ((_Char)-'A'+'a') | 104 | #define _tolower(_Char) ((_Char)-'A'+'a') |
| 213 | #define _toupper(_Char) ((_Char)-'a'+'A') | 105 | #define _toupper(_Char) ((_Char)-'a'+'A') |
| 214 | #define __isascii(_Char) ((unsigned)(_Char) < 0x80) | 106 | #define __isascii(_Char) ((unsigned)(_Char) < 0x80) |
| 215 | #define __toascii(_Char) ((_Char) & 0x7f) | 107 | #define __toascii(_Char) ((_Char) & 0x7f) |
| 216 | 108 | ||
| 217 | #ifndef _WCTYPE_INLINE_DEFINED | ||
| 218 | #define _WCTYPE_INLINE_DEFINED | ||
| 219 | |||
| 220 | #undef _CRT_WCTYPE_NOINLINE | ||
| 221 | #ifndef __cplusplus | ||
| 222 | #define iswalpha(_c) (iswctype(_c,_ALPHA)) | ||
| 223 | #define iswupper(_c) (iswctype(_c,_UPPER)) | ||
| 224 | #define iswlower(_c) (iswctype(_c,_LOWER)) | ||
| 225 | #define iswdigit(_c) (iswctype(_c,_DIGIT)) | ||
| 226 | #define iswxdigit(_c) (iswctype(_c,_HEX)) | ||
| 227 | #define iswspace(_c) (iswctype(_c,_SPACE)) | ||
| 228 | #define iswpunct(_c) (iswctype(_c,_PUNCT)) | ||
| 229 | #define iswalnum(_c) (iswctype(_c,_ALPHA|_DIGIT)) | ||
| 230 | #define iswprint(_c) (iswctype(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT)) | ||
| 231 | #define iswgraph(_c) (iswctype(_c,_PUNCT|_ALPHA|_DIGIT)) | ||
| 232 | #define iswcntrl(_c) (iswctype(_c,_CONTROL)) | ||
| 233 | #define iswascii(_c) ((unsigned)(_c) < 0x80) | ||
| 234 | #define iswblank(_c) (iswctype(_c,_SPACE) || ((_c)=='\t')) | ||
| 235 | #if __MSVCRT_VERSION__ >= 0x800 || (__MSVCRT_VERSION__ == 0x600 && _WIN32_WINNT >= 0x0600) | ||
| 236 | # define _iswalpha_l(_c,_p) (_iswctype_l(_c,_ALPHA,_p)) | ||
| 237 | # define _iswupper_l(_c,_p) (_iswctype_l(_c,_UPPER,_p)) | ||
| 238 | # define _iswlower_l(_c,_p) (_iswctype_l(_c,_LOWER,_p)) | ||
| 239 | # define _iswdigit_l(_c,_p) (_iswctype_l(_c,_DIGIT,_p)) | ||
| 240 | # define _iswxdigit_l(_c,_p) (_iswctype_l(_c,_HEX,_p)) | ||
| 241 | # define _iswspace_l(_c,_p) (_iswctype_l(_c,_SPACE,_p)) | ||
| 242 | # define _iswpunct_l(_c,_p) (_iswctype_l(_c,_PUNCT,_p)) | ||
| 243 | # define _iswalnum_l(_c,_p) (_iswctype_l(_c,_ALPHA|_DIGIT,_p)) | ||
| 244 | # define _iswprint_l(_c,_p) (_iswctype_l(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT,_p)) | ||
| 245 | # define _iswgraph_l(_c,_p) (_iswctype_l(_c,_PUNCT|_ALPHA|_DIGIT,_p)) | ||
| 246 | # define _iswcntrl_l(_c,_p) (_iswctype_l(_c,_CONTROL,_p)) | ||
| 247 | #endif /* __MSVCRT_VERSION__ >= 0x800 */ | ||
| 248 | #if __MSVCRT_VERSION__ >= 0xC00 | ||
| 249 | #define _iswblank_l(_c,_p) (_iswctype_l(_c,_BLANK,_p) || ((_c)=='\t')) | ||
| 250 | #endif | ||
| 251 | #endif /* __cplusplus */ | ||
| 252 | #endif | ||
| 253 | |||
| 254 | #define __iscsymf(_c) (isalpha(_c) || ((_c)=='_')) | 109 | #define __iscsymf(_c) (isalpha(_c) || ((_c)=='_')) |
| 255 | #define __iscsym(_c) (isalnum(_c) || ((_c)=='_')) | 110 | #define __iscsym(_c) (isalnum(_c) || ((_c)=='_')) |
| 256 | #define __iswcsymf(_c) (iswalpha(_c) || ((_c)=='_')) | 111 | #define __iswcsymf(_c) (iswalpha(_c) || ((_c)=='_')) |
lib/libc/include/any-windows-any/d3d10.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/d3d10.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/d3d10.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/d3d10_1.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/d3d10_1.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/d3d10_1.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/d3d10effect.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/d3d10effect.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/d3d10effect.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/d3d10sdklayers.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/d3d10sdklayers.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/d3d10sdklayers.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/d3d10shader.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/d3d10shader.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/d3d10shader.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/d3d11.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/d3d11.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/d3d11.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/d3d11_1.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/d3d11_1.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/d3d11_1.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/d3d11_2.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/d3d11_2.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/d3d11_2.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/d3d11_3.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/d3d11_3.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/d3d11_3.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/d3d11_4.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/d3d11_4.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/d3d11_4.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/d3d11on12.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/d3d11on12.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/d3d11on12.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/d3d11sdklayers.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/d3d11sdklayers.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/d3d11sdklayers.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/d3d12.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/d3d12.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/d3d12.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/d3d12sdklayers.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/d3d12sdklayers.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/d3d12sdklayers.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/d3d12shader.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/d3d12shader.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/d3d12shader.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/d3d12video.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/d3d12video.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/d3d12video.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/d3d8.h+13-13| ... | @@ -128,7 +128,7 @@ typedef struct IDirect3DVolumeTexture8 *LPDIRECT3DVOLUMETEXTURE8, *PDIRECT3DVOLU | ... | @@ -128,7 +128,7 @@ typedef struct IDirect3DVolumeTexture8 *LPDIRECT3DVOLUMETEXTURE8, *PDIRECT3DVOLU |
| 128 | */ | 128 | */ |
| 129 | #undef INTERFACE | 129 | #undef INTERFACE |
| 130 | #define INTERFACE IDirect3D8 | 130 | #define INTERFACE IDirect3D8 |
| 131 | DECLARE_INTERFACE_(IDirect3D8,IUnknown) | 131 | DECLARE_INTERFACE_IID_(IDirect3D8,IUnknown,"1dd9e8da-1c77-4d40-b0cf-98fefdff9512") |
| 132 | { | 132 | { |
| 133 | /*** IUnknown methods ***/ | 133 | /*** IUnknown methods ***/ |
| 134 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 134 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -195,7 +195,7 @@ DECLARE_INTERFACE_(IDirect3D8,IUnknown) | ... | @@ -195,7 +195,7 @@ DECLARE_INTERFACE_(IDirect3D8,IUnknown) |
| 195 | * IDirect3DVolume8 interface | 195 | * IDirect3DVolume8 interface |
| 196 | */ | 196 | */ |
| 197 | #define INTERFACE IDirect3DVolume8 | 197 | #define INTERFACE IDirect3DVolume8 |
| 198 | DECLARE_INTERFACE_(IDirect3DVolume8,IUnknown) | 198 | DECLARE_INTERFACE_IID_(IDirect3DVolume8,IUnknown,"bd7349f5-14f1-42e4-9c79-972380db40c0") |
| 199 | { | 199 | { |
| 200 | /*** IUnknown methods ***/ | 200 | /*** IUnknown methods ***/ |
| 201 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 201 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -247,7 +247,7 @@ DECLARE_INTERFACE_(IDirect3DVolume8,IUnknown) | ... | @@ -247,7 +247,7 @@ DECLARE_INTERFACE_(IDirect3DVolume8,IUnknown) |
| 247 | * IDirect3DSwapChain8 interface | 247 | * IDirect3DSwapChain8 interface |
| 248 | */ | 248 | */ |
| 249 | #define INTERFACE IDirect3DSwapChain8 | 249 | #define INTERFACE IDirect3DSwapChain8 |
| 250 | DECLARE_INTERFACE_(IDirect3DSwapChain8,IUnknown) | 250 | DECLARE_INTERFACE_IID_(IDirect3DSwapChain8,IUnknown,"928c088b-76b9-4c6b-a536-a590853876cd") |
| 251 | { | 251 | { |
| 252 | /*** IUnknown methods ***/ | 252 | /*** IUnknown methods ***/ |
| 253 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 253 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -282,7 +282,7 @@ DECLARE_INTERFACE_(IDirect3DSwapChain8,IUnknown) | ... | @@ -282,7 +282,7 @@ DECLARE_INTERFACE_(IDirect3DSwapChain8,IUnknown) |
| 282 | * IDirect3DSurface8 interface | 282 | * IDirect3DSurface8 interface |
| 283 | */ | 283 | */ |
| 284 | #define INTERFACE IDirect3DSurface8 | 284 | #define INTERFACE IDirect3DSurface8 |
| 285 | DECLARE_INTERFACE_(IDirect3DSurface8,IUnknown) | 285 | DECLARE_INTERFACE_IID_(IDirect3DSurface8,IUnknown,"b96eebca-b326-4ea5-882f-2ff5bae021dd") |
| 286 | { | 286 | { |
| 287 | /*** IUnknown methods ***/ | 287 | /*** IUnknown methods ***/ |
| 288 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 288 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -334,7 +334,7 @@ DECLARE_INTERFACE_(IDirect3DSurface8,IUnknown) | ... | @@ -334,7 +334,7 @@ DECLARE_INTERFACE_(IDirect3DSurface8,IUnknown) |
| 334 | * IDirect3DResource8 interface | 334 | * IDirect3DResource8 interface |
| 335 | */ | 335 | */ |
| 336 | #define INTERFACE IDirect3DResource8 | 336 | #define INTERFACE IDirect3DResource8 |
| 337 | DECLARE_INTERFACE_(IDirect3DResource8,IUnknown) | 337 | DECLARE_INTERFACE_IID_(IDirect3DResource8,IUnknown,"1b36bb7b-09b7-410a-b445-7d1430d7b33f") |
| 338 | { | 338 | { |
| 339 | /*** IUnknown methods ***/ | 339 | /*** IUnknown methods ***/ |
| 340 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 340 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -386,7 +386,7 @@ DECLARE_INTERFACE_(IDirect3DResource8,IUnknown) | ... | @@ -386,7 +386,7 @@ DECLARE_INTERFACE_(IDirect3DResource8,IUnknown) |
| 386 | * IDirect3DVertexBuffer8 interface | 386 | * IDirect3DVertexBuffer8 interface |
| 387 | */ | 387 | */ |
| 388 | #define INTERFACE IDirect3DVertexBuffer8 | 388 | #define INTERFACE IDirect3DVertexBuffer8 |
| 389 | DECLARE_INTERFACE_(IDirect3DVertexBuffer8,IDirect3DResource8) | 389 | DECLARE_INTERFACE_IID_(IDirect3DVertexBuffer8,IDirect3DResource8,"8aeeeac7-05f9-44d4-b591-000b0df1cb95") |
| 390 | { | 390 | { |
| 391 | /*** IUnknown methods ***/ | 391 | /*** IUnknown methods ***/ |
| 392 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 392 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -450,7 +450,7 @@ DECLARE_INTERFACE_(IDirect3DVertexBuffer8,IDirect3DResource8) | ... | @@ -450,7 +450,7 @@ DECLARE_INTERFACE_(IDirect3DVertexBuffer8,IDirect3DResource8) |
| 450 | * IDirect3DIndexBuffer8 interface | 450 | * IDirect3DIndexBuffer8 interface |
| 451 | */ | 451 | */ |
| 452 | #define INTERFACE IDirect3DIndexBuffer8 | 452 | #define INTERFACE IDirect3DIndexBuffer8 |
| 453 | DECLARE_INTERFACE_(IDirect3DIndexBuffer8,IDirect3DResource8) | 453 | DECLARE_INTERFACE_IID_(IDirect3DIndexBuffer8,IDirect3DResource8,"0e689c9a-053d-44a0-9d92-db0e3d750f86") |
| 454 | { | 454 | { |
| 455 | /*** IUnknown methods ***/ | 455 | /*** IUnknown methods ***/ |
| 456 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 456 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -514,7 +514,7 @@ DECLARE_INTERFACE_(IDirect3DIndexBuffer8,IDirect3DResource8) | ... | @@ -514,7 +514,7 @@ DECLARE_INTERFACE_(IDirect3DIndexBuffer8,IDirect3DResource8) |
| 514 | * IDirect3DBaseTexture8 interface | 514 | * IDirect3DBaseTexture8 interface |
| 515 | */ | 515 | */ |
| 516 | #define INTERFACE IDirect3DBaseTexture8 | 516 | #define INTERFACE IDirect3DBaseTexture8 |
| 517 | DECLARE_INTERFACE_(IDirect3DBaseTexture8,IDirect3DResource8) | 517 | DECLARE_INTERFACE_IID_(IDirect3DBaseTexture8,IDirect3DResource8,"b4211cfa-51b9-4a9f-ab78-db99b2bb678e") |
| 518 | { | 518 | { |
| 519 | /*** IUnknown methods ***/ | 519 | /*** IUnknown methods ***/ |
| 520 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 520 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -578,7 +578,7 @@ DECLARE_INTERFACE_(IDirect3DBaseTexture8,IDirect3DResource8) | ... | @@ -578,7 +578,7 @@ DECLARE_INTERFACE_(IDirect3DBaseTexture8,IDirect3DResource8) |
| 578 | * IDirect3DCubeTexture8 interface | 578 | * IDirect3DCubeTexture8 interface |
| 579 | */ | 579 | */ |
| 580 | #define INTERFACE IDirect3DCubeTexture8 | 580 | #define INTERFACE IDirect3DCubeTexture8 |
| 581 | DECLARE_INTERFACE_(IDirect3DCubeTexture8,IDirect3DBaseTexture8) | 581 | DECLARE_INTERFACE_IID_(IDirect3DCubeTexture8,IDirect3DBaseTexture8,"3ee5b968-2aca-4c34-8bb5-7e0c3d19b750") |
| 582 | { | 582 | { |
| 583 | /*** IUnknown methods ***/ | 583 | /*** IUnknown methods ***/ |
| 584 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 584 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -661,7 +661,7 @@ DECLARE_INTERFACE_(IDirect3DCubeTexture8,IDirect3DBaseTexture8) | ... | @@ -661,7 +661,7 @@ DECLARE_INTERFACE_(IDirect3DCubeTexture8,IDirect3DBaseTexture8) |
| 661 | * IDirect3DTexture8 interface | 661 | * IDirect3DTexture8 interface |
| 662 | */ | 662 | */ |
| 663 | #define INTERFACE IDirect3DTexture8 | 663 | #define INTERFACE IDirect3DTexture8 |
| 664 | DECLARE_INTERFACE_(IDirect3DTexture8,IDirect3DBaseTexture8) | 664 | DECLARE_INTERFACE_IID_(IDirect3DTexture8,IDirect3DBaseTexture8,"e4cdd575-2866-4f01-b12e-7eece1ec9358") |
| 665 | { | 665 | { |
| 666 | /*** IUnknown methods ***/ | 666 | /*** IUnknown methods ***/ |
| 667 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 667 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -743,7 +743,7 @@ DECLARE_INTERFACE_(IDirect3DTexture8,IDirect3DBaseTexture8) | ... | @@ -743,7 +743,7 @@ DECLARE_INTERFACE_(IDirect3DTexture8,IDirect3DBaseTexture8) |
| 743 | * IDirect3DVolumeTexture8 interface | 743 | * IDirect3DVolumeTexture8 interface |
| 744 | */ | 744 | */ |
| 745 | #define INTERFACE IDirect3DVolumeTexture8 | 745 | #define INTERFACE IDirect3DVolumeTexture8 |
| 746 | DECLARE_INTERFACE_(IDirect3DVolumeTexture8,IDirect3DBaseTexture8) | 746 | DECLARE_INTERFACE_IID_(IDirect3DVolumeTexture8,IDirect3DBaseTexture8,"4b8aaafa-140f-42ba-9131-597eafaa2ead") |
| 747 | { | 747 | { |
| 748 | /*** IUnknown methods ***/ | 748 | /*** IUnknown methods ***/ |
| 749 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 749 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -825,7 +825,7 @@ DECLARE_INTERFACE_(IDirect3DVolumeTexture8,IDirect3DBaseTexture8) | ... | @@ -825,7 +825,7 @@ DECLARE_INTERFACE_(IDirect3DVolumeTexture8,IDirect3DBaseTexture8) |
| 825 | * IDirect3DDevice8 interface | 825 | * IDirect3DDevice8 interface |
| 826 | */ | 826 | */ |
| 827 | #define INTERFACE IDirect3DDevice8 | 827 | #define INTERFACE IDirect3DDevice8 |
| 828 | DECLARE_INTERFACE_(IDirect3DDevice8,IUnknown) | 828 | DECLARE_INTERFACE_IID_(IDirect3DDevice8,IUnknown,"7385e5df-8fe8-41d5-86b6-d7b48547b6cf") |
| 829 | { | 829 | { |
| 830 | /*** IUnknown methods ***/ | 830 | /*** IUnknown methods ***/ |
| 831 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 831 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -1115,7 +1115,7 @@ DECLARE_INTERFACE_(IDirect3DDevice8,IUnknown) | ... | @@ -1115,7 +1115,7 @@ DECLARE_INTERFACE_(IDirect3DDevice8,IUnknown) |
| 1115 | #define IDirect3DDevice8_DrawIndexedPrimitive(p,a,b,c,d,e) (p)->DrawIndexedPrimitive(a,b,c,d,e) | 1115 | #define IDirect3DDevice8_DrawIndexedPrimitive(p,a,b,c,d,e) (p)->DrawIndexedPrimitive(a,b,c,d,e) |
| 1116 | #define IDirect3DDevice8_DrawPrimitiveUP(p,a,b,c,d) (p)->DrawPrimitiveUP(a,b,c,d) | 1116 | #define IDirect3DDevice8_DrawPrimitiveUP(p,a,b,c,d) (p)->DrawPrimitiveUP(a,b,c,d) |
| 1117 | #define IDirect3DDevice8_DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h) (p)->DrawIndexedPrimitiveUP(a,b,c,d,e,f,g,h) | 1117 | #define IDirect3DDevice8_DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h) (p)->DrawIndexedPrimitiveUP(a,b,c,d,e,f,g,h) |
| 1118 | #define IDirect3DDevice8_ProcessVertices(p,a,b,c,d,e) (p)->processVertices(a,b,c,d,e) | 1118 | #define IDirect3DDevice8_ProcessVertices(p,a,b,c,d,e) (p)->ProcessVertices(a,b,c,d,e) |
| 1119 | #define IDirect3DDevice8_CreateVertexShader(p,a,b,c,d) (p)->CreateVertexShader(a,b,c,d) | 1119 | #define IDirect3DDevice8_CreateVertexShader(p,a,b,c,d) (p)->CreateVertexShader(a,b,c,d) |
| 1120 | #define IDirect3DDevice8_SetVertexShader(p,a) (p)->SetVertexShader(a) | 1120 | #define IDirect3DDevice8_SetVertexShader(p,a) (p)->SetVertexShader(a) |
| 1121 | #define IDirect3DDevice8_GetVertexShader(p,a) (p)->GetVertexShader(a) | 1121 | #define IDirect3DDevice8_GetVertexShader(p,a) (p)->GetVertexShader(a) |
lib/libc/include/any-windows-any/d3d8caps.h+2-2| ... | @@ -20,7 +20,7 @@ | ... | @@ -20,7 +20,7 @@ |
| 20 | #define __WINE_D3D8CAPS_H | 20 | #define __WINE_D3D8CAPS_H |
| 21 | 21 | ||
| 22 | #ifdef __i386__ | 22 | #ifdef __i386__ |
| 23 | #include <pshpack4.h> | 23 | #pragma pack(push,4) |
| 24 | #endif | 24 | #endif |
| 25 | 25 | ||
| 26 | /* | 26 | /* |
| ... | @@ -290,7 +290,7 @@ typedef struct _D3DCAPS8 { | ... | @@ -290,7 +290,7 @@ typedef struct _D3DCAPS8 { |
| 290 | } D3DCAPS8; | 290 | } D3DCAPS8; |
| 291 | 291 | ||
| 292 | #ifdef __i386__ | 292 | #ifdef __i386__ |
| 293 | #include <poppack.h> | 293 | #pragma pack(pop) |
| 294 | #endif | 294 | #endif |
| 295 | 295 | ||
| 296 | #endif /* __WINE_D3D8CAPS_H */ | 296 | #endif /* __WINE_D3D8CAPS_H */ |
lib/libc/include/any-windows-any/d3d8types.h+8-2| ... | @@ -20,7 +20,7 @@ | ... | @@ -20,7 +20,7 @@ |
| 20 | #define __WINE_D3D8TYPES_H | 20 | #define __WINE_D3D8TYPES_H |
| 21 | 21 | ||
| 22 | #ifdef __i386__ | 22 | #ifdef __i386__ |
| 23 | #include <pshpack4.h> | 23 | #pragma pack(push,4) |
| 24 | #endif | 24 | #endif |
| 25 | 25 | ||
| 26 | /***************************************************************************** | 26 | /***************************************************************************** |
| ... | @@ -150,6 +150,9 @@ | ... | @@ -150,6 +150,9 @@ |
| 150 | #define D3DCOLORWRITEENABLE_BLUE (__MSABI_LONG(1)<<2) | 150 | #define D3DCOLORWRITEENABLE_BLUE (__MSABI_LONG(1)<<2) |
| 151 | #define D3DCOLORWRITEENABLE_ALPHA (__MSABI_LONG(1)<<3) | 151 | #define D3DCOLORWRITEENABLE_ALPHA (__MSABI_LONG(1)<<3) |
| 152 | 152 | ||
| 153 | #define D3DDEVINFOID_RESOURCEMANAGER 5 | ||
| 154 | #define D3DDEVINFOID_VERTEXSTATS 6 | ||
| 155 | |||
| 153 | 156 | ||
| 154 | #ifndef MAKEFOURCC | 157 | #ifndef MAKEFOURCC |
| 155 | #define MAKEFOURCC(ch0, ch1, ch2, ch3) \ | 158 | #define MAKEFOURCC(ch0, ch1, ch2, ch3) \ |
| ... | @@ -1117,6 +1120,9 @@ typedef struct _D3DMATRIX { | ... | @@ -1117,6 +1120,9 @@ typedef struct _D3DMATRIX { |
| 1117 | } DUMMYUNIONNAME; | 1120 | } DUMMYUNIONNAME; |
| 1118 | } D3DMATRIX; | 1121 | } D3DMATRIX; |
| 1119 | 1122 | ||
| 1123 | #define D3DPRESENT_RATE_DEFAULT 0 | ||
| 1124 | #define D3DPRESENT_RATE_UNLIMITED 0x7fffffff | ||
| 1125 | |||
| 1120 | typedef struct _D3DPRESENT_PARAMETERS_ { | 1126 | typedef struct _D3DPRESENT_PARAMETERS_ { |
| 1121 | UINT BackBufferWidth; | 1127 | UINT BackBufferWidth; |
| 1122 | UINT BackBufferHeight; | 1128 | UINT BackBufferHeight; |
| ... | @@ -1214,7 +1220,7 @@ typedef struct _D3DVOLUME_DESC { | ... | @@ -1214,7 +1220,7 @@ typedef struct _D3DVOLUME_DESC { |
| 1214 | } D3DVOLUME_DESC; | 1220 | } D3DVOLUME_DESC; |
| 1215 | 1221 | ||
| 1216 | #ifdef __i386__ | 1222 | #ifdef __i386__ |
| 1217 | #include <poppack.h> | 1223 | #pragma pack(pop) |
| 1218 | #endif | 1224 | #endif |
| 1219 | 1225 | ||
| 1220 | #endif /* __WINE_D3D8TYPES_H */ | 1226 | #endif /* __WINE_D3D8TYPES_H */ |
lib/libc/include/any-windows-any/d3d9.h+20-20| ... | @@ -175,7 +175,7 @@ typedef struct IDirect3DQuery9 *LPDIRECT3DQUERY9, *PDIRECT3DQUERY9; | ... | @@ -175,7 +175,7 @@ typedef struct IDirect3DQuery9 *LPDIRECT3DQUERY9, *PDIRECT3DQUERY9; |
| 175 | */ | 175 | */ |
| 176 | #undef INTERFACE | 176 | #undef INTERFACE |
| 177 | #define INTERFACE IDirect3D9 | 177 | #define INTERFACE IDirect3D9 |
| 178 | DECLARE_INTERFACE_(IDirect3D9,IUnknown) | 178 | DECLARE_INTERFACE_IID_(IDirect3D9,IUnknown,"81bdcbca-64d4-426d-ae8d-ad0147f4275c") |
| 179 | { | 179 | { |
| 180 | /*** IUnknown methods ***/ | 180 | /*** IUnknown methods ***/ |
| 181 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 181 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -249,7 +249,7 @@ __CRT_UUID_DECL(IDirect3D9, 0x81BDCBCA, 0x64D4, 0x426D, 0xAE, | ... | @@ -249,7 +249,7 @@ __CRT_UUID_DECL(IDirect3D9, 0x81BDCBCA, 0x64D4, 0x426D, 0xAE, |
| 249 | * IDirect3DVolume9 interface | 249 | * IDirect3DVolume9 interface |
| 250 | */ | 250 | */ |
| 251 | #define INTERFACE IDirect3DVolume9 | 251 | #define INTERFACE IDirect3DVolume9 |
| 252 | DECLARE_INTERFACE_(IDirect3DVolume9,IUnknown) | 252 | DECLARE_INTERFACE_IID_(IDirect3DVolume9,IUnknown,"24f416e6-1f67-4aa7-b88e-d33f6f3128a1") |
| 253 | { | 253 | { |
| 254 | /*** IUnknown methods ***/ | 254 | /*** IUnknown methods ***/ |
| 255 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 255 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -305,7 +305,7 @@ __CRT_UUID_DECL(IDirect3DVolume9, 0x24f416e6, 0x1f67, 0x4aa7, 0xb8, | ... | @@ -305,7 +305,7 @@ __CRT_UUID_DECL(IDirect3DVolume9, 0x24f416e6, 0x1f67, 0x4aa7, 0xb8, |
| 305 | * IDirect3DSwapChain9 interface | 305 | * IDirect3DSwapChain9 interface |
| 306 | */ | 306 | */ |
| 307 | #define INTERFACE IDirect3DSwapChain9 | 307 | #define INTERFACE IDirect3DSwapChain9 |
| 308 | DECLARE_INTERFACE_(IDirect3DSwapChain9,IUnknown) | 308 | DECLARE_INTERFACE_IID_(IDirect3DSwapChain9,IUnknown,"794950f2-adfc-458a-905e-10a10b0b503b") |
| 309 | { | 309 | { |
| 310 | /*** IUnknown methods ***/ | 310 | /*** IUnknown methods ***/ |
| 311 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; | 311 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; |
| ... | @@ -359,7 +359,7 @@ __CRT_UUID_DECL(IDirect3DSwapChain9, 0x794950f2, 0xadfc, 0x458a, 0x90, | ... | @@ -359,7 +359,7 @@ __CRT_UUID_DECL(IDirect3DSwapChain9, 0x794950f2, 0xadfc, 0x458a, 0x90, |
| 359 | * IDirect3DResource9 interface | 359 | * IDirect3DResource9 interface |
| 360 | */ | 360 | */ |
| 361 | #define INTERFACE IDirect3DResource9 | 361 | #define INTERFACE IDirect3DResource9 |
| 362 | DECLARE_INTERFACE_(IDirect3DResource9,IUnknown) | 362 | DECLARE_INTERFACE_IID_(IDirect3DResource9,IUnknown,"05eec05d-8f7d-4362-b999-d1baf357c704") |
| 363 | { | 363 | { |
| 364 | /*** IUnknown methods ***/ | 364 | /*** IUnknown methods ***/ |
| 365 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 365 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -415,7 +415,7 @@ __CRT_UUID_DECL(IDirect3DResource9, 0x5eec05d, 0x8f7d, 0x4362, 0xb9, 0 | ... | @@ -415,7 +415,7 @@ __CRT_UUID_DECL(IDirect3DResource9, 0x5eec05d, 0x8f7d, 0x4362, 0xb9, 0 |
| 415 | * IDirect3DSurface9 interface | 415 | * IDirect3DSurface9 interface |
| 416 | */ | 416 | */ |
| 417 | #define INTERFACE IDirect3DSurface9 | 417 | #define INTERFACE IDirect3DSurface9 |
| 418 | DECLARE_INTERFACE_(IDirect3DSurface9,IDirect3DResource9) | 418 | DECLARE_INTERFACE_IID_(IDirect3DSurface9,IDirect3DResource9,"0cfbaf3a-9ff6-429a-99b3-a2796af8b89b") |
| 419 | { | 419 | { |
| 420 | /*** IUnknown methods ***/ | 420 | /*** IUnknown methods ***/ |
| 421 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 421 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -492,7 +492,7 @@ __CRT_UUID_DECL(IDirect3DSurface9, 0xcfbaf3a, 0x9ff6, 0x429a, 0x99, 0 | ... | @@ -492,7 +492,7 @@ __CRT_UUID_DECL(IDirect3DSurface9, 0xcfbaf3a, 0x9ff6, 0x429a, 0x99, 0 |
| 492 | * IDirect3DVertexBuffer9 interface | 492 | * IDirect3DVertexBuffer9 interface |
| 493 | */ | 493 | */ |
| 494 | #define INTERFACE IDirect3DVertexBuffer9 | 494 | #define INTERFACE IDirect3DVertexBuffer9 |
| 495 | DECLARE_INTERFACE_(IDirect3DVertexBuffer9,IDirect3DResource9) | 495 | DECLARE_INTERFACE_IID_(IDirect3DVertexBuffer9,IDirect3DResource9,"b64bb1b5-fd70-4df6-bf91-19d0a12455e3") |
| 496 | { | 496 | { |
| 497 | /*** IUnknown methods ***/ | 497 | /*** IUnknown methods ***/ |
| 498 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 498 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -560,7 +560,7 @@ __CRT_UUID_DECL(IDirect3DVertexBuffer9, 0xb64bb1b5, 0xfd70, 0x4df6, 0xbf, | ... | @@ -560,7 +560,7 @@ __CRT_UUID_DECL(IDirect3DVertexBuffer9, 0xb64bb1b5, 0xfd70, 0x4df6, 0xbf, |
| 560 | * IDirect3DIndexBuffer9 interface | 560 | * IDirect3DIndexBuffer9 interface |
| 561 | */ | 561 | */ |
| 562 | #define INTERFACE IDirect3DIndexBuffer9 | 562 | #define INTERFACE IDirect3DIndexBuffer9 |
| 563 | DECLARE_INTERFACE_(IDirect3DIndexBuffer9,IDirect3DResource9) | 563 | DECLARE_INTERFACE_IID_(IDirect3DIndexBuffer9,IDirect3DResource9,"7c9dd65e-d3f7-4529-acee-785830acde35") |
| 564 | { | 564 | { |
| 565 | /*** IUnknown methods ***/ | 565 | /*** IUnknown methods ***/ |
| 566 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 566 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -628,7 +628,7 @@ __CRT_UUID_DECL(IDirect3DIndexBuffer9, 0x7c9dd65e, 0xd3f7, 0x4529, 0xac, | ... | @@ -628,7 +628,7 @@ __CRT_UUID_DECL(IDirect3DIndexBuffer9, 0x7c9dd65e, 0xd3f7, 0x4529, 0xac, |
| 628 | * IDirect3DBaseTexture9 interface | 628 | * IDirect3DBaseTexture9 interface |
| 629 | */ | 629 | */ |
| 630 | #define INTERFACE IDirect3DBaseTexture9 | 630 | #define INTERFACE IDirect3DBaseTexture9 |
| 631 | DECLARE_INTERFACE_(IDirect3DBaseTexture9,IDirect3DResource9) | 631 | DECLARE_INTERFACE_IID_(IDirect3DBaseTexture9,IDirect3DResource9,"580ca87e-1d3c-4d54-991d-b7d3e3c298ce") |
| 632 | { | 632 | { |
| 633 | /*** IUnknown methods ***/ | 633 | /*** IUnknown methods ***/ |
| 634 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 634 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -705,7 +705,7 @@ __CRT_UUID_DECL(IDirect3DBaseTexture9, 0x580ca87e, 0x1d3c, 0x4d54, 0x99, | ... | @@ -705,7 +705,7 @@ __CRT_UUID_DECL(IDirect3DBaseTexture9, 0x580ca87e, 0x1d3c, 0x4d54, 0x99, |
| 705 | * IDirect3DCubeTexture9 interface | 705 | * IDirect3DCubeTexture9 interface |
| 706 | */ | 706 | */ |
| 707 | #define INTERFACE IDirect3DCubeTexture9 | 707 | #define INTERFACE IDirect3DCubeTexture9 |
| 708 | DECLARE_INTERFACE_(IDirect3DCubeTexture9,IDirect3DBaseTexture9) | 708 | DECLARE_INTERFACE_IID_(IDirect3DCubeTexture9,IDirect3DBaseTexture9,"fff32f81-d953-473a-9223-93d652aba93f") |
| 709 | { | 709 | { |
| 710 | /*** IUnknown methods ***/ | 710 | /*** IUnknown methods ***/ |
| 711 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 711 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -801,7 +801,7 @@ __CRT_UUID_DECL(IDirect3DCubeTexture9, 0xfff32f81, 0xd953, 0x473a, 0x92, | ... | @@ -801,7 +801,7 @@ __CRT_UUID_DECL(IDirect3DCubeTexture9, 0xfff32f81, 0xd953, 0x473a, 0x92, |
| 801 | * IDirect3DTexture9 interface | 801 | * IDirect3DTexture9 interface |
| 802 | */ | 802 | */ |
| 803 | #define INTERFACE IDirect3DTexture9 | 803 | #define INTERFACE IDirect3DTexture9 |
| 804 | DECLARE_INTERFACE_(IDirect3DTexture9,IDirect3DBaseTexture9) | 804 | DECLARE_INTERFACE_IID_(IDirect3DTexture9,IDirect3DBaseTexture9,"85c31227-3de5-4f00-9b3a-f11ac38c18b5") |
| 805 | { | 805 | { |
| 806 | /*** IUnknown methods ***/ | 806 | /*** IUnknown methods ***/ |
| 807 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 807 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -896,7 +896,7 @@ __CRT_UUID_DECL(IDirect3DTexture9, 0x85c31227, 0x3de5, 0x4f00, 0x9b, | ... | @@ -896,7 +896,7 @@ __CRT_UUID_DECL(IDirect3DTexture9, 0x85c31227, 0x3de5, 0x4f00, 0x9b, |
| 896 | * IDirect3DVolumeTexture9 interface | 896 | * IDirect3DVolumeTexture9 interface |
| 897 | */ | 897 | */ |
| 898 | #define INTERFACE IDirect3DVolumeTexture9 | 898 | #define INTERFACE IDirect3DVolumeTexture9 |
| 899 | DECLARE_INTERFACE_(IDirect3DVolumeTexture9,IDirect3DBaseTexture9) | 899 | DECLARE_INTERFACE_IID_(IDirect3DVolumeTexture9,IDirect3DBaseTexture9,"2518526c-e789-4111-a7b9-47ef328d13e6") |
| 900 | { | 900 | { |
| 901 | /*** IUnknown methods ***/ | 901 | /*** IUnknown methods ***/ |
| 902 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 902 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -991,7 +991,7 @@ __CRT_UUID_DECL(IDirect3DVolumeTexture9, 0x2518526c, 0xe789, 0x4111, 0xa7, | ... | @@ -991,7 +991,7 @@ __CRT_UUID_DECL(IDirect3DVolumeTexture9, 0x2518526c, 0xe789, 0x4111, 0xa7, |
| 991 | * IDirect3DVertexDeclaration9 interface | 991 | * IDirect3DVertexDeclaration9 interface |
| 992 | */ | 992 | */ |
| 993 | #define INTERFACE IDirect3DVertexDeclaration9 | 993 | #define INTERFACE IDirect3DVertexDeclaration9 |
| 994 | DECLARE_INTERFACE_(IDirect3DVertexDeclaration9,IUnknown) | 994 | DECLARE_INTERFACE_IID_(IDirect3DVertexDeclaration9,IUnknown,"dd13c59c-36fa-4098-a8fb-c7ed39dc8546") |
| 995 | { | 995 | { |
| 996 | /*** IUnknown methods ***/ | 996 | /*** IUnknown methods ***/ |
| 997 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 997 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -1029,7 +1029,7 @@ __CRT_UUID_DECL(IDirect3DVertexDeclaration9, 0xdd13c59c, 0x36fa, 0x4098, 0xa8, | ... | @@ -1029,7 +1029,7 @@ __CRT_UUID_DECL(IDirect3DVertexDeclaration9, 0xdd13c59c, 0x36fa, 0x4098, 0xa8, |
| 1029 | * IDirect3DVertexShader9 interface | 1029 | * IDirect3DVertexShader9 interface |
| 1030 | */ | 1030 | */ |
| 1031 | #define INTERFACE IDirect3DVertexShader9 | 1031 | #define INTERFACE IDirect3DVertexShader9 |
| 1032 | DECLARE_INTERFACE_(IDirect3DVertexShader9,IUnknown) | 1032 | DECLARE_INTERFACE_IID_(IDirect3DVertexShader9,IUnknown,"efc5557e-6265-4613-8a94-43857889eb36") |
| 1033 | { | 1033 | { |
| 1034 | /*** IUnknown methods ***/ | 1034 | /*** IUnknown methods ***/ |
| 1035 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 1035 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -1067,7 +1067,7 @@ __CRT_UUID_DECL(IDirect3DVertexShader9, 0xefc5557e, 0x6265, 0x4613, 0x8a, | ... | @@ -1067,7 +1067,7 @@ __CRT_UUID_DECL(IDirect3DVertexShader9, 0xefc5557e, 0x6265, 0x4613, 0x8a, |
| 1067 | * IDirect3DPixelShader9 interface | 1067 | * IDirect3DPixelShader9 interface |
| 1068 | */ | 1068 | */ |
| 1069 | #define INTERFACE IDirect3DPixelShader9 | 1069 | #define INTERFACE IDirect3DPixelShader9 |
| 1070 | DECLARE_INTERFACE_(IDirect3DPixelShader9,IUnknown) | 1070 | DECLARE_INTERFACE_IID_(IDirect3DPixelShader9,IUnknown,"6d3bdbdc-5b02-4415-b852-ce5e8bccb289") |
| 1071 | { | 1071 | { |
| 1072 | /*** IUnknown methods ***/ | 1072 | /*** IUnknown methods ***/ |
| 1073 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 1073 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -1105,7 +1105,7 @@ __CRT_UUID_DECL(IDirect3DPixelShader9, 0x6d3bdbdc, 0x5b02, 0x4415, 0xb8, | ... | @@ -1105,7 +1105,7 @@ __CRT_UUID_DECL(IDirect3DPixelShader9, 0x6d3bdbdc, 0x5b02, 0x4415, 0xb8, |
| 1105 | * IDirect3DStateBlock9 interface | 1105 | * IDirect3DStateBlock9 interface |
| 1106 | */ | 1106 | */ |
| 1107 | #define INTERFACE IDirect3DStateBlock9 | 1107 | #define INTERFACE IDirect3DStateBlock9 |
| 1108 | DECLARE_INTERFACE_(IDirect3DStateBlock9,IUnknown) | 1108 | DECLARE_INTERFACE_IID_(IDirect3DStateBlock9,IUnknown,"b07c4fe5-310d-4ba8-a23c-4f0f206f218b") |
| 1109 | { | 1109 | { |
| 1110 | /*** IUnknown methods ***/ | 1110 | /*** IUnknown methods ***/ |
| 1111 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 1111 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -1146,7 +1146,7 @@ __CRT_UUID_DECL(IDirect3DStateBlock9, 0xb07c4fe5, 0x310d, 0x4ba8, 0xa2, | ... | @@ -1146,7 +1146,7 @@ __CRT_UUID_DECL(IDirect3DStateBlock9, 0xb07c4fe5, 0x310d, 0x4ba8, 0xa2, |
| 1146 | * IDirect3DQuery9 interface | 1146 | * IDirect3DQuery9 interface |
| 1147 | */ | 1147 | */ |
| 1148 | #define INTERFACE IDirect3DQuery9 | 1148 | #define INTERFACE IDirect3DQuery9 |
| 1149 | DECLARE_INTERFACE_(IDirect3DQuery9,IUnknown) | 1149 | DECLARE_INTERFACE_IID_(IDirect3DQuery9,IUnknown,"d9771460-a695-4f26-bbd3-27b840b541cc") |
| 1150 | { | 1150 | { |
| 1151 | /*** IUnknown methods ***/ | 1151 | /*** IUnknown methods ***/ |
| 1152 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 1152 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -1193,7 +1193,7 @@ __CRT_UUID_DECL(IDirect3DQuery9, 0xd9771460, 0xa695, 0x4f26, 0xbb, | ... | @@ -1193,7 +1193,7 @@ __CRT_UUID_DECL(IDirect3DQuery9, 0xd9771460, 0xa695, 0x4f26, 0xbb, |
| 1193 | * IDirect3DDevice9 interface | 1193 | * IDirect3DDevice9 interface |
| 1194 | */ | 1194 | */ |
| 1195 | #define INTERFACE IDirect3DDevice9 | 1195 | #define INTERFACE IDirect3DDevice9 |
| 1196 | DECLARE_INTERFACE_(IDirect3DDevice9,IUnknown) | 1196 | DECLARE_INTERFACE_IID_(IDirect3DDevice9,IUnknown,"d0223b96-bf7a-43fd-92bd-a43b0d82b9eb") |
| 1197 | { | 1197 | { |
| 1198 | /*** IUnknown methods ***/ | 1198 | /*** IUnknown methods ***/ |
| 1199 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; | 1199 | STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; |
| ... | @@ -1589,7 +1589,7 @@ __CRT_UUID_DECL(IDirect3D9Ex, 0x02177241, 0x69fc, 0x400c, 0x8f, 0xf1, 0x93, 0xa4 | ... | @@ -1589,7 +1589,7 @@ __CRT_UUID_DECL(IDirect3D9Ex, 0x02177241, 0x69fc, 0x400c, 0x8f, 0xf1, 0x93, 0xa4 |
| 1589 | DEFINE_GUID(IID_IDirect3D9Ex, 0x02177241, 0x69fc, 0x400c, 0x8f, 0xf1, 0x93, 0xa4, 0x4d, 0xf6, 0x86, 0x1d); | 1589 | DEFINE_GUID(IID_IDirect3D9Ex, 0x02177241, 0x69fc, 0x400c, 0x8f, 0xf1, 0x93, 0xa4, 0x4d, 0xf6, 0x86, 0x1d); |
| 1590 | 1590 | ||
| 1591 | #define INTERFACE IDirect3D9Ex | 1591 | #define INTERFACE IDirect3D9Ex |
| 1592 | DECLARE_INTERFACE_(IDirect3D9Ex, IDirect3D9) | 1592 | DECLARE_INTERFACE_IID_(IDirect3D9Ex,IDirect3D9,"02177241-69fc-400c-8ff1-93a44df6861d") |
| 1593 | { | 1593 | { |
| 1594 | /* IUnknown */ | 1594 | /* IUnknown */ |
| 1595 | STDMETHOD_(HRESULT, QueryInterface)(THIS_ REFIID iid, void **out) PURE; | 1595 | STDMETHOD_(HRESULT, QueryInterface)(THIS_ REFIID iid, void **out) PURE; |
| ... | @@ -1688,7 +1688,7 @@ __CRT_UUID_DECL(IDirect3DSwapChain9Ex, 0x91886caf, 0x1c3d, 0x4d2e, 0xa0, 0xab, 0 | ... | @@ -1688,7 +1688,7 @@ __CRT_UUID_DECL(IDirect3DSwapChain9Ex, 0x91886caf, 0x1c3d, 0x4d2e, 0xa0, 0xab, 0 |
| 1688 | DEFINE_GUID(IID_IDirect3DSwapChain9Ex, 0x91886caf, 0x1c3d, 0x4d2e, 0xa0, 0xab, 0x3e, 0x4c, 0x7d, 0x8d, 0x33, 0x3); | 1688 | DEFINE_GUID(IID_IDirect3DSwapChain9Ex, 0x91886caf, 0x1c3d, 0x4d2e, 0xa0, 0xab, 0x3e, 0x4c, 0x7d, 0x8d, 0x33, 0x3); |
| 1689 | 1689 | ||
| 1690 | #define INTERFACE IDirect3DSwapChain9Ex | 1690 | #define INTERFACE IDirect3DSwapChain9Ex |
| 1691 | DECLARE_INTERFACE_(IDirect3DSwapChain9Ex, IDirect3DSwapChain9) | 1691 | DECLARE_INTERFACE_IID_(IDirect3DSwapChain9Ex,IDirect3DSwapChain9,"91886caf-1c3d-4d2e-a0ab-3e4c7d8d3303") |
| 1692 | { | 1692 | { |
| 1693 | /* IUnknown */ | 1693 | /* IUnknown */ |
| 1694 | STDMETHOD_(HRESULT, QueryInterface)(THIS_ REFIID iid, void **out) PURE; | 1694 | STDMETHOD_(HRESULT, QueryInterface)(THIS_ REFIID iid, void **out) PURE; |
| ... | @@ -1753,7 +1753,7 @@ __CRT_UUID_DECL(IDirect3DDevice9Ex, 0xb18b10ce, 0x2649, 0x405a, 0x87, 0xf, 0x95, | ... | @@ -1753,7 +1753,7 @@ __CRT_UUID_DECL(IDirect3DDevice9Ex, 0xb18b10ce, 0x2649, 0x405a, 0x87, 0xf, 0x95, |
| 1753 | DEFINE_GUID(IID_IDirect3DDevice9Ex, 0xb18b10ce, 0x2649, 0x405a, 0x87, 0xf, 0x95, 0xf7, 0x77, 0xd4, 0x31, 0x3a); | 1753 | DEFINE_GUID(IID_IDirect3DDevice9Ex, 0xb18b10ce, 0x2649, 0x405a, 0x87, 0xf, 0x95, 0xf7, 0x77, 0xd4, 0x31, 0x3a); |
| 1754 | 1754 | ||
| 1755 | #define INTERFACE IDirect3DDevice9Ex | 1755 | #define INTERFACE IDirect3DDevice9Ex |
| 1756 | DECLARE_INTERFACE_(IDirect3DDevice9Ex, IDirect3DDevice9) | 1756 | DECLARE_INTERFACE_IID_(IDirect3DDevice9Ex,IDirect3DDevice9,"b18b10ce-2649-405a-870f-95f777d4313a") |
| 1757 | { | 1757 | { |
| 1758 | /* IUnknown */ | 1758 | /* IUnknown */ |
| 1759 | STDMETHOD_(HRESULT, QueryInterface)(THIS_ REFIID iid, void **out) PURE; | 1759 | STDMETHOD_(HRESULT, QueryInterface)(THIS_ REFIID iid, void **out) PURE; |
lib/libc/include/any-windows-any/d3d9caps.h+2-2| ... | @@ -21,7 +21,7 @@ | ... | @@ -21,7 +21,7 @@ |
| 21 | #define __WINE_D3D9CAPS_H | 21 | #define __WINE_D3D9CAPS_H |
| 22 | 22 | ||
| 23 | #ifdef __i386__ | 23 | #ifdef __i386__ |
| 24 | #include <pshpack4.h> | 24 | #pragma pack(push,4) |
| 25 | #endif | 25 | #endif |
| 26 | 26 | ||
| 27 | /* | 27 | /* |
| ... | @@ -449,7 +449,7 @@ DEFINE_GUID(D3DKEYEXCHANGE_DXVA, 0x43d3775c, 0x38e5, 0x4924, 0x8d, 0x86, | ... | @@ -449,7 +449,7 @@ DEFINE_GUID(D3DKEYEXCHANGE_DXVA, 0x43d3775c, 0x38e5, 0x4924, 0x8d, 0x86, |
| 449 | #endif | 449 | #endif |
| 450 | 450 | ||
| 451 | #ifdef __i386__ | 451 | #ifdef __i386__ |
| 452 | #include <poppack.h> | 452 | #pragma pack(pop) |
| 453 | #endif | 453 | #endif |
| 454 | 454 | ||
| 455 | #endif | 455 | #endif |
lib/libc/include/any-windows-any/d3d9types.h+4-4| ... | @@ -22,7 +22,7 @@ | ... | @@ -22,7 +22,7 @@ |
| 22 | #define __WINE_D3D9TYPES_H | 22 | #define __WINE_D3D9TYPES_H |
| 23 | 23 | ||
| 24 | #ifdef __i386__ | 24 | #ifdef __i386__ |
| 25 | #include <pshpack4.h> | 25 | #pragma pack(push,4) |
| 26 | #endif | 26 | #endif |
| 27 | 27 | ||
| 28 | /***************************************************************************** | 28 | /***************************************************************************** |
| ... | @@ -1366,9 +1366,9 @@ typedef struct D3DRESOURCESTATS { | ... | @@ -1366,9 +1366,9 @@ typedef struct D3DRESOURCESTATS { |
| 1366 | DWORD TotalBytes; | 1366 | DWORD TotalBytes; |
| 1367 | } D3DRESOURCESTATS; | 1367 | } D3DRESOURCESTATS; |
| 1368 | 1368 | ||
| 1369 | typedef struct _D3DDEVINFO_D3DRESOURCEMANAGER { | 1369 | typedef struct _D3DDEVINFO_RESOURCEMANAGER { |
| 1370 | D3DRESOURCESTATS stats[D3DRTYPECOUNT]; | 1370 | D3DRESOURCESTATS stats[D3DRTYPECOUNT]; |
| 1371 | } D3DDEVINFO_D3DRESOURCEMANAGER; | 1371 | } D3DDEVINFO_RESOURCEMANAGER; |
| 1372 | 1372 | ||
| 1373 | typedef struct _D3DDEVINFO_D3DVERTEXSTATS { | 1373 | typedef struct _D3DDEVINFO_D3DVERTEXSTATS { |
| 1374 | DWORD NumRenderedTriangles; | 1374 | DWORD NumRenderedTriangles; |
| ... | @@ -1632,7 +1632,7 @@ typedef enum _D3DSHADER_COMPARISON | ... | @@ -1632,7 +1632,7 @@ typedef enum _D3DSHADER_COMPARISON |
| 1632 | } D3DSHADER_COMPARISON; | 1632 | } D3DSHADER_COMPARISON; |
| 1633 | 1633 | ||
| 1634 | #ifdef __i386__ | 1634 | #ifdef __i386__ |
| 1635 | #include <poppack.h> | 1635 | #pragma pack(pop) |
| 1636 | #endif | 1636 | #endif |
| 1637 | 1637 | ||
| 1638 | #endif /* __WINE_D3D9TYPES_H */ | 1638 | #endif /* __WINE_D3D9TYPES_H */ |
lib/libc/include/any-windows-any/d3dcaps.h+2-2| ... | @@ -22,7 +22,7 @@ | ... | @@ -22,7 +22,7 @@ |
| 22 | #include <ddraw.h> | 22 | #include <ddraw.h> |
| 23 | 23 | ||
| 24 | #ifdef __i386__ | 24 | #ifdef __i386__ |
| 25 | #include <pshpack4.h> | 25 | #pragma pack(push,4) |
| 26 | #endif | 26 | #endif |
| 27 | 27 | ||
| 28 | typedef struct _D3DTRANSFORMCAPS { | 28 | typedef struct _D3DTRANSFORMCAPS { |
| ... | @@ -433,7 +433,7 @@ typedef struct _D3DDEVINFO_TEXTURING { | ... | @@ -433,7 +433,7 @@ typedef struct _D3DDEVINFO_TEXTURING { |
| 433 | } D3DDEVINFO_TEXTURING, *LPD3DDEVINFO_TEXTURING; | 433 | } D3DDEVINFO_TEXTURING, *LPD3DDEVINFO_TEXTURING; |
| 434 | 434 | ||
| 435 | #ifdef __i386__ | 435 | #ifdef __i386__ |
| 436 | #include <poppack.h> | 436 | #pragma pack(pop) |
| 437 | #endif | 437 | #endif |
| 438 | 438 | ||
| 439 | #endif | 439 | #endif |
lib/libc/include/any-windows-any/d3dcommon.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/d3dcommon.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/d3dcommon.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/d3drmobj.h+8-8| ... | @@ -279,7 +279,7 @@ DECLARE_INTERFACE_(IDirect3DRMObject2,IUnknown) | ... | @@ -279,7 +279,7 @@ DECLARE_INTERFACE_(IDirect3DRMObject2,IUnknown) |
| 279 | #define IDirect3DRMObject2_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) | 279 | #define IDirect3DRMObject2_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) |
| 280 | #define IDirect3DRMObject2_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) | 280 | #define IDirect3DRMObject2_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) |
| 281 | #define IDirect3DRMObject2_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) | 281 | #define IDirect3DRMObject2_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) |
| 282 | #define IDirect3DRMObject2_GetClientData(p,a,b) (p)->lpVtbl->SetClientData(p,a,b) | 282 | #define IDirect3DRMObject2_GetClientData(p,a,b) (p)->lpVtbl->GetClientData(p,a,b) |
| 283 | #define IDirect3DRMObject2_GetDirect3DRM(p,a) (p)->lpVtbl->GetDirect3DRM(p,a) | 283 | #define IDirect3DRMObject2_GetDirect3DRM(p,a) (p)->lpVtbl->GetDirect3DRM(p,a) |
| 284 | #define IDirect3DRMObject2_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) | 284 | #define IDirect3DRMObject2_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) |
| 285 | #define IDirect3DRMObject2_SetClientData(p,a,b,c) (p)->lpVtbl->SetClientData(p,a,b,c) | 285 | #define IDirect3DRMObject2_SetClientData(p,a,b,c) (p)->lpVtbl->SetClientData(p,a,b,c) |
| ... | @@ -294,7 +294,7 @@ DECLARE_INTERFACE_(IDirect3DRMObject2,IUnknown) | ... | @@ -294,7 +294,7 @@ DECLARE_INTERFACE_(IDirect3DRMObject2,IUnknown) |
| 294 | #define IDirect3DRMObject2_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) | 294 | #define IDirect3DRMObject2_AddDestroyCallback(p,a,b) (p)->AddDestroyCallback(a,b) |
| 295 | #define IDirect3DRMObject2_Clone(p,a,b,c) (p)->Clone(a,b,c) | 295 | #define IDirect3DRMObject2_Clone(p,a,b,c) (p)->Clone(a,b,c) |
| 296 | #define IDirect3DRMObject2_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) | 296 | #define IDirect3DRMObject2_DeleteDestroyCallback(p,a,b) (p)->DeleteDestroyCallback(a,b) |
| 297 | #define IDirect3DRMObject2_GetClientData(p,a,b) (p)->SetClientData(a,b) | 297 | #define IDirect3DRMObject2_GetClientData(p,a,b) (p)->GetClientData(a,b) |
| 298 | #define IDirect3DRMObject2_GetDirect3DRM(p,a) (p)->GetDirect3DRM(a) | 298 | #define IDirect3DRMObject2_GetDirect3DRM(p,a) (p)->GetDirect3DRM(a) |
| 299 | #define IDirect3DRMObject2_GetName(p,a,b) (p)->GetName(a,b) | 299 | #define IDirect3DRMObject2_GetName(p,a,b) (p)->GetName(a,b) |
| 300 | #define IDirect3DRMObject2_SetClientData(p,a,b,c) (p)->SetClientData(a,b,c) | 300 | #define IDirect3DRMObject2_SetClientData(p,a,b,c) (p)->SetClientData(a,b,c) |
| ... | @@ -991,7 +991,7 @@ DECLARE_INTERFACE_(IDirect3DRMViewport2,IDirect3DRMObject) | ... | @@ -991,7 +991,7 @@ DECLARE_INTERFACE_(IDirect3DRMViewport2,IDirect3DRMObject) |
| 991 | #define IDirect3DRMViewport2_AddRef(p) (p)->lpVtbl->AddRef(p) | 991 | #define IDirect3DRMViewport2_AddRef(p) (p)->lpVtbl->AddRef(p) |
| 992 | #define IDirect3DRMViewport2_Release(p) (p)->lpVtbl->Release(p) | 992 | #define IDirect3DRMViewport2_Release(p) (p)->lpVtbl->Release(p) |
| 993 | /*** IDirect3DRMObject methods ***/ | 993 | /*** IDirect3DRMObject methods ***/ |
| 994 | #define IDirect3DRMViewport_2Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) | 994 | #define IDirect3DRMViewport2_Clone(p,a,b,c) (p)->lpVtbl->Clone(p,a,b,c) |
| 995 | #define IDirect3DRMViewport2_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) | 995 | #define IDirect3DRMViewport2_AddDestroyCallback(p,a,b) (p)->lpVtbl->AddDestroyCallback(p,a,b) |
| 996 | #define IDirect3DRMViewport2_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) | 996 | #define IDirect3DRMViewport2_DeleteDestroyCallback(p,a,b) (p)->lpVtbl->DeleteDestroyCallback(p,a,b) |
| 997 | #define IDirect3DRMViewport2_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) | 997 | #define IDirect3DRMViewport2_SetAppData(p,a) (p)->lpVtbl->SetAppData(p,a) |
| ... | @@ -2155,7 +2155,7 @@ DECLARE_INTERFACE_(IDirect3DRMShadow,IDirect3DRMVisual) | ... | @@ -2155,7 +2155,7 @@ DECLARE_INTERFACE_(IDirect3DRMShadow,IDirect3DRMVisual) |
| 2155 | #define IDirect3DRMShadow_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) | 2155 | #define IDirect3DRMShadow_GetName(p,a,b) (p)->lpVtbl->GetName(p,a,b) |
| 2156 | #define IDirect3DRMShadow_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) | 2156 | #define IDirect3DRMShadow_GetClassName(p,a,b) (p)->lpVtbl->GetClassName(p,a,b) |
| 2157 | /*** IDirect3DRMShadow methods ***/ | 2157 | /*** IDirect3DRMShadow methods ***/ |
| 2158 | #define IDirect3DRMShadow_Init(p,a,b,c,d,e,f,g) (p)->lpVtbl->Load(p,a,b,c,d,e,f,g) | 2158 | #define IDirect3DRMShadow_Init(p,a,b,c,d,e,f,g) (p)->lpVtbl->Init(p,a,b,c,d,e,f,g) |
| 2159 | #else | 2159 | #else |
| 2160 | /*** IUnknown methods ***/ | 2160 | /*** IUnknown methods ***/ |
| 2161 | #define IDirect3DRMShadow_QueryInterface(p,a,b) (p)->QueryInterface(a,b) | 2161 | #define IDirect3DRMShadow_QueryInterface(p,a,b) (p)->QueryInterface(a,b) |
| ... | @@ -2171,7 +2171,7 @@ DECLARE_INTERFACE_(IDirect3DRMShadow,IDirect3DRMVisual) | ... | @@ -2171,7 +2171,7 @@ DECLARE_INTERFACE_(IDirect3DRMShadow,IDirect3DRMVisual) |
| 2171 | #define IDirect3DRMShadow_GetName(p,a,b) (p)->GetName(a,b) | 2171 | #define IDirect3DRMShadow_GetName(p,a,b) (p)->GetName(a,b) |
| 2172 | #define IDirect3DRMShadow_GetClassName(p,a,b) (p)->GetClassName(a,b) | 2172 | #define IDirect3DRMShadow_GetClassName(p,a,b) (p)->GetClassName(a,b) |
| 2173 | /*** IDirect3DRMShadow methods ***/ | 2173 | /*** IDirect3DRMShadow methods ***/ |
| 2174 | #define IDirect3DRMShadow_Init(p,a,b,c,d,e,f,g) (p)->Load(a,b,c,d,e,f,g) | 2174 | #define IDirect3DRMShadow_Init(p,a,b,c,d,e,f,g) (p)->Init(a,b,c,d,e,f,g) |
| 2175 | #endif | 2175 | #endif |
| 2176 | 2176 | ||
| 2177 | /***************************************************************************** | 2177 | /***************************************************************************** |
| ... | @@ -3251,7 +3251,7 @@ DECLARE_INTERFACE_(IDirect3DRMTexture, IDirect3DRMVisual) | ... | @@ -3251,7 +3251,7 @@ DECLARE_INTERFACE_(IDirect3DRMTexture, IDirect3DRMVisual) |
| 3251 | #define IDirect3DRMTexture_SetDecalOrigin(p,a,b) (p)->lpVtbl->SetDecalOrigin(p,a,b) | 3251 | #define IDirect3DRMTexture_SetDecalOrigin(p,a,b) (p)->lpVtbl->SetDecalOrigin(p,a,b) |
| 3252 | #define IDirect3DRMTexture_SetDecalScale(p,a) (p)->lpVtbl->SetDecalScale(p,a) | 3252 | #define IDirect3DRMTexture_SetDecalScale(p,a) (p)->lpVtbl->SetDecalScale(p,a) |
| 3253 | #define IDirect3DRMTexture_SetDecalTransparency(p,a) (p)->lpVtbl->SetDecalTransparency(p,a) | 3253 | #define IDirect3DRMTexture_SetDecalTransparency(p,a) (p)->lpVtbl->SetDecalTransparency(p,a) |
| 3254 | #define IDirect3DRMTexture_SetDecalTransparencyColor(p,a) (p)->lpVtbl->SetDecalTransparentColor(p,a) | 3254 | #define IDirect3DRMTexture_SetDecalTransparentColor(p,a) (p)->lpVtbl->SetDecalTransparentColor(p,a) |
| 3255 | #define IDirect3DRMTexture_GetDecalSize(p,a,b) (p)->lpVtbl->GetDecalSize(p,a,b) | 3255 | #define IDirect3DRMTexture_GetDecalSize(p,a,b) (p)->lpVtbl->GetDecalSize(p,a,b) |
| 3256 | #define IDirect3DRMTexture_GetDecalOrigin(p,a,b) (p)->lpVtbl->GetDecalOrigin(p,a,b) | 3256 | #define IDirect3DRMTexture_GetDecalOrigin(p,a,b) (p)->lpVtbl->GetDecalOrigin(p,a,b) |
| 3257 | #define IDirect3DRMTexture_GetImage(p) (p)->lpVtbl->GetImage(p) | 3257 | #define IDirect3DRMTexture_GetImage(p) (p)->lpVtbl->GetImage(p) |
| ... | @@ -3367,7 +3367,7 @@ DECLARE_INTERFACE_(IDirect3DRMTexture2, IDirect3DRMTexture) | ... | @@ -3367,7 +3367,7 @@ DECLARE_INTERFACE_(IDirect3DRMTexture2, IDirect3DRMTexture) |
| 3367 | #define IDirect3DRMTexture2_SetDecalOrigin(p,a,b) (p)->lpVtbl->SetDecalOrigin(p,a,b) | 3367 | #define IDirect3DRMTexture2_SetDecalOrigin(p,a,b) (p)->lpVtbl->SetDecalOrigin(p,a,b) |
| 3368 | #define IDirect3DRMTexture2_SetDecalScale(p,a) (p)->lpVtbl->SetDecalScale(p,a) | 3368 | #define IDirect3DRMTexture2_SetDecalScale(p,a) (p)->lpVtbl->SetDecalScale(p,a) |
| 3369 | #define IDirect3DRMTexture2_SetDecalTransparency(p,a) (p)->lpVtbl->SetDecalTransparency(p,a) | 3369 | #define IDirect3DRMTexture2_SetDecalTransparency(p,a) (p)->lpVtbl->SetDecalTransparency(p,a) |
| 3370 | #define IDirect3DRMTexture2_SetDecalTransparencyColor(p,a) (p)->lpVtbl->SetDecalTransparentColor(p,a) | 3370 | #define IDirect3DRMTexture2_SetDecalTransparentColor(p,a) (p)->lpVtbl->SetDecalTransparentColor(p,a) |
| 3371 | #define IDirect3DRMTexture2_GetDecalSize(p,a,b) (p)->lpVtbl->GetDecalSize(p,a,b) | 3371 | #define IDirect3DRMTexture2_GetDecalSize(p,a,b) (p)->lpVtbl->GetDecalSize(p,a,b) |
| 3372 | #define IDirect3DRMTexture2_GetDecalOrigin(p,a,b) (p)->lpVtbl->GetDecalOrigin(p,a,b) | 3372 | #define IDirect3DRMTexture2_GetDecalOrigin(p,a,b) (p)->lpVtbl->GetDecalOrigin(p,a,b) |
| 3373 | #define IDirect3DRMTexture2_GetImage(p) (p)->lpVtbl->GetImage(p) | 3373 | #define IDirect3DRMTexture2_GetImage(p) (p)->lpVtbl->GetImage(p) |
| ... | @@ -3537,7 +3537,7 @@ DECLARE_INTERFACE_(IDirect3DRMTexture3, IDirect3DRMVisual) | ... | @@ -3537,7 +3537,7 @@ DECLARE_INTERFACE_(IDirect3DRMTexture3, IDirect3DRMVisual) |
| 3537 | #define IDirect3DRMTexture3_SetDecalOrigin(p,a,b) (p)->SetDecalOrigin(a,b) | 3537 | #define IDirect3DRMTexture3_SetDecalOrigin(p,a,b) (p)->SetDecalOrigin(a,b) |
| 3538 | #define IDirect3DRMTexture3_SetDecalScale(p,a) (p)->SetDecalScale(a) | 3538 | #define IDirect3DRMTexture3_SetDecalScale(p,a) (p)->SetDecalScale(a) |
| 3539 | #define IDirect3DRMTexture3_SetDecalTransparency(p,a) (p)->SetDecalTransparency(a) | 3539 | #define IDirect3DRMTexture3_SetDecalTransparency(p,a) (p)->SetDecalTransparency(a) |
| 3540 | #define IDirect3DRMTexture3_SetDecalTransparencyColor(p,a) (p)->SetDecalTransparentColor(a) | 3540 | #define IDirect3DRMTexture3_SetDecalTransparentColor(p,a) (p)->SetDecalTransparentColor(a) |
| 3541 | #define IDirect3DRMTexture3_GetDecalSize(p,a,b) (p)->GetDecalSize(a,b) | 3541 | #define IDirect3DRMTexture3_GetDecalSize(p,a,b) (p)->GetDecalSize(a,b) |
| 3542 | #define IDirect3DRMTexture3_GetDecalOrigin(p,a,b) (p)->GetDecalOrigin(a,b) | 3542 | #define IDirect3DRMTexture3_GetDecalOrigin(p,a,b) (p)->GetDecalOrigin(a,b) |
| 3543 | #define IDirect3DRMTexture3_GetImage(p) (p)->GetImage() | 3543 | #define IDirect3DRMTexture3_GetImage(p) (p)->GetImage() |
lib/libc/include/any-windows-any/d3dtypes.h+2-2| ... | @@ -30,7 +30,7 @@ | ... | @@ -30,7 +30,7 @@ |
| 30 | #include <ddraw.h> | 30 | #include <ddraw.h> |
| 31 | 31 | ||
| 32 | #ifdef __i386__ | 32 | #ifdef __i386__ |
| 33 | #include <pshpack4.h> | 33 | #pragma pack(push,4) |
| 34 | #endif | 34 | #endif |
| 35 | 35 | ||
| 36 | #define D3DVALP(val, prec) ((float)(val)) | 36 | #define D3DVALP(val, prec) ((float)(val)) |
| ... | @@ -1364,7 +1364,7 @@ typedef enum _D3DTEXTURETRANSFORMFLAGS { | ... | @@ -1364,7 +1364,7 @@ typedef enum _D3DTEXTURETRANSFORMFLAGS { |
| 1364 | #define D3DFVF_TEXCOORDSIZE1(CoordIndex) (D3DFVF_TEXTUREFORMAT1 << (CoordIndex*2 + 16)) | 1364 | #define D3DFVF_TEXCOORDSIZE1(CoordIndex) (D3DFVF_TEXTUREFORMAT1 << (CoordIndex*2 + 16)) |
| 1365 | 1365 | ||
| 1366 | #ifdef __i386__ | 1366 | #ifdef __i386__ |
| 1367 | #include <poppack.h> | 1367 | #pragma pack(pop) |
| 1368 | #endif | 1368 | #endif |
| 1369 | 1369 | ||
| 1370 | #endif | 1370 | #endif |
lib/libc/include/any-windows-any/d3dx9shader.h+1-1| ... | @@ -214,7 +214,7 @@ DECLARE_INTERFACE_(ID3DXConstantTable, ID3DXBuffer) | ... | @@ -214,7 +214,7 @@ DECLARE_INTERFACE_(ID3DXConstantTable, ID3DXBuffer) |
| 214 | /*** ID3DXConstantTable methods ***/ | 214 | /*** ID3DXConstantTable methods ***/ |
| 215 | #define ID3DXConstantTable_GetDesc(p,a) (p)->GetDesc(a) | 215 | #define ID3DXConstantTable_GetDesc(p,a) (p)->GetDesc(a) |
| 216 | #define ID3DXConstantTable_GetConstantDesc(p,a,b,c) (p)->GetConstantDesc(a,b,c) | 216 | #define ID3DXConstantTable_GetConstantDesc(p,a,b,c) (p)->GetConstantDesc(a,b,c) |
| 217 | #define ID3DXConstantTable_GetSamplerIndex(p,a) (p)->GetConstantDesc(a) | 217 | #define ID3DXConstantTable_GetSamplerIndex(p,a) (p)->GetSamplerIndex(a) |
| 218 | #define ID3DXConstantTable_GetConstant(p,a,b) (p)->GetConstant(a,b) | 218 | #define ID3DXConstantTable_GetConstant(p,a,b) (p)->GetConstant(a,b) |
| 219 | #define ID3DXConstantTable_GetConstantByName(p,a,b) (p)->GetConstantByName(a,b) | 219 | #define ID3DXConstantTable_GetConstantByName(p,a,b) (p)->GetConstantByName(a,b) |
| 220 | #define ID3DXConstantTable_GetConstantElement(p,a,b) (p)->GetConstantElement(a,b) | 220 | #define ID3DXConstantTable_GetConstantElement(p,a,b) (p)->GetConstantElement(a,b) |
lib/libc/include/any-windows-any/d3dx9tex.h+3| ... | @@ -182,6 +182,9 @@ HRESULT WINAPI D3DXLoadVolumeFromMemory(struct IDirect3DVolume9 *destvolume, | ... | @@ -182,6 +182,9 @@ HRESULT WINAPI D3DXLoadVolumeFromMemory(struct IDirect3DVolume9 *destvolume, |
| 182 | D3DFORMAT srcformat, UINT srcrowpitch, UINT srcslicepitch, const PALETTEENTRY *srcpalette, | 182 | D3DFORMAT srcformat, UINT srcrowpitch, UINT srcslicepitch, const PALETTEENTRY *srcpalette, |
| 183 | const D3DBOX *srcbox, DWORD filter, D3DCOLOR colorkey); | 183 | const D3DBOX *srcbox, DWORD filter, D3DCOLOR colorkey); |
| 184 | 184 | ||
| 185 | HRESULT WINAPI D3DXSaveVolumeToFileInMemory(struct ID3DXBuffer **dst_buffer, D3DXIMAGE_FILEFORMAT dst_format, | ||
| 186 | struct IDirect3DVolume9 *src_volume, const PALETTEENTRY *src_palette, const D3DBOX *src_box); | ||
| 187 | |||
| 185 | HRESULT WINAPI D3DXSaveVolumeToFileA(const char *destfile, D3DXIMAGE_FILEFORMAT destformat, | 188 | HRESULT WINAPI D3DXSaveVolumeToFileA(const char *destfile, D3DXIMAGE_FILEFORMAT destformat, |
| 186 | struct IDirect3DVolume9 *srcvolume, const PALETTEENTRY *srcpalette, const D3DBOX *srcbox); | 189 | struct IDirect3DVolume9 *srcvolume, const PALETTEENTRY *srcpalette, const D3DBOX *srcbox); |
| 187 | HRESULT WINAPI D3DXSaveVolumeToFileW(const WCHAR *destfile, D3DXIMAGE_FILEFORMAT destformat, | 190 | HRESULT WINAPI D3DXSaveVolumeToFileW(const WCHAR *destfile, D3DXIMAGE_FILEFORMAT destformat, |
lib/libc/include/any-windows-any/dbgprop.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dbgprop.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dbgprop.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dcommon.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dcommon.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dcommon.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dcompanimation.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dcompanimation.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dcompanimation.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/ddstream.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/ddstream.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/ddstream.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/devicetopology.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/devicetopology.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/devicetopology.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dimm.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dimm.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dimm.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dinputd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dinputd.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dinputd.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/directmanipulation.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/directmanipulation.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/directmanipulation.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dispex.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dispex.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dispex.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dmodshow.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dmodshow.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dmodshow.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dmplugin.h+2-2| ... | @@ -28,7 +28,7 @@ | ... | @@ -28,7 +28,7 @@ |
| 28 | #include <objbase.h> | 28 | #include <objbase.h> |
| 29 | #include <mmsystem.h> | 29 | #include <mmsystem.h> |
| 30 | #include <dmusici.h> | 30 | #include <dmusici.h> |
| 31 | #include <pshpack8.h> | 31 | #pragma pack(push,8) |
| 32 | 32 | ||
| 33 | #ifdef __cplusplus | 33 | #ifdef __cplusplus |
| 34 | extern "C" { | 34 | extern "C" { |
| ... | @@ -292,6 +292,6 @@ DECLARE_INTERFACE_(IDirectMusicTrack8,IDirectMusicTrack) | ... | @@ -292,6 +292,6 @@ DECLARE_INTERFACE_(IDirectMusicTrack8,IDirectMusicTrack) |
| 292 | } | 292 | } |
| 293 | #endif | 293 | #endif |
| 294 | 294 | ||
| 295 | #include <poppack.h> | 295 | #pragma pack(pop) |
| 296 | 296 | ||
| 297 | #endif /* __WINE_DMUSIC_PLUGIN_H */ | 297 | #endif /* __WINE_DMUSIC_PLUGIN_H */ |
lib/libc/include/any-windows-any/dmusbuff.h+2-2| ... | @@ -40,13 +40,13 @@ | ... | @@ -40,13 +40,13 @@ |
| 40 | typedef struct _DMUS_EVENTHEADER DMUS_EVENTHEADER, *LPDMUS_EVENTHEADER; | 40 | typedef struct _DMUS_EVENTHEADER DMUS_EVENTHEADER, *LPDMUS_EVENTHEADER; |
| 41 | 41 | ||
| 42 | /* actual structure*/ | 42 | /* actual structure*/ |
| 43 | #include <pshpack4.h> | 43 | #pragma pack(push,4) |
| 44 | struct _DMUS_EVENTHEADER { | 44 | struct _DMUS_EVENTHEADER { |
| 45 | DWORD cbEvent; | 45 | DWORD cbEvent; |
| 46 | DWORD dwChannelGroup; | 46 | DWORD dwChannelGroup; |
| 47 | REFERENCE_TIME rtDelta; | 47 | REFERENCE_TIME rtDelta; |
| 48 | DWORD dwFlags; | 48 | DWORD dwFlags; |
| 49 | }; | 49 | }; |
| 50 | #include <poppack.h> | 50 | #pragma pack(pop) |
| 51 | 51 | ||
| 52 | #endif /* __WINE_DMUSIC_BUFFER_H */ | 52 | #endif /* __WINE_DMUSIC_BUFFER_H */ |
lib/libc/include/any-windows-any/dmusicc.h+2-2| ... | @@ -34,7 +34,7 @@ | ... | @@ -34,7 +34,7 @@ |
| 34 | #include <dmusbuff.h> | 34 | #include <dmusbuff.h> |
| 35 | #include <strmif.h> | 35 | #include <strmif.h> |
| 36 | 36 | ||
| 37 | #include <pshpack8.h> | 37 | #pragma pack(push,8) |
| 38 | 38 | ||
| 39 | #ifdef __cplusplus | 39 | #ifdef __cplusplus |
| 40 | extern "C" { | 40 | extern "C" { |
| ... | @@ -724,6 +724,6 @@ DECLARE_INTERFACE_(IDirectMusicThru,IUnknown) | ... | @@ -724,6 +724,6 @@ DECLARE_INTERFACE_(IDirectMusicThru,IUnknown) |
| 724 | } | 724 | } |
| 725 | #endif | 725 | #endif |
| 726 | 726 | ||
| 727 | #include <poppack.h> | 727 | #pragma pack(pop) |
| 728 | 728 | ||
| 729 | #endif /* __WINE_DMUSIC_CORE_H */ | 729 | #endif /* __WINE_DMUSIC_CORE_H */ |
lib/libc/include/any-windows-any/dmusicf.h+2-2| ... | @@ -26,7 +26,7 @@ | ... | @@ -26,7 +26,7 @@ |
| 26 | #define COM_NO_WINDOWS_H | 26 | #define COM_NO_WINDOWS_H |
| 27 | #include <objbase.h> | 27 | #include <objbase.h> |
| 28 | #include <mmsystem.h> | 28 | #include <mmsystem.h> |
| 29 | #include <pshpack8.h> | 29 | #pragma pack(push,8) |
| 30 | 30 | ||
| 31 | #ifdef __cplusplus | 31 | #ifdef __cplusplus |
| 32 | extern "C" { | 32 | extern "C" { |
| ... | @@ -903,6 +903,6 @@ struct _DSOUND_IO_DXDMO_DATA { | ... | @@ -903,6 +903,6 @@ struct _DSOUND_IO_DXDMO_DATA { |
| 903 | } | 903 | } |
| 904 | #endif | 904 | #endif |
| 905 | 905 | ||
| 906 | #include <poppack.h> | 906 | #pragma pack(pop) |
| 907 | 907 | ||
| 908 | #endif /* __WINE_DMUSIC_FILEFORMATS_H */ | 908 | #endif /* __WINE_DMUSIC_FILEFORMATS_H */ |
lib/libc/include/any-windows-any/dmusici.h+2-2| ... | @@ -29,7 +29,7 @@ | ... | @@ -29,7 +29,7 @@ |
| 29 | #include <mmsystem.h> | 29 | #include <mmsystem.h> |
| 30 | #include <dmusicc.h> | 30 | #include <dmusicc.h> |
| 31 | #include <dmplugin.h> | 31 | #include <dmplugin.h> |
| 32 | #include <pshpack8.h> | 32 | #pragma pack(push,8) |
| 33 | 33 | ||
| 34 | #ifdef WINE_NO_UNICODE_MACROS | 34 | #ifdef WINE_NO_UNICODE_MACROS |
| 35 | #undef AddPort | 35 | #undef AddPort |
| ... | @@ -1714,6 +1714,6 @@ DECLARE_INTERFACE_(IDirectMusicContainer,IUnknown) | ... | @@ -1714,6 +1714,6 @@ DECLARE_INTERFACE_(IDirectMusicContainer,IUnknown) |
| 1714 | } | 1714 | } |
| 1715 | #endif | 1715 | #endif |
| 1716 | 1716 | ||
| 1717 | #include <poppack.h> | 1717 | #pragma pack(pop) |
| 1718 | 1718 | ||
| 1719 | #endif /* __WINE_DMUSIC_PERFORMANCE_H */ | 1719 | #endif /* __WINE_DMUSIC_PERFORMANCE_H */ |
lib/libc/include/any-windows-any/docobj.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/docobj.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/docobj.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/docobjectservice.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/docobjectservice.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/docobjectservice.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/documenttarget.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/documenttarget.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/documenttarget.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/downloadmgr.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/downloadmgr.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/downloadmgr.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dpnathlp.h+1-1| ... | @@ -183,7 +183,7 @@ DECLARE_INTERFACE_(IDirectPlayNATHelp,IUnknown) | ... | @@ -183,7 +183,7 @@ DECLARE_INTERFACE_(IDirectPlayNATHelp,IUnknown) |
| 183 | #define IDirectPlayNATHelp_QueryAddress(p,a,b,c,d,e) (p)->lpVtbl->QueryAddress(p,a,b,c,d,e) | 183 | #define IDirectPlayNATHelp_QueryAddress(p,a,b,c,d,e) (p)->lpVtbl->QueryAddress(p,a,b,c,d,e) |
| 184 | #define IDirectPlayNATHelp_SetAlertEvent(p,a,b) (p)->lpVtbl->SetAlertEvent(p,a,b) | 184 | #define IDirectPlayNATHelp_SetAlertEvent(p,a,b) (p)->lpVtbl->SetAlertEvent(p,a,b) |
| 185 | #define IDirectPlayNATHelp_SetAlertIOCompletionPort(p,a,b,c,d) (p)->lpVtbl->SetAlertIOCompletionPort(p,a,b,c,d) | 185 | #define IDirectPlayNATHelp_SetAlertIOCompletionPort(p,a,b,c,d) (p)->lpVtbl->SetAlertIOCompletionPort(p,a,b,c,d) |
| 186 | #define IDirectPlayNATHelp_ExtendRegisteredPortsLease(p,a,b,c) (p)->lpVtbl->SetAlertIOCompletionPort(p,a,b,c) | 186 | #define IDirectPlayNATHelp_ExtendRegisteredPortsLease(p,a,b,c) (p)->lpVtbl->ExtendRegisteredPortsLease(p,a,b,c) |
| 187 | #endif | 187 | #endif |
| 188 | 188 | ||
| 189 | #ifdef __cplusplus | 189 | #ifdef __cplusplus |
lib/libc/include/any-windows-any/drmexternals.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/drmexternals.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/drmexternals.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dvdif.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dvdif.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dvdif.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dwmapi.h+1-1| ... | @@ -100,7 +100,7 @@ extern "C" { | ... | @@ -100,7 +100,7 @@ extern "C" { |
| 100 | GT_TOUCH_RIGHTTAP = 7, | 100 | GT_TOUCH_RIGHTTAP = 7, |
| 101 | GT_TOUCH_PRESSANDHOLD = 8, | 101 | GT_TOUCH_PRESSANDHOLD = 8, |
| 102 | GT_TOUCH_PRESSANDHOLDABORT = 9, | 102 | GT_TOUCH_PRESSANDHOLDABORT = 9, |
| 103 | GT_TOUCH_PRESSANDTAP = 10, | 103 | GT_TOUCH_PRESSANDTAP = 10 |
| 104 | }; | 104 | }; |
| 105 | 105 | ||
| 106 | enum DWM_SHOWCONTACT { | 106 | enum DWM_SHOWCONTACT { |
lib/libc/include/any-windows-any/dwrite.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dwrite.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dwrite.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dwrite_1.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dwrite_1.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dwrite_1.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dwrite_2.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dwrite_2.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dwrite_2.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dwrite_3.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dwrite_3.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dwrite_3.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dxgi.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dxgi.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dxgi.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dxgi1_2.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dxgi1_2.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dxgi1_2.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dxgi1_3.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dxgi1_3.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dxgi1_3.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dxgi1_4.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dxgi1_4.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dxgi1_4.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dxgi1_5.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dxgi1_5.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dxgi1_5.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dxgi1_6.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dxgi1_6.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dxgi1_6.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dxgicommon.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dxgicommon.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dxgicommon.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dxgidebug.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dxgidebug.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dxgidebug.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dxgiformat.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dxgiformat.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dxgiformat.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dxgitype.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dxgitype.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dxgitype.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dxva.h+28-2| ... | @@ -99,11 +99,26 @@ DEFINE_GUID(DXVA_ModeJPEG_VLD_444, 0x4cd00e17, 0x89ba, 0x48ef, 0xb9, 0xf9, 0xed, | ... | @@ -99,11 +99,26 @@ DEFINE_GUID(DXVA_ModeJPEG_VLD_444, 0x4cd00e17, 0x89ba, 0x48ef, 0xb9, 0xf9, 0xed, |
| 99 | 99 | ||
| 100 | DEFINE_GUID(DXVA_NoEncrypt, 0x1b81bed0, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5); | 100 | DEFINE_GUID(DXVA_NoEncrypt, 0x1b81bed0, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5); |
| 101 | 101 | ||
| 102 | #define DXVA_ModeH264_MoComp_NoFGT DXVA_ModeH264_A | ||
| 103 | #define DXVA_ModeH264_MoComp_FGT DXVA_ModeH264_B | ||
| 104 | #define DXVA_ModeH264_IDCT_NoFGT DXVA_ModeH264_C | ||
| 105 | #define DXVA_ModeH264_IDCT_FGT DXVA_ModeH264_D | ||
| 106 | #define DXVA_ModeH264_VLD_NoFGT DXVA_ModeH264_E | ||
| 107 | #define DXVA_ModeH264_VLD_FGT DXVA_ModeH264_F | ||
| 108 | |||
| 102 | #define DXVA_USUAL_BLOCK_WIDTH 8 | 109 | #define DXVA_USUAL_BLOCK_WIDTH 8 |
| 103 | #define DXVA_USUAL_BLOCK_HEIGHT 8 | 110 | #define DXVA_USUAL_BLOCK_HEIGHT 8 |
| 104 | #define DXVA_USUAL_BLOCK_SIZE (DXVA_USUAL_BLOCK_WIDTH * DXVA_USUAL_BLOCK_HEIGHT) | 111 | #define DXVA_USUAL_BLOCK_SIZE (DXVA_USUAL_BLOCK_WIDTH * DXVA_USUAL_BLOCK_HEIGHT) |
| 105 | 112 | ||
| 106 | #include <pshpack1.h> | 113 | #define DXVA_PICTURE_DECODING_FUNCTION 1 |
| 114 | #define DXVA_ALPHA_BLEND_DATA_LOAD_FUNCTION 2 | ||
| 115 | #define DXVA_ALPHA_BLEND_COMBINATION_FUNCTION 3 | ||
| 116 | #define DXVA_PICTURE_RESAMPLE_FUNCTION 4 | ||
| 117 | #define DXVA_DEBLOCKING_FILTER_FUNCTION 5 | ||
| 118 | #define DXVA_FILM_GRAIN_SYNTHESIS_FUNCTION 6 | ||
| 119 | #define DXVA_STATUS_REPORTING_FUNCTION 7 | ||
| 120 | |||
| 121 | #pragma pack(push,1) | ||
| 107 | 122 | ||
| 108 | typedef struct _DXVA_PicEntry_H264 | 123 | typedef struct _DXVA_PicEntry_H264 |
| 109 | { | 124 | { |
| ... | @@ -309,6 +324,17 @@ typedef struct _DXVA_Slice_H264_Short | ... | @@ -309,6 +324,17 @@ typedef struct _DXVA_Slice_H264_Short |
| 309 | USHORT wBadSliceChopping; | 324 | USHORT wBadSliceChopping; |
| 310 | } DXVA_Slice_H264_Short, *LPDXVA_Slice_H264_Short; | 325 | } DXVA_Slice_H264_Short, *LPDXVA_Slice_H264_Short; |
| 311 | 326 | ||
| 327 | typedef struct _DXVA_Status_H264 | ||
| 328 | { | ||
| 329 | UINT StatusReportFeedbackNumber; | ||
| 330 | DXVA_PicEntry_H264 CurrPic; | ||
| 331 | UCHAR field_pic_flag; | ||
| 332 | UCHAR bDXVA_Func; | ||
| 333 | UCHAR bBufType; | ||
| 334 | UCHAR bStatus; | ||
| 335 | UCHAR bReserved8Bits; | ||
| 336 | USHORT wNumMbsAffected; | ||
| 337 | } DXVA_Status_H264, *LPDXVA_Status_H264; | ||
| 312 | 338 | ||
| 313 | typedef struct _DXVA_PicEntry_HEVC | 339 | typedef struct _DXVA_PicEntry_HEVC |
| 314 | { | 340 | { |
| ... | @@ -938,7 +964,7 @@ typedef struct _DXVA_Status_AV1 { | ... | @@ -938,7 +964,7 @@ typedef struct _DXVA_Status_AV1 { |
| 938 | USHORT NumMbsAffected; | 964 | USHORT NumMbsAffected; |
| 939 | } DXVA_Status_AV1, *LPDXVA_Status_AV1; | 965 | } DXVA_Status_AV1, *LPDXVA_Status_AV1; |
| 940 | 966 | ||
| 941 | #include <poppack.h> | 967 | #pragma pack(pop) |
| 942 | 968 | ||
| 943 | typedef enum _DXVA_VideoChromaSubsampling | 969 | typedef enum _DXVA_VideoChromaSubsampling |
| 944 | { | 970 | { |
lib/libc/include/any-windows-any/dxva2api.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dxva2api.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dxva2api.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/dxvahd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/dxvahd.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/dxvahd.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/emostore_i.c deleted-54| ... | @@ -1,54 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | #ifdef __cplusplus | ||
| 7 | extern "C"{ | ||
| 8 | #endif | ||
| 9 | |||
| 10 | #include <rpc.h> | ||
| 11 | #include <rpcndr.h> | ||
| 12 | |||
| 13 | #ifdef _MIDL_USE_GUIDDEF_ | ||
| 14 | #ifndef INITGUID | ||
| 15 | #define INITGUID | ||
| 16 | #include <guiddef.h> | ||
| 17 | #undef INITGUID | ||
| 18 | #else | ||
| 19 | #include <guiddef.h> | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) | ||
| 23 | #else | ||
| 24 | |||
| 25 | #ifndef __IID_DEFINED__ | ||
| 26 | #define __IID_DEFINED__ | ||
| 27 | typedef struct _IID { | ||
| 28 | unsigned long x; | ||
| 29 | unsigned short s1; | ||
| 30 | unsigned short s2; | ||
| 31 | unsigned char c[8]; | ||
| 32 | } IID; | ||
| 33 | #endif | ||
| 34 | |||
| 35 | #ifndef CLSID_DEFINED | ||
| 36 | #define CLSID_DEFINED | ||
| 37 | typedef IID CLSID; | ||
| 38 | #endif | ||
| 39 | |||
| 40 | #define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}} | ||
| 41 | #endif | ||
| 42 | |||
| 43 | MIDL_DEFINE_GUID(IID,IID_IExchangeServer,0x25150F47,0x5734,0x11d2,0xA5,0x93,0x00,0xC0,0x4F,0x99,0x0D,0x8A); | ||
| 44 | MIDL_DEFINE_GUID(IID,IID_IStorageGroup,0x25150F46,0x5734,0x11d2,0xA5,0x93,0x00,0xC0,0x4F,0x99,0x0D,0x8A); | ||
| 45 | MIDL_DEFINE_GUID(IID,IID_IPublicStoreDB,0x25150F44,0x5734,0x11d2,0xA5,0x93,0x00,0xC0,0x4F,0x99,0x0D,0x8A); | ||
| 46 | MIDL_DEFINE_GUID(IID,IID_IMailboxStoreDB,0x25150F45,0x5734,0x11d2,0xA5,0x93,0x00,0xC0,0x4F,0x99,0x0D,0x8A); | ||
| 47 | MIDL_DEFINE_GUID(IID,IID_IFolderTree,0x25150F43,0x5734,0x11d2,0xA5,0x93,0x00,0xC0,0x4F,0x99,0x0D,0x8A); | ||
| 48 | MIDL_DEFINE_GUID(IID,IID_IDataSource2,0x25150F48,0x5734,0x11d2,0xA5,0x93,0x00,0xC0,0x4F,0x99,0x0D,0x8A); | ||
| 49 | |||
| 50 | #undef MIDL_DEFINE_GUID | ||
| 51 | |||
| 52 | #ifdef __cplusplus | ||
| 53 | } | ||
| 54 | #endif | ||
lib/libc/include/any-windows-any/endpointvolume.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/endpointvolume.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/endpointvolume.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/evntprov.h+3-3| ... | @@ -1,6 +1,6 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /** | 1 | /** |
| 2 | * This file is part of the mingw-w64 runtime package. | 2 | * This file is part of the mingw-w64 runtime package. |
| 3 | * No warranty is given; refer to the file DISCLAIMER within this package. | 3 | * No warranty is given; refer to the file DISCLAIMER within this package. |
| 4 | */ | 4 | */ |
| 5 | /* | 5 | /* |
| 6 | * evntprov.h | 6 | * evntprov.h |
lib/libc/include/any-windows-any/evr.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/evr.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/evr.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/evr9.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/evr9.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/evr9.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/exdisp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/exdisp.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/exdisp.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/fenv.h+31-77| ... | @@ -6,44 +6,30 @@ | ... | @@ -6,44 +6,30 @@ |
| 6 | #ifndef _FENV_H_ | 6 | #ifndef _FENV_H_ |
| 7 | #define _FENV_H_ | 7 | #define _FENV_H_ |
| 8 | 8 | ||
| 9 | #include <crtdefs.h> | 9 | #include <float.h> |
| 10 | 10 | ||
| 11 | #if defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) | ||
| 12 | 11 | ||
| 13 | /* FPU status word exception flags */ | 12 | /* FPU status word exception flags */ |
| 14 | #define FE_INVALID 0x01 | 13 | #define FE_INEXACT _SW_INEXACT |
| 15 | #define FE_DIVBYZERO 0x02 | 14 | #define FE_UNDERFLOW _SW_UNDERFLOW |
| 16 | #define FE_OVERFLOW 0x04 | 15 | #define FE_OVERFLOW _SW_OVERFLOW |
| 17 | #define FE_UNDERFLOW 0x08 | 16 | #define FE_DIVBYZERO _SW_ZERODIVIDE |
| 18 | #define FE_INEXACT 0x10 | 17 | #define FE_INVALID _SW_INVALID |
| 19 | #define FE_ALL_EXCEPT (FE_INVALID | FE_DIVBYZERO | FE_OVERFLOW | FE_UNDERFLOW | FE_INEXACT) | 18 | #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | FE_OVERFLOW | FE_UNDERFLOW) |
| 20 | 19 | ||
| 21 | /* FPU control word rounding flags */ | 20 | /* FPU control word rounding flags */ |
| 22 | #define FE_TONEAREST 0x00000000 | 21 | #define FE_TONEAREST _RC_NEAR |
| 23 | #define FE_UPWARD 0x00400000 | 22 | #define FE_UPWARD _RC_UP |
| 24 | #define FE_DOWNWARD 0x00800000 | 23 | #define FE_DOWNWARD _RC_DOWN |
| 25 | #define FE_TOWARDZERO 0x00c00000 | 24 | #define FE_TOWARDZERO _RC_CHOP |
| 25 | |||
| 26 | #if defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) | ||
| 26 | 27 | ||
| 27 | /* Amount to shift by to convert an exception to a mask bit. */ | 28 | /* Amount to shift by to convert an exception to a mask bit. */ |
| 28 | #define FE_EXCEPT_SHIFT 0x08 | 29 | #define FE_EXCEPT_SHIFT 0x08 |
| 29 | 30 | ||
| 30 | #else | 31 | #else |
| 31 | 32 | ||
| 32 | #define FE_INVALID	0x01 | ||
| 33 | #define FE_DENORMAL	0x02 | ||
| 34 | #define FE_DIVBYZERO	0x04 | ||
| 35 | #define FE_OVERFLOW	0x08 | ||
| 36 | #define FE_UNDERFLOW	0x10 | ||
| 37 | #define FE_INEXACT	0x20 | ||
| 38 | #define FE_ALL_EXCEPT (FE_INVALID | FE_DENORMAL | FE_DIVBYZERO \ | ||
| 39 | 		 | FE_OVERFLOW | FE_UNDERFLOW | FE_INEXACT) | ||
| 40 | |||
| 41 | /* FPU control word rounding flags */ | ||
| 42 | #define FE_TONEAREST	0x0000 | ||
| 43 | #define FE_DOWNWARD	0x0400 | ||
| 44 | #define FE_UPWARD	0x0800 | ||
| 45 | #define FE_TOWARDZERO	0x0c00 | ||
| 46 | |||
| 47 | /* The MXCSR exception flags are the same as the | 33 | /* The MXCSR exception flags are the same as the |
| 48 | FE flags. */ | 34 | FE flags. */ |
| 49 | #define __MXCSR_EXCEPT_FLAG_SHIFT 0 | 35 | #define __MXCSR_EXCEPT_FLAG_SHIFT 0 |
| ... | @@ -60,68 +46,36 @@ | ... | @@ -60,68 +46,36 @@ |
| 60 | 46 | ||
| 61 | #ifndef RC_INVOKED | 47 | #ifndef RC_INVOKED |
| 62 | 48 | ||
| 63 | #if defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) | ||
| 64 | |||
| 65 | /* Type representing exception flags. */ | ||
| 66 | typedef unsigned int fexcept_t; | ||
| 67 | |||
| 68 | /* Type representing floating-point environment. */ | ||
| 69 | typedef struct | 49 | typedef struct |
| 70 | { | 50 | { |
| 71 | unsigned int __cw; | 51 | unsigned long _Fe_ctl; |
| 52 | unsigned long _Fe_stat; | ||
| 72 | } fenv_t; | 53 | } fenv_t; |
| 73 | 54 | ||
| 74 | /* If the default argument is used we use this value. */ | 55 | /* Type representing exception flags. */ |
| 75 | #define FE_DFL_ENV ((const fenv_t *) -1l) | 56 | typedef unsigned long fexcept_t; |
| 76 | 57 | ||
| 77 | #else | 58 | #ifdef __cplusplus |
| 59 | extern "C" { | ||
| 60 | #endif | ||
| 78 | 61 | ||
| 79 | /* | 62 | /* The FE_DFL_ENV macro is required by standard. |
| 80 | For now, support only for the basic abstraction of flags that are | 63 | fesetenv will use the environment set at app startup.*/ |
| 81 | either set or clear. fexcept_t could be structure that holds more | 64 | extern const fenv_t __mingw_fe_dfl_env; |
| 82 | info about the fp environment. | 65 | #define FE_DFL_ENV (&__mingw_fe_dfl_env) |
| 83 | */ | ||
| 84 | typedef unsigned short fexcept_t; | ||
| 85 | |||
| 86 | /* This 32-byte struct represents the entire floating point | ||
| 87 | environment as stored by fnstenv or fstenv, augmented by | ||
| 88 | the contents of the MXCSR register, as stored by stmxcsr | ||
| 89 | (if CPU supports it). */ | ||
| 90 | typedef struct | ||
| 91 | { | ||
| 92 | unsigned short __control_word; | ||
| 93 | unsigned short __unused0; | ||
| 94 | unsigned short __status_word; | ||
| 95 | unsigned short __unused1; | ||
| 96 | unsigned short __tag_word; | ||
| 97 | unsigned short __unused2; | ||
| 98 | unsigned int	 __ip_offset; /* instruction pointer offset */ | ||
| 99 | unsigned short __ip_selector; | ||
| 100 | unsigned short __opcode; | ||
| 101 | unsigned int	 __data_offset; | ||
| 102 | unsigned short __data_selector; | ||
| 103 | unsigned short __unused3; | ||
| 104 | unsigned int __mxcsr; /* contents of the MXCSR register */ | ||
| 105 | } fenv_t; | ||
| 106 | 66 | ||
| 67 | /* The C99 standard (7.6.9) allows us to define implementation-specific macros for | ||
| 68 | different fp environments */ | ||
| 69 | #if defined(__i386__) || defined(__x86_64__) | ||
| 107 | 70 | ||
| 108 | /*The C99 standard (7.6.9) allows us to define implementation-specific macros for | ||
| 109 | different fp environments */ | ||
| 110 | |||
| 111 | /* The default Intel x87 floating point environment (64-bit mantissa) */ | 71 | /* The default Intel x87 floating point environment (64-bit mantissa) */ |
| 112 | #define FE_PC64_ENV ((const fenv_t *)-1) | 72 | extern const fenv_t __mingw_fe_pc64_env; |
| 73 | #define FE_PC64_ENV (&__mingw_fe_pc64_env) | ||
| 113 | 74 | ||
| 114 | /* The floating point environment set by MSVCRT _fpreset (53-bit mantissa) */ | 75 | /* The floating point environment set by MSVCRT _fpreset (53-bit mantissa) */ |
| 115 | #define FE_PC53_ENV ((const fenv_t *)-2) | 76 | extern const fenv_t __mingw_fe_pc53_env; |
| 77 | #define FE_PC53_ENV (&__mingw_fe_pc53_env) | ||
| 116 | 78 | ||
| 117 | /* The FE_DFL_ENV macro is required by standard. | ||
| 118 | fesetenv will use the environment set at app startup.*/ | ||
| 119 | #define FE_DFL_ENV ((const fenv_t *) 0) | ||
| 120 | |||
| 121 | #endif /* defined(_ARM_) || defined(__arm__) */ | ||
| 122 | |||
| 123 | #ifdef __cplusplus | ||
| 124 | extern "C" { | ||
| 125 | #endif | 79 | #endif |
| 126 | 80 | ||
| 127 | /*TODO: Some of these could be inlined */ | 81 | /*TODO: Some of these could be inlined */ |
lib/libc/include/any-windows-any/filter.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/filter.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/filter.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/float.h+14| ... | @@ -181,6 +181,8 @@ | ... | @@ -181,6 +181,8 @@ |
| 181 | /* Control word values for unNew (use with related unMask above) */ | 181 | /* Control word values for unNew (use with related unMask above) */ |
| 182 | #define	_DN_SAVE	0x00000000 | 182 | #define	_DN_SAVE	0x00000000 |
| 183 | #define	_DN_FLUSH	0x01000000 | 183 | #define	_DN_FLUSH	0x01000000 |
| 184 | #define	_DN_FLUSH_OPERANDS_SAVE_RESULTS 0x02000000 | ||
| 185 | #define	_DN_SAVE_OPERANDS_FLUSH_RESULTS 0x03000000 | ||
| 184 | #define	_EM_INVALID	0x00000010 | 186 | #define	_EM_INVALID	0x00000010 |
| 185 | #define	_EM_DENORMAL	0x00080000 | 187 | #define	_EM_DENORMAL	0x00080000 |
| 186 | #define	_EM_ZERODIVIDE	0x00000008 | 188 | #define	_EM_ZERODIVIDE	0x00000008 |
| ... | @@ -196,6 +198,7 @@ | ... | @@ -196,6 +198,7 @@ |
| 196 | #define	_PC_24		0x00020000 | 198 | #define	_PC_24		0x00020000 |
| 197 | #define	_PC_53		0x00010000 | 199 | #define	_PC_53		0x00010000 |
| 198 | #define	_PC_64		0x00000000 | 200 | #define	_PC_64		0x00000000 |
| 201 | #define	_EM_AMBIGUOUS 0x80000000 | ||
| 199 | 202 | ||
| 200 | /* These are also defined in Mingw math.h, needed to work around | 203 | /* These are also defined in Mingw math.h, needed to work around |
| 201 | GCC build issues. */ | 204 | GCC build issues. */ |
| ... | @@ -214,6 +217,14 @@ | ... | @@ -214,6 +217,14 @@ |
| 214 | #define	_FPCLASS_PINF	0x0200	/* Positive Infinity */ | 217 | #define	_FPCLASS_PINF	0x0200	/* Positive Infinity */ |
| 215 | #endif /* __MINGW_FPCLASS_DEFINED */ | 218 | #endif /* __MINGW_FPCLASS_DEFINED */ |
| 216 | 219 | ||
| 220 | /* _statusfp bit flags */ | ||
| 221 | #define _SW_INEXACT 0x00000001 /* inexact (precision) */ | ||
| 222 | #define _SW_UNDERFLOW 0x00000002 /* underflow */ | ||
| 223 | #define _SW_OVERFLOW 0x00000004 /* overflow */ | ||
| 224 | #define _SW_ZERODIVIDE 0x00000008 /* zero divide */ | ||
| 225 | #define _SW_INVALID 0x00000010 /* invalid */ | ||
| 226 | #define _SW_DENORMAL 0x00080000 /* denormal status bit */ | ||
| 227 | |||
| 217 | /* invalid subconditions (_SW_INVALID also set) */ | 228 | /* invalid subconditions (_SW_INVALID also set) */ |
| 218 | #define _SW_UNEMULATED		0x0040 /* unemulated instruction */ | 229 | #define _SW_UNEMULATED		0x0040 /* unemulated instruction */ |
| 219 | #define _SW_SQRTNEG		0x0080 /* square root of a neg number */ | 230 | #define _SW_SQRTNEG		0x0080 /* square root of a neg number */ |
| ... | @@ -261,6 +272,9 @@ extern "C" { | ... | @@ -261,6 +272,9 @@ extern "C" { |
| 261 | _CRTIMP unsigned int __cdecl __MINGW_NOTHROW _controlfp (unsigned int _NewValue, unsigned int _Mask) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 272 | _CRTIMP unsigned int __cdecl __MINGW_NOTHROW _controlfp (unsigned int _NewValue, unsigned int _Mask) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 262 | _SECIMP errno_t __cdecl _controlfp_s(unsigned int *_CurrentState, unsigned int _NewValue, unsigned int _Mask); | 273 | _SECIMP errno_t __cdecl _controlfp_s(unsigned int *_CurrentState, unsigned int _NewValue, unsigned int _Mask); |
| 263 | _CRTIMP unsigned int __cdecl __MINGW_NOTHROW _control87 (unsigned int _NewValue, unsigned int _Mask); | 274 | _CRTIMP unsigned int __cdecl __MINGW_NOTHROW _control87 (unsigned int _NewValue, unsigned int _Mask); |
| 275 | #ifdef __i386__ | ||
| 276 | _CRTIMP int __cdecl __control87_2(unsigned int, unsigned int, unsigned int *, unsigned int *); | ||
| 277 | #endif | ||
| 264 | 278 | ||
| 265 | 279 | ||
| 266 | _CRTIMP unsigned int __cdecl __MINGW_NOTHROW _clearfp (void);	/* Clear the FPU status word */ | 280 | _CRTIMP unsigned int __cdecl __MINGW_NOTHROW _clearfp (void);	/* Clear the FPU status word */ |
lib/libc/include/any-windows-any/fsrm.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/fsrm.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/fsrm.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/fsrmenums.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/fsrmenums.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/fsrmenums.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/fsrmquota.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/fsrmquota.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/fsrmquota.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/fsrmreports.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/fsrmreports.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/fsrmreports.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/fsrmscreen.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/fsrmscreen.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/fsrmscreen.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/ftw.h+27-3| ... | @@ -53,10 +53,34 @@ extern "C" { | ... | @@ -53,10 +53,34 @@ extern "C" { |
| 53 | /* Continue with FTW_DP callback for current directory (if FTW_DEPTH) and then its siblings. */ | 53 | /* Continue with FTW_DP callback for current directory (if FTW_DEPTH) and then its siblings. */ |
| 54 | #define FTW_SKIP_SIBLINGS 3 | 54 | #define FTW_SKIP_SIBLINGS 3 |
| 55 | 55 | ||
| 56 | int ftw (const char *, int (*) (const char *, const struct stat *, int), int); | 56 | /* |
| 57 | int ftw64 (const char *, int (*) (const char *, const struct stat64 *, int), int); | 57 | * When building mingw-w64 CRT files it is required that the ftw and |
| 58 | * nftw functions are not declared with __MINGW_ASM_CALL redirection. | ||
| 59 | * Otherwise the mingw-w64 would provide broken ftw and nftw symbols. | ||
| 60 | * To prevent ABI issues, the mingw-w64 runtime should not call the ftw, | ||
| 61 | * and nftw functions, instead it should call the fixed-size variants. | ||
| 62 | */ | ||
| 63 | #ifndef _CRTBLD | ||
| 64 | #if defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64) | ||
| 65 | #ifdef _USE_32BIT_TIME_T | ||
| 66 | int ftw (const char *, int (*) (const char *, const struct stat *, int), int) __MINGW_ASM_CALL(ftw32i64); | ||
| 67 | int nftw (const char *, int (*) (const char *, const struct stat *, int , struct FTW *), int, int) __MINGW_ASM_CALL(nftw32i64); | ||
| 68 | #else | ||
| 69 | int ftw (const char *, int (*) (const char *, const struct stat *, int), int) __MINGW_ASM_CALL(ftw64); | ||
| 70 | int nftw (const char *, int (*) (const char *, const struct stat *, int , struct FTW *), int, int) __MINGW_ASM_CALL(nftw64); | ||
| 71 | #endif | ||
| 72 | #else | ||
| 73 | #ifdef _USE_32BIT_TIME_T | ||
| 74 | int ftw (const char *, int (*) (const char *, const struct stat *, int), int) __MINGW_ASM_CALL(ftw32); | ||
| 75 | int nftw (const char *, int (*) (const char *, const struct stat *, int , struct FTW *), int, int) __MINGW_ASM_CALL(nftw32); | ||
| 76 | #else | ||
| 77 | int ftw (const char *, int (*) (const char *, const struct stat *, int), int) __MINGW_ASM_CALL(ftw64i32); | ||
| 78 | int nftw (const char *, int (*) (const char *, const struct stat *, int , struct FTW *), int, int) __MINGW_ASM_CALL(nftw64i32); | ||
| 79 | #endif | ||
| 80 | #endif | ||
| 81 | #endif | ||
| 58 | 82 | ||
| 59 | int nftw (const char *, int (*) (const char *, const struct stat *, int , struct FTW *), int, int); | 83 | int ftw64 (const char *, int (*) (const char *, const struct stat64 *, int), int); |
| 60 | int nftw64 (const char *, int (*) (const char *, const struct stat64 *, int , struct FTW *), int, int); | 84 | int nftw64 (const char *, int (*) (const char *, const struct stat64 *, int , struct FTW *), int, int); |
| 61 | 85 | ||
| 62 | #ifdef __cplusplus | 86 | #ifdef __cplusplus |
lib/libc/include/any-windows-any/fusion.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/fusion.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/fusion.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/fwptypes.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/fwptypes.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/fwptypes.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/hstring.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/hstring.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/hstring.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/httprequest.h created+473| ... | @@ -0,0 +1,473 @@ | ||
| 1 | /*** Autogenerated by WIDL 10.4 from include/httprequest.idl - Do not edit ***/ | ||
| 2 | |||
| 3 | #ifdef _WIN32 | ||
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | ||
| 5 | #define __REQUIRED_RPCNDR_H_VERSION__ 475 | ||
| 6 | #endif | ||
| 7 | #include <rpc.h> | ||
| 8 | #include <rpcndr.h> | ||
| 9 | #endif | ||
| 10 | |||
| 11 | #ifndef COM_NO_WINDOWS_H | ||
| 12 | #include <windows.h> | ||
| 13 | #include <ole2.h> | ||
| 14 | #endif | ||
| 15 | |||
| 16 | #ifndef __httprequest_h__ | ||
| 17 | #define __httprequest_h__ | ||
| 18 | |||
| 19 | /* Forward declarations */ | ||
| 20 | |||
| 21 | #ifndef __IWinHttpRequest_FWD_DEFINED__ | ||
| 22 | #define __IWinHttpRequest_FWD_DEFINED__ | ||
| 23 | typedef interface IWinHttpRequest IWinHttpRequest; | ||
| 24 | #ifdef __cplusplus | ||
| 25 | interface IWinHttpRequest; | ||
| 26 | #endif /* __cplusplus */ | ||
| 27 | #endif | ||
| 28 | |||
| 29 | #ifndef __WinHttpRequest_FWD_DEFINED__ | ||
| 30 | #define __WinHttpRequest_FWD_DEFINED__ | ||
| 31 | #ifdef __cplusplus | ||
| 32 | typedef class WinHttpRequest WinHttpRequest; | ||
| 33 | #else | ||
| 34 | typedef struct WinHttpRequest WinHttpRequest; | ||
| 35 | #endif /* defined __cplusplus */ | ||
| 36 | #endif /* defined __WinHttpRequest_FWD_DEFINED__ */ | ||
| 37 | |||
| 38 | /* Headers for imported files */ | ||
| 39 | |||
| 40 | #include <oaidl.h> | ||
| 41 | |||
| 42 | #ifdef __cplusplus | ||
| 43 | extern "C" { | ||
| 44 | #endif | ||
| 45 | |||
| 46 | #ifndef __WinHttp_LIBRARY_DEFINED__ | ||
| 47 | #define __WinHttp_LIBRARY_DEFINED__ | ||
| 48 | |||
| 49 | DEFINE_GUID(LIBID_WinHttp, 0x662901fc, 0x6951, 0x4854, 0x9e,0xb2, 0xd9,0xa2,0x57,0x0f,0x2b,0x2e); | ||
| 50 | |||
| 51 | typedef LONG HTTPREQUEST_PROXY_SETTING; | ||
| 52 | #define HTTPREQUEST_PROXYSETTING_DEFAULT (0x0) | ||
| 53 | |||
| 54 | #define HTTPREQUEST_PROXYSETTING_PRECONFIG (0x0) | ||
| 55 | |||
| 56 | #define HTTPREQUEST_PROXYSETTING_DIRECT (0x1) | ||
| 57 | |||
| 58 | #define HTTPREQUEST_PROXYSETTING_PROXY (0x2) | ||
| 59 | |||
| 60 | typedef LONG HTTPREQUEST_SETCREDENTIALS_FLAGS; | ||
| 61 | #define HTTPREQUEST_SETCREDENTIALS_FOR_SERVER (0x0) | ||
| 62 | |||
| 63 | #define HTTPREQUEST_SETCREDENTIALS_FOR_PROXY (0x1) | ||
| 64 | |||
| 65 | typedef enum WinHttpRequestOption { | ||
| 66 | WinHttpRequestOption_UserAgentString = 0, | ||
| 67 | WinHttpRequestOption_URL = 1, | ||
| 68 | WinHttpRequestOption_URLCodePage = 2, | ||
| 69 | WinHttpRequestOption_EscapePercentInURL = 3, | ||
| 70 | WinHttpRequestOption_SslErrorIgnoreFlags = 4, | ||
| 71 | WinHttpRequestOption_SelectCertificate = 5, | ||
| 72 | WinHttpRequestOption_EnableRedirects = 6, | ||
| 73 | WinHttpRequestOption_UrlEscapeDisable = 7, | ||
| 74 | WinHttpRequestOption_UrlEscapeDisableQuery = 8, | ||
| 75 | WinHttpRequestOption_SecureProtocols = 9, | ||
| 76 | WinHttpRequestOption_EnableTracing = 10, | ||
| 77 | WinHttpRequestOption_RevertImpersonationOverSsl = 11, | ||
| 78 | WinHttpRequestOption_EnableHttpsToHttpRedirects = 12, | ||
| 79 | WinHttpRequestOption_EnablePassportAuthentication = 13, | ||
| 80 | WinHttpRequestOption_MaxAutomaticRedirects = 14, | ||
| 81 | WinHttpRequestOption_MaxResponseHeaderSize = 15, | ||
| 82 | WinHttpRequestOption_MaxResponseDrainSize = 16, | ||
| 83 | WinHttpRequestOption_EnableHttp1_1 = 17, | ||
| 84 | WinHttpRequestOption_EnableCertificateRevocationCheck = 18, | ||
| 85 | WinHttpRequestOption_RejectUserpwd = 19 | ||
| 86 | } WinHttpRequestOption; | ||
| 87 | typedef enum WinHttpRequestAutoLogonPolicy { | ||
| 88 | AutoLogonPolicy_Always = 0, | ||
| 89 | AutoLogonPolicy_OnlyIfBypassProxy = 1, | ||
| 90 | AutoLogonPolicy_Never = 2 | ||
| 91 | } WinHttpRequestAutoLogonPolicy; | ||
| 92 | /***************************************************************************** | ||
| 93 | * IWinHttpRequest interface | ||
| 94 | */ | ||
| 95 | #ifndef __IWinHttpRequest_INTERFACE_DEFINED__ | ||
| 96 | #define __IWinHttpRequest_INTERFACE_DEFINED__ | ||
| 97 | |||
| 98 | DEFINE_GUID(IID_IWinHttpRequest, 0x016fe2ec, 0xb2c8, 0x45f8, 0xb2,0x3b, 0x39,0xe5,0x3a,0x75,0x39,0x6b); | ||
| 99 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 100 | MIDL_INTERFACE("016fe2ec-b2c8-45f8-b23b-39e53a75396b") | ||
| 101 | IWinHttpRequest : public IDispatch | ||
| 102 | { | ||
| 103 | virtual HRESULT STDMETHODCALLTYPE SetProxy( | ||
| 104 | HTTPREQUEST_PROXY_SETTING proxy_setting, | ||
| 105 | VARIANT proxy_server, | ||
| 106 | VARIANT bypass_list) = 0; | ||
| 107 | |||
| 108 | virtual HRESULT STDMETHODCALLTYPE SetCredentials( | ||
| 109 | BSTR username, | ||
| 110 | BSTR password, | ||
| 111 | HTTPREQUEST_SETCREDENTIALS_FLAGS flags) = 0; | ||
| 112 | |||
| 113 | virtual HRESULT STDMETHODCALLTYPE Open( | ||
| 114 | BSTR method, | ||
| 115 | BSTR url, | ||
| 116 | VARIANT async) = 0; | ||
| 117 | |||
| 118 | virtual HRESULT STDMETHODCALLTYPE SetRequestHeader( | ||
| 119 | BSTR header, | ||
| 120 | BSTR value) = 0; | ||
| 121 | |||
| 122 | virtual HRESULT STDMETHODCALLTYPE GetResponseHeader( | ||
| 123 | BSTR header, | ||
| 124 | BSTR *value) = 0; | ||
| 125 | |||
| 126 | virtual HRESULT STDMETHODCALLTYPE GetAllResponseHeaders( | ||
| 127 | BSTR *headers) = 0; | ||
| 128 | |||
| 129 | virtual HRESULT STDMETHODCALLTYPE Send( | ||
| 130 | VARIANT body) = 0; | ||
| 131 | |||
| 132 | virtual HRESULT STDMETHODCALLTYPE get_Status( | ||
| 133 | LONG *status) = 0; | ||
| 134 | |||
| 135 | virtual HRESULT STDMETHODCALLTYPE get_StatusText( | ||
| 136 | BSTR *status) = 0; | ||
| 137 | |||
| 138 | virtual HRESULT STDMETHODCALLTYPE get_ResponseText( | ||
| 139 | BSTR *body) = 0; | ||
| 140 | |||
| 141 | virtual HRESULT STDMETHODCALLTYPE get_ResponseBody( | ||
| 142 | VARIANT *body) = 0; | ||
| 143 | |||
| 144 | virtual HRESULT STDMETHODCALLTYPE get_ResponseStream( | ||
| 145 | VARIANT *body) = 0; | ||
| 146 | |||
| 147 | virtual HRESULT STDMETHODCALLTYPE get_Option( | ||
| 148 | WinHttpRequestOption option, | ||
| 149 | VARIANT *value) = 0; | ||
| 150 | |||
| 151 | virtual HRESULT STDMETHODCALLTYPE put_Option( | ||
| 152 | WinHttpRequestOption option, | ||
| 153 | VARIANT value) = 0; | ||
| 154 | |||
| 155 | virtual HRESULT STDMETHODCALLTYPE WaitForResponse( | ||
| 156 | VARIANT timeout, | ||
| 157 | VARIANT_BOOL *succeeded) = 0; | ||
| 158 | |||
| 159 | virtual HRESULT STDMETHODCALLTYPE Abort( | ||
| 160 | ) = 0; | ||
| 161 | |||
| 162 | virtual HRESULT STDMETHODCALLTYPE SetTimeouts( | ||
| 163 | LONG resolve_timeout, | ||
| 164 | LONG connect_timeout, | ||
| 165 | LONG send_timeout, | ||
| 166 | LONG receive_timeout) = 0; | ||
| 167 | |||
| 168 | virtual HRESULT STDMETHODCALLTYPE SetClientCertificate( | ||
| 169 | BSTR certificate) = 0; | ||
| 170 | |||
| 171 | virtual HRESULT STDMETHODCALLTYPE SetAutoLogonPolicy( | ||
| 172 | WinHttpRequestAutoLogonPolicy policy) = 0; | ||
| 173 | |||
| 174 | }; | ||
| 175 | #ifdef __CRT_UUID_DECL | ||
| 176 | __CRT_UUID_DECL(IWinHttpRequest, 0x016fe2ec, 0xb2c8, 0x45f8, 0xb2,0x3b, 0x39,0xe5,0x3a,0x75,0x39,0x6b) | ||
| 177 | #endif | ||
| 178 | #else | ||
| 179 | typedef struct IWinHttpRequestVtbl { | ||
| 180 | BEGIN_INTERFACE | ||
| 181 | |||
| 182 | /*** IUnknown methods ***/ | ||
| 183 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 184 | IWinHttpRequest *This, | ||
| 185 | REFIID riid, | ||
| 186 | void **ppvObject); | ||
| 187 | |||
| 188 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 189 | IWinHttpRequest *This); | ||
| 190 | |||
| 191 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 192 | IWinHttpRequest *This); | ||
| 193 | |||
| 194 | /*** IDispatch methods ***/ | ||
| 195 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( | ||
| 196 | IWinHttpRequest *This, | ||
| 197 | UINT *pctinfo); | ||
| 198 | |||
| 199 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( | ||
| 200 | IWinHttpRequest *This, | ||
| 201 | UINT iTInfo, | ||
| 202 | LCID lcid, | ||
| 203 | ITypeInfo **ppTInfo); | ||
| 204 | |||
| 205 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( | ||
| 206 | IWinHttpRequest *This, | ||
| 207 | REFIID riid, | ||
| 208 | LPOLESTR *rgszNames, | ||
| 209 | UINT cNames, | ||
| 210 | LCID lcid, | ||
| 211 | DISPID *rgDispId); | ||
| 212 | |||
| 213 | HRESULT (STDMETHODCALLTYPE *Invoke)( | ||
| 214 | IWinHttpRequest *This, | ||
| 215 | DISPID dispIdMember, | ||
| 216 | REFIID riid, | ||
| 217 | LCID lcid, | ||
| 218 | WORD wFlags, | ||
| 219 | DISPPARAMS *pDispParams, | ||
| 220 | VARIANT *pVarResult, | ||
| 221 | EXCEPINFO *pExcepInfo, | ||
| 222 | UINT *puArgErr); | ||
| 223 | |||
| 224 | /*** IWinHttpRequest methods ***/ | ||
| 225 | HRESULT (STDMETHODCALLTYPE *SetProxy)( | ||
| 226 | IWinHttpRequest *This, | ||
| 227 | HTTPREQUEST_PROXY_SETTING proxy_setting, | ||
| 228 | VARIANT proxy_server, | ||
| 229 | VARIANT bypass_list); | ||
| 230 | |||
| 231 | HRESULT (STDMETHODCALLTYPE *SetCredentials)( | ||
| 232 | IWinHttpRequest *This, | ||
| 233 | BSTR username, | ||
| 234 | BSTR password, | ||
| 235 | HTTPREQUEST_SETCREDENTIALS_FLAGS flags); | ||
| 236 | |||
| 237 | HRESULT (STDMETHODCALLTYPE *Open)( | ||
| 238 | IWinHttpRequest *This, | ||
| 239 | BSTR method, | ||
| 240 | BSTR url, | ||
| 241 | VARIANT async); | ||
| 242 | |||
| 243 | HRESULT (STDMETHODCALLTYPE *SetRequestHeader)( | ||
| 244 | IWinHttpRequest *This, | ||
| 245 | BSTR header, | ||
| 246 | BSTR value); | ||
| 247 | |||
| 248 | HRESULT (STDMETHODCALLTYPE *GetResponseHeader)( | ||
| 249 | IWinHttpRequest *This, | ||
| 250 | BSTR header, | ||
| 251 | BSTR *value); | ||
| 252 | |||
| 253 | HRESULT (STDMETHODCALLTYPE *GetAllResponseHeaders)( | ||
| 254 | IWinHttpRequest *This, | ||
| 255 | BSTR *headers); | ||
| 256 | |||
| 257 | HRESULT (STDMETHODCALLTYPE *Send)( | ||
| 258 | IWinHttpRequest *This, | ||
| 259 | VARIANT body); | ||
| 260 | |||
| 261 | HRESULT (STDMETHODCALLTYPE *get_Status)( | ||
| 262 | IWinHttpRequest *This, | ||
| 263 | LONG *status); | ||
| 264 | |||
| 265 | HRESULT (STDMETHODCALLTYPE *get_StatusText)( | ||
| 266 | IWinHttpRequest *This, | ||
| 267 | BSTR *status); | ||
| 268 | |||
| 269 | HRESULT (STDMETHODCALLTYPE *get_ResponseText)( | ||
| 270 | IWinHttpRequest *This, | ||
| 271 | BSTR *body); | ||
| 272 | |||
| 273 | HRESULT (STDMETHODCALLTYPE *get_ResponseBody)( | ||
| 274 | IWinHttpRequest *This, | ||
| 275 | VARIANT *body); | ||
| 276 | |||
| 277 | HRESULT (STDMETHODCALLTYPE *get_ResponseStream)( | ||
| 278 | IWinHttpRequest *This, | ||
| 279 | VARIANT *body); | ||
| 280 | |||
| 281 | HRESULT (STDMETHODCALLTYPE *get_Option)( | ||
| 282 | IWinHttpRequest *This, | ||
| 283 | WinHttpRequestOption option, | ||
| 284 | VARIANT *value); | ||
| 285 | |||
| 286 | HRESULT (STDMETHODCALLTYPE *put_Option)( | ||
| 287 | IWinHttpRequest *This, | ||
| 288 | WinHttpRequestOption option, | ||
| 289 | VARIANT value); | ||
| 290 | |||
| 291 | HRESULT (STDMETHODCALLTYPE *WaitForResponse)( | ||
| 292 | IWinHttpRequest *This, | ||
| 293 | VARIANT timeout, | ||
| 294 | VARIANT_BOOL *succeeded); | ||
| 295 | |||
| 296 | HRESULT (STDMETHODCALLTYPE *Abort)( | ||
| 297 | IWinHttpRequest *This); | ||
| 298 | |||
| 299 | HRESULT (STDMETHODCALLTYPE *SetTimeouts)( | ||
| 300 | IWinHttpRequest *This, | ||
| 301 | LONG resolve_timeout, | ||
| 302 | LONG connect_timeout, | ||
| 303 | LONG send_timeout, | ||
| 304 | LONG receive_timeout); | ||
| 305 | |||
| 306 | HRESULT (STDMETHODCALLTYPE *SetClientCertificate)( | ||
| 307 | IWinHttpRequest *This, | ||
| 308 | BSTR certificate); | ||
| 309 | |||
| 310 | HRESULT (STDMETHODCALLTYPE *SetAutoLogonPolicy)( | ||
| 311 | IWinHttpRequest *This, | ||
| 312 | WinHttpRequestAutoLogonPolicy policy); | ||
| 313 | |||
| 314 | END_INTERFACE | ||
| 315 | } IWinHttpRequestVtbl; | ||
| 316 | |||
| 317 | interface IWinHttpRequest { | ||
| 318 | CONST_VTBL IWinHttpRequestVtbl* lpVtbl; | ||
| 319 | }; | ||
| 320 | |||
| 321 | #ifdef COBJMACROS | ||
| 322 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 323 | /*** IUnknown methods ***/ | ||
| 324 | #define IWinHttpRequest_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 325 | #define IWinHttpRequest_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 326 | #define IWinHttpRequest_Release(This) (This)->lpVtbl->Release(This) | ||
| 327 | /*** IDispatch methods ***/ | ||
| 328 | #define IWinHttpRequest_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) | ||
| 329 | #define IWinHttpRequest_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) | ||
| 330 | #define IWinHttpRequest_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) | ||
| 331 | #define IWinHttpRequest_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) | ||
| 332 | /*** IWinHttpRequest methods ***/ | ||
| 333 | #define IWinHttpRequest_SetProxy(This,proxy_setting,proxy_server,bypass_list) (This)->lpVtbl->SetProxy(This,proxy_setting,proxy_server,bypass_list) | ||
| 334 | #define IWinHttpRequest_SetCredentials(This,username,password,flags) (This)->lpVtbl->SetCredentials(This,username,password,flags) | ||
| 335 | #define IWinHttpRequest_Open(This,method,url,async) (This)->lpVtbl->Open(This,method,url,async) | ||
| 336 | #define IWinHttpRequest_SetRequestHeader(This,header,value) (This)->lpVtbl->SetRequestHeader(This,header,value) | ||
| 337 | #define IWinHttpRequest_GetResponseHeader(This,header,value) (This)->lpVtbl->GetResponseHeader(This,header,value) | ||
| 338 | #define IWinHttpRequest_GetAllResponseHeaders(This,headers) (This)->lpVtbl->GetAllResponseHeaders(This,headers) | ||
| 339 | #define IWinHttpRequest_Send(This,body) (This)->lpVtbl->Send(This,body) | ||
| 340 | #define IWinHttpRequest_get_Status(This,status) (This)->lpVtbl->get_Status(This,status) | ||
| 341 | #define IWinHttpRequest_get_StatusText(This,status) (This)->lpVtbl->get_StatusText(This,status) | ||
| 342 | #define IWinHttpRequest_get_ResponseText(This,body) (This)->lpVtbl->get_ResponseText(This,body) | ||
| 343 | #define IWinHttpRequest_get_ResponseBody(This,body) (This)->lpVtbl->get_ResponseBody(This,body) | ||
| 344 | #define IWinHttpRequest_get_ResponseStream(This,body) (This)->lpVtbl->get_ResponseStream(This,body) | ||
| 345 | #define IWinHttpRequest_get_Option(This,option,value) (This)->lpVtbl->get_Option(This,option,value) | ||
| 346 | #define IWinHttpRequest_put_Option(This,option,value) (This)->lpVtbl->put_Option(This,option,value) | ||
| 347 | #define IWinHttpRequest_WaitForResponse(This,timeout,succeeded) (This)->lpVtbl->WaitForResponse(This,timeout,succeeded) | ||
| 348 | #define IWinHttpRequest_Abort(This) (This)->lpVtbl->Abort(This) | ||
| 349 | #define IWinHttpRequest_SetTimeouts(This,resolve_timeout,connect_timeout,send_timeout,receive_timeout) (This)->lpVtbl->SetTimeouts(This,resolve_timeout,connect_timeout,send_timeout,receive_timeout) | ||
| 350 | #define IWinHttpRequest_SetClientCertificate(This,certificate) (This)->lpVtbl->SetClientCertificate(This,certificate) | ||
| 351 | #define IWinHttpRequest_SetAutoLogonPolicy(This,policy) (This)->lpVtbl->SetAutoLogonPolicy(This,policy) | ||
| 352 | #else | ||
| 353 | /*** IUnknown methods ***/ | ||
| 354 | static inline HRESULT IWinHttpRequest_QueryInterface(IWinHttpRequest* This,REFIID riid,void **ppvObject) { | ||
| 355 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 356 | } | ||
| 357 | static inline ULONG IWinHttpRequest_AddRef(IWinHttpRequest* This) { | ||
| 358 | return This->lpVtbl->AddRef(This); | ||
| 359 | } | ||
| 360 | static inline ULONG IWinHttpRequest_Release(IWinHttpRequest* This) { | ||
| 361 | return This->lpVtbl->Release(This); | ||
| 362 | } | ||
| 363 | /*** IDispatch methods ***/ | ||
| 364 | static inline HRESULT IWinHttpRequest_GetTypeInfoCount(IWinHttpRequest* This,UINT *pctinfo) { | ||
| 365 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo); | ||
| 366 | } | ||
| 367 | static inline HRESULT IWinHttpRequest_GetTypeInfo(IWinHttpRequest* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { | ||
| 368 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); | ||
| 369 | } | ||
| 370 | static inline HRESULT IWinHttpRequest_GetIDsOfNames(IWinHttpRequest* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { | ||
| 371 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); | ||
| 372 | } | ||
| 373 | static inline HRESULT IWinHttpRequest_Invoke(IWinHttpRequest* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { | ||
| 374 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); | ||
| 375 | } | ||
| 376 | /*** IWinHttpRequest methods ***/ | ||
| 377 | static inline HRESULT IWinHttpRequest_SetProxy(IWinHttpRequest* This,HTTPREQUEST_PROXY_SETTING proxy_setting,VARIANT proxy_server,VARIANT bypass_list) { | ||
| 378 | return This->lpVtbl->SetProxy(This,proxy_setting,proxy_server,bypass_list); | ||
| 379 | } | ||
| 380 | static inline HRESULT IWinHttpRequest_SetCredentials(IWinHttpRequest* This,BSTR username,BSTR password,HTTPREQUEST_SETCREDENTIALS_FLAGS flags) { | ||
| 381 | return This->lpVtbl->SetCredentials(This,username,password,flags); | ||
| 382 | } | ||
| 383 | static inline HRESULT IWinHttpRequest_Open(IWinHttpRequest* This,BSTR method,BSTR url,VARIANT async) { | ||
| 384 | return This->lpVtbl->Open(This,method,url,async); | ||
| 385 | } | ||
| 386 | static inline HRESULT IWinHttpRequest_SetRequestHeader(IWinHttpRequest* This,BSTR header,BSTR value) { | ||
| 387 | return This->lpVtbl->SetRequestHeader(This,header,value); | ||
| 388 | } | ||
| 389 | static inline HRESULT IWinHttpRequest_GetResponseHeader(IWinHttpRequest* This,BSTR header,BSTR *value) { | ||
| 390 | return This->lpVtbl->GetResponseHeader(This,header,value); | ||
| 391 | } | ||
| 392 | static inline HRESULT IWinHttpRequest_GetAllResponseHeaders(IWinHttpRequest* This,BSTR *headers) { | ||
| 393 | return This->lpVtbl->GetAllResponseHeaders(This,headers); | ||
| 394 | } | ||
| 395 | static inline HRESULT IWinHttpRequest_Send(IWinHttpRequest* This,VARIANT body) { | ||
| 396 | return This->lpVtbl->Send(This,body); | ||
| 397 | } | ||
| 398 | static inline HRESULT IWinHttpRequest_get_Status(IWinHttpRequest* This,LONG *status) { | ||
| 399 | return This->lpVtbl->get_Status(This,status); | ||
| 400 | } | ||
| 401 | static inline HRESULT IWinHttpRequest_get_StatusText(IWinHttpRequest* This,BSTR *status) { | ||
| 402 | return This->lpVtbl->get_StatusText(This,status); | ||
| 403 | } | ||
| 404 | static inline HRESULT IWinHttpRequest_get_ResponseText(IWinHttpRequest* This,BSTR *body) { | ||
| 405 | return This->lpVtbl->get_ResponseText(This,body); | ||
| 406 | } | ||
| 407 | static inline HRESULT IWinHttpRequest_get_ResponseBody(IWinHttpRequest* This,VARIANT *body) { | ||
| 408 | return This->lpVtbl->get_ResponseBody(This,body); | ||
| 409 | } | ||
| 410 | static inline HRESULT IWinHttpRequest_get_ResponseStream(IWinHttpRequest* This,VARIANT *body) { | ||
| 411 | return This->lpVtbl->get_ResponseStream(This,body); | ||
| 412 | } | ||
| 413 | static inline HRESULT IWinHttpRequest_get_Option(IWinHttpRequest* This,WinHttpRequestOption option,VARIANT *value) { | ||
| 414 | return This->lpVtbl->get_Option(This,option,value); | ||
| 415 | } | ||
| 416 | static inline HRESULT IWinHttpRequest_put_Option(IWinHttpRequest* This,WinHttpRequestOption option,VARIANT value) { | ||
| 417 | return This->lpVtbl->put_Option(This,option,value); | ||
| 418 | } | ||
| 419 | static inline HRESULT IWinHttpRequest_WaitForResponse(IWinHttpRequest* This,VARIANT timeout,VARIANT_BOOL *succeeded) { | ||
| 420 | return This->lpVtbl->WaitForResponse(This,timeout,succeeded); | ||
| 421 | } | ||
| 422 | static inline HRESULT IWinHttpRequest_Abort(IWinHttpRequest* This) { | ||
| 423 | return This->lpVtbl->Abort(This); | ||
| 424 | } | ||
| 425 | static inline HRESULT IWinHttpRequest_SetTimeouts(IWinHttpRequest* This,LONG resolve_timeout,LONG connect_timeout,LONG send_timeout,LONG receive_timeout) { | ||
| 426 | return This->lpVtbl->SetTimeouts(This,resolve_timeout,connect_timeout,send_timeout,receive_timeout); | ||
| 427 | } | ||
| 428 | static inline HRESULT IWinHttpRequest_SetClientCertificate(IWinHttpRequest* This,BSTR certificate) { | ||
| 429 | return This->lpVtbl->SetClientCertificate(This,certificate); | ||
| 430 | } | ||
| 431 | static inline HRESULT IWinHttpRequest_SetAutoLogonPolicy(IWinHttpRequest* This,WinHttpRequestAutoLogonPolicy policy) { | ||
| 432 | return This->lpVtbl->SetAutoLogonPolicy(This,policy); | ||
| 433 | } | ||
| 434 | #endif | ||
| 435 | #endif | ||
| 436 | |||
| 437 | #endif | ||
| 438 | |||
| 439 | |||
| 440 | #endif /* __IWinHttpRequest_INTERFACE_DEFINED__ */ | ||
| 441 | |||
| 442 | /***************************************************************************** | ||
| 443 | * WinHttpRequest coclass | ||
| 444 | */ | ||
| 445 | |||
| 446 | DEFINE_GUID(CLSID_WinHttpRequest, 0x2087c2f4, 0x2cef, 0x4953, 0xa8,0xab, 0x66,0x77,0x9b,0x67,0x04,0x95); | ||
| 447 | |||
| 448 | #ifdef __cplusplus | ||
| 449 | class DECLSPEC_UUID("2087c2f4-2cef-4953-a8ab-66779b670495") WinHttpRequest; | ||
| 450 | #ifdef __CRT_UUID_DECL | ||
| 451 | __CRT_UUID_DECL(WinHttpRequest, 0x2087c2f4, 0x2cef, 0x4953, 0xa8,0xab, 0x66,0x77,0x9b,0x67,0x04,0x95) | ||
| 452 | #endif | ||
| 453 | #endif | ||
| 454 | |||
| 455 | #endif /* __WinHttp_LIBRARY_DEFINED__ */ | ||
| 456 | /* Begin additional prototypes for all interfaces */ | ||
| 457 | |||
| 458 | ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *); | ||
| 459 | unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *); | ||
| 460 | unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *); | ||
| 461 | void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *); | ||
| 462 | ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); | ||
| 463 | unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); | ||
| 464 | unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); | ||
| 465 | void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); | ||
| 466 | |||
| 467 | /* End additional prototypes */ | ||
| 468 | |||
| 469 | #ifdef __cplusplus | ||
| 470 | } | ||
| 471 | #endif | ||
| 472 | |||
| 473 | #endif /* __httprequest_h__ */ | ||
lib/libc/include/any-windows-any/icftypes.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/icftypes.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/icftypes.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/icodecapi.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/icodecapi.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/icodecapi.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/iisext_i.c deleted-66| ... | @@ -1,66 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | #ifdef __cplusplus | ||
| 7 | extern "C"{ | ||
| 8 | #endif | ||
| 9 | |||
| 10 | #include <rpc.h> | ||
| 11 | #include <rpcndr.h> | ||
| 12 | |||
| 13 | #ifdef _MIDL_USE_GUIDDEF_ | ||
| 14 | |||
| 15 | #ifndef INITGUID | ||
| 16 | #define INITGUID | ||
| 17 | #include <guiddef.h> | ||
| 18 | #undef INITGUID | ||
| 19 | #else | ||
| 20 | #include <guiddef.h> | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) | ||
| 24 | #else | ||
| 25 | |||
| 26 | #ifndef __IID_DEFINED__ | ||
| 27 | #define __IID_DEFINED__ | ||
| 28 | typedef struct _IID { | ||
| 29 | unsigned long x; | ||
| 30 | unsigned short s1; | ||
| 31 | unsigned short s2; | ||
| 32 | unsigned char c[8]; | ||
| 33 | } IID; | ||
| 34 | #endif | ||
| 35 | |||
| 36 | #ifndef CLSID_DEFINED | ||
| 37 | #define CLSID_DEFINED | ||
| 38 | typedef IID CLSID; | ||
| 39 | #endif | ||
| 40 | |||
| 41 | #define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}} | ||
| 42 | #endif | ||
| 43 | |||
| 44 | MIDL_DEFINE_GUID(IID,LIBID_IISExt,0x2a56ea30,0xafeb,0x11d1,0x98,0x68,0x00,0xa0,0xc9,0x22,0xe7,0x03); | ||
| 45 | MIDL_DEFINE_GUID(IID,IID_IISApplicationPool,0x0B3CB1E1,0x829A,0x4c06,0x8B,0x09,0xF5,0x6D,0xA1,0x89,0x4C,0x88); | ||
| 46 | MIDL_DEFINE_GUID(IID,IID_IISApplicationPools,0x587F123F,0x49B4,0x49dd,0x93,0x9E,0xF4,0x54,0x7A,0xA3,0xFA,0x75); | ||
| 47 | MIDL_DEFINE_GUID(IID,IID_IISWebService,0xEE46D40C,0x1B38,0x4a02,0x89,0x8D,0x35,0x8E,0x74,0xDF,0xC9,0xD2); | ||
| 48 | MIDL_DEFINE_GUID(IID,IID_IISDsCrMap,0xedcd6a60,0xb053,0x11d0,0xa6,0x2f,0x00,0xa0,0xc9,0x22,0xe7,0x52); | ||
| 49 | MIDL_DEFINE_GUID(IID,IID_IISApp,0x46FBBB80,0x0192,0x11d1,0x9C,0x39,0x00,0xA0,0xC9,0x22,0xE7,0x03); | ||
| 50 | MIDL_DEFINE_GUID(IID,IID_IISApp2,0x603DCBEA,0x7350,0x11d2,0xA7,0xBE,0x00,0x00,0xF8,0x08,0x5B,0x95); | ||
| 51 | MIDL_DEFINE_GUID(IID,IID_IISApp3,0x2812B639,0x8FAC,0x4510,0x96,0xC5,0x71,0xDD,0xBD,0x1F,0x54,0xFC); | ||
| 52 | MIDL_DEFINE_GUID(IID,IID_IISComputer,0xCF87A2E0,0x078B,0x11d1,0x9C,0x3D,0x00,0xA0,0xC9,0x22,0xE7,0x03); | ||
| 53 | MIDL_DEFINE_GUID(IID,IID_IISComputer2,0x63d89839,0x5762,0x4a68,0xb1,0xb9,0x35,0x07,0xea,0x76,0xcb,0xbf); | ||
| 54 | MIDL_DEFINE_GUID(CLSID,CLSID_IISExtComputer,0x91ef9258,0xafec,0x11d1,0x98,0x68,0x00,0xa0,0xc9,0x22,0xe7,0x03); | ||
| 55 | MIDL_DEFINE_GUID(CLSID,CLSID_IISExtApp,0xb4f34438,0xafec,0x11d1,0x98,0x68,0x00,0xa0,0xc9,0x22,0xe7,0x03); | ||
| 56 | MIDL_DEFINE_GUID(CLSID,CLSID_IISExtServer,0xc3b32488,0xafec,0x11d1,0x98,0x68,0x00,0xa0,0xc9,0x22,0xe7,0x03); | ||
| 57 | MIDL_DEFINE_GUID(CLSID,CLSID_IISExtDsCrMap,0xbc36cde8,0xafeb,0x11d1,0x98,0x68,0x00,0xa0,0xc9,0x22,0xe7,0x03); | ||
| 58 | MIDL_DEFINE_GUID(CLSID,CLSID_IISExtApplicationPool,0xE99F9D0C,0xFB39,0x402b,0x9E,0xEB,0xAA,0x18,0x52,0x37,0xBD,0x34); | ||
| 59 | MIDL_DEFINE_GUID(CLSID,CLSID_IISExtApplicationPools,0x95863074,0xA389,0x406a,0xA2,0xD7,0xD9,0x8B,0xFC,0x95,0xB9,0x05); | ||
| 60 | MIDL_DEFINE_GUID(CLSID,CLSID_IISExtWebService,0x40B8F873,0xB30E,0x475d,0xBE,0xC5,0x4D,0x0E,0xBB,0x0D,0xBA,0xF3); | ||
| 61 | |||
| 62 | #undef MIDL_DEFINE_GUID | ||
| 63 | |||
| 64 | #ifdef __cplusplus | ||
| 65 | } | ||
| 66 | #endif | ||
lib/libc/include/any-windows-any/iketypes.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/iketypes.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/iketypes.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/inputpaneinterop.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/inputpaneinterop.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/inputpaneinterop.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/inputscope.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/inputscope.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/inputscope.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/inspectable.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/inspectable.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/inspectable.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/iwscapi.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/iwscapi.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/iwscapi.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/locale.h+4| ... | @@ -103,6 +103,10 @@ extern "C" { | ... | @@ -103,6 +103,10 @@ extern "C" { |
| 103 | _CRTIMP wchar_t *__cdecl _wsetlocale(int _Category,const wchar_t *_Locale); | 103 | _CRTIMP wchar_t *__cdecl _wsetlocale(int _Category,const wchar_t *_Locale); |
| 104 | #endif | 104 | #endif |
| 105 | 105 | ||
| 106 | #if __MSVCRT_VERSION__ >= 0xB00 | ||
| 107 | _CRTIMP _locale_t __cdecl _wcreate_locale(int _Category, const wchar_t *_Locale); | ||
| 108 | #endif | ||
| 109 | |||
| 106 | #ifdef __CHAR_UNSIGNED__ | 110 | #ifdef __CHAR_UNSIGNED__ |
| 107 | /* Pull in the constructor from 'charmax.c'. */ | 111 | /* Pull in the constructor from 'charmax.c'. */ |
| 108 | extern int __mingw_initcharmax; | 112 | extern int __mingw_initcharmax; |
lib/libc/include/any-windows-any/locationapi.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/locationapi.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/locationapi.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/malloc.h+2-2| ... | @@ -102,12 +102,10 @@ extern "C" { | ... | @@ -102,12 +102,10 @@ extern "C" { |
| 102 | _CRTIMP void *__cdecl _aligned_offset_malloc(size_t _Size,size_t _Alignment,size_t _Offset); | 102 | _CRTIMP void *__cdecl _aligned_offset_malloc(size_t _Size,size_t _Alignment,size_t _Offset); |
| 103 | _CRTIMP void *__cdecl _aligned_realloc(void *_Memory,size_t _Size,size_t _Alignment); | 103 | _CRTIMP void *__cdecl _aligned_realloc(void *_Memory,size_t _Size,size_t _Alignment); |
| 104 | _CRTIMP void *__cdecl _aligned_offset_realloc(void *_Memory,size_t _Size,size_t _Alignment,size_t _Offset); | 104 | _CRTIMP void *__cdecl _aligned_offset_realloc(void *_Memory,size_t _Size,size_t _Alignment,size_t _Offset); |
| 105 | # if __MSVCRT_VERSION__ >= 0x900 | ||
| 106 | _CRTIMP void *__cdecl _recalloc(void *_Memory,size_t _Count,size_t _Size); | 105 | _CRTIMP void *__cdecl _recalloc(void *_Memory,size_t _Count,size_t _Size); |
| 107 | _CRTIMP void *__cdecl _aligned_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment); | 106 | _CRTIMP void *__cdecl _aligned_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment); |
| 108 | _CRTIMP void *__cdecl _aligned_offset_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment,size_t _Offset); | 107 | _CRTIMP void *__cdecl _aligned_offset_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment,size_t _Offset); |
| 109 | _CRTIMP size_t __cdecl _aligned_msize(void *_Memory,size_t _Alignment,size_t _Offset); | 108 | _CRTIMP size_t __cdecl _aligned_msize(void *_Memory,size_t _Alignment,size_t _Offset); |
| 110 | # endif | ||
| 111 | 109 | ||
| 112 | #if defined(_DEBUG) && defined(_CRTDBG_MAP_ALLOC) | 110 | #if defined(_DEBUG) && defined(_CRTDBG_MAP_ALLOC) |
| 113 | #pragma pop_macro("calloc") | 111 | #pragma pop_macro("calloc") |
| ... | @@ -131,7 +129,9 @@ extern "C" { | ... | @@ -131,7 +129,9 @@ extern "C" { |
| 131 | void * __mingw_aligned_malloc (size_t _Size, size_t _Alignment); | 129 | void * __mingw_aligned_malloc (size_t _Size, size_t _Alignment); |
| 132 | void __mingw_aligned_free (void *_Memory); | 130 | void __mingw_aligned_free (void *_Memory); |
| 133 | void * __mingw_aligned_offset_realloc (void *_Memory, size_t _Size, size_t _Alignment, size_t _Offset); | 131 | void * __mingw_aligned_offset_realloc (void *_Memory, size_t _Size, size_t _Alignment, size_t _Offset); |
| 132 | void * __mingw_aligned_offset_malloc (size_t, size_t, size_t); | ||
| 134 | void * __mingw_aligned_realloc (void *_Memory, size_t _Size, size_t _Offset); | 133 | void * __mingw_aligned_realloc (void *_Memory, size_t _Size, size_t _Offset); |
| 134 | size_t __mingw_aligned_msize (void *memblock, size_t alignment, size_t offset); | ||
| 135 | 135 | ||
| 136 | #if defined(__x86_64__) || defined(__i386__) | 136 | #if defined(__x86_64__) || defined(__i386__) |
| 137 | /* Get the compiler's definition of _mm_malloc and _mm_free. */ | 137 | /* Get the compiler's definition of _mm_malloc and _mm_free. */ |
lib/libc/include/any-windows-any/math.h+10-172| ... | @@ -206,7 +206,7 @@ extern "C" { | ... | @@ -206,7 +206,7 @@ extern "C" { |
| 206 | 206 | ||
| 207 | __CRT_INLINE long double __cdecl fabsl (long double x) | 207 | __CRT_INLINE long double __cdecl fabsl (long double x) |
| 208 | { | 208 | { |
| 209 | #if defined(__arm__) || defined(__aarch64__) | 209 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ |
| 210 | return __builtin_fabsl (x); | 210 | return __builtin_fabsl (x); |
| 211 | #else | 211 | #else |
| 212 | long double res = 0.0l; | 212 | long double res = 0.0l; |
| ... | @@ -397,7 +397,9 @@ typedef long double double_t; | ... | @@ -397,7 +397,9 @@ typedef long double double_t; |
| 397 | 397 | ||
| 398 | #ifndef __CRT__NO_INLINE | 398 | #ifndef __CRT__NO_INLINE |
| 399 | __CRT_INLINE int __cdecl __fpclassifyl (long double x) { | 399 | __CRT_INLINE int __cdecl __fpclassifyl (long double x) { |
| 400 | #if defined(__x86_64__) || defined(_AMD64_) | 400 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ |
| 401 | return __fpclassify(x); | ||
| 402 | #elif defined(__x86_64__) || defined(_AMD64_) | ||
| 401 | __mingw_ldbl_type_t hlp; | 403 | __mingw_ldbl_type_t hlp; |
| 402 | unsigned int e; | 404 | unsigned int e; |
| 403 | hlp.x = x; | 405 | hlp.x = x; |
| ... | @@ -414,8 +416,6 @@ typedef long double double_t; | ... | @@ -414,8 +416,6 @@ typedef long double double_t; |
| 414 | return (((hlp.lh.high & 0x7fffffff) | hlp.lh.low) == 0 ? | 416 | return (((hlp.lh.high & 0x7fffffff) | hlp.lh.low) == 0 ? |
| 415 | FP_INFINITE : FP_NAN); | 417 | FP_INFINITE : FP_NAN); |
| 416 | return FP_NORMAL; | 418 | return FP_NORMAL; |
| 417 | #elif defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) | ||
| 418 | return __fpclassify(x); | ||
| 419 | #elif defined(__i386__) || defined(_X86_) | 419 | #elif defined(__i386__) || defined(_X86_) |
| 420 | unsigned short sw; | 420 | unsigned short sw; |
| 421 | __asm__ __volatile__ ("fxam; fstsw %%ax;" : "=a" (sw): "t" (x)); | 421 | __asm__ __volatile__ ("fxam; fstsw %%ax;" : "=a" (sw): "t" (x)); |
| ... | @@ -551,7 +551,9 @@ __mingw_choose_expr ( \ | ... | @@ -551,7 +551,9 @@ __mingw_choose_expr ( \ |
| 551 | 551 | ||
| 552 | __CRT_INLINE int __cdecl __isnanl (long double _x) | 552 | __CRT_INLINE int __cdecl __isnanl (long double _x) |
| 553 | { | 553 | { |
| 554 | #if defined(__x86_64__) || defined(_AMD64_) | 554 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ |
| 555 | return __isnan(_x); | ||
| 556 | #elif defined(__x86_64__) || defined(_AMD64_) | ||
| 555 | __mingw_ldbl_type_t ld; | 557 | __mingw_ldbl_type_t ld; |
| 556 | unsigned int xx, signexp; | 558 | unsigned int xx, signexp; |
| 557 | 559 | ||
| ... | @@ -561,8 +563,6 @@ __mingw_choose_expr ( \ | ... | @@ -561,8 +563,6 @@ __mingw_choose_expr ( \ |
| 561 | signexp |= (xx | (-xx)) >> 31; | 563 | signexp |= (xx | (-xx)) >> 31; |
| 562 | signexp = 0xfffe - signexp; | 564 | signexp = 0xfffe - signexp; |
| 563 | return (int) signexp >> 16; | 565 | return (int) signexp >> 16; |
| 564 | #elif defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) | ||
| 565 | return __isnan(_x); | ||
| 566 | #elif defined(__i386__) || defined(_X86_) | 566 | #elif defined(__i386__) || defined(_X86_) |
| 567 | unsigned short sw; | 567 | unsigned short sw; |
| 568 | __asm__ __volatile__ ("fxam;" | 568 | __asm__ __volatile__ ("fxam;" |
| ... | @@ -621,12 +621,12 @@ __mingw_choose_expr ( \ | ... | @@ -621,12 +621,12 @@ __mingw_choose_expr ( \ |
| 621 | } | 621 | } |
| 622 | 622 | ||
| 623 | __CRT_INLINE int __cdecl __signbitl (long double x) { | 623 | __CRT_INLINE int __cdecl __signbitl (long double x) { |
| 624 | #if defined(__x86_64__) || defined(_AMD64_) | 624 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ |
| 625 | return __signbit(x); | ||
| 626 | #elif defined(__x86_64__) || defined(_AMD64_) | ||
| 625 | __mingw_ldbl_type_t ld; | 627 | __mingw_ldbl_type_t ld; |
| 626 | ld.x = x; | 628 | ld.x = x; |
| 627 | return ((ld.lh.sign_exponent & 0x8000) != 0); | 629 | return ((ld.lh.sign_exponent & 0x8000) != 0); |
| 628 | #elif defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) | ||
| 629 | return __signbit(x); | ||
| 630 | #elif defined(__i386__) || defined(_X86_) | 630 | #elif defined(__i386__) || defined(_X86_) |
| 631 | unsigned short stw; | 631 | unsigned short stw; |
| 632 | __asm__ __volatile__ ("fxam; fstsw %%ax;": "=a" (stw) : "t" (x)); | 632 | __asm__ __volatile__ ("fxam; fstsw %%ax;": "=a" (stw) : "t" (x)); |
| ... | @@ -766,90 +766,6 @@ __mingw_choose_expr ( \ | ... | @@ -766,90 +766,6 @@ __mingw_choose_expr ( \ |
| 766 | extern float __cdecl logbf (float); | 766 | extern float __cdecl logbf (float); |
| 767 | extern long double __cdecl logbl (long double); | 767 | extern long double __cdecl logbl (long double); |
| 768 | 768 | ||
| 769 | #ifndef __CRT__NO_INLINE | ||
| 770 | /* When compiling with gcc, always use gcc's builtins. | ||
| 771 | * The asm inlines below are kept here for future reference: | ||
| 772 | * they were written for gcc and do no error handling | ||
| 773 | * (exceptions/errno), therefore only valid if __FAST_MATH__ | ||
| 774 | * is defined (-ffast-math) . */ | ||
| 775 | #if 0 /*defined(__GNUC__) && defined(__FAST_MATH__)*/ | ||
| 776 | __CRT_INLINE double __cdecl logb (double x) | ||
| 777 | { | ||
| 778 | #if defined(__x86_64__) || defined(_AMD64_) || defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) | ||
| 779 | __mingw_dbl_type_t hlp; | ||
| 780 | int lx, hx; | ||
| 781 | |||
| 782 | hlp.x = x; | ||
| 783 | lx = hlp.lh.low; | ||
| 784 | hx = hlp.lh.high & 0x7fffffff; /* high |x| */ | ||
| 785 | if ((hx | lx) == 0) | ||
| 786 | return -1.0 / fabs (x); | ||
| 787 | if (hx >= 0x7ff00000) | ||
| 788 | return x * x; | ||
| 789 | if ((hx >>= 20) == 0) { | ||
| 790 | unsigned long long mantissa = hlp.val & 0xfffffffffffffULL; | ||
| 791 | return -1023.0 - (__builtin_clzll(mantissa) - 12); | ||
| 792 | } | ||
| 793 | return (double) (hx - 1023); | ||
| 794 | #elif defined(__i386__) || defined(_X86_) | ||
| 795 | double res = 0.0; | ||
| 796 | __asm__ __volatile__ ("fxtract\n\t" | ||
| 797 | "fstp	%%st" : "=t" (res) : "0" (x)); | ||
| 798 | return res; | ||
| 799 | #endif | ||
| 800 | } | ||
| 801 | |||
| 802 | __CRT_INLINE float __cdecl logbf (float x) | ||
| 803 | { | ||
| 804 | #if defined(__x86_64__) || defined(_AMD64_) || defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) | ||
| 805 | int v; | ||
| 806 | __mingw_flt_type_t hlp; | ||
| 807 | |||
| 808 | hlp.x = x; | ||
| 809 | v = hlp.val & 0x7fffffff; /* high |x| */ | ||
| 810 | if (!v) | ||
| 811 | return (float)-1.0 / fabsf (x); | ||
| 812 | if (v >= 0x7f800000) | ||
| 813 | return x * x; | ||
| 814 | if ((v >>= 23) == 0) | ||
| 815 | return -127.0 - (__builtin_clzl(hlp.val & 0x7fffff) - 9); | ||
| 816 | return (float) (v - 127); | ||
| 817 | #elif defined(__i386__) || defined(_X86_) | ||
| 818 | float res = 0.0F; | ||
| 819 | __asm__ __volatile__ ("fxtract\n\t" | ||
| 820 | "fstp	%%st" : "=t" (res) : "0" (x)); | ||
| 821 | return res; | ||
| 822 | #endif | ||
| 823 | } | ||
| 824 | |||
| 825 | __CRT_INLINE long double __cdecl logbl (long double x) | ||
| 826 | { | ||
| 827 | #if defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) | ||
| 828 | __mingw_ldbl_type_t hlp; | ||
| 829 | int lx, hx; | ||
| 830 | |||
| 831 | hlp.x = x; | ||
| 832 | lx = hlp.lh.low; | ||
| 833 | hx = hlp.lh.high & 0x7fffffff; /* high |x| */ | ||
| 834 | if ((hx | lx) == 0) | ||
| 835 | return -1.0 / fabs (x); | ||
| 836 | if (hx >= 0x7ff00000) | ||
| 837 | return x * x; | ||
| 838 | if ((hx >>= 20) == 0) { | ||
| 839 | unsigned long long mantissa = hlp.val & 0xfffffffffffffULL; | ||
| 840 | return -1023.0 - (__builtin_clzll(mantissa) - 12); | ||
| 841 | } | ||
| 842 | return (double) (hx - 1023); | ||
| 843 | #elif defined(__x86_64__) || defined(_AMD64_) || defined(__i386__) || defined(_X86_) | ||
| 844 | long double res = 0.0l; | ||
| 845 | __asm__ __volatile__ ("fxtract\n\t" | ||
| 846 | "fstp	%%st" : "=t" (res) : "0" (x)); | ||
| 847 | return res; | ||
| 848 | #endif | ||
| 849 | } | ||
| 850 | #endif /* defined(__GNUC__) && defined(__FAST_MATH__) */ | ||
| 851 | #endif /* __CRT__NO_INLINE */ | ||
| 852 | |||
| 853 | /* 7.12.6.12 Double in C89 */ | 769 | /* 7.12.6.12 Double in C89 */ |
| 854 | extern float __cdecl modff (float, float*); | 770 | extern float __cdecl modff (float, float*); |
| 855 | extern long double __cdecl modfl (long double, long double*); | 771 | extern long double __cdecl modfl (long double, long double*); |
| ... | @@ -938,84 +854,6 @@ __MINGW_EXTENSION long long __cdecl llrint (double); | ... | @@ -938,84 +854,6 @@ __MINGW_EXTENSION long long __cdecl llrint (double); |
| 938 | __MINGW_EXTENSION long long __cdecl llrintf (float); | 854 | __MINGW_EXTENSION long long __cdecl llrintf (float); |
| 939 | __MINGW_EXTENSION long long __cdecl llrintl (long double); | 855 | __MINGW_EXTENSION long long __cdecl llrintl (long double); |
| 940 | 856 | ||
| 941 | #ifndef __CRT__NO_INLINE | ||
| 942 | /* When compiling with gcc, always use gcc's builtins. | ||
| 943 | * The asm inlines below are kept here for future reference: | ||
| 944 | * they were written for gcc and do no error handling | ||
| 945 | * (exceptions/errno), therefore only valid if __FAST_MATH__ | ||
| 946 | * is defined (-ffast-math) . */ | ||
| 947 | #if 0 /*defined(__GNUC__) && defined(__FAST_MATH__)*/ | ||
| 948 | __CRT_INLINE double __cdecl rint (double x) | ||
| 949 | { | ||
| 950 | double retval = 0.0; | ||
| 951 | __asm__ __volatile__ ("frndint;": "=t" (retval) : "0" (x)); | ||
| 952 | return retval; | ||
| 953 | } | ||
| 954 | |||
| 955 | __CRT_INLINE float __cdecl rintf (float x) | ||
| 956 | { | ||
| 957 | float retval = 0.0; | ||
| 958 | __asm__ __volatile__ ("frndint;" : "=t" (retval) : "0" (x) ); | ||
| 959 | return retval; | ||
| 960 | } | ||
| 961 | |||
| 962 | __CRT_INLINE long double __cdecl rintl (long double x) | ||
| 963 | { | ||
| 964 | long double retval = 0.0l; | ||
| 965 | __asm__ __volatile__ ("frndint;" : "=t" (retval) : "0" (x) ); | ||
| 966 | return retval; | ||
| 967 | } | ||
| 968 | |||
| 969 | __CRT_INLINE long __cdecl lrint (double x) | ||
| 970 | { | ||
| 971 | long retval = 0; | ||
| 972 | __asm__ __volatile__							 \ | ||
| 973 | ("fistpl %0" : "=m" (retval) : "t" (x) : "st");				 \ | ||
| 974 | return retval; | ||
| 975 | } | ||
| 976 | |||
| 977 | __CRT_INLINE long __cdecl lrintf (float x) | ||
| 978 | { | ||
| 979 | long retval = 0; | ||
| 980 | __asm__ __volatile__							 \ | ||
| 981 | ("fistpl %0" : "=m" (retval) : "t" (x) : "st");				 \ | ||
| 982 | return retval; | ||
| 983 | } | ||
| 984 | |||
| 985 | __CRT_INLINE long __cdecl lrintl (long double x) | ||
| 986 | { | ||
| 987 | long retval = 0; | ||
| 988 | __asm__ __volatile__							 \ | ||
| 989 | ("fistpl %0" : "=m" (retval) : "t" (x) : "st");				 \ | ||
| 990 | return retval; | ||
| 991 | } | ||
| 992 | |||
| 993 | __MINGW_EXTENSION __CRT_INLINE long long __cdecl llrint (double x) | ||
| 994 | { | ||
| 995 | __MINGW_EXTENSION long long retval = 0ll; | ||
| 996 | __asm__ __volatile__							 \ | ||
| 997 | ("fistpll %0" : "=m" (retval) : "t" (x) : "st");				 \ | ||
| 998 | return retval; | ||
| 999 | } | ||
| 1000 | |||
| 1001 | __MINGW_EXTENSION __CRT_INLINE long long __cdecl llrintf (float x) | ||
| 1002 | { | ||
| 1003 | __MINGW_EXTENSION long long retval = 0ll; | ||
| 1004 | __asm__ __volatile__							 \ | ||
| 1005 | ("fistpll %0" : "=m" (retval) : "t" (x) : "st");				 \ | ||
| 1006 | return retval; | ||
| 1007 | } | ||
| 1008 | |||
| 1009 | __MINGW_EXTENSION __CRT_INLINE long long __cdecl llrintl (long double x) | ||
| 1010 | { | ||
| 1011 | __MINGW_EXTENSION long long retval = 0ll; | ||
| 1012 | __asm__ __volatile__							 \ | ||
| 1013 | ("fistpll %0" : "=m" (retval) : "t" (x) : "st");				 \ | ||
| 1014 | return retval; | ||
| 1015 | } | ||
| 1016 | #endif /* defined(__GNUC__) && defined(__FAST_MATH__) */ | ||
| 1017 | #endif /* !__CRT__NO_INLINE */ | ||
| 1018 | |||
| 1019 | /* 7.12.9.6 */ | 857 | /* 7.12.9.6 */ |
| 1020 | /* round away from zero, regardless of fpu control word settings */ | 858 | /* round away from zero, regardless of fpu control word settings */ |
| 1021 | extern double __cdecl round (double); | 859 | extern double __cdecl round (double); |
lib/libc/include/any-windows-any/mediaobj.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/mediaobj.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/mediaobj.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/medparam.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/medparam.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/medparam.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/memoryapi.h+3-1| ... | @@ -159,7 +159,9 @@ extern "C" { | ... | @@ -159,7 +159,9 @@ extern "C" { |
| 159 | 159 | ||
| 160 | #if NTDDI_VERSION >= NTDDI_WIN10_RS2 | 160 | #if NTDDI_VERSION >= NTDDI_WIN10_RS2 |
| 161 | WINBASEAPI PVOID WINAPI MapViewOfFileNuma2(HANDLE FileMappingHandle, HANDLE ProcessHandle, ULONG64 Offset, PVOID BaseAddress, SIZE_T ViewSize, ULONG AllocationType, ULONG PageProtection, ULONG PreferredNode); | 161 | WINBASEAPI PVOID WINAPI MapViewOfFileNuma2(HANDLE FileMappingHandle, HANDLE ProcessHandle, ULONG64 Offset, PVOID BaseAddress, SIZE_T ViewSize, ULONG AllocationType, ULONG PageProtection, ULONG PreferredNode); |
| 162 | WINBASEAPI PVOID MapViewOfFile2(HANDLE FileMappingHandle, HANDLE ProcessHandle, ULONG64 Offset, PVOID BaseAddress, SIZE_T ViewSize, ULONG AllocationType, ULONG PageProtection); | 162 | FORCEINLINE PVOID MapViewOfFile2(HANDLE FileMappingHandle, HANDLE ProcessHandle, ULONG64 Offset, PVOID BaseAddress, SIZE_T ViewSize, ULONG AllocationType, ULONG PageProtection) { |
| 163 | return MapViewOfFileNuma2(FileMappingHandle, ProcessHandle, Offset, BaseAddress, ViewSize, AllocationType, PageProtection, NUMA_NO_PREFERRED_NODE); | ||
| 164 | } | ||
| 163 | #endif | 165 | #endif |
| 164 | 166 | ||
| 165 | #if NTDDI_VERSION >= NTDDI_WIN10_RS4 | 167 | #if NTDDI_VERSION >= NTDDI_WIN10_RS4 |
lib/libc/include/any-windows-any/mfapi.h+6-6| ... | @@ -104,7 +104,7 @@ extern "C" { | ... | @@ -104,7 +104,7 @@ extern "C" { |
| 104 | typedef enum { | 104 | typedef enum { |
| 105 | MF_STANDARD_WORKQUEUE = 0, | 105 | MF_STANDARD_WORKQUEUE = 0, |
| 106 | MF_WINDOW_WORKQUEUE = 1, | 106 | MF_WINDOW_WORKQUEUE = 1, |
| 107 | MF_MULTITHREADED_WORKQUEUE = 2, | 107 | MF_MULTITHREADED_WORKQUEUE = 2 |
| 108 | } MFASYNC_WORKQUEUE_TYPE; | 108 | } MFASYNC_WORKQUEUE_TYPE; |
| 109 | #endif | 109 | #endif |
| 110 | 110 | ||
| ... | @@ -198,7 +198,7 @@ extern "C" { | ... | @@ -198,7 +198,7 @@ extern "C" { |
| 198 | MF_TOPOSTATUS_DYNAMIC_CHANGED = 210, | 198 | MF_TOPOSTATUS_DYNAMIC_CHANGED = 210, |
| 199 | #endif | 199 | #endif |
| 200 | MF_TOPOSTATUS_SINK_SWITCHED = 300, | 200 | MF_TOPOSTATUS_SINK_SWITCHED = 300, |
| 201 | MF_TOPOSTATUS_ENDED = 400, | 201 | MF_TOPOSTATUS_ENDED = 400 |
| 202 | } MF_TOPOSTATUS; | 202 | } MF_TOPOSTATUS; |
| 203 | 203 | ||
| 204 | EXTERN_C const GUID MR_BUFFER_SERVICE; | 204 | EXTERN_C const GUID MR_BUFFER_SERVICE; |
| ... | @@ -451,26 +451,26 @@ DEFINE_MEDIATYPE_GUID(MFVideoFormat_Theora, FCC('theo')); | ... | @@ -451,26 +451,26 @@ DEFINE_MEDIATYPE_GUID(MFVideoFormat_Theora, FCC('theo')); |
| 451 | MFVideo3DSampleFormat_BaseView = 0, | 451 | MFVideo3DSampleFormat_BaseView = 0, |
| 452 | MFVideo3DSampleFormat_MultiView = 1, | 452 | MFVideo3DSampleFormat_MultiView = 1, |
| 453 | MFVideo3DSampleFormat_Packed_LeftRight = 2, | 453 | MFVideo3DSampleFormat_Packed_LeftRight = 2, |
| 454 | MFVideo3DSampleFormat_Packed_TopBottom = 3, | 454 | MFVideo3DSampleFormat_Packed_TopBottom = 3 |
| 455 | } MFVideo3DFormat; | 455 | } MFVideo3DFormat; |
| 456 | 456 | ||
| 457 | typedef enum _MFVideo3DSampleFormat { | 457 | typedef enum _MFVideo3DSampleFormat { |
| 458 | MFSampleExtension_3DVideo_MultiView = 1, | 458 | MFSampleExtension_3DVideo_MultiView = 1, |
| 459 | MFSampleExtension_3DVideo_Packed = 0, | 459 | MFSampleExtension_3DVideo_Packed = 0 |
| 460 | } MFVideo3DSampleFormat; | 460 | } MFVideo3DSampleFormat; |
| 461 | 461 | ||
| 462 | typedef enum _MFVideoRotationFormat { | 462 | typedef enum _MFVideoRotationFormat { |
| 463 | MFVideoRotationFormat_0 = 0, | 463 | MFVideoRotationFormat_0 = 0, |
| 464 | MFVideoRotationFormat_90 = 90, | 464 | MFVideoRotationFormat_90 = 90, |
| 465 | MFVideoRotationFormat_180 = 180, | 465 | MFVideoRotationFormat_180 = 180, |
| 466 | MFVideoRotationFormat_270 = 270, | 466 | MFVideoRotationFormat_270 = 270 |
| 467 | } MFVideoRotationFormat; | 467 | } MFVideoRotationFormat; |
| 468 | #endif | 468 | #endif |
| 469 | 469 | ||
| 470 | typedef enum _MFVideoDRMFlags { | 470 | typedef enum _MFVideoDRMFlags { |
| 471 | MFVideoDRMFlag_None = 0, | 471 | MFVideoDRMFlag_None = 0, |
| 472 | MFVideoDRMFlag_AnalogProtected = 1, | 472 | MFVideoDRMFlag_AnalogProtected = 1, |
| 473 | MFVideoDRMFlag_DigitallyProtected = 2, | 473 | MFVideoDRMFlag_DigitallyProtected = 2 |
| 474 | } MFVideoDRMFlags; | 474 | } MFVideoDRMFlags; |
| 475 | 475 | ||
| 476 | typedef enum _MFVideoPadFlags { | 476 | typedef enum _MFVideoPadFlags { |
lib/libc/include/any-windows-any/mfcaptureengine.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/mfcaptureengine.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/mfcaptureengine.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/mfd3d12.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/mfd3d12.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/mfd3d12.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/mfidl.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/mfidl.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/mfidl.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/mfmediacapture.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/mfmediacapture.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/mfmediacapture.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/mfmediaengine.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/mfmediaengine.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/mfmediaengine.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/mfobjects.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/mfobjects.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/mfobjects.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/mfplay.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/mfplay.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/mfplay.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/mfreadwrite.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/mfreadwrite.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/mfreadwrite.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/mftransform.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/mftransform.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/mftransform.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/mmdeviceapi.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/mmdeviceapi.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/mmdeviceapi.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/mmstream.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/mmstream.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/mmstream.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/mpeg2bits.h+63-17| ... | @@ -1,23 +1,69 @@ | ... | @@ -1,23 +1,69 @@ |
| 1 | /** | 1 | /* |
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | 2 | * Copyright (C) 2025 Biswapriyo Nath |
| 3 | * This file is part of the mingw-w64 runtime package. | 3 | * |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | 4 | * This library is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU Lesser General Public | ||
| 6 | * License as published by the Free Software Foundation; either | ||
| 7 | * version 2.1 of the License, or (at your option) any later version. | ||
| 8 | * | ||
| 9 | * This library is distributed in the hope that it will be useful, | ||
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | * Lesser General Public License for more details. | ||
| 13 | * | ||
| 14 | * You should have received a copy of the GNU Lesser General Public | ||
| 15 | * License along with this library; if not, write to the Free Software | ||
| 16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA | ||
| 5 | */ | 17 | */ |
| 6 | #ifndef __INC_MPEG2BITS__ | ||
| 7 | #define __INC_MPEG2BITS__ | ||
| 8 | #include <windef.h> | ||
| 9 | 18 | ||
| 10 | typedef struct _MPEG_HEADER_BITS { | 19 | #ifndef _MPEG2BITS_H_ |
| 11 | WORD SectionLength :12; | 20 | #define _MPEG2BITS_H_ |
| 12 | WORD Reserved :2; | 21 | |
| 13 | WORD PrivateIndicator :1; | 22 | #pragma pack(push) |
| 14 | WORD SectionSyntaxIndicator :1; | 23 | #pragma pack(1) |
| 24 | |||
| 25 | #if defined(__midl) || defined(__WIDL__) | ||
| 26 | typedef struct | ||
| 27 | { | ||
| 28 | WORD Bits; | ||
| 29 | } PID_BITS_MIDL; | ||
| 30 | #else | ||
| 31 | typedef struct | ||
| 32 | { | ||
| 33 | WORD Reserved : 3; | ||
| 34 | WORD ProgramId : 13; | ||
| 35 | } PID_BITS, *PPID_BITS; | ||
| 36 | #endif | ||
| 37 | |||
| 38 | #if defined(__midl) || defined(__WIDL__) | ||
| 39 | typedef struct | ||
| 40 | { | ||
| 41 | WORD Bits; | ||
| 42 | } MPEG_HEADER_BITS_MIDL; | ||
| 43 | #else | ||
| 44 | typedef struct | ||
| 45 | { | ||
| 46 | WORD SectionLength : 12; | ||
| 47 | WORD Reserved : 2; | ||
| 48 | WORD PrivateIndicator : 1; | ||
| 49 | WORD SectionSyntaxIndicator : 1; | ||
| 15 | } MPEG_HEADER_BITS, *PMPEG_HEADER_BITS; | 50 | } MPEG_HEADER_BITS, *PMPEG_HEADER_BITS; |
| 51 | #endif | ||
| 16 | 52 | ||
| 17 | typedef struct _MPEG_HEADER_VERSION_BITS { | 53 | #if defined(__midl) || defined(__WIDL__) |
| 18 | BYTE CurrentNextIndicator :1; | 54 | typedef struct |
| 19 | BYTE VersionNumber :5; | 55 | { |
| 20 | BYTE Reserved :2; | 56 | BYTE Bits; |
| 57 | } MPEG_HEADER_VERSION_BITS_MIDL; | ||
| 58 | #else | ||
| 59 | typedef struct | ||
| 60 | { | ||
| 61 | BYTE CurrentNextIndicator : 1; | ||
| 62 | BYTE VersionNumber : 5; | ||
| 63 | BYTE Reserved : 2; | ||
| 21 | } MPEG_HEADER_VERSION_BITS, *PMPEG_HEADER_VERSION_BITS; | 64 | } MPEG_HEADER_VERSION_BITS, *PMPEG_HEADER_VERSION_BITS; |
| 65 | #endif | ||
| 66 | |||
| 67 | #pragma pack(pop) | ||
| 22 | 68 | ||
| 23 | #endif /* __INC_MPEG2BITS__ */ | 69 | #endif /* _MPEG2BITS_H_ */ |
lib/libc/include/any-windows-any/mpeg2data.h+731-91| ... | @@ -1,138 +1,778 @@ | ... | @@ -1,138 +1,778 @@ |
| 1 | /** | 1 | /*** Autogenerated by WIDL 10.4 from include/mpeg2data.idl - Do not edit ***/ |
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | #ifndef __INC_MPEG2DATA__ | ||
| 7 | #define __INC_MPEG2DATA__ | ||
| 8 | 2 | ||
| 9 | #include <objbase.h> | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | ||
| 5 | #define __REQUIRED_RPCNDR_H_VERSION__ 475 | ||
| 6 | #endif | ||
| 7 | #include <rpc.h> | ||
| 8 | #include <rpcndr.h> | ||
| 9 | #endif | ||
| 10 | 10 | ||
| 11 | typedef WORD PID; | 11 | #ifndef COM_NO_WINDOWS_H |
| 12 | typedef BYTE TID; | 12 | #include <windows.h> |
| 13 | #include <ole2.h> | ||
| 14 | #endif | ||
| 13 | 15 | ||
| 14 | typedef struct _ATSC_FILTER_OPTIONS { | 16 | #ifndef __mpeg2data_h__ |
| 15 | WINBOOL fSpecifyEtmId; | 17 | #define __mpeg2data_h__ |
| 16 | DWORD EtmId; | ||
| 17 | } ATSC_FILTER_OPTIONS; | ||
| 18 | 18 | ||
| 19 | #include <mpeg2structs.h> | 19 | /* Forward declarations */ |
| 20 | 20 | ||
| 21 | #ifndef __ISectionList_FWD_DEFINED__ | 21 | #ifndef __IMpeg2TableFilter_FWD_DEFINED__ |
| 22 | #define __ISectionList_FWD_DEFINED__ | 22 | #define __IMpeg2TableFilter_FWD_DEFINED__ |
| 23 | typedef struct ISectionList ISectionList; | 23 | typedef interface IMpeg2TableFilter IMpeg2TableFilter; |
| 24 | #ifdef __cplusplus | ||
| 25 | interface IMpeg2TableFilter; | ||
| 26 | #endif /* __cplusplus */ | ||
| 24 | #endif | 27 | #endif |
| 25 | 28 | ||
| 29 | #ifndef __Mpeg2TableFilter_FWD_DEFINED__ | ||
| 30 | #define __Mpeg2TableFilter_FWD_DEFINED__ | ||
| 31 | #ifdef __cplusplus | ||
| 32 | typedef class Mpeg2TableFilter Mpeg2TableFilter; | ||
| 33 | #else | ||
| 34 | typedef struct Mpeg2TableFilter Mpeg2TableFilter; | ||
| 35 | #endif /* defined __cplusplus */ | ||
| 36 | #endif /* defined __Mpeg2TableFilter_FWD_DEFINED__ */ | ||
| 37 | |||
| 26 | #ifndef __IMpeg2Data_FWD_DEFINED__ | 38 | #ifndef __IMpeg2Data_FWD_DEFINED__ |
| 27 | #define __IMpeg2Data_FWD_DEFINED__ | 39 | #define __IMpeg2Data_FWD_DEFINED__ |
| 28 | typedef struct IMpeg2Data IMpeg2Data; | 40 | typedef interface IMpeg2Data IMpeg2Data; |
| 41 | #ifdef __cplusplus | ||
| 42 | interface IMpeg2Data; | ||
| 43 | #endif /* __cplusplus */ | ||
| 44 | #endif | ||
| 45 | |||
| 46 | #ifndef __ISectionList_FWD_DEFINED__ | ||
| 47 | #define __ISectionList_FWD_DEFINED__ | ||
| 48 | typedef interface ISectionList ISectionList; | ||
| 49 | #ifdef __cplusplus | ||
| 50 | interface ISectionList; | ||
| 51 | #endif /* __cplusplus */ | ||
| 29 | #endif | 52 | #endif |
| 30 | 53 | ||
| 31 | #ifndef __IMpeg2Stream_FWD_DEFINED__ | 54 | #ifndef __IMpeg2Stream_FWD_DEFINED__ |
| 32 | #define __IMpeg2Stream_FWD_DEFINED__ | 55 | #define __IMpeg2Stream_FWD_DEFINED__ |
| 33 | typedef struct IMpeg2Stream IMpeg2Stream; | 56 | typedef interface IMpeg2Stream IMpeg2Stream; |
| 57 | #ifdef __cplusplus | ||
| 58 | interface IMpeg2Stream; | ||
| 59 | #endif /* __cplusplus */ | ||
| 34 | #endif | 60 | #endif |
| 35 | 61 | ||
| 36 | #undef INTERFACE | 62 | #ifndef __SectionList_FWD_DEFINED__ |
| 37 | #define INTERFACE ISectionList | 63 | #define __SectionList_FWD_DEFINED__ |
| 38 | #ifdef __GNUC__ | 64 | #ifdef __cplusplus |
| 39 | #warning COM interfaces layout in this header has not been verified. | 65 | typedef class SectionList SectionList; |
| 40 | #warning COM interfaces with incorrect layout may not work at all. | 66 | #else |
| 41 | __MINGW_BROKEN_INTERFACE(INTERFACE) | 67 | typedef struct SectionList SectionList; |
| 68 | #endif /* defined __cplusplus */ | ||
| 69 | #endif /* defined __SectionList_FWD_DEFINED__ */ | ||
| 70 | |||
| 71 | #ifndef __Mpeg2Stream_FWD_DEFINED__ | ||
| 72 | #define __Mpeg2Stream_FWD_DEFINED__ | ||
| 73 | #ifdef __cplusplus | ||
| 74 | typedef class Mpeg2Stream Mpeg2Stream; | ||
| 75 | #else | ||
| 76 | typedef struct Mpeg2Stream Mpeg2Stream; | ||
| 77 | #endif /* defined __cplusplus */ | ||
| 78 | #endif /* defined __Mpeg2Stream_FWD_DEFINED__ */ | ||
| 79 | |||
| 80 | #ifndef __Mpeg2Data_FWD_DEFINED__ | ||
| 81 | #define __Mpeg2Data_FWD_DEFINED__ | ||
| 82 | #ifdef __cplusplus | ||
| 83 | typedef class Mpeg2Data Mpeg2Data; | ||
| 84 | #else | ||
| 85 | typedef struct Mpeg2Data Mpeg2Data; | ||
| 86 | #endif /* defined __cplusplus */ | ||
| 87 | #endif /* defined __Mpeg2Data_FWD_DEFINED__ */ | ||
| 88 | |||
| 89 | /* Headers for imported files */ | ||
| 90 | |||
| 91 | #include <oaidl.h> | ||
| 92 | #include <ocidl.h> | ||
| 93 | #include <bdaiface.h> | ||
| 94 | #include <mpeg2structs.h> | ||
| 95 | |||
| 96 | #ifdef __cplusplus | ||
| 97 | extern "C" { | ||
| 42 | #endif | 98 | #endif |
| 43 | DECLARE_INTERFACE_(ISectionList,IUnknown) | 99 | |
| 100 | #ifndef __ISectionList_FWD_DEFINED__ | ||
| 101 | #define __ISectionList_FWD_DEFINED__ | ||
| 102 | typedef interface ISectionList ISectionList; | ||
| 103 | #ifdef __cplusplus | ||
| 104 | interface ISectionList; | ||
| 105 | #endif /* __cplusplus */ | ||
| 106 | #endif | ||
| 107 | |||
| 108 | #ifndef __IMpeg2Stream_FWD_DEFINED__ | ||
| 109 | #define __IMpeg2Stream_FWD_DEFINED__ | ||
| 110 | typedef interface IMpeg2Stream IMpeg2Stream; | ||
| 111 | #ifdef __cplusplus | ||
| 112 | interface IMpeg2Stream; | ||
| 113 | #endif /* __cplusplus */ | ||
| 114 | #endif | ||
| 115 | |||
| 116 | #define MPEG_PAT_PID 0x0000 | ||
| 117 | #define MPEG_PAT_TID 0x00 | ||
| 118 | #define MPEG_CAT_PID 0x0001 | ||
| 119 | #define MPEG_CAT_TID 0x01 | ||
| 120 | #define MPEG_PMT_TID 0x02 | ||
| 121 | #define MPEG_TSDT_PID 0x0002 | ||
| 122 | #define MPEG_TSDT_TID 0x03 | ||
| 123 | #define ATSC_MGT_PID 0x1ffb | ||
| 124 | #define ATSC_MGT_TID 0xc7 | ||
| 125 | #define ATSC_VCT_PID 0x1ffb | ||
| 126 | #define ATSC_VCT_TERR_TID 0xc8 | ||
| 127 | #define ATSC_VCT_CABL_TID 0xc9 | ||
| 128 | #define ATSC_EIT_TID 0xcb | ||
| 129 | #define ATSC_ETT_TID 0xcc | ||
| 130 | #define ATSC_RRT_TID 0xca | ||
| 131 | #define ATSC_RRT_PID 0x1ffb | ||
| 132 | #define ATSC_STT_PID 0x1ffb | ||
| 133 | #define ATSC_STT_TID 0xcd | ||
| 134 | #define ATSC_PIT_TID 0xd0 | ||
| 135 | #define DVB_NIT_PID 0x0010 | ||
| 136 | #define DVB_NIT_ACTUAL_TID 0x40 | ||
| 137 | #define DVB_NIT_OTHER_TID 0x41 | ||
| 138 | #define DVB_SDT_PID 0x0011 | ||
| 139 | #define DVB_SDT_ACTUAL_TID 0x42 | ||
| 140 | #define DVB_SDT_OTHER_TID 0x46 | ||
| 141 | #define DVB_BAT_PID 0x0011 | ||
| 142 | #define DVB_BAT_TID 0x4a | ||
| 143 | #define DVB_EIT_PID 0x0012 | ||
| 144 | #define DVB_EIT_ACTUAL_TID 0x4e | ||
| 145 | #define DVB_EIT_OTHER_TID 0x4f | ||
| 146 | #define DVB_RST_PID 0x0013 | ||
| 147 | #define DVB_RST_TID 0x71 | ||
| 148 | #define DVB_TDT_PID 0x0014 | ||
| 149 | #define DVB_TDT_TID 0x70 | ||
| 150 | #define DVB_ST_PID_16 0x0010 | ||
| 151 | #define DVB_ST_PID_17 0x0011 | ||
| 152 | #define DVB_ST_PID_18 0x0012 | ||
| 153 | #define DVB_ST_PID_19 0x0013 | ||
| 154 | #define DVB_ST_PID_20 0x0014 | ||
| 155 | #define DVB_ST_TID 0x72 | ||
| 156 | #define ISDB_ST_TID 0x72 | ||
| 157 | #define DVB_TOT_PID 0x0014 | ||
| 158 | #define DVB_TOT_TID 0x73 | ||
| 159 | #define DVB_DIT_PID 0x001e | ||
| 160 | #define DVB_DIT_TID 0x7e | ||
| 161 | #define DVB_SIT_PID 0x001f | ||
| 162 | #define DVB_SIT_TID 0x7f | ||
| 163 | #define ISDB_EMM_TID 0x85 | ||
| 164 | #define ISDB_BIT_PID 0x0024 | ||
| 165 | #define ISDB_BIT_TID 0xc4 | ||
| 166 | #define ISDB_NBIT_PID 0x0025 | ||
| 167 | #define ISDB_NBIT_MSG_TID 0xc5 | ||
| 168 | #define ISDB_NBIT_REF_TID 0xc6 | ||
| 169 | #define ISDB_LDT_PID 0x0025 | ||
| 170 | #define ISDB_LDT_TID 0xc7 | ||
| 171 | #define ISDB_SDTT_PID 0x0023 | ||
| 172 | #define ISDB_SDTT_ALT_PID 0x0028 | ||
| 173 | #define ISDB_SDTT_TID 0xc3 | ||
| 174 | #define ISDB_CDT_PID 0x0029 | ||
| 175 | #define ISDB_CDT_TID 0xc8 | ||
| 176 | #define SCTE_EAS_TID 0xd8 | ||
| 177 | #define SCTE_EAS_IB_PID 0x1ffb | ||
| 178 | #define SCTE_EAS_OOB_PID 0x1ffc | ||
| 179 | /***************************************************************************** | ||
| 180 | * IMpeg2TableFilter interface | ||
| 181 | */ | ||
| 182 | #ifndef __IMpeg2TableFilter_INTERFACE_DEFINED__ | ||
| 183 | #define __IMpeg2TableFilter_INTERFACE_DEFINED__ | ||
| 184 | |||
| 185 | DEFINE_GUID(IID_IMpeg2TableFilter, 0xbdcdd913, 0x9ecd, 0x4fb2, 0x81,0xae, 0xad,0xf7,0x47,0xea,0x75,0xa5); | ||
| 186 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 187 | MIDL_INTERFACE("bdcdd913-9ecd-4fb2-81ae-adf747ea75a5") | ||
| 188 | IMpeg2TableFilter : public IUnknown | ||
| 44 | { | 189 | { |
| 190 | virtual HRESULT STDMETHODCALLTYPE AddPID( | ||
| 191 | PID p) = 0; | ||
| 192 | |||
| 193 | virtual HRESULT STDMETHODCALLTYPE AddTable( | ||
| 194 | PID p, | ||
| 195 | TID t) = 0; | ||
| 196 | |||
| 197 | virtual HRESULT STDMETHODCALLTYPE AddExtension( | ||
| 198 | PID p, | ||
| 199 | TID t, | ||
| 200 | TEID e) = 0; | ||
| 201 | |||
| 202 | virtual HRESULT STDMETHODCALLTYPE RemovePID( | ||
| 203 | PID p) = 0; | ||
| 204 | |||
| 205 | virtual HRESULT STDMETHODCALLTYPE RemoveTable( | ||
| 206 | PID p, | ||
| 207 | TID t) = 0; | ||
| 208 | |||
| 209 | virtual HRESULT STDMETHODCALLTYPE RemoveExtension( | ||
| 210 | PID p, | ||
| 211 | TID t, | ||
| 212 | TEID e) = 0; | ||
| 213 | |||
| 214 | }; | ||
| 215 | #ifdef __CRT_UUID_DECL | ||
| 216 | __CRT_UUID_DECL(IMpeg2TableFilter, 0xbdcdd913, 0x9ecd, 0x4fb2, 0x81,0xae, 0xad,0xf7,0x47,0xea,0x75,0xa5) | ||
| 217 | #endif | ||
| 218 | #else | ||
| 219 | typedef struct IMpeg2TableFilterVtbl { | ||
| 45 | BEGIN_INTERFACE | 220 | BEGIN_INTERFACE |
| 46 | 221 | ||
| 47 | /* IUnknown methods */ | 222 | /*** IUnknown methods ***/ |
| 48 | STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; | 223 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 49 | STDMETHOD_(ULONG, AddRef)(THIS) PURE; | 224 | IMpeg2TableFilter *This, |
| 50 | STDMETHOD_(ULONG, Release)(THIS) PURE; | 225 | REFIID riid, |
| 226 | void **ppvObject); | ||
| 227 | |||
| 228 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 229 | IMpeg2TableFilter *This); | ||
| 230 | |||
| 231 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 232 | IMpeg2TableFilter *This); | ||
| 233 | |||
| 234 | /*** IMpeg2TableFilter methods ***/ | ||
| 235 | HRESULT (STDMETHODCALLTYPE *AddPID)( | ||
| 236 | IMpeg2TableFilter *This, | ||
| 237 | PID p); | ||
| 238 | |||
| 239 | HRESULT (STDMETHODCALLTYPE *AddTable)( | ||
| 240 | IMpeg2TableFilter *This, | ||
| 241 | PID p, | ||
| 242 | TID t); | ||
| 51 | 243 | ||
| 52 | /* ISectionList methods */ | 244 | HRESULT (STDMETHODCALLTYPE *AddExtension)( |
| 53 | STDMETHOD_(HRESULT,CancelPendingRequest)(THIS) PURE; | 245 | IMpeg2TableFilter *This, |
| 54 | STDMETHOD_(HRESULT,GetNumberOfSections)(THIS_ WORD *pCount) PURE; | 246 | PID p, |
| 55 | STDMETHOD_(HRESULT,GetProgramIdentifier)(THIS_ PID *pPid) PURE; | 247 | TID t, |
| 56 | STDMETHOD_(HRESULT,GetSectionData)(THIS_ WORD sectionNumber,DWORD *pdwRawPacketLength,PSECTION *ppSection) PURE; | 248 | TEID e); |
| 57 | STDMETHOD_(HRESULT,GetTableIdentifier)(THIS_ TID *pTableId) PURE; | 249 | |
| 58 | STDMETHOD_(HRESULT,Initialize)(THIS_ MPEG_REQUEST_TYPE requestType,IMpeg2Data *pMpeg2Data,PMPEG_CONTEXT pContext,PID pid,TID tid,PMPEG2_FILTER pFilter,DWORD timeout,HANDLE hDoneEvent) PURE; | 250 | HRESULT (STDMETHODCALLTYPE *RemovePID)( |
| 59 | STDMETHOD_(HRESULT,InitializeWithRawSections)(THIS_ PMPEG_PACKET_LIST pmplSections) PURE; | 251 | IMpeg2TableFilter *This, |
| 252 | PID p); | ||
| 253 | |||
| 254 | HRESULT (STDMETHODCALLTYPE *RemoveTable)( | ||
| 255 | IMpeg2TableFilter *This, | ||
| 256 | PID p, | ||
| 257 | TID t); | ||
| 258 | |||
| 259 | HRESULT (STDMETHODCALLTYPE *RemoveExtension)( | ||
| 260 | IMpeg2TableFilter *This, | ||
| 261 | PID p, | ||
| 262 | TID t, | ||
| 263 | TEID e); | ||
| 60 | 264 | ||
| 61 | END_INTERFACE | 265 | END_INTERFACE |
| 266 | } IMpeg2TableFilterVtbl; | ||
| 267 | |||
| 268 | interface IMpeg2TableFilter { | ||
| 269 | CONST_VTBL IMpeg2TableFilterVtbl* lpVtbl; | ||
| 62 | }; | 270 | }; |
| 271 | |||
| 63 | #ifdef COBJMACROS | 272 | #ifdef COBJMACROS |
| 64 | #define ISectionList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | 273 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 65 | #define ISectionList_AddRef(This) (This)->lpVtbl->AddRef(This) | 274 | /*** IUnknown methods ***/ |
| 66 | #define ISectionList_Release(This) (This)->lpVtbl->Release(This) | 275 | #define IMpeg2TableFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 67 | #define ISectionList_CancelPendingRequest() (This)->lpVtbl->CancelPendingRequest(This) | 276 | #define IMpeg2TableFilter_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 68 | #define ISectionList_GetNumberOfSections(This,pCount) (This)->lpVtbl->GetNumberOfSections(This,pCount) | 277 | #define IMpeg2TableFilter_Release(This) (This)->lpVtbl->Release(This) |
| 69 | #define ISectionList_GetProgramIdentifier(This,pPid) (This)->lpVtbl->GetProgramIdentifier(This,pPid) | 278 | /*** IMpeg2TableFilter methods ***/ |
| 70 | #define ISectionList_GetSectionData(This,sectionNumber,pdwRawPacketLength,ppSection) (This)->lpVtbl->GetSectionData(This,sectionNumber,pdwRawPacketLength,ppSection) | 279 | #define IMpeg2TableFilter_AddPID(This,p) (This)->lpVtbl->AddPID(This,p) |
| 71 | #define ISectionList_GetTableIdentifier(This,pTableId) (This)->lpVtbl->GetTableIdentifier(This,pTableId) | 280 | #define IMpeg2TableFilter_AddTable(This,p,t) (This)->lpVtbl->AddTable(This,p,t) |
| 72 | #define ISectionList_Initialize(This,requestType,pMpeg2Data,pContext,pid,tid,pFilter,timeout,hDoneEvent) (This)->lpVtbl->Initialize(This,requestType,pMpeg2Data,pContext,pid,tid,pFilter,timeout,hDoneEvent) | 281 | #define IMpeg2TableFilter_AddExtension(This,p,t,e) (This)->lpVtbl->AddExtension(This,p,t,e) |
| 73 | #define ISectionList_InitializeWithRawSections(This,pmplSections) (This)->lpVtbl->InitializeWithRawSections(This,pmplSections) | 282 | #define IMpeg2TableFilter_RemovePID(This,p) (This)->lpVtbl->RemovePID(This,p) |
| 74 | #endif /*COBJMACROS*/ | 283 | #define IMpeg2TableFilter_RemoveTable(This,p,t) (This)->lpVtbl->RemoveTable(This,p,t) |
| 75 | 284 | #define IMpeg2TableFilter_RemoveExtension(This,p,t,e) (This)->lpVtbl->RemoveExtension(This,p,t,e) | |
| 76 | #undef INTERFACE | 285 | #else |
| 77 | #define INTERFACE IMpeg2Data | 286 | /*** IUnknown methods ***/ |
| 78 | #ifdef __GNUC__ | 287 | static inline HRESULT IMpeg2TableFilter_QueryInterface(IMpeg2TableFilter* This,REFIID riid,void **ppvObject) { |
| 79 | #warning COM interfaces layout in this header has not been verified. | 288 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 80 | #warning COM interfaces with incorrect layout may not work at all. | 289 | } |
| 81 | __MINGW_BROKEN_INTERFACE(INTERFACE) | 290 | static inline ULONG IMpeg2TableFilter_AddRef(IMpeg2TableFilter* This) { |
| 82 | #endif | 291 | return This->lpVtbl->AddRef(This); |
| 83 | DECLARE_INTERFACE_(IMpeg2Data,IUnknown) | 292 | } |
| 293 | static inline ULONG IMpeg2TableFilter_Release(IMpeg2TableFilter* This) { | ||
| 294 | return This->lpVtbl->Release(This); | ||
| 295 | } | ||
| 296 | /*** IMpeg2TableFilter methods ***/ | ||
| 297 | static inline HRESULT IMpeg2TableFilter_AddPID(IMpeg2TableFilter* This,PID p) { | ||
| 298 | return This->lpVtbl->AddPID(This,p); | ||
| 299 | } | ||
| 300 | static inline HRESULT IMpeg2TableFilter_AddTable(IMpeg2TableFilter* This,PID p,TID t) { | ||
| 301 | return This->lpVtbl->AddTable(This,p,t); | ||
| 302 | } | ||
| 303 | static inline HRESULT IMpeg2TableFilter_AddExtension(IMpeg2TableFilter* This,PID p,TID t,TEID e) { | ||
| 304 | return This->lpVtbl->AddExtension(This,p,t,e); | ||
| 305 | } | ||
| 306 | static inline HRESULT IMpeg2TableFilter_RemovePID(IMpeg2TableFilter* This,PID p) { | ||
| 307 | return This->lpVtbl->RemovePID(This,p); | ||
| 308 | } | ||
| 309 | static inline HRESULT IMpeg2TableFilter_RemoveTable(IMpeg2TableFilter* This,PID p,TID t) { | ||
| 310 | return This->lpVtbl->RemoveTable(This,p,t); | ||
| 311 | } | ||
| 312 | static inline HRESULT IMpeg2TableFilter_RemoveExtension(IMpeg2TableFilter* This,PID p,TID t,TEID e) { | ||
| 313 | return This->lpVtbl->RemoveExtension(This,p,t,e); | ||
| 314 | } | ||
| 315 | #endif | ||
| 316 | #endif | ||
| 317 | |||
| 318 | #endif | ||
| 319 | |||
| 320 | |||
| 321 | #endif /* __IMpeg2TableFilter_INTERFACE_DEFINED__ */ | ||
| 322 | |||
| 323 | /***************************************************************************** | ||
| 324 | * Mpeg2TableFilter coclass | ||
| 325 | */ | ||
| 326 | |||
| 327 | DEFINE_GUID(CLSID_Mpeg2TableFilter, 0x752845f1, 0x758f, 0x4c83, 0xa0,0x43, 0x42,0x70,0xc5,0x93,0x30,0x8e); | ||
| 328 | |||
| 329 | #ifdef __cplusplus | ||
| 330 | class DECLSPEC_UUID("752845f1-758f-4c83-a043-4270c593308e") Mpeg2TableFilter; | ||
| 331 | #ifdef __CRT_UUID_DECL | ||
| 332 | __CRT_UUID_DECL(Mpeg2TableFilter, 0x752845f1, 0x758f, 0x4c83, 0xa0,0x43, 0x42,0x70,0xc5,0x93,0x30,0x8e) | ||
| 333 | #endif | ||
| 334 | #endif | ||
| 335 | |||
| 336 | typedef struct Mpeg2TableSampleHdr { | ||
| 337 | BYTE SectionCount; | ||
| 338 | BYTE Reserved[3]; | ||
| 339 | LONG SectionOffsets[1]; | ||
| 340 | } Mpeg2TableSampleHdr; | ||
| 341 | #ifndef __Mpeg2DataLib_LIBRARY_DEFINED__ | ||
| 342 | #define __Mpeg2DataLib_LIBRARY_DEFINED__ | ||
| 343 | |||
| 344 | DEFINE_GUID(LIBID_Mpeg2DataLib, 0xdbaf6c1b, 0xb6a4, 0x4898, 0xae,0x65, 0x20,0x4f,0x0d,0x95,0x09,0xa1); | ||
| 345 | |||
| 346 | /***************************************************************************** | ||
| 347 | * IMpeg2Data interface | ||
| 348 | */ | ||
| 349 | #ifndef __IMpeg2Data_INTERFACE_DEFINED__ | ||
| 350 | #define __IMpeg2Data_INTERFACE_DEFINED__ | ||
| 351 | |||
| 352 | DEFINE_GUID(IID_IMpeg2Data, 0x9b396d40, 0xf380, 0x4e3c, 0xa5,0x14, 0x1a,0x82,0xbf,0x6e,0xbf,0xe6); | ||
| 353 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 354 | MIDL_INTERFACE("9b396d40-f380-4e3c-a514-1a82bf6ebfe6") | ||
| 355 | IMpeg2Data : public IUnknown | ||
| 84 | { | 356 | { |
| 357 | virtual HRESULT STDMETHODCALLTYPE GetSection( | ||
| 358 | PID pid, | ||
| 359 | TID tid, | ||
| 360 | PMPEG2_FILTER filter, | ||
| 361 | DWORD timeout, | ||
| 362 | ISectionList **section_list) = 0; | ||
| 363 | |||
| 364 | virtual HRESULT STDMETHODCALLTYPE GetTable( | ||
| 365 | PID pid, | ||
| 366 | TID tid, | ||
| 367 | PMPEG2_FILTER filter, | ||
| 368 | DWORD timeout, | ||
| 369 | ISectionList **section_list) = 0; | ||
| 370 | |||
| 371 | virtual HRESULT STDMETHODCALLTYPE GetStreamOfSections( | ||
| 372 | PID pid, | ||
| 373 | TID tid, | ||
| 374 | PMPEG2_FILTER filter, | ||
| 375 | HANDLE data_ready_event, | ||
| 376 | IMpeg2Stream **mpeg_stream) = 0; | ||
| 377 | |||
| 378 | }; | ||
| 379 | #ifdef __CRT_UUID_DECL | ||
| 380 | __CRT_UUID_DECL(IMpeg2Data, 0x9b396d40, 0xf380, 0x4e3c, 0xa5,0x14, 0x1a,0x82,0xbf,0x6e,0xbf,0xe6) | ||
| 381 | #endif | ||
| 382 | #else | ||
| 383 | typedef struct IMpeg2DataVtbl { | ||
| 85 | BEGIN_INTERFACE | 384 | BEGIN_INTERFACE |
| 86 | 385 | ||
| 87 | /* IUnknown methods */ | 386 | /*** IUnknown methods ***/ |
| 88 | STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; | 387 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 89 | STDMETHOD_(ULONG, AddRef)(THIS) PURE; | 388 | IMpeg2Data *This, |
| 90 | STDMETHOD_(ULONG, Release)(THIS) PURE; | 389 | REFIID riid, |
| 390 | void **ppvObject); | ||
| 391 | |||
| 392 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 393 | IMpeg2Data *This); | ||
| 91 | 394 | ||
| 92 | /* IMpeg2Data methods */ | 395 | ULONG (STDMETHODCALLTYPE *Release)( |
| 93 | STDMETHOD_(HRESULT,GetSection)(THIS_ PID pid,TID tid,PMPEG2_FILTER pFilter,DWORD dwTimeout,ISectionList **ppSectionList) PURE; | 396 | IMpeg2Data *This); |
| 94 | STDMETHOD_(HRESULT,GetStreamOfSections)(THIS_ PID pid,TID tid,PMPEG2_FILTER pFilter,HANDLE hDataReadyEvent,IMpeg2Stream **ppMpegStream) PURE; | 397 | |
| 95 | STDMETHOD_(HRESULT,GetTable)(THIS_ PID pid,TID tid,PMPEG2_FILTER pFilter,DWORD dwTimeout,ISectionList **ppSectionList) PURE; | 398 | /*** IMpeg2Data methods ***/ |
| 399 | HRESULT (STDMETHODCALLTYPE *GetSection)( | ||
| 400 | IMpeg2Data *This, | ||
| 401 | PID pid, | ||
| 402 | TID tid, | ||
| 403 | PMPEG2_FILTER filter, | ||
| 404 | DWORD timeout, | ||
| 405 | ISectionList **section_list); | ||
| 406 | |||
| 407 | HRESULT (STDMETHODCALLTYPE *GetTable)( | ||
| 408 | IMpeg2Data *This, | ||
| 409 | PID pid, | ||
| 410 | TID tid, | ||
| 411 | PMPEG2_FILTER filter, | ||
| 412 | DWORD timeout, | ||
| 413 | ISectionList **section_list); | ||
| 414 | |||
| 415 | HRESULT (STDMETHODCALLTYPE *GetStreamOfSections)( | ||
| 416 | IMpeg2Data *This, | ||
| 417 | PID pid, | ||
| 418 | TID tid, | ||
| 419 | PMPEG2_FILTER filter, | ||
| 420 | HANDLE data_ready_event, | ||
| 421 | IMpeg2Stream **mpeg_stream); | ||
| 96 | 422 | ||
| 97 | END_INTERFACE | 423 | END_INTERFACE |
| 424 | } IMpeg2DataVtbl; | ||
| 425 | |||
| 426 | interface IMpeg2Data { | ||
| 427 | CONST_VTBL IMpeg2DataVtbl* lpVtbl; | ||
| 98 | }; | 428 | }; |
| 429 | |||
| 99 | #ifdef COBJMACROS | 430 | #ifdef COBJMACROS |
| 431 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 432 | /*** IUnknown methods ***/ | ||
| 100 | #define IMpeg2Data_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | 433 | #define IMpeg2Data_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 101 | #define IMpeg2Data_AddRef(This) (This)->lpVtbl->AddRef(This) | 434 | #define IMpeg2Data_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 102 | #define IMpeg2Data_Release(This) (This)->lpVtbl->Release(This) | 435 | #define IMpeg2Data_Release(This) (This)->lpVtbl->Release(This) |
| 103 | #define IMpeg2Data_GetSection(This,pid,tid,pFilter,dwTimeout,ppSectionList) (This)->lpVtbl->GetSection(This,pid,tid,pFilter,dwTimeout,ppSectionList) | 436 | /*** IMpeg2Data methods ***/ |
| 104 | #define IMpeg2Data_GetStreamOfSections(This,pid,tid,pFilter,hDataReadyEvent,ppMpegStream) (This)->lpVtbl->GetStreamOfSections(This,pid,tid,pFilter,hDataReadyEvent,ppMpegStream) | 437 | #define IMpeg2Data_GetSection(This,pid,tid,filter,timeout,section_list) (This)->lpVtbl->GetSection(This,pid,tid,filter,timeout,section_list) |
| 105 | #define IMpeg2Data_GetTable(This,pid,tid,pFilter,dwTimeout,ppSectionList) (This)->lpVtbl->GetTable(This,pid,tid,pFilter,dwTimeout,ppSectionList) | 438 | #define IMpeg2Data_GetTable(This,pid,tid,filter,timeout,section_list) (This)->lpVtbl->GetTable(This,pid,tid,filter,timeout,section_list) |
| 106 | #endif /*COBJMACROS*/ | 439 | #define IMpeg2Data_GetStreamOfSections(This,pid,tid,filter,data_ready_event,mpeg_stream) (This)->lpVtbl->GetStreamOfSections(This,pid,tid,filter,data_ready_event,mpeg_stream) |
| 107 | 440 | #else | |
| 108 | #undef INTERFACE | 441 | /*** IUnknown methods ***/ |
| 109 | #define INTERFACE IMpeg2Stream | 442 | static inline HRESULT IMpeg2Data_QueryInterface(IMpeg2Data* This,REFIID riid,void **ppvObject) { |
| 110 | #ifdef __GNUC__ | 443 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 111 | #warning COM interfaces layout in this header has not been verified. | 444 | } |
| 112 | #warning COM interfaces with incorrect layout may not work at all. | 445 | static inline ULONG IMpeg2Data_AddRef(IMpeg2Data* This) { |
| 113 | __MINGW_BROKEN_INTERFACE(INTERFACE) | 446 | return This->lpVtbl->AddRef(This); |
| 114 | #endif | 447 | } |
| 115 | DECLARE_INTERFACE_(IMpeg2Stream,IUnknown) | 448 | static inline ULONG IMpeg2Data_Release(IMpeg2Data* This) { |
| 449 | return This->lpVtbl->Release(This); | ||
| 450 | } | ||
| 451 | /*** IMpeg2Data methods ***/ | ||
| 452 | static inline HRESULT IMpeg2Data_GetSection(IMpeg2Data* This,PID pid,TID tid,PMPEG2_FILTER filter,DWORD timeout,ISectionList **section_list) { | ||
| 453 | return This->lpVtbl->GetSection(This,pid,tid,filter,timeout,section_list); | ||
| 454 | } | ||
| 455 | static inline HRESULT IMpeg2Data_GetTable(IMpeg2Data* This,PID pid,TID tid,PMPEG2_FILTER filter,DWORD timeout,ISectionList **section_list) { | ||
| 456 | return This->lpVtbl->GetTable(This,pid,tid,filter,timeout,section_list); | ||
| 457 | } | ||
| 458 | static inline HRESULT IMpeg2Data_GetStreamOfSections(IMpeg2Data* This,PID pid,TID tid,PMPEG2_FILTER filter,HANDLE data_ready_event,IMpeg2Stream **mpeg_stream) { | ||
| 459 | return This->lpVtbl->GetStreamOfSections(This,pid,tid,filter,data_ready_event,mpeg_stream); | ||
| 460 | } | ||
| 461 | #endif | ||
| 462 | #endif | ||
| 463 | |||
| 464 | #endif | ||
| 465 | |||
| 466 | |||
| 467 | #endif /* __IMpeg2Data_INTERFACE_DEFINED__ */ | ||
| 468 | |||
| 469 | /***************************************************************************** | ||
| 470 | * ISectionList interface | ||
| 471 | */ | ||
| 472 | #ifndef __ISectionList_INTERFACE_DEFINED__ | ||
| 473 | #define __ISectionList_INTERFACE_DEFINED__ | ||
| 474 | |||
| 475 | DEFINE_GUID(IID_ISectionList, 0xafec1eb5, 0x2a64, 0x46c6, 0xbf,0x4b, 0xae,0x3c,0xcb,0x6a,0xfd,0xb0); | ||
| 476 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 477 | MIDL_INTERFACE("afec1eb5-2a64-46c6-bf4b-ae3ccb6afdb0") | ||
| 478 | ISectionList : public IUnknown | ||
| 116 | { | 479 | { |
| 480 | virtual HRESULT STDMETHODCALLTYPE Initialize( | ||
| 481 | MPEG_REQUEST_TYPE request_type, | ||
| 482 | IMpeg2Data *mpeg2_data, | ||
| 483 | PMPEG_CONTEXT context, | ||
| 484 | PID pid, | ||
| 485 | TID tid, | ||
| 486 | PMPEG2_FILTER filter, | ||
| 487 | DWORD timeout, | ||
| 488 | HANDLE done_event) = 0; | ||
| 489 | |||
| 490 | virtual HRESULT STDMETHODCALLTYPE InitializeWithRawSections( | ||
| 491 | PMPEG_PACKET_LIST mpl_sections) = 0; | ||
| 492 | |||
| 493 | virtual HRESULT STDMETHODCALLTYPE CancelPendingRequest( | ||
| 494 | ) = 0; | ||
| 495 | |||
| 496 | virtual HRESULT STDMETHODCALLTYPE GetNumberOfSections( | ||
| 497 | WORD *count) = 0; | ||
| 498 | |||
| 499 | virtual HRESULT STDMETHODCALLTYPE GetSectionData( | ||
| 500 | WORD section_number, | ||
| 501 | DWORD *raw_packet_length, | ||
| 502 | PSECTION *section) = 0; | ||
| 503 | |||
| 504 | virtual HRESULT STDMETHODCALLTYPE GetProgramIdentifier( | ||
| 505 | PID *pid) = 0; | ||
| 506 | |||
| 507 | virtual HRESULT STDMETHODCALLTYPE GetTableIdentifier( | ||
| 508 | TID *tid) = 0; | ||
| 509 | |||
| 510 | }; | ||
| 511 | #ifdef __CRT_UUID_DECL | ||
| 512 | __CRT_UUID_DECL(ISectionList, 0xafec1eb5, 0x2a64, 0x46c6, 0xbf,0x4b, 0xae,0x3c,0xcb,0x6a,0xfd,0xb0) | ||
| 513 | #endif | ||
| 514 | #else | ||
| 515 | typedef struct ISectionListVtbl { | ||
| 117 | BEGIN_INTERFACE | 516 | BEGIN_INTERFACE |
| 118 | 517 | ||
| 119 | /* IUnknown methods */ | 518 | /*** IUnknown methods ***/ |
| 120 | STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; | 519 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 121 | STDMETHOD_(ULONG, AddRef)(THIS) PURE; | 520 | ISectionList *This, |
| 122 | STDMETHOD_(ULONG, Release)(THIS) PURE; | 521 | REFIID riid, |
| 522 | void **ppvObject); | ||
| 523 | |||
| 524 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 525 | ISectionList *This); | ||
| 526 | |||
| 527 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 528 | ISectionList *This); | ||
| 529 | |||
| 530 | /*** ISectionList methods ***/ | ||
| 531 | HRESULT (STDMETHODCALLTYPE *Initialize)( | ||
| 532 | ISectionList *This, | ||
| 533 | MPEG_REQUEST_TYPE request_type, | ||
| 534 | IMpeg2Data *mpeg2_data, | ||
| 535 | PMPEG_CONTEXT context, | ||
| 536 | PID pid, | ||
| 537 | TID tid, | ||
| 538 | PMPEG2_FILTER filter, | ||
| 539 | DWORD timeout, | ||
| 540 | HANDLE done_event); | ||
| 541 | |||
| 542 | HRESULT (STDMETHODCALLTYPE *InitializeWithRawSections)( | ||
| 543 | ISectionList *This, | ||
| 544 | PMPEG_PACKET_LIST mpl_sections); | ||
| 545 | |||
| 546 | HRESULT (STDMETHODCALLTYPE *CancelPendingRequest)( | ||
| 547 | ISectionList *This); | ||
| 548 | |||
| 549 | HRESULT (STDMETHODCALLTYPE *GetNumberOfSections)( | ||
| 550 | ISectionList *This, | ||
| 551 | WORD *count); | ||
| 552 | |||
| 553 | HRESULT (STDMETHODCALLTYPE *GetSectionData)( | ||
| 554 | ISectionList *This, | ||
| 555 | WORD section_number, | ||
| 556 | DWORD *raw_packet_length, | ||
| 557 | PSECTION *section); | ||
| 558 | |||
| 559 | HRESULT (STDMETHODCALLTYPE *GetProgramIdentifier)( | ||
| 560 | ISectionList *This, | ||
| 561 | PID *pid); | ||
| 123 | 562 | ||
| 124 | /* IMpeg2Stream methods */ | 563 | HRESULT (STDMETHODCALLTYPE *GetTableIdentifier)( |
| 125 | STDMETHOD_(HRESULT,Initialize)(THIS_ MPEG_REQUEST_TYPE requestType,IMpeg2Data *pMpeg2Data,PMPEG_CONTEXT pContext,PID pid,TID tid,PMPEG2_FILTER pFilter,HANDLE hDataReadyEvent) PURE; | 564 | ISectionList *This, |
| 126 | STDMETHOD_(HRESULT,SupplyDataBuffer)(THIS_ PMPEG_STREAM_BUFFER pStreamBuffer) PURE; | 565 | TID *tid); |
| 127 | 566 | ||
| 128 | END_INTERFACE | 567 | END_INTERFACE |
| 568 | } ISectionListVtbl; | ||
| 569 | |||
| 570 | interface ISectionList { | ||
| 571 | CONST_VTBL ISectionListVtbl* lpVtbl; | ||
| 129 | }; | 572 | }; |
| 573 | |||
| 130 | #ifdef COBJMACROS | 574 | #ifdef COBJMACROS |
| 575 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 576 | /*** IUnknown methods ***/ | ||
| 577 | #define ISectionList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 578 | #define ISectionList_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 579 | #define ISectionList_Release(This) (This)->lpVtbl->Release(This) | ||
| 580 | /*** ISectionList methods ***/ | ||
| 581 | #define ISectionList_Initialize(This,request_type,mpeg2_data,context,pid,tid,filter,timeout,done_event) (This)->lpVtbl->Initialize(This,request_type,mpeg2_data,context,pid,tid,filter,timeout,done_event) | ||
| 582 | #define ISectionList_InitializeWithRawSections(This,mpl_sections) (This)->lpVtbl->InitializeWithRawSections(This,mpl_sections) | ||
| 583 | #define ISectionList_CancelPendingRequest(This) (This)->lpVtbl->CancelPendingRequest(This) | ||
| 584 | #define ISectionList_GetNumberOfSections(This,count) (This)->lpVtbl->GetNumberOfSections(This,count) | ||
| 585 | #define ISectionList_GetSectionData(This,section_number,raw_packet_length,section) (This)->lpVtbl->GetSectionData(This,section_number,raw_packet_length,section) | ||
| 586 | #define ISectionList_GetProgramIdentifier(This,pid) (This)->lpVtbl->GetProgramIdentifier(This,pid) | ||
| 587 | #define ISectionList_GetTableIdentifier(This,tid) (This)->lpVtbl->GetTableIdentifier(This,tid) | ||
| 588 | #else | ||
| 589 | /*** IUnknown methods ***/ | ||
| 590 | static inline HRESULT ISectionList_QueryInterface(ISectionList* This,REFIID riid,void **ppvObject) { | ||
| 591 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 592 | } | ||
| 593 | static inline ULONG ISectionList_AddRef(ISectionList* This) { | ||
| 594 | return This->lpVtbl->AddRef(This); | ||
| 595 | } | ||
| 596 | static inline ULONG ISectionList_Release(ISectionList* This) { | ||
| 597 | return This->lpVtbl->Release(This); | ||
| 598 | } | ||
| 599 | /*** ISectionList methods ***/ | ||
| 600 | static inline HRESULT ISectionList_Initialize(ISectionList* This,MPEG_REQUEST_TYPE request_type,IMpeg2Data *mpeg2_data,PMPEG_CONTEXT context,PID pid,TID tid,PMPEG2_FILTER filter,DWORD timeout,HANDLE done_event) { | ||
| 601 | return This->lpVtbl->Initialize(This,request_type,mpeg2_data,context,pid,tid,filter,timeout,done_event); | ||
| 602 | } | ||
| 603 | static inline HRESULT ISectionList_InitializeWithRawSections(ISectionList* This,PMPEG_PACKET_LIST mpl_sections) { | ||
| 604 | return This->lpVtbl->InitializeWithRawSections(This,mpl_sections); | ||
| 605 | } | ||
| 606 | static inline HRESULT ISectionList_CancelPendingRequest(ISectionList* This) { | ||
| 607 | return This->lpVtbl->CancelPendingRequest(This); | ||
| 608 | } | ||
| 609 | static inline HRESULT ISectionList_GetNumberOfSections(ISectionList* This,WORD *count) { | ||
| 610 | return This->lpVtbl->GetNumberOfSections(This,count); | ||
| 611 | } | ||
| 612 | static inline HRESULT ISectionList_GetSectionData(ISectionList* This,WORD section_number,DWORD *raw_packet_length,PSECTION *section) { | ||
| 613 | return This->lpVtbl->GetSectionData(This,section_number,raw_packet_length,section); | ||
| 614 | } | ||
| 615 | static inline HRESULT ISectionList_GetProgramIdentifier(ISectionList* This,PID *pid) { | ||
| 616 | return This->lpVtbl->GetProgramIdentifier(This,pid); | ||
| 617 | } | ||
| 618 | static inline HRESULT ISectionList_GetTableIdentifier(ISectionList* This,TID *tid) { | ||
| 619 | return This->lpVtbl->GetTableIdentifier(This,tid); | ||
| 620 | } | ||
| 621 | #endif | ||
| 622 | #endif | ||
| 623 | |||
| 624 | #endif | ||
| 625 | |||
| 626 | |||
| 627 | #endif /* __ISectionList_INTERFACE_DEFINED__ */ | ||
| 628 | |||
| 629 | /***************************************************************************** | ||
| 630 | * IMpeg2Stream interface | ||
| 631 | */ | ||
| 632 | #ifndef __IMpeg2Stream_INTERFACE_DEFINED__ | ||
| 633 | #define __IMpeg2Stream_INTERFACE_DEFINED__ | ||
| 634 | |||
| 635 | DEFINE_GUID(IID_IMpeg2Stream, 0x400cc286, 0x32a0, 0x4ce4, 0x90,0x41, 0x39,0x57,0x11,0x25,0xa6,0x35); | ||
| 636 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 637 | MIDL_INTERFACE("400cc286-32a0-4ce4-9041-39571125a635") | ||
| 638 | IMpeg2Stream : public IUnknown | ||
| 639 | { | ||
| 640 | virtual HRESULT STDMETHODCALLTYPE Initialize( | ||
| 641 | MPEG_REQUEST_TYPE request_type, | ||
| 642 | IMpeg2Data *mpeg2_data, | ||
| 643 | PMPEG_CONTEXT context, | ||
| 644 | PID pid, | ||
| 645 | TID tid, | ||
| 646 | PMPEG2_FILTER filter, | ||
| 647 | HANDLE data_ready_event) = 0; | ||
| 648 | |||
| 649 | virtual HRESULT STDMETHODCALLTYPE SupplyDataBuffer( | ||
| 650 | PMPEG_STREAM_BUFFER stream_buffer) = 0; | ||
| 651 | |||
| 652 | }; | ||
| 653 | #ifdef __CRT_UUID_DECL | ||
| 654 | __CRT_UUID_DECL(IMpeg2Stream, 0x400cc286, 0x32a0, 0x4ce4, 0x90,0x41, 0x39,0x57,0x11,0x25,0xa6,0x35) | ||
| 655 | #endif | ||
| 656 | #else | ||
| 657 | typedef struct IMpeg2StreamVtbl { | ||
| 658 | BEGIN_INTERFACE | ||
| 659 | |||
| 660 | /*** IUnknown methods ***/ | ||
| 661 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 662 | IMpeg2Stream *This, | ||
| 663 | REFIID riid, | ||
| 664 | void **ppvObject); | ||
| 665 | |||
| 666 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 667 | IMpeg2Stream *This); | ||
| 668 | |||
| 669 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 670 | IMpeg2Stream *This); | ||
| 671 | |||
| 672 | /*** IMpeg2Stream methods ***/ | ||
| 673 | HRESULT (STDMETHODCALLTYPE *Initialize)( | ||
| 674 | IMpeg2Stream *This, | ||
| 675 | MPEG_REQUEST_TYPE request_type, | ||
| 676 | IMpeg2Data *mpeg2_data, | ||
| 677 | PMPEG_CONTEXT context, | ||
| 678 | PID pid, | ||
| 679 | TID tid, | ||
| 680 | PMPEG2_FILTER filter, | ||
| 681 | HANDLE data_ready_event); | ||
| 682 | |||
| 683 | HRESULT (STDMETHODCALLTYPE *SupplyDataBuffer)( | ||
| 684 | IMpeg2Stream *This, | ||
| 685 | PMPEG_STREAM_BUFFER stream_buffer); | ||
| 686 | |||
| 687 | END_INTERFACE | ||
| 688 | } IMpeg2StreamVtbl; | ||
| 689 | |||
| 690 | interface IMpeg2Stream { | ||
| 691 | CONST_VTBL IMpeg2StreamVtbl* lpVtbl; | ||
| 692 | }; | ||
| 693 | |||
| 694 | #ifdef COBJMACROS | ||
| 695 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 696 | /*** IUnknown methods ***/ | ||
| 131 | #define IMpeg2Stream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | 697 | #define IMpeg2Stream_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 132 | #define IMpeg2Stream_AddRef(This) (This)->lpVtbl->AddRef(This) | 698 | #define IMpeg2Stream_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 133 | #define IMpeg2Stream_Release(This) (This)->lpVtbl->Release(This) | 699 | #define IMpeg2Stream_Release(This) (This)->lpVtbl->Release(This) |
| 134 | #define IMpeg2Stream_Initialize(This,requestType,pMpeg2Data,pContext,pid,tid,pFilter,hDataReadyEvent) (This)->lpVtbl->Initialize(This,requestType,pMpeg2Data,pContext,pid,tid,pFilter,hDataReadyEvent) | 700 | /*** IMpeg2Stream methods ***/ |
| 135 | #define IMpeg2Stream_SupplyDataBuffer(This,pStreamBuffer) (This)->lpVtbl->SupplyDataBuffer(This,pStreamBuffer) | 701 | #define IMpeg2Stream_Initialize(This,request_type,mpeg2_data,context,pid,tid,filter,data_ready_event) (This)->lpVtbl->Initialize(This,request_type,mpeg2_data,context,pid,tid,filter,data_ready_event) |
| 136 | #endif /*COBJMACROS*/ | 702 | #define IMpeg2Stream_SupplyDataBuffer(This,stream_buffer) (This)->lpVtbl->SupplyDataBuffer(This,stream_buffer) |
| 703 | #else | ||
| 704 | /*** IUnknown methods ***/ | ||
| 705 | static inline HRESULT IMpeg2Stream_QueryInterface(IMpeg2Stream* This,REFIID riid,void **ppvObject) { | ||
| 706 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 707 | } | ||
| 708 | static inline ULONG IMpeg2Stream_AddRef(IMpeg2Stream* This) { | ||
| 709 | return This->lpVtbl->AddRef(This); | ||
| 710 | } | ||
| 711 | static inline ULONG IMpeg2Stream_Release(IMpeg2Stream* This) { | ||
| 712 | return This->lpVtbl->Release(This); | ||
| 713 | } | ||
| 714 | /*** IMpeg2Stream methods ***/ | ||
| 715 | static inline HRESULT IMpeg2Stream_Initialize(IMpeg2Stream* This,MPEG_REQUEST_TYPE request_type,IMpeg2Data *mpeg2_data,PMPEG_CONTEXT context,PID pid,TID tid,PMPEG2_FILTER filter,HANDLE data_ready_event) { | ||
| 716 | return This->lpVtbl->Initialize(This,request_type,mpeg2_data,context,pid,tid,filter,data_ready_event); | ||
| 717 | } | ||
| 718 | static inline HRESULT IMpeg2Stream_SupplyDataBuffer(IMpeg2Stream* This,PMPEG_STREAM_BUFFER stream_buffer) { | ||
| 719 | return This->lpVtbl->SupplyDataBuffer(This,stream_buffer); | ||
| 720 | } | ||
| 721 | #endif | ||
| 722 | #endif | ||
| 723 | |||
| 724 | #endif | ||
| 725 | |||
| 726 | |||
| 727 | #endif /* __IMpeg2Stream_INTERFACE_DEFINED__ */ | ||
| 728 | |||
| 729 | /***************************************************************************** | ||
| 730 | * SectionList coclass | ||
| 731 | */ | ||
| 732 | |||
| 733 | DEFINE_GUID(CLSID_SectionList, 0x73da5d04, 0x4347, 0x45d3, 0xa9,0xdc, 0xfa,0xe9,0xdd,0xbe,0x55,0x8d); | ||
| 734 | |||
| 735 | #ifdef __cplusplus | ||
| 736 | class DECLSPEC_UUID("73da5d04-4347-45d3-a9dc-fae9ddbe558d") SectionList; | ||
| 737 | #ifdef __CRT_UUID_DECL | ||
| 738 | __CRT_UUID_DECL(SectionList, 0x73da5d04, 0x4347, 0x45d3, 0xa9,0xdc, 0xfa,0xe9,0xdd,0xbe,0x55,0x8d) | ||
| 739 | #endif | ||
| 740 | #endif | ||
| 741 | |||
| 742 | /***************************************************************************** | ||
| 743 | * Mpeg2Stream coclass | ||
| 744 | */ | ||
| 745 | |||
| 746 | DEFINE_GUID(CLSID_Mpeg2Stream, 0xf91d96c7, 0x8509, 0x4d0b, 0xab,0x26, 0xa0,0xdd,0x10,0x90,0x4b,0xb7); | ||
| 747 | |||
| 748 | #ifdef __cplusplus | ||
| 749 | class DECLSPEC_UUID("f91d96c7-8509-4d0b-ab26-a0dd10904bb7") Mpeg2Stream; | ||
| 750 | #ifdef __CRT_UUID_DECL | ||
| 751 | __CRT_UUID_DECL(Mpeg2Stream, 0xf91d96c7, 0x8509, 0x4d0b, 0xab,0x26, 0xa0,0xdd,0x10,0x90,0x4b,0xb7) | ||
| 752 | #endif | ||
| 753 | #endif | ||
| 754 | |||
| 755 | /***************************************************************************** | ||
| 756 | * Mpeg2Data coclass | ||
| 757 | */ | ||
| 758 | |||
| 759 | DEFINE_GUID(CLSID_Mpeg2Data, 0xc666e115, 0xbb62, 0x4027, 0xa1,0x13, 0x82,0xd6,0x43,0xfe,0x2d,0x99); | ||
| 760 | |||
| 761 | #ifdef __cplusplus | ||
| 762 | class DECLSPEC_UUID("c666e115-bb62-4027-a113-82d643fe2d99") Mpeg2Data; | ||
| 763 | #ifdef __CRT_UUID_DECL | ||
| 764 | __CRT_UUID_DECL(Mpeg2Data, 0xc666e115, 0xbb62, 0x4027, 0xa1,0x13, 0x82,0xd6,0x43,0xfe,0x2d,0x99) | ||
| 765 | #endif | ||
| 766 | #endif | ||
| 767 | |||
| 768 | #endif /* __Mpeg2DataLib_LIBRARY_DEFINED__ */ | ||
| 769 | /* Begin additional prototypes for all interfaces */ | ||
| 770 | |||
| 771 | |||
| 772 | /* End additional prototypes */ | ||
| 773 | |||
| 774 | #ifdef __cplusplus | ||
| 775 | } | ||
| 776 | #endif | ||
| 137 | 777 | ||
| 138 | #endif /*__INC_MPEG2DATA__*/ | 778 | #endif /* __mpeg2data_h__ */ |
lib/libc/include/any-windows-any/mpeg2structs.h+264-205| ... | @@ -1,222 +1,281 @@ | ... | @@ -1,222 +1,281 @@ |
| 1 | /** | 1 | /*** Autogenerated by WIDL 10.4 from include/mpeg2structs.idl - Do not edit ***/ |
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | 2 | ||
| 7 | #include <mpeg2data.h> | 3 | #ifdef _WIN32 |
| 8 | #include <mpeg2bits.h> | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
| 5 | #define __REQUIRED_RPCNDR_H_VERSION__ 475 | ||
| 6 | #endif | ||
| 7 | #include <rpc.h> | ||
| 8 | #include <rpcndr.h> | ||
| 9 | #endif | ||
| 9 | 10 | ||
| 10 | #ifndef __INC_MPEG2STRUCTS__ | 11 | #ifndef COM_NO_WINDOWS_H |
| 11 | #define __INC_MPEG2STRUCTS__ | 12 | #include <windows.h> |
| 13 | #include <ole2.h> | ||
| 14 | #endif | ||
| 12 | 15 | ||
| 13 | typedef enum _MPEG_CONTEXT_TYPE { | 16 | #ifndef __mpeg2structs_h__ |
| 14 | MPEG_CONTEXT_BCS_DEMUX = 0, | 17 | #define __mpeg2structs_h__ |
| 15 | MPEG_CONTEXT_WINSOCK | ||
| 16 | } MPEG_CONTEXT_TYPE; | ||
| 17 | 18 | ||
| 18 | typedef enum _MPEG_CURRENT_NEXT_BIT { | 19 | /* Forward declarations */ |
| 19 | MPEG_SECTION_IS_NEXT = 0, | ||
| 20 | MPEG_SECTION_IS_CURRENT = 1 | ||
| 21 | } MPEG_CURRENT_NEXT_BIT; | ||
| 22 | 20 | ||
| 23 | typedef enum _MPEG_REQUEST_TYPE { | 21 | /* Headers for imported files */ |
| 24 | MPEG_RQST_UNKNOWN = 0, | ||
| 25 | MPEG_RQST_GET_SECTION, | ||
| 26 | MPEG_RQST_GET_SECTION_ASYNC, | ||
| 27 | MPEG_RQST_GET_TABLE, | ||
| 28 | MPEG_RQST_GET_TABLE_ASYNC, | ||
| 29 | MPEG_RQST_GET_SECTIONS_STREAM, | ||
| 30 | MPEG_RQST_GET_PES_STREAM, | ||
| 31 | MPEG_RQST_GET_TS_STREAM, | ||
| 32 | MPEG_RQST_START_MPE_STREAM | ||
| 33 | } MPEG_REQUEST_TYPE; | ||
| 34 | 22 | ||
| 35 | typedef struct _DSMCC_ELEMENT { | 23 | #include <wtypes.h> |
| 36 | PID pid; | ||
| 37 | BYTE bComponentTag; | ||
| 38 | DWORD dwCarouselId; | ||
| 39 | DWORD dwTransactionId; | ||
| 40 | struct _DSMCC_ELEMENT *pNext; | ||
| 41 | } DSMCC_ELEMENT, *PDSMCC_ELEMENT; | ||
| 42 | 24 | ||
| 43 | typedef struct { | 25 | #ifdef __cplusplus |
| 44 | WINBOOL fSpecifyProtocol; | 26 | extern "C" { |
| 45 | BYTE Protocol; | 27 | #endif |
| 46 | WINBOOL fSpecifyType; | ||
| 47 | BYTE Type; | ||
| 48 | WINBOOL fSpecifyMessageId; | ||
| 49 | WORD MessageId; | ||
| 50 | WINBOOL fSpecifyTransactionId; | ||
| 51 | WINBOOL fUseTrxIdMessageIdMask; | ||
| 52 | DWORD TransactionId; | ||
| 53 | WINBOOL fSpecifyModuleVersion; | ||
| 54 | BYTE ModuleVersion; | ||
| 55 | WINBOOL fSpecifyBlockNumber; | ||
| 56 | WORD BlockNumber; | ||
| 57 | WINBOOL fGetModuleCall; | ||
| 58 | WORD NumberOfBlocksInModule; | ||
| 59 | } DSMCC_FILTER_OPTIONS; | ||
| 60 | 28 | ||
| 61 | typedef struct _MPEG_HEADER_BITS_MIDL { | 29 | #pragma pack(push) |
| 62 | WORD Bits; | 30 | #pragma pack(1) |
| 31 | typedef struct __WIDL_mpeg2structs_generated_name_0000000C { | ||
| 32 | WORD Bits; | ||
| 33 | } PID_BITS_MIDL; | ||
| 34 | typedef struct __WIDL_mpeg2structs_generated_name_0000000D { | ||
| 35 | WORD Bits; | ||
| 63 | } MPEG_HEADER_BITS_MIDL; | 36 | } MPEG_HEADER_BITS_MIDL; |
| 64 | 37 | typedef struct __WIDL_mpeg2structs_generated_name_0000000E { | |
| 65 | typedef struct _MPEG_HEADER_VERSION_BITS_MIDL { | ||
| 66 | BYTE Bits; | 38 | BYTE Bits; |
| 67 | } MPEG_HEADER_VERSION_BITS_MIDL; | 39 | } MPEG_HEADER_VERSION_BITS_MIDL; |
| 68 | 40 | #pragma pack(pop) | |
| 69 | typedef struct _DSMCC_SECTION { | 41 | typedef WORD PID; |
| 70 | TID TableId; | 42 | typedef BYTE TID; |
| 71 | __C89_NAMELESS union { | 43 | typedef WORD TEID; |
| 72 | MPEG_HEADER_BITS_MIDL S; | 44 | typedef UINT ClientKey; |
| 73 | WORD W; | 45 | typedef enum __WIDL_mpeg2structs_generated_name_0000000F { |
| 74 | } Header; | 46 | MPEG_SECTION_IS_NEXT = 0, |
| 75 | WORD TableIdExtension; | 47 | MPEG_SECTION_IS_CURRENT = 1 |
| 76 | __C89_NAMELESS union { | 48 | } MPEG_CURRENT_NEXT_BIT; |
| 77 | MPEG_HEADER_VERSION_BITS_MIDL S; | 49 | typedef struct __WIDL_mpeg2structs_generated_name_00000010 { |
| 78 | BYTE B; | 50 | WORD wTidExt; |
| 79 | } Version; | 51 | WORD wCount; |
| 80 | BYTE SectionNumber; | 52 | } TID_EXTENSION; |
| 81 | BYTE LastSectionNumber; | 53 | typedef struct __WIDL_mpeg2structs_generated_name_00000010 *PTID_EXTENSION; |
| 82 | BYTE ProtocolDiscriminator; | 54 | typedef struct __WIDL_mpeg2structs_generated_name_00000011 { |
| 83 | BYTE DsmccType; | 55 | TID TableId; |
| 84 | WORD MessageId; | 56 | union { |
| 85 | DWORD TransactionId; | 57 | MPEG_HEADER_BITS_MIDL S; |
| 86 | BYTE Reserved; | 58 | WORD W; |
| 87 | BYTE AdaptationLength; | 59 | } Header; |
| 88 | WORD MessageLength; | 60 | BYTE SectionData[1]; |
| 89 | BYTE RemainingData[1]; | 61 | } SECTION; |
| 90 | } DSMCC_SECTION, *PDSMCC_SECTION; | 62 | typedef struct __WIDL_mpeg2structs_generated_name_00000011 *PSECTION; |
| 91 | 63 | typedef struct __WIDL_mpeg2structs_generated_name_00000012 { | |
| 92 | typedef struct _DVB_EIT_FILTER_OPTIONS { | 64 | TID TableId; |
| 93 | WINBOOL fSpecifySegment; | 65 | union { |
| 94 | BYTE bSegment; | 66 | MPEG_HEADER_BITS_MIDL S; |
| 95 | } DVB_EIT_FILTER_OPTIONS, *PDVB_EIT_FILTER_OPTIONS; | 67 | WORD W; |
| 96 | 68 | } Header; | |
| 97 | typedef struct { | 69 | TEID TableIdExtension; |
| 98 | TID TableId; | 70 | union { |
| 99 | __C89_NAMELESS union { | 71 | MPEG_HEADER_VERSION_BITS_MIDL S; |
| 100 | MPEG_HEADER_BITS_MIDL S; | 72 | BYTE B; |
| 101 | WORD W; | 73 | } Version; |
| 102 | } Header; | 74 | BYTE SectionNumber; |
| 103 | WORD TableIdExtension; | 75 | BYTE LastSectionNumber; |
| 104 | __C89_NAMELESS union { | 76 | BYTE RemainingData[1]; |
| 105 | MPEG_HEADER_VERSION_BITS_MIDL S; | 77 | } LONG_SECTION; |
| 106 | BYTE B; | 78 | typedef struct __WIDL_mpeg2structs_generated_name_00000012 *PLONG_SECTION; |
| 107 | } Version; | 79 | typedef struct __WIDL_mpeg2structs_generated_name_00000013 { |
| 108 | BYTE SectionNumber; | 80 | TID TableId; |
| 109 | BYTE LastSectionNumber; | 81 | union { |
| 110 | BYTE RemainingData[1]; | 82 | MPEG_HEADER_BITS_MIDL S; |
| 111 | } LONG_SECTION, *PLONG_SECTION; | 83 | WORD W; |
| 112 | 84 | } Header; | |
| 113 | typedef struct _MPE_ELEMENT { | 85 | TEID TableIdExtension; |
| 114 | PID pid; | 86 | union { |
| 115 | BYTE bComponentTag; | 87 | MPEG_HEADER_VERSION_BITS_MIDL S; |
| 116 | struct _MPE_ELEMENT *pNext; | 88 | BYTE B; |
| 117 | } MPE_ELEMENT, *PMPE_ELEMENT; | 89 | } Version; |
| 118 | 90 | BYTE SectionNumber; | |
| 119 | typedef struct _MPEG2_FILTER { | 91 | BYTE LastSectionNumber; |
| 120 | BYTE bVersionNumber; | 92 | BYTE ProtocolDiscriminator; |
| 121 | WORD wFilterSize; | 93 | BYTE DsmccType; |
| 122 | WINBOOL fUseRawFilteringBits; | 94 | WORD MessageId; |
| 123 | BYTE Filter[16]; | 95 | DWORD TransactionId; |
| 124 | BYTE Mask[16]; | 96 | BYTE Reserved; |
| 125 | WINBOOL fSpecifyTableIdExtension; | 97 | BYTE AdaptationLength; |
| 126 | WORD TableIdExtension; | 98 | WORD MessageLength; |
| 127 | WINBOOL fSpecifyVersion; | 99 | BYTE RemainingData[1]; |
| 128 | BYTE Version; | 100 | } DSMCC_SECTION; |
| 129 | WINBOOL fSpecifySectionNumber; | 101 | typedef struct __WIDL_mpeg2structs_generated_name_00000013 *PDSMCC_SECTION; |
| 130 | BYTE SectionNumber; | 102 | typedef struct __WIDL_mpeg2structs_generated_name_00000014 { |
| 131 | WINBOOL fSpecifyCurrentNext; | 103 | DWORD dwLength; |
| 132 | WINBOOL fNext; | 104 | PSECTION pSection; |
| 133 | WINBOOL fSpecifyDsmccOptions; | 105 | } MPEG_RQST_PACKET; |
| 134 | DSMCC_FILTER_OPTIONS Dsmcc; | 106 | typedef struct __WIDL_mpeg2structs_generated_name_00000014 *PMPEG_RQST_PACKET; |
| 135 | WINBOOL fSpecifyAtscOptions; | 107 | typedef struct __WIDL_mpeg2structs_generated_name_00000015 { |
| 136 | ATSC_FILTER_OPTIONS Atsc; | 108 | WORD wPacketCount; |
| 137 | } MPEG2_FILTER, *PMPEG2_FILTER; | 109 | PMPEG_RQST_PACKET PacketList[1]; |
| 138 | 110 | } MPEG_PACKET_LIST; | |
| 139 | typedef struct { | 111 | typedef struct __WIDL_mpeg2structs_generated_name_00000015 *PMPEG_PACKET_LIST; |
| 140 | BYTE bVersionNumber; | 112 | typedef struct __WIDL_mpeg2structs_generated_name_00000016 { |
| 141 | WORD wFilterSize; | 113 | WINBOOL fSpecifyProtocol; |
| 142 | WINBOOL fUseRawFilteringBits; | 114 | BYTE Protocol; |
| 143 | BYTE Filter[16]; | 115 | WINBOOL fSpecifyType; |
| 144 | BYTE Mask[16]; | 116 | BYTE Type; |
| 145 | WINBOOL fSpecifyTableIdExtension; | 117 | WINBOOL fSpecifyMessageId; |
| 146 | WORD TableIdExtension; | 118 | WORD MessageId; |
| 147 | WINBOOL fSpecifyVersion; | 119 | WINBOOL fSpecifyTransactionId; |
| 148 | BYTE Version; | 120 | WINBOOL fUseTrxIdMessageIdMask; |
| 149 | WINBOOL fSpecifySectionNumber; | 121 | DWORD TransactionId; |
| 150 | BYTE SectionNumber; | 122 | WINBOOL fSpecifyModuleVersion; |
| 151 | WINBOOL fSpecifyCurrentNext; | 123 | BYTE ModuleVersion; |
| 152 | WINBOOL fNext; | 124 | WINBOOL fSpecifyBlockNumber; |
| 153 | WINBOOL fSpecifyDsmccOptions; | 125 | WORD BlockNumber; |
| 154 | DSMCC_FILTER_OPTIONS Dsmcc; | 126 | WINBOOL fGetModuleCall; |
| 155 | WINBOOL fSpecifyAtscOptions; | 127 | WORD NumberOfBlocksInModule; |
| 156 | ATSC_FILTER_OPTIONS Atsc; | 128 | } DSMCC_FILTER_OPTIONS; |
| 157 | WINBOOL fSpecifyDvbEitOptions; | 129 | typedef struct __WIDL_mpeg2structs_generated_name_00000017 { |
| 158 | DVB_EIT_FILTER_OPTIONS Dvb_Eit; | 130 | WINBOOL fSpecifyEtmId; |
| 159 | } MPEG2_FILTER2, *PMPEG2_FILTER2; | 131 | DWORD EtmId; |
| 160 | 132 | } ATSC_FILTER_OPTIONS; | |
| 161 | typedef struct _MPEG_BCS_DEMUX { | 133 | typedef struct __WIDL_mpeg2structs_generated_name_00000018 { |
| 162 | DWORD AVMGraphId; | 134 | WINBOOL fSpecifySegment; |
| 163 | } MPEG_BCS_DEMUX; | 135 | BYTE bSegment; |
| 164 | 136 | } DVB_EIT_FILTER_OPTIONS; | |
| 165 | typedef struct _MPEG_WINSOCK { | 137 | typedef struct __WIDL_mpeg2structs_generated_name_00000019 { |
| 166 | DWORD AVMGraphId; | 138 | BYTE bVersionNumber; |
| 167 | } MPEG_WINSOCK; | 139 | WORD wFilterSize; |
| 168 | 140 | WINBOOL fUseRawFilteringBits; | |
| 169 | typedef struct _MPEG_CONTEXT { | 141 | BYTE Filter[16]; |
| 170 | MPEG_CONTEXT_TYPE Type; | 142 | BYTE Mask[16]; |
| 171 | __C89_NAMELESS union { | 143 | WINBOOL fSpecifyTableIdExtension; |
| 172 | MPEG_BCS_DEMUX Demux; | 144 | WORD TableIdExtension; |
| 173 | MPEG_WINSOCK Winsock; | 145 | WINBOOL fSpecifyVersion; |
| 174 | } U; | 146 | BYTE Version; |
| 175 | } MPEG_CONTEXT, *PMPEG_CONTEXT; | 147 | WINBOOL fSpecifySectionNumber; |
| 176 | 148 | BYTE SectionNumber; | |
| 177 | typedef struct _MPEG_DATE { | 149 | WINBOOL fSpecifyCurrentNext; |
| 178 | BYTE Date; | 150 | WINBOOL fNext; |
| 179 | BYTE Month; | 151 | WINBOOL fSpecifyDsmccOptions; |
| 180 | WORD Year; | 152 | DSMCC_FILTER_OPTIONS Dsmcc; |
| 181 | } MPEG_DATE; | 153 | WINBOOL fSpecifyAtscOptions; |
| 182 | 154 | ATSC_FILTER_OPTIONS Atsc; | |
| 183 | typedef struct _MPEG_TIME { | 155 | } MPEG2_FILTER; |
| 184 | BYTE Hours; | 156 | typedef struct __WIDL_mpeg2structs_generated_name_00000019 *PMPEG2_FILTER; |
| 185 | BYTE Minutes; | 157 | typedef struct __WIDL_mpeg2structs_generated_name_0000001A { |
| 186 | BYTE Seconds; | 158 | __C89_NAMELESS union { |
| 159 | __C89_NAMELESS struct { | ||
| 160 | BYTE bVersionNumber; | ||
| 161 | WORD wFilterSize; | ||
| 162 | WINBOOL fUseRawFilteringBits; | ||
| 163 | BYTE Filter[16]; | ||
| 164 | BYTE Mask[16]; | ||
| 165 | WINBOOL fSpecifyTableIdExtension; | ||
| 166 | WORD TableIdExtension; | ||
| 167 | WINBOOL fSpecifyVersion; | ||
| 168 | BYTE Version; | ||
| 169 | WINBOOL fSpecifySectionNumber; | ||
| 170 | BYTE SectionNumber; | ||
| 171 | WINBOOL fSpecifyCurrentNext; | ||
| 172 | WINBOOL fNext; | ||
| 173 | WINBOOL fSpecifyDsmccOptions; | ||
| 174 | DSMCC_FILTER_OPTIONS Dsmcc; | ||
| 175 | WINBOOL fSpecifyAtscOptions; | ||
| 176 | ATSC_FILTER_OPTIONS Atsc; | ||
| 177 | } __C89_NAMELESSSTRUCTNAME; | ||
| 178 | BYTE bVersion1Bytes[124]; | ||
| 179 | } __C89_NAMELESSUNIONNAME; | ||
| 180 | WINBOOL fSpecifyDvbEitOptions; | ||
| 181 | DVB_EIT_FILTER_OPTIONS DvbEit; | ||
| 182 | } MPEG2_FILTER2; | ||
| 183 | typedef struct __WIDL_mpeg2structs_generated_name_0000001A *PMPEG2_FILTER2; | ||
| 184 | #define MPEG2_FILTER_VERSION_1_SIZE 124 | ||
| 185 | #define MPEG2_FILTER_VERSION_2_SIZE 133 | ||
| 186 | typedef struct __WIDL_mpeg2structs_generated_name_0000001B { | ||
| 187 | HRESULT hr; | ||
| 188 | DWORD dwDataBufferSize; | ||
| 189 | DWORD dwSizeOfDataRead; | ||
| 190 | BYTE *pDataBuffer; | ||
| 191 | } MPEG_STREAM_BUFFER; | ||
| 192 | typedef struct __WIDL_mpeg2structs_generated_name_0000001B *PMPEG_STREAM_BUFFER; | ||
| 193 | typedef struct __WIDL_mpeg2structs_generated_name_0000001C { | ||
| 194 | BYTE Hours; | ||
| 195 | BYTE Minutes; | ||
| 196 | BYTE Seconds; | ||
| 187 | } MPEG_TIME; | 197 | } MPEG_TIME; |
| 188 | |||
| 189 | typedef struct _MPEG_DATE_AND_TIME { | ||
| 190 | MPEG_DATE D; | ||
| 191 | MPEG_TIME T; | ||
| 192 | } MPEG_DATE_AND_TIME; | ||
| 193 | |||
| 194 | typedef MPEG_TIME MPEG_DURATION; | 198 | typedef MPEG_TIME MPEG_DURATION; |
| 199 | typedef struct __WIDL_mpeg2structs_generated_name_0000001D { | ||
| 200 | BYTE Date; | ||
| 201 | BYTE Month; | ||
| 202 | WORD Year; | ||
| 203 | } MPEG_DATE; | ||
| 204 | typedef struct __WIDL_mpeg2structs_generated_name_0000001E { | ||
| 205 | MPEG_DATE D; | ||
| 206 | MPEG_TIME T; | ||
| 207 | } MPEG_DATE_AND_TIME; | ||
| 208 | typedef enum __WIDL_mpeg2structs_generated_name_0000001F { | ||
| 209 | MPEG_CONTEXT_BCS_DEMUX = 0, | ||
| 210 | MPEG_CONTEXT_WINSOCK = 1 | ||
| 211 | } MPEG_CONTEXT_TYPE; | ||
| 212 | typedef struct __WIDL_mpeg2structs_generated_name_00000020 { | ||
| 213 | DWORD AVMGraphId; | ||
| 214 | } MPEG_BCS_DEMUX; | ||
| 215 | typedef struct __WIDL_mpeg2structs_generated_name_00000021 { | ||
| 216 | DWORD AVMGraphId; | ||
| 217 | } MPEG_WINSOCK; | ||
| 218 | typedef struct __WIDL_mpeg2structs_generated_name_00000022 { | ||
| 219 | MPEG_CONTEXT_TYPE Type; | ||
| 220 | union { | ||
| 221 | MPEG_BCS_DEMUX Demux; | ||
| 222 | MPEG_WINSOCK Winsock; | ||
| 223 | } U; | ||
| 224 | } MPEG_CONTEXT; | ||
| 225 | typedef struct __WIDL_mpeg2structs_generated_name_00000022 *PMPEG_CONTEXT; | ||
| 226 | typedef enum __WIDL_mpeg2structs_generated_name_00000023 { | ||
| 227 | MPEG_RQST_UNKNOWN = 0, | ||
| 228 | MPEG_RQST_GET_SECTION = 1, | ||
| 229 | MPEG_RQST_GET_SECTION_ASYNC = 2, | ||
| 230 | MPEG_RQST_GET_TABLE = 3, | ||
| 231 | MPEG_RQST_GET_TABLE_ASYNC = 4, | ||
| 232 | MPEG_RQST_GET_SECTIONS_STREAM = 5, | ||
| 233 | MPEG_RQST_GET_PES_STREAM = 6, | ||
| 234 | MPEG_RQST_GET_TS_STREAM = 7, | ||
| 235 | MPEG_RQST_START_MPE_STREAM = 8 | ||
| 236 | } MPEG_REQUEST_TYPE; | ||
| 237 | typedef struct __WIDL_mpeg2structs_generated_name_00000024 { | ||
| 238 | MPEG_REQUEST_TYPE Type; | ||
| 239 | MPEG_CONTEXT Context; | ||
| 240 | PID Pid; | ||
| 241 | TID TableId; | ||
| 242 | MPEG2_FILTER Filter; | ||
| 243 | DWORD Flags; | ||
| 244 | } MPEG_SERVICE_REQUEST; | ||
| 245 | typedef struct __WIDL_mpeg2structs_generated_name_00000024 *PMPEG_SERVICE_REQUEST; | ||
| 246 | typedef struct __WIDL_mpeg2structs_generated_name_00000025 { | ||
| 247 | DWORD IPAddress; | ||
| 248 | WORD Port; | ||
| 249 | } MPEG_SERVICE_RESPONSE; | ||
| 250 | typedef struct __WIDL_mpeg2structs_generated_name_00000025 *PMPEG_SERVICE_RESPONSE; | ||
| 251 | typedef struct _DSMCC_ELEMENT { | ||
| 252 | PID pid; | ||
| 253 | BYTE bComponentTag; | ||
| 254 | DWORD dwCarouselId; | ||
| 255 | DWORD dwTransactionId; | ||
| 256 | struct _DSMCC_ELEMENT *pNext; | ||
| 257 | } DSMCC_ELEMENT; | ||
| 258 | typedef struct _DSMCC_ELEMENT *PDSMCC_ELEMENT; | ||
| 259 | typedef struct _MPE_ELEMENT { | ||
| 260 | PID pid; | ||
| 261 | BYTE bComponentTag; | ||
| 262 | struct _MPE_ELEMENT *pNext; | ||
| 263 | } MPE_ELEMENT; | ||
| 264 | typedef struct _MPE_ELEMENT *PMPE_ELEMENT; | ||
| 265 | typedef struct _MPEG_STREAM_FILTER { | ||
| 266 | WORD wPidValue; | ||
| 267 | DWORD dwFilterSize; | ||
| 268 | WINBOOL fCrcEnabled; | ||
| 269 | BYTE rgchFilter[16]; | ||
| 270 | BYTE rgchMask[16]; | ||
| 271 | } MPEG_STREAM_FILTER; | ||
| 272 | /* Begin additional prototypes for all interfaces */ | ||
| 195 | 273 | ||
| 196 | typedef struct { | ||
| 197 | TID TableId; | ||
| 198 | __C89_NAMELESS union { | ||
| 199 | MPEG_HEADER_BITS_MIDL S; | ||
| 200 | WORD W; | ||
| 201 | } Header; | ||
| 202 | BYTE SectionData[1]; | ||
| 203 | } SECTION, *PSECTION; | ||
| 204 | |||
| 205 | typedef struct _MPEG_RQST_PACKET { | ||
| 206 | DWORD dwLength; | ||
| 207 | PSECTION pSection; | ||
| 208 | } MPEG_RQST_PACKET, *PMPEG_RQST_PACKET; | ||
| 209 | 274 | ||
| 210 | typedef struct _MPEG_PACKET_LIST { | 275 | /* End additional prototypes */ |
| 211 | WORD wPacketCount; | ||
| 212 | PMPEG_RQST_PACKET PacketList[1]; | ||
| 213 | } MPEG_PACKET_LIST, *PMPEG_PACKET_LIST; | ||
| 214 | 276 | ||
| 215 | typedef struct _MPEG_STREAM_BUFFER { | 277 | #ifdef __cplusplus |
| 216 | HRESULT hr; | 278 | } |
| 217 | DWORD dwDataBufferSize; | 279 | #endif |
| 218 | DWORD dwSizeOfDataRead; | ||
| 219 | BYTE *pDataBuffer; | ||
| 220 | } MPEG_STREAM_BUFFER, *PMPEG_STREAM_BUFFER; | ||
| 221 | 280 | ||
| 222 | #endif /*__INC_MPEG2STRUCTS__*/ | 281 | #endif /* __mpeg2structs_h__ */ |
lib/libc/include/any-windows-any/mscat.h+2-2| ... | @@ -66,7 +66,7 @@ extern "C" { | ... | @@ -66,7 +66,7 @@ extern "C" { |
| 66 | #define CRYPTCAT_VERSION_1 0x100 | 66 | #define CRYPTCAT_VERSION_1 0x100 |
| 67 | #define CRYPTCAT_VERSION_2 0x200 | 67 | #define CRYPTCAT_VERSION_2 0x200 |
| 68 | 68 | ||
| 69 | #include <pshpack8.h> | 69 | #pragma pack(push,8) |
| 70 | 70 | ||
| 71 | typedef struct CRYPTCATATTRIBUTE_ | 71 | typedef struct CRYPTCATATTRIBUTE_ |
| 72 | { | 72 | { |
| ... | @@ -110,7 +110,7 @@ typedef struct CRYPTCATCDF_ | ... | @@ -110,7 +110,7 @@ typedef struct CRYPTCATCDF_ |
| 110 | HANDLE hCATStore; | 110 | HANDLE hCATStore; |
| 111 | } CRYPTCATCDF; | 111 | } CRYPTCATCDF; |
| 112 | 112 | ||
| 113 | #include <poppack.h> | 113 | #pragma pack(pop) |
| 114 | 114 | ||
| 115 | typedef void (WINAPI *PFN_CDF_PARSE_ERROR_CALLBACK)(DWORD, DWORD, WCHAR *); | 115 | typedef void (WINAPI *PFN_CDF_PARSE_ERROR_CALLBACK)(DWORD, DWORD, WCHAR *); |
| 116 | 116 |
lib/libc/include/any-windows-any/mscoree.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/mscoree.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/mscoree.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/msctf.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/msctf.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/msctf.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/mshtmhst.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/mshtmhst.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/mshtmhst.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/mshtml.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/mshtml.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/mshtml.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/msinkaut.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/msinkaut.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/msinkaut.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/msinkaut_i.c+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from msinkaut.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from msinkaut.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #include <rpc.h> | 3 | #include <rpc.h> |
| 4 | #include <rpcndr.h> | 4 | #include <rpcndr.h> |
lib/libc/include/any-windows-any/msopc.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/msopc.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/msopc.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/msxml.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/msxml.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/msxml.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/msxml2.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/msxml2.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/msxml2.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/msxml6.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/msxml6.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/msxml6.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/mtsadmin_i.c deleted-41| ... | @@ -1,41 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | #ifdef __cplusplus | ||
| 7 | extern "C"{ | ||
| 8 | #endif | ||
| 9 | |||
| 10 | #ifndef __IID_DEFINED__ | ||
| 11 | #define __IID_DEFINED__ | ||
| 12 | typedef struct _IID { | ||
| 13 | unsigned long x; | ||
| 14 | unsigned short s1; | ||
| 15 | unsigned short s2; | ||
| 16 | unsigned char c[8]; | ||
| 17 | } IID; | ||
| 18 | #endif | ||
| 19 | |||
| 20 | #ifndef CLSID_DEFINED | ||
| 21 | #define CLSID_DEFINED | ||
| 22 | typedef IID CLSID; | ||
| 23 | #endif | ||
| 24 | |||
| 25 | const IID IID_ICatalog = {0x6eb22870,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 26 | const IID IID_IComponentUtil = {0x6eb22873,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 27 | const IID IID_IPackageUtil = {0x6eb22874,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 28 | const IID IID_IRemoteComponentUtil = {0x6eb22875,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 29 | const IID IID_IRoleAssociationUtil = {0x6eb22876,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 30 | const IID LIBID_MTSAdmin = {0x6eb22880,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 31 | const CLSID CLSID_Catalog = {0x6eb22881,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 32 | const CLSID CLSID_CatalogObject = {0x6eb22882,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 33 | const CLSID CLSID_CatalogCollection = {0x6eb22883,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 34 | const CLSID CLSID_ComponentUtil = {0x6eb22884,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 35 | const CLSID CLSID_PackageUtil = {0x6eb22885,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 36 | const CLSID CLSID_RemoteComponentUtil = {0x6eb22886,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 37 | const CLSID CLSID_RoleAssociationUtil = {0x6eb22887,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 38 | |||
| 39 | #ifdef __cplusplus | ||
| 40 | } | ||
| 41 | #endif | ||
lib/libc/include/any-windows-any/mtxadmin_i.c deleted-41| ... | @@ -1,41 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | #ifdef __cplusplus | ||
| 7 | extern "C"{ | ||
| 8 | #endif | ||
| 9 | |||
| 10 | #ifndef __IID_DEFINED__ | ||
| 11 | #define __IID_DEFINED__ | ||
| 12 | typedef struct _IID { | ||
| 13 | unsigned long x; | ||
| 14 | unsigned short s1; | ||
| 15 | unsigned short s2; | ||
| 16 | unsigned char c[8]; | ||
| 17 | } IID; | ||
| 18 | #endif | ||
| 19 | |||
| 20 | #ifndef CLSID_DEFINED | ||
| 21 | #define CLSID_DEFINED | ||
| 22 | typedef IID CLSID; | ||
| 23 | #endif | ||
| 24 | |||
| 25 | const IID IID_ICatalog = {0x6eb22870,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 26 | const IID IID_IComponentUtil = {0x6eb22873,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 27 | const IID IID_IPackageUtil = {0x6eb22874,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 28 | const IID IID_IRemoteComponentUtil = {0x6eb22875,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 29 | const IID IID_IRoleAssociationUtil = {0x6eb22876,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 30 | const IID LIBID_MTSAdmin = {0x6eb22880,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 31 | const CLSID CLSID_Catalog = {0x6eb22881,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 32 | const CLSID CLSID_CatalogObject = {0x6eb22882,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 33 | const CLSID CLSID_CatalogCollection = {0x6eb22883,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 34 | const CLSID CLSID_ComponentUtil = {0x6eb22884,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 35 | const CLSID CLSID_PackageUtil = {0x6eb22885,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 36 | const CLSID CLSID_RemoteComponentUtil = {0x6eb22886,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 37 | const CLSID CLSID_RoleAssociationUtil = {0x6eb22887,0x8a19,0x11d0,{0x81,0xb6,0x00,0xa0,0xc9,0x23,0x1c,0x29}}; | ||
| 38 | |||
| 39 | #ifdef __cplusplus | ||
| 40 | } | ||
| 41 | #endif | ||
lib/libc/include/any-windows-any/napcertrelyingparty.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/napcertrelyingparty.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/napcertrelyingparty.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/napcommon.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/napcommon.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/napcommon.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/napenforcementclient.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/napenforcementclient.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/napenforcementclient.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/napmanagement.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/napmanagement.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/napmanagement.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/napprotocol.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/napprotocol.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/napprotocol.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/napservermanagement.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/napservermanagement.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/napservermanagement.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/napsystemhealthagent.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/napsystemhealthagent.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/napsystemhealthagent.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/napsystemhealthvalidator.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/napsystemhealthvalidator.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/napsystemhealthvalidator.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/naptypes.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/naptypes.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/naptypes.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/netcfgn.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/netcfgn.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/netcfgn.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/netcfgx.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/netcfgx.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/netcfgx.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/netfw.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/netfw.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/netfw.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/netlistmgr.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/netlistmgr.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/netlistmgr.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/nldef.h+3-3| ... | @@ -19,7 +19,7 @@ typedef enum { | ... | @@ -19,7 +19,7 @@ typedef enum { |
| 19 | IpDadStateTentative, | 19 | IpDadStateTentative, |
| 20 | IpDadStateDuplicate, | 20 | IpDadStateDuplicate, |
| 21 | IpDadStateDeprecated, | 21 | IpDadStateDeprecated, |
| 22 | IpDadStatePreferred, | 22 | IpDadStatePreferred |
| 23 | } NL_DAD_STATE; | 23 | } NL_DAD_STATE; |
| 24 | 24 | ||
| 25 | #define MAKE_ROUTE_PROTOCOL(N, V) MIB_IPPROTO_ ## N = V, PROTO_IP_ ## N = V | 25 | #define MAKE_ROUTE_PROTOCOL(N, V) MIB_IPPROTO_ ## N = V, PROTO_IP_ ## N = V |
| ... | @@ -98,7 +98,7 @@ typedef enum _NL_ROUTE_ORIGIN { | ... | @@ -98,7 +98,7 @@ typedef enum _NL_ROUTE_ORIGIN { |
| 98 | NlroWellKnown, | 98 | NlroWellKnown, |
| 99 | NlroDHCP, | 99 | NlroDHCP, |
| 100 | NlroRouterAdvertisement, | 100 | NlroRouterAdvertisement, |
| 101 | Nlro6to4, | 101 | Nlro6to4 |
| 102 | } NL_ROUTE_ORIGIN, *PNL_ROUTE_ORIGIN; | 102 | } NL_ROUTE_ORIGIN, *PNL_ROUTE_ORIGIN; |
| 103 | 103 | ||
| 104 | typedef enum _NL_NEIGHBOR_STATE { | 104 | typedef enum _NL_NEIGHBOR_STATE { |
| ... | @@ -109,7 +109,7 @@ typedef enum _NL_NEIGHBOR_STATE { | ... | @@ -109,7 +109,7 @@ typedef enum _NL_NEIGHBOR_STATE { |
| 109 | NlnsStale, | 109 | NlnsStale, |
| 110 | NlnsReachable, | 110 | NlnsReachable, |
| 111 | NlnsPermanent, | 111 | NlnsPermanent, |
| 112 | NlnsMaximum, | 112 | NlnsMaximum |
| 113 | } NL_NEIGHBOR_STATE, *PNL_NEIGHBOR_STATE; | 113 | } NL_NEIGHBOR_STATE, *PNL_NEIGHBOR_STATE; |
| 114 | 114 | ||
| 115 | typedef enum _NL_LINK_LOCAL_ADDRESS_BEHAVIOR { | 115 | typedef enum _NL_LINK_LOCAL_ADDRESS_BEHAVIOR { |
lib/libc/include/any-windows-any/ntddmmc.h+1-1| ... | @@ -125,7 +125,7 @@ typedef enum _FEATURE_NUMBER { | ... | @@ -125,7 +125,7 @@ typedef enum _FEATURE_NUMBER { |
| 125 | FeatureDvdCPRM = 0x010B, | 125 | FeatureDvdCPRM = 0x010B, |
| 126 | FeatureFirmwareDate = 0x010C, | 126 | FeatureFirmwareDate = 0x010C, |
| 127 | FeatureAACS = 0x010D, | 127 | FeatureAACS = 0x010D, |
| 128 | FeatureVCPS = 0x0110, | 128 | FeatureVCPS = 0x0110 |
| 129 | } FEATURE_NUMBER, *PFEATURE_NUMBER; | 129 | } FEATURE_NUMBER, *PFEATURE_NUMBER; |
| 130 | 130 | ||
| 131 | typedef struct _FEATURE_DATA_PROFILE_LIST_EX { | 131 | typedef struct _FEATURE_DATA_PROFILE_LIST_EX { |
lib/libc/include/any-windows-any/ntddndis.h+5-5| ... | @@ -1181,7 +1181,7 @@ extern "C" { | ... | @@ -1181,7 +1181,7 @@ extern "C" { |
| 1181 | 1181 | ||
| 1182 | typedef enum _NDIS_802_11_MEDIA_STREAM_MODE { | 1182 | typedef enum _NDIS_802_11_MEDIA_STREAM_MODE { |
| 1183 | Ndis802_11MediaStreamOff, | 1183 | Ndis802_11MediaStreamOff, |
| 1184 | Ndis802_11MediaStreamOn, | 1184 | Ndis802_11MediaStreamOn |
| 1185 | } NDIS_802_11_MEDIA_STREAM_MODE, *PNDIS_802_11_MEDIA_STREAM_MODE; | 1185 | } NDIS_802_11_MEDIA_STREAM_MODE, *PNDIS_802_11_MEDIA_STREAM_MODE; |
| 1186 | 1186 | ||
| 1187 | typedef UCHAR NDIS_802_11_PMKID_VALUE[16]; | 1187 | typedef UCHAR NDIS_802_11_PMKID_VALUE[16]; |
| ... | @@ -2457,7 +2457,7 @@ extern "C" { | ... | @@ -2457,7 +2457,7 @@ extern "C" { |
| 2457 | #if NDIS_SUPPORT_NDIS630 | 2457 | #if NDIS_SUPPORT_NDIS630 |
| 2458 | NdisPortTypeNdisImPlatform, | 2458 | NdisPortTypeNdisImPlatform, |
| 2459 | #endif | 2459 | #endif |
| 2460 | NdisPortTypeMax, | 2460 | NdisPortTypeMax |
| 2461 | } NDIS_PORT_TYPE, *PNDIS_PORT_TYPE; | 2461 | } NDIS_PORT_TYPE, *PNDIS_PORT_TYPE; |
| 2462 | 2462 | ||
| 2463 | typedef enum _NDIS_PORT_AUTHORIZATION_STATE { | 2463 | typedef enum _NDIS_PORT_AUTHORIZATION_STATE { |
| ... | @@ -2923,7 +2923,7 @@ extern "C" { | ... | @@ -2923,7 +2923,7 @@ extern "C" { |
| 2923 | NdisWakeReasonWlan4WayHandshakeRequest = 0x1003, | 2923 | NdisWakeReasonWlan4WayHandshakeRequest = 0x1003, |
| 2924 | NdisWakeReasonWwanRegisterState = 0x2000, | 2924 | NdisWakeReasonWwanRegisterState = 0x2000, |
| 2925 | NdisWakeReasonWwanSMSReceive = 0x2001, | 2925 | NdisWakeReasonWwanSMSReceive = 0x2001, |
| 2926 | NdisWakeReasonWwanUSSDReceive = 0x2002, | 2926 | NdisWakeReasonWwanUSSDReceive = 0x2002 |
| 2927 | } NDIS_PM_WAKE_REASON_TYPE, *PNDIS_PM_WAKE_REASON_TYPE; | 2927 | } NDIS_PM_WAKE_REASON_TYPE, *PNDIS_PM_WAKE_REASON_TYPE; |
| 2928 | 2928 | ||
| 2929 | typedef struct _NDIS_PM_WAKE_REASON { | 2929 | typedef struct _NDIS_PM_WAKE_REASON { |
| ... | @@ -3445,7 +3445,7 @@ extern "C" { | ... | @@ -3445,7 +3445,7 @@ extern "C" { |
| 3445 | NdisRssProfileNuma, | 3445 | NdisRssProfileNuma, |
| 3446 | NdisRssProfileNumaStatic, | 3446 | NdisRssProfileNumaStatic, |
| 3447 | NdisRssProfileConservative, | 3447 | NdisRssProfileConservative, |
| 3448 | NdisRssProfileMaximum, | 3448 | NdisRssProfileMaximum |
| 3449 | } NDIS_RSS_PROFILE, *PNDIS_RSS_PROFILE; | 3449 | } NDIS_RSS_PROFILE, *PNDIS_RSS_PROFILE; |
| 3450 | #endif | 3450 | #endif |
| 3451 | 3451 | ||
| ... | @@ -3977,7 +3977,7 @@ extern "C" { | ... | @@ -3977,7 +3977,7 @@ extern "C" { |
| 3977 | NdisNicSwitchVPortInterruptModerationOff = 2, | 3977 | NdisNicSwitchVPortInterruptModerationOff = 2, |
| 3978 | NdisNicSwitchVPortInterruptModerationLow = 100, | 3978 | NdisNicSwitchVPortInterruptModerationLow = 100, |
| 3979 | NdisNicSwitchVPortInterruptModerationMedium = 200, | 3979 | NdisNicSwitchVPortInterruptModerationMedium = 200, |
| 3980 | NdisNicSwitchVPortInterruptModerationHigh = 300, | 3980 | NdisNicSwitchVPortInterruptModerationHigh = 300 |
| 3981 | } NDIS_NIC_SWITCH_VPORT_INTERRUPT_MODERATION, *PNDIS_NIC_SWITCH_VPORT_INTERRUPT_MODERATION; | 3981 | } NDIS_NIC_SWITCH_VPORT_INTERRUPT_MODERATION, *PNDIS_NIC_SWITCH_VPORT_INTERRUPT_MODERATION; |
| 3982 | 3982 | ||
| 3983 | typedef struct _NDIS_NIC_SWITCH_VPORT_PARAMETERS { | 3983 | typedef struct _NDIS_NIC_SWITCH_VPORT_PARAMETERS { |
lib/libc/include/any-windows-any/ntsecapi.h+2-2| ... | @@ -2572,7 +2572,7 @@ typedef enum _SE_ADT_PARAMETER_TYPE { | ... | @@ -2572,7 +2572,7 @@ typedef enum _SE_ADT_PARAMETER_TYPE { |
| 2572 | } KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE, *PKERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE; | 2572 | } KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE, *PKERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE; |
| 2573 | 2573 | ||
| 2574 | typedef enum _KERB_CERTIFICATE_INFO_TYPE { | 2574 | typedef enum _KERB_CERTIFICATE_INFO_TYPE { |
| 2575 | CertHashInfo = 1, | 2575 | CertHashInfo = 1 |
| 2576 | } KERB_CERTIFICATE_INFO_TYPE, *PKERB_CERTIFICATE_INFO_TYPE; | 2576 | } KERB_CERTIFICATE_INFO_TYPE, *PKERB_CERTIFICATE_INFO_TYPE; |
| 2577 | 2577 | ||
| 2578 | typedef struct _KERB_CERTIFICATE_HASHINFO { | 2578 | typedef struct _KERB_CERTIFICATE_HASHINFO { |
| ... | @@ -2827,7 +2827,7 @@ typedef enum _SE_ADT_PARAMETER_TYPE { | ... | @@ -2827,7 +2827,7 @@ typedef enum _SE_ADT_PARAMETER_TYPE { |
| 2827 | } PKU2U_CREDUI_CONTEXT, *PPKU2U_CREDUI_CONTEXT; | 2827 | } PKU2U_CREDUI_CONTEXT, *PPKU2U_CREDUI_CONTEXT; |
| 2828 | 2828 | ||
| 2829 | typedef enum _PKU2U_LOGON_SUBMIT_TYPE { | 2829 | typedef enum _PKU2U_LOGON_SUBMIT_TYPE { |
| 2830 | Pku2uCertificateS4ULogon = 14, | 2830 | Pku2uCertificateS4ULogon = 14 |
| 2831 | } PKU2U_LOGON_SUBMIT_TYPE, *PPKU2U_LOGON_SUBMIT_TYPE; | 2831 | } PKU2U_LOGON_SUBMIT_TYPE, *PPKU2U_LOGON_SUBMIT_TYPE; |
| 2832 | 2832 | ||
| 2833 | typedef struct _PKU2U_CERTIFICATE_S4U_LOGON { | 2833 | typedef struct _PKU2U_CERTIFICATE_S4U_LOGON { |
lib/libc/include/any-windows-any/oaidl.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/oaidl.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/oaidl.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/objectarray.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/objectarray.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/objectarray.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/objidl.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/objidl.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/objidl.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/objidlbase.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/objidlbase.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/objidlbase.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/ocidl.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/ocidl.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/ocidl.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/odbcinst.h+1-1| ... | @@ -13,7 +13,7 @@ extern "C" { | ... | @@ -13,7 +13,7 @@ extern "C" { |
| 13 | #endif | 13 | #endif |
| 14 | 14 | ||
| 15 | #ifndef ODBCVER | 15 | #ifndef ODBCVER |
| 16 | #define ODBCVER 0x0351 | 16 | #define ODBCVER 0x0380 |
| 17 | #endif | 17 | #endif |
| 18 | 18 | ||
| 19 | #define ODBC_ADD_DSN 1 | 19 | #define ODBC_ADD_DSN 1 |
lib/libc/include/any-windows-any/oleacc.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/oleacc.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/oleacc.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/oleidl.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/oleidl.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/oleidl.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/optary.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/optary.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/optary.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/p2p.h+14-14| ... | @@ -34,23 +34,23 @@ extern "C" { | ... | @@ -34,23 +34,23 @@ extern "C" { |
| 34 | PEER_RECORD_ADDED = 1, | 34 | PEER_RECORD_ADDED = 1, |
| 35 | PEER_RECORD_UPDATED = 2, | 35 | PEER_RECORD_UPDATED = 2, |
| 36 | PEER_RECORD_DELETED = 3, | 36 | PEER_RECORD_DELETED = 3, |
| 37 | PEER_RECORD_EXPIRED = 4, | 37 | PEER_RECORD_EXPIRED = 4 |
| 38 | } PEER_RECORD_CHANGE_TYPE; | 38 | } PEER_RECORD_CHANGE_TYPE; |
| 39 | 39 | ||
| 40 | typedef enum peer_connection_status_tag { | 40 | typedef enum peer_connection_status_tag { |
| 41 | PEER_CONNECTED = 1, | 41 | PEER_CONNECTED = 1, |
| 42 | PEER_DISCONNECTED = 2, | 42 | PEER_DISCONNECTED = 2, |
| 43 | PEER_CONNECTION_FAILED = 3, | 43 | PEER_CONNECTION_FAILED = 3 |
| 44 | } PEER_CONNECTION_STATUS; | 44 | } PEER_CONNECTION_STATUS; |
| 45 | 45 | ||
| 46 | typedef enum peer_connection_flags_tag { | 46 | typedef enum peer_connection_flags_tag { |
| 47 | PEER_CONNECTION_NEIGHBOR = 0x0001, | 47 | PEER_CONNECTION_NEIGHBOR = 0x0001, |
| 48 | PEER_CONNECTION_DIRECT = 0x0002, | 48 | PEER_CONNECTION_DIRECT = 0x0002 |
| 49 | } PEER_CONNECTION_FLAGS; | 49 | } PEER_CONNECTION_FLAGS; |
| 50 | 50 | ||
| 51 | typedef enum peer_record_flags_tag { | 51 | typedef enum peer_record_flags_tag { |
| 52 | PEER_RECORD_FLAG_AUTOREFRESH = 0x0001, | 52 | PEER_RECORD_FLAG_AUTOREFRESH = 0x0001, |
| 53 | PEER_RECORD_FLAG_DELETED = 0x0002, | 53 | PEER_RECORD_FLAG_DELETED = 0x0002 |
| 54 | } PEER_RECORD_FLAGS; | 54 | } PEER_RECORD_FLAGS; |
| 55 | 55 | ||
| 56 | typedef | 56 | typedef |
| ... | @@ -155,24 +155,24 @@ extern "C" { | ... | @@ -155,24 +155,24 @@ extern "C" { |
| 155 | PEER_GRAPH_EVENT_INCOMING_DATA = 6, | 155 | PEER_GRAPH_EVENT_INCOMING_DATA = 6, |
| 156 | PEER_GRAPH_EVENT_CONNECTION_REQUIRED = 7, | 156 | PEER_GRAPH_EVENT_CONNECTION_REQUIRED = 7, |
| 157 | PEER_GRAPH_EVENT_NODE_CHANGED = 8, | 157 | PEER_GRAPH_EVENT_NODE_CHANGED = 8, |
| 158 | PEER_GRAPH_EVENT_SYNCHRONIZED = 9, | 158 | PEER_GRAPH_EVENT_SYNCHRONIZED = 9 |
| 159 | } PEER_GRAPH_EVENT_TYPE; | 159 | } PEER_GRAPH_EVENT_TYPE; |
| 160 | 160 | ||
| 161 | typedef enum peer_node_change_type_tag { | 161 | typedef enum peer_node_change_type_tag { |
| 162 | PEER_NODE_CHANGE_CONNECTED = 1, | 162 | PEER_NODE_CHANGE_CONNECTED = 1, |
| 163 | PEER_NODE_CHANGE_DISCONNECTED = 2, | 163 | PEER_NODE_CHANGE_DISCONNECTED = 2, |
| 164 | PEER_NODE_CHANGE_UPDATED = 3, | 164 | PEER_NODE_CHANGE_UPDATED = 3 |
| 165 | } PEER_NODE_CHANGE_TYPE; | 165 | } PEER_NODE_CHANGE_TYPE; |
| 166 | 166 | ||
| 167 | typedef enum peer_graph_status_flags_tag { | 167 | typedef enum peer_graph_status_flags_tag { |
| 168 | PEER_GRAPH_STATUS_LISTENING = 0x0001, | 168 | PEER_GRAPH_STATUS_LISTENING = 0x0001, |
| 169 | PEER_GRAPH_STATUS_HAS_CONNECTIONS = 0x0002, | 169 | PEER_GRAPH_STATUS_HAS_CONNECTIONS = 0x0002, |
| 170 | PEER_GRAPH_STATUS_SYNCHRONIZED = 0x0004, | 170 | PEER_GRAPH_STATUS_SYNCHRONIZED = 0x0004 |
| 171 | } PEER_GRAPH_STATUS_FLAGS; | 171 | } PEER_GRAPH_STATUS_FLAGS; |
| 172 | 172 | ||
| 173 | typedef enum peer_graph_property_flags_tag { | 173 | typedef enum peer_graph_property_flags_tag { |
| 174 | PEER_GRAPH_PROPERTY_HEARTBEATS = 0x0001, | 174 | PEER_GRAPH_PROPERTY_HEARTBEATS = 0x0001, |
| 175 | PEER_GRAPH_PROPERTY_DEFER_EXPIRATION = 0x0002, | 175 | PEER_GRAPH_PROPERTY_DEFER_EXPIRATION = 0x0002 |
| 176 | } PEER_GRAPH_PROPERTY_FLAGS; | 176 | } PEER_GRAPH_PROPERTY_FLAGS; |
| 177 | 177 | ||
| 178 | typedef enum peer_graph_scope_tag { | 178 | typedef enum peer_graph_scope_tag { |
| ... | @@ -317,24 +317,24 @@ extern "C" { | ... | @@ -317,24 +317,24 @@ extern "C" { |
| 317 | 317 | ||
| 318 | typedef enum peer_group_status_tag { | 318 | typedef enum peer_group_status_tag { |
| 319 | PEER_GROUP_STATUS_LISTENING = 0x0001, | 319 | PEER_GROUP_STATUS_LISTENING = 0x0001, |
| 320 | PEER_GROUP_STATUS_HAS_CONNECTIONS = 0x0002, | 320 | PEER_GROUP_STATUS_HAS_CONNECTIONS = 0x0002 |
| 321 | } PEER_GROUP_STATUS; | 321 | } PEER_GROUP_STATUS; |
| 322 | 322 | ||
| 323 | typedef enum peer_group_property_flags_tag { | 323 | typedef enum peer_group_property_flags_tag { |
| 324 | PEER_MEMBER_DATA_OPTIONAL = 0x0001, | 324 | PEER_MEMBER_DATA_OPTIONAL = 0x0001, |
| 325 | PEER_DISABLE_PRESENCE = 0x0002, | 325 | PEER_DISABLE_PRESENCE = 0x0002, |
| 326 | PEER_DEFER_EXPIRATION = 0x0004, | 326 | PEER_DEFER_EXPIRATION = 0x0004 |
| 327 | } PEER_GROUP_PROPERTY_FLAGS; | 327 | } PEER_GROUP_PROPERTY_FLAGS; |
| 328 | 328 | ||
| 329 | #if NTDDI_VERSION >= 0x06000000 | 329 | #if NTDDI_VERSION >= 0x06000000 |
| 330 | typedef enum peer_group_authentication_scheme_tag { | 330 | typedef enum peer_group_authentication_scheme_tag { |
| 331 | PEER_GROUP_GMC_AUTHENTICATION = 0x00000001, | 331 | PEER_GROUP_GMC_AUTHENTICATION = 0x00000001, |
| 332 | PEER_GROUP_PASSWORD_AUTHENTICATION = 0x00000002, | 332 | PEER_GROUP_PASSWORD_AUTHENTICATION = 0x00000002 |
| 333 | } PEER_GROUP_AUTHENTICATION_SCHEME; | 333 | } PEER_GROUP_AUTHENTICATION_SCHEME; |
| 334 | #endif | 334 | #endif |
| 335 | 335 | ||
| 336 | typedef enum peer_member_flags_tag { | 336 | typedef enum peer_member_flags_tag { |
| 337 | PEER_MEMBER_PRESENT = 0x0001, | 337 | PEER_MEMBER_PRESENT = 0x0001 |
| 338 | } PEER_MEMBER_FLAGS; | 338 | } PEER_MEMBER_FLAGS; |
| 339 | 339 | ||
| 340 | typedef enum peer_member_change_type_tag { | 340 | typedef enum peer_member_change_type_tag { |
| ... | @@ -342,11 +342,11 @@ extern "C" { | ... | @@ -342,11 +342,11 @@ extern "C" { |
| 342 | PEER_MEMBER_DISCONNECTED = 2, | 342 | PEER_MEMBER_DISCONNECTED = 2, |
| 343 | PEER_MEMBER_UPDATED = 3, | 343 | PEER_MEMBER_UPDATED = 3, |
| 344 | PEER_MEMBER_JOINED = 4, | 344 | PEER_MEMBER_JOINED = 4, |
| 345 | PEER_MEMBER_LEFT = 5, | 345 | PEER_MEMBER_LEFT = 5 |
| 346 | } PEER_MEMBER_CHANGE_TYPE; | 346 | } PEER_MEMBER_CHANGE_TYPE; |
| 347 | 347 | ||
| 348 | typedef enum peer_issue_credential_flags_tag { | 348 | typedef enum peer_issue_credential_flags_tag { |
| 349 | PEER_GROUP_STORE_CREDENTIALS = 0x0001, | 349 | PEER_GROUP_STORE_CREDENTIALS = 0x0001 |
| 350 | } PEER_GROUP_ISSUE_CREDENTIAL_FLAGS; | 350 | } PEER_GROUP_ISSUE_CREDENTIAL_FLAGS; |
| 351 | 351 | ||
| 352 | #ifndef __WIDL__ | 352 | #ifndef __WIDL__ |
lib/libc/include/any-windows-any/pnrpdef.h+1-1| ... | @@ -74,7 +74,7 @@ typedef struct _PNRP_CLOUD_ID { | ... | @@ -74,7 +74,7 @@ typedef struct _PNRP_CLOUD_ID { |
| 74 | typedef enum _PNRP_EXTENDED_PAYLOAD_TYPE { | 74 | typedef enum _PNRP_EXTENDED_PAYLOAD_TYPE { |
| 75 | PNRP_EXTENDED_PAYLOAD_TYPE_NONE = 0, | 75 | PNRP_EXTENDED_PAYLOAD_TYPE_NONE = 0, |
| 76 | PNRP_EXTENDED_PAYLOAD_TYPE_BINARY, | 76 | PNRP_EXTENDED_PAYLOAD_TYPE_BINARY, |
| 77 | PNRP_EXTENDED_PAYLOAD_TYPE_STRING, | 77 | PNRP_EXTENDED_PAYLOAD_TYPE_STRING |
| 78 | } PNRP_EXTENDED_PAYLOAD_TYPE,*PPNRP_EXTENDED_PAYLOAD_TYPE; | 78 | } PNRP_EXTENDED_PAYLOAD_TYPE,*PPNRP_EXTENDED_PAYLOAD_TYPE; |
| 79 | 79 | ||
| 80 | #endif | 80 | #endif |
lib/libc/include/any-windows-any/portabledeviceapi.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/portabledeviceapi.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/portabledeviceapi.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/portabledevicetypes.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/portabledevicetypes.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/portabledevicetypes.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/proofofpossessioncookieinfo.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/proofofpossessioncookieinfo.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/proofofpossessioncookieinfo.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/propidl.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/propidl.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/propidl.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/propsys.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/propsys.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/propsys.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/pthread.h+61-24| ... | @@ -86,8 +86,6 @@ extern "C" { | ... | @@ -86,8 +86,6 @@ extern "C" { |
| 86 | /* MSB 8-bit major version, 8-bit minor version, 16-bit patch level. */ | 86 | /* MSB 8-bit major version, 8-bit minor version, 16-bit patch level. */ |
| 87 | #define __WINPTHREADS_VERSION 0x00050000 | 87 | #define __WINPTHREADS_VERSION 0x00050000 |
| 88 | 88 | ||
| 89 | /* #define WINPTHREAD_DBG 1 */ | ||
| 90 | |||
| 91 | /* Compatibility stuff: */ | 89 | /* Compatibility stuff: */ |
| 92 | #define RWLS_PER_THREAD						8 | 90 | #define RWLS_PER_THREAD						8 |
| 93 | 91 | ||
| ... | @@ -141,7 +139,16 @@ extern "C" { | ... | @@ -141,7 +139,16 @@ extern "C" { |
| 141 | #define PTHREAD_MUTEX_RECURSIVE_NP	PTHREAD_MUTEX_RECURSIVE | 139 | #define PTHREAD_MUTEX_RECURSIVE_NP	PTHREAD_MUTEX_RECURSIVE |
| 142 | 140 | ||
| 143 | WINPTHREAD_API void * pthread_timechange_handler_np(void * dummy); | 141 | WINPTHREAD_API void * pthread_timechange_handler_np(void * dummy); |
| 144 | WINPTHREAD_API int pthread_delay_np (const struct timespec *interval); | 142 | WINPTHREAD_API int pthread_delay32_np (const struct _timespec32 *interval); |
| 143 | WINPTHREAD_API int pthread_delay64_np (const struct _timespec64 *interval); | ||
| 144 | WINPTHREAD_THREAD_DECL int pthread_delay_np (const struct timespec *interval) | ||
| 145 | { | ||
| 146 | #if WINPTHREADS_TIME_BITS == 32 | ||
| 147 | return pthread_delay32_np ((const struct _timespec32 *) interval); | ||
| 148 | #else | ||
| 149 | return pthread_delay64_np ((const struct _timespec64 *) interval); | ||
| 150 | #endif | ||
| 151 | } | ||
| 145 | WINPTHREAD_API int pthread_num_processors_np(void); | 152 | WINPTHREAD_API int pthread_num_processors_np(void); |
| 146 | WINPTHREAD_API int pthread_set_num_processors_np(int n); | 153 | WINPTHREAD_API int pthread_set_num_processors_np(int n); |
| 147 | 154 | ||
| ... | @@ -158,7 +165,7 @@ WINPTHREAD_API int pthread_set_num_processors_np(int n); | ... | @@ -158,7 +165,7 @@ WINPTHREAD_API int pthread_set_num_processors_np(int n); |
| 158 | #define pthread_mutex_setprioceiling(M, P) ENOTSUP | 165 | #define pthread_mutex_setprioceiling(M, P) ENOTSUP |
| 159 | #define pthread_getcpuclockid(T, C) ENOTSUP | 166 | #define pthread_getcpuclockid(T, C) ENOTSUP |
| 160 | #define pthread_attr_getguardsize(A, S) ENOTSUP | 167 | #define pthread_attr_getguardsize(A, S) ENOTSUP |
| 161 | #define pthread_attr_setgaurdsize(A, S) ENOTSUP | 168 | #define pthread_attr_setguardsize(A, S) ENOTSUP |
| 162 | 169 | ||
| 163 | typedef long pthread_once_t; | 170 | typedef long pthread_once_t; |
| 164 | typedef unsigned pthread_mutexattr_t; | 171 | typedef unsigned pthread_mutexattr_t; |
| ... | @@ -166,16 +173,6 @@ typedef unsigned pthread_key_t; | ... | @@ -166,16 +173,6 @@ typedef unsigned pthread_key_t; |
| 166 | typedef void *pthread_barrierattr_t; | 173 | typedef void *pthread_barrierattr_t; |
| 167 | typedef int pthread_condattr_t; | 174 | typedef int pthread_condattr_t; |
| 168 | typedef int pthread_rwlockattr_t; | 175 | typedef int pthread_rwlockattr_t; |
| 169 | |||
| 170 | /* | ||
| 171 | struct _pthread_v; | ||
| 172 | |||
| 173 | typedef struct pthread_t { | ||
| 174 | struct _pthread_v *p; | ||
| 175 | int x; | ||
| 176 | } pthread_t; | ||
| 177 | */ | ||
| 178 | |||
| 179 | typedef uintptr_t pthread_t; | 176 | typedef uintptr_t pthread_t; |
| 180 | 177 | ||
| 181 | typedef struct _pthread_cleanup _pthread_cleanup; | 178 | typedef struct _pthread_cleanup _pthread_cleanup; |
| ... | @@ -281,12 +278,29 @@ WINPTHREAD_API int pthread_detach(pthread_t t); | ... | @@ -281,12 +278,29 @@ WINPTHREAD_API int pthread_detach(pthread_t t); |
| 281 | WINPTHREAD_API int pthread_setname_np(pthread_t thread, const char *name); | 278 | WINPTHREAD_API int pthread_setname_np(pthread_t thread, const char *name); |
| 282 | WINPTHREAD_API int pthread_getname_np(pthread_t thread, char *name, size_t len); | 279 | WINPTHREAD_API int pthread_getname_np(pthread_t thread, char *name, size_t len); |
| 283 | 280 | ||
| 284 | |||
| 285 | WINPTHREAD_API int pthread_rwlock_init(pthread_rwlock_t *rwlock_, const pthread_rwlockattr_t *attr); | 281 | WINPTHREAD_API int pthread_rwlock_init(pthread_rwlock_t *rwlock_, const pthread_rwlockattr_t *attr); |
| 286 | WINPTHREAD_API int pthread_rwlock_wrlock(pthread_rwlock_t *l); | 282 | WINPTHREAD_API int pthread_rwlock_wrlock(pthread_rwlock_t *l); |
| 287 | WINPTHREAD_API int pthread_rwlock_timedwrlock(pthread_rwlock_t *rwlock, const struct timespec *ts); | 283 | WINPTHREAD_API int pthread_rwlock_timedwrlock32(pthread_rwlock_t *rwlock, const struct _timespec32 *ts); |
| 284 | WINPTHREAD_API int pthread_rwlock_timedwrlock64(pthread_rwlock_t *rwlock, const struct _timespec64 *ts); | ||
| 285 | WINPTHREAD_RWLOCK_DECL int pthread_rwlock_timedwrlock(pthread_rwlock_t *rwlock, const struct timespec *ts) | ||
| 286 | { | ||
| 287 | #if WINPTHREADS_TIME_BITS == 32 | ||
| 288 | return pthread_rwlock_timedwrlock32 (rwlock, (const struct _timespec32 *) ts); | ||
| 289 | #else | ||
| 290 | return pthread_rwlock_timedwrlock64 (rwlock, (const struct _timespec64 *) ts); | ||
| 291 | #endif | ||
| 292 | } | ||
| 288 | WINPTHREAD_API int pthread_rwlock_rdlock(pthread_rwlock_t *l); | 293 | WINPTHREAD_API int pthread_rwlock_rdlock(pthread_rwlock_t *l); |
| 289 | WINPTHREAD_API int pthread_rwlock_timedrdlock(pthread_rwlock_t *l, const struct timespec *ts); | 294 | WINPTHREAD_API int pthread_rwlock_timedrdlock32(pthread_rwlock_t *l, const struct _timespec32 *ts); |
| 295 | WINPTHREAD_API int pthread_rwlock_timedrdlock64(pthread_rwlock_t *l, const struct _timespec64 *ts); | ||
| 296 | WINPTHREAD_RWLOCK_DECL int pthread_rwlock_timedrdlock(pthread_rwlock_t *l, const struct timespec *ts) | ||
| 297 | { | ||
| 298 | #if WINPTHREADS_TIME_BITS == 32 | ||
| 299 | return pthread_rwlock_timedrdlock32 (l, (const struct _timespec32 *) ts); | ||
| 300 | #else | ||
| 301 | return pthread_rwlock_timedrdlock64 (l, (const struct _timespec64 *) ts); | ||
| 302 | #endif | ||
| 303 | } | ||
| 290 | WINPTHREAD_API int pthread_rwlock_unlock(pthread_rwlock_t *l); | 304 | WINPTHREAD_API int pthread_rwlock_unlock(pthread_rwlock_t *l); |
| 291 | WINPTHREAD_API int pthread_rwlock_tryrdlock(pthread_rwlock_t *l); | 305 | WINPTHREAD_API int pthread_rwlock_tryrdlock(pthread_rwlock_t *l); |
| 292 | WINPTHREAD_API int pthread_rwlock_trywrlock(pthread_rwlock_t *l); | 306 | WINPTHREAD_API int pthread_rwlock_trywrlock(pthread_rwlock_t *l); |
| ... | @@ -297,11 +311,38 @@ WINPTHREAD_API int pthread_cond_destroy(pthread_cond_t *cv); | ... | @@ -297,11 +311,38 @@ WINPTHREAD_API int pthread_cond_destroy(pthread_cond_t *cv); |
| 297 | WINPTHREAD_API int pthread_cond_signal (pthread_cond_t *cv); | 311 | WINPTHREAD_API int pthread_cond_signal (pthread_cond_t *cv); |
| 298 | WINPTHREAD_API int pthread_cond_broadcast (pthread_cond_t *cv); | 312 | WINPTHREAD_API int pthread_cond_broadcast (pthread_cond_t *cv); |
| 299 | WINPTHREAD_API int pthread_cond_wait (pthread_cond_t *cv, pthread_mutex_t *external_mutex); | 313 | WINPTHREAD_API int pthread_cond_wait (pthread_cond_t *cv, pthread_mutex_t *external_mutex); |
| 300 | WINPTHREAD_API int pthread_cond_timedwait(pthread_cond_t *cv, pthread_mutex_t *external_mutex, const struct timespec *t); | 314 | WINPTHREAD_API int pthread_cond_timedwait32(pthread_cond_t *cv, pthread_mutex_t *external_mutex, const struct _timespec32 *t); |
| 301 | WINPTHREAD_API int pthread_cond_timedwait_relative_np(pthread_cond_t *cv, pthread_mutex_t *external_mutex, const struct timespec *t); | 315 | WINPTHREAD_API int pthread_cond_timedwait64(pthread_cond_t *cv, pthread_mutex_t *external_mutex, const struct _timespec64 *t); |
| 316 | WINPTHREAD_COND_DECL int pthread_cond_timedwait(pthread_cond_t *cv, pthread_mutex_t *external_mutex, const struct timespec *t) | ||
| 317 | { | ||
| 318 | #if WINPTHREADS_TIME_BITS == 32 | ||
| 319 | return pthread_cond_timedwait32 (cv, external_mutex, (const struct _timespec32 *) t); | ||
| 320 | #else | ||
| 321 | return pthread_cond_timedwait64 (cv, external_mutex, (const struct _timespec64 *) t); | ||
| 322 | #endif | ||
| 323 | } | ||
| 324 | WINPTHREAD_API int pthread_cond_timedwait32_relative_np(pthread_cond_t *cv, pthread_mutex_t *external_mutex, const struct _timespec32 *t); | ||
| 325 | WINPTHREAD_API int pthread_cond_timedwait64_relative_np(pthread_cond_t *cv, pthread_mutex_t *external_mutex, const struct _timespec64 *t); | ||
| 326 | WINPTHREAD_COND_DECL int pthread_cond_timedwait_relative_np(pthread_cond_t *cv, pthread_mutex_t *external_mutex, const struct timespec *t) | ||
| 327 | { | ||
| 328 | #if WINPTHREADS_TIME_BITS == 32 | ||
| 329 | return pthread_cond_timedwait32_relative_np (cv, external_mutex, (const struct _timespec32 *) t); | ||
| 330 | #else | ||
| 331 | return pthread_cond_timedwait64_relative_np (cv, external_mutex, (const struct _timespec64 *) t); | ||
| 332 | #endif | ||
| 333 | } | ||
| 302 | 334 | ||
| 303 | WINPTHREAD_API int pthread_mutex_lock(pthread_mutex_t *m); | 335 | WINPTHREAD_API int pthread_mutex_lock(pthread_mutex_t *m); |
| 304 | WINPTHREAD_API int pthread_mutex_timedlock(pthread_mutex_t *m, const struct timespec *ts); | 336 | WINPTHREAD_API int pthread_mutex_timedlock32(pthread_mutex_t *m, const struct _timespec32 *ts); |
| 337 | WINPTHREAD_API int pthread_mutex_timedlock64(pthread_mutex_t *m, const struct _timespec64 *ts); | ||
| 338 | WINPTHREAD_MUTEX_DECL int pthread_mutex_timedlock(pthread_mutex_t *m, const struct timespec *ts) | ||
| 339 | { | ||
| 340 | #if WINPTHREADS_TIME_BITS == 32 | ||
| 341 | return pthread_mutex_timedlock32 (m, (const struct _timespec32 *) ts); | ||
| 342 | #else | ||
| 343 | return pthread_mutex_timedlock64 (m, (const struct _timespec64 *) ts); | ||
| 344 | #endif | ||
| 345 | } | ||
| 305 | WINPTHREAD_API int pthread_mutex_unlock(pthread_mutex_t *m); | 346 | WINPTHREAD_API int pthread_mutex_unlock(pthread_mutex_t *m); |
| 306 | WINPTHREAD_API int pthread_mutex_trylock(pthread_mutex_t *m); | 347 | WINPTHREAD_API int pthread_mutex_trylock(pthread_mutex_t *m); |
| 307 | WINPTHREAD_API int pthread_mutex_init(pthread_mutex_t *m, const pthread_mutexattr_t *a); | 348 | WINPTHREAD_API int pthread_mutex_init(pthread_mutex_t *m, const pthread_mutexattr_t *a); |
| ... | @@ -355,7 +396,6 @@ WINPTHREAD_API int pthread_condattr_getclock (const pthread_condattr_t *attr, | ... | @@ -355,7 +396,6 @@ WINPTHREAD_API int pthread_condattr_getclock (const pthread_condattr_t *attr, |
| 355 | clockid_t *clock_id); | 396 | clockid_t *clock_id); |
| 356 | WINPTHREAD_API int pthread_condattr_setclock(pthread_condattr_t *attr, | 397 | WINPTHREAD_API int pthread_condattr_setclock(pthread_condattr_t *attr, |
| 357 | clockid_t clock_id); | 398 | clockid_t clock_id); |
| 358 | WINPTHREAD_API int __pthread_clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); | ||
| 359 | 399 | ||
| 360 | WINPTHREAD_API int pthread_barrierattr_init(void **attr); | 400 | WINPTHREAD_API int pthread_barrierattr_init(void **attr); |
| 361 | WINPTHREAD_API int pthread_barrierattr_destroy(void **attr); | 401 | WINPTHREAD_API int pthread_barrierattr_destroy(void **attr); |
| ... | @@ -367,9 +407,6 @@ WINPTHREAD_API struct _pthread_cleanup ** pthread_getclean (void); | ... | @@ -367,9 +407,6 @@ WINPTHREAD_API struct _pthread_cleanup ** pthread_getclean (void); |
| 367 | WINPTHREAD_API void * pthread_gethandle (pthread_t t); | 407 | WINPTHREAD_API void * pthread_gethandle (pthread_t t); |
| 368 | WINPTHREAD_API void * pthread_getevent (void); | 408 | WINPTHREAD_API void * pthread_getevent (void); |
| 369 | 409 | ||
| 370 | WINPTHREAD_API unsigned long long _pthread_rel_time_in_ms(const struct timespec *ts); | ||
| 371 | WINPTHREAD_API unsigned long long _pthread_time_in_ms(void); | ||
| 372 | WINPTHREAD_API unsigned long long _pthread_time_in_ms_from_timespec(const struct timespec *ts); | ||
| 373 | WINPTHREAD_API int _pthread_tryjoin (pthread_t t, void **res); | 410 | WINPTHREAD_API int _pthread_tryjoin (pthread_t t, void **res); |
| 374 | WINPTHREAD_API int pthread_rwlockattr_destroy(pthread_rwlockattr_t *a); | 411 | WINPTHREAD_API int pthread_rwlockattr_destroy(pthread_rwlockattr_t *a); |
| 375 | WINPTHREAD_API int pthread_rwlockattr_getpshared(pthread_rwlockattr_t *a, int *s); | 412 | WINPTHREAD_API int pthread_rwlockattr_getpshared(pthread_rwlockattr_t *a, int *s); |
lib/libc/include/any-windows-any/pthread_compat.h+31-1| ... | @@ -60,6 +60,12 @@ | ... | @@ -60,6 +60,12 @@ |
| 60 | #ifndef WIN_PTHREADS_PTHREAD_COMPAT_H | 60 | #ifndef WIN_PTHREADS_PTHREAD_COMPAT_H |
| 61 | #define WIN_PTHREADS_PTHREAD_COMPAT_H | 61 | #define WIN_PTHREADS_PTHREAD_COMPAT_H |
| 62 | 62 | ||
| 63 | #if defined(_USE_32BIT_TIME_T) || (defined(_TIME_BITS) && _TIME_BITS == 32) | ||
| 64 | #define WINPTHREADS_TIME_BITS 32 | ||
| 65 | #else | ||
| 66 | #define WINPTHREADS_TIME_BITS 64 | ||
| 67 | #endif | ||
| 68 | |||
| 63 | #if defined(IN_WINPTHREAD) | 69 | #if defined(IN_WINPTHREAD) |
| 64 | # if defined(DLL_EXPORT) | 70 | # if defined(DLL_EXPORT) |
| 65 | # define WINPTHREAD_API __declspec(dllexport) /* building the DLL */ | 71 | # define WINPTHREAD_API __declspec(dllexport) /* building the DLL */ |
| ... | @@ -97,7 +103,8 @@ typedef unsigned short mode_t; | ... | @@ -97,7 +103,8 @@ typedef unsigned short mode_t; |
| 97 | 103 | ||
| 98 | #ifdef __GNUC__ | 104 | #ifdef __GNUC__ |
| 99 | 105 | ||
| 100 | #define WINPTHREADS_INLINE inline | 106 | #define WINPTHREADS_INLINE __inline__ |
| 107 | #define WINPTHREADS_ALWAYS_INLINE __inline__ __attribute__((__always_inline__)) | ||
| 101 | #define WINPTHREADS_ATTRIBUTE(X) __attribute__(X) | 108 | #define WINPTHREADS_ATTRIBUTE(X) __attribute__(X) |
| 102 | #define WINPTHREADS_SECTION(X) __section__(X) | 109 | #define WINPTHREADS_SECTION(X) __section__(X) |
| 103 | 110 | ||
| ... | @@ -110,9 +117,32 @@ typedef int pid_t; | ... | @@ -110,9 +117,32 @@ typedef int pid_t; |
| 110 | #endif | 117 | #endif |
| 111 | 118 | ||
| 112 | #define WINPTHREADS_INLINE __inline | 119 | #define WINPTHREADS_INLINE __inline |
| 120 | #define WINPTHREADS_ALWAYS_INLINE __inline __forceinline | ||
| 113 | #define WINPTHREADS_ATTRIBUTE(X) __declspec X | 121 | #define WINPTHREADS_ATTRIBUTE(X) __declspec X |
| 114 | #define WINPTHREADS_SECTION(X) allocate(X) | 122 | #define WINPTHREADS_SECTION(X) allocate(X) |
| 115 | 123 | ||
| 116 | #endif | 124 | #endif |
| 117 | 125 | ||
| 126 | #ifndef WINPTHREAD_CLOCK_DECL | ||
| 127 | #define WINPTHREAD_CLOCK_DECL static WINPTHREADS_ALWAYS_INLINE | ||
| 128 | #endif | ||
| 129 | #ifndef WINPTHREAD_COND_DECL | ||
| 130 | #define WINPTHREAD_COND_DECL static WINPTHREADS_ALWAYS_INLINE | ||
| 131 | #endif | ||
| 132 | #ifndef WINPTHREAD_MUTEX_DECL | ||
| 133 | #define WINPTHREAD_MUTEX_DECL static WINPTHREADS_ALWAYS_INLINE | ||
| 134 | #endif | ||
| 135 | #ifndef WINPTHREAD_NANOSLEEP_DECL | ||
| 136 | #define WINPTHREAD_NANOSLEEP_DECL static WINPTHREADS_ALWAYS_INLINE | ||
| 137 | #endif | ||
| 138 | #ifndef WINPTHREAD_RWLOCK_DECL | ||
| 139 | #define WINPTHREAD_RWLOCK_DECL static WINPTHREADS_ALWAYS_INLINE | ||
| 140 | #endif | ||
| 141 | #ifndef WINPTHREAD_SEM_DECL | ||
| 142 | #define WINPTHREAD_SEM_DECL static WINPTHREADS_ALWAYS_INLINE | ||
| 143 | #endif | ||
| 144 | #ifndef WINPTHREAD_THREAD_DECL | ||
| 145 | #define WINPTHREAD_THREAD_DECL static WINPTHREADS_ALWAYS_INLINE | ||
| 146 | #endif | ||
| 147 | |||
| 118 | #endif | 148 | #endif |
lib/libc/include/any-windows-any/pthread_time.h+54-5| ... | @@ -23,6 +23,7 @@ | ... | @@ -23,6 +23,7 @@ |
| 23 | #ifndef WIN_PTHREADS_TIME_H | 23 | #ifndef WIN_PTHREADS_TIME_H |
| 24 | #define WIN_PTHREADS_TIME_H | 24 | #define WIN_PTHREADS_TIME_H |
| 25 | 25 | ||
| 26 | #include <sys/timeb.h> | ||
| 26 | #include "pthread_compat.h" | 27 | #include "pthread_compat.h" |
| 27 | 28 | ||
| 28 | /* Posix timers are supported */ | 29 | /* Posix timers are supported */ |
| ... | @@ -73,12 +74,60 @@ | ... | @@ -73,12 +74,60 @@ |
| 73 | extern "C" { | 74 | extern "C" { |
| 74 | #endif | 75 | #endif |
| 75 | 76 | ||
| 76 | WINPTHREAD_API int __cdecl nanosleep(const struct timespec *request, struct timespec *remain); | 77 | WINPTHREAD_API int __cdecl nanosleep32(const struct _timespec32 *request, struct _timespec32 *remain); |
| 78 | WINPTHREAD_API int __cdecl nanosleep64(const struct _timespec64 *request, struct _timespec64 *remain); | ||
| 79 | WINPTHREAD_NANOSLEEP_DECL int __cdecl nanosleep(const struct timespec *request, struct timespec *remain) | ||
| 80 | { | ||
| 81 | #if WINPTHREADS_TIME_BITS == 32 | ||
| 82 | return nanosleep32 ((struct _timespec32 *)request, (struct _timespec32 *)remain); | ||
| 83 | #else | ||
| 84 | return nanosleep64 ((struct _timespec64 *)request, (struct _timespec64 *)remain); | ||
| 85 | #endif | ||
| 86 | } | ||
| 77 | 87 | ||
| 78 | WINPTHREAD_API int __cdecl clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *request, struct timespec *remain); | 88 | WINPTHREAD_API int __cdecl clock_nanosleep32(clockid_t clock_id, int flags, const struct _timespec32 *request, struct _timespec32 *remain); |
| 79 | WINPTHREAD_API int __cdecl clock_getres(clockid_t clock_id, struct timespec *res); | 89 | WINPTHREAD_API int __cdecl clock_nanosleep64(clockid_t clock_id, int flags, const struct _timespec64 *request, struct _timespec64 *remain); |
| 80 | WINPTHREAD_API int __cdecl clock_gettime(clockid_t clock_id, struct timespec *tp); | 90 | WINPTHREAD_CLOCK_DECL int __cdecl clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *request, struct timespec *remain) |
| 81 | WINPTHREAD_API int __cdecl clock_settime(clockid_t clock_id, const struct timespec *tp); | 91 | { |
| 92 | #if WINPTHREADS_TIME_BITS == 32 | ||
| 93 | return clock_nanosleep32 (clock_id, flags, (struct _timespec32 *)request, (struct _timespec32 *)remain); | ||
| 94 | #else | ||
| 95 | return clock_nanosleep64 (clock_id, flags, (struct _timespec64 *)request, (struct _timespec64 *)remain); | ||
| 96 | #endif | ||
| 97 | } | ||
| 98 | |||
| 99 | WINPTHREAD_API int __cdecl clock_getres32(clockid_t clock_id, struct _timespec32 *res); | ||
| 100 | WINPTHREAD_API int __cdecl clock_getres64(clockid_t clock_id, struct _timespec64 *res); | ||
| 101 | WINPTHREAD_CLOCK_DECL int __cdecl clock_getres(clockid_t clock_id, struct timespec *res) | ||
| 102 | { | ||
| 103 | #if WINPTHREADS_TIME_BITS == 32 | ||
| 104 | return clock_getres32 (clock_id, (struct _timespec32 *)res); | ||
| 105 | #else | ||
| 106 | return clock_getres64 (clock_id, (struct _timespec64 *)res); | ||
| 107 | #endif | ||
| 108 | } | ||
| 109 | |||
| 110 | WINPTHREAD_API int __cdecl clock_gettime32(clockid_t clock_id, struct _timespec32 *tp); | ||
| 111 | WINPTHREAD_API int __cdecl clock_gettime64(clockid_t clock_id, struct _timespec64 *tp); | ||
| 112 | WINPTHREAD_CLOCK_DECL int __cdecl clock_gettime(clockid_t clock_id, struct timespec *tp) | ||
| 113 | { | ||
| 114 | #if WINPTHREADS_TIME_BITS == 32 | ||
| 115 | return clock_gettime32 (clock_id, (struct _timespec32 *)tp); | ||
| 116 | #else | ||
| 117 | return clock_gettime64 (clock_id, (struct _timespec64 *)tp); | ||
| 118 | #endif | ||
| 119 | } | ||
| 120 | |||
| 121 | WINPTHREAD_API int __cdecl clock_settime32(clockid_t clock_id, const struct _timespec32 *tp); | ||
| 122 | WINPTHREAD_API int __cdecl clock_settime64(clockid_t clock_id, const struct _timespec64 *tp); | ||
| 123 | WINPTHREAD_CLOCK_DECL int __cdecl clock_settime(clockid_t clock_id, const struct timespec *tp) | ||
| 124 | { | ||
| 125 | #if WINPTHREADS_TIME_BITS == 32 | ||
| 126 | return clock_settime32 (clock_id, (struct _timespec32 *)tp); | ||
| 127 | #else | ||
| 128 | return clock_settime64 (clock_id, (struct _timespec64 *)tp); | ||
| 129 | #endif | ||
| 130 | } | ||
| 82 | 131 | ||
| 83 | #ifdef __cplusplus | 132 | #ifdef __cplusplus |
| 84 | } | 133 | } |
lib/libc/include/any-windows-any/qedit.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/qedit.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/qedit.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/qnetwork.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/qnetwork.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/qnetwork.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/rasshost.h+2-2| ... | @@ -5,8 +5,8 @@ | ... | @@ -5,8 +5,8 @@ |
| 5 | #ifndef _RASSHOST_ | 5 | #ifndef _RASSHOST_ |
| 6 | #define _RASSHOST_ | 6 | #define _RASSHOST_ |
| 7 | 7 | ||
| 8 | #include <winapifamily.h> | 8 | #include <winapifamily.h> |
| 9 | 9 | ||
| 10 | #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) | 10 | #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) |
| 11 | 11 | ||
| 12 | #include <mprapi.h> | 12 | #include <mprapi.h> |
lib/libc/include/any-windows-any/rdpencomapi.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/rdpencomapi.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/rdpencomapi.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/regbag.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/regbag.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/regbag.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/relogger.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/relogger.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/relogger.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/robuffer.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/robuffer.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/robuffer.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/rtworkq.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/rtworkq.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/rtworkq.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/sapi51.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/sapi51.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/sapi51.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/sapi53.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/sapi53.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/sapi53.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/sapi54.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/sapi54.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/sapi54.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/scardssp_i.c deleted-63| ... | @@ -1,63 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | #ifdef __cplusplus | ||
| 7 | extern "C"{ | ||
| 8 | #endif | ||
| 9 | |||
| 10 | #include <rpc.h> | ||
| 11 | #include <rpcndr.h> | ||
| 12 | |||
| 13 | #ifdef _MIDL_USE_GUIDDEF_ | ||
| 14 | #ifndef INITGUID | ||
| 15 | #define INITGUID | ||
| 16 | #include <guiddef.h> | ||
| 17 | #undef INITGUID | ||
| 18 | #else | ||
| 19 | #include <guiddef.h> | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) | ||
| 23 | #else | ||
| 24 | |||
| 25 | #ifndef __IID_DEFINED__ | ||
| 26 | #define __IID_DEFINED__ | ||
| 27 | typedef struct _IID { | ||
| 28 | unsigned long x; | ||
| 29 | unsigned short s1; | ||
| 30 | unsigned short s2; | ||
| 31 | unsigned char c[8]; | ||
| 32 | } IID; | ||
| 33 | #endif | ||
| 34 | |||
| 35 | #ifndef CLSID_DEFINED | ||
| 36 | #define CLSID_DEFINED | ||
| 37 | typedef IID CLSID; | ||
| 38 | #endif | ||
| 39 | |||
| 40 | #define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}} | ||
| 41 | #endif | ||
| 42 | |||
| 43 | MIDL_DEFINE_GUID(IID,IID_IByteBuffer,0xE126F8FE,0xA7AF,0x11D0,0xB8,0x8A,0x00,0xC0,0x4F,0xD4,0x24,0xB9); | ||
| 44 | MIDL_DEFINE_GUID(IID,IID_ISCardTypeConv,0x53B6AA63,0x3F56,0x11D0,0x91,0x6B,0x00,0xAA,0x00,0xC1,0x80,0x68); | ||
| 45 | MIDL_DEFINE_GUID(IID,IID_ISCardCmd,0xD5778AE3,0x43DE,0x11D0,0x91,0x71,0x00,0xAA,0x00,0xC1,0x80,0x68); | ||
| 46 | MIDL_DEFINE_GUID(IID,IID_ISCardISO7816,0x53B6AA68,0x3F56,0x11D0,0x91,0x6B,0x00,0xAA,0x00,0xC1,0x80,0x68); | ||
| 47 | MIDL_DEFINE_GUID(IID,IID_ISCard,0x1461AAC3,0x6810,0x11D0,0x91,0x8F,0x00,0xAA,0x00,0xC1,0x80,0x68); | ||
| 48 | MIDL_DEFINE_GUID(IID,IID_ISCardDatabase,0x1461AAC8,0x6810,0x11D0,0x91,0x8F,0x00,0xAA,0x00,0xC1,0x80,0x68); | ||
| 49 | MIDL_DEFINE_GUID(IID,IID_ISCardLocate,0x1461AACD,0x6810,0x11D0,0x91,0x8F,0x00,0xAA,0x00,0xC1,0x80,0x68); | ||
| 50 | MIDL_DEFINE_GUID(IID,LIBID_SCARDSSPLib,0x82C38704,0x19F1,0x11D3,0xA1,0x1F,0x00,0xC0,0x4F,0x79,0xF8,0x00); | ||
| 51 | MIDL_DEFINE_GUID(CLSID,CLSID_CByteBuffer,0xE126F8FF,0xA7AF,0x11D0,0xB8,0x8A,0x00,0xC0,0x4F,0xD4,0x24,0xB9); | ||
| 52 | MIDL_DEFINE_GUID(CLSID,CLSID_CSCardTypeConv,0x53B6AA67,0x3F56,0x11D0,0x91,0x6B,0x00,0xAA,0x00,0xC1,0x80,0x68); | ||
| 53 | MIDL_DEFINE_GUID(CLSID,CLSID_CSCardCmd,0xD5778AE7,0x43DE,0x11D0,0x91,0x71,0x00,0xAA,0x00,0xC1,0x80,0x68); | ||
| 54 | MIDL_DEFINE_GUID(CLSID,CLSID_CSCardISO7816,0x53B6AA6C,0x3F56,0x11D0,0x91,0x6B,0x00,0xAA,0x00,0xC1,0x80,0x68); | ||
| 55 | MIDL_DEFINE_GUID(CLSID,CLSID_CSCard,0x1461AAC7,0x6810,0x11D0,0x91,0x8F,0x00,0xAA,0x00,0xC1,0x80,0x68); | ||
| 56 | MIDL_DEFINE_GUID(CLSID,CLSID_CSCardDatabase,0x1461AACC,0x6810,0x11D0,0x91,0x8F,0x00,0xAA,0x00,0xC1,0x80,0x68); | ||
| 57 | MIDL_DEFINE_GUID(CLSID,CLSID_CSCardLocate,0x1461AAD1,0x6810,0x11D0,0x91,0x8F,0x00,0xAA,0x00,0xC1,0x80,0x68); | ||
| 58 | |||
| 59 | #undef MIDL_DEFINE_GUID | ||
| 60 | |||
| 61 | #ifdef __cplusplus | ||
| 62 | } | ||
| 63 | #endif | ||
lib/libc/include/any-windows-any/scardssp_p.c deleted-285| ... | @@ -1,285 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | #define USE_STUBLESS_PROXY | ||
| 7 | |||
| 8 | #ifndef __REDQ_RPCPROXY_H_VERSION__ | ||
| 9 | #define __REQUIRED_RPCPROXY_H_VERSION__ 475 | ||
| 10 | #endif | ||
| 11 | |||
| 12 | #include "rpcproxy.h" | ||
| 13 | #ifndef __RPCPROXY_H_VERSION__ | ||
| 14 | #error This stub requires an updated version of <rpcproxy.h> | ||
| 15 | #endif | ||
| 16 | |||
| 17 | #include "scardssp.h" | ||
| 18 | |||
| 19 | #define TYPE_FORMAT_STRING_SIZE 1313 | ||
| 20 | #define PROC_FORMAT_STRING_SIZE 3859 | ||
| 21 | #define TRANSMIT_AS_TABLE_SIZE 0 | ||
| 22 | #define WIRE_MARSHAL_TABLE_SIZE 3 | ||
| 23 | |||
| 24 | typedef struct _MIDL_TYPE_FORMAT_STRING { | ||
| 25 | short Pad; | ||
| 26 | unsigned char Format[TYPE_FORMAT_STRING_SIZE]; | ||
| 27 | } MIDL_TYPE_FORMAT_STRING; | ||
| 28 | |||
| 29 | typedef struct _MIDL_PROC_FORMAT_STRING { | ||
| 30 | short Pad; | ||
| 31 | unsigned char Format[PROC_FORMAT_STRING_SIZE]; | ||
| 32 | } MIDL_PROC_FORMAT_STRING; | ||
| 33 | |||
| 34 | extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString; | ||
| 35 | extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString; | ||
| 36 | |||
| 37 | static const MIDL_STUB_DESC Object_StubDesc; | ||
| 38 | static const MIDL_SERVER_INFO IByteBuffer_ServerInfo; | ||
| 39 | |||
| 40 | #pragma code_seg(".orpc") | ||
| 41 | static const unsigned short IByteBuffer_FormatStringOffsetTable[] = { | ||
| 42 | (unsigned short) -1,(unsigned short) -1,(unsigned short) -1,(unsigned short) -1,0,36,72,108,144,198,240,288,336,366,414,450,492,540 | ||
| 43 | }; | ||
| 44 | |||
| 45 | static const MIDL_SERVER_INFO IByteBuffer_ServerInfo = { | ||
| 46 | &Object_StubDesc,0,__MIDL_ProcFormatString.Format,&IByteBuffer_FormatStringOffsetTable[-3],0,0,0,0 | ||
| 47 | }; | ||
| 48 | |||
| 49 | static const MIDL_STUBLESS_PROXY_INFO IByteBuffer_ProxyInfo = { | ||
| 50 | &Object_StubDesc,__MIDL_ProcFormatString.Format,&IByteBuffer_FormatStringOffsetTable[-3],0,0,0 | ||
| 51 | }; | ||
| 52 | |||
| 53 | CINTERFACE_PROXY_VTABLE(21) _IByteBufferProxyVtbl = { | ||
| 54 | &IByteBuffer_ProxyInfo,&IID_IByteBuffer,IUnknown_QueryInterface_Proxy,IUnknown_AddRef_Proxy,IUnknown_Release_Proxy ,0 ,0 ,0 ,0 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 | ||
| 55 | }; | ||
| 56 | |||
| 57 | static const PRPC_STUB_FUNCTION IByteBuffer_table[] = { | ||
| 58 | STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2 | ||
| 59 | }; | ||
| 60 | |||
| 61 | CInterfaceStubVtbl _IByteBufferStubVtbl = { | ||
| 62 | &IID_IByteBuffer,&IByteBuffer_ServerInfo,21,&IByteBuffer_table[-3],CStdStubBuffer_DELEGATING_METHODS | ||
| 63 | }; | ||
| 64 | |||
| 65 | static const MIDL_SERVER_INFO ISCardTypeConv_ServerInfo; | ||
| 66 | |||
| 67 | #pragma code_seg(".orpc") | ||
| 68 | static const unsigned short ISCardTypeConv_FormatStringOffsetTable[] = { | ||
| 69 | (unsigned short) -1,(unsigned short) -1,(unsigned short) -1,(unsigned short) -1,588,636,678,720,762,804,846,888,930,972 | ||
| 70 | }; | ||
| 71 | |||
| 72 | static const MIDL_SERVER_INFO ISCardTypeConv_ServerInfo = { | ||
| 73 | &Object_StubDesc,0,__MIDL_ProcFormatString.Format,&ISCardTypeConv_FormatStringOffsetTable[-3],0,0,0,0 | ||
| 74 | }; | ||
| 75 | |||
| 76 | static const MIDL_STUBLESS_PROXY_INFO ISCardTypeConv_ProxyInfo = { | ||
| 77 | &Object_StubDesc,__MIDL_ProcFormatString.Format,&ISCardTypeConv_FormatStringOffsetTable[-3],0,0,0 | ||
| 78 | }; | ||
| 79 | |||
| 80 | CINTERFACE_PROXY_VTABLE(17) _ISCardTypeConvProxyVtbl = { | ||
| 81 | &ISCardTypeConv_ProxyInfo,&IID_ISCardTypeConv,IUnknown_QueryInterface_Proxy,IUnknown_AddRef_Proxy,IUnknown_Release_Proxy ,0 ,0 ,0 ,0 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 | ||
| 82 | }; | ||
| 83 | |||
| 84 | static const PRPC_STUB_FUNCTION ISCardTypeConv_table[] = { | ||
| 85 | STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2 | ||
| 86 | }; | ||
| 87 | |||
| 88 | CInterfaceStubVtbl _ISCardTypeConvStubVtbl = { | ||
| 89 | &IID_ISCardTypeConv,&ISCardTypeConv_ServerInfo,17,&ISCardTypeConv_table[-3],CStdStubBuffer_DELEGATING_METHODS | ||
| 90 | }; | ||
| 91 | |||
| 92 | static const MIDL_STUB_DESC Object_StubDesc; | ||
| 93 | static const MIDL_SERVER_INFO ISCardCmd_ServerInfo; | ||
| 94 | |||
| 95 | #pragma code_seg(".orpc") | ||
| 96 | static const unsigned short ISCardCmd_FormatStringOffsetTable[] = { | ||
| 97 | (unsigned short) -1,(unsigned short) -1,(unsigned short) -1,(unsigned short) -1,1014,1050,1086,1122,1158,1194,1230,1266,1302,1338,1374,1410,1446,1482,1518,1554,1590,1626,1662,1698,1734,1770,1806,1842,1878,1914,1950,1986,2022,2088,2118,2160,2196 | ||
| 98 | }; | ||
| 99 | |||
| 100 | static const MIDL_SERVER_INFO ISCardCmd_ServerInfo = { | ||
| 101 | &Object_StubDesc,0,__MIDL_ProcFormatString.Format,&ISCardCmd_FormatStringOffsetTable[-3],0,0,0,0 | ||
| 102 | }; | ||
| 103 | |||
| 104 | static const MIDL_STUBLESS_PROXY_INFO ISCardCmd_ProxyInfo = { | ||
| 105 | &Object_StubDesc,__MIDL_ProcFormatString.Format,&ISCardCmd_FormatStringOffsetTable[-3],0,0,0 | ||
| 106 | }; | ||
| 107 | |||
| 108 | CINTERFACE_PROXY_VTABLE(40) _ISCardCmdProxyVtbl = { | ||
| 109 | &ISCardCmd_ProxyInfo,&IID_ISCardCmd,IUnknown_QueryInterface_Proxy,IUnknown_AddRef_Proxy,IUnknown_Release_Proxy ,0 ,0 ,0 ,0 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 | ||
| 110 | }; | ||
| 111 | |||
| 112 | static const PRPC_STUB_FUNCTION ISCardCmd_table[] = { | ||
| 113 | STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2 | ||
| 114 | }; | ||
| 115 | |||
| 116 | CInterfaceStubVtbl _ISCardCmdStubVtbl = { | ||
| 117 | &IID_ISCardCmd,&ISCardCmd_ServerInfo,40,&ISCardCmd_table[-3],CStdStubBuffer_DELEGATING_METHODS | ||
| 118 | }; | ||
| 119 | |||
| 120 | static const MIDL_STUB_DESC Object_StubDesc; | ||
| 121 | static const MIDL_SERVER_INFO ISCardISO7816_ServerInfo; | ||
| 122 | |||
| 123 | #pragma code_seg(".orpc") | ||
| 124 | static const unsigned short ISCardISO7816_FormatStringOffsetTable[] = { | ||
| 125 | (unsigned short) -1,(unsigned short) -1,(unsigned short) -1,(unsigned short) -1,2232,2280,2334,2388,2430,2484,2538,2598,2646,2700,2754,2808,1446,2868,2922,2976,3024,3078 | ||
| 126 | }; | ||
| 127 | |||
| 128 | static const MIDL_SERVER_INFO ISCardISO7816_ServerInfo = { | ||
| 129 | &Object_StubDesc,0,__MIDL_ProcFormatString.Format,&ISCardISO7816_FormatStringOffsetTable[-3],0,0,0,0 | ||
| 130 | }; | ||
| 131 | |||
| 132 | static const MIDL_STUBLESS_PROXY_INFO ISCardISO7816_ProxyInfo = { | ||
| 133 | &Object_StubDesc,__MIDL_ProcFormatString.Format,&ISCardISO7816_FormatStringOffsetTable[-3],0,0,0 | ||
| 134 | }; | ||
| 135 | |||
| 136 | CINTERFACE_PROXY_VTABLE(25) _ISCardISO7816ProxyVtbl = { | ||
| 137 | &ISCardISO7816_ProxyInfo,&IID_ISCardISO7816,IUnknown_QueryInterface_Proxy,IUnknown_AddRef_Proxy,IUnknown_Release_Proxy ,0 ,0 ,0 ,0 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 | ||
| 138 | }; | ||
| 139 | |||
| 140 | static const PRPC_STUB_FUNCTION ISCardISO7816_table[] = { | ||
| 141 | STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2 | ||
| 142 | }; | ||
| 143 | |||
| 144 | CInterfaceStubVtbl _ISCardISO7816StubVtbl = { | ||
| 145 | &IID_ISCardISO7816,&ISCardISO7816_ServerInfo,25,&ISCardISO7816_table[-3],CStdStubBuffer_DELEGATING_METHODS | ||
| 146 | }; | ||
| 147 | |||
| 148 | static const MIDL_STUB_DESC Object_StubDesc; | ||
| 149 | static const MIDL_SERVER_INFO ISCard_ServerInfo; | ||
| 150 | |||
| 151 | #pragma code_seg(".orpc") | ||
| 152 | static const unsigned short ISCard_FormatStringOffsetTable[] = { | ||
| 153 | (unsigned short) -1,(unsigned short) -1,(unsigned short) -1,(unsigned short) -1,1014,3132,1086,3168,3204,3240,3276,3324,336,3360,3402,3438 | ||
| 154 | }; | ||
| 155 | |||
| 156 | static const MIDL_SERVER_INFO ISCard_ServerInfo = { | ||
| 157 | &Object_StubDesc,0,__MIDL_ProcFormatString.Format,&ISCard_FormatStringOffsetTable[-3],0,0,0,0 | ||
| 158 | }; | ||
| 159 | |||
| 160 | static const MIDL_STUBLESS_PROXY_INFO ISCard_ProxyInfo = { | ||
| 161 | &Object_StubDesc,__MIDL_ProcFormatString.Format,&ISCard_FormatStringOffsetTable[-3],0,0,0 | ||
| 162 | }; | ||
| 163 | |||
| 164 | CINTERFACE_PROXY_VTABLE(19) _ISCardProxyVtbl = { | ||
| 165 | &ISCard_ProxyInfo,&IID_ISCard,IUnknown_QueryInterface_Proxy,IUnknown_AddRef_Proxy,IUnknown_Release_Proxy ,0 ,0 ,0 ,0 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 | ||
| 166 | }; | ||
| 167 | |||
| 168 | static const PRPC_STUB_FUNCTION ISCard_table[] = { | ||
| 169 | STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2 | ||
| 170 | }; | ||
| 171 | |||
| 172 | CInterfaceStubVtbl _ISCardStubVtbl = { | ||
| 173 | &IID_ISCard,&ISCard_ServerInfo,19,&ISCard_table[-3],CStdStubBuffer_DELEGATING_METHODS | ||
| 174 | }; | ||
| 175 | |||
| 176 | static const MIDL_STUB_DESC Object_StubDesc; | ||
| 177 | static const MIDL_SERVER_INFO ISCardDatabase_ServerInfo; | ||
| 178 | |||
| 179 | #pragma code_seg(".orpc") | ||
| 180 | static const unsigned short ISCardDatabase_FormatStringOffsetTable[] = { | ||
| 181 | (unsigned short) -1,(unsigned short) -1,(unsigned short) -1,(unsigned short) -1,3474,3516,3558,3612,3654 | ||
| 182 | }; | ||
| 183 | |||
| 184 | static const MIDL_SERVER_INFO ISCardDatabase_ServerInfo = { | ||
| 185 | &Object_StubDesc,0,__MIDL_ProcFormatString.Format,&ISCardDatabase_FormatStringOffsetTable[-3],0,0,0,0 | ||
| 186 | }; | ||
| 187 | |||
| 188 | static const MIDL_STUBLESS_PROXY_INFO ISCardDatabase_ProxyInfo = { | ||
| 189 | &Object_StubDesc,__MIDL_ProcFormatString.Format,&ISCardDatabase_FormatStringOffsetTable[-3],0,0,0 | ||
| 190 | }; | ||
| 191 | |||
| 192 | CINTERFACE_PROXY_VTABLE(12) _ISCardDatabaseProxyVtbl = { | ||
| 193 | &ISCardDatabase_ProxyInfo,&IID_ISCardDatabase,IUnknown_QueryInterface_Proxy,IUnknown_AddRef_Proxy,IUnknown_Release_Proxy ,0 ,0 ,0 ,0 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 ,(void *)-1 | ||
| 194 | }; | ||
| 195 | |||
| 196 | static const PRPC_STUB_FUNCTION ISCardDatabase_table[] = { | ||
| 197 | STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2,NdrStubCall2 | ||
| 198 | }; | ||
| 199 | |||
| 200 | CInterfaceStubVtbl _ISCardDatabaseStubVtbl = { | ||
| 201 | &IID_ISCardDatabase,&ISCardDatabase_ServerInfo,12,&ISCardDatabase_table[-3],CStdStubBuffer_DELEGATING_METHODS | ||
| 202 | }; | ||
| 203 | |||
| 204 | static const MIDL_STUB_DESC Object_StubDesc; | ||
| 205 | static const MIDL_SERVER_INFO ISCardLocate_ServerInfo; | ||
| 206 | |||
| 207 | #pragma code_seg(".orpc") | ||
| 208 | static const unsigned short ISCardLocate_FormatStringOffsetTable[] = { | ||
| 209 | (unsigned short) -1,(unsigned short) -1,(unsigned short) -1,(unsigned short) -1,3696,3750,3804 | ||
| 210 | }; | ||
| 211 | |||
| 212 | static const MIDL_SERVER_INFO ISCardLocate_ServerInfo = { | ||
| 213 | &Object_StubDesc,0,__MIDL_ProcFormatString.Format,&ISCardLocate_FormatStringOffsetTable[-3],0,0,0,0 | ||
| 214 | }; | ||
| 215 | |||
| 216 | static const MIDL_STUBLESS_PROXY_INFO ISCardLocate_ProxyInfo = { | ||
| 217 | &Object_StubDesc,__MIDL_ProcFormatString.Format,&ISCardLocate_FormatStringOffsetTable[-3],0,0,0 | ||
| 218 | }; | ||
| 219 | |||
| 220 | CINTERFACE_PROXY_VTABLE(10) _ISCardLocateProxyVtbl = { | ||
| 221 | &ISCardLocate_ProxyInfo,&IID_ISCardLocate,IUnknown_QueryInterface_Proxy,IUnknown_AddRef_Proxy,IUnknown_Release_Proxy ,0 ,0 ,0 ,0 ,(void *)-1 ,(void *)-1 ,(void *)-1 | ||
| 222 | }; | ||
| 223 | |||
| 224 | static const PRPC_STUB_FUNCTION ISCardLocate_table[] = { | ||
| 225 | STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,STUB_FORWARDING_FUNCTION,NdrStubCall2,NdrStubCall2,NdrStubCall2 | ||
| 226 | }; | ||
| 227 | |||
| 228 | CInterfaceStubVtbl _ISCardLocateStubVtbl = { | ||
| 229 | &IID_ISCardLocate,&ISCardLocate_ServerInfo,10,&ISCardLocate_table[-3],CStdStubBuffer_DELEGATING_METHODS | ||
| 230 | }; | ||
| 231 | |||
| 232 | static const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[WIRE_MARSHAL_TABLE_SIZE]; | ||
| 233 | |||
| 234 | static const MIDL_STUB_DESC Object_StubDesc = { | ||
| 235 | 0,NdrOleAllocate,NdrOleFree,0,0,0,0,0,__MIDL_TypeFormatString.Format,1,0x50002,0,0x5030117,0,UserMarshalRoutines,0,0x1,0,0,0 | ||
| 236 | }; | ||
| 237 | |||
| 238 | #pragma data_seg(".rdata") | ||
| 239 | static const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[WIRE_MARSHAL_TABLE_SIZE] = { | ||
| 240 | { HGLOBAL_UserSize,HGLOBAL_UserMarshal,HGLOBAL_UserUnmarshal,HGLOBAL_UserFree }, | ||
| 241 | { LPSAFEARRAY_UserSize,LPSAFEARRAY_UserMarshal,LPSAFEARRAY_UserUnmarshal,LPSAFEARRAY_UserFree}, | ||
| 242 | { BSTR_UserSize,BSTR_UserMarshal,BSTR_UserUnmarshal,BSTR_UserFree } | ||
| 243 | }; | ||
| 244 | |||
| 245 | #if !defined(__RPC_WIN32__) | ||
| 246 | #error Invalid build platform for this stub. | ||
| 247 | #endif | ||
| 248 | |||
| 249 | const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString = { | ||
| 250 | 0,{ 0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x7),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0x8),0x45,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x13),NdrFcShort(0x4),NdrFcShort(0x2),NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x8),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0x8),0x46,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0xb),NdrFcShort(0x4),NdrFcShort(0x6),NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x9),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0x8),0x47,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x201b),NdrFcShort(0x4),NdrFcShort(0x18),NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xa),NdrFcShort(0xc),NdrFcShort(0x8),NdrFcShort(0x8),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x8,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xb),NdrFcShort(0x18),NdrFcShort(0x18),NdrFcShort(0x18),0x47,0x5,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x201b),NdrFcShort(0x4),NdrFcShort(0x18),NdrFcShort(0x48),NdrFcShort(0x8),0x8,0x0,NdrFcShort(0x158),NdrFcShort(0xc),0x8,0x0,NdrFcShort(0x158),NdrFcShort(0x10),0x8,0x0,NdrFcShort(0x70),NdrFcShort(0x14),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xc),NdrFcShort(0x10),NdrFcShort(0xd),NdrFcShort(0x8),0x44,0x3,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x8,0x0,NdrFcShort(0x148),NdrFcShort(0x8),0x2,0x0,NdrFcShort(0x70),NdrFcShort(0xc),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xd),NdrFcShort(0x14),NdrFcShort(0x18),NdrFcShort(0x8),0x44,0x4,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x8,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x8,0x0,NdrFcShort(0x48),NdrFcShort(0xc),0x8,0x0,NdrFcShort(0x70),NdrFcShort(0x10),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xe),NdrFcShort(0x14),NdrFcShort(0x15),NdrFcShort(0x15),0x44,0x4,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x158),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x8,0x0,NdrFcShort(0x158),NdrFcShort(0xc),0x8,0x0,NdrFcShort(0x70),NdrFcShort(0x10),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xf),NdrFcShort(0x8),NdrFcShort(0x0),NdrFcShort(0x8),0x44,0x1,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x70),NdrFcShort(0x4),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x10),NdrFcShort(0x14),NdrFcShort(0x18),NdrFcShort(0x10),0x44,0x4,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x8,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x8,0x0,NdrFcShort(0x158),NdrFcShort(0xc),0x8,0x0,NdrFcShort(0x70),NdrFcShort(0x10),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x11),NdrFcShort(0xc),NdrFcShort(0x8),NdrFcShort(0x8),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x8,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x12),NdrFcShort(0x10),NdrFcShort(0x24),NdrFcShort(0x24),0x44,0x3,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x11a),NdrFcShort(0x4),NdrFcShort(0x3a),NdrFcShort(0x48),NdrFcShort(0x8),0x8,0x0,NdrFcShort(0x70),NdrFcShort(0xc),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x13),NdrFcShort(0x14),NdrFcShort(0x18),NdrFcShort(0x8),0x44,0x4,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x8,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x8,0x0,NdrFcShort(0x48),NdrFcShort(0xc),0x8,0x0,NdrFcShort(0x70),NdrFcShort(0x10),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x14),NdrFcShort(0x14),NdrFcShort(0x15),NdrFcShort(0x15),0x44,0x4,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x158),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x8,0x0,NdrFcShort(0x158),NdrFcShort(0xc),0x8,0x0,NdrFcShort(0x70),NdrFcShort(0x10),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x7),NdrFcShort(0x14),NdrFcShort(0xd),NdrFcShort(0x8),0x45,0x4,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x148),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x8,0x0,NdrFcShort(0x13),NdrFcShort(0xc),NdrFcShort(0x44),NdrFcShort(0x70),NdrFcShort(0x10),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x8),NdrFcShort(0x10),NdrFcShort(0x0),NdrFcShort(0x8),0x47,0x3,0x8,0x3,NdrFcShort(0x3),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0xb),NdrFcShort(0x4),NdrFcShort(0x1c),NdrFcShort(0x2013),NdrFcShort(0x8),NdrFcShort(0x48),NdrFcShort(0x70),NdrFcShort(0xc),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x9),NdrFcShort(0x10),NdrFcShort(0x0),NdrFcShort(0x8),0x47,0x3,0x8,0x3,NdrFcShort(0x12),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0xb),NdrFcShort(0x4),NdrFcShort(0x1c),NdrFcShort(0x2113),NdrFcShort(0x8),NdrFcShort(0x4a6),NdrFcShort(0x70),NdrFcShort(0xc),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xa),NdrFcShort(0x10),NdrFcShort(0x0),NdrFcShort(0x8),0x47,0x3,0x8,0x5,NdrFcShort(0x0),NdrFcShort(0x12),NdrFcShort(0x0),NdrFcShort(0x8b),NdrFcShort(0x4),NdrFcShort(0x4b8),NdrFcShort(0x13),NdrFcShort(0x8),NdrFcShort(0x44),NdrFcShort(0x70),NdrFcShort(0xc),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xb),NdrFcShort(0x10),NdrFcShort(0x8),NdrFcShort(0x15),0x44,0x3,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x8,0x0,NdrFcShort(0x2012),NdrFcShort(0x8),NdrFcShort(0x4c2),NdrFcShort(0x70),NdrFcShort(0xc),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xc),NdrFcShort(0x10),NdrFcShort(0x8),NdrFcShort(0x8),0x45,0x3,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x8,0x0,NdrFcShort(0x13),NdrFcShort(0x8),NdrFcShort(0x44),NdrFcShort(0x70),NdrFcShort(0xc),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xd),NdrFcShort(0x10),NdrFcShort(0x8),NdrFcShort(0x8),0x45,0x3,0x8,0x3,NdrFcShort(0x12),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x8,0x0,NdrFcShort(0x2113),NdrFcShort(0x8),NdrFcShort(0x4a6),NdrFcShort(0x70),NdrFcShort(0xc),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xe),NdrFcShort(0x10),NdrFcShort(0x5),NdrFcShort(0x8),0x46,0x3,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0xb),NdrFcShort(0x4),NdrFcShort(0x6),NdrFcShort(0x148),NdrFcShort(0x8),0x2,0x0,NdrFcShort(0x70),NdrFcShort(0xc),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xf),NdrFcShort(0x10),NdrFcShort(0x0),NdrFcShort(0x8),0x47,0x3,0x8,0x3,NdrFcShort(0x3),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0xb),NdrFcShort(0x4),NdrFcShort(0x6),NdrFcShort(0x2013),NdrFcShort(0x8),NdrFcShort(0x48),NdrFcShort(0x70),NdrFcShort(0xc),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x10),NdrFcShort(0x10),NdrFcShort(0x0),NdrFcShort(0x18),0x46,0x3,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0xb),NdrFcShort(0x4),NdrFcShort(0x6),NdrFcShort(0x2112),NdrFcShort(0x8),NdrFcShort(0x2ce),NdrFcShort(0x70),NdrFcShort(0xc),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x7),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0x8),0x45,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x13),NdrFcShort(0x4),NdrFcShort(0x44),NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x8),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0x8),0x46,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0xb),NdrFcShort(0x4),NdrFcShort(0x1c),NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x9),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0x10),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x2150),NdrFcShort(0x4),0x8,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xa),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0x8),0x45,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x13),NdrFcShort(0x4),NdrFcShort(0x44),NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xb),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0x8),0x46,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0xb),NdrFcShort(0x4),NdrFcShort(0x1c),NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xc),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0x10),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x2150),NdrFcShort(0x4),0x8,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xd),NdrFcShort(0xc),NdrFcShort(0x8),NdrFcShort(0x8),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x8,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xe),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0xd),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x2150),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xf),NdrFcShort(0xc),NdrFcShort(0x5),NdrFcShort(0x8),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x10),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0x8),0x45,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x13),NdrFcShort(0x4),NdrFcShort(0x44),NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x11),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0x8),0x46,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0xb),NdrFcShort(0x4),NdrFcShort(0x1c),NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x12),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0xd),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x2150),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x13),NdrFcShort(0xc),NdrFcShort(0x5),NdrFcShort(0x8),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x14),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0x10),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x2150),NdrFcShort(0x4),0x8,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x15),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0xd),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x2150),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x16),NdrFcShort(0xc),NdrFcShort(0x5),NdrFcShort(0x8),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x17),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0xd),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x2150),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x18),NdrFcShort(0xc),NdrFcShort(0x5),NdrFcShort(0x8),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x19),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0xd),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x2150),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x1a),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0xe),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x2150),NdrFcShort(0x4),0x6,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x1b),NdrFcShort(0xc),NdrFcShort(0x6),NdrFcShort(0x8),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x6,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x1c),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0xd),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x2150),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x1d),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0xd),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x2150),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x1e),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0xe),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x2010),NdrFcShort(0x4),NdrFcShort(0x4d6),NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x1f),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0xd),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x2150),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x20),NdrFcShort(0xc),NdrFcShort(0x5),NdrFcShort(0x8),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x21),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0xd),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x2150),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x22),NdrFcShort(0xc),NdrFcShort(0x5),NdrFcShort(0x8),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x23),NdrFcShort(0x20),NdrFcShort(0x1c),NdrFcShort(0x8),0x46,0x7,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0xc),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0x10),0x2,0x0,NdrFcShort(0xb),NdrFcShort(0x14),NdrFcShort(0x1c),NdrFcShort(0x148),NdrFcShort(0x18),0x8,0x0,NdrFcShort(0x70),NdrFcShort(0x1c),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x24),NdrFcShort(0x8),NdrFcShort(0x0),NdrFcShort(0x8),0x44,0x1,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x70),NdrFcShort(0x4),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x25),NdrFcShort(0x10),NdrFcShort(0x6),NdrFcShort(0x8),0x46,0x3,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0xb),NdrFcShort(0x4),NdrFcShort(0x1c),NdrFcShort(0x48),NdrFcShort(0x8),0xd,0x0,NdrFcShort(0x70),NdrFcShort(0xc),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x26),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0xd),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x2150),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x27),NdrFcShort(0xc),NdrFcShort(0x5),NdrFcShort(0x8),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x7),NdrFcShort(0x14),NdrFcShort(0x5),NdrFcShort(0x8),0x47,0x4,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0xb),NdrFcShort(0x8),NdrFcShort(0x1c),NdrFcShort(0x201b),NdrFcShort(0xc),NdrFcShort(0x4da),NdrFcShort(0x70),NdrFcShort(0x10),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x8),NdrFcShort(0x18),NdrFcShort(0xa),NdrFcShort(0x8),0x47,0x5,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x2,0x0,NdrFcShort(0xb),NdrFcShort(0xc),NdrFcShort(0x1c),NdrFcShort(0x201b),NdrFcShort(0x10),NdrFcShort(0x4da),NdrFcShort(0x70),NdrFcShort(0x14),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x9),NdrFcShort(0x18),NdrFcShort(0xa),NdrFcShort(0x8),0x47,0x5,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x2,0x0,NdrFcShort(0xb),NdrFcShort(0xc),NdrFcShort(0x1c),NdrFcShort(0x201b),NdrFcShort(0x10),NdrFcShort(0x4da),NdrFcShort(0x70),NdrFcShort(0x14),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xa),NdrFcShort(0x10),NdrFcShort(0x8),NdrFcShort(0x8),0x47,0x3,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x8,0x0,NdrFcShort(0x201b),NdrFcShort(0x8),NdrFcShort(0x4da),NdrFcShort(0x70),NdrFcShort(0xc),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xb),NdrFcShort(0x18),NdrFcShort(0x12),NdrFcShort(0x8),0x47,0x5,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0xc),0x8,0x0,NdrFcShort(0x201b),NdrFcShort(0x10),NdrFcShort(0x4da),NdrFcShort(0x70),NdrFcShort(0x14),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xc),NdrFcShort(0x18),NdrFcShort(0x12),NdrFcShort(0x8),0x47,0x5,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0xc),0x8,0x0,NdrFcShort(0x201b),NdrFcShort(0x10),NdrFcShort(0x4da),NdrFcShort(0x70),NdrFcShort(0x14),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xd),NdrFcShort(0x1c),NdrFcShort(0x12),NdrFcShort(0x8),0x47,0x6,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x2,0x0,NdrFcShort(0xb),NdrFcShort(0xc),NdrFcShort(0x1c),NdrFcShort(0x48),NdrFcShort(0x10),0x8,0x0,NdrFcShort(0x201b),NdrFcShort(0x14),NdrFcShort(0x4da),NdrFcShort(0x70),NdrFcShort(0x18),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xe),NdrFcShort(0x14),NdrFcShort(0xa),NdrFcShort(0x8),0x47,0x4,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x2,0x0,NdrFcShort(0x201b),NdrFcShort(0xc),NdrFcShort(0x4da),NdrFcShort(0x70),NdrFcShort(0x10),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xf),NdrFcShort(0x18),NdrFcShort(0xa),NdrFcShort(0x8),0x47,0x5,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x2,0x0,NdrFcShort(0xb),NdrFcShort(0xc),NdrFcShort(0x1c),NdrFcShort(0x201b),NdrFcShort(0x10),NdrFcShort(0x4da),NdrFcShort(0x70),NdrFcShort(0x14),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x10),NdrFcShort(0x18),NdrFcShort(0x12),NdrFcShort(0x8),0x47,0x5,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0xc),0x8,0x0,NdrFcShort(0x201b),NdrFcShort(0x10),NdrFcShort(0x4da),NdrFcShort(0x70),NdrFcShort(0x14),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x11),NdrFcShort(0x18),NdrFcShort(0x12),NdrFcShort(0x8),0x47,0x5,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0xc),0x8,0x0,NdrFcShort(0x201b),NdrFcShort(0x10),NdrFcShort(0x4da),NdrFcShort(0x70),NdrFcShort(0x14),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x12),NdrFcShort(0x1c),NdrFcShort(0x12),NdrFcShort(0x8),0x47,0x6,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x2,0x0,NdrFcShort(0xb),NdrFcShort(0xc),NdrFcShort(0x1c),NdrFcShort(0x48),NdrFcShort(0x10),0x8,0x0,NdrFcShort(0x201b),NdrFcShort(0x14),NdrFcShort(0x4da),NdrFcShort(0x70),NdrFcShort(0x18),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x14),NdrFcShort(0x18),NdrFcShort(0xa),NdrFcShort(0x8),0x47,0x5,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x2,0x0,NdrFcShort(0xb),NdrFcShort(0xc),NdrFcShort(0x1c),NdrFcShort(0x201b),NdrFcShort(0x10),NdrFcShort(0x4da),NdrFcShort(0x70),NdrFcShort(0x14),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x15),NdrFcShort(0x18),NdrFcShort(0xa),NdrFcShort(0x8),0x47,0x5,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x2,0x0,NdrFcShort(0xb),NdrFcShort(0xc),NdrFcShort(0x1c),NdrFcShort(0x201b),NdrFcShort(0x10),NdrFcShort(0x4da),NdrFcShort(0x70),NdrFcShort(0x14),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x16),NdrFcShort(0x14),NdrFcShort(0x5),NdrFcShort(0x8),0x47,0x4,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0xb),NdrFcShort(0x8),NdrFcShort(0x1c),NdrFcShort(0x201b),NdrFcShort(0xc),NdrFcShort(0x4da),NdrFcShort(0x70),NdrFcShort(0x10),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x17),NdrFcShort(0x18),NdrFcShort(0xa),NdrFcShort(0x8),0x47,0x5,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x2,0x0,NdrFcShort(0xb),NdrFcShort(0xc),NdrFcShort(0x1c),NdrFcShort(0x201b),NdrFcShort(0x10),NdrFcShort(0x4da),NdrFcShort(0x70),NdrFcShort(0x14),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x18),NdrFcShort(0x18),NdrFcShort(0xa),NdrFcShort(0x8),0x47,0x5,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x2,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0x2,0x0,NdrFcShort(0xb),NdrFcShort(0xc),NdrFcShort(0x1c),NdrFcShort(0x201b),NdrFcShort(0x10),NdrFcShort(0x4da),NdrFcShort(0x70),NdrFcShort(0x14),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x8),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0x10),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x2150),NdrFcShort(0x4),0x8,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xa),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0x10),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x2150),NdrFcShort(0x4),0xe,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xb),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0x10),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x2150),NdrFcShort(0x4),0xe,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xc),NdrFcShort(0xc),NdrFcShort(0x8),NdrFcShort(0x8),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x8,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xd),NdrFcShort(0x14),NdrFcShort(0x10),NdrFcShort(0x8),0x46,0x4,0x8,0x5,NdrFcShort(0x0),NdrFcShort(0x1),NdrFcShort(0x0),NdrFcShort(0x8b),NdrFcShort(0x4),NdrFcShort(0x4f8),NdrFcShort(0x48),NdrFcShort(0x8),0xe,0x0,NdrFcShort(0x48),NdrFcShort(0xc),0xe,0x0,NdrFcShort(0x70),NdrFcShort(0x10),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xe),NdrFcShort(0xc),NdrFcShort(0x8),NdrFcShort(0x8),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0xe,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x10),NdrFcShort(0x10),NdrFcShort(0x10),NdrFcShort(0x8),0x44,0x3,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0xe,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0xe,0x0,NdrFcShort(0x70),NdrFcShort(0xc),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x11),NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0x8),0x47,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x201b),NdrFcShort(0x4),NdrFcShort(0x4da),NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x12),NdrFcShort(0xc),NdrFcShort(0x8),NdrFcShort(0x8),0x44,0x2,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0xe,0x0,NdrFcShort(0x70),NdrFcShort(0x8),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x7),NdrFcShort(0x10),NdrFcShort(0x0),NdrFcShort(0x30),0x46,0x3,0x8,0x5,NdrFcShort(0x0),NdrFcShort(0x1),NdrFcShort(0x0),NdrFcShort(0x8b),NdrFcShort(0x4),NdrFcShort(0x4f8),NdrFcShort(0x2012),NdrFcShort(0x8),NdrFcShort(0x502),NdrFcShort(0x70),NdrFcShort(0xc),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x8),NdrFcShort(0x10),NdrFcShort(0x0),NdrFcShort(0x8),0x47,0x3,0x8,0x7,NdrFcShort(0x12),NdrFcShort(0x1),NdrFcShort(0x0),NdrFcShort(0x8b),NdrFcShort(0x4),NdrFcShort(0x4f8),NdrFcShort(0x2113),NdrFcShort(0x8),NdrFcShort(0x4a6),NdrFcShort(0x70),NdrFcShort(0xc),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x9),NdrFcShort(0x18),NdrFcShort(0x8),NdrFcShort(0x8),0x47,0x5,0x8,0x7,NdrFcShort(0x12),NdrFcShort(0x12),NdrFcShort(0x0),NdrFcShort(0xb),NdrFcShort(0x4),NdrFcShort(0x1c),NdrFcShort(0x8b),NdrFcShort(0x8),NdrFcShort(0x4b8),NdrFcShort(0x48),NdrFcShort(0xc),0x8,0x0,NdrFcShort(0x2113),NdrFcShort(0x10),NdrFcShort(0x4a6),NdrFcShort(0x70),NdrFcShort(0x14),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xa),NdrFcShort(0x10),NdrFcShort(0x8),NdrFcShort(0x8),0x45,0x3,0x8,0x3,NdrFcShort(0x12),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x8,0x0,NdrFcShort(0x2113),NdrFcShort(0x8),NdrFcShort(0x4a6),NdrFcShort(0x70),NdrFcShort(0xc),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0xb),NdrFcShort(0x10),NdrFcShort(0x8),NdrFcShort(0x8),0x45,0x3,0x8,0x3,NdrFcShort(0x12),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0x8,0x0,NdrFcShort(0x2113),NdrFcShort(0x8),NdrFcShort(0x4a6),NdrFcShort(0x70),NdrFcShort(0xc),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x7),NdrFcShort(0x18),NdrFcShort(0x8),NdrFcShort(0x8),0x46,0x5,0x8,0x5,NdrFcShort(0x0),NdrFcShort(0x25),NdrFcShort(0x0),NdrFcShort(0x8b),NdrFcShort(0x4),NdrFcShort(0x4b8),NdrFcShort(0x8b),NdrFcShort(0x8),NdrFcShort(0x4b8),NdrFcShort(0x8b),NdrFcShort(0xc),NdrFcShort(0x4f8),NdrFcShort(0x48),NdrFcShort(0x10),0x8,0x0,NdrFcShort(0x70),NdrFcShort(0x14),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x8),NdrFcShort(0x18),NdrFcShort(0x8),NdrFcShort(0x8),0x46,0x5,0x8,0x5,NdrFcShort(0x0),NdrFcShort(0x25),NdrFcShort(0x0),NdrFcShort(0x8b),NdrFcShort(0x4),NdrFcShort(0x4b8),NdrFcShort(0x8b),NdrFcShort(0x8),NdrFcShort(0x4b8),NdrFcShort(0x8b),NdrFcShort(0xc),NdrFcShort(0x4f8),NdrFcShort(0x48),NdrFcShort(0x10),0x8,0x0,NdrFcShort(0x70),NdrFcShort(0x14),0x8,0x0,0x33,0x6c,NdrFcLong(0x0),NdrFcShort(0x9),NdrFcShort(0x18),NdrFcShort(0x18),NdrFcShort(0x38),0x44,0x5,0x8,0x1,NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x0),NdrFcShort(0x48),NdrFcShort(0x4),0xe,0x0,NdrFcShort(0x48),NdrFcShort(0x8),0xe,0x0,NdrFcShort(0x48),NdrFcShort(0xc),0x8,0x0,NdrFcShort(0x2012),NdrFcShort(0x10),NdrFcShort(0x50a),NdrFcShort(0x70),NdrFcShort(0x14),0x8,0x0,0x0 } | ||
| 251 | }; | ||
| 252 | |||
| 253 | const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString = { | ||
| 254 | 0,{ NdrFcShort(0x0),0x11,0x10,NdrFcShort(0x2),0x2f,0x5a,NdrFcLong(0xc),NdrFcShort(0x0),NdrFcShort(0x0),0xc0,0x0,0x0,0x0,0x0,0x0,0x0,0x46,0x11,0x14,NdrFcShort(0x2),0x2f,0x5a,NdrFcLong(0xe126f8fe),NdrFcShort(0xa7af),NdrFcShort(0x11d0),0xb8,0x8a,0x0,0xc0,0x4f,0xd4,0x24,0xb9,0x11,0x8,0x8,0x5c,0x11,0x8,0x2,0x5c,0x11,0x0,NdrFcShort(0x2),0x15,0x3,NdrFcShort(0x14),0x8,0x8,0x8,0x8,0x8,0x5b,0x11,0x10,NdrFcShort(0xffffffd6),0x11,0x14,NdrFcShort(0x2),0x13,0x0,NdrFcShort(0x50),0x13,0x0,NdrFcShort(0x2),0x2a,0x88,NdrFcShort(0x8),NdrFcShort(0x3),NdrFcLong(0x48746457),NdrFcShort(0x8008),NdrFcLong(0x52746457),NdrFcShort(0xa),NdrFcLong(0x50746457),NdrFcShort(0x800b),NdrFcShort(0xffffffff),0x13,0x0,NdrFcShort(0xe),0x1b,0x0,NdrFcShort(0x1),0x9,0x0,NdrFcShort(0xfffc),NdrFcShort(0x1),0x1,0x5b,0x17,0x3,NdrFcShort(0x8),NdrFcShort(0xfffffff0),0x8,0x8,0x5c,0x5b,0xb4,0x83,NdrFcShort(0x0),NdrFcShort(0x4),NdrFcShort(0x0),NdrFcShort(0xffffffc0),0x1b,0x0,NdrFcShort(0x1),0x19,0x0,NdrFcShort(0x4),NdrFcShort(0x1),0x2,0x5b,0x1a,0x3,NdrFcShort(0xc),NdrFcShort(0x0),NdrFcShort(0xa),0x4c,0x0,NdrFcShort(0xffffffe0),0x8,0x36,0x5c,0x5b,0x13,0x0,NdrFcShort(0xffffffe2),0x11,0x4,NdrFcShort(0x3f2),0x13,0x10,NdrFcShort(0x2),0x13,0x0,NdrFcShort(0x3d8),0x2a,0x49,NdrFcShort(0x18),NdrFcShort(0xa),NdrFcLong(0x8),NdrFcShort(0x70),NdrFcLong(0xd),NdrFcShort(0xa6),NdrFcLong(0x9),NdrFcShort(0xd8),NdrFcLong(0xc),NdrFcShort(0x2bc),NdrFcLong(0x24),NdrFcShort(0x2e6),NdrFcLong(0x800d),NdrFcShort(0x302),NdrFcLong(0x10),NdrFcShort(0x31c),NdrFcLong(0x2),NdrFcShort(0x336),NdrFcLong(0x3),NdrFcShort(0x350),NdrFcLong(0x14),NdrFcShort(0x36a),NdrFcShort(0xffffffff),0x1b,0x1,NdrFcShort(0x2),0x9,0x0,NdrFcShort(0xfffc),NdrFcShort(0x1),0x6,0x5b,0x17,0x3,NdrFcShort(0x8),NdrFcShort(0xfffffff0),0x8,0x8,0x5c,0x5b,0x1b,0x3,NdrFcShort(0x4),0x19,0x0,NdrFcShort(0x0),NdrFcShort(0x1),0x4b,0x5c,0x48,0x49,NdrFcShort(0x4),NdrFcShort(0x0),NdrFcShort(0x1),NdrFcShort(0x0),NdrFcShort(0x0),0x13,0x0,NdrFcShort(0xffffffdc),0x5b,0x8,0x5c,0x5b,0x16,0x3,NdrFcShort(0x8),0x4b,0x5c,0x46,0x5c,NdrFcShort(0x4),NdrFcShort(0x4),0x11,0x0,NdrFcShort(0xffffffd2),0x5b,0x8,0x8,0x5b,0x2f,0x5a,NdrFcLong(0x0),NdrFcShort(0x0),NdrFcShort(0x0),0xc0,0x0,0x0,0x0,0x0,0x0,0x0,0x46,0x21,0x3,NdrFcShort(0x0),0x19,0x0,NdrFcShort(0x0),NdrFcShort(0x1),NdrFcLong(0xffffffff),NdrFcShort(0x0),0x4c,0x0,NdrFcShort(0xffffffdc),0x5c,0x5b,0x1a,0x3,NdrFcShort(0x8),NdrFcShort(0x0),NdrFcShort(0x6),0x8,0x36,0x5c,0x5b,0x11,0x0,NdrFcShort(0xffffffdc),0x2f,0x5a,NdrFcLong(0x20400),NdrFcShort(0x0),NdrFcShort(0x0),0xc0,0x0,0x0,0x0,0x0,0x0,0x0,0x46,0x21,0x3,NdrFcShort(0x0),0x19,0x0,NdrFcShort(0x0),NdrFcShort(0x1),NdrFcLong(0xffffffff),NdrFcShort(0x0),0x4c,0x0,NdrFcShort(0xffffffdc),0x5c,0x5b,0x1a,0x3,NdrFcShort(0x8),NdrFcShort(0x0),NdrFcShort(0x6),0x8,0x36,0x5c,0x5b,0x11,0x0,NdrFcShort(0xffffffdc),0x2b,0x9,0x7,0x0,NdrFcShort(0xfff8),NdrFcShort(0x1),NdrFcShort(0x2),NdrFcShort(0x10),NdrFcShort(0x2b),NdrFcLong(0x3),NdrFcShort(0x8008),NdrFcLong(0x11),NdrFcShort(0x8001),NdrFcLong(0x2),NdrFcShort(0x8006),NdrFcLong(0x4),NdrFcShort(0x800a),NdrFcLong(0x5),NdrFcShort(0x800c),NdrFcLong(0xb),NdrFcShort(0x8006),NdrFcLong(0xa),NdrFcShort(0x8008),NdrFcLong(0x6),NdrFcShort(0xd6),NdrFcLong(0x7),NdrFcShort(0x800c),NdrFcLong(0x8),NdrFcShort(0xd0),NdrFcLong(0xd),NdrFcShort(0xffffff42),NdrFcLong(0x9),NdrFcShort(0xffffff74),NdrFcLong(0x2000),NdrFcShort(0xc2),NdrFcLong(0x24),NdrFcShort(0xc4),NdrFcLong(0x4024),NdrFcShort(0xbe),NdrFcLong(0x4011),NdrFcShort(0xee),NdrFcLong(0x4002),NdrFcShort(0xec),NdrFcLong(0x4003),NdrFcShort(0xea),NdrFcLong(0x4004),NdrFcShort(0xe8),NdrFcLong(0x4005),NdrFcShort(0xe6),NdrFcLong(0x400b),NdrFcShort(0xd4),NdrFcLong(0x400a),NdrFcShort(0xd2),NdrFcLong(0x4006),NdrFcShort(0xd8),NdrFcLong(0x4007),NdrFcShort(0xce),NdrFcLong(0x4008),NdrFcShort(0xd0),NdrFcLong(0x400d),NdrFcShort(0xce),NdrFcLong(0x4009),NdrFcShort(0xcc),NdrFcLong(0x6000),NdrFcShort(0xca),NdrFcLong(0x400c),NdrFcShort(0xd0),NdrFcLong(0x10),NdrFcShort(0x8002),NdrFcLong(0x12),NdrFcShort(0x8006),NdrFcLong(0x13),NdrFcShort(0x8008),NdrFcLong(0x16),NdrFcShort(0x8008),NdrFcLong(0x17),NdrFcShort(0x8008),NdrFcLong(0xe),NdrFcShort(0xb4),NdrFcLong(0x400e),NdrFcShort(0xba),NdrFcLong(0x4010),NdrFcShort(0xb8),NdrFcLong(0x4012),NdrFcShort(0x6e),NdrFcLong(0x4013),NdrFcShort(0x6c),NdrFcLong(0x4016),NdrFcShort(0x66),NdrFcLong(0x4017),NdrFcShort(0x60),NdrFcLong(0x0),NdrFcShort(0x0),NdrFcLong(0x1),NdrFcShort(0x0),NdrFcShort(0xffffffff),0x15,0x7,NdrFcShort(0x8),0xb,0x5b,0x13,0x0,NdrFcShort(0xfffffe38),0x13,0x10,NdrFcShort(0x2),0x13,0x0,NdrFcShort(0x1b6),0x13,0x0,NdrFcShort(0x20),0x2f,0x5a,NdrFcLong(0x2f),NdrFcShort(0x0),NdrFcShort(0x0),0xc0,0x0,0x0,0x0,0x0,0x0,0x0,0x46,0x1b,0x0,NdrFcShort(0x1),0x19,0x0,NdrFcShort(0x4),NdrFcShort(0x1),0x1,0x5b,0x1a,0x3,NdrFcShort(0x10),NdrFcShort(0x0),NdrFcShort(0xa),0x8,0x8,0x4c,0x0,NdrFcShort(0xffffffd6),0x36,0x5b,0x13,0x0,NdrFcShort(0xffffffe2),0x13,0x8,0x1,0x5c,0x13,0x8,0x6,0x5c,0x13,0x8,0x8,0x5c,0x13,0x8,0xa,0x5c,0x13,0x8,0xc,0x5c,0x13,0x0,NdrFcShort(0xffffffa2),0x13,0x10,NdrFcShort(0xffffffa4),0x13,0x10,NdrFcShort(0xfffffe18),0x13,0x10,NdrFcShort(0xfffffe4c),0x13,0x10,NdrFcShort(0x2),0x13,0x10,NdrFcShort(0x2),0x13,0x0,NdrFcShort(0x150),0x13,0x10,NdrFcShort(0x2),0x13,0x0,NdrFcShort(0x16),0x15,0x7,NdrFcShort(0x10),0x6,0x1,0x1,0x38,0x8,0x39,0xb,0x5b,0x13,0x0,NdrFcShort(0xfffffff2),0x13,0x8,0x2,0x5c,0x1a,0x7,NdrFcShort(0x20),NdrFcShort(0x0),NdrFcShort(0x0),0x8,0x8,0x6,0x6,0x6,0x6,0x4c,0x0,NdrFcShort(0xfffffe4a),0x5c,0x5b,0x1b,0x3,NdrFcShort(0x4),0x19,0x0,NdrFcShort(0x0),NdrFcShort(0x1),0x4b,0x5c,0x48,0x49,NdrFcShort(0x4),NdrFcShort(0x0),NdrFcShort(0x1),NdrFcShort(0x0),NdrFcShort(0x0),0x13,0x0,NdrFcShort(0xffffffd2),0x5b,0x8,0x5c,0x5b,0x1a,0x3,NdrFcShort(0x8),NdrFcShort(0x0),NdrFcShort(0x6),0x8,0x36,0x5c,0x5b,0x11,0x0,NdrFcShort(0xffffffd2),0x1b,0x3,NdrFcShort(0x4),0x19,0x0,NdrFcShort(0x0),NdrFcShort(0x1),0x4b,0x5c,0x48,0x49,NdrFcShort(0x4),NdrFcShort(0x0),NdrFcShort(0x1),NdrFcShort(0x0),NdrFcShort(0x0),0x13,0x0,NdrFcShort(0xffffff42),0x5b,0x8,0x5c,0x5b,0x1a,0x3,NdrFcShort(0x8),NdrFcShort(0x0),NdrFcShort(0x6),0x8,0x36,0x5c,0x5b,0x11,0x0,NdrFcShort(0xffffffd2),0x1d,0x0,NdrFcShort(0x8),0x2,0x5b,0x15,0x3,NdrFcShort(0x10),0x8,0x6,0x6,0x4c,0x0,NdrFcShort(0xfffffff1),0x5b,0x1a,0x3,NdrFcShort(0x18),NdrFcShort(0x0),NdrFcShort(0xa),0x8,0x36,0x4c,0x0,NdrFcShort(0xffffffe8),0x5c,0x5b,0x11,0x0,NdrFcShort(0xfffffd64),0x1b,0x0,NdrFcShort(0x1),0x19,0x0,NdrFcShort(0x0),NdrFcShort(0x1),0x1,0x5b,0x16,0x3,NdrFcShort(0x8),0x4b,0x5c,0x46,0x5c,NdrFcShort(0x4),NdrFcShort(0x4),0x13,0x0,NdrFcShort(0xffffffe6),0x5b,0x8,0x8,0x5b,0x1b,0x1,NdrFcShort(0x2),0x19,0x0,NdrFcShort(0x0),NdrFcShort(0x1),0x6,0x5b,0x16,0x3,NdrFcShort(0x8),0x4b,0x5c,0x46,0x5c,NdrFcShort(0x4),NdrFcShort(0x4),0x13,0x0,NdrFcShort(0xffffffe6),0x5b,0x8,0x8,0x5b,0x1b,0x3,NdrFcShort(0x4),0x19,0x0,NdrFcShort(0x0),NdrFcShort(0x1),0x8,0x5b,0x16,0x3,NdrFcShort(0x8),0x4b,0x5c,0x46,0x5c,NdrFcShort(0x4),NdrFcShort(0x4),0x13,0x0,NdrFcShort(0xffffffe6),0x5b,0x8,0x8,0x5b,0x1b,0x7,NdrFcShort(0x8),0x19,0x0,NdrFcShort(0x0),NdrFcShort(0x1),0xb,0x5b,0x16,0x3,NdrFcShort(0x8),0x4b,0x5c,0x46,0x5c,NdrFcShort(0x4),NdrFcShort(0x4),0x13,0x0,NdrFcShort(0xffffffe6),0x5b,0x8,0x8,0x5b,0x15,0x3,NdrFcShort(0x8),0x8,0x8,0x5c,0x5b,0x1b,0x3,NdrFcShort(0x8),0x7,0x0,NdrFcShort(0xffd8),NdrFcShort(0x1),0x4c,0x0,NdrFcShort(0xffffffec),0x5c,0x5b,0x1a,0x3,NdrFcShort(0x28),NdrFcShort(0xffffffec),NdrFcShort(0x0),0x6,0x6,0x38,0x8,0x8,0x4c,0x0,NdrFcShort(0xfffffc1b),0x5b,0xb4,0x83,NdrFcShort(0x1),NdrFcShort(0x4),NdrFcShort(0x0),NdrFcShort(0xfffffc08),0x12,0x10,NdrFcShort(0x2),0x12,0x0,NdrFcShort(0xffffffde),0xb4,0x83,NdrFcShort(0x1),NdrFcShort(0x4),NdrFcShort(0x0),NdrFcShort(0xfffffff0),0x11,0x14,NdrFcShort(0xfffffe9a),0x11,0x4,NdrFcShort(0xfffffe06),0x11,0xc,0x8,0x5c,0x11,0xc,0x2,0x5c,0x11,0xc,0x6,0x5c,0x11,0xc,0xd,0x5c,0x11,0x14,NdrFcShort(0x2),0x2f,0x5a,NdrFcLong(0xd5778ae3),NdrFcShort(0x43de),NdrFcShort(0x11d0),0x91,0x71,0x0,0xaa,0x0,0xc1,0x80,0x68,0x11,0xc,0xe,0x5c,0x12,0x0,NdrFcShort(0xfffffc18),0xb4,0x83,NdrFcShort(0x2),NdrFcShort(0x4),NdrFcShort(0x0),NdrFcShort(0xfffffff4),0x11,0x14,NdrFcShort(0x2),0x13,0x0,NdrFcShort(0xfffffed4),0x11,0x14,NdrFcShort(0x2),0x13,0x0,NdrFcShort(0x2),0x15,0x3,NdrFcShort(0x20),0x8,0x8,0xe,0xe,0x8,0x8,0x8,0x8,0x5c,0x5b,0x0 } | ||
| 255 | }; | ||
| 256 | |||
| 257 | const CInterfaceProxyVtbl *_scardssp_ProxyVtblList[] = { | ||
| 258 | (CInterfaceProxyVtbl *) &_ISCardTypeConvProxyVtbl,(CInterfaceProxyVtbl *) &_ISCardISO7816ProxyVtbl,(CInterfaceProxyVtbl *) &_ISCardProxyVtbl,(CInterfaceProxyVtbl *) &_ISCardDatabaseProxyVtbl,(CInterfaceProxyVtbl *) &_ISCardLocateProxyVtbl,(CInterfaceProxyVtbl *) &_ISCardCmdProxyVtbl,(CInterfaceProxyVtbl *) &_IByteBufferProxyVtbl,0 | ||
| 259 | }; | ||
| 260 | |||
| 261 | const CInterfaceStubVtbl *_scardssp_StubVtblList[] = { | ||
| 262 | (CInterfaceStubVtbl *) &_ISCardTypeConvStubVtbl,(CInterfaceStubVtbl *) &_ISCardISO7816StubVtbl,(CInterfaceStubVtbl *) &_ISCardStubVtbl,(CInterfaceStubVtbl *) &_ISCardDatabaseStubVtbl,(CInterfaceStubVtbl *) &_ISCardLocateStubVtbl,(CInterfaceStubVtbl *) &_ISCardCmdStubVtbl,(CInterfaceStubVtbl *) &_IByteBufferStubVtbl,0 | ||
| 263 | }; | ||
| 264 | |||
| 265 | PCInterfaceName const _scardssp_InterfaceNamesList[] = { | ||
| 266 | "ISCardTypeConv","ISCardISO7816","ISCard","ISCardDatabase","ISCardLocate","ISCardCmd","IByteBuffer",0 | ||
| 267 | }; | ||
| 268 | |||
| 269 | const IID *_scardssp_BaseIIDList[] = { | ||
| 270 | &IID_IDispatch,&IID_IDispatch,&IID_IDispatch,&IID_IDispatch,&IID_IDispatch,&IID_IDispatch,&IID_IDispatch,0 | ||
| 271 | }; | ||
| 272 | |||
| 273 | #define _scardssp_CHECK_IID(n) IID_GENERIC_CHECK_IID(_scardssp,pIID,n) | ||
| 274 | |||
| 275 | int __stdcall _scardssp_IID_Lookup(const IID *pIID,int *pIndex) { | ||
| 276 | IID_BS_LOOKUP_SETUP | ||
| 277 | IID_BS_LOOKUP_INITIAL_TEST(_scardssp,7,4) | ||
| 278 | IID_BS_LOOKUP_NEXT_TEST(_scardssp,2) | ||
| 279 | IID_BS_LOOKUP_NEXT_TEST(_scardssp,1) | ||
| 280 | IID_BS_LOOKUP_RETURN_RESULT(_scardssp,7,*pIndex) | ||
| 281 | } | ||
| 282 | |||
| 283 | const ExtendedProxyFileInfo scardssp_ProxyFileInfo = { | ||
| 284 | (PCInterfaceProxyVtblList *) & _scardssp_ProxyVtblList,(PCInterfaceStubVtblList *) & _scardssp_StubVtblList,(const PCInterfaceName *) & _scardssp_InterfaceNamesList,(const IID **) & _scardssp_BaseIIDList,& _scardssp_IID_Lookup,7,2,0,0,0,0 | ||
| 285 | }; | ||
lib/libc/include/any-windows-any/semaphore.h+11-4| ... | @@ -23,15 +23,13 @@ | ... | @@ -23,15 +23,13 @@ |
| 23 | #ifndef WIN_PTHREADS_SEMAPHORE_H | 23 | #ifndef WIN_PTHREADS_SEMAPHORE_H |
| 24 | #define WIN_PTHREADS_SEMAPHORE_H | 24 | #define WIN_PTHREADS_SEMAPHORE_H |
| 25 | 25 | ||
| 26 | #include <sys/timeb.h> | ||
| 26 | #include "pthread_compat.h" | 27 | #include "pthread_compat.h" |
| 27 | 28 | ||
| 28 | #ifdef __cplusplus | 29 | #ifdef __cplusplus |
| 29 | extern "C" { | 30 | extern "C" { |
| 30 | #endif | 31 | #endif |
| 31 | 32 | ||
| 32 | /* Set this to 0 to disable it */ | ||
| 33 | #define USE_SEM_CriticalSection_SpinCount	100 | ||
| 34 | |||
| 35 | #define SEM_VALUE_MAX INT_MAX | 33 | #define SEM_VALUE_MAX INT_MAX |
| 36 | 34 | ||
| 37 | typedef void		*sem_t; | 35 | typedef void		*sem_t; |
| ... | @@ -46,7 +44,16 @@ WINPTHREAD_API int sem_trywait(sem_t *sem); | ... | @@ -46,7 +44,16 @@ WINPTHREAD_API int sem_trywait(sem_t *sem); |
| 46 | 44 | ||
| 47 | WINPTHREAD_API int sem_wait(sem_t *sem); | 45 | WINPTHREAD_API int sem_wait(sem_t *sem); |
| 48 | 46 | ||
| 49 | WINPTHREAD_API int sem_timedwait(sem_t * sem, const struct timespec *t); | 47 | WINPTHREAD_API int sem_timedwait32(sem_t * sem, const struct _timespec32 *t); |
| 48 | WINPTHREAD_API int sem_timedwait64(sem_t * sem, const struct _timespec64 *t); | ||
| 49 | WINPTHREAD_SEM_DECL int sem_timedwait(sem_t * sem, const struct timespec *t) | ||
| 50 | { | ||
| 51 | #if WINPTHREADS_TIME_BITS == 32 | ||
| 52 | return sem_timedwait32 (sem, (const struct _timespec32 *) t); | ||
| 53 | #else | ||
| 54 | return sem_timedwait64 (sem, (const struct _timespec64 *) t); | ||
| 55 | #endif | ||
| 56 | } | ||
| 50 | 57 | ||
| 51 | WINPTHREAD_API int sem_post(sem_t *sem); | 58 | WINPTHREAD_API int sem_post(sem_t *sem); |
| 52 | 59 |
lib/libc/include/any-windows-any/sensorsapi.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/sensorsapi.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/sensorsapi.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/servprov.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/servprov.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/servprov.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/setjmp.h+12-12| ... | @@ -224,21 +224,21 @@ void * __cdecl __attribute__ ((__nothrow__)) mingw_getsp (void); | ... | @@ -224,21 +224,21 @@ void * __cdecl __attribute__ ((__nothrow__)) mingw_getsp (void); |
| 224 | #ifndef _INC_SETJMPEX | 224 | #ifndef _INC_SETJMPEX |
| 225 | # if defined(_X86_) || defined(__i386__) | 225 | # if defined(_X86_) || defined(__i386__) |
| 226 | # define setjmp(BUF) _setjmp3((BUF), NULL) | 226 | # define setjmp(BUF) _setjmp3((BUF), NULL) |
| 227 | # elif ((defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__)) && (!defined(__SEH__) || !__has_builtin(__builtin_sponentry) || defined(__USE_MINGW_SETJMP_NON_SEH))) | 227 | # elif !defined(__SEH__) || defined(__USE_MINGW_SETJMP_NON_SEH) |
| 228 | # define setjmp(BUF) __mingw_setjmp((BUF)) | 228 | # if defined(__arm__) || defined(__aarch64__) |
| 229 | # define longjmp __mingw_longjmp | 229 | # define setjmp(BUF) __mingw_setjmp((BUF)) |
| 230 | int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) __mingw_setjmp(jmp_buf _Buf); | 230 | # define longjmp __mingw_longjmp |
| 231 | __MINGW_ATTRIB_NORETURN __attribute__ ((__nothrow__)) void __mingw_longjmp(jmp_buf _Buf,int _Value); | 231 | int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) __mingw_setjmp(jmp_buf _Buf); |
| 232 | # elif defined(__SEH__) && !defined(__USE_MINGW_SETJMP_NON_SEH) | 232 | __MINGW_ATTRIB_NORETURN __attribute__ ((__nothrow__)) void __mingw_longjmp(jmp_buf _Buf,int _Value); |
| 233 | # if defined(__aarch64__) || defined(_ARM64_) || defined(__arm__) || defined(_ARM_) | ||
| 234 | # define setjmp(BUF) _setjmp((BUF), __builtin_sponentry()) | ||
| 235 | # elif (__MINGW_GCC_VERSION < 40702) && !defined(__clang__) | ||
| 236 | # define setjmp(BUF) _setjmp((BUF), mingw_getsp()) | ||
| 237 | # else | 233 | # else |
| 238 | # define setjmp(BUF) _setjmp((BUF), __builtin_frame_address (0)) | 234 | # define setjmp(BUF) _setjmp((BUF), NULL) |
| 239 | # endif | 235 | # endif |
| 236 | # elif __has_builtin(__builtin_sponentry) | ||
| 237 | # define setjmp(BUF) _setjmp((BUF), __builtin_sponentry()) | ||
| 238 | # elif (__MINGW_GCC_VERSION < 40702) && !defined(__clang__) | ||
| 239 | # define setjmp(BUF) _setjmp((BUF), mingw_getsp()) | ||
| 240 | # else | 240 | # else |
| 241 | # define setjmp(BUF) _setjmp((BUF), NULL) | 241 | # define setjmp(BUF) _setjmp((BUF), __builtin_frame_address (0)) |
| 242 | # endif | 242 | # endif |
| 243 | int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) _setjmp(jmp_buf _Buf, void *_Ctx); | 243 | int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) _setjmp(jmp_buf _Buf, void *_Ctx); |
| 244 | int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) _setjmp3(jmp_buf _Buf, void *_Ctx); | 244 | int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) _setjmp3(jmp_buf _Buf, void *_Ctx); |
lib/libc/include/any-windows-any/shldisp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/shldisp.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/shldisp.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/shlobj.h+4-4| ... | @@ -33,7 +33,7 @@ | ... | @@ -33,7 +33,7 @@ |
| 33 | 33 | ||
| 34 | typedef enum { | 34 | typedef enum { |
| 35 | SHGFP_TYPE_CURRENT = 0, | 35 | SHGFP_TYPE_CURRENT = 0, |
| 36 | SHGFP_TYPE_DEFAULT = 1, | 36 | SHGFP_TYPE_DEFAULT = 1 |
| 37 | } SHGFP_TYPE; | 37 | } SHGFP_TYPE; |
| 38 | 38 | ||
| 39 | SHFOLDERAPI SHGetFolderPathW (HWND hwnd, int csidl, HANDLE hToken, DWORD dwFlags, LPWSTR pszPath); | 39 | SHFOLDERAPI SHGetFolderPathW (HWND hwnd, int csidl, HANDLE hToken, DWORD dwFlags, LPWSTR pszPath); |
| ... | @@ -1108,7 +1108,7 @@ extern "C" { | ... | @@ -1108,7 +1108,7 @@ extern "C" { |
| 1108 | STDMETHOD(GetBandInfoSFB) (THIS_ PBANDINFOSFB pbi) PURE; | 1108 | STDMETHOD(GetBandInfoSFB) (THIS_ PBANDINFOSFB pbi) PURE; |
| 1109 | }; | 1109 | }; |
| 1110 | enum { | 1110 | enum { |
| 1111 | SFBID_PIDLCHANGED, | 1111 | SFBID_PIDLCHANGED |
| 1112 | }; | 1112 | }; |
| 1113 | 1113 | ||
| 1114 | #undef INTERFACE | 1114 | #undef INTERFACE |
| ... | @@ -1550,7 +1550,7 @@ extern "C" { | ... | @@ -1550,7 +1550,7 @@ extern "C" { |
| 1550 | DROPIMAGE_LINK = DROPEFFECT_LINK, | 1550 | DROPIMAGE_LINK = DROPEFFECT_LINK, |
| 1551 | DROPIMAGE_LABEL = 6, | 1551 | DROPIMAGE_LABEL = 6, |
| 1552 | DROPIMAGE_WARNING = 7, | 1552 | DROPIMAGE_WARNING = 7, |
| 1553 | DROPIMAGE_NOIMAGE = 8, | 1553 | DROPIMAGE_NOIMAGE = 8 |
| 1554 | } DROPIMAGETYPE; | 1554 | } DROPIMAGETYPE; |
| 1555 | 1555 | ||
| 1556 | typedef struct { | 1556 | typedef struct { |
| ... | @@ -2747,7 +2747,7 @@ DECLARE_INTERFACE_IID_ (INamedPropertyBag, IUnknown, "FB700430-952C-11d1-946F-00 | ... | @@ -2747,7 +2747,7 @@ DECLARE_INTERFACE_IID_ (INamedPropertyBag, IUnknown, "FB700430-952C-11d1-946F-00 |
| 2747 | IESHORTCUT_NEWBROWSER = 0x01, | 2747 | IESHORTCUT_NEWBROWSER = 0x01, |
| 2748 | IESHORTCUT_OPENNEWTAB = 0x02, | 2748 | IESHORTCUT_OPENNEWTAB = 0x02, |
| 2749 | IESHORTCUT_FORCENAVIGATE = 0x04, | 2749 | IESHORTCUT_FORCENAVIGATE = 0x04, |
| 2750 | IESHORTCUT_BACKGROUNDTAB = 0x08, | 2750 | IESHORTCUT_BACKGROUNDTAB = 0x08 |
| 2751 | } IESHORTCUTFLAGS; | 2751 | } IESHORTCUTFLAGS; |
| 2752 | #endif | 2752 | #endif |
| 2753 | 2753 |
lib/libc/include/any-windows-any/shobjidl.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/shobjidl.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/shobjidl.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/shtypes.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/shtypes.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/shtypes.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/spatialaudioclient.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/spatialaudioclient.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/spatialaudioclient.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/spellcheck.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/spellcheck.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/spellcheck.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/sql.h+1-1| ... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
| 7 | #define __SQL | 7 | #define __SQL |
| 8 | 8 | ||
| 9 | #ifndef ODBCVER | 9 | #ifndef ODBCVER |
| 10 | #define ODBCVER 0x0351 | 10 | #define ODBCVER 0x0380 |
| 11 | #endif | 11 | #endif |
| 12 | 12 | ||
| 13 | #include <sqltypes.h> | 13 | #include <sqltypes.h> |
lib/libc/include/any-windows-any/sqlext.h+75-2| ... | @@ -13,10 +13,12 @@ extern "C" { | ... | @@ -13,10 +13,12 @@ extern "C" { |
| 13 | #endif | 13 | #endif |
| 14 | 14 | ||
| 15 | #define SQL_SPEC_MAJOR 3 | 15 | #define SQL_SPEC_MAJOR 3 |
| 16 | #define SQL_SPEC_MINOR 52 | 16 | #define SQL_SPEC_MINOR 80 |
| 17 | #define SQL_SPEC_STRING "03.52" | 17 | #define SQL_SPEC_STRING "03.80" |
| 18 | 18 | ||
| 19 | #define SQL_SQLSTATE_SIZE 5 | 19 | #define SQL_SQLSTATE_SIZE 5 |
| 20 | typedef SQLTCHAR SQLSTATE[SQL_SQLSTATE_SIZE + 1]; | ||
| 21 | |||
| 20 | #define SQL_MAX_DSN_LENGTH 32 | 22 | #define SQL_MAX_DSN_LENGTH 32 |
| 21 | 23 | ||
| 22 | #define SQL_MAX_OPTION_STRING_LENGTH 256 | 24 | #define SQL_MAX_OPTION_STRING_LENGTH 256 |
| ... | @@ -35,6 +37,7 @@ extern "C" { | ... | @@ -35,6 +37,7 @@ extern "C" { |
| 35 | #define SQL_ATTR_ODBC_VERSION 200 | 37 | #define SQL_ATTR_ODBC_VERSION 200 |
| 36 | #define SQL_ATTR_CONNECTION_POOLING 201 | 38 | #define SQL_ATTR_CONNECTION_POOLING 201 |
| 37 | #define SQL_ATTR_CP_MATCH 202 | 39 | #define SQL_ATTR_CP_MATCH 202 |
| 40 | #define SQL_ATTR_APPLICATION_KEY 203 | ||
| 38 | #endif | 41 | #endif |
| 39 | 42 | ||
| 40 | #if (ODBCVER >= 0x0300) | 43 | #if (ODBCVER >= 0x0300) |
| ... | @@ -42,6 +45,7 @@ extern "C" { | ... | @@ -42,6 +45,7 @@ extern "C" { |
| 42 | #define SQL_CP_OFF __MSABI_LONG(0U) | 45 | #define SQL_CP_OFF __MSABI_LONG(0U) |
| 43 | #define SQL_CP_ONE_PER_DRIVER __MSABI_LONG(1U) | 46 | #define SQL_CP_ONE_PER_DRIVER __MSABI_LONG(1U) |
| 44 | #define SQL_CP_ONE_PER_HENV __MSABI_LONG(2U) | 47 | #define SQL_CP_ONE_PER_HENV __MSABI_LONG(2U) |
| 48 | #define SQL_CP_DRIVER_AWARE __MSABI_LONG(3U) | ||
| 45 | #define SQL_CP_DEFAULT SQL_CP_OFF | 49 | #define SQL_CP_DEFAULT SQL_CP_OFF |
| 46 | 50 | ||
| 47 | #define SQL_CP_STRICT_MATCH __MSABI_LONG(0U) | 51 | #define SQL_CP_STRICT_MATCH __MSABI_LONG(0U) |
| ... | @@ -52,6 +56,10 @@ extern "C" { | ... | @@ -52,6 +56,10 @@ extern "C" { |
| 52 | #define SQL_OV_ODBC3 __MSABI_LONG(3U) | 56 | #define SQL_OV_ODBC3 __MSABI_LONG(3U) |
| 53 | #endif | 57 | #endif |
| 54 | 58 | ||
| 59 | #if (ODBCVER >= 0x0380) | ||
| 60 | #define SQL_OV_ODBC3_80 __MSABI_LONG(380U) | ||
| 61 | #endif | ||
| 62 | |||
| 55 | #define SQL_ACCESS_MODE 101 | 63 | #define SQL_ACCESS_MODE 101 |
| 56 | #define SQL_AUTOCOMMIT 102 | 64 | #define SQL_AUTOCOMMIT 102 |
| 57 | #define SQL_LOGIN_TIMEOUT 103 | 65 | #define SQL_LOGIN_TIMEOUT 103 |
| ... | @@ -91,6 +99,15 @@ extern "C" { | ... | @@ -91,6 +99,15 @@ extern "C" { |
| 91 | #define SQL_ATTR_ANSI_APP 115 | 99 | #define SQL_ATTR_ANSI_APP 115 |
| 92 | #endif | 100 | #endif |
| 93 | 101 | ||
| 102 | #if (ODBCVER >= 0x0380) | ||
| 103 | #define SQL_ATTR_RESET_CONNECTION 116 | ||
| 104 | #define SQL_ATTR_ASYNC_DBC_FUNCTIONS_ENABLE 117 | ||
| 105 | #endif | ||
| 106 | |||
| 107 | #if (ODBCVER >= 0x0380) | ||
| 108 | #define SQL_ATTR_ASYNC_DBC_EVENT 119 | ||
| 109 | #endif | ||
| 110 | |||
| 94 | #if (ODBCVER < 0x0300) | 111 | #if (ODBCVER < 0x0300) |
| 95 | #define SQL_CONNECT_OPT_DRVR_START 1000 | 112 | #define SQL_CONNECT_OPT_DRVR_START 1000 |
| 96 | #endif | 113 | #endif |
| ... | @@ -136,6 +153,16 @@ extern "C" { | ... | @@ -136,6 +153,16 @@ extern "C" { |
| 136 | #define SQL_AA_FALSE __MSABI_LONG(0) | 153 | #define SQL_AA_FALSE __MSABI_LONG(0) |
| 137 | #endif | 154 | #endif |
| 138 | 155 | ||
| 156 | #if (ODBCVER >= 0x0380) | ||
| 157 | #define SQL_RESET_CONNECTION_YES __MSABI_LONG(1U) | ||
| 158 | #endif | ||
| 159 | |||
| 160 | #if (ODBCVER >= 0x0380) | ||
| 161 | #define SQL_ASYNC_DBC_ENABLE_ON __MSABI_LONG(1U) | ||
| 162 | #define SQL_ASYNC_DBC_ENABLE_OFF __MSABI_LONG(0U) | ||
| 163 | #define SQL_ASYNC_DBC_ENABLE_DEFAULT SQL_ASYNC_DBC_ENABLE_OFF | ||
| 164 | #endif | ||
| 165 | |||
| 139 | #define SQL_QUERY_TIMEOUT 0 | 166 | #define SQL_QUERY_TIMEOUT 0 |
| 140 | #define SQL_MAX_ROWS 1 | 167 | #define SQL_MAX_ROWS 1 |
| 141 | #define SQL_NOSCAN 2 | 168 | #define SQL_NOSCAN 2 |
| ... | @@ -181,6 +208,10 @@ extern "C" { | ... | @@ -181,6 +208,10 @@ extern "C" { |
| 181 | #define SQL_ATTR_USE_BOOKMARKS SQL_USE_BOOKMARKS | 208 | #define SQL_ATTR_USE_BOOKMARKS SQL_USE_BOOKMARKS |
| 182 | #endif | 209 | #endif |
| 183 | 210 | ||
| 211 | #if (ODBCVER >= 0x0380) | ||
| 212 | #define SQL_ATTR_ASYNC_STMT_EVENT 29 | ||
| 213 | #endif | ||
| 214 | |||
| 184 | #if (ODBCVER < 0x0300) | 215 | #if (ODBCVER < 0x0300) |
| 185 | #define SQL_STMT_OPT_MAX SQL_ROW_NUMBER | 216 | #define SQL_STMT_OPT_MAX SQL_ROW_NUMBER |
| 186 | #define SQL_STMT_OPT_MIN SQL_QUERY_TIMEOUT | 217 | #define SQL_STMT_OPT_MIN SQL_QUERY_TIMEOUT |
| ... | @@ -439,6 +470,19 @@ extern "C" { | ... | @@ -439,6 +470,19 @@ extern "C" { |
| 439 | #define SQL_TYPE_MAX SQL_VARCHAR | 470 | #define SQL_TYPE_MAX SQL_VARCHAR |
| 440 | #endif | 471 | #endif |
| 441 | 472 | ||
| 473 | #if (ODBCVER >= 0x380) | ||
| 474 | #define SQL_DRIVER_C_TYPE_BASE 0x4000 | ||
| 475 | #endif | ||
| 476 | |||
| 477 | #if (ODBCVER >= 0x380) | ||
| 478 | #define SQL_DRIVER_SQL_TYPE_BASE 0x4000 | ||
| 479 | #define SQL_DRIVER_DESC_FIELD_BASE 0x4000 | ||
| 480 | #define SQL_DRIVER_DIAG_FIELD_BASE 0x4000 | ||
| 481 | #define SQL_DRIVER_INFO_TYPE_BASE 0x4000 | ||
| 482 | #define SQL_DRIVER_CONN_ATTR_BASE 0x00004000 | ||
| 483 | #define SQL_DRIVER_STMT_ATTR_BASE 0x00004000 | ||
| 484 | #endif | ||
| 485 | |||
| 442 | #if (ODBCVER >= 0x0300) | 486 | #if (ODBCVER >= 0x0300) |
| 443 | #define SQL_C_VARBOOKMARK SQL_C_BINARY | 487 | #define SQL_C_VARBOOKMARK SQL_C_BINARY |
| 444 | #endif | 488 | #endif |
| ... | @@ -513,6 +557,7 @@ extern "C" { | ... | @@ -513,6 +557,7 @@ extern "C" { |
| 513 | #define SQL_API_SQLDESCRIBEPARAM 58 | 557 | #define SQL_API_SQLDESCRIBEPARAM 58 |
| 514 | #define SQL_API_SQLDRIVERCONNECT 41 | 558 | #define SQL_API_SQLDRIVERCONNECT 41 |
| 515 | #define SQL_API_SQLDRIVERS 71 | 559 | #define SQL_API_SQLDRIVERS 71 |
| 560 | #define SQL_API_SQLPRIVATEDRIVERS 79 | ||
| 516 | #define SQL_API_SQLEXTENDEDFETCH 59 | 561 | #define SQL_API_SQLEXTENDEDFETCH 59 |
| 517 | #define SQL_API_SQLFOREIGNKEYS 60 | 562 | #define SQL_API_SQLFOREIGNKEYS 60 |
| 518 | #define SQL_API_SQLMORERESULTS 61 | 563 | #define SQL_API_SQLMORERESULTS 61 |
| ... | @@ -705,8 +750,21 @@ extern "C" { | ... | @@ -705,8 +750,21 @@ extern "C" { |
| 705 | #define SQL_INSERT_STATEMENT 172 | 750 | #define SQL_INSERT_STATEMENT 172 |
| 706 | #define SQL_CONVERT_GUID 173 | 751 | #define SQL_CONVERT_GUID 173 |
| 707 | #define SQL_UNION_STATEMENT SQL_UNION | 752 | #define SQL_UNION_STATEMENT SQL_UNION |
| 753 | |||
| 754 | #if (ODBCVER >= 0x0380) | ||
| 755 | #define SQL_ASYNC_DBC_FUNCTIONS 10023 | ||
| 756 | #endif | ||
| 757 | |||
| 758 | #define SQL_DRIVER_AWARE_POOLING_SUPPORTED 10024 | ||
| 759 | |||
| 760 | #if (ODBCVER >= 0x0380) | ||
| 761 | #define SQL_ASYNC_NOTIFICATION 10025 | ||
| 762 | #define SQL_ASYNC_NOTIFICATION_NOT_CAPABLE __MSABI_LONG(0x00000000) | ||
| 763 | #define SQL_ASYNC_NOTIFICATION_CAPABLE __MSABI_LONG(0x00000001) | ||
| 708 | #endif | 764 | #endif |
| 709 | 765 | ||
| 766 | #endif /* ODBCVER >= 0x0300 */ | ||
| 767 | |||
| 710 | #define SQL_DTC_TRANSITION_COST 1750 | 768 | #define SQL_DTC_TRANSITION_COST 1750 |
| 711 | 769 | ||
| 712 | #if (ODBCVER >= 0x0300) | 770 | #if (ODBCVER >= 0x0300) |
| ... | @@ -968,6 +1026,9 @@ extern "C" { | ... | @@ -968,6 +1026,9 @@ extern "C" { |
| 968 | 1026 | ||
| 969 | #define SQL_GD_BLOCK __MSABI_LONG(0x00000004) | 1027 | #define SQL_GD_BLOCK __MSABI_LONG(0x00000004) |
| 970 | #define SQL_GD_BOUND __MSABI_LONG(0x00000008) | 1028 | #define SQL_GD_BOUND __MSABI_LONG(0x00000008) |
| 1029 | #if (ODBCVER >= 0x0380) | ||
| 1030 | #define SQL_GD_OUTPUT_PARAMS __MSABI_LONG(0x00000010) | ||
| 1031 | #endif | ||
| 971 | 1032 | ||
| 972 | #define SQL_PS_POSITIONED_DELETE __MSABI_LONG(0x00000001) | 1033 | #define SQL_PS_POSITIONED_DELETE __MSABI_LONG(0x00000001) |
| 973 | #define SQL_PS_POSITIONED_UPDATE __MSABI_LONG(0x00000002) | 1034 | #define SQL_PS_POSITIONED_UPDATE __MSABI_LONG(0x00000002) |
| ... | @@ -1302,11 +1363,19 @@ extern "C" { | ... | @@ -1302,11 +1363,19 @@ extern "C" { |
| 1302 | 1363 | ||
| 1303 | #define SQL_US_UNION SQL_U_UNION | 1364 | #define SQL_US_UNION SQL_U_UNION |
| 1304 | #define SQL_US_UNION_ALL SQL_U_UNION_ALL | 1365 | #define SQL_US_UNION_ALL SQL_U_UNION_ALL |
| 1366 | |||
| 1367 | #define SQL_DRIVER_AWARE_POOLING_NOT_CAPABLE __MSABI_LONG(0x00000000) | ||
| 1368 | #define SQL_DRIVER_AWARE_POOLING_CAPABLE __MSABI_LONG(0x00000001) | ||
| 1305 | #endif | 1369 | #endif |
| 1306 | 1370 | ||
| 1307 | #define SQL_DTC_ENLIST_EXPENSIVE __MSABI_LONG(0x00000001) | 1371 | #define SQL_DTC_ENLIST_EXPENSIVE __MSABI_LONG(0x00000001) |
| 1308 | #define SQL_DTC_UNENLIST_EXPENSIVE __MSABI_LONG(0x00000002) | 1372 | #define SQL_DTC_UNENLIST_EXPENSIVE __MSABI_LONG(0x00000002) |
| 1309 | 1373 | ||
| 1374 | #if (ODBCVER >= 0x0380) | ||
| 1375 | #define SQL_ASYNC_DBC_NOT_CAPABLE __MSABI_LONG(0x00000000) | ||
| 1376 | #define SQL_ASYNC_DBC_CAPABLE __MSABI_LONG(0x00000001) | ||
| 1377 | #endif | ||
| 1378 | |||
| 1310 | #if (ODBCVER >= 0x0300) | 1379 | #if (ODBCVER >= 0x0300) |
| 1311 | #define SQL_FETCH_FIRST_USER 31 | 1380 | #define SQL_FETCH_FIRST_USER 31 |
| 1312 | #define SQL_FETCH_FIRST_SYSTEM 32 | 1381 | #define SQL_FETCH_FIRST_SYSTEM 32 |
| ... | @@ -1412,6 +1481,10 @@ extern "C" { | ... | @@ -1412,6 +1481,10 @@ extern "C" { |
| 1412 | #define SQL_RESULT_COL 3 | 1481 | #define SQL_RESULT_COL 3 |
| 1413 | #define SQL_PARAM_OUTPUT 4 | 1482 | #define SQL_PARAM_OUTPUT 4 |
| 1414 | #define SQL_RETURN_VALUE 5 | 1483 | #define SQL_RETURN_VALUE 5 |
| 1484 | #if (ODBCVER >= 0x0380) | ||
| 1485 | #define SQL_PARAM_INPUT_OUTPUT_STREAM 8 | ||
| 1486 | #define SQL_PARAM_OUTPUT_STREAM 16 | ||
| 1487 | #endif | ||
| 1415 | 1488 | ||
| 1416 | #define SQL_PT_UNKNOWN 0 | 1489 | #define SQL_PT_UNKNOWN 0 |
| 1417 | #define SQL_PT_PROCEDURE 1 | 1490 | #define SQL_PT_PROCEDURE 1 |
lib/libc/include/any-windows-any/sqltypes.h+1-1| ... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
| 7 | #define __SQLTYPES | 7 | #define __SQLTYPES |
| 8 | 8 | ||
| 9 | #ifndef ODBCVER | 9 | #ifndef ODBCVER |
| 10 | #define ODBCVER 0x0351 | 10 | #define ODBCVER 0x0380 |
| 11 | #endif | 11 | #endif |
| 12 | 12 | ||
| 13 | #ifdef __cplusplus | 13 | #ifdef __cplusplus |
lib/libc/include/any-windows-any/stdio.h+94-168| ... | @@ -206,32 +206,62 @@ extern | ... | @@ -206,32 +206,62 @@ extern |
| 206 | 206 | ||
| 207 | extern | 207 | extern |
| 208 | __MINGW_MS_SCANF(2, 3) __MINGW_ATTRIB_NONNULL(2) | 208 | __MINGW_MS_SCANF(2, 3) __MINGW_ATTRIB_NONNULL(2) |
| 209 | int __cdecl __ms_sscanf(const char * __restrict__ _Src,const char * __restrict__ _Format,...); | 209 | int __cdecl __ms_sscanf(const char * __restrict__ _Src,const char * __restrict__ _Format,...) |
| 210 | __MINGW_UCRT_ASM_CALL(sscanf); | ||
| 211 | extern | ||
| 212 | __MINGW_MS_SCANF(2, 0) __MINGW_ATTRIB_NONNULL(2) | ||
| 213 | int __cdecl __ms_vsscanf(const char * __restrict__ _Str,const char * __restrict__ _Format,va_list argp) | ||
| 214 | __MINGW_ASM_CALL(vsscanf); | ||
| 210 | extern | 215 | extern |
| 211 | __MINGW_MS_SCANF(1, 2) __MINGW_ATTRIB_NONNULL(1) | 216 | __MINGW_MS_SCANF(1, 2) __MINGW_ATTRIB_NONNULL(1) |
| 212 | int __cdecl __ms_scanf(const char * __restrict__ _Format,...); | 217 | int __cdecl __ms_scanf(const char * __restrict__ _Format,...) |
| 218 | __MINGW_UCRT_ASM_CALL(scanf); | ||
| 219 | extern | ||
| 220 | __MINGW_MS_SCANF(1, 0) __MINGW_ATTRIB_NONNULL(1) | ||
| 221 | int __cdecl __ms_vscanf(const char * __restrict__ _Format,va_list argp) | ||
| 222 | __MINGW_ASM_CALL(vscanf); | ||
| 213 | extern | 223 | extern |
| 214 | __MINGW_MS_SCANF(2, 3) __MINGW_ATTRIB_NONNULL(2) | 224 | __MINGW_MS_SCANF(2, 3) __MINGW_ATTRIB_NONNULL(2) |
| 215 | int __cdecl __ms_fscanf(FILE * __restrict__ _File,const char * __restrict__ _Format,...); | 225 | int __cdecl __ms_fscanf(FILE * __restrict__ _File,const char * __restrict__ _Format,...) |
| 226 | __MINGW_UCRT_ASM_CALL(fscanf); | ||
| 227 | extern | ||
| 228 | __MINGW_MS_SCANF(2, 0) __MINGW_ATTRIB_NONNULL(2) | ||
| 229 | int __cdecl __ms_vfscanf(FILE * __restrict__ _File,const char * __restrict__ _Format,va_list argp) | ||
| 230 | __MINGW_ASM_CALL(vfscanf); | ||
| 216 | 231 | ||
| 217 | extern | 232 | extern |
| 218 | __MINGW_MS_PRINTF(1, 2) __MINGW_ATTRIB_NONNULL(1) | 233 | __MINGW_MS_PRINTF(1, 2) __MINGW_ATTRIB_NONNULL(1) |
| 219 | int __cdecl __ms_printf(const char * __restrict__ , ... ) __MINGW_NOTHROW; | 234 | int __cdecl __ms_printf(const char * __restrict__ , ... ) |
| 235 | __MINGW_UCRT_ASM_CALL(printf) __MINGW_NOTHROW; | ||
| 220 | extern | 236 | extern |
| 221 | __MINGW_MS_PRINTF(1, 0) __MINGW_ATTRIB_NONNULL(1) | 237 | __MINGW_MS_PRINTF(1, 0) __MINGW_ATTRIB_NONNULL(1) |
| 222 | int __cdecl __ms_vprintf (const char * __restrict__ , va_list) __MINGW_NOTHROW; | 238 | int __cdecl __ms_vprintf (const char * __restrict__ , va_list) |
| 239 | __MINGW_UCRT_ASM_CALL(vprintf) __MINGW_NOTHROW; | ||
| 223 | extern | 240 | extern |
| 224 | __MINGW_MS_PRINTF(2, 3) __MINGW_ATTRIB_NONNULL(2) | 241 | __MINGW_MS_PRINTF(2, 3) __MINGW_ATTRIB_NONNULL(2) |
| 225 | int __cdecl __ms_fprintf (FILE * __restrict__ , const char * __restrict__ , ...) __MINGW_NOTHROW; | 242 | int __cdecl __ms_fprintf (FILE * __restrict__ , const char * __restrict__ , ...) |
| 243 | __MINGW_UCRT_ASM_CALL(fprintf) __MINGW_NOTHROW; | ||
| 226 | extern | 244 | extern |
| 227 | __MINGW_MS_PRINTF(2, 0) __MINGW_ATTRIB_NONNULL(2) | 245 | __MINGW_MS_PRINTF(2, 0) __MINGW_ATTRIB_NONNULL(2) |
| 228 | int __cdecl __ms_vfprintf (FILE * __restrict__ , const char * __restrict__ , va_list) __MINGW_NOTHROW; | 246 | int __cdecl __ms_vfprintf (FILE * __restrict__ , const char * __restrict__ , va_list) |
| 247 | __MINGW_UCRT_ASM_CALL(vfprintf) __MINGW_NOTHROW | ||
| 248 | ; | ||
| 229 | extern | 249 | extern |
| 230 | __MINGW_MS_PRINTF(2, 3) __MINGW_ATTRIB_NONNULL(2) | 250 | __MINGW_MS_PRINTF(2, 3) __MINGW_ATTRIB_NONNULL(2) |
| 231 | int __cdecl __ms_sprintf (char * __restrict__ , const char * __restrict__ , ...) __MINGW_NOTHROW; | 251 | int __cdecl __ms_sprintf (char * __restrict__ , const char * __restrict__ , ...) |
| 252 | __MINGW_UCRT_ASM_CALL(sprintf) __MINGW_NOTHROW; | ||
| 232 | extern | 253 | extern |
| 233 | __MINGW_MS_PRINTF(2, 0) __MINGW_ATTRIB_NONNULL(2) | 254 | __MINGW_MS_PRINTF(2, 0) __MINGW_ATTRIB_NONNULL(2) |
| 234 | int __cdecl __ms_vsprintf (char * __restrict__ , const char * __restrict__ , va_list) __MINGW_NOTHROW; | 255 | int __cdecl __ms_vsprintf (char * __restrict__ , const char * __restrict__ , va_list) |
| 256 | __MINGW_UCRT_ASM_CALL(vsprintf) __MINGW_NOTHROW; | ||
| 257 | extern | ||
| 258 | __MINGW_MS_PRINTF(3, 4) __MINGW_ATTRIB_NONNULL(3) | ||
| 259 | int __cdecl __ms_snprintf (char * __restrict__ , size_t , const char * __restrict__ , ...) | ||
| 260 | __MINGW_UCRT_ASM_CALL(snprintf) __MINGW_NOTHROW; | ||
| 261 | extern | ||
| 262 | __MINGW_MS_PRINTF(3, 0) __MINGW_ATTRIB_NONNULL(3) | ||
| 263 | int __cdecl __ms_vsnprintf (char * __restrict__ , size_t , const char * __restrict__ , va_list) | ||
| 264 | __MINGW_UCRT_ASM_CALL(vsnprintf) __MINGW_NOTHROW; | ||
| 235 | 265 | ||
| 236 | #ifdef _UCRT | 266 | #ifdef _UCRT |
| 237 | int __cdecl __stdio_common_vsprintf(unsigned __int64 options, char *str, size_t len, const char *format, _locale_t locale, va_list valist); | 267 | int __cdecl __stdio_common_vsprintf(unsigned __int64 options, char *str, size_t len, const char *format, _locale_t locale, va_list valist); |
| ... | @@ -487,24 +517,12 @@ int vsnprintf (char *__stream, size_t __n, const char *__format, __builtin_va_li | ... | @@ -487,24 +517,12 @@ int vsnprintf (char *__stream, size_t __n, const char *__format, __builtin_va_li |
| 487 | #pragma GCC diagnostic ignored "-Wshadow" | 517 | #pragma GCC diagnostic ignored "-Wshadow" |
| 488 | #endif | 518 | #endif |
| 489 | 519 | ||
| 490 | __MINGW_MS_SCANF(1, 0) __MINGW_ATTRIB_NONNULL(1) | ||
| 491 | int __cdecl __ms_vscanf(const char * __restrict__ Format, va_list argp); | ||
| 492 | __MINGW_MS_SCANF(2, 0) __MINGW_ATTRIB_NONNULL(2) | ||
| 493 | int __cdecl __ms_vfscanf (FILE * __restrict__ fp, const char * __restrict__ Format,va_list argp); | ||
| 494 | __MINGW_MS_SCANF(2, 0) __MINGW_ATTRIB_NONNULL(2) | 520 | __MINGW_MS_SCANF(2, 0) __MINGW_ATTRIB_NONNULL(2) |
| 495 | int __cdecl __ms_vsscanf (const char * __restrict__ _Str,const char * __restrict__ Format,va_list argp); | 521 | int vfscanf (FILE *__stream, const char *__format, __builtin_va_list __local_argv); |
| 496 | |||
| 497 | __MINGW_MS_SCANF(2, 0) __MINGW_ATTRIB_NONNULL(2) | ||
| 498 | int vfscanf (FILE *__stream, const char *__format, __builtin_va_list __local_argv) | ||
| 499 | __MINGW_ASM_CALL(__ms_vfscanf); | ||
| 500 | |||
| 501 | __MINGW_MS_SCANF(2, 0) __MINGW_ATTRIB_NONNULL(2) | 522 | __MINGW_MS_SCANF(2, 0) __MINGW_ATTRIB_NONNULL(2) |
| 502 | int vsscanf (const char * __restrict__ __source, const char * __restrict__ __format, __builtin_va_list __local_argv) | 523 | int vsscanf (const char * __restrict__ __source, const char * __restrict__ __format, __builtin_va_list __local_argv); |
| 503 | __MINGW_ASM_CALL(__ms_vsscanf); | ||
| 504 | |||
| 505 | __MINGW_MS_SCANF(1, 0) __MINGW_ATTRIB_NONNULL(1) | 524 | __MINGW_MS_SCANF(1, 0) __MINGW_ATTRIB_NONNULL(1) |
| 506 | int vscanf(const char *__format, __builtin_va_list __local_argv) | 525 | int vscanf(const char *__format, __builtin_va_list __local_argv); |
| 507 | __MINGW_ASM_CALL(__ms_vscanf); | ||
| 508 | 526 | ||
| 509 | #ifdef __GNUC__ | 527 | #ifdef __GNUC__ |
| 510 | #pragma GCC diagnostic pop | 528 | #pragma GCC diagnostic pop |
| ... | @@ -794,10 +812,6 @@ char * tmpnam(char * __dst) | ... | @@ -794,10 +812,6 @@ char * tmpnam(char * __dst) |
| 794 | #pragma GCC diagnostic ignored "-Wshadow" | 812 | #pragma GCC diagnostic ignored "-Wshadow" |
| 795 | #endif | 813 | #endif |
| 796 | 814 | ||
| 797 | __MINGW_MS_PRINTF(3, 0) __MINGW_ATTRIB_NONNULL(3) | ||
| 798 | int __cdecl __ms_vsnprintf(char * __restrict__ d,size_t n,const char * __restrict__ format,va_list arg) | ||
| 799 | __MINGW_ATTRIB_DEPRECATED_MSVC2005 __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | ||
| 800 | |||
| 801 | __mingw_bos_ovr | 815 | __mingw_bos_ovr |
| 802 | __MINGW_MS_PRINTF(3, 0) __MINGW_ATTRIB_NONNULL(3) | 816 | __MINGW_MS_PRINTF(3, 0) __MINGW_ATTRIB_NONNULL(3) |
| 803 | int vsnprintf (char * __restrict__ __stream, size_t __n, const char * __restrict__ __format, va_list __local_argv) | 817 | int vsnprintf (char * __restrict__ __stream, size_t __n, const char * __restrict__ __format, va_list __local_argv) |
| ... | @@ -810,9 +824,6 @@ char * tmpnam(char * __dst) | ... | @@ -810,9 +824,6 @@ char * tmpnam(char * __dst) |
| 810 | return __ms_vsnprintf (__stream, __n, __format, __local_argv); | 824 | return __ms_vsnprintf (__stream, __n, __format, __local_argv); |
| 811 | } | 825 | } |
| 812 | 826 | ||
| 813 | __MINGW_MS_PRINTF(3, 4) __MINGW_ATTRIB_NONNULL(3) | ||
| 814 | int __cdecl __ms_snprintf(char * __restrict__ s, size_t n, const char * __restrict__ format, ...); | ||
| 815 | |||
| 816 | #ifndef __NO_ISOCEXT | 827 | #ifndef __NO_ISOCEXT |
| 817 | #if __MINGW_FORTIFY_VA_ARG | 828 | #if __MINGW_FORTIFY_VA_ARG |
| 818 | 829 | ||
| ... | @@ -928,24 +939,49 @@ int vsprintf (char * __restrict__ __stream, const char * __restrict__ __format, | ... | @@ -928,24 +939,49 @@ int vsprintf (char * __restrict__ __stream, const char * __restrict__ __format, |
| 928 | int __cdecl __mingw_vswprintf(wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ ,va_list); | 939 | int __cdecl __mingw_vswprintf(wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ ,va_list); |
| 929 | 940 | ||
| 930 | /* __attribute__((__format__ (ms_wscanf, 2, 3))) */ __MINGW_ATTRIB_NONNULL(2) | 941 | /* __attribute__((__format__ (ms_wscanf, 2, 3))) */ __MINGW_ATTRIB_NONNULL(2) |
| 931 | int __cdecl __ms_swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...); | 942 | int __cdecl __ms_swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...) |
| 943 | __MINGW_UCRT_ASM_CALL(swscanf); | ||
| 944 | /* __attribute__((__format__ (ms_wscanf, 2, 0))) */ __MINGW_ATTRIB_NONNULL(2) | ||
| 945 | int __cdecl __ms_vswscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,va_list) | ||
| 946 | __MINGW_ASM_CALL(vswscanf); | ||
| 932 | /* __attribute__((__format__ (ms_wscanf, 1, 2))) */ __MINGW_ATTRIB_NONNULL(1) | 947 | /* __attribute__((__format__ (ms_wscanf, 1, 2))) */ __MINGW_ATTRIB_NONNULL(1) |
| 933 | int __cdecl __ms_wscanf(const wchar_t * __restrict__ _Format,...); | 948 | int __cdecl __ms_wscanf(const wchar_t * __restrict__ _Format,...) |
| 949 | __MINGW_UCRT_ASM_CALL(wscanf); | ||
| 950 | /* __attribute__((__format__ (ms_wscanf, 1, 0))) */ __MINGW_ATTRIB_NONNULL(1) | ||
| 951 | int __cdecl __ms_vwscanf(const wchar_t * __restrict__ _Format, va_list) | ||
| 952 | __MINGW_ASM_CALL(vwscanf); | ||
| 934 | /* __attribute__((__format__ (ms_wscanf, 2, 3))) */ __MINGW_ATTRIB_NONNULL(2) | 953 | /* __attribute__((__format__ (ms_wscanf, 2, 3))) */ __MINGW_ATTRIB_NONNULL(2) |
| 935 | int __cdecl __ms_fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); | 954 | int __cdecl __ms_fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...) |
| 955 | __MINGW_UCRT_ASM_CALL(fwscanf); | ||
| 956 | /* __attribute__((__format__ (ms_wscanf, 2, 0))) */ __MINGW_ATTRIB_NONNULL(2) | ||
| 957 | int __cdecl __ms_vfwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list) | ||
| 958 | __MINGW_ASM_CALL(vfwscanf); | ||
| 936 | 959 | ||
| 937 | /* __attribute__((__format__ (ms_wprintf, 2, 3))) */ __MINGW_ATTRIB_NONNULL(2) | 960 | /* __attribute__((__format__ (ms_wprintf, 2, 3))) */ __MINGW_ATTRIB_NONNULL(2) |
| 938 | int __cdecl __ms_fwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); | 961 | int __cdecl __ms_fwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); |
| 962 | /* No __MINGW_UCRT_ASM_CALL for __ms_fwprintf; this is provided as an | ||
| 963 | * actual function in the ucrt import libraries. */ | ||
| 939 | /* __attribute__((__format__ (ms_wprintf, 1, 2))) */ __MINGW_ATTRIB_NONNULL(1) | 964 | /* __attribute__((__format__ (ms_wprintf, 1, 2))) */ __MINGW_ATTRIB_NONNULL(1) |
| 940 | int __cdecl __ms_wprintf(const wchar_t * __restrict__ _Format,...); | 965 | int __cdecl __ms_wprintf(const wchar_t * __restrict__ _Format,...) |
| 966 | __MINGW_UCRT_ASM_CALL(wprintf); | ||
| 941 | /* __attribute__((__format__ (ms_wprintf, 2, 0))) */__MINGW_ATTRIB_NONNULL(2) | 967 | /* __attribute__((__format__ (ms_wprintf, 2, 0))) */__MINGW_ATTRIB_NONNULL(2) |
| 942 | int __cdecl __ms_vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList); | 968 | int __cdecl __ms_vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList) |
| 969 | __MINGW_UCRT_ASM_CALL(vfwprintf); | ||
| 943 | /*__attribute__((__format__ (ms_wprintf, 1, 0))) */ __MINGW_ATTRIB_NONNULL(1) | 970 | /*__attribute__((__format__ (ms_wprintf, 1, 0))) */ __MINGW_ATTRIB_NONNULL(1) |
| 944 | int __cdecl __ms_vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList); | 971 | int __cdecl __ms_vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList) |
| 972 | __MINGW_UCRT_ASM_CALL(vwprintf); | ||
| 973 | /* __attribute__((__format__ (ms_wprintf, 3, 4))) */ __MINGW_ATTRIB_NONNULL(3) | ||
| 974 | int __cdecl __ms_swprintf(wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ , ...) | ||
| 975 | __MINGW_UCRT_ASM_CALL(swprintf); | ||
| 976 | /* __attribute__((__format__ (ms_wprintf, 3, 0))) */ __MINGW_ATTRIB_NONNULL(3) | ||
| 977 | int __cdecl __ms_vswprintf(wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ ,va_list) | ||
| 978 | __MINGW_UCRT_ASM_CALL(vswprintf); | ||
| 945 | /* __attribute__((__format__ (ms_wprintf, 3, 4))) */ __MINGW_ATTRIB_NONNULL(3) | 979 | /* __attribute__((__format__ (ms_wprintf, 3, 4))) */ __MINGW_ATTRIB_NONNULL(3) |
| 946 | int __cdecl __ms_swprintf(wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ , ...); | 980 | int __cdecl __ms_snwprintf(wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ , ...) |
| 981 | __MINGW_UCRT_ASM_CALL(snwprintf); | ||
| 947 | /* __attribute__((__format__ (ms_wprintf, 3, 0))) */ __MINGW_ATTRIB_NONNULL(3) | 982 | /* __attribute__((__format__ (ms_wprintf, 3, 0))) */ __MINGW_ATTRIB_NONNULL(3) |
| 948 | int __cdecl __ms_vswprintf(wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ ,va_list); | 983 | int __cdecl __ms_vsnwprintf(wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ , va_list) |
| 984 | __MINGW_UCRT_ASM_CALL(vsnwprintf); | ||
| 949 | 985 | ||
| 950 | #ifdef _UCRT | 986 | #ifdef _UCRT |
| 951 | int __cdecl __stdio_common_vswprintf(unsigned __int64 options, wchar_t *str, size_t len, const wchar_t *format, _locale_t locale, va_list valist); | 987 | int __cdecl __stdio_common_vswprintf(unsigned __int64 options, wchar_t *str, size_t len, const wchar_t *format, _locale_t locale, va_list valist); |
| ... | @@ -1062,98 +1098,38 @@ int vsnwprintf (wchar_t *__stream, size_t __n, const wchar_t *__format, __builti | ... | @@ -1062,98 +1098,38 @@ int vsnwprintf (wchar_t *__stream, size_t __n, const wchar_t *__format, __builti |
| 1062 | #else /* !__USE_MINGW_ANSI_STDIO */ | 1098 | #else /* !__USE_MINGW_ANSI_STDIO */ |
| 1063 | 1099 | ||
| 1064 | #ifdef _UCRT | 1100 | #ifdef _UCRT |
| 1065 | __mingw_ovr __MINGW_ATTRIB_DEPRECATED_SEC_WARN | 1101 | __MINGW_ATTRIB_DEPRECATED_SEC_WARN |
| 1066 | int __cdecl fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...) | 1102 | int __cdecl fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); |
| 1067 | { | 1103 | __MINGW_ATTRIB_DEPRECATED_SEC_WARN |
| 1068 | __builtin_va_list __ap; | 1104 | int __cdecl swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...); |
| 1069 | int __ret; | 1105 | __MINGW_ATTRIB_DEPRECATED_SEC_WARN |
| 1070 | __builtin_va_start(__ap, _Format); | 1106 | int __cdecl wscanf(const wchar_t * __restrict__ _Format,...); |
| 1071 | __ret = __stdio_common_vfwscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, _File, _Format, NULL, __ap); | ||
| 1072 | __builtin_va_end(__ap); | ||
| 1073 | return __ret; | ||
| 1074 | } | ||
| 1075 | __mingw_ovr __MINGW_ATTRIB_DEPRECATED_SEC_WARN | ||
| 1076 | int __cdecl swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...) | ||
| 1077 | { | ||
| 1078 | __builtin_va_list __ap; | ||
| 1079 | int __ret; | ||
| 1080 | __builtin_va_start(__ap, _Format); | ||
| 1081 | __ret = __stdio_common_vswscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, _Src, (size_t)-1, _Format, NULL, __ap); | ||
| 1082 | __builtin_va_end(__ap); | ||
| 1083 | return __ret; | ||
| 1084 | } | ||
| 1085 | __mingw_ovr __MINGW_ATTRIB_DEPRECATED_SEC_WARN | ||
| 1086 | int __cdecl wscanf(const wchar_t * __restrict__ _Format,...) | ||
| 1087 | { | ||
| 1088 | __builtin_va_list __ap; | ||
| 1089 | int __ret; | ||
| 1090 | __builtin_va_start(__ap, _Format); | ||
| 1091 | __ret = __stdio_common_vfwscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, stdin, _Format, NULL, __ap); | ||
| 1092 | __builtin_va_end(__ap); | ||
| 1093 | return __ret; | ||
| 1094 | } | ||
| 1095 | __mingw_ovr | ||
| 1096 | __MINGW_ATTRIB_NONNULL(2) | 1107 | __MINGW_ATTRIB_NONNULL(2) |
| 1097 | int vfwscanf (FILE *__stream, const wchar_t *__format, va_list __local_argv) | 1108 | int vfwscanf (FILE *__stream, const wchar_t *__format, va_list __local_argv); |
| 1098 | { | ||
| 1099 | return __stdio_common_vfwscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, __stream, __format, NULL, __local_argv); | ||
| 1100 | } | ||
| 1101 | 1109 | ||
| 1102 | __mingw_ovr | ||
| 1103 | __MINGW_ATTRIB_NONNULL(2) | 1110 | __MINGW_ATTRIB_NONNULL(2) |
| 1104 | int vswscanf (const wchar_t * __restrict__ __source, const wchar_t * __restrict__ __format, va_list __local_argv) | 1111 | int vswscanf (const wchar_t * __restrict__ __source, const wchar_t * __restrict__ __format, va_list __local_argv); |
| 1105 | { | ||
| 1106 | return __stdio_common_vswscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, __source, (size_t)-1, __format, NULL, __local_argv); | ||
| 1107 | } | ||
| 1108 | __mingw_ovr | ||
| 1109 | __MINGW_ATTRIB_NONNULL(1) | 1112 | __MINGW_ATTRIB_NONNULL(1) |
| 1110 | int vwscanf(const wchar_t *__format, va_list __local_argv) | 1113 | int vwscanf(const wchar_t *__format, va_list __local_argv); |
| 1111 | { | ||
| 1112 | return __stdio_common_vfwscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, stdin, __format, NULL, __local_argv); | ||
| 1113 | } | ||
| 1114 | 1114 | ||
| 1115 | int __cdecl fwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); | 1115 | int __cdecl fwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); |
| 1116 | __mingw_ovr | 1116 | int __cdecl wprintf(const wchar_t * __restrict__ _Format,...); |
| 1117 | int __cdecl wprintf(const wchar_t * __restrict__ _Format,...) | 1117 | int __cdecl vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList); |
| 1118 | { | 1118 | int __cdecl vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList); |
| 1119 | __builtin_va_list __ap; | ||
| 1120 | int __ret; | ||
| 1121 | __builtin_va_start(__ap, _Format); | ||
| 1122 | __ret = __stdio_common_vfwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, stdout, _Format, NULL, __ap); | ||
| 1123 | __builtin_va_end(__ap); | ||
| 1124 | return __ret; | ||
| 1125 | } | ||
| 1126 | __mingw_ovr | ||
| 1127 | int __cdecl vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList) | ||
| 1128 | { | ||
| 1129 | return __stdio_common_vfwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _File, _Format, NULL, _ArgList); | ||
| 1130 | } | ||
| 1131 | __mingw_ovr | ||
| 1132 | int __cdecl vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList) | ||
| 1133 | { | ||
| 1134 | return __stdio_common_vfwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, stdout, _Format, NULL, _ArgList); | ||
| 1135 | } | ||
| 1136 | #else | 1119 | #else |
| 1137 | 1120 | ||
| 1138 | int __cdecl fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 1121 | int __cdecl fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 1139 | int __cdecl swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 1122 | int __cdecl swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 1140 | int __cdecl wscanf(const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 1123 | int __cdecl wscanf(const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 1141 | #ifndef __NO_ISOCEXT /* externs in libmingwex.a */ | 1124 | #ifndef __NO_ISOCEXT /* externs in libmingwex.a */ |
| 1142 | int __cdecl __ms_vwscanf (const wchar_t * __restrict__ , va_list); | ||
| 1143 | int __cdecl __ms_vfwscanf (FILE * __restrict__ ,const wchar_t * __restrict__ ,va_list); | ||
| 1144 | int __cdecl __ms_vswscanf (const wchar_t * __restrict__ ,const wchar_t * __restrict__ ,va_list); | ||
| 1145 | |||
| 1146 | __MINGW_ATTRIB_NONNULL(2) | 1125 | __MINGW_ATTRIB_NONNULL(2) |
| 1147 | int vfwscanf (FILE *__stream, const wchar_t *__format, __builtin_va_list __local_argv) | 1126 | int vfwscanf (FILE *__stream, const wchar_t *__format, __builtin_va_list __local_argv); |
| 1148 | __MINGW_ASM_CALL(__ms_vfwscanf); | ||
| 1149 | 1127 | ||
| 1150 | __MINGW_ATTRIB_NONNULL(2) | 1128 | __MINGW_ATTRIB_NONNULL(2) |
| 1151 | int vswscanf (const wchar_t * __restrict__ __source, const wchar_t * __restrict__ __format, __builtin_va_list __local_argv) | 1129 | int vswscanf (const wchar_t * __restrict__ __source, const wchar_t * __restrict__ __format, __builtin_va_list __local_argv); |
| 1152 | __MINGW_ASM_CALL(__ms_vswscanf); | ||
| 1153 | 1130 | ||
| 1154 | __MINGW_ATTRIB_NONNULL(1) | 1131 | __MINGW_ATTRIB_NONNULL(1) |
| 1155 | int vwscanf(const wchar_t *__format, __builtin_va_list __local_argv) | 1132 | int vwscanf(const wchar_t *__format, __builtin_va_list __local_argv); |
| 1156 | __MINGW_ASM_CALL(__ms_vwscanf); | ||
| 1157 | 1133 | ||
| 1158 | #endif /* __NO_ISOCEXT */ | 1134 | #endif /* __NO_ISOCEXT */ |
| 1159 | 1135 | ||
| ... | @@ -1203,59 +1179,11 @@ int vsnwprintf (wchar_t *__stream, size_t __n, const wchar_t *__format, __builti | ... | @@ -1203,59 +1179,11 @@ int vsnwprintf (wchar_t *__stream, size_t __n, const wchar_t *__format, __builti |
| 1203 | int __cdecl _vsnwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 1179 | int __cdecl _vsnwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 1204 | 1180 | ||
| 1205 | #if __USE_MINGW_ANSI_STDIO == 0 | 1181 | #if __USE_MINGW_ANSI_STDIO == 0 |
| 1206 | __mingw_ovr | 1182 | int __cdecl swprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,...); |
| 1207 | int __cdecl swprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,...) | 1183 | int __cdecl vswprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args); |
| 1208 | { | ||
| 1209 | __builtin_va_list __ap; | ||
| 1210 | int __ret; | ||
| 1211 | /* | ||
| 1212 | * __stdio_common_vswprintf() for case _Dest == NULL and _Count == 0 and | ||
| 1213 | * without _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR option, is | ||
| 1214 | * executed in "standard snprintf behavior" and returns number of (wide) | ||
| 1215 | * chars required to allocate. For all other cases it is executed in a way | ||
| 1216 | * that returns negative value on error. But C95+ compliant swprintf() for | ||
| 1217 | * case _Count == 0 returns negative value, so handle this case specially. | ||
| 1218 | */ | ||
| 1219 | if (_Dest == NULL && _Count == 0) | ||
| 1220 | return -1; | ||
| 1221 | __builtin_va_start(__ap, _Format); | ||
| 1222 | __ret = __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Dest, _Count, _Format, NULL, __ap); | ||
| 1223 | __builtin_va_end(__ap); | ||
| 1224 | return __ret < 0 ? -1 : __ret; | ||
| 1225 | } | ||
| 1226 | __mingw_ovr | ||
| 1227 | int __cdecl vswprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args) | ||
| 1228 | { | ||
| 1229 | int __ret; | ||
| 1230 | /* | ||
| 1231 | * __stdio_common_vswprintf() for case _Dest == NULL and _Count == 0 and | ||
| 1232 | * without _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR option, is | ||
| 1233 | * executed in "standard snprintf behavior" and returns number of (wide) | ||
| 1234 | * chars required to allocate. For all other cases it is executed in a way | ||
| 1235 | * that returns negative value on error. But C95+ compliant vswprintf() for | ||
| 1236 | * case _Count == 0 returns negative value, so handle this case specially. | ||
| 1237 | */ | ||
| 1238 | if (_Dest == NULL && _Count == 0) | ||
| 1239 | return -1; | ||
| 1240 | __ret = __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Dest, _Count, _Format, NULL, _Args); | ||
| 1241 | return __ret < 0 ? -1 : __ret; | ||
| 1242 | } | ||
| 1243 | 1184 | ||
| 1244 | __mingw_ovr | 1185 | int __cdecl snwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, ...); |
| 1245 | int __cdecl snwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, ...) | 1186 | int __cdecl vsnwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, va_list arg); |
| 1246 | { | ||
| 1247 | __builtin_va_list __ap; | ||
| 1248 | int __ret; | ||
| 1249 | __builtin_va_start(__ap, format); | ||
| 1250 | __ret = __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR, s, n, format, NULL, __ap); | ||
| 1251 | __builtin_va_end(__ap); | ||
| 1252 | return __ret; | ||
| 1253 | } | ||
| 1254 | __mingw_ovr | ||
| 1255 | int __cdecl vsnwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, va_list arg) | ||
| 1256 | { | ||
| 1257 | return __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR, s, n, format, NULL, arg); | ||
| 1258 | } | ||
| 1259 | #endif | 1187 | #endif |
| 1260 | 1188 | ||
| 1261 | __mingw_ovr | 1189 | __mingw_ovr |
| ... | @@ -1291,8 +1219,6 @@ int vsnwprintf (wchar_t *__stream, size_t __n, const wchar_t *__format, __builti | ... | @@ -1291,8 +1219,6 @@ int vsnwprintf (wchar_t *__stream, size_t __n, const wchar_t *__format, __builti |
| 1291 | #ifndef __NO_ISOCEXT /* externs in libmingwex.a */ | 1219 | #ifndef __NO_ISOCEXT /* externs in libmingwex.a */ |
| 1292 | 1220 | ||
| 1293 | #if __USE_MINGW_ANSI_STDIO == 0 | 1221 | #if __USE_MINGW_ANSI_STDIO == 0 |
| 1294 | int __cdecl __ms_snwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, ...); | ||
| 1295 | int __cdecl __ms_vsnwprintf (wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ , va_list); | ||
| 1296 | int __cdecl snwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, ...) __MINGW_ASM_CALL(__ms_snwprintf); | 1222 | int __cdecl snwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, ...) __MINGW_ASM_CALL(__ms_snwprintf); |
| 1297 | int __cdecl vsnwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, va_list arg) __MINGW_ASM_CALL(__ms_vsnwprintf); | 1223 | int __cdecl vsnwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, va_list arg) __MINGW_ASM_CALL(__ms_vsnwprintf); |
| 1298 | #endif | 1224 | #endif |
lib/libc/include/any-windows-any/stdlib.h-2| ... | @@ -458,12 +458,10 @@ float __cdecl __MINGW_NOTHROW strtof(const char * __restrict__ _Str,char ** __re | ... | @@ -458,12 +458,10 @@ float __cdecl __MINGW_NOTHROW strtof(const char * __restrict__ _Str,char ** __re |
| 458 | _CRTIMP void *__cdecl _aligned_offset_malloc(size_t _Size,size_t _Alignment,size_t _Offset); | 458 | _CRTIMP void *__cdecl _aligned_offset_malloc(size_t _Size,size_t _Alignment,size_t _Offset); |
| 459 | _CRTIMP void *__cdecl _aligned_realloc(void *_Memory,size_t _Size,size_t _Alignment); | 459 | _CRTIMP void *__cdecl _aligned_realloc(void *_Memory,size_t _Size,size_t _Alignment); |
| 460 | _CRTIMP void *__cdecl _aligned_offset_realloc(void *_Memory,size_t _Size,size_t _Alignment,size_t _Offset); | 460 | _CRTIMP void *__cdecl _aligned_offset_realloc(void *_Memory,size_t _Size,size_t _Alignment,size_t _Offset); |
| 461 | # if __MSVCRT_VERSION__ >= 0x900 | ||
| 462 | _CRTIMP void *__cdecl _recalloc(void *_Memory,size_t _Count,size_t _Size); | 461 | _CRTIMP void *__cdecl _recalloc(void *_Memory,size_t _Count,size_t _Size); |
| 463 | _CRTIMP void *__cdecl _aligned_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment); | 462 | _CRTIMP void *__cdecl _aligned_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment); |
| 464 | _CRTIMP void *__cdecl _aligned_offset_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment,size_t _Offset); | 463 | _CRTIMP void *__cdecl _aligned_offset_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment,size_t _Offset); |
| 465 | _CRTIMP size_t __cdecl _aligned_msize(void *_Memory,size_t _Alignment,size_t _Offset); | 464 | _CRTIMP size_t __cdecl _aligned_msize(void *_Memory,size_t _Alignment,size_t _Offset); |
| 466 | # endif | ||
| 467 | 465 | ||
| 468 | #if defined(_DEBUG) && defined(_CRTDBG_MAP_ALLOC) | 466 | #if defined(_DEBUG) && defined(_CRTDBG_MAP_ALLOC) |
| 469 | #pragma pop_macro("calloc") | 467 | #pragma pop_macro("calloc") |
lib/libc/include/any-windows-any/strmif.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/strmif.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/strmif.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/structuredquerycondition.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/structuredquerycondition.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/structuredquerycondition.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/sys/stat.h+61-153| ... | @@ -70,67 +70,21 @@ extern "C" { | ... | @@ -70,67 +70,21 @@ extern "C" { |
| 70 | _CRTIMP int __cdecl _stat32(const char *_Name,struct _stat32 *_Stat); | 70 | _CRTIMP int __cdecl _stat32(const char *_Name,struct _stat32 *_Stat); |
| 71 | _CRTIMP int __cdecl _fstat64(int _FileDes,struct _stat64 *_Stat); | 71 | _CRTIMP int __cdecl _fstat64(int _FileDes,struct _stat64 *_Stat); |
| 72 | _CRTIMP int __cdecl _fstat32i64(int _FileDes,struct _stat32i64 *_Stat); | 72 | _CRTIMP int __cdecl _fstat32i64(int _FileDes,struct _stat32i64 *_Stat); |
| 73 | int __cdecl _fstat64i32(int _FileDes,struct _stat64i32 *_Stat); | 73 | _CRTIMP int __cdecl _fstat64i32(int _FileDes,struct _stat64i32 *_Stat); |
| 74 | #ifndef __CRT__NO_INLINE | ||
| 75 | __CRT_INLINE int __cdecl _fstat64i32(int _FileDes,struct _stat64i32 *_Stat) | ||
| 76 | { | ||
| 77 | struct _stat64 st; | ||
| 78 | int __ret=_fstat64(_FileDes,&st); | ||
| 79 | if (__ret == -1) { | ||
| 80 | memset(_Stat,0,sizeof(struct _stat64i32)); | ||
| 81 | return -1; | ||
| 82 | } | ||
| 83 | _Stat->st_dev=st.st_dev; | ||
| 84 | _Stat->st_ino=st.st_ino; | ||
| 85 | _Stat->st_mode=st.st_mode; | ||
| 86 | _Stat->st_nlink=st.st_nlink; | ||
| 87 | _Stat->st_uid=st.st_uid; | ||
| 88 | _Stat->st_gid=st.st_gid; | ||
| 89 | _Stat->st_rdev=st.st_rdev; | ||
| 90 | _Stat->st_size=(_off_t) st.st_size; | ||
| 91 | _Stat->st_atime=st.st_atime; | ||
| 92 | _Stat->st_mtime=st.st_mtime; | ||
| 93 | _Stat->st_ctime=st.st_ctime; | ||
| 94 | return __ret; | ||
| 95 | } | ||
| 96 | #endif /* __CRT__NO_INLINE */ | ||
| 97 | _CRTIMP int __cdecl _stat64(const char *_Name,struct _stat64 *_Stat); | 74 | _CRTIMP int __cdecl _stat64(const char *_Name,struct _stat64 *_Stat); |
| 98 | _CRTIMP int __cdecl _stat32i64(const char *_Name,struct _stat32i64 *_Stat); | 75 | _CRTIMP int __cdecl _stat32i64(const char *_Name,struct _stat32i64 *_Stat); |
| 99 | int __cdecl _stat64i32(const char *_Name,struct _stat64i32 *_Stat); | 76 | _CRTIMP int __cdecl _stat64i32(const char *_Name,struct _stat64i32 *_Stat); |
| 100 | #ifndef __CRT__NO_INLINE | ||
| 101 | __CRT_INLINE int __cdecl _stat64i32(const char *_Name,struct _stat64i32 *_Stat) | ||
| 102 | { | ||
| 103 | struct _stat64 st; | ||
| 104 | int __ret=_stat64(_Name,&st); | ||
| 105 | if (__ret == -1) { | ||
| 106 | memset(_Stat,0,sizeof(struct _stat64i32)); | ||
| 107 | return -1; | ||
| 108 | } | ||
| 109 | _Stat->st_dev=st.st_dev; | ||
| 110 | _Stat->st_ino=st.st_ino; | ||
| 111 | _Stat->st_mode=st.st_mode; | ||
| 112 | _Stat->st_nlink=st.st_nlink; | ||
| 113 | _Stat->st_uid=st.st_uid; | ||
| 114 | _Stat->st_gid=st.st_gid; | ||
| 115 | _Stat->st_rdev=st.st_rdev; | ||
| 116 | _Stat->st_size=(_off_t) st.st_size; | ||
| 117 | _Stat->st_atime=st.st_atime; | ||
| 118 | _Stat->st_mtime=st.st_mtime; | ||
| 119 | _Stat->st_ctime=st.st_ctime; | ||
| 120 | return __ret; | ||
| 121 | } | ||
| 122 | #endif /* __CRT__NO_INLINE */ | ||
| 123 | 77 | ||
| 124 | #ifndef _WSTAT_DEFINED | 78 | #ifndef _WSTAT_DEFINED |
| 125 | #define _WSTAT_DEFINED | 79 | #define _WSTAT_DEFINED |
| 126 | _CRTIMP int __cdecl _wstat32(const wchar_t *_Name,struct _stat32 *_Stat); | 80 | _CRTIMP int __cdecl _wstat32(const wchar_t *_Name,struct _stat32 *_Stat); |
| 127 | _CRTIMP int __cdecl _wstat32i64(const wchar_t *_Name,struct _stat32i64 *_Stat); | 81 | _CRTIMP int __cdecl _wstat32i64(const wchar_t *_Name,struct _stat32i64 *_Stat); |
| 128 | int __cdecl _wstat64i32(const wchar_t *_Name,struct _stat64i32 *_Stat); | 82 | _CRTIMP int __cdecl _wstat64i32(const wchar_t *_Name,struct _stat64i32 *_Stat); |
| 129 | _CRTIMP int __cdecl _wstat64(const wchar_t *_Name,struct _stat64 *_Stat); | 83 | _CRTIMP int __cdecl _wstat64(const wchar_t *_Name,struct _stat64 *_Stat); |
| 130 | #endif | 84 | #endif |
| 131 | 85 | ||
| 132 | #ifndef	NO_OLDNAMES | 86 | #ifndef	NO_OLDNAMES |
| 133 | #define	_S_IFBLK	0x3000	/* Block: Is this ever set under w32? */ | 87 | #define	_S_IFBLK	0x6000	/* Block: Is this ever set under w32? */ |
| 134 | 88 | ||
| 135 | #define S_IFMT _S_IFMT | 89 | #define S_IFMT _S_IFMT |
| 136 | #define S_IFDIR _S_IFDIR | 90 | #define S_IFDIR _S_IFDIR |
| ... | @@ -170,115 +124,69 @@ extern "C" { | ... | @@ -170,115 +124,69 @@ extern "C" { |
| 170 | 124 | ||
| 171 | #endif | 125 | #endif |
| 172 | 126 | ||
| 173 | #if !defined (RC_INVOKED) && !defined (NO_OLDNAMES) | 127 | #if !defined(NO_OLDNAMES) || defined(_POSIX) |
| 174 | int __cdecl fstat(int _Desc,struct stat *_Stat); | ||
| 175 | #ifdef _UCRT | ||
| 176 | __mingw_ovr int __cdecl stat(const char *_Filename,struct stat *_Stat) | ||
| 177 | { | ||
| 178 | return _stat(_Filename, (struct _stat *)_Stat); | ||
| 179 | } | ||
| 180 | __mingw_ovr int __cdecl wstat(const wchar_t *_Filename,struct stat *_Stat) | ||
| 181 | { | ||
| 182 | return _wstat(_Filename, (struct _stat *)_Stat); | ||
| 183 | } | ||
| 184 | #else | ||
| 185 | int __cdecl stat(const char *_Filename,struct stat *_Stat); | ||
| 186 | int __cdecl wstat(const wchar_t *_Filename,struct stat *_Stat); | ||
| 187 | #endif | ||
| 188 | 128 | ||
| 189 | #ifndef __CRT__NO_INLINE | 129 | /* |
| 130 | * When building mingw-w64 CRT files it is required that the fstat, stat and | ||
| 131 | * wstat functions are not declared with __MINGW_ASM_CALL redirection. | ||
| 132 | * Otherwise the mingw-w64 would provide broken fstat, stat and wstat symbols. | ||
| 133 | * To prevent ABI issues, the mingw-w64 runtime should not call the fstat, | ||
| 134 | * stat and wstat functions, instead it should call the fixed-size variants. | ||
| 135 | */ | ||
| 136 | #ifndef _CRTBLD | ||
| 137 | struct stat { | ||
| 138 | _dev_t st_dev; | ||
| 139 | _ino_t st_ino; | ||
| 140 | unsigned short st_mode; | ||
| 141 | short st_nlink; | ||
| 142 | short st_uid; | ||
| 143 | short st_gid; | ||
| 144 | _dev_t st_rdev; | ||
| 145 | off_t st_size; /* off_t follows _FILE_OFFSET_BITS */ | ||
| 146 | time_t st_atime; /* time_t follows _USE_32BIT_TIME_T */ | ||
| 147 | time_t st_mtime; | ||
| 148 | time_t st_ctime; | ||
| 149 | }; | ||
| 150 | #if defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64) | ||
| 190 | #ifdef _USE_32BIT_TIME_T | 151 | #ifdef _USE_32BIT_TIME_T |
| 191 | __CRT_INLINE int __cdecl | 152 | int __cdecl fstat(int _Desc, struct stat *_Stat) __MINGW_ASM_CALL(_fstat32i64); |
| 192 | fstat(int _Desc,struct stat *_Stat) { | 153 | int __cdecl stat(const char *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(stat32i64); |
| 193 | struct _stat32 st; | 154 | int __cdecl wstat(const wchar_t *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(wstat32i64); |
| 194 | int __ret=_fstat32(_Desc,&st); | ||
| 195 | if (__ret == -1) { | ||
| 196 | memset(_Stat,0,sizeof(struct stat)); | ||
| 197 | return -1; | ||
| 198 | } | ||
| 199 | /* struct stat and struct _stat32 | ||
| 200 | are the same for this case. */ | ||
| 201 | memcpy(_Stat, &st, sizeof(struct _stat32)); | ||
| 202 | return __ret; | ||
| 203 | } | ||
| 204 | /* Disable it for making sure trailing slash issue is fixed. */ | ||
| 205 | #if 0 | ||
| 206 | __CRT_INLINE int __cdecl | ||
| 207 | stat(const char *_Filename,struct stat *_Stat) { | ||
| 208 | struct _stat32 st; | ||
| 209 | int __ret=_stat32(_Filename,&st); | ||
| 210 | if (__ret == -1) { | ||
| 211 | memset(_Stat,0,sizeof(struct stat)); | ||
| 212 | return -1; | ||
| 213 | } | ||
| 214 | /* struct stat and struct _stat32 | ||
| 215 | are the same for this case. */ | ||
| 216 | memcpy(_Stat, &st, sizeof(struct _stat32)); | ||
| 217 | return __ret; | ||
| 218 | } | ||
| 219 | #endif | ||
| 220 | #else | 155 | #else |
| 221 | __CRT_INLINE int __cdecl | 156 | int __cdecl fstat(int _Desc, struct stat *_Stat) __MINGW_ASM_CALL(_fstat64); |
| 222 | fstat(int _Desc,struct stat *_Stat) { | 157 | int __cdecl stat(const char *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(stat64); |
| 223 | struct _stat64 st; | 158 | int __cdecl wstat(const wchar_t *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(wstat64); |
| 224 | int __ret=_fstat64(_Desc,&st); | ||
| 225 | if (__ret == -1) { | ||
| 226 | memset(_Stat,0,sizeof(struct stat)); | ||
| 227 | return -1; | ||
| 228 | } | ||
| 229 | /* struct stat and struct _stat64i32 | ||
| 230 | are the same for this case. */ | ||
| 231 | _Stat->st_dev=st.st_dev; | ||
| 232 | _Stat->st_ino=st.st_ino; | ||
| 233 | _Stat->st_mode=st.st_mode; | ||
| 234 | _Stat->st_nlink=st.st_nlink; | ||
| 235 | _Stat->st_uid=st.st_uid; | ||
| 236 | _Stat->st_gid=st.st_gid; | ||
| 237 | _Stat->st_rdev=st.st_rdev; | ||
| 238 | _Stat->st_size=(_off_t) st.st_size; | ||
| 239 | _Stat->st_atime=st.st_atime; | ||
| 240 | _Stat->st_mtime=st.st_mtime; | ||
| 241 | _Stat->st_ctime=st.st_ctime; | ||
| 242 | return __ret; | ||
| 243 | } | ||
| 244 | /* Disable it for making sure trailing slash issue is fixed. */ | ||
| 245 | #if 0 | ||
| 246 | __CRT_INLINE int __cdecl | ||
| 247 | stat(const char *_Filename,struct stat *_Stat) { | ||
| 248 | struct _stat64 st; | ||
| 249 | int __ret=_stat64(_Filename,&st); | ||
| 250 | if (__ret == -1) { | ||
| 251 | memset(_Stat,0,sizeof(struct stat)); | ||
| 252 | return -1; | ||
| 253 | } | ||
| 254 | /* struct stat and struct _stat64i32 | ||
| 255 | are the same for this case. */ | ||
| 256 | _Stat->st_dev=st.st_dev; | ||
| 257 | _Stat->st_ino=st.st_ino; | ||
| 258 | _Stat->st_mode=st.st_mode; | ||
| 259 | _Stat->st_nlink=st.st_nlink; | ||
| 260 | _Stat->st_uid=st.st_uid; | ||
| 261 | _Stat->st_gid=st.st_gid; | ||
| 262 | _Stat->st_rdev=st.st_rdev; | ||
| 263 | _Stat->st_size=(_off_t) st.st_size; | ||
| 264 | _Stat->st_atime=st.st_atime; | ||
| 265 | _Stat->st_mtime=st.st_mtime; | ||
| 266 | _Stat->st_ctime=st.st_ctime; | ||
| 267 | return __ret; | ||
| 268 | } | ||
| 269 | #endif | 159 | #endif |
| 270 | #endif /* _USE_32BIT_TIME_T */ | 160 | #else |
| 271 | #endif /* __CRT__NO_INLINE */ | ||
| 272 | #endif /* !RC_INVOKED && !NO_OLDNAMES */ | ||
| 273 | |||
| 274 | #if defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64) | ||
| 275 | #ifdef _USE_32BIT_TIME_T | 161 | #ifdef _USE_32BIT_TIME_T |
| 276 | #define stat _stat32i64 | 162 | int __cdecl fstat(int _Desc, struct stat *_Stat) __MINGW_ASM_CALL(_fstat32); |
| 277 | #define fstat _fstat32i64 | 163 | int __cdecl stat(const char *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(stat32); |
| 164 | int __cdecl wstat(const wchar_t *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(wstat32); | ||
| 278 | #else | 165 | #else |
| 279 | #define stat _stat64 | 166 | int __cdecl fstat(int _Desc, struct stat *_Stat) __MINGW_ASM_CALL(_fstat64i32); |
| 280 | #define fstat _fstat64 | 167 | int __cdecl stat(const char *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(stat64i32); |
| 281 | #endif | 168 | int __cdecl wstat(const wchar_t *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(wstat64i32); |
| 169 | #endif | ||
| 170 | #endif | ||
| 171 | #endif | ||
| 172 | |||
| 173 | struct stat64 { | ||
| 174 | _dev_t st_dev; | ||
| 175 | _ino_t st_ino; | ||
| 176 | unsigned short st_mode; | ||
| 177 | short st_nlink; | ||
| 178 | short st_uid; | ||
| 179 | short st_gid; | ||
| 180 | _dev_t st_rdev; | ||
| 181 | __MINGW_EXTENSION __int64 st_size; | ||
| 182 | __time64_t st_atime; | ||
| 183 | __time64_t st_mtime; | ||
| 184 | __time64_t st_ctime; | ||
| 185 | }; | ||
| 186 | int __cdecl fstat64(int _Desc, struct stat64 *_Stat); | ||
| 187 | int __cdecl stat64(const char *_Filename, struct stat64 *_Stat); | ||
| 188 | int __cdecl wstat64(const wchar_t *_Filename, struct stat64 *_Stat); | ||
| 189 | |||
| 282 | #endif | 190 | #endif |
| 283 | 191 | ||
| 284 | #ifdef __cplusplus | 192 | #ifdef __cplusplus |
lib/libc/include/any-windows-any/sysinfoapi.h+10| ... | @@ -41,8 +41,18 @@ extern "C" { | ... | @@ -41,8 +41,18 @@ extern "C" { |
| 41 | #if _WIN32_WINNT >= 0x0600 | 41 | #if _WIN32_WINNT >= 0x0600 |
| 42 | WINBASEAPI ULONGLONG WINAPI GetTickCount64 (VOID); | 42 | WINBASEAPI ULONGLONG WINAPI GetTickCount64 (VOID); |
| 43 | #endif | 43 | #endif |
| 44 | |||
| 45 | #define USER_CET_ENVIRONMENT_WIN32_PROCESS 0x00000000 | ||
| 46 | #define USER_CET_ENVIRONMENT_SGX2_ENCLAVE 0x00000002 | ||
| 47 | #define USER_CET_ENVIRONMENT_VBS_ENCLAVE 0x00000010 | ||
| 48 | #define USER_CET_ENVIRONMENT_VBS_BASIC_ENCLAVE 0x00000011 | ||
| 49 | |||
| 50 | #if (NTDDI_VERSION >= NTDDI_WIN10_VB) | ||
| 51 | WINBASEAPI WINBOOL WINAPI IsUserCetAvailableInEnvironment(DWORD UserCetEnvironment); | ||
| 44 | #endif | 52 | #endif |
| 45 | 53 | ||
| 54 | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */ | ||
| 55 | |||
| 46 | #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) || _WIN32_WINNT >= _WIN32_WINNT_WIN10 | 56 | #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) || _WIN32_WINNT >= _WIN32_WINNT_WIN10 |
| 47 | 57 | ||
| 48 | typedef struct _MEMORYSTATUSEX { | 58 | typedef struct _MEMORYSTATUSEX { |
lib/libc/include/any-windows-any/systemmediatransportcontrolsinterop.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/systemmediatransportcontrolsinterop.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/systemmediatransportcontrolsinterop.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/taskschd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/taskschd.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/taskschd.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/tchar.h-6| ... | @@ -473,9 +473,7 @@ extern "C" { | ... | @@ -473,9 +473,7 @@ extern "C" { |
| 473 | #define _istxdigit iswxdigit | 473 | #define _istxdigit iswxdigit |
| 474 | #define _istxdigit_l _iswxdigit_l | 474 | #define _istxdigit_l _iswxdigit_l |
| 475 | #define _istblank iswblank | 475 | #define _istblank iswblank |
| 476 | #if __MSVCRT_VERSION__ >= 0xC00 | ||
| 477 | #define _istblank_l _iswblank_l | 476 | #define _istblank_l _iswblank_l |
| 478 | #endif /* msvcr120 */ | ||
| 479 | 477 | ||
| 480 | #define _totupper towupper | 478 | #define _totupper towupper |
| 481 | #define _totupper_l _towupper_l | 479 | #define _totupper_l _towupper_l |
| ... | @@ -1005,9 +1003,7 @@ extern "C" { | ... | @@ -1005,9 +1003,7 @@ extern "C" { |
| 1005 | #define _istupper _ismbcupper | 1003 | #define _istupper _ismbcupper |
| 1006 | #define _istupper_l _ismbcupper_l | 1004 | #define _istupper_l _ismbcupper_l |
| 1007 | #define _istblank _ismbcblank | 1005 | #define _istblank _ismbcblank |
| 1008 | #if __MSVCRT_VERSION__ >= 0xC00 | ||
| 1009 | #define _istblank_l _ismbcblank_l | 1006 | #define _istblank_l _ismbcblank_l |
| 1010 | #endif /* msvcr120 */ | ||
| 1011 | 1007 | ||
| 1012 | #define _totupper _mbctoupper | 1008 | #define _totupper _mbctoupper |
| 1013 | #define _totupper_l _mbctoupper_l | 1009 | #define _totupper_l _mbctoupper_l |
| ... | @@ -1146,9 +1142,7 @@ extern "C" { | ... | @@ -1146,9 +1142,7 @@ extern "C" { |
| 1146 | #define _istupper isupper | 1142 | #define _istupper isupper |
| 1147 | #define _istupper_l _isupper_l | 1143 | #define _istupper_l _isupper_l |
| 1148 | #define _istblank isblank | 1144 | #define _istblank isblank |
| 1149 | #if __MSVCRT_VERSION__ >= 0xC00 | ||
| 1150 | #define _istblank_l _isblank_l | 1145 | #define _istblank_l _isblank_l |
| 1151 | #endif /* msvcr120 */ | ||
| 1152 | 1146 | ||
| 1153 | #define _totupper toupper | 1147 | #define _totupper toupper |
| 1154 | #define _totupper_l _toupper_l | 1148 | #define _totupper_l _toupper_l |
lib/libc/include/any-windows-any/textstor.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/textstor.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/textstor.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/thumbcache.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/thumbcache.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/thumbcache.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/tlbref.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/tlbref.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/tlbref.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/tlogstg.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/tlogstg.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/tlogstg.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/tpcshrd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/tpcshrd.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/tpcshrd.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/tsattrs.h+100-100| ... | @@ -1,100 +1,100 @@ | ... | @@ -1,100 +1,100 @@ |
| 1 | /** | 1 | /** |
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | 2 | * This file has no copyright assigned and is placed in the Public Domain. |
| 3 | * This file is part of the mingw-w64 runtime package. | 3 | * This file is part of the mingw-w64 runtime package. |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #ifndef _TSATTRS_H_ | 7 | #ifndef _TSATTRS_H_ |
| 8 | #define _TSATTRS_H_ | 8 | #define _TSATTRS_H_ |
| 9 | 9 | ||
| 10 | DEFINE_GUID(TSATTRID_OTHERS, 0xb3c32af9,0x57d0,0x46a9,0xbc,0xa8,0xda,0xc2,0x38,0xa1,0x30,0x57); | 10 | DEFINE_GUID(TSATTRID_OTHERS, 0xb3c32af9,0x57d0,0x46a9,0xbc,0xa8,0xda,0xc2,0x38,0xa1,0x30,0x57); |
| 11 | 11 | ||
| 12 | DEFINE_GUID(TSATTRID_Font, 0x573ea825,0x749b,0x4f8a,0x9c,0xfd,0x21,0xc3,0x60,0x5c,0xa8,0x28); | 12 | DEFINE_GUID(TSATTRID_Font, 0x573ea825,0x749b,0x4f8a,0x9c,0xfd,0x21,0xc3,0x60,0x5c,0xa8,0x28); |
| 13 | DEFINE_GUID(TSATTRID_Font_FaceName, 0xb536aeb6,0x053b,0x4eb8,0xb6,0x5a,0x50,0xda,0x1e,0x81,0xe7,0x2e); | 13 | DEFINE_GUID(TSATTRID_Font_FaceName, 0xb536aeb6,0x053b,0x4eb8,0xb6,0x5a,0x50,0xda,0x1e,0x81,0xe7,0x2e); |
| 14 | DEFINE_GUID(TSATTRID_Font_SizePts, 0xc8493302,0xa5e9,0x456d,0xaf,0x04,0x80,0x05,0xe4,0x13,0x0f,0x03); | 14 | DEFINE_GUID(TSATTRID_Font_SizePts, 0xc8493302,0xa5e9,0x456d,0xaf,0x04,0x80,0x05,0xe4,0x13,0x0f,0x03); |
| 15 | DEFINE_GUID(TSATTRID_Font_Style, 0x68b2a77f,0x6b0e,0x4f28,0x81,0x77,0x57,0x1c,0x2f,0x3a,0x42,0xb1); | 15 | DEFINE_GUID(TSATTRID_Font_Style, 0x68b2a77f,0x6b0e,0x4f28,0x81,0x77,0x57,0x1c,0x2f,0x3a,0x42,0xb1); |
| 16 | DEFINE_GUID(TSATTRID_Font_Style_Bold, 0x48813a43,0x8a20,0x4940,0x8e,0x58,0x97,0x82,0x3f,0x7b,0x26,0x8a); | 16 | DEFINE_GUID(TSATTRID_Font_Style_Bold, 0x48813a43,0x8a20,0x4940,0x8e,0x58,0x97,0x82,0x3f,0x7b,0x26,0x8a); |
| 17 | DEFINE_GUID(TSATTRID_Font_Style_Italic, 0x8740682a,0xa765,0x48e1,0xac,0xfc,0xd2,0x22,0x22,0xb2,0xf8,0x10); | 17 | DEFINE_GUID(TSATTRID_Font_Style_Italic, 0x8740682a,0xa765,0x48e1,0xac,0xfc,0xd2,0x22,0x22,0xb2,0xf8,0x10); |
| 18 | DEFINE_GUID(TSATTRID_Font_Style_SmallCaps, 0xfacb6bc6,0x9100,0x4cc6,0xb9,0x69,0x11,0xee,0xa4,0x5a,0x86,0xb4); | 18 | DEFINE_GUID(TSATTRID_Font_Style_SmallCaps, 0xfacb6bc6,0x9100,0x4cc6,0xb9,0x69,0x11,0xee,0xa4,0x5a,0x86,0xb4); |
| 19 | DEFINE_GUID(TSATTRID_Font_Style_Capitalize, 0x7d85a3ba,0xb4fd,0x43b3,0xbe,0xfc,0x6b,0x98,0x5c,0x84,0x31,0x41); | 19 | DEFINE_GUID(TSATTRID_Font_Style_Capitalize, 0x7d85a3ba,0xb4fd,0x43b3,0xbe,0xfc,0x6b,0x98,0x5c,0x84,0x31,0x41); |
| 20 | DEFINE_GUID(TSATTRID_Font_Style_Uppercase, 0x33a300e8,0xe340,0x4937,0xb6,0x97,0x8f,0x23,0x40,0x45,0xcd,0x9a); | 20 | DEFINE_GUID(TSATTRID_Font_Style_Uppercase, 0x33a300e8,0xe340,0x4937,0xb6,0x97,0x8f,0x23,0x40,0x45,0xcd,0x9a); |
| 21 | DEFINE_GUID(TSATTRID_Font_Style_Lowercase, 0x76d8ccb5,0xca7b,0x4498,0x8e,0xe9,0xd5,0xc4,0xf6,0xf7,0x4c,0x60); | 21 | DEFINE_GUID(TSATTRID_Font_Style_Lowercase, 0x76d8ccb5,0xca7b,0x4498,0x8e,0xe9,0xd5,0xc4,0xf6,0xf7,0x4c,0x60); |
| 22 | DEFINE_GUID(TSATTRID_Font_Style_Animation, 0xdcf73d22,0xe029,0x47b7,0xbb,0x36,0xf2,0x63,0xa3,0xd0,0x04,0xcc); | 22 | DEFINE_GUID(TSATTRID_Font_Style_Animation, 0xdcf73d22,0xe029,0x47b7,0xbb,0x36,0xf2,0x63,0xa3,0xd0,0x04,0xcc); |
| 23 | DEFINE_GUID(TSATTRID_Font_Style_Animation_LasVegasLights, 0xf40423d5,0x0f87,0x4f8f,0xba,0xda,0xe6,0xd6,0x0c,0x25,0xe1,0x52); | 23 | DEFINE_GUID(TSATTRID_Font_Style_Animation_LasVegasLights, 0xf40423d5,0x0f87,0x4f8f,0xba,0xda,0xe6,0xd6,0x0c,0x25,0xe1,0x52); |
| 24 | DEFINE_GUID(TSATTRID_Font_Style_Animation_BlinkingBackground, 0x86e5b104,0x0104,0x4b10,0xb5,0x85,0x00,0xf2,0x52,0x75,0x22,0xb5); | 24 | DEFINE_GUID(TSATTRID_Font_Style_Animation_BlinkingBackground, 0x86e5b104,0x0104,0x4b10,0xb5,0x85,0x00,0xf2,0x52,0x75,0x22,0xb5); |
| 25 | DEFINE_GUID(TSATTRID_Font_Style_Animation_SparkleText, 0x533aad20,0x962c,0x4e9f,0x8c,0x09,0xb4,0x2e,0xa4,0x74,0x97,0x11); | 25 | DEFINE_GUID(TSATTRID_Font_Style_Animation_SparkleText, 0x533aad20,0x962c,0x4e9f,0x8c,0x09,0xb4,0x2e,0xa4,0x74,0x97,0x11); |
| 26 | DEFINE_GUID(TSATTRID_Font_Style_Animation_MarchingBlackAnts, 0x7644e067,0xf186,0x4902,0xbf,0xc6,0xec,0x81,0x5a,0xa2,0x0e,0x9d); | 26 | DEFINE_GUID(TSATTRID_Font_Style_Animation_MarchingBlackAnts, 0x7644e067,0xf186,0x4902,0xbf,0xc6,0xec,0x81,0x5a,0xa2,0x0e,0x9d); |
| 27 | DEFINE_GUID(TSATTRID_Font_Style_Animation_MarchingRedAnts, 0x78368dad,0x50fb,0x4c6f,0x84,0x0b,0xd4,0x86,0xbb,0x6c,0xf7,0x81); | 27 | DEFINE_GUID(TSATTRID_Font_Style_Animation_MarchingRedAnts, 0x78368dad,0x50fb,0x4c6f,0x84,0x0b,0xd4,0x86,0xbb,0x6c,0xf7,0x81); |
| 28 | DEFINE_GUID(TSATTRID_Font_Style_Animation_Shimmer, 0x2ce31b58,0x5293,0x4c36,0x88,0x09,0xbf,0x8b,0xb5,0x1a,0x27,0xb3); | 28 | DEFINE_GUID(TSATTRID_Font_Style_Animation_Shimmer, 0x2ce31b58,0x5293,0x4c36,0x88,0x09,0xbf,0x8b,0xb5,0x1a,0x27,0xb3); |
| 29 | DEFINE_GUID(TSATTRID_Font_Style_Animation_WipeDown, 0x5872e874,0x367b,0x4803,0xb1,0x60,0xc9,0x0f,0xf6,0x25,0x69,0xd0); | 29 | DEFINE_GUID(TSATTRID_Font_Style_Animation_WipeDown, 0x5872e874,0x367b,0x4803,0xb1,0x60,0xc9,0x0f,0xf6,0x25,0x69,0xd0); |
| 30 | DEFINE_GUID(TSATTRID_Font_Style_Animation_WipeRight, 0xb855cbe3,0x3d2c,0x4600,0xb1,0xe9,0xe1,0xc9,0xce,0x02,0xf8,0x42); | 30 | DEFINE_GUID(TSATTRID_Font_Style_Animation_WipeRight, 0xb855cbe3,0x3d2c,0x4600,0xb1,0xe9,0xe1,0xc9,0xce,0x02,0xf8,0x42); |
| 31 | DEFINE_GUID(TSATTRID_Font_Style_Emboss, 0xbd8ed742,0x349e,0x4e37,0x82,0xfb,0x43,0x79,0x79,0xcb,0x53,0xa7); | 31 | DEFINE_GUID(TSATTRID_Font_Style_Emboss, 0xbd8ed742,0x349e,0x4e37,0x82,0xfb,0x43,0x79,0x79,0xcb,0x53,0xa7); |
| 32 | DEFINE_GUID(TSATTRID_Font_Style_Engrave, 0x9c3371de,0x8332,0x4897,0xbe,0x5d,0x89,0x23,0x32,0x23,0x17,0x9a); | 32 | DEFINE_GUID(TSATTRID_Font_Style_Engrave, 0x9c3371de,0x8332,0x4897,0xbe,0x5d,0x89,0x23,0x32,0x23,0x17,0x9a); |
| 33 | DEFINE_GUID(TSATTRID_Font_Style_Hidden, 0xb1e28770,0x881c,0x475f,0x86,0x3f,0x88,0x7a,0x64,0x7b,0x10,0x90); | 33 | DEFINE_GUID(TSATTRID_Font_Style_Hidden, 0xb1e28770,0x881c,0x475f,0x86,0x3f,0x88,0x7a,0x64,0x7b,0x10,0x90); |
| 34 | DEFINE_GUID(TSATTRID_Font_Style_Kerning, 0xcc26e1b4,0x2f9a,0x47c8,0x8b,0xff,0xbf,0x1e,0xb7,0xcc,0xe0,0xdd); | 34 | DEFINE_GUID(TSATTRID_Font_Style_Kerning, 0xcc26e1b4,0x2f9a,0x47c8,0x8b,0xff,0xbf,0x1e,0xb7,0xcc,0xe0,0xdd); |
| 35 | DEFINE_GUID(TSATTRID_Font_Style_Outlined, 0x10e6db31,0xdb0d,0x4ac6,0xa7,0xf5,0x9c,0x9c,0xff,0x6f,0x2a,0xb4); | 35 | DEFINE_GUID(TSATTRID_Font_Style_Outlined, 0x10e6db31,0xdb0d,0x4ac6,0xa7,0xf5,0x9c,0x9c,0xff,0x6f,0x2a,0xb4); |
| 36 | DEFINE_GUID(TSATTRID_Font_Style_Position, 0x15cd26ab,0xf2fb,0x4062,0xb5,0xa6,0x9a,0x49,0xe1,0xa5,0xcc,0x0b); | 36 | DEFINE_GUID(TSATTRID_Font_Style_Position, 0x15cd26ab,0xf2fb,0x4062,0xb5,0xa6,0x9a,0x49,0xe1,0xa5,0xcc,0x0b); |
| 37 | DEFINE_GUID(TSATTRID_Font_Style_Protected, 0x1c557cb2,0x14cf,0x4554,0xa5,0x74,0xec,0xb2,0xf7,0xe7,0xef,0xd4); | 37 | DEFINE_GUID(TSATTRID_Font_Style_Protected, 0x1c557cb2,0x14cf,0x4554,0xa5,0x74,0xec,0xb2,0xf7,0xe7,0xef,0xd4); |
| 38 | DEFINE_GUID(TSATTRID_Font_Style_Shadow, 0x5f686d2f,0xc6cd,0x4c56,0x8a,0x1a,0x99,0x4a,0x4b,0x97,0x66,0xbe); | 38 | DEFINE_GUID(TSATTRID_Font_Style_Shadow, 0x5f686d2f,0xc6cd,0x4c56,0x8a,0x1a,0x99,0x4a,0x4b,0x97,0x66,0xbe); |
| 39 | DEFINE_GUID(TSATTRID_Font_Style_Spacing, 0x98c1200d,0x8f06,0x409a,0x8e,0x49,0x6a,0x55,0x4b,0xf7,0xc1,0x53); | 39 | DEFINE_GUID(TSATTRID_Font_Style_Spacing, 0x98c1200d,0x8f06,0x409a,0x8e,0x49,0x6a,0x55,0x4b,0xf7,0xc1,0x53); |
| 40 | DEFINE_GUID(TSATTRID_Font_Style_Weight, 0x12f3189c,0x8bb0,0x461b,0xb1,0xfa,0xea,0xf9,0x07,0x04,0x7f,0xe0); | 40 | DEFINE_GUID(TSATTRID_Font_Style_Weight, 0x12f3189c,0x8bb0,0x461b,0xb1,0xfa,0xea,0xf9,0x07,0x04,0x7f,0xe0); |
| 41 | DEFINE_GUID(TSATTRID_Font_Style_Height, 0x7e937477,0x12e6,0x458b,0x92,0x6a,0x1f,0xa4,0x4e,0xe8,0xf3,0x91); | 41 | DEFINE_GUID(TSATTRID_Font_Style_Height, 0x7e937477,0x12e6,0x458b,0x92,0x6a,0x1f,0xa4,0x4e,0xe8,0xf3,0x91); |
| 42 | DEFINE_GUID(TSATTRID_Font_Style_Underline, 0xc3c9c9f3,0x7902,0x444b,0x9a,0x7b,0x48,0xe7,0x0f,0x4b,0x50,0xf7); | 42 | DEFINE_GUID(TSATTRID_Font_Style_Underline, 0xc3c9c9f3,0x7902,0x444b,0x9a,0x7b,0x48,0xe7,0x0f,0x4b,0x50,0xf7); |
| 43 | DEFINE_GUID(TSATTRID_Font_Style_Underline_Single, 0x1b6720e5,0x0f73,0x4951,0xa6,0xb3,0x6f,0x19,0xe4,0x3c,0x94,0x61); | 43 | DEFINE_GUID(TSATTRID_Font_Style_Underline_Single, 0x1b6720e5,0x0f73,0x4951,0xa6,0xb3,0x6f,0x19,0xe4,0x3c,0x94,0x61); |
| 44 | DEFINE_GUID(TSATTRID_Font_Style_Underline_Double, 0x74d24aa6,0x1db3,0x4c69,0xa1,0x76,0x31,0x12,0x0e,0x75,0x86,0xd5); | 44 | DEFINE_GUID(TSATTRID_Font_Style_Underline_Double, 0x74d24aa6,0x1db3,0x4c69,0xa1,0x76,0x31,0x12,0x0e,0x75,0x86,0xd5); |
| 45 | DEFINE_GUID(TSATTRID_Font_Style_Strikethrough, 0x0c562193,0x2d08,0x4668,0x96,0x01,0xce,0xd4,0x13,0x09,0xd7,0xaf); | 45 | DEFINE_GUID(TSATTRID_Font_Style_Strikethrough, 0x0c562193,0x2d08,0x4668,0x96,0x01,0xce,0xd4,0x13,0x09,0xd7,0xaf); |
| 46 | DEFINE_GUID(TSATTRID_Font_Style_Strikethrough_Single, 0x75d736b6,0x3c8f,0x4b97,0xab,0x78,0x18,0x77,0xcb,0x99,0x0d,0x31); | 46 | DEFINE_GUID(TSATTRID_Font_Style_Strikethrough_Single, 0x75d736b6,0x3c8f,0x4b97,0xab,0x78,0x18,0x77,0xcb,0x99,0x0d,0x31); |
| 47 | DEFINE_GUID(TSATTRID_Font_Style_Strikethrough_Double, 0x62489b31,0xa3e7,0x4f94,0xac,0x43,0xeb,0xaf,0x8f,0xcc,0x7a,0x9f); | 47 | DEFINE_GUID(TSATTRID_Font_Style_Strikethrough_Double, 0x62489b31,0xa3e7,0x4f94,0xac,0x43,0xeb,0xaf,0x8f,0xcc,0x7a,0x9f); |
| 48 | DEFINE_GUID(TSATTRID_Font_Style_Overline, 0xe3989f4a,0x992b,0x4301,0x8c,0xe1,0xa5,0xb7,0xc6,0xd1,0xf3,0xc8); | 48 | DEFINE_GUID(TSATTRID_Font_Style_Overline, 0xe3989f4a,0x992b,0x4301,0x8c,0xe1,0xa5,0xb7,0xc6,0xd1,0xf3,0xc8); |
| 49 | DEFINE_GUID(TSATTRID_Font_Style_Overline_Single, 0x8440d94c,0x51ce,0x47b2,0x8d,0x4c,0x15,0x75,0x1e,0x5f,0x72,0x1b); | 49 | DEFINE_GUID(TSATTRID_Font_Style_Overline_Single, 0x8440d94c,0x51ce,0x47b2,0x8d,0x4c,0x15,0x75,0x1e,0x5f,0x72,0x1b); |
| 50 | DEFINE_GUID(TSATTRID_Font_Style_Overline_Double, 0xdc46063a,0xe115,0x46e3,0xbc,0xd8,0xca,0x67,0x72,0xaa,0x95,0xb4); | 50 | DEFINE_GUID(TSATTRID_Font_Style_Overline_Double, 0xdc46063a,0xe115,0x46e3,0xbc,0xd8,0xca,0x67,0x72,0xaa,0x95,0xb4); |
| 51 | DEFINE_GUID(TSATTRID_Font_Style_Blink, 0xbfb2c036,0x7acf,0x4532,0xb7,0x20,0xb4,0x16,0xdd,0x77,0x65,0xa8); | 51 | DEFINE_GUID(TSATTRID_Font_Style_Blink, 0xbfb2c036,0x7acf,0x4532,0xb7,0x20,0xb4,0x16,0xdd,0x77,0x65,0xa8); |
| 52 | DEFINE_GUID(TSATTRID_Font_Style_Subscript, 0x5774fb84,0x389b,0x43bc,0xa7,0x4b,0x15,0x68,0x34,0x7c,0xf0,0xf4); | 52 | DEFINE_GUID(TSATTRID_Font_Style_Subscript, 0x5774fb84,0x389b,0x43bc,0xa7,0x4b,0x15,0x68,0x34,0x7c,0xf0,0xf4); |
| 53 | DEFINE_GUID(TSATTRID_Font_Style_Superscript, 0x2ea4993c,0x563c,0x49aa,0x93,0x72,0x0b,0xef,0x09,0xa9,0x25,0x5b); | 53 | DEFINE_GUID(TSATTRID_Font_Style_Superscript, 0x2ea4993c,0x563c,0x49aa,0x93,0x72,0x0b,0xef,0x09,0xa9,0x25,0x5b); |
| 54 | DEFINE_GUID(TSATTRID_Font_Style_Color, 0x857a7a37,0xb8af,0x4e9a,0x81,0xb4,0xac,0xf7,0x00,0xc8,0x41,0x1b); | 54 | DEFINE_GUID(TSATTRID_Font_Style_Color, 0x857a7a37,0xb8af,0x4e9a,0x81,0xb4,0xac,0xf7,0x00,0xc8,0x41,0x1b); |
| 55 | DEFINE_GUID(TSATTRID_Font_Style_BackgroundColor, 0xb50eaa4e,0x3091,0x4468,0x81,0xdb,0xd7,0x9e,0xa1,0x90,0xc7,0xc7); | 55 | DEFINE_GUID(TSATTRID_Font_Style_BackgroundColor, 0xb50eaa4e,0x3091,0x4468,0x81,0xdb,0xd7,0x9e,0xa1,0x90,0xc7,0xc7); |
| 56 | 56 | ||
| 57 | DEFINE_GUID(TSATTRID_Text, 0x7edb8e68,0x81f9,0x449d,0xa1,0x5a,0x87,0xa8,0x38,0x8f,0xaa,0xc0); | 57 | DEFINE_GUID(TSATTRID_Text, 0x7edb8e68,0x81f9,0x449d,0xa1,0x5a,0x87,0xa8,0x38,0x8f,0xaa,0xc0); |
| 58 | DEFINE_GUID(TSATTRID_Text_VerticalWriting, 0x6bba8195,0x046f,0x4ea9,0xb3,0x11,0x97,0xfd,0x66,0xc4,0x27,0x4b); | 58 | DEFINE_GUID(TSATTRID_Text_VerticalWriting, 0x6bba8195,0x046f,0x4ea9,0xb3,0x11,0x97,0xfd,0x66,0xc4,0x27,0x4b); |
| 59 | DEFINE_GUID(TSATTRID_Text_RightToLeft, 0xca666e71,0x1b08,0x453d,0xbf,0xdd,0x28,0xe0,0x8c,0x8a,0xaf,0x7a); | 59 | DEFINE_GUID(TSATTRID_Text_RightToLeft, 0xca666e71,0x1b08,0x453d,0xbf,0xdd,0x28,0xe0,0x8c,0x8a,0xaf,0x7a); |
| 60 | DEFINE_GUID(TSATTRID_Text_Orientation, 0x6bab707f,0x8785,0x4c39,0x8b,0x52,0x96,0xf8,0x78,0x30,0x3f,0xfb); | 60 | DEFINE_GUID(TSATTRID_Text_Orientation, 0x6bab707f,0x8785,0x4c39,0x8b,0x52,0x96,0xf8,0x78,0x30,0x3f,0xfb); |
| 61 | DEFINE_GUID(TSATTRID_Text_Language, 0xd8c04ef1,0x5753,0x4c25,0x88,0x87,0x85,0x44,0x3f,0xe5,0xf8,0x19); | 61 | DEFINE_GUID(TSATTRID_Text_Language, 0xd8c04ef1,0x5753,0x4c25,0x88,0x87,0x85,0x44,0x3f,0xe5,0xf8,0x19); |
| 62 | DEFINE_GUID(TSATTRID_Text_ReadOnly, 0x85836617,0xde32,0x4afd,0xa5,0x0f,0xa2,0xdb,0x11,0x0e,0x6e,0x4d); | 62 | DEFINE_GUID(TSATTRID_Text_ReadOnly, 0x85836617,0xde32,0x4afd,0xa5,0x0f,0xa2,0xdb,0x11,0x0e,0x6e,0x4d); |
| 63 | DEFINE_GUID(TSATTRID_Text_EmbeddedObject, 0x7edb8e68,0x81f9,0x449d,0xa1,0x5a,0x87,0xa8,0x38,0x8f,0xaa,0xc0); | 63 | DEFINE_GUID(TSATTRID_Text_EmbeddedObject, 0x7edb8e68,0x81f9,0x449d,0xa1,0x5a,0x87,0xa8,0x38,0x8f,0xaa,0xc0); |
| 64 | DEFINE_GUID(TSATTRID_Text_Alignment, 0x139941e6,0x1767,0x456d,0x93,0x8e,0x35,0xba,0x56,0x8b,0x5c,0xd4); | 64 | DEFINE_GUID(TSATTRID_Text_Alignment, 0x139941e6,0x1767,0x456d,0x93,0x8e,0x35,0xba,0x56,0x8b,0x5c,0xd4); |
| 65 | DEFINE_GUID(TSATTRID_Text_Alignment_Left, 0x16ae95d3,0x6361,0x43a2,0x84,0x95,0xd0,0x0f,0x39,0x7f,0x16,0x93); | 65 | DEFINE_GUID(TSATTRID_Text_Alignment_Left, 0x16ae95d3,0x6361,0x43a2,0x84,0x95,0xd0,0x0f,0x39,0x7f,0x16,0x93); |
| 66 | DEFINE_GUID(TSATTRID_Text_Alignment_Right, 0xb36f0f98,0x1b9e,0x4360,0x86,0x16,0x03,0xfb,0x08,0xa7,0x84,0x56); | 66 | DEFINE_GUID(TSATTRID_Text_Alignment_Right, 0xb36f0f98,0x1b9e,0x4360,0x86,0x16,0x03,0xfb,0x08,0xa7,0x84,0x56); |
| 67 | DEFINE_GUID(TSATTRID_Text_Alignment_Center, 0xa4a95c16,0x53bf,0x4d55,0x8b,0x87,0x4b,0xdd,0x8d,0x42,0x75,0xfc); | 67 | DEFINE_GUID(TSATTRID_Text_Alignment_Center, 0xa4a95c16,0x53bf,0x4d55,0x8b,0x87,0x4b,0xdd,0x8d,0x42,0x75,0xfc); |
| 68 | DEFINE_GUID(TSATTRID_Text_Alignment_Justify, 0xed350740,0xa0f7,0x42d3,0x8e,0xa8,0xf8,0x1b,0x64,0x88,0xfa,0xf0); | 68 | DEFINE_GUID(TSATTRID_Text_Alignment_Justify, 0xed350740,0xa0f7,0x42d3,0x8e,0xa8,0xf8,0x1b,0x64,0x88,0xfa,0xf0); |
| 69 | DEFINE_GUID(TSATTRID_Text_Link, 0x47cd9051,0x3722,0x4cd8,0xb7,0xc8,0x4e,0x17,0xca,0x17,0x59,0xf5); | 69 | DEFINE_GUID(TSATTRID_Text_Link, 0x47cd9051,0x3722,0x4cd8,0xb7,0xc8,0x4e,0x17,0xca,0x17,0x59,0xf5); |
| 70 | DEFINE_GUID(TSATTRID_Text_Hyphenation, 0xdadf4525,0x618e,0x49eb,0xb1,0xa8,0x3b,0x68,0xbd,0x76,0x48,0xe3); | 70 | DEFINE_GUID(TSATTRID_Text_Hyphenation, 0xdadf4525,0x618e,0x49eb,0xb1,0xa8,0x3b,0x68,0xbd,0x76,0x48,0xe3); |
| 71 | DEFINE_GUID(TSATTRID_Text_Para, 0x5edc5822,0x99dc,0x4dd6,0xae,0xc3,0xb6,0x2b,0xaa,0x5b,0x2e,0x7c); | 71 | DEFINE_GUID(TSATTRID_Text_Para, 0x5edc5822,0x99dc,0x4dd6,0xae,0xc3,0xb6,0x2b,0xaa,0x5b,0x2e,0x7c); |
| 72 | DEFINE_GUID(TSATTRID_Text_Para_FirstLineIndent, 0x07c97a13,0x7472,0x4dd8,0x90,0xa9,0x91,0xe3,0xd7,0xe4,0xf2,0x9c); | 72 | DEFINE_GUID(TSATTRID_Text_Para_FirstLineIndent, 0x07c97a13,0x7472,0x4dd8,0x90,0xa9,0x91,0xe3,0xd7,0xe4,0xf2,0x9c); |
| 73 | DEFINE_GUID(TSATTRID_Text_Para_LeftIndent, 0xfb2848e9,0x7471,0x41c9,0xb6,0xb3,0x8a,0x14,0x50,0xe0,0x18,0x97); | 73 | DEFINE_GUID(TSATTRID_Text_Para_LeftIndent, 0xfb2848e9,0x7471,0x41c9,0xb6,0xb3,0x8a,0x14,0x50,0xe0,0x18,0x97); |
| 74 | DEFINE_GUID(TSATTRID_Text_Para_RightIndent, 0x2c7f26f9,0xa5e2,0x48da,0xb9,0x8a,0x52,0x0c,0xb1,0x65,0x13,0xbf); | 74 | DEFINE_GUID(TSATTRID_Text_Para_RightIndent, 0x2c7f26f9,0xa5e2,0x48da,0xb9,0x8a,0x52,0x0c,0xb1,0x65,0x13,0xbf); |
| 75 | DEFINE_GUID(TSATTRID_Text_Para_SpaceAfter, 0x7b0a3f55,0x22dc,0x425f,0xa4,0x11,0x93,0xda,0x1d,0x8f,0x9b,0xaa); | 75 | DEFINE_GUID(TSATTRID_Text_Para_SpaceAfter, 0x7b0a3f55,0x22dc,0x425f,0xa4,0x11,0x93,0xda,0x1d,0x8f,0x9b,0xaa); |
| 76 | DEFINE_GUID(TSATTRID_Text_Para_SpaceBefore, 0x8df98589,0x194a,0x4601,0xb2,0x51,0x98,0x65,0xa3,0xe9,0x06,0xdd); | 76 | DEFINE_GUID(TSATTRID_Text_Para_SpaceBefore, 0x8df98589,0x194a,0x4601,0xb2,0x51,0x98,0x65,0xa3,0xe9,0x06,0xdd); |
| 77 | DEFINE_GUID(TSATTRID_Text_Para_LineSpacing, 0x699b380d,0x7f8c,0x46d6,0xa7,0x3b,0xdf,0xe3,0xd1,0x53,0x8d,0xf3); | 77 | DEFINE_GUID(TSATTRID_Text_Para_LineSpacing, 0x699b380d,0x7f8c,0x46d6,0xa7,0x3b,0xdf,0xe3,0xd1,0x53,0x8d,0xf3); |
| 78 | DEFINE_GUID(TSATTRID_Text_Para_LineSpacing_Single, 0xed350740,0xa0f7,0x42d3,0x8e,0xa8,0xf8,0x1b,0x64,0x88,0xfa,0xf0); | 78 | DEFINE_GUID(TSATTRID_Text_Para_LineSpacing_Single, 0xed350740,0xa0f7,0x42d3,0x8e,0xa8,0xf8,0x1b,0x64,0x88,0xfa,0xf0); |
| 79 | DEFINE_GUID(TSATTRID_Text_Para_LineSpacing_OnePtFive, 0x0428a021,0x0397,0x4b57,0x9a,0x17,0x07,0x95,0x99,0x4c,0xd3,0xc5); | 79 | DEFINE_GUID(TSATTRID_Text_Para_LineSpacing_OnePtFive, 0x0428a021,0x0397,0x4b57,0x9a,0x17,0x07,0x95,0x99,0x4c,0xd3,0xc5); |
| 80 | DEFINE_GUID(TSATTRID_Text_Para_LineSpacing_Double, 0x82fb1805,0xa6c4,0x4231,0xac,0x12,0x62,0x60,0xaf,0x2a,0xba,0x28); | 80 | DEFINE_GUID(TSATTRID_Text_Para_LineSpacing_Double, 0x82fb1805,0xa6c4,0x4231,0xac,0x12,0x62,0x60,0xaf,0x2a,0xba,0x28); |
| 81 | DEFINE_GUID(TSATTRID_Text_Para_LineSpacing_AtLeast, 0xadfedf31,0x2d44,0x4434,0xa5,0xff,0x7f,0x4c,0x49,0x90,0xa9,0x05); | 81 | DEFINE_GUID(TSATTRID_Text_Para_LineSpacing_AtLeast, 0xadfedf31,0x2d44,0x4434,0xa5,0xff,0x7f,0x4c,0x49,0x90,0xa9,0x05); |
| 82 | DEFINE_GUID(TSATTRID_Text_Para_LineSpacing_Exactly, 0x3d45ad40,0x23de,0x48d7,0xa6,0xb3,0x76,0x54,0x20,0xc6,0x20,0xcc); | 82 | DEFINE_GUID(TSATTRID_Text_Para_LineSpacing_Exactly, 0x3d45ad40,0x23de,0x48d7,0xa6,0xb3,0x76,0x54,0x20,0xc6,0x20,0xcc); |
| 83 | DEFINE_GUID(TSATTRID_Text_Para_LineSpacing_Multiple, 0x910f1e3c,0xd6d0,0x4f65,0x8a,0x3c,0x42,0xb4,0xb3,0x18,0x68,0xc5); | 83 | DEFINE_GUID(TSATTRID_Text_Para_LineSpacing_Multiple, 0x910f1e3c,0xd6d0,0x4f65,0x8a,0x3c,0x42,0xb4,0xb3,0x18,0x68,0xc5); |
| 84 | 84 | ||
| 85 | DEFINE_GUID(TSATTRID_List, 0x436d673b,0x26f1,0x4aee,0x9e,0x65,0x8f,0x83,0xa4,0xed,0x48,0x84); | 85 | DEFINE_GUID(TSATTRID_List, 0x436d673b,0x26f1,0x4aee,0x9e,0x65,0x8f,0x83,0xa4,0xed,0x48,0x84); |
| 86 | DEFINE_GUID(TSATTRID_List_LevelIndel, 0x7f7cc899,0x311f,0x487b,0xad,0x5d,0xe2,0xa4,0x59,0xe1,0x2d,0x42); | 86 | DEFINE_GUID(TSATTRID_List_LevelIndel, 0x7f7cc899,0x311f,0x487b,0xad,0x5d,0xe2,0xa4,0x59,0xe1,0x2d,0x42); |
| 87 | DEFINE_GUID(TSATTRID_List_Type, 0xae3e665e,0x4bce,0x49e3,0xa0,0xfe,0x2d,0xb4,0x7d,0x3a,0x17,0xae); | 87 | DEFINE_GUID(TSATTRID_List_Type, 0xae3e665e,0x4bce,0x49e3,0xa0,0xfe,0x2d,0xb4,0x7d,0x3a,0x17,0xae); |
| 88 | DEFINE_GUID(TSATTRID_List_Type_Bullet, 0xbccd77c5,0x4c4d,0x4ce2,0xb1,0x02,0x55,0x9f,0x3b,0x2b,0xfc,0xea); | 88 | DEFINE_GUID(TSATTRID_List_Type_Bullet, 0xbccd77c5,0x4c4d,0x4ce2,0xb1,0x02,0x55,0x9f,0x3b,0x2b,0xfc,0xea); |
| 89 | DEFINE_GUID(TSATTRID_List_Type_Arabic, 0x1338c5d6,0x98a3,0x4fa3,0x9b,0xd1,0x7a,0x60,0xee,0xf8,0xe9,0xe0); | 89 | DEFINE_GUID(TSATTRID_List_Type_Arabic, 0x1338c5d6,0x98a3,0x4fa3,0x9b,0xd1,0x7a,0x60,0xee,0xf8,0xe9,0xe0); |
| 90 | DEFINE_GUID(TSATTRID_List_Type_LowerLetter, 0x96372285,0xf3cf,0x491e,0xa9,0x25,0x38,0x32,0x34,0x7f,0xd2,0x37); | 90 | DEFINE_GUID(TSATTRID_List_Type_LowerLetter, 0x96372285,0xf3cf,0x491e,0xa9,0x25,0x38,0x32,0x34,0x7f,0xd2,0x37); |
| 91 | DEFINE_GUID(TSATTRID_List_Type_UpperLetter, 0x7987b7cd,0xce52,0x428b,0x9b,0x95,0xa3,0x57,0xf6,0xf1,0x0c,0x45); | 91 | DEFINE_GUID(TSATTRID_List_Type_UpperLetter, 0x7987b7cd,0xce52,0x428b,0x9b,0x95,0xa3,0x57,0xf6,0xf1,0x0c,0x45); |
| 92 | DEFINE_GUID(TSATTRID_List_Type_LowerRoman, 0x90466262,0x3980,0x4b8e,0x93,0x68,0x91,0x8b,0xd1,0x21,0x8a,0x41); | 92 | DEFINE_GUID(TSATTRID_List_Type_LowerRoman, 0x90466262,0x3980,0x4b8e,0x93,0x68,0x91,0x8b,0xd1,0x21,0x8a,0x41); |
| 93 | DEFINE_GUID(TSATTRID_List_Type_UpperRoman, 0x0f6ab552,0x4a80,0x467f,0xb2,0xf1,0x12,0x7e,0x2a,0xa3,0xba,0x9e); | 93 | DEFINE_GUID(TSATTRID_List_Type_UpperRoman, 0x0f6ab552,0x4a80,0x467f,0xb2,0xf1,0x12,0x7e,0x2a,0xa3,0xba,0x9e); |
| 94 | 94 | ||
| 95 | DEFINE_GUID(TSATTRID_App, 0xa80f77df,0x4237,0x40e5,0x84,0x9c,0xb5,0xfa,0x51,0xc1,0x3a,0xc7); | 95 | DEFINE_GUID(TSATTRID_App, 0xa80f77df,0x4237,0x40e5,0x84,0x9c,0xb5,0xfa,0x51,0xc1,0x3a,0xc7); |
| 96 | DEFINE_GUID(TSATTRID_App_IncorrectSpelling, 0xf42de43c,0xef12,0x430d,0x94,0x4c,0x9a,0x08,0x97,0x0a,0x25,0xd2); | 96 | DEFINE_GUID(TSATTRID_App_IncorrectSpelling, 0xf42de43c,0xef12,0x430d,0x94,0x4c,0x9a,0x08,0x97,0x0a,0x25,0xd2); |
| 97 | DEFINE_GUID(TSATTRID_App_IncorrectGrammar, 0xbd54e398,0xad03,0x4b74,0xb6,0xb3,0x5e,0xdb,0x19,0x99,0x63,0x88); | 97 | DEFINE_GUID(TSATTRID_App_IncorrectGrammar, 0xbd54e398,0xad03,0x4b74,0xb6,0xb3,0x5e,0xdb,0x19,0x99,0x63,0x88); |
| 98 | 98 | ||
| 99 | #endif | 99 | #endif |
| 100 | 100 |
lib/libc/include/any-windows-any/tsuserex_i.c deleted-53| ... | @@ -1,53 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | #ifdef __cplusplus | ||
| 7 | extern "C" { | ||
| 8 | #endif | ||
| 9 | |||
| 10 | #include <rpc.h> | ||
| 11 | #include <rpcndr.h> | ||
| 12 | |||
| 13 | #ifdef _MIDL_USE_GUIDDEF_ | ||
| 14 | |||
| 15 | #ifndef INITGUID | ||
| 16 | #define INITGUID | ||
| 17 | #include <guiddef.h> | ||
| 18 | #undef INITGUID | ||
| 19 | #else | ||
| 20 | #include <guiddef.h> | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) | ||
| 24 | #else | ||
| 25 | |||
| 26 | #ifndef __IID_DEFINED__ | ||
| 27 | #define __IID_DEFINED__ | ||
| 28 | typedef struct _IID { | ||
| 29 | unsigned long x; | ||
| 30 | unsigned short s1; | ||
| 31 | unsigned short s2; | ||
| 32 | unsigned char c[8]; | ||
| 33 | } IID; | ||
| 34 | #endif | ||
| 35 | |||
| 36 | #ifndef CLSID_DEFINED | ||
| 37 | #define CLSID_DEFINED | ||
| 38 | typedef IID CLSID; | ||
| 39 | #endif | ||
| 40 | |||
| 41 | #define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}} | ||
| 42 | #endif | ||
| 43 | |||
| 44 | MIDL_DEFINE_GUID(IID,LIBID_TSUSEREXLib,0x45413F04,0xDF86,0x11D1,0xAE,0x27,0x00,0xC0,0x4F,0xA3,0x58,0x13); | ||
| 45 | MIDL_DEFINE_GUID(CLSID,CLSID_TSUserExInterfaces,0x0910dd01,0xdf8c,0x11d1,0xae,0x27,0x00,0xc0,0x4f,0xa3,0x58,0x13); | ||
| 46 | MIDL_DEFINE_GUID(IID,IID_IADsTSUserEx,0xC4930E79,0x2989,0x4462,0x8A,0x60,0x2F,0xCF,0x2F,0x29,0x55,0xEF); | ||
| 47 | MIDL_DEFINE_GUID(CLSID,CLSID_ADsTSUserEx,0xE2E9CAE6,0x1E7B,0x4B8E,0xBA,0xBD,0xE9,0xBF,0x62,0x92,0xAC,0x29); | ||
| 48 | |||
| 49 | #undef MIDL_DEFINE_GUID | ||
| 50 | |||
| 51 | #ifdef __cplusplus | ||
| 52 | } | ||
| 53 | #endif | ||
lib/libc/include/any-windows-any/tsvirtualchannels.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/tsvirtualchannels.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/tsvirtualchannels.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/tuner.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/tuner.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/tuner.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/uianimation.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/uianimation.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/uianimation.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/uiautomationclient.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/uiautomationclient.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/uiautomationclient.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/uiautomationcore.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/uiautomationcore.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/uiautomationcore.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/uiviewsettingsinterop.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/uiviewsettingsinterop.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/uiviewsettingsinterop.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/unknwn.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/unknwn.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/unknwn.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/unknwnbase.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/unknwnbase.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/unknwnbase.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/urlhist.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/urlhist.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/urlhist.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/urlmon.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/urlmon.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/urlmon.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/usp10.h+1-1| ... | @@ -129,7 +129,7 @@ extern "C" { | ... | @@ -129,7 +129,7 @@ extern "C" { |
| 129 | SCRIPT_JUSTIFY_ARABIC_BA = 12, | 129 | SCRIPT_JUSTIFY_ARABIC_BA = 12, |
| 130 | SCRIPT_JUSTIFY_ARABIC_BARA = 13, | 130 | SCRIPT_JUSTIFY_ARABIC_BARA = 13, |
| 131 | SCRIPT_JUSTIFY_ARABIC_SEEN = 14, | 131 | SCRIPT_JUSTIFY_ARABIC_SEEN = 14, |
| 132 | SCRIPT_JUSTIFY_ARABIC_SEEN_M = 15, | 132 | SCRIPT_JUSTIFY_ARABIC_SEEN_M = 15 |
| 133 | } SCRIPT_JUSTIFY; | 133 | } SCRIPT_JUSTIFY; |
| 134 | 134 | ||
| 135 | typedef struct tag_SCRIPT_VISATTR { | 135 | typedef struct tag_SCRIPT_VISATTR { |
lib/libc/include/any-windows-any/uxtheme.h+5-5| ... | @@ -39,7 +39,7 @@ typedef enum TA_PROPERTY { | ... | @@ -39,7 +39,7 @@ typedef enum TA_PROPERTY { |
| 39 | TAP_STAGGERDELAY, | 39 | TAP_STAGGERDELAY, |
| 40 | TAP_STAGGERDELAYCAP, | 40 | TAP_STAGGERDELAYCAP, |
| 41 | TAP_STAGGERDELAYFACTOR, | 41 | TAP_STAGGERDELAYFACTOR, |
| 42 | TAP_ZORDER, | 42 | TAP_ZORDER |
| 43 | } TA_PROPERTY; | 43 | } TA_PROPERTY; |
| 44 | 44 | ||
| 45 | typedef enum TA_PROPERTY_FLAG { | 45 | typedef enum TA_PROPERTY_FLAG { |
| ... | @@ -48,7 +48,7 @@ typedef enum TA_PROPERTY_FLAG { | ... | @@ -48,7 +48,7 @@ typedef enum TA_PROPERTY_FLAG { |
| 48 | TAPF_ISRTLAWARE = 0x2, | 48 | TAPF_ISRTLAWARE = 0x2, |
| 49 | TAPF_ALLOWCOLLECTION = 0x4, | 49 | TAPF_ALLOWCOLLECTION = 0x4, |
| 50 | TAPF_HASBACKGROUND = 0x8, | 50 | TAPF_HASBACKGROUND = 0x8, |
| 51 | TAPF_HASPERSPECTIVE = 0x10, | 51 | TAPF_HASPERSPECTIVE = 0x10 |
| 52 | } TA_PROPERTY_FLAG; | 52 | } TA_PROPERTY_FLAG; |
| 53 | 53 | ||
| 54 | THEMEAPI GetThemeAnimationProperty(HTHEME hTheme, int iStoryboardId, int iTargetId, TA_PROPERTY eProperty, VOID *pvProperty, DWORD cbSize, DWORD *pcbSizeOut); | 54 | THEMEAPI GetThemeAnimationProperty(HTHEME hTheme, int iStoryboardId, int iTargetId, TA_PROPERTY eProperty, VOID *pvProperty, DWORD cbSize, DWORD *pcbSizeOut); |
| ... | @@ -57,14 +57,14 @@ typedef enum TA_TRANSFORM_TYPE { | ... | @@ -57,14 +57,14 @@ typedef enum TA_TRANSFORM_TYPE { |
| 57 | TATT_TRANSLATE_2D, | 57 | TATT_TRANSLATE_2D, |
| 58 | TATT_SCALE_2D, | 58 | TATT_SCALE_2D, |
| 59 | TATT_OPACITY, | 59 | TATT_OPACITY, |
| 60 | TATT_CLIP, | 60 | TATT_CLIP |
| 61 | } TA_TRANSFORM_TYPE; | 61 | } TA_TRANSFORM_TYPE; |
| 62 | 62 | ||
| 63 | typedef enum TA_TRANSFORM_FLAG { | 63 | typedef enum TA_TRANSFORM_FLAG { |
| 64 | TATF_NONE = 0x0, | 64 | TATF_NONE = 0x0, |
| 65 | TATF_TARGETVALUES_USER = 0x1, | 65 | TATF_TARGETVALUES_USER = 0x1, |
| 66 | TATF_HASINITIALVALUES = 0x2, | 66 | TATF_HASINITIALVALUES = 0x2, |
| 67 | TATF_HASORIGINVALUES = 0x4, | 67 | TATF_HASORIGINVALUES = 0x4 |
| 68 | } TA_TRANSFORM_FLAG; | 68 | } TA_TRANSFORM_FLAG; |
| 69 | 69 | ||
| 70 | typedef struct TA_TRANSFORM { | 70 | typedef struct TA_TRANSFORM { |
| ... | @@ -107,7 +107,7 @@ THEMEAPI GetThemeAnimationTransform(HTHEME hTheme, int iStoryboardId, int iTarge | ... | @@ -107,7 +107,7 @@ THEMEAPI GetThemeAnimationTransform(HTHEME hTheme, int iStoryboardId, int iTarge |
| 107 | 107 | ||
| 108 | typedef enum TA_TIMINGFUNCTION_TYPE { | 108 | typedef enum TA_TIMINGFUNCTION_TYPE { |
| 109 | TTFT_UNDEFINED, | 109 | TTFT_UNDEFINED, |
| 110 | TTFT_CUBIC_BEZIER, | 110 | TTFT_CUBIC_BEZIER |
| 111 | } TA_TIMINGFUNCTION_TYPE; | 111 | } TA_TIMINGFUNCTION_TYPE; |
| 112 | 112 | ||
| 113 | typedef struct TA_TIMINGFUNCTION { | 113 | typedef struct TA_TIMINGFUNCTION { |
lib/libc/include/any-windows-any/vdslun.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/vdslun.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/vdslun.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/vidcap.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/vidcap.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/vidcap.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/vmr9.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/vmr9.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/vmr9.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/vsadmin.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/vsadmin.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/vsadmin.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/vsbackup.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/vsbackup.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/vsbackup.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/vsmgmt.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/vsmgmt.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/vsmgmt.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/vsprov.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/vsprov.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/vsprov.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/vss.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/vss.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/vss.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/vsstyle.h+168-168| ... | @@ -66,22 +66,22 @@ enum AEROWIZARDPARTS { | ... | @@ -66,22 +66,22 @@ enum AEROWIZARDPARTS { |
| 66 | AW_HEADERAREA = 2, | 66 | AW_HEADERAREA = 2, |
| 67 | AW_CONTENTAREA = 3, | 67 | AW_CONTENTAREA = 3, |
| 68 | AW_COMMANDAREA = 4, | 68 | AW_COMMANDAREA = 4, |
| 69 | AW_BUTTON = 5, | 69 | AW_BUTTON = 5 |
| 70 | }; | 70 | }; |
| 71 | 71 | ||
| 72 | #define AEROWIZARDSTYLEPARTS AEROWIZARDPARTS; | 72 | #define AEROWIZARDSTYLEPARTS AEROWIZARDPARTS; |
| 73 | 73 | ||
| 74 | enum TITLEBARSTATES { | 74 | enum TITLEBARSTATES { |
| 75 | AW_S_TITLEBAR_ACTIVE = 1, | 75 | AW_S_TITLEBAR_ACTIVE = 1, |
| 76 | AW_S_TITLEBAR_INACTIVE = 2, | 76 | AW_S_TITLEBAR_INACTIVE = 2 |
| 77 | }; | 77 | }; |
| 78 | 78 | ||
| 79 | enum HEADERAREASTATES { | 79 | enum HEADERAREASTATES { |
| 80 | AW_S_HEADERAREA_NOMARGIN = 1, | 80 | AW_S_HEADERAREA_NOMARGIN = 1 |
| 81 | }; | 81 | }; |
| 82 | 82 | ||
| 83 | enum CONTENTAREASTATES { | 83 | enum CONTENTAREASTATES { |
| 84 | AW_S_CONTENTAREA_NOMARGIN = 1, | 84 | AW_S_CONTENTAREA_NOMARGIN = 1 |
| 85 | }; | 85 | }; |
| 86 | 86 | ||
| 87 | /* BUTTONSTYLE class */ | 87 | /* BUTTONSTYLE class */ |
| ... | @@ -103,7 +103,7 @@ enum BUTTONPARTS { | ... | @@ -103,7 +103,7 @@ enum BUTTONPARTS { |
| 103 | BP_GROUPBOX = 4, | 103 | BP_GROUPBOX = 4, |
| 104 | BP_USERBUTTON = 5, | 104 | BP_USERBUTTON = 5, |
| 105 | BP_COMMANDLINK = 6, | 105 | BP_COMMANDLINK = 6, |
| 106 | BP_COMMANDLINKGLYPH = 7, | 106 | BP_COMMANDLINKGLYPH = 7 |
| 107 | }; | 107 | }; |
| 108 | 108 | ||
| 109 | #define BUTTONSTYLEPARTS BUTTONPARTS; | 109 | #define BUTTONSTYLEPARTS BUTTONPARTS; |
| ... | @@ -114,7 +114,7 @@ enum PUSHBUTTONSTATES { | ... | @@ -114,7 +114,7 @@ enum PUSHBUTTONSTATES { |
| 114 | PBS_PRESSED = 3, | 114 | PBS_PRESSED = 3, |
| 115 | PBS_DISABLED = 4, | 115 | PBS_DISABLED = 4, |
| 116 | PBS_DEFAULTED = 5, | 116 | PBS_DEFAULTED = 5, |
| 117 | PBS_DEFAULTED_ANIMATING = 6, | 117 | PBS_DEFAULTED_ANIMATING = 6 |
| 118 | }; | 118 | }; |
| 119 | 119 | ||
| 120 | enum RADIOBUTTONSTATES { | 120 | enum RADIOBUTTONSTATES { |
| ... | @@ -125,7 +125,7 @@ enum RADIOBUTTONSTATES { | ... | @@ -125,7 +125,7 @@ enum RADIOBUTTONSTATES { |
| 125 | RBS_CHECKEDNORMAL = 5, | 125 | RBS_CHECKEDNORMAL = 5, |
| 126 | RBS_CHECKEDHOT = 6, | 126 | RBS_CHECKEDHOT = 6, |
| 127 | RBS_CHECKEDPRESSED = 7, | 127 | RBS_CHECKEDPRESSED = 7, |
| 128 | RBS_CHECKEDDISABLED = 8, | 128 | RBS_CHECKEDDISABLED = 8 |
| 129 | }; | 129 | }; |
| 130 | 130 | ||
| 131 | enum CHECKBOXSTATES { | 131 | enum CHECKBOXSTATES { |
| ... | @@ -148,12 +148,12 @@ enum CHECKBOXSTATES { | ... | @@ -148,12 +148,12 @@ enum CHECKBOXSTATES { |
| 148 | CBS_EXCLUDEDNORMAL = 17, | 148 | CBS_EXCLUDEDNORMAL = 17, |
| 149 | CBS_EXCLUDEDHOT = 18, | 149 | CBS_EXCLUDEDHOT = 18, |
| 150 | CBS_EXCLUDEDPRESSED = 19, | 150 | CBS_EXCLUDEDPRESSED = 19, |
| 151 | CBS_EXCLUDEDDISABLED = 20, | 151 | CBS_EXCLUDEDDISABLED = 20 |
| 152 | }; | 152 | }; |
| 153 | 153 | ||
| 154 | enum GROUPBOXSTATES { | 154 | enum GROUPBOXSTATES { |
| 155 | GBS_NORMAL = 1, | 155 | GBS_NORMAL = 1, |
| 156 | GBS_DISABLED = 2, | 156 | GBS_DISABLED = 2 |
| 157 | }; | 157 | }; |
| 158 | 158 | ||
| 159 | enum COMMANDLINKSTATES { | 159 | enum COMMANDLINKSTATES { |
| ... | @@ -162,7 +162,7 @@ enum COMMANDLINKSTATES { | ... | @@ -162,7 +162,7 @@ enum COMMANDLINKSTATES { |
| 162 | CMDLS_PRESSED = 3, | 162 | CMDLS_PRESSED = 3, |
| 163 | CMDLS_DISABLED = 4, | 163 | CMDLS_DISABLED = 4, |
| 164 | CMDLS_DEFAULTED = 5, | 164 | CMDLS_DEFAULTED = 5, |
| 165 | CMDLS_DEFAULTED_ANIMATING = 6, | 165 | CMDLS_DEFAULTED_ANIMATING = 6 |
| 166 | }; | 166 | }; |
| 167 | 167 | ||
| 168 | enum COMMANDLINKGLYPHSTATES { | 168 | enum COMMANDLINKGLYPHSTATES { |
| ... | @@ -170,7 +170,7 @@ enum COMMANDLINKGLYPHSTATES { | ... | @@ -170,7 +170,7 @@ enum COMMANDLINKGLYPHSTATES { |
| 170 | CMDLGS_HOT = 2, | 170 | CMDLGS_HOT = 2, |
| 171 | CMDLGS_PRESSED = 3, | 171 | CMDLGS_PRESSED = 3, |
| 172 | CMDLGS_DISABLED = 4, | 172 | CMDLGS_DISABLED = 4, |
| 173 | CMDLGS_DEFAULTED = 5, | 173 | CMDLGS_DEFAULTED = 5 |
| 174 | }; | 174 | }; |
| 175 | 175 | ||
| 176 | /* COMBOBOXSTYLE class */ | 176 | /* COMBOBOXSTYLE class */ |
| ... | @@ -193,7 +193,7 @@ enum COMBOBOXPARTS { | ... | @@ -193,7 +193,7 @@ enum COMBOBOXPARTS { |
| 193 | CP_READONLY = 5, | 193 | CP_READONLY = 5, |
| 194 | CP_DROPDOWNBUTTONRIGHT = 6, | 194 | CP_DROPDOWNBUTTONRIGHT = 6, |
| 195 | CP_DROPDOWNBUTTONLEFT = 7, | 195 | CP_DROPDOWNBUTTONLEFT = 7, |
| 196 | CP_CUEBANNER = 8, | 196 | CP_CUEBANNER = 8 |
| 197 | }; | 197 | }; |
| 198 | 198 | ||
| 199 | #define COMBOBOXSTYLEPARTS COMBOBOXPARTS; | 199 | #define COMBOBOXSTYLEPARTS COMBOBOXPARTS; |
| ... | @@ -202,49 +202,49 @@ enum COMBOBOXSTYLESTATES { | ... | @@ -202,49 +202,49 @@ enum COMBOBOXSTYLESTATES { |
| 202 | CBXS_NORMAL = 1, | 202 | CBXS_NORMAL = 1, |
| 203 | CBXS_HOT = 2, | 203 | CBXS_HOT = 2, |
| 204 | CBXS_PRESSED = 3, | 204 | CBXS_PRESSED = 3, |
| 205 | CBXS_DISABLED = 4, | 205 | CBXS_DISABLED = 4 |
| 206 | }; | 206 | }; |
| 207 | 207 | ||
| 208 | enum DROPDOWNBUTTONRIGHTSTATES { | 208 | enum DROPDOWNBUTTONRIGHTSTATES { |
| 209 | CBXSR_NORMAL = 1, | 209 | CBXSR_NORMAL = 1, |
| 210 | CBXSR_HOT = 2, | 210 | CBXSR_HOT = 2, |
| 211 | CBXSR_PRESSED = 3, | 211 | CBXSR_PRESSED = 3, |
| 212 | CBXSR_DISABLED = 4, | 212 | CBXSR_DISABLED = 4 |
| 213 | }; | 213 | }; |
| 214 | 214 | ||
| 215 | enum DROPDOWNBUTTONLEFTSTATES { | 215 | enum DROPDOWNBUTTONLEFTSTATES { |
| 216 | CBXSL_NORMAL = 1, | 216 | CBXSL_NORMAL = 1, |
| 217 | CBXSL_HOT = 2, | 217 | CBXSL_HOT = 2, |
| 218 | CBXSL_PRESSED = 3, | 218 | CBXSL_PRESSED = 3, |
| 219 | CBXSL_DISABLED = 4, | 219 | CBXSL_DISABLED = 4 |
| 220 | }; | 220 | }; |
| 221 | 221 | ||
| 222 | enum TRANSPARENTBACKGROUNDSTATES { | 222 | enum TRANSPARENTBACKGROUNDSTATES { |
| 223 | CBTBS_NORMAL = 1, | 223 | CBTBS_NORMAL = 1, |
| 224 | CBTBS_HOT = 2, | 224 | CBTBS_HOT = 2, |
| 225 | CBTBS_DISABLED = 3, | 225 | CBTBS_DISABLED = 3, |
| 226 | CBTBS_FOCUSED = 4, | 226 | CBTBS_FOCUSED = 4 |
| 227 | }; | 227 | }; |
| 228 | 228 | ||
| 229 | enum BORDERSTATES { | 229 | enum BORDERSTATES { |
| 230 | CBB_NORMAL = 1, | 230 | CBB_NORMAL = 1, |
| 231 | CBB_HOT = 2, | 231 | CBB_HOT = 2, |
| 232 | CBB_FOCUSED = 3, | 232 | CBB_FOCUSED = 3, |
| 233 | CBB_DISABLED = 4, | 233 | CBB_DISABLED = 4 |
| 234 | }; | 234 | }; |
| 235 | 235 | ||
| 236 | enum READONLYSTATES { | 236 | enum READONLYSTATES { |
| 237 | CBRO_NORMAL = 1, | 237 | CBRO_NORMAL = 1, |
| 238 | CBRO_HOT = 2, | 238 | CBRO_HOT = 2, |
| 239 | CBRO_PRESSED = 3, | 239 | CBRO_PRESSED = 3, |
| 240 | CBRO_DISABLED = 4, | 240 | CBRO_DISABLED = 4 |
| 241 | }; | 241 | }; |
| 242 | 242 | ||
| 243 | enum CUEBANNERSTATES { | 243 | enum CUEBANNERSTATES { |
| 244 | CBCB_NORMAL = 1, | 244 | CBCB_NORMAL = 1, |
| 245 | CBCB_HOT = 2, | 245 | CBCB_HOT = 2, |
| 246 | CBCB_PRESSED = 3, | 246 | CBCB_PRESSED = 3, |
| 247 | CBCB_DISABLED = 4, | 247 | CBCB_DISABLED = 4 |
| 248 | }; | 248 | }; |
| 249 | 249 | ||
| 250 | /* COMMUNICATIONSSTYLE class */ | 250 | /* COMMUNICATIONSSTYLE class */ |
| ... | @@ -260,7 +260,7 @@ static const WCHAR VSCLASS_COMMUNICATIONS [] = {'C','O','M','M','U','N','I','C', | ... | @@ -260,7 +260,7 @@ static const WCHAR VSCLASS_COMMUNICATIONS [] = {'C','O','M','M','U','N','I','C', |
| 260 | #endif | 260 | #endif |
| 261 | 261 | ||
| 262 | enum COMMUNICATIONSPARTS { | 262 | enum COMMUNICATIONSPARTS { |
| 263 | CSST_TAB = 1, | 263 | CSST_TAB = 1 |
| 264 | }; | 264 | }; |
| 265 | 265 | ||
| 266 | #define COMMUNICATIONSSTYLEPARTS COMMUNICATIONSPARTS; | 266 | #define COMMUNICATIONSSTYLEPARTS COMMUNICATIONSPARTS; |
| ... | @@ -268,7 +268,7 @@ enum COMMUNICATIONSPARTS { | ... | @@ -268,7 +268,7 @@ enum COMMUNICATIONSPARTS { |
| 268 | enum TABSTATES { | 268 | enum TABSTATES { |
| 269 | CSTB_NORMAL = 1, | 269 | CSTB_NORMAL = 1, |
| 270 | CSTB_HOT = 2, | 270 | CSTB_HOT = 2, |
| 271 | CSTB_SELECTED = 3, | 271 | CSTB_SELECTED = 3 |
| 272 | }; | 272 | }; |
| 273 | 273 | ||
| 274 | /* CONTROLPANELSTYLE class */ | 274 | /* CONTROLPANELSTYLE class */ |
| ... | @@ -302,7 +302,7 @@ enum CONTROLPANELPARTS { | ... | @@ -302,7 +302,7 @@ enum CONTROLPANELPARTS { |
| 302 | CPANEL_NAVIGATIONPANELINE = 16, | 302 | CPANEL_NAVIGATIONPANELINE = 16, |
| 303 | CPANEL_CONTENTPANELINE = 17, | 303 | CPANEL_CONTENTPANELINE = 17, |
| 304 | CPANEL_BANNERAREA = 18, | 304 | CPANEL_BANNERAREA = 18, |
| 305 | CPANEL_BODYTITLE = 19, | 305 | CPANEL_BODYTITLE = 19 |
| 306 | }; | 306 | }; |
| 307 | 307 | ||
| 308 | #define CONTROLPANELSTYLEPARTS CONTROLPANELPARTS; | 308 | #define CONTROLPANELSTYLEPARTS CONTROLPANELPARTS; |
| ... | @@ -311,7 +311,7 @@ enum HELPLINKSTATES { | ... | @@ -311,7 +311,7 @@ enum HELPLINKSTATES { |
| 311 | CPHL_NORMAL = 1, | 311 | CPHL_NORMAL = 1, |
| 312 | CPHL_HOT = 2, | 312 | CPHL_HOT = 2, |
| 313 | CPHL_PRESSED = 3, | 313 | CPHL_PRESSED = 3, |
| 314 | CPHL_DISABLED = 4, | 314 | CPHL_DISABLED = 4 |
| 315 | }; | 315 | }; |
| 316 | 316 | ||
| 317 | enum TASKLINKSTATES { | 317 | enum TASKLINKSTATES { |
| ... | @@ -319,19 +319,19 @@ enum TASKLINKSTATES { | ... | @@ -319,19 +319,19 @@ enum TASKLINKSTATES { |
| 319 | CPTL_HOT = 2, | 319 | CPTL_HOT = 2, |
| 320 | CPTL_PRESSED = 3, | 320 | CPTL_PRESSED = 3, |
| 321 | CPTL_DISABLED = 4, | 321 | CPTL_DISABLED = 4, |
| 322 | CPTL_PAGE = 5, | 322 | CPTL_PAGE = 5 |
| 323 | }; | 323 | }; |
| 324 | 324 | ||
| 325 | enum CONTENTLINKSTATES { | 325 | enum CONTENTLINKSTATES { |
| 326 | CPCL_NORMAL = 1, | 326 | CPCL_NORMAL = 1, |
| 327 | CPCL_HOT = 2, | 327 | CPCL_HOT = 2, |
| 328 | CPCL_PRESSED = 3, | 328 | CPCL_PRESSED = 3, |
| 329 | CPCL_DISABLED = 4, | 329 | CPCL_DISABLED = 4 |
| 330 | }; | 330 | }; |
| 331 | 331 | ||
| 332 | enum SECTIONTITLELINKSTATES { | 332 | enum SECTIONTITLELINKSTATES { |
| 333 | CPSTL_NORMAL = 1, | 333 | CPSTL_NORMAL = 1, |
| 334 | CPSTL_HOT = 2, | 334 | CPSTL_HOT = 2 |
| 335 | }; | 335 | }; |
| 336 | 336 | ||
| 337 | /* DATEPICKERSTYLE class */ | 337 | /* DATEPICKERSTYLE class */ |
| ... | @@ -349,7 +349,7 @@ static const WCHAR VSCLASS_DATEPICKER [] = {'D','A','T','E','P','I','C','K','E', | ... | @@ -349,7 +349,7 @@ static const WCHAR VSCLASS_DATEPICKER [] = {'D','A','T','E','P','I','C','K','E', |
| 349 | enum DATEPICKERPARTS { | 349 | enum DATEPICKERPARTS { |
| 350 | DP_DATETEXT = 1, | 350 | DP_DATETEXT = 1, |
| 351 | DP_DATEBORDER = 2, | 351 | DP_DATEBORDER = 2, |
| 352 | DP_SHOWCALENDARBUTTONRIGHT = 3, | 352 | DP_SHOWCALENDARBUTTONRIGHT = 3 |
| 353 | }; | 353 | }; |
| 354 | 354 | ||
| 355 | #define DATEPICKERSTYLEPARTS DATEPICKERPARTS; | 355 | #define DATEPICKERSTYLEPARTS DATEPICKERPARTS; |
| ... | @@ -357,21 +357,21 @@ enum DATEPICKERPARTS { | ... | @@ -357,21 +357,21 @@ enum DATEPICKERPARTS { |
| 357 | enum DATETEXTSTATES { | 357 | enum DATETEXTSTATES { |
| 358 | DPDT_NORMAL = 1, | 358 | DPDT_NORMAL = 1, |
| 359 | DPDT_DISABLED = 2, | 359 | DPDT_DISABLED = 2, |
| 360 | DPDT_SELECTED = 3, | 360 | DPDT_SELECTED = 3 |
| 361 | }; | 361 | }; |
| 362 | 362 | ||
| 363 | enum DATEBORDERSTATES { | 363 | enum DATEBORDERSTATES { |
| 364 | DPDB_NORMAL = 1, | 364 | DPDB_NORMAL = 1, |
| 365 | DPDB_HOT = 2, | 365 | DPDB_HOT = 2, |
| 366 | DPDB_FOCUSED = 3, | 366 | DPDB_FOCUSED = 3, |
| 367 | DPDB_DISABLED = 4, | 367 | DPDB_DISABLED = 4 |
| 368 | }; | 368 | }; |
| 369 | 369 | ||
| 370 | enum SHOWCALENDARBUTTONRIGHTSTATES { | 370 | enum SHOWCALENDARBUTTONRIGHTSTATES { |
| 371 | DPSCBR_NORMAL = 1, | 371 | DPSCBR_NORMAL = 1, |
| 372 | DPSCBR_HOT = 2, | 372 | DPSCBR_HOT = 2, |
| 373 | DPSCBR_PRESSED = 3, | 373 | DPSCBR_PRESSED = 3, |
| 374 | DPSCBR_DISABLED = 4, | 374 | DPSCBR_DISABLED = 4 |
| 375 | }; | 375 | }; |
| 376 | 376 | ||
| 377 | /* DRAGDROPSTYLE class */ | 377 | /* DRAGDROPSTYLE class */ |
| ... | @@ -394,39 +394,39 @@ enum DRAGDROPPARTS { | ... | @@ -394,39 +394,39 @@ enum DRAGDROPPARTS { |
| 394 | DD_WARNING = 5, | 394 | DD_WARNING = 5, |
| 395 | DD_NONE = 6, | 395 | DD_NONE = 6, |
| 396 | DD_IMAGEBG = 7, | 396 | DD_IMAGEBG = 7, |
| 397 | DD_TEXTBG = 8, | 397 | DD_TEXTBG = 8 |
| 398 | }; | 398 | }; |
| 399 | 399 | ||
| 400 | #define DRAGDROPSTYLEPARTS DRAGDROPPARTS; | 400 | #define DRAGDROPSTYLEPARTS DRAGDROPPARTS; |
| 401 | 401 | ||
| 402 | enum COPYSTATES { | 402 | enum COPYSTATES { |
| 403 | DDCOPY_HIGHLIGHT = 1, | 403 | DDCOPY_HIGHLIGHT = 1, |
| 404 | DDCOPY_NOHIGHLIGHT = 2, | 404 | DDCOPY_NOHIGHLIGHT = 2 |
| 405 | }; | 405 | }; |
| 406 | 406 | ||
| 407 | enum MOVESTATES { | 407 | enum MOVESTATES { |
| 408 | DDMOVE_HIGHLIGHT = 1, | 408 | DDMOVE_HIGHLIGHT = 1, |
| 409 | DDMOVE_NOHIGHLIGHT = 2, | 409 | DDMOVE_NOHIGHLIGHT = 2 |
| 410 | }; | 410 | }; |
| 411 | 411 | ||
| 412 | enum UPDATEMETADATASTATES { | 412 | enum UPDATEMETADATASTATES { |
| 413 | DDUPDATEMETADATA_HIGHLIGHT = 1, | 413 | DDUPDATEMETADATA_HIGHLIGHT = 1, |
| 414 | DDUPDATEMETADATA_NOHIGHLIGHT = 2, | 414 | DDUPDATEMETADATA_NOHIGHLIGHT = 2 |
| 415 | }; | 415 | }; |
| 416 | 416 | ||
| 417 | enum CREATELINKSTATES { | 417 | enum CREATELINKSTATES { |
| 418 | DDCREATELINK_HIGHLIGHT = 1, | 418 | DDCREATELINK_HIGHLIGHT = 1, |
| 419 | DDCREATELINK_NOHIGHLIGHT = 2, | 419 | DDCREATELINK_NOHIGHLIGHT = 2 |
| 420 | }; | 420 | }; |
| 421 | 421 | ||
| 422 | enum WARNINGSTATES { | 422 | enum WARNINGSTATES { |
| 423 | DDWARNING_HIGHLIGHT = 1, | 423 | DDWARNING_HIGHLIGHT = 1, |
| 424 | DDWARNING_NOHIGHLIGHT = 2, | 424 | DDWARNING_NOHIGHLIGHT = 2 |
| 425 | }; | 425 | }; |
| 426 | 426 | ||
| 427 | enum NONESTATES { | 427 | enum NONESTATES { |
| 428 | DDNONE_HIGHLIGHT = 1, | 428 | DDNONE_HIGHLIGHT = 1, |
| 429 | DDNONE_NOHIGHLIGHT = 2, | 429 | DDNONE_NOHIGHLIGHT = 2 |
| 430 | }; | 430 | }; |
| 431 | 431 | ||
| 432 | /* EDITSTYLE class */ | 432 | /* EDITSTYLE class */ |
| ... | @@ -450,7 +450,7 @@ enum EDITPARTS { | ... | @@ -450,7 +450,7 @@ enum EDITPARTS { |
| 450 | EP_EDITBORDER_NOSCROLL = 6, | 450 | EP_EDITBORDER_NOSCROLL = 6, |
| 451 | EP_EDITBORDER_HSCROLL = 7, | 451 | EP_EDITBORDER_HSCROLL = 7, |
| 452 | EP_EDITBORDER_VSCROLL = 8, | 452 | EP_EDITBORDER_VSCROLL = 8, |
| 453 | EP_EDITBORDER_HVSCROLL = 9, | 453 | EP_EDITBORDER_HVSCROLL = 9 |
| 454 | }; | 454 | }; |
| 455 | 455 | ||
| 456 | #define EDITSTYLEPARTS EDITPARTS; | 456 | #define EDITSTYLEPARTS EDITPARTS; |
| ... | @@ -463,7 +463,7 @@ enum EDITTEXTSTATES { | ... | @@ -463,7 +463,7 @@ enum EDITTEXTSTATES { |
| 463 | ETS_FOCUSED = 5, | 463 | ETS_FOCUSED = 5, |
| 464 | ETS_READONLY = 6, | 464 | ETS_READONLY = 6, |
| 465 | ETS_ASSIST = 7, | 465 | ETS_ASSIST = 7, |
| 466 | ETS_CUEBANNER = 8, | 466 | ETS_CUEBANNER = 8 |
| 467 | }; | 467 | }; |
| 468 | 468 | ||
| 469 | enum BACKGROUNDSTATES { | 469 | enum BACKGROUNDSTATES { |
| ... | @@ -472,42 +472,42 @@ enum BACKGROUNDSTATES { | ... | @@ -472,42 +472,42 @@ enum BACKGROUNDSTATES { |
| 472 | EBS_DISABLED = 3, | 472 | EBS_DISABLED = 3, |
| 473 | EBS_FOCUSED = 4, | 473 | EBS_FOCUSED = 4, |
| 474 | EBS_READONLY = 5, | 474 | EBS_READONLY = 5, |
| 475 | EBS_ASSIST = 6, | 475 | EBS_ASSIST = 6 |
| 476 | }; | 476 | }; |
| 477 | 477 | ||
| 478 | enum BACKGROUNDWITHBORDERSTATES { | 478 | enum BACKGROUNDWITHBORDERSTATES { |
| 479 | EBWBS_NORMAL = 1, | 479 | EBWBS_NORMAL = 1, |
| 480 | EBWBS_HOT = 2, | 480 | EBWBS_HOT = 2, |
| 481 | EBWBS_DISABLED = 3, | 481 | EBWBS_DISABLED = 3, |
| 482 | EBWBS_FOCUSED = 4, | 482 | EBWBS_FOCUSED = 4 |
| 483 | }; | 483 | }; |
| 484 | 484 | ||
| 485 | enum EDITBORDER_NOSCROLLSTATES { | 485 | enum EDITBORDER_NOSCROLLSTATES { |
| 486 | EPSN_NORMAL = 1, | 486 | EPSN_NORMAL = 1, |
| 487 | EPSN_HOT = 2, | 487 | EPSN_HOT = 2, |
| 488 | EPSN_FOCUSED = 3, | 488 | EPSN_FOCUSED = 3, |
| 489 | EPSN_DISABLED = 4, | 489 | EPSN_DISABLED = 4 |
| 490 | }; | 490 | }; |
| 491 | 491 | ||
| 492 | enum EDITBORDER_HSCROLLSTATES { | 492 | enum EDITBORDER_HSCROLLSTATES { |
| 493 | EPSH_NORMAL = 1, | 493 | EPSH_NORMAL = 1, |
| 494 | EPSH_HOT = 2, | 494 | EPSH_HOT = 2, |
| 495 | EPSH_FOCUSED = 3, | 495 | EPSH_FOCUSED = 3, |
| 496 | EPSH_DISABLED = 4, | 496 | EPSH_DISABLED = 4 |
| 497 | }; | 497 | }; |
| 498 | 498 | ||
| 499 | enum EDITBORDER_VSCROLLSTATES { | 499 | enum EDITBORDER_VSCROLLSTATES { |
| 500 | EPSV_NORMAL = 1, | 500 | EPSV_NORMAL = 1, |
| 501 | EPSV_HOT = 2, | 501 | EPSV_HOT = 2, |
| 502 | EPSV_FOCUSED = 3, | 502 | EPSV_FOCUSED = 3, |
| 503 | EPSV_DISABLED = 4, | 503 | EPSV_DISABLED = 4 |
| 504 | }; | 504 | }; |
| 505 | 505 | ||
| 506 | enum EDITBORDER_HVSCROLLSTATES { | 506 | enum EDITBORDER_HVSCROLLSTATES { |
| 507 | EPSHV_NORMAL = 1, | 507 | EPSHV_NORMAL = 1, |
| 508 | EPSHV_HOT = 2, | 508 | EPSHV_HOT = 2, |
| 509 | EPSHV_FOCUSED = 3, | 509 | EPSHV_FOCUSED = 3, |
| 510 | EPSHV_DISABLED = 4, | 510 | EPSHV_DISABLED = 4 |
| 511 | }; | 511 | }; |
| 512 | 512 | ||
| 513 | /* EXPLORERBARSTYLE class */ | 513 | /* EXPLORERBARSTYLE class */ |
| ... | @@ -534,7 +534,7 @@ enum EXPLORERBARPARTS { | ... | @@ -534,7 +534,7 @@ enum EXPLORERBARPARTS { |
| 534 | EBP_SPECIALGROUPBACKGROUND = 9, | 534 | EBP_SPECIALGROUPBACKGROUND = 9, |
| 535 | EBP_SPECIALGROUPCOLLAPSE = 10, | 535 | EBP_SPECIALGROUPCOLLAPSE = 10, |
| 536 | EBP_SPECIALGROUPEXPAND = 11, | 536 | EBP_SPECIALGROUPEXPAND = 11, |
| 537 | EBP_SPECIALGROUPHEAD = 12, | 537 | EBP_SPECIALGROUPHEAD = 12 |
| 538 | }; | 538 | }; |
| 539 | 539 | ||
| 540 | #define EXPLORERBARSTYLEPARTS EXPLORERBARPARTS; | 540 | #define EXPLORERBARSTYLEPARTS EXPLORERBARPARTS; |
| ... | @@ -542,7 +542,7 @@ enum EXPLORERBARPARTS { | ... | @@ -542,7 +542,7 @@ enum EXPLORERBARPARTS { |
| 542 | enum HEADERCLOSESTATES { | 542 | enum HEADERCLOSESTATES { |
| 543 | EBHC_NORMAL = 1, | 543 | EBHC_NORMAL = 1, |
| 544 | EBHC_HOT = 2, | 544 | EBHC_HOT = 2, |
| 545 | EBHC_PRESSED = 3, | 545 | EBHC_PRESSED = 3 |
| 546 | }; | 546 | }; |
| 547 | 547 | ||
| 548 | enum HEADERPINSTATES { | 548 | enum HEADERPINSTATES { |
| ... | @@ -551,37 +551,37 @@ enum HEADERPINSTATES { | ... | @@ -551,37 +551,37 @@ enum HEADERPINSTATES { |
| 551 | EBHP_PRESSED = 3, | 551 | EBHP_PRESSED = 3, |
| 552 | EBHP_SELECTEDNORMAL = 4, | 552 | EBHP_SELECTEDNORMAL = 4, |
| 553 | EBHP_SELECTEDHOT = 5, | 553 | EBHP_SELECTEDHOT = 5, |
| 554 | EBHP_SELECTEDPRESSED = 6, | 554 | EBHP_SELECTEDPRESSED = 6 |
| 555 | }; | 555 | }; |
| 556 | 556 | ||
| 557 | enum IEBARMENUSTATES { | 557 | enum IEBARMENUSTATES { |
| 558 | EBM_NORMAL = 1, | 558 | EBM_NORMAL = 1, |
| 559 | EBM_HOT = 2, | 559 | EBM_HOT = 2, |
| 560 | EBM_PRESSED = 3, | 560 | EBM_PRESSED = 3 |
| 561 | }; | 561 | }; |
| 562 | 562 | ||
| 563 | enum NORMALGROUPCOLLAPSESTATES { | 563 | enum NORMALGROUPCOLLAPSESTATES { |
| 564 | EBNGC_NORMAL = 1, | 564 | EBNGC_NORMAL = 1, |
| 565 | EBNGC_HOT = 2, | 565 | EBNGC_HOT = 2, |
| 566 | EBNGC_PRESSED = 3, | 566 | EBNGC_PRESSED = 3 |
| 567 | }; | 567 | }; |
| 568 | 568 | ||
| 569 | enum NORMALGROUPEXPANDSTATES { | 569 | enum NORMALGROUPEXPANDSTATES { |
| 570 | EBNGE_NORMAL = 1, | 570 | EBNGE_NORMAL = 1, |
| 571 | EBNGE_HOT = 2, | 571 | EBNGE_HOT = 2, |
| 572 | EBNGE_PRESSED = 3, | 572 | EBNGE_PRESSED = 3 |
| 573 | }; | 573 | }; |
| 574 | 574 | ||
| 575 | enum SPECIALGROUPCOLLAPSESTATES { | 575 | enum SPECIALGROUPCOLLAPSESTATES { |
| 576 | EBSGC_NORMAL = 1, | 576 | EBSGC_NORMAL = 1, |
| 577 | EBSGC_HOT = 2, | 577 | EBSGC_HOT = 2, |
| 578 | EBSGC_PRESSED = 3, | 578 | EBSGC_PRESSED = 3 |
| 579 | }; | 579 | }; |
| 580 | 580 | ||
| 581 | enum SPECIALGROUPEXPANDSTATES { | 581 | enum SPECIALGROUPEXPANDSTATES { |
| 582 | EBSGE_NORMAL = 1, | 582 | EBSGE_NORMAL = 1, |
| 583 | EBSGE_HOT = 2, | 583 | EBSGE_HOT = 2, |
| 584 | EBSGE_PRESSED = 3, | 584 | EBSGE_PRESSED = 3 |
| 585 | }; | 585 | }; |
| 586 | 586 | ||
| 587 | /* FLYOUTSTYLE class */ | 587 | /* FLYOUTSTYLE class */ |
| ... | @@ -604,7 +604,7 @@ enum FLYOUTPARTS { | ... | @@ -604,7 +604,7 @@ enum FLYOUTPARTS { |
| 604 | FLYOUT_DIVIDER = 5, | 604 | FLYOUT_DIVIDER = 5, |
| 605 | FLYOUT_WINDOW = 6, | 605 | FLYOUT_WINDOW = 6, |
| 606 | FLYOUT_LINKAREA = 7, | 606 | FLYOUT_LINKAREA = 7, |
| 607 | FLYOUT_LINKHEADER = 8, | 607 | FLYOUT_LINKHEADER = 8 |
| 608 | }; | 608 | }; |
| 609 | 609 | ||
| 610 | #define FLYOUTSTYLEPARTS FLYOUTPARTS; | 610 | #define FLYOUTSTYLEPARTS FLYOUTPARTS; |
| ... | @@ -613,22 +613,22 @@ enum LABELSTATES { | ... | @@ -613,22 +613,22 @@ enum LABELSTATES { |
| 613 | FLS_NORMAL = 1, | 613 | FLS_NORMAL = 1, |
| 614 | FLS_SELECTED = 2, | 614 | FLS_SELECTED = 2, |
| 615 | FLS_EMPHASIZED = 3, | 615 | FLS_EMPHASIZED = 3, |
| 616 | FLS_DISABLED = 4, | 616 | FLS_DISABLED = 4 |
| 617 | }; | 617 | }; |
| 618 | 618 | ||
| 619 | enum LINKSTATES { | 619 | enum LINKSTATES { |
| 620 | FLYOUTLINK_NORMAL = 1, | 620 | FLYOUTLINK_NORMAL = 1, |
| 621 | FLYOUTLINK_HOVER = 2, | 621 | FLYOUTLINK_HOVER = 2 |
| 622 | }; | 622 | }; |
| 623 | 623 | ||
| 624 | enum BODYSTATES { | 624 | enum BODYSTATES { |
| 625 | FBS_NORMAL = 1, | 625 | FBS_NORMAL = 1, |
| 626 | FBS_EMPHASIZED = 2, | 626 | FBS_EMPHASIZED = 2 |
| 627 | }; | 627 | }; |
| 628 | 628 | ||
| 629 | enum LINKHEADERSTATES { | 629 | enum LINKHEADERSTATES { |
| 630 | FLH_NORMAL = 1, | 630 | FLH_NORMAL = 1, |
| 631 | FLH_HOVER = 2, | 631 | FLH_HOVER = 2 |
| 632 | }; | 632 | }; |
| 633 | 633 | ||
| 634 | /* HEADERSTYLE class */ | 634 | /* HEADERSTYLE class */ |
| ... | @@ -650,14 +650,14 @@ enum HEADERPARTS { | ... | @@ -650,14 +650,14 @@ enum HEADERPARTS { |
| 650 | HP_HEADERSORTARROW = 4, | 650 | HP_HEADERSORTARROW = 4, |
| 651 | HP_HEADERDROPDOWN = 5, | 651 | HP_HEADERDROPDOWN = 5, |
| 652 | HP_HEADERDROPDOWNFILTER = 6, | 652 | HP_HEADERDROPDOWNFILTER = 6, |
| 653 | HP_HEADEROVERFLOW = 7, | 653 | HP_HEADEROVERFLOW = 7 |
| 654 | }; | 654 | }; |
| 655 | 655 | ||
| 656 | #define HEADERSTYLEPARTS HEADERPARTS; | 656 | #define HEADERSTYLEPARTS HEADERPARTS; |
| 657 | 657 | ||
| 658 | enum HEADERSTYLESTATES { | 658 | enum HEADERSTYLESTATES { |
| 659 | HBG_DETAILS = 1, | 659 | HBG_DETAILS = 1, |
| 660 | HBG_ICON = 2, | 660 | HBG_ICON = 2 |
| 661 | }; | 661 | }; |
| 662 | 662 | ||
| 663 | enum HEADERITEMSTATES { | 663 | enum HEADERITEMSTATES { |
| ... | @@ -672,41 +672,41 @@ enum HEADERITEMSTATES { | ... | @@ -672,41 +672,41 @@ enum HEADERITEMSTATES { |
| 672 | HIS_ICONPRESSED = 9, | 672 | HIS_ICONPRESSED = 9, |
| 673 | HIS_ICONSORTEDNORMAL = 10, | 673 | HIS_ICONSORTEDNORMAL = 10, |
| 674 | HIS_ICONSORTEDHOT = 11, | 674 | HIS_ICONSORTEDHOT = 11, |
| 675 | HIS_ICONSORTEDPRESSED = 12, | 675 | HIS_ICONSORTEDPRESSED = 12 |
| 676 | }; | 676 | }; |
| 677 | 677 | ||
| 678 | enum HEADERITEMLEFTSTATES { | 678 | enum HEADERITEMLEFTSTATES { |
| 679 | HILS_NORMAL = 1, | 679 | HILS_NORMAL = 1, |
| 680 | HILS_HOT = 2, | 680 | HILS_HOT = 2, |
| 681 | HILS_PRESSED = 3, | 681 | HILS_PRESSED = 3 |
| 682 | }; | 682 | }; |
| 683 | 683 | ||
| 684 | enum HEADERITEMRIGHTSTATES { | 684 | enum HEADERITEMRIGHTSTATES { |
| 685 | HIRS_NORMAL = 1, | 685 | HIRS_NORMAL = 1, |
| 686 | HIRS_HOT = 2, | 686 | HIRS_HOT = 2, |
| 687 | HIRS_PRESSED = 3, | 687 | HIRS_PRESSED = 3 |
| 688 | }; | 688 | }; |
| 689 | 689 | ||
| 690 | enum HEADERSORTARROWSTATES { | 690 | enum HEADERSORTARROWSTATES { |
| 691 | HSAS_SORTEDUP = 1, | 691 | HSAS_SORTEDUP = 1, |
| 692 | HSAS_SORTEDDOWN = 2, | 692 | HSAS_SORTEDDOWN = 2 |
| 693 | }; | 693 | }; |
| 694 | 694 | ||
| 695 | enum HEADERDROPDOWNSTATES { | 695 | enum HEADERDROPDOWNSTATES { |
| 696 | HDDS_NORMAL = 1, | 696 | HDDS_NORMAL = 1, |
| 697 | HDDS_SOFTHOT = 2, | 697 | HDDS_SOFTHOT = 2, |
| 698 | HDDS_HOT = 3, | 698 | HDDS_HOT = 3 |
| 699 | }; | 699 | }; |
| 700 | 700 | ||
| 701 | enum HEADERDROPDOWNFILTERSTATES { | 701 | enum HEADERDROPDOWNFILTERSTATES { |
| 702 | HDDFS_NORMAL = 1, | 702 | HDDFS_NORMAL = 1, |
| 703 | HDDFS_SOFTHOT = 2, | 703 | HDDFS_SOFTHOT = 2, |
| 704 | HDDFS_HOT = 3, | 704 | HDDFS_HOT = 3 |
| 705 | }; | 705 | }; |
| 706 | 706 | ||
| 707 | enum HEADEROVERFLOWSTATES { | 707 | enum HEADEROVERFLOWSTATES { |
| 708 | HOFS_NORMAL = 1, | 708 | HOFS_NORMAL = 1, |
| 709 | HOFS_HOT = 2, | 709 | HOFS_HOT = 2 |
| 710 | }; | 710 | }; |
| 711 | 711 | ||
| 712 | /* LISTBOXSTYLE class */ | 712 | /* LISTBOXSTYLE class */ |
| ... | @@ -726,7 +726,7 @@ enum LISTBOXPARTS { | ... | @@ -726,7 +726,7 @@ enum LISTBOXPARTS { |
| 726 | LBCP_BORDER_HVSCROLL = 2, | 726 | LBCP_BORDER_HVSCROLL = 2, |
| 727 | LBCP_BORDER_NOSCROLL = 3, | 727 | LBCP_BORDER_NOSCROLL = 3, |
| 728 | LBCP_BORDER_VSCROLL = 4, | 728 | LBCP_BORDER_VSCROLL = 4, |
| 729 | LBCP_ITEM = 5, | 729 | LBCP_ITEM = 5 |
| 730 | }; | 730 | }; |
| 731 | 731 | ||
| 732 | #define LISTBOXSTYLEPARTS LISTBOXPARTS; | 732 | #define LISTBOXSTYLEPARTS LISTBOXPARTS; |
| ... | @@ -735,35 +735,35 @@ enum BORDER_HSCROLLSTATES { | ... | @@ -735,35 +735,35 @@ enum BORDER_HSCROLLSTATES { |
| 735 | LBPSH_NORMAL = 1, | 735 | LBPSH_NORMAL = 1, |
| 736 | LBPSH_FOCUSED = 2, | 736 | LBPSH_FOCUSED = 2, |
| 737 | LBPSH_HOT = 3, | 737 | LBPSH_HOT = 3, |
| 738 | LBPSH_DISABLED = 4, | 738 | LBPSH_DISABLED = 4 |
| 739 | }; | 739 | }; |
| 740 | 740 | ||
| 741 | enum BORDER_HVSCROLLSTATES { | 741 | enum BORDER_HVSCROLLSTATES { |
| 742 | LBPSHV_NORMAL = 1, | 742 | LBPSHV_NORMAL = 1, |
| 743 | LBPSHV_FOCUSED = 2, | 743 | LBPSHV_FOCUSED = 2, |
| 744 | LBPSHV_HOT = 3, | 744 | LBPSHV_HOT = 3, |
| 745 | LBPSHV_DISABLED = 4, | 745 | LBPSHV_DISABLED = 4 |
| 746 | }; | 746 | }; |
| 747 | 747 | ||
| 748 | enum BORDER_NOSCROLLSTATES { | 748 | enum BORDER_NOSCROLLSTATES { |
| 749 | LBPSN_NORMAL = 1, | 749 | LBPSN_NORMAL = 1, |
| 750 | LBPSN_FOCUSED = 2, | 750 | LBPSN_FOCUSED = 2, |
| 751 | LBPSN_HOT = 3, | 751 | LBPSN_HOT = 3, |
| 752 | LBPSN_DISABLED = 4, | 752 | LBPSN_DISABLED = 4 |
| 753 | }; | 753 | }; |
| 754 | 754 | ||
| 755 | enum BORDER_VSCROLLSTATES { | 755 | enum BORDER_VSCROLLSTATES { |
| 756 | LBPSV_NORMAL = 1, | 756 | LBPSV_NORMAL = 1, |
| 757 | LBPSV_FOCUSED = 2, | 757 | LBPSV_FOCUSED = 2, |
| 758 | LBPSV_HOT = 3, | 758 | LBPSV_HOT = 3, |
| 759 | LBPSV_DISABLED = 4, | 759 | LBPSV_DISABLED = 4 |
| 760 | }; | 760 | }; |
| 761 | 761 | ||
| 762 | enum ITEMSTATES { | 762 | enum ITEMSTATES { |
| 763 | LBPSI_HOT = 1, | 763 | LBPSI_HOT = 1, |
| 764 | LBPSI_HOTSELECTED = 2, | 764 | LBPSI_HOTSELECTED = 2, |
| 765 | LBPSI_SELECTED = 3, | 765 | LBPSI_SELECTED = 3, |
| 766 | LBPSI_SELECTEDNOTFOCUS = 4, | 766 | LBPSI_SELECTEDNOTFOCUS = 4 |
| 767 | }; | 767 | }; |
| 768 | 768 | ||
| 769 | /* LISTVIEWSTYLE class */ | 769 | /* LISTVIEWSTYLE class */ |
| ... | @@ -788,7 +788,7 @@ enum LISTVIEWPARTS { | ... | @@ -788,7 +788,7 @@ enum LISTVIEWPARTS { |
| 788 | LVP_GROUPHEADERLINE = 7, | 788 | LVP_GROUPHEADERLINE = 7, |
| 789 | LVP_EXPANDBUTTON = 8, | 789 | LVP_EXPANDBUTTON = 8, |
| 790 | LVP_COLLAPSEBUTTON = 9, | 790 | LVP_COLLAPSEBUTTON = 9, |
| 791 | LVP_COLUMNDETAIL = 10, | 791 | LVP_COLUMNDETAIL = 10 |
| 792 | }; | 792 | }; |
| 793 | 793 | ||
| 794 | #define LISTVIEWSTYLEPARTS LISTVIEWPARTS; | 794 | #define LISTVIEWSTYLEPARTS LISTVIEWPARTS; |
| ... | @@ -799,7 +799,7 @@ enum LISTITEMSTATES { | ... | @@ -799,7 +799,7 @@ enum LISTITEMSTATES { |
| 799 | LISS_SELECTED = 3, | 799 | LISS_SELECTED = 3, |
| 800 | LISS_DISABLED = 4, | 800 | LISS_DISABLED = 4, |
| 801 | LISS_SELECTEDNOTFOCUS = 5, | 801 | LISS_SELECTEDNOTFOCUS = 5, |
| 802 | LISS_HOTSELECTED = 6, | 802 | LISS_HOTSELECTED = 6 |
| 803 | }; | 803 | }; |
| 804 | 804 | ||
| 805 | enum GROUPHEADERSTATES { | 805 | enum GROUPHEADERSTATES { |
| ... | @@ -818,7 +818,7 @@ enum GROUPHEADERSTATES { | ... | @@ -818,7 +818,7 @@ enum GROUPHEADERSTATES { |
| 818 | LVGH_CLOSESELECTEDNOTFOCUSED = 13, | 818 | LVGH_CLOSESELECTEDNOTFOCUSED = 13, |
| 819 | LVGH_CLOSESELECTEDNOTFOCUSEDHOT = 14, | 819 | LVGH_CLOSESELECTEDNOTFOCUSEDHOT = 14, |
| 820 | LVGH_CLOSEMIXEDSELECTION = 15, | 820 | LVGH_CLOSEMIXEDSELECTION = 15, |
| 821 | LVGH_CLOSEMIXEDSELECTIONHOT = 16, | 821 | LVGH_CLOSEMIXEDSELECTIONHOT = 16 |
| 822 | }; | 822 | }; |
| 823 | 823 | ||
| 824 | enum GROUPHEADERLINESTATES { | 824 | enum GROUPHEADERLINESTATES { |
| ... | @@ -837,19 +837,19 @@ enum GROUPHEADERLINESTATES { | ... | @@ -837,19 +837,19 @@ enum GROUPHEADERLINESTATES { |
| 837 | LVGHL_CLOSESELECTEDNOTFOCUSED = 13, | 837 | LVGHL_CLOSESELECTEDNOTFOCUSED = 13, |
| 838 | LVGHL_CLOSESELECTEDNOTFOCUSEDHOT = 14, | 838 | LVGHL_CLOSESELECTEDNOTFOCUSEDHOT = 14, |
| 839 | LVGHL_CLOSEMIXEDSELECTION = 15, | 839 | LVGHL_CLOSEMIXEDSELECTION = 15, |
| 840 | LVGHL_CLOSEMIXEDSELECTIONHOT = 16, | 840 | LVGHL_CLOSEMIXEDSELECTIONHOT = 16 |
| 841 | }; | 841 | }; |
| 842 | 842 | ||
| 843 | enum EXPANDBUTTONSTATES { | 843 | enum EXPANDBUTTONSTATES { |
| 844 | LVEB_NORMAL = 1, | 844 | LVEB_NORMAL = 1, |
| 845 | LVEB_HOVER = 2, | 845 | LVEB_HOVER = 2, |
| 846 | LVEB_PUSHED = 3, | 846 | LVEB_PUSHED = 3 |
| 847 | }; | 847 | }; |
| 848 | 848 | ||
| 849 | enum COLLAPSEBUTTONSTATES { | 849 | enum COLLAPSEBUTTONSTATES { |
| 850 | LVCB_NORMAL = 1, | 850 | LVCB_NORMAL = 1, |
| 851 | LVCB_HOVER = 2, | 851 | LVCB_HOVER = 2, |
| 852 | LVCB_PUSHED = 3, | 852 | LVCB_PUSHED = 3 |
| 853 | }; | 853 | }; |
| 854 | 854 | ||
| 855 | /* MENUSTYLE class */ | 855 | /* MENUSTYLE class */ |
| ... | @@ -884,14 +884,14 @@ enum MENUPARTS { | ... | @@ -884,14 +884,14 @@ enum MENUPARTS { |
| 884 | MENU_SYSTEMCLOSE = 17, | 884 | MENU_SYSTEMCLOSE = 17, |
| 885 | MENU_SYSTEMMAXIMIZE = 18, | 885 | MENU_SYSTEMMAXIMIZE = 18, |
| 886 | MENU_SYSTEMMINIMIZE = 19, | 886 | MENU_SYSTEMMINIMIZE = 19, |
| 887 | MENU_SYSTEMRESTORE = 20, | 887 | MENU_SYSTEMRESTORE = 20 |
| 888 | }; | 888 | }; |
| 889 | 889 | ||
| 890 | #define MENUSTYLEPARTS MENUPARTS; | 890 | #define MENUSTYLEPARTS MENUPARTS; |
| 891 | 891 | ||
| 892 | enum BARBACKGROUNDSTATES { | 892 | enum BARBACKGROUNDSTATES { |
| 893 | MB_ACTIVE = 1, | 893 | MB_ACTIVE = 1, |
| 894 | MB_INACTIVE = 2, | 894 | MB_INACTIVE = 2 |
| 895 | }; | 895 | }; |
| 896 | 896 | ||
| 897 | enum BARITEMSTATES { | 897 | enum BARITEMSTATES { |
| ... | @@ -900,52 +900,52 @@ enum BARITEMSTATES { | ... | @@ -900,52 +900,52 @@ enum BARITEMSTATES { |
| 900 | MBI_PUSHED = 3, | 900 | MBI_PUSHED = 3, |
| 901 | MBI_DISABLED = 4, | 901 | MBI_DISABLED = 4, |
| 902 | MBI_DISABLEDHOT = 5, | 902 | MBI_DISABLEDHOT = 5, |
| 903 | MBI_DISABLEDPUSHED = 6, | 903 | MBI_DISABLEDPUSHED = 6 |
| 904 | }; | 904 | }; |
| 905 | 905 | ||
| 906 | enum POPUPCHECKSTATES { | 906 | enum POPUPCHECKSTATES { |
| 907 | MC_CHECKMARKNORMAL = 1, | 907 | MC_CHECKMARKNORMAL = 1, |
| 908 | MC_CHECKMARKDISABLED = 2, | 908 | MC_CHECKMARKDISABLED = 2, |
| 909 | MC_BULLETNORMAL = 3, | 909 | MC_BULLETNORMAL = 3, |
| 910 | MC_BULLETDISABLED = 4, | 910 | MC_BULLETDISABLED = 4 |
| 911 | }; | 911 | }; |
| 912 | 912 | ||
| 913 | enum POPUPCHECKBACKGROUNDSTATES { | 913 | enum POPUPCHECKBACKGROUNDSTATES { |
| 914 | MCB_DISABLED = 1, | 914 | MCB_DISABLED = 1, |
| 915 | MCB_NORMAL = 2, | 915 | MCB_NORMAL = 2, |
| 916 | MCB_BITMAP = 3, | 916 | MCB_BITMAP = 3 |
| 917 | }; | 917 | }; |
| 918 | 918 | ||
| 919 | enum POPUPITEMSTATES { | 919 | enum POPUPITEMSTATES { |
| 920 | MPI_NORMAL = 1, | 920 | MPI_NORMAL = 1, |
| 921 | MPI_HOT = 2, | 921 | MPI_HOT = 2, |
| 922 | MPI_DISABLED = 3, | 922 | MPI_DISABLED = 3, |
| 923 | MPI_DISABLEDHOT = 4, | 923 | MPI_DISABLEDHOT = 4 |
| 924 | }; | 924 | }; |
| 925 | 925 | ||
| 926 | enum POPUPSUBMENUSTATES { | 926 | enum POPUPSUBMENUSTATES { |
| 927 | MSM_NORMAL = 1, | 927 | MSM_NORMAL = 1, |
| 928 | MSM_DISABLED = 2, | 928 | MSM_DISABLED = 2 |
| 929 | }; | 929 | }; |
| 930 | 930 | ||
| 931 | enum SYSTEMCLOSESTATES { | 931 | enum SYSTEMCLOSESTATES { |
| 932 | MSYSC_NORMAL = 1, | 932 | MSYSC_NORMAL = 1, |
| 933 | MSYSC_DISABLED = 2, | 933 | MSYSC_DISABLED = 2 |
| 934 | }; | 934 | }; |
| 935 | 935 | ||
| 936 | enum SYSTEMMAXIMIZESTATES { | 936 | enum SYSTEMMAXIMIZESTATES { |
| 937 | MSYSMX_NORMAL = 1, | 937 | MSYSMX_NORMAL = 1, |
| 938 | MSYSMX_DISABLED = 2, | 938 | MSYSMX_DISABLED = 2 |
| 939 | }; | 939 | }; |
| 940 | 940 | ||
| 941 | enum SYSTEMMINIMIZESTATES { | 941 | enum SYSTEMMINIMIZESTATES { |
| 942 | MSYSMN_NORMAL = 1, | 942 | MSYSMN_NORMAL = 1, |
| 943 | MSYSMN_DISABLED = 2, | 943 | MSYSMN_DISABLED = 2 |
| 944 | }; | 944 | }; |
| 945 | 945 | ||
| 946 | enum SYSTEMRESTORESTATES { | 946 | enum SYSTEMRESTORESTATES { |
| 947 | MSYSR_NORMAL = 1, | 947 | MSYSR_NORMAL = 1, |
| 948 | MSYSR_DISABLED = 2, | 948 | MSYSR_DISABLED = 2 |
| 949 | }; | 949 | }; |
| 950 | 950 | ||
| 951 | /* NAVIGATION class */ | 951 | /* NAVIGATION class */ |
| ... | @@ -960,28 +960,28 @@ static const WCHAR VSCLASS_NAVIGATION [] = {'N','A','V','I','G','A','T','I','O', | ... | @@ -960,28 +960,28 @@ static const WCHAR VSCLASS_NAVIGATION [] = {'N','A','V','I','G','A','T','I','O', |
| 960 | enum NAVIGATIONPARTS { | 960 | enum NAVIGATIONPARTS { |
| 961 | NAV_BACKBUTTON = 1, | 961 | NAV_BACKBUTTON = 1, |
| 962 | NAV_FORWARDBUTTON = 2, | 962 | NAV_FORWARDBUTTON = 2, |
| 963 | NAV_MENUBUTTON = 3, | 963 | NAV_MENUBUTTON = 3 |
| 964 | }; | 964 | }; |
| 965 | 965 | ||
| 966 | enum NAV_BACKBUTTONSTATES { | 966 | enum NAV_BACKBUTTONSTATES { |
| 967 | NAV_BB_NORMAL = 1, | 967 | NAV_BB_NORMAL = 1, |
| 968 | NAV_BB_HOT = 2, | 968 | NAV_BB_HOT = 2, |
| 969 | NAV_BB_PRESSED = 3, | 969 | NAV_BB_PRESSED = 3, |
| 970 | NAV_BB_DISABLED = 4, | 970 | NAV_BB_DISABLED = 4 |
| 971 | }; | 971 | }; |
| 972 | 972 | ||
| 973 | enum NAV_FORWARDBUTTONSTATES { | 973 | enum NAV_FORWARDBUTTONSTATES { |
| 974 | NAV_FB_NORMAL = 1, | 974 | NAV_FB_NORMAL = 1, |
| 975 | NAV_FB_HOT = 2, | 975 | NAV_FB_HOT = 2, |
| 976 | NAV_FB_PRESSED = 3, | 976 | NAV_FB_PRESSED = 3, |
| 977 | NAV_FB_DISABLED = 4, | 977 | NAV_FB_DISABLED = 4 |
| 978 | }; | 978 | }; |
| 979 | 979 | ||
| 980 | enum NAV_MENUBUTTONSTATES { | 980 | enum NAV_MENUBUTTONSTATES { |
| 981 | NAV_MB_NORMAL = 1, | 981 | NAV_MB_NORMAL = 1, |
| 982 | NAV_MB_HOT = 2, | 982 | NAV_MB_HOT = 2, |
| 983 | NAV_MB_PRESSED = 3, | 983 | NAV_MB_PRESSED = 3, |
| 984 | NAV_MB_DISABLED = 4, | 984 | NAV_MB_DISABLED = 4 |
| 985 | }; | 985 | }; |
| 986 | 986 | ||
| 987 | /* PROGRESSSTYLE class */ | 987 | /* PROGRESSSTYLE class */ |
| ... | @@ -1008,33 +1008,33 @@ enum PROGRESSPARTS { | ... | @@ -1008,33 +1008,33 @@ enum PROGRESSPARTS { |
| 1008 | PP_PULSEOVERLAYVERT = 9, | 1008 | PP_PULSEOVERLAYVERT = 9, |
| 1009 | PP_MOVEOVERLAYVERT = 10, | 1009 | PP_MOVEOVERLAYVERT = 10, |
| 1010 | PP_TRANSPARENTBAR = 11, | 1010 | PP_TRANSPARENTBAR = 11, |
| 1011 | PP_TRANSPARENTBARVERT = 12, | 1011 | PP_TRANSPARENTBARVERT = 12 |
| 1012 | }; | 1012 | }; |
| 1013 | 1013 | ||
| 1014 | #define PROGRESSSTYLEPARTS PROGRESSPARTS; | 1014 | #define PROGRESSSTYLEPARTS PROGRESSPARTS; |
| 1015 | 1015 | ||
| 1016 | enum TRANSPARENTBARSTATES { | 1016 | enum TRANSPARENTBARSTATES { |
| 1017 | PBBS_NORMAL = 1, | 1017 | PBBS_NORMAL = 1, |
| 1018 | PBBS_PARTIAL = 2, | 1018 | PBBS_PARTIAL = 2 |
| 1019 | }; | 1019 | }; |
| 1020 | 1020 | ||
| 1021 | enum TRANSPARENTBARVERTSTATES { | 1021 | enum TRANSPARENTBARVERTSTATES { |
| 1022 | PBBVS_NORMAL = 1, | 1022 | PBBVS_NORMAL = 1, |
| 1023 | PBBVS_PARTIAL = 2, | 1023 | PBBVS_PARTIAL = 2 |
| 1024 | }; | 1024 | }; |
| 1025 | 1025 | ||
| 1026 | enum FILLSTATES { | 1026 | enum FILLSTATES { |
| 1027 | PBFS_NORMAL = 1, | 1027 | PBFS_NORMAL = 1, |
| 1028 | PBFS_ERROR = 2, | 1028 | PBFS_ERROR = 2, |
| 1029 | PBFS_PAUSED = 3, | 1029 | PBFS_PAUSED = 3, |
| 1030 | PBFS_PARTIAL = 4, | 1030 | PBFS_PARTIAL = 4 |
| 1031 | }; | 1031 | }; |
| 1032 | 1032 | ||
| 1033 | enum FILLVERTSTATES { | 1033 | enum FILLVERTSTATES { |
| 1034 | PBFVS_NORMAL = 1, | 1034 | PBFVS_NORMAL = 1, |
| 1035 | PBFVS_ERROR = 2, | 1035 | PBFVS_ERROR = 2, |
| 1036 | PBFVS_PAUSED = 3, | 1036 | PBFVS_PAUSED = 3, |
| 1037 | PBFVS_PARTIAL = 4, | 1037 | PBFVS_PARTIAL = 4 |
| 1038 | }; | 1038 | }; |
| 1039 | 1039 | ||
| 1040 | /* REBARSTYLE class */ | 1040 | /* REBARSTYLE class */ |
| ... | @@ -1057,7 +1057,7 @@ enum REBARPARTS { | ... | @@ -1057,7 +1057,7 @@ enum REBARPARTS { |
| 1057 | RP_CHEVRONVERT = 5, | 1057 | RP_CHEVRONVERT = 5, |
| 1058 | RP_BACKGROUND = 6, | 1058 | RP_BACKGROUND = 6, |
| 1059 | RP_SPLITTER = 7, | 1059 | RP_SPLITTER = 7, |
| 1060 | RP_SPLITTERVERT = 8, | 1060 | RP_SPLITTERVERT = 8 |
| 1061 | }; | 1061 | }; |
| 1062 | 1062 | ||
| 1063 | #define REBARSTYLEPARTS REBARPARTS; | 1063 | #define REBARSTYLEPARTS REBARPARTS; |
| ... | @@ -1065,25 +1065,25 @@ enum REBARPARTS { | ... | @@ -1065,25 +1065,25 @@ enum REBARPARTS { |
| 1065 | enum CHEVRONSTATES { | 1065 | enum CHEVRONSTATES { |
| 1066 | CHEVS_NORMAL = 1, | 1066 | CHEVS_NORMAL = 1, |
| 1067 | CHEVS_HOT = 2, | 1067 | CHEVS_HOT = 2, |
| 1068 | CHEVS_PRESSED = 3, | 1068 | CHEVS_PRESSED = 3 |
| 1069 | }; | 1069 | }; |
| 1070 | 1070 | ||
| 1071 | enum CHEVRONVERTSTATES { | 1071 | enum CHEVRONVERTSTATES { |
| 1072 | CHEVSV_NORMAL = 1, | 1072 | CHEVSV_NORMAL = 1, |
| 1073 | CHEVSV_HOT = 2, | 1073 | CHEVSV_HOT = 2, |
| 1074 | CHEVSV_PRESSED = 3, | 1074 | CHEVSV_PRESSED = 3 |
| 1075 | }; | 1075 | }; |
| 1076 | 1076 | ||
| 1077 | enum SPLITTERSTATES { | 1077 | enum SPLITTERSTATES { |
| 1078 | SPLITS_NORMAL = 1, | 1078 | SPLITS_NORMAL = 1, |
| 1079 | SPLITS_HOT = 2, | 1079 | SPLITS_HOT = 2, |
| 1080 | SPLITS_PRESSED = 3, | 1080 | SPLITS_PRESSED = 3 |
| 1081 | }; | 1081 | }; |
| 1082 | 1082 | ||
| 1083 | enum SPLITTERVERTSTATES { | 1083 | enum SPLITTERVERTSTATES { |
| 1084 | SPLITSV_NORMAL = 1, | 1084 | SPLITSV_NORMAL = 1, |
| 1085 | SPLITSV_HOT = 2, | 1085 | SPLITSV_HOT = 2, |
| 1086 | SPLITSV_PRESSED = 3, | 1086 | SPLITSV_PRESSED = 3 |
| 1087 | }; | 1087 | }; |
| 1088 | 1088 | ||
| 1089 | /* SCROLLBARSTYLE class */ | 1089 | /* SCROLLBARSTYLE class */ |
| ... | @@ -1108,7 +1108,7 @@ enum SCROLLBARPARTS { | ... | @@ -1108,7 +1108,7 @@ enum SCROLLBARPARTS { |
| 1108 | SBP_UPPERTRACKVERT = 7, | 1108 | SBP_UPPERTRACKVERT = 7, |
| 1109 | SBP_GRIPPERHORZ = 8, | 1109 | SBP_GRIPPERHORZ = 8, |
| 1110 | SBP_GRIPPERVERT = 9, | 1110 | SBP_GRIPPERVERT = 9, |
| 1111 | SBP_SIZEBOX = 10, | 1111 | SBP_SIZEBOX = 10 |
| 1112 | }; | 1112 | }; |
| 1113 | 1113 | ||
| 1114 | #define SCROLLBARSTYLEPARTS SCROLLBARPARTS; | 1114 | #define SCROLLBARSTYLEPARTS SCROLLBARPARTS; |
| ... | @@ -1133,7 +1133,7 @@ enum ARROWBTNSTATES { | ... | @@ -1133,7 +1133,7 @@ enum ARROWBTNSTATES { |
| 1133 | ABS_UPHOVER = 17, | 1133 | ABS_UPHOVER = 17, |
| 1134 | ABS_DOWNHOVER = 18, | 1134 | ABS_DOWNHOVER = 18, |
| 1135 | ABS_LEFTHOVER = 19, | 1135 | ABS_LEFTHOVER = 19, |
| 1136 | ABS_RIGHTHOVER = 20, | 1136 | ABS_RIGHTHOVER = 20 |
| 1137 | }; | 1137 | }; |
| 1138 | 1138 | ||
| 1139 | enum SCROLLBARSTYLESTATES { | 1139 | enum SCROLLBARSTYLESTATES { |
| ... | @@ -1141,7 +1141,7 @@ enum SCROLLBARSTYLESTATES { | ... | @@ -1141,7 +1141,7 @@ enum SCROLLBARSTYLESTATES { |
| 1141 | SCRBS_HOT = 2, | 1141 | SCRBS_HOT = 2, |
| 1142 | SCRBS_PRESSED = 3, | 1142 | SCRBS_PRESSED = 3, |
| 1143 | SCRBS_DISABLED = 4, | 1143 | SCRBS_DISABLED = 4, |
| 1144 | SCRBS_HOVER = 5, | 1144 | SCRBS_HOVER = 5 |
| 1145 | }; | 1145 | }; |
| 1146 | 1146 | ||
| 1147 | enum SIZEBOXSTATES { | 1147 | enum SIZEBOXSTATES { |
| ... | @@ -1152,7 +1152,7 @@ enum SIZEBOXSTATES { | ... | @@ -1152,7 +1152,7 @@ enum SIZEBOXSTATES { |
| 1152 | SZB_HALFBOTTOMRIGHTALIGN = 5, | 1152 | SZB_HALFBOTTOMRIGHTALIGN = 5, |
| 1153 | SZB_HALFBOTTOMLEFTALIGN = 6, | 1153 | SZB_HALFBOTTOMLEFTALIGN = 6, |
| 1154 | SZB_HALFTOPRIGHTALIGN = 7, | 1154 | SZB_HALFTOPRIGHTALIGN = 7, |
| 1155 | SZB_HALFTOPLEFTALIGN = 8, | 1155 | SZB_HALFTOPLEFTALIGN = 8 |
| 1156 | }; | 1156 | }; |
| 1157 | 1157 | ||
| 1158 | /* SPINSTYLE class */ | 1158 | /* SPINSTYLE class */ |
| ... | @@ -1175,7 +1175,7 @@ enum SPINPARTS { | ... | @@ -1175,7 +1175,7 @@ enum SPINPARTS { |
| 1175 | SPNP_UP = 1, | 1175 | SPNP_UP = 1, |
| 1176 | SPNP_DOWN = 2, | 1176 | SPNP_DOWN = 2, |
| 1177 | SPNP_UPHORZ = 3, | 1177 | SPNP_UPHORZ = 3, |
| 1178 | SPNP_DOWNHORZ = 4, | 1178 | SPNP_DOWNHORZ = 4 |
| 1179 | }; | 1179 | }; |
| 1180 | 1180 | ||
| 1181 | #define SPINSTYLEPARTS SPINPARTS; | 1181 | #define SPINSTYLEPARTS SPINPARTS; |
| ... | @@ -1184,28 +1184,28 @@ enum UPSTATES { | ... | @@ -1184,28 +1184,28 @@ enum UPSTATES { |
| 1184 | UPS_NORMAL = 1, | 1184 | UPS_NORMAL = 1, |
| 1185 | UPS_HOT = 2, | 1185 | UPS_HOT = 2, |
| 1186 | UPS_PRESSED = 3, | 1186 | UPS_PRESSED = 3, |
| 1187 | UPS_DISABLED = 4, | 1187 | UPS_DISABLED = 4 |
| 1188 | }; | 1188 | }; |
| 1189 | 1189 | ||
| 1190 | enum DOWNSTATES { | 1190 | enum DOWNSTATES { |
| 1191 | DNS_NORMAL = 1, | 1191 | DNS_NORMAL = 1, |
| 1192 | DNS_HOT = 2, | 1192 | DNS_HOT = 2, |
| 1193 | DNS_PRESSED = 3, | 1193 | DNS_PRESSED = 3, |
| 1194 | DNS_DISABLED = 4, | 1194 | DNS_DISABLED = 4 |
| 1195 | }; | 1195 | }; |
| 1196 | 1196 | ||
| 1197 | enum UPHORZSTATES { | 1197 | enum UPHORZSTATES { |
| 1198 | UPHZS_NORMAL = 1, | 1198 | UPHZS_NORMAL = 1, |
| 1199 | UPHZS_HOT = 2, | 1199 | UPHZS_HOT = 2, |
| 1200 | UPHZS_PRESSED = 3, | 1200 | UPHZS_PRESSED = 3, |
| 1201 | UPHZS_DISABLED = 4, | 1201 | UPHZS_DISABLED = 4 |
| 1202 | }; | 1202 | }; |
| 1203 | 1203 | ||
| 1204 | enum DOWNHORZSTATES { | 1204 | enum DOWNHORZSTATES { |
| 1205 | DNHZS_NORMAL = 1, | 1205 | DNHZS_NORMAL = 1, |
| 1206 | DNHZS_HOT = 2, | 1206 | DNHZS_HOT = 2, |
| 1207 | DNHZS_PRESSED = 3, | 1207 | DNHZS_PRESSED = 3, |
| 1208 | DNHZS_DISABLED = 4, | 1208 | DNHZS_DISABLED = 4 |
| 1209 | }; | 1209 | }; |
| 1210 | 1210 | ||
| 1211 | /* STATUSSTYLE class */ | 1211 | /* STATUSSTYLE class */ |
| ... | @@ -1223,7 +1223,7 @@ static const WCHAR VSCLASS_STATUS [] = {'S','T','A','T','U','S',0}; | ... | @@ -1223,7 +1223,7 @@ static const WCHAR VSCLASS_STATUS [] = {'S','T','A','T','U','S',0}; |
| 1223 | enum STATUSPARTS { | 1223 | enum STATUSPARTS { |
| 1224 | SP_PANE = 1, | 1224 | SP_PANE = 1, |
| 1225 | SP_GRIPPERPANE = 2, | 1225 | SP_GRIPPERPANE = 2, |
| 1226 | SP_GRIPPER = 3, | 1226 | SP_GRIPPER = 3 |
| 1227 | }; | 1227 | }; |
| 1228 | 1228 | ||
| 1229 | #define STATUSSTYLEPARTS STATUSPARTS; | 1229 | #define STATUSSTYLEPARTS STATUSPARTS; |
| ... | @@ -1251,7 +1251,7 @@ enum TABPARTS { | ... | @@ -1251,7 +1251,7 @@ enum TABPARTS { |
| 1251 | TABP_TOPTABITEMBOTHEDGE = 8, | 1251 | TABP_TOPTABITEMBOTHEDGE = 8, |
| 1252 | TABP_PANE = 9, | 1252 | TABP_PANE = 9, |
| 1253 | TABP_BODY = 10, | 1253 | TABP_BODY = 10, |
| 1254 | TABP_AEROWIZARDBODY = 11, | 1254 | TABP_AEROWIZARDBODY = 11 |
| 1255 | }; | 1255 | }; |
| 1256 | 1256 | ||
| 1257 | #define TABSTYLEPARTS TABPARTS; | 1257 | #define TABSTYLEPARTS TABPARTS; |
| ... | @@ -1261,7 +1261,7 @@ enum TABITEMSTATES { | ... | @@ -1261,7 +1261,7 @@ enum TABITEMSTATES { |
| 1261 | TIS_HOT = 2, | 1261 | TIS_HOT = 2, |
| 1262 | TIS_SELECTED = 3, | 1262 | TIS_SELECTED = 3, |
| 1263 | TIS_DISABLED = 4, | 1263 | TIS_DISABLED = 4, |
| 1264 | TIS_FOCUSED = 5, | 1264 | TIS_FOCUSED = 5 |
| 1265 | }; | 1265 | }; |
| 1266 | 1266 | ||
| 1267 | enum TABITEMLEFTEDGESTATES { | 1267 | enum TABITEMLEFTEDGESTATES { |
| ... | @@ -1269,7 +1269,7 @@ enum TABITEMLEFTEDGESTATES { | ... | @@ -1269,7 +1269,7 @@ enum TABITEMLEFTEDGESTATES { |
| 1269 | TILES_HOT = 2, | 1269 | TILES_HOT = 2, |
| 1270 | TILES_SELECTED = 3, | 1270 | TILES_SELECTED = 3, |
| 1271 | TILES_DISABLED = 4, | 1271 | TILES_DISABLED = 4, |
| 1272 | TILES_FOCUSED = 5, | 1272 | TILES_FOCUSED = 5 |
| 1273 | }; | 1273 | }; |
| 1274 | 1274 | ||
| 1275 | enum TABITEMRIGHTEDGESTATES { | 1275 | enum TABITEMRIGHTEDGESTATES { |
| ... | @@ -1277,7 +1277,7 @@ enum TABITEMRIGHTEDGESTATES { | ... | @@ -1277,7 +1277,7 @@ enum TABITEMRIGHTEDGESTATES { |
| 1277 | TIRES_HOT = 2, | 1277 | TIRES_HOT = 2, |
| 1278 | TIRES_SELECTED = 3, | 1278 | TIRES_SELECTED = 3, |
| 1279 | TIRES_DISABLED = 4, | 1279 | TIRES_DISABLED = 4, |
| 1280 | TIRES_FOCUSED = 5, | 1280 | TIRES_FOCUSED = 5 |
| 1281 | }; | 1281 | }; |
| 1282 | 1282 | ||
| 1283 | enum TABITEMBOTHEDGESTATES { | 1283 | enum TABITEMBOTHEDGESTATES { |
| ... | @@ -1285,7 +1285,7 @@ enum TABITEMBOTHEDGESTATES { | ... | @@ -1285,7 +1285,7 @@ enum TABITEMBOTHEDGESTATES { |
| 1285 | TIBES_HOT = 2, | 1285 | TIBES_HOT = 2, |
| 1286 | TIBES_SELECTED = 3, | 1286 | TIBES_SELECTED = 3, |
| 1287 | TIBES_DISABLED = 4, | 1287 | TIBES_DISABLED = 4, |
| 1288 | TIBES_FOCUSED = 5, | 1288 | TIBES_FOCUSED = 5 |
| 1289 | }; | 1289 | }; |
| 1290 | 1290 | ||
| 1291 | enum TOPTABITEMSTATES { | 1291 | enum TOPTABITEMSTATES { |
| ... | @@ -1293,7 +1293,7 @@ enum TOPTABITEMSTATES { | ... | @@ -1293,7 +1293,7 @@ enum TOPTABITEMSTATES { |
| 1293 | TTIS_HOT = 2, | 1293 | TTIS_HOT = 2, |
| 1294 | TTIS_SELECTED = 3, | 1294 | TTIS_SELECTED = 3, |
| 1295 | TTIS_DISABLED = 4, | 1295 | TTIS_DISABLED = 4, |
| 1296 | TTIS_FOCUSED = 5, | 1296 | TTIS_FOCUSED = 5 |
| 1297 | }; | 1297 | }; |
| 1298 | 1298 | ||
| 1299 | enum TOPTABITEMLEFTEDGESTATES { | 1299 | enum TOPTABITEMLEFTEDGESTATES { |
| ... | @@ -1301,7 +1301,7 @@ enum TOPTABITEMLEFTEDGESTATES { | ... | @@ -1301,7 +1301,7 @@ enum TOPTABITEMLEFTEDGESTATES { |
| 1301 | TTILES_HOT = 2, | 1301 | TTILES_HOT = 2, |
| 1302 | TTILES_SELECTED = 3, | 1302 | TTILES_SELECTED = 3, |
| 1303 | TTILES_DISABLED = 4, | 1303 | TTILES_DISABLED = 4, |
| 1304 | TTILES_FOCUSED = 5, | 1304 | TTILES_FOCUSED = 5 |
| 1305 | }; | 1305 | }; |
| 1306 | 1306 | ||
| 1307 | enum TOPTABITEMRIGHTEDGESTATES { | 1307 | enum TOPTABITEMRIGHTEDGESTATES { |
| ... | @@ -1309,7 +1309,7 @@ enum TOPTABITEMRIGHTEDGESTATES { | ... | @@ -1309,7 +1309,7 @@ enum TOPTABITEMRIGHTEDGESTATES { |
| 1309 | TTIRES_HOT = 2, | 1309 | TTIRES_HOT = 2, |
| 1310 | TTIRES_SELECTED = 3, | 1310 | TTIRES_SELECTED = 3, |
| 1311 | TTIRES_DISABLED = 4, | 1311 | TTIRES_DISABLED = 4, |
| 1312 | TTIRES_FOCUSED = 5, | 1312 | TTIRES_FOCUSED = 5 |
| 1313 | }; | 1313 | }; |
| 1314 | 1314 | ||
| 1315 | enum TOPTABITEMBOTHEDGESTATES { | 1315 | enum TOPTABITEMBOTHEDGESTATES { |
| ... | @@ -1317,7 +1317,7 @@ enum TOPTABITEMBOTHEDGESTATES { | ... | @@ -1317,7 +1317,7 @@ enum TOPTABITEMBOTHEDGESTATES { |
| 1317 | TTIBES_HOT = 2, | 1317 | TTIBES_HOT = 2, |
| 1318 | TTIBES_SELECTED = 3, | 1318 | TTIBES_SELECTED = 3, |
| 1319 | TTIBES_DISABLED = 4, | 1319 | TTIBES_DISABLED = 4, |
| 1320 | TTIBES_FOCUSED = 5, | 1320 | TTIBES_FOCUSED = 5 |
| 1321 | }; | 1321 | }; |
| 1322 | 1322 | ||
| 1323 | /* TASKDIALOGSTYLE class */ | 1323 | /* TASKDIALOGSTYLE class */ |
| ... | @@ -1353,13 +1353,13 @@ enum TASKDIALOGPARTS { | ... | @@ -1353,13 +1353,13 @@ enum TASKDIALOGPARTS { |
| 1353 | TDLG_EXPANDEDFOOTERAREA = 18, | 1353 | TDLG_EXPANDEDFOOTERAREA = 18, |
| 1354 | TDLG_PROGRESSBAR = 19, | 1354 | TDLG_PROGRESSBAR = 19, |
| 1355 | TDLG_IMAGEALIGNMENT = 20, | 1355 | TDLG_IMAGEALIGNMENT = 20, |
| 1356 | TDLG_RADIOBUTTONPANE = 21, | 1356 | TDLG_RADIOBUTTONPANE = 21 |
| 1357 | }; | 1357 | }; |
| 1358 | 1358 | ||
| 1359 | #define TASKDIALOGSTYLEPARTS TASKDIALOGPARTS; | 1359 | #define TASKDIALOGSTYLEPARTS TASKDIALOGPARTS; |
| 1360 | 1360 | ||
| 1361 | enum CONTENTPANESTATES { | 1361 | enum CONTENTPANESTATES { |
| 1362 | TDLGCPS_STANDALONE = 1, | 1362 | TDLGCPS_STANDALONE = 1 |
| 1363 | }; | 1363 | }; |
| 1364 | 1364 | ||
| 1365 | enum EXPANDOBUTTONSTATES { | 1365 | enum EXPANDOBUTTONSTATES { |
| ... | @@ -1368,7 +1368,7 @@ enum EXPANDOBUTTONSTATES { | ... | @@ -1368,7 +1368,7 @@ enum EXPANDOBUTTONSTATES { |
| 1368 | TDLGEBS_PRESSED = 3, | 1368 | TDLGEBS_PRESSED = 3, |
| 1369 | TDLGEBS_EXPANDEDNORMAL = 4, | 1369 | TDLGEBS_EXPANDEDNORMAL = 4, |
| 1370 | TDLGEBS_EXPANDEDHOVER = 5, | 1370 | TDLGEBS_EXPANDEDHOVER = 5, |
| 1371 | TDLGEBS_EXPANDEDPRESSED = 6, | 1371 | TDLGEBS_EXPANDEDPRESSED = 6 |
| 1372 | }; | 1372 | }; |
| 1373 | 1373 | ||
| 1374 | /* TEXTSTYLE class */ | 1374 | /* TEXTSTYLE class */ |
| ... | @@ -1389,19 +1389,19 @@ enum TEXTSTYLEPARTS { | ... | @@ -1389,19 +1389,19 @@ enum TEXTSTYLEPARTS { |
| 1389 | TEXT_HYPERLINKTEXT = 6, | 1389 | TEXT_HYPERLINKTEXT = 6, |
| 1390 | TEXT_EXPANDED = 7, | 1390 | TEXT_EXPANDED = 7, |
| 1391 | TEXT_LABEL = 8, | 1391 | TEXT_LABEL = 8, |
| 1392 | TEXT_CONTROLLABEL = 9, | 1392 | TEXT_CONTROLLABEL = 9 |
| 1393 | }; | 1393 | }; |
| 1394 | 1394 | ||
| 1395 | enum HYPERLINKTEXTSTATES { | 1395 | enum HYPERLINKTEXTSTATES { |
| 1396 | TS_HYPERLINK_NORMAL = 1, | 1396 | TS_HYPERLINK_NORMAL = 1, |
| 1397 | TS_HYPERLINK_HOT = 2, | 1397 | TS_HYPERLINK_HOT = 2, |
| 1398 | TS_HYPERLINK_PRESSED = 3, | 1398 | TS_HYPERLINK_PRESSED = 3, |
| 1399 | TS_HYPERLINK_DISABLED = 4, | 1399 | TS_HYPERLINK_DISABLED = 4 |
| 1400 | }; | 1400 | }; |
| 1401 | 1401 | ||
| 1402 | enum CONTROLLABELSTATES { | 1402 | enum CONTROLLABELSTATES { |
| 1403 | TS_CONTROLLABEL_NORMAL = 1, | 1403 | TS_CONTROLLABEL_NORMAL = 1, |
| 1404 | TS_CONTROLLABEL_DISABLED = 2, | 1404 | TS_CONTROLLABEL_DISABLED = 2 |
| 1405 | }; | 1405 | }; |
| 1406 | 1406 | ||
| 1407 | /* TOOLBARSTYLE class */ | 1407 | /* TOOLBARSTYLE class */ |
| ... | @@ -1423,7 +1423,7 @@ enum TOOLBARPARTS { | ... | @@ -1423,7 +1423,7 @@ enum TOOLBARPARTS { |
| 1423 | TP_SPLITBUTTONDROPDOWN = 4, | 1423 | TP_SPLITBUTTONDROPDOWN = 4, |
| 1424 | TP_SEPARATOR = 5, | 1424 | TP_SEPARATOR = 5, |
| 1425 | TP_SEPARATORVERT = 6, | 1425 | TP_SEPARATORVERT = 6, |
| 1426 | TP_DROPDOWNBUTTONGLYPH = 7, | 1426 | TP_DROPDOWNBUTTONGLYPH = 7 |
| 1427 | }; | 1427 | }; |
| 1428 | 1428 | ||
| 1429 | #define TOOLBARSTYLEPARTS TOOLBARPARTS; | 1429 | #define TOOLBARSTYLEPARTS TOOLBARPARTS; |
| ... | @@ -1436,7 +1436,7 @@ enum TOOLBARSTYLESTATES { | ... | @@ -1436,7 +1436,7 @@ enum TOOLBARSTYLESTATES { |
| 1436 | TS_CHECKED = 5, | 1436 | TS_CHECKED = 5, |
| 1437 | TS_HOTCHECKED = 6, | 1437 | TS_HOTCHECKED = 6, |
| 1438 | TS_NEARHOT = 7, | 1438 | TS_NEARHOT = 7, |
| 1439 | TS_OTHERSIDEHOT = 8, | 1439 | TS_OTHERSIDEHOT = 8 |
| 1440 | }; | 1440 | }; |
| 1441 | 1441 | ||
| 1442 | /* TOOLTIPSTYLE class */ | 1442 | /* TOOLTIPSTYLE class */ |
| ... | @@ -1458,7 +1458,7 @@ enum TOOLTIPPARTS { | ... | @@ -1458,7 +1458,7 @@ enum TOOLTIPPARTS { |
| 1458 | TTP_BALLOONTITLE = 4, | 1458 | TTP_BALLOONTITLE = 4, |
| 1459 | TTP_CLOSE = 5, | 1459 | TTP_CLOSE = 5, |
| 1460 | TTP_BALLOONSTEM = 6, | 1460 | TTP_BALLOONSTEM = 6, |
| 1461 | TTP_WRENCH = 7, | 1461 | TTP_WRENCH = 7 |
| 1462 | }; | 1462 | }; |
| 1463 | 1463 | ||
| 1464 | #define TOOLTIPSTYLEPARTS TOOLTIPPARTS; | 1464 | #define TOOLTIPSTYLEPARTS TOOLTIPPARTS; |
| ... | @@ -1466,17 +1466,17 @@ enum TOOLTIPPARTS { | ... | @@ -1466,17 +1466,17 @@ enum TOOLTIPPARTS { |
| 1466 | enum CLOSESTATES { | 1466 | enum CLOSESTATES { |
| 1467 | TTCS_NORMAL = 1, | 1467 | TTCS_NORMAL = 1, |
| 1468 | TTCS_HOT = 2, | 1468 | TTCS_HOT = 2, |
| 1469 | TTCS_PRESSED = 3, | 1469 | TTCS_PRESSED = 3 |
| 1470 | }; | 1470 | }; |
| 1471 | 1471 | ||
| 1472 | enum STANDARDSTATES { | 1472 | enum STANDARDSTATES { |
| 1473 | TTSS_NORMAL = 1, | 1473 | TTSS_NORMAL = 1, |
| 1474 | TTSS_LINK = 2, | 1474 | TTSS_LINK = 2 |
| 1475 | }; | 1475 | }; |
| 1476 | 1476 | ||
| 1477 | enum BALLOONSTATES { | 1477 | enum BALLOONSTATES { |
| 1478 | TTBS_NORMAL = 1, | 1478 | TTBS_NORMAL = 1, |
| 1479 | TTBS_LINK = 2, | 1479 | TTBS_LINK = 2 |
| 1480 | }; | 1480 | }; |
| 1481 | 1481 | ||
| 1482 | enum BALLOONSTEMSTATES { | 1482 | enum BALLOONSTEMSTATES { |
| ... | @@ -1485,13 +1485,13 @@ enum BALLOONSTEMSTATES { | ... | @@ -1485,13 +1485,13 @@ enum BALLOONSTEMSTATES { |
| 1485 | TTBSS_POINTINGUPRIGHTWALL = 3, | 1485 | TTBSS_POINTINGUPRIGHTWALL = 3, |
| 1486 | TTBSS_POINTINGDOWNRIGHTWALL = 4, | 1486 | TTBSS_POINTINGDOWNRIGHTWALL = 4, |
| 1487 | TTBSS_POINTINGDOWNCENTERED = 5, | 1487 | TTBSS_POINTINGDOWNCENTERED = 5, |
| 1488 | TTBSS_POINTINGDOWNLEFTWALL = 6, | 1488 | TTBSS_POINTINGDOWNLEFTWALL = 6 |
| 1489 | }; | 1489 | }; |
| 1490 | 1490 | ||
| 1491 | enum WRENCHSTATES { | 1491 | enum WRENCHSTATES { |
| 1492 | TTWS_NORMAL = 1, | 1492 | TTWS_NORMAL = 1, |
| 1493 | TTWS_HOT = 2, | 1493 | TTWS_HOT = 2, |
| 1494 | TTWS_PRESSED = 3, | 1494 | TTWS_PRESSED = 3 |
| 1495 | }; | 1495 | }; |
| 1496 | 1496 | ||
| 1497 | /* TRACKBARSTYLE class */ | 1497 | /* TRACKBARSTYLE class */ |
| ... | @@ -1516,21 +1516,21 @@ enum TRACKBARPARTS { | ... | @@ -1516,21 +1516,21 @@ enum TRACKBARPARTS { |
| 1516 | TKP_THUMBLEFT = 7, | 1516 | TKP_THUMBLEFT = 7, |
| 1517 | TKP_THUMBRIGHT = 8, | 1517 | TKP_THUMBRIGHT = 8, |
| 1518 | TKP_TICS = 9, | 1518 | TKP_TICS = 9, |
| 1519 | TKP_TICSVERT = 10, | 1519 | TKP_TICSVERT = 10 |
| 1520 | }; | 1520 | }; |
| 1521 | 1521 | ||
| 1522 | #define TRACKBARSTYLEPARTS TRACKBARPARTS; | 1522 | #define TRACKBARSTYLEPARTS TRACKBARPARTS; |
| 1523 | 1523 | ||
| 1524 | enum TRACKBARSTYLESTATES { | 1524 | enum TRACKBARSTYLESTATES { |
| 1525 | TKS_NORMAL = 1, | 1525 | TKS_NORMAL = 1 |
| 1526 | }; | 1526 | }; |
| 1527 | 1527 | ||
| 1528 | enum TRACKSTATES { | 1528 | enum TRACKSTATES { |
| 1529 | TRS_NORMAL = 1, | 1529 | TRS_NORMAL = 1 |
| 1530 | }; | 1530 | }; |
| 1531 | 1531 | ||
| 1532 | enum TRACKVERTSTATES { | 1532 | enum TRACKVERTSTATES { |
| 1533 | TRVS_NORMAL = 1, | 1533 | TRVS_NORMAL = 1 |
| 1534 | }; | 1534 | }; |
| 1535 | 1535 | ||
| 1536 | enum THUMBSTATES { | 1536 | enum THUMBSTATES { |
| ... | @@ -1538,7 +1538,7 @@ enum THUMBSTATES { | ... | @@ -1538,7 +1538,7 @@ enum THUMBSTATES { |
| 1538 | TUS_HOT = 2, | 1538 | TUS_HOT = 2, |
| 1539 | TUS_PRESSED = 3, | 1539 | TUS_PRESSED = 3, |
| 1540 | TUS_FOCUSED = 4, | 1540 | TUS_FOCUSED = 4, |
| 1541 | TUS_DISABLED = 5, | 1541 | TUS_DISABLED = 5 |
| 1542 | }; | 1542 | }; |
| 1543 | 1543 | ||
| 1544 | enum THUMBBOTTOMSTATES { | 1544 | enum THUMBBOTTOMSTATES { |
| ... | @@ -1546,7 +1546,7 @@ enum THUMBBOTTOMSTATES { | ... | @@ -1546,7 +1546,7 @@ enum THUMBBOTTOMSTATES { |
| 1546 | TUBS_HOT = 2, | 1546 | TUBS_HOT = 2, |
| 1547 | TUBS_PRESSED = 3, | 1547 | TUBS_PRESSED = 3, |
| 1548 | TUBS_FOCUSED = 4, | 1548 | TUBS_FOCUSED = 4, |
| 1549 | TUBS_DISABLED = 5, | 1549 | TUBS_DISABLED = 5 |
| 1550 | }; | 1550 | }; |
| 1551 | 1551 | ||
| 1552 | enum THUMBTOPSTATES { | 1552 | enum THUMBTOPSTATES { |
| ... | @@ -1554,7 +1554,7 @@ enum THUMBTOPSTATES { | ... | @@ -1554,7 +1554,7 @@ enum THUMBTOPSTATES { |
| 1554 | TUTS_HOT = 2, | 1554 | TUTS_HOT = 2, |
| 1555 | TUTS_PRESSED = 3, | 1555 | TUTS_PRESSED = 3, |
| 1556 | TUTS_FOCUSED = 4, | 1556 | TUTS_FOCUSED = 4, |
| 1557 | TUTS_DISABLED = 5, | 1557 | TUTS_DISABLED = 5 |
| 1558 | }; | 1558 | }; |
| 1559 | 1559 | ||
| 1560 | enum THUMBVERTSTATES { | 1560 | enum THUMBVERTSTATES { |
| ... | @@ -1562,7 +1562,7 @@ enum THUMBVERTSTATES { | ... | @@ -1562,7 +1562,7 @@ enum THUMBVERTSTATES { |
| 1562 | TUVS_HOT = 2, | 1562 | TUVS_HOT = 2, |
| 1563 | TUVS_PRESSED = 3, | 1563 | TUVS_PRESSED = 3, |
| 1564 | TUVS_FOCUSED = 4, | 1564 | TUVS_FOCUSED = 4, |
| 1565 | TUVS_DISABLED = 5, | 1565 | TUVS_DISABLED = 5 |
| 1566 | }; | 1566 | }; |
| 1567 | 1567 | ||
| 1568 | enum THUMBLEFTSTATES { | 1568 | enum THUMBLEFTSTATES { |
| ... | @@ -1570,7 +1570,7 @@ enum THUMBLEFTSTATES { | ... | @@ -1570,7 +1570,7 @@ enum THUMBLEFTSTATES { |
| 1570 | TUVLS_HOT = 2, | 1570 | TUVLS_HOT = 2, |
| 1571 | TUVLS_PRESSED = 3, | 1571 | TUVLS_PRESSED = 3, |
| 1572 | TUVLS_FOCUSED = 4, | 1572 | TUVLS_FOCUSED = 4, |
| 1573 | TUVLS_DISABLED = 5, | 1573 | TUVLS_DISABLED = 5 |
| 1574 | }; | 1574 | }; |
| 1575 | 1575 | ||
| 1576 | enum THUMBRIGHTSTATES { | 1576 | enum THUMBRIGHTSTATES { |
| ... | @@ -1578,15 +1578,15 @@ enum THUMBRIGHTSTATES { | ... | @@ -1578,15 +1578,15 @@ enum THUMBRIGHTSTATES { |
| 1578 | TUVRS_HOT = 2, | 1578 | TUVRS_HOT = 2, |
| 1579 | TUVRS_PRESSED = 3, | 1579 | TUVRS_PRESSED = 3, |
| 1580 | TUVRS_FOCUSED = 4, | 1580 | TUVRS_FOCUSED = 4, |
| 1581 | TUVRS_DISABLED = 5, | 1581 | TUVRS_DISABLED = 5 |
| 1582 | }; | 1582 | }; |
| 1583 | 1583 | ||
| 1584 | enum TICSSTATES { | 1584 | enum TICSSTATES { |
| 1585 | TSS_NORMAL = 1, | 1585 | TSS_NORMAL = 1 |
| 1586 | }; | 1586 | }; |
| 1587 | 1587 | ||
| 1588 | enum TICSVERTSTATES { | 1588 | enum TICSVERTSTATES { |
| 1589 | TSVS_NORMAL = 1, | 1589 | TSVS_NORMAL = 1 |
| 1590 | }; | 1590 | }; |
| 1591 | 1591 | ||
| 1592 | /* TREEVIEWSTYLE class */ | 1592 | /* TREEVIEWSTYLE class */ |
| ... | @@ -1605,7 +1605,7 @@ enum TREEVIEWPARTS { | ... | @@ -1605,7 +1605,7 @@ enum TREEVIEWPARTS { |
| 1605 | TVP_TREEITEM = 1, | 1605 | TVP_TREEITEM = 1, |
| 1606 | TVP_GLYPH = 2, | 1606 | TVP_GLYPH = 2, |
| 1607 | TVP_BRANCH = 3, | 1607 | TVP_BRANCH = 3, |
| 1608 | TVP_HOTGLYPH = 4, | 1608 | TVP_HOTGLYPH = 4 |
| 1609 | }; | 1609 | }; |
| 1610 | 1610 | ||
| 1611 | #define TREEVIEWSTYLEPARTS TREEVIEWPARTS; | 1611 | #define TREEVIEWSTYLEPARTS TREEVIEWPARTS; |
| ... | @@ -1616,17 +1616,17 @@ enum TREEITEMSTATES { | ... | @@ -1616,17 +1616,17 @@ enum TREEITEMSTATES { |
| 1616 | TREIS_SELECTED = 3, | 1616 | TREIS_SELECTED = 3, |
| 1617 | TREIS_DISABLED = 4, | 1617 | TREIS_DISABLED = 4, |
| 1618 | TREIS_SELECTEDNOTFOCUS = 5, | 1618 | TREIS_SELECTEDNOTFOCUS = 5, |
| 1619 | TREIS_HOTSELECTED = 6, | 1619 | TREIS_HOTSELECTED = 6 |
| 1620 | }; | 1620 | }; |
| 1621 | 1621 | ||
| 1622 | enum GLYPHSTATES { | 1622 | enum GLYPHSTATES { |
| 1623 | GLPS_CLOSED = 1, | 1623 | GLPS_CLOSED = 1, |
| 1624 | GLPS_OPENED = 2, | 1624 | GLPS_OPENED = 2 |
| 1625 | }; | 1625 | }; |
| 1626 | 1626 | ||
| 1627 | enum HOTGLYPHSTATES { | 1627 | enum HOTGLYPHSTATES { |
| 1628 | HGLPS_CLOSED = 1, | 1628 | HGLPS_CLOSED = 1, |
| 1629 | HGLPS_OPENED = 2, | 1629 | HGLPS_OPENED = 2 |
| 1630 | }; | 1630 | }; |
| 1631 | 1631 | ||
| 1632 | /* WINDOWSTYLE class */ | 1632 | /* WINDOWSTYLE class */ |
| ... | @@ -1679,102 +1679,102 @@ enum WINDOWPARTS { | ... | @@ -1679,102 +1679,102 @@ enum WINDOWPARTS { |
| 1679 | WP_SMALLFRAMERIGHTSIZINGTEMPLATE = 35, | 1679 | WP_SMALLFRAMERIGHTSIZINGTEMPLATE = 35, |
| 1680 | WP_FRAMEBOTTOMSIZINGTEMPLATE = 36, | 1680 | WP_FRAMEBOTTOMSIZINGTEMPLATE = 36, |
| 1681 | WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE = 37, | 1681 | WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE = 37, |
| 1682 | WP_FRAME = 38, | 1682 | WP_FRAME = 38 |
| 1683 | }; | 1683 | }; |
| 1684 | 1684 | ||
| 1685 | #define WINDOWSTYLEPARTS WINDOWPARTS; | 1685 | #define WINDOWSTYLEPARTS WINDOWPARTS; |
| 1686 | 1686 | ||
| 1687 | enum FRAMESTATES { | 1687 | enum FRAMESTATES { |
| 1688 | FS_ACTIVE = 1, | 1688 | FS_ACTIVE = 1, |
| 1689 | FS_INACTIVE = 2, | 1689 | FS_INACTIVE = 2 |
| 1690 | }; | 1690 | }; |
| 1691 | 1691 | ||
| 1692 | enum CAPTIONSTATES { | 1692 | enum CAPTIONSTATES { |
| 1693 | CS_ACTIVE = 1, | 1693 | CS_ACTIVE = 1, |
| 1694 | CS_INACTIVE = 2, | 1694 | CS_INACTIVE = 2, |
| 1695 | CS_DISABLED = 3, | 1695 | CS_DISABLED = 3 |
| 1696 | }; | 1696 | }; |
| 1697 | 1697 | ||
| 1698 | enum MAXCAPTIONSTATES { | 1698 | enum MAXCAPTIONSTATES { |
| 1699 | MXCS_ACTIVE = 1, | 1699 | MXCS_ACTIVE = 1, |
| 1700 | MXCS_INACTIVE = 2, | 1700 | MXCS_INACTIVE = 2, |
| 1701 | MXCS_DISABLED = 3, | 1701 | MXCS_DISABLED = 3 |
| 1702 | }; | 1702 | }; |
| 1703 | 1703 | ||
| 1704 | enum MINCAPTIONSTATES { | 1704 | enum MINCAPTIONSTATES { |
| 1705 | MNCS_ACTIVE = 1, | 1705 | MNCS_ACTIVE = 1, |
| 1706 | MNCS_INACTIVE = 2, | 1706 | MNCS_INACTIVE = 2, |
| 1707 | MNCS_DISABLED = 3, | 1707 | MNCS_DISABLED = 3 |
| 1708 | }; | 1708 | }; |
| 1709 | 1709 | ||
| 1710 | enum HORZSCROLLSTATES { | 1710 | enum HORZSCROLLSTATES { |
| 1711 | HSS_NORMAL = 1, | 1711 | HSS_NORMAL = 1, |
| 1712 | HSS_HOT = 2, | 1712 | HSS_HOT = 2, |
| 1713 | HSS_PUSHED = 3, | 1713 | HSS_PUSHED = 3, |
| 1714 | HSS_DISABLED = 4, | 1714 | HSS_DISABLED = 4 |
| 1715 | }; | 1715 | }; |
| 1716 | 1716 | ||
| 1717 | enum HORZTHUMBSTATES { | 1717 | enum HORZTHUMBSTATES { |
| 1718 | HTS_NORMAL = 1, | 1718 | HTS_NORMAL = 1, |
| 1719 | HTS_HOT = 2, | 1719 | HTS_HOT = 2, |
| 1720 | HTS_PUSHED = 3, | 1720 | HTS_PUSHED = 3, |
| 1721 | HTS_DISABLED = 4, | 1721 | HTS_DISABLED = 4 |
| 1722 | }; | 1722 | }; |
| 1723 | 1723 | ||
| 1724 | enum VERTSCROLLSTATES { | 1724 | enum VERTSCROLLSTATES { |
| 1725 | VSS_NORMAL = 1, | 1725 | VSS_NORMAL = 1, |
| 1726 | VSS_HOT = 2, | 1726 | VSS_HOT = 2, |
| 1727 | VSS_PUSHED = 3, | 1727 | VSS_PUSHED = 3, |
| 1728 | VSS_DISABLED = 4, | 1728 | VSS_DISABLED = 4 |
| 1729 | }; | 1729 | }; |
| 1730 | 1730 | ||
| 1731 | enum VERTTHUMBSTATES { | 1731 | enum VERTTHUMBSTATES { |
| 1732 | VTS_NORMAL = 1, | 1732 | VTS_NORMAL = 1, |
| 1733 | VTS_HOT = 2, | 1733 | VTS_HOT = 2, |
| 1734 | VTS_PUSHED = 3, | 1734 | VTS_PUSHED = 3, |
| 1735 | VTS_DISABLED = 4, | 1735 | VTS_DISABLED = 4 |
| 1736 | }; | 1736 | }; |
| 1737 | 1737 | ||
| 1738 | enum SYSBUTTONSTATES { | 1738 | enum SYSBUTTONSTATES { |
| 1739 | SBS_NORMAL = 1, | 1739 | SBS_NORMAL = 1, |
| 1740 | SBS_HOT = 2, | 1740 | SBS_HOT = 2, |
| 1741 | SBS_PUSHED = 3, | 1741 | SBS_PUSHED = 3, |
| 1742 | SBS_DISABLED = 4, | 1742 | SBS_DISABLED = 4 |
| 1743 | }; | 1743 | }; |
| 1744 | 1744 | ||
| 1745 | enum MINBUTTONSTATES { | 1745 | enum MINBUTTONSTATES { |
| 1746 | MINBS_NORMAL = 1, | 1746 | MINBS_NORMAL = 1, |
| 1747 | MINBS_HOT = 2, | 1747 | MINBS_HOT = 2, |
| 1748 | MINBS_PUSHED = 3, | 1748 | MINBS_PUSHED = 3, |
| 1749 | MINBS_DISABLED = 4, | 1749 | MINBS_DISABLED = 4 |
| 1750 | }; | 1750 | }; |
| 1751 | 1751 | ||
| 1752 | enum MAXBUTTONSTATES { | 1752 | enum MAXBUTTONSTATES { |
| 1753 | MAXBS_NORMAL = 1, | 1753 | MAXBS_NORMAL = 1, |
| 1754 | MAXBS_HOT = 2, | 1754 | MAXBS_HOT = 2, |
| 1755 | MAXBS_PUSHED = 3, | 1755 | MAXBS_PUSHED = 3, |
| 1756 | MAXBS_DISABLED = 4, | 1756 | MAXBS_DISABLED = 4 |
| 1757 | }; | 1757 | }; |
| 1758 | 1758 | ||
| 1759 | enum RESTOREBUTTONSTATES { | 1759 | enum RESTOREBUTTONSTATES { |
| 1760 | RBS_NORMAL = 1, | 1760 | RBS_NORMAL = 1, |
| 1761 | RBS_HOT = 2, | 1761 | RBS_HOT = 2, |
| 1762 | RBS_PUSHED = 3, | 1762 | RBS_PUSHED = 3, |
| 1763 | RBS_DISABLED = 4, | 1763 | RBS_DISABLED = 4 |
| 1764 | }; | 1764 | }; |
| 1765 | 1765 | ||
| 1766 | enum HELPBUTTONSTATES { | 1766 | enum HELPBUTTONSTATES { |
| 1767 | HBS_NORMAL = 1, | 1767 | HBS_NORMAL = 1, |
| 1768 | HBS_HOT = 2, | 1768 | HBS_HOT = 2, |
| 1769 | HBS_PUSHED = 3, | 1769 | HBS_PUSHED = 3, |
| 1770 | HBS_DISABLED = 4, | 1770 | HBS_DISABLED = 4 |
| 1771 | }; | 1771 | }; |
| 1772 | 1772 | ||
| 1773 | enum CLOSEBUTTONSTATES { | 1773 | enum CLOSEBUTTONSTATES { |
| 1774 | CBS_NORMAL = 1, | 1774 | CBS_NORMAL = 1, |
| 1775 | CBS_HOT = 2, | 1775 | CBS_HOT = 2, |
| 1776 | CBS_PUSHED = 3, | 1776 | CBS_PUSHED = 3, |
| 1777 | CBS_DISABLED = 4, | 1777 | CBS_DISABLED = 4 |
| 1778 | }; | 1778 | }; |
| 1779 | 1779 | ||
| 1780 | #endif /* __VSSTYLE_H__ */ | 1780 | #endif /* __VSSTYLE_H__ */ |
lib/libc/include/any-windows-any/vssym32.h+43-43| ... | @@ -51,18 +51,18 @@ | ... | @@ -51,18 +51,18 @@ |
| 51 | enum BGTYPE { | 51 | enum BGTYPE { |
| 52 | BT_IMAGEFILE = 0, | 52 | BT_IMAGEFILE = 0, |
| 53 | BT_BORDERFILL = 1, | 53 | BT_BORDERFILL = 1, |
| 54 | BT_NONE = 2, | 54 | BT_NONE = 2 |
| 55 | }; | 55 | }; |
| 56 | 56 | ||
| 57 | enum IMAGELAYOUT { | 57 | enum IMAGELAYOUT { |
| 58 | IL_VERTICAL = 0, | 58 | IL_VERTICAL = 0, |
| 59 | IL_HORIZONTAL = 1, | 59 | IL_HORIZONTAL = 1 |
| 60 | }; | 60 | }; |
| 61 | 61 | ||
| 62 | enum BORDERTYPE { | 62 | enum BORDERTYPE { |
| 63 | BT_RECT = 0, | 63 | BT_RECT = 0, |
| 64 | BT_ROUNDRECT = 1, | 64 | BT_ROUNDRECT = 1, |
| 65 | BT_ELLIPSE = 2, | 65 | BT_ELLIPSE = 2 |
| 66 | }; | 66 | }; |
| 67 | 67 | ||
| 68 | enum FILLTYPE { | 68 | enum FILLTYPE { |
| ... | @@ -70,31 +70,31 @@ enum FILLTYPE { | ... | @@ -70,31 +70,31 @@ enum FILLTYPE { |
| 70 | FT_VERTGRADIENT = 1, | 70 | FT_VERTGRADIENT = 1, |
| 71 | FT_HORZGRADIENT = 2, | 71 | FT_HORZGRADIENT = 2, |
| 72 | FT_RADIALGRADIENT = 3, | 72 | FT_RADIALGRADIENT = 3, |
| 73 | FT_TILEIMAGE = 4, | 73 | FT_TILEIMAGE = 4 |
| 74 | }; | 74 | }; |
| 75 | 75 | ||
| 76 | enum SIZINGTYPE { | 76 | enum SIZINGTYPE { |
| 77 | ST_TRUESIZE = 0, | 77 | ST_TRUESIZE = 0, |
| 78 | ST_STRETCH = 1, | 78 | ST_STRETCH = 1, |
| 79 | ST_TILE = 2, | 79 | ST_TILE = 2 |
| 80 | }; | 80 | }; |
| 81 | 81 | ||
| 82 | enum HALIGN { | 82 | enum HALIGN { |
| 83 | HA_LEFT = 0, | 83 | HA_LEFT = 0, |
| 84 | HA_CENTER = 1, | 84 | HA_CENTER = 1, |
| 85 | HA_RIGHT = 2, | 85 | HA_RIGHT = 2 |
| 86 | }; | 86 | }; |
| 87 | 87 | ||
| 88 | enum CONTENTALIGNMENT { | 88 | enum CONTENTALIGNMENT { |
| 89 | CA_LEFT = 0, | 89 | CA_LEFT = 0, |
| 90 | CA_CENTER = 1, | 90 | CA_CENTER = 1, |
| 91 | CA_RIGHT = 2, | 91 | CA_RIGHT = 2 |
| 92 | }; | 92 | }; |
| 93 | 93 | ||
| 94 | enum VALIGN { | 94 | enum VALIGN { |
| 95 | VA_TOP = 0, | 95 | VA_TOP = 0, |
| 96 | VA_CENTER = 1, | 96 | VA_CENTER = 1, |
| 97 | VA_BOTTOM = 2, | 97 | VA_BOTTOM = 2 |
| 98 | }; | 98 | }; |
| 99 | 99 | ||
| 100 | enum OFFSETTYPE { | 100 | enum OFFSETTYPE { |
| ... | @@ -111,7 +111,7 @@ enum OFFSETTYPE { | ... | @@ -111,7 +111,7 @@ enum OFFSETTYPE { |
| 111 | OT_LEFTOFLASTBUTTON = 10, | 111 | OT_LEFTOFLASTBUTTON = 10, |
| 112 | OT_RIGHTOFLASTBUTTON = 11, | 112 | OT_RIGHTOFLASTBUTTON = 11, |
| 113 | OT_ABOVELASTBUTTON = 12, | 113 | OT_ABOVELASTBUTTON = 12, |
| 114 | OT_BELOWLASTBUTTON = 13, | 114 | OT_BELOWLASTBUTTON = 13 |
| 115 | }; | 115 | }; |
| 116 | 116 | ||
| 117 | enum ICONEFFECT { | 117 | enum ICONEFFECT { |
| ... | @@ -119,37 +119,37 @@ enum ICONEFFECT { | ... | @@ -119,37 +119,37 @@ enum ICONEFFECT { |
| 119 | ICE_GLOW = 1, | 119 | ICE_GLOW = 1, |
| 120 | ICE_SHADOW = 2, | 120 | ICE_SHADOW = 2, |
| 121 | ICE_PULSE = 3, | 121 | ICE_PULSE = 3, |
| 122 | ICE_ALPHA = 4, | 122 | ICE_ALPHA = 4 |
| 123 | }; | 123 | }; |
| 124 | 124 | ||
| 125 | enum TEXTSHADOWTYPE { | 125 | enum TEXTSHADOWTYPE { |
| 126 | TST_NONE = 0, | 126 | TST_NONE = 0, |
| 127 | TST_SINGLE = 1, | 127 | TST_SINGLE = 1, |
| 128 | TST_CONTINUOUS = 2, | 128 | TST_CONTINUOUS = 2 |
| 129 | }; | 129 | }; |
| 130 | 130 | ||
| 131 | enum GLYPHTYPE { | 131 | enum GLYPHTYPE { |
| 132 | GT_NONE = 0, | 132 | GT_NONE = 0, |
| 133 | GT_IMAGEGLYPH = 1, | 133 | GT_IMAGEGLYPH = 1, |
| 134 | GT_FONTGLYPH = 2, | 134 | GT_FONTGLYPH = 2 |
| 135 | }; | 135 | }; |
| 136 | 136 | ||
| 137 | enum IMAGESELECTTYPE { | 137 | enum IMAGESELECTTYPE { |
| 138 | IST_NONE = 0, | 138 | IST_NONE = 0, |
| 139 | IST_SIZE = 1, | 139 | IST_SIZE = 1, |
| 140 | IST_DPI = 2, | 140 | IST_DPI = 2 |
| 141 | }; | 141 | }; |
| 142 | 142 | ||
| 143 | enum TRUESIZESCALINGTYPE { | 143 | enum TRUESIZESCALINGTYPE { |
| 144 | TSST_NONE = 0, | 144 | TSST_NONE = 0, |
| 145 | TSST_SIZE = 1, | 145 | TSST_SIZE = 1, |
| 146 | TSST_DPI = 2, | 146 | TSST_DPI = 2 |
| 147 | }; | 147 | }; |
| 148 | 148 | ||
| 149 | enum GLYPHFONTSIZINGTYPE { | 149 | enum GLYPHFONTSIZINGTYPE { |
| 150 | GFST_NONE = 0, | 150 | GFST_NONE = 0, |
| 151 | GFST_SIZE = 1, | 151 | GFST_SIZE = 1, |
| 152 | GFST_DPI = 2, | 152 | GFST_DPI = 2 |
| 153 | }; | 153 | }; |
| 154 | 154 | ||
| 155 | #define TMT_RESERVEDLOW 0 | 155 | #define TMT_RESERVEDLOW 0 |
| ... | @@ -413,12 +413,12 @@ static const WCHAR VSCLASS_LINK[] = {'L','I','N','K',0}; | ... | @@ -413,12 +413,12 @@ static const WCHAR VSCLASS_LINK[] = {'L','I','N','K',0}; |
| 413 | #endif | 413 | #endif |
| 414 | 414 | ||
| 415 | enum LINKPARTS { | 415 | enum LINKPARTS { |
| 416 | LP_HYPERLINK = 1, | 416 | LP_HYPERLINK = 1 |
| 417 | }; | 417 | }; |
| 418 | 418 | ||
| 419 | enum HYPERLINKSTATES { | 419 | enum HYPERLINKSTATES { |
| 420 | HLS_NORMALTEXT = 1, | 420 | HLS_NORMALTEXT = 1, |
| 421 | HLS_LINKTEXT = 2, | 421 | HLS_LINKTEXT = 2 |
| 422 | }; | 422 | }; |
| 423 | 423 | ||
| 424 | /* EMPTYMARKUP class */ | 424 | /* EMPTYMARKUP class */ |
| ... | @@ -431,12 +431,12 @@ static const WCHAR VSCLASS_EMPTYMARKUP[] = {'E','M','P','T','Y','M','A','R','K', | ... | @@ -431,12 +431,12 @@ static const WCHAR VSCLASS_EMPTYMARKUP[] = {'E','M','P','T','Y','M','A','R','K', |
| 431 | #endif | 431 | #endif |
| 432 | 432 | ||
| 433 | enum EMPTYMARKUPPARTS { | 433 | enum EMPTYMARKUPPARTS { |
| 434 | EMP_MARKUPTEXT = 1, | 434 | EMP_MARKUPTEXT = 1 |
| 435 | }; | 435 | }; |
| 436 | 436 | ||
| 437 | enum MARKUPTEXTSTATES { | 437 | enum MARKUPTEXTSTATES { |
| 438 | EMT_NORMALTEXT = 1, | 438 | EMT_NORMALTEXT = 1, |
| 439 | EMT_LINKTEXT = 2, | 439 | EMT_LINKTEXT = 2 |
| 440 | }; | 440 | }; |
| 441 | 441 | ||
| 442 | /* STATIC class */ | 442 | /* STATIC class */ |
| ... | @@ -449,7 +449,7 @@ static const WCHAR VSCLASS_STATIC[] = {'S','T','A','T','I','C',0}; | ... | @@ -449,7 +449,7 @@ static const WCHAR VSCLASS_STATIC[] = {'S','T','A','T','I','C',0}; |
| 449 | #endif | 449 | #endif |
| 450 | 450 | ||
| 451 | enum STATICPARTS { | 451 | enum STATICPARTS { |
| 452 | STAT_TEXT = 1, | 452 | STAT_TEXT = 1 |
| 453 | }; | 453 | }; |
| 454 | 454 | ||
| 455 | /* PAGE class */ | 455 | /* PAGE class */ |
| ... | @@ -465,7 +465,7 @@ enum PAGEPARTS { | ... | @@ -465,7 +465,7 @@ enum PAGEPARTS { |
| 465 | PGRP_UP = 1, | 465 | PGRP_UP = 1, |
| 466 | PGRP_DOWN = 2, | 466 | PGRP_DOWN = 2, |
| 467 | PGRP_UPHORZ = 3, | 467 | PGRP_UPHORZ = 3, |
| 468 | PGRP_DOWNHORZ = 4, | 468 | PGRP_DOWNHORZ = 4 |
| 469 | }; | 469 | }; |
| 470 | 470 | ||
| 471 | /* MONTHCAL class */ | 471 | /* MONTHCAL class */ |
| ... | @@ -488,7 +488,7 @@ enum MONTHCALPARTS { | ... | @@ -488,7 +488,7 @@ enum MONTHCALPARTS { |
| 488 | MC_TRAILINGGRIDCELL = 8, | 488 | MC_TRAILINGGRIDCELL = 8, |
| 489 | MC_TRAILINGGRIDCELLUPPER = 9, | 489 | MC_TRAILINGGRIDCELLUPPER = 9, |
| 490 | MC_NAVNEXT = 10, | 490 | MC_NAVNEXT = 10, |
| 491 | MC_NAVPREV = 11, | 491 | MC_NAVPREV = 11 |
| 492 | }; | 492 | }; |
| 493 | 493 | ||
| 494 | enum GRIDCELLBACKGROUNDSTATES { | 494 | enum GRIDCELLBACKGROUNDSTATES { |
| ... | @@ -496,47 +496,47 @@ enum GRIDCELLBACKGROUNDSTATES { | ... | @@ -496,47 +496,47 @@ enum GRIDCELLBACKGROUNDSTATES { |
| 496 | MCGCB_HOT = 2, | 496 | MCGCB_HOT = 2, |
| 497 | MCGCB_SELECTEDHOT = 3, | 497 | MCGCB_SELECTEDHOT = 3, |
| 498 | MCGCB_SELECTEDNOTFOCUSED = 4, | 498 | MCGCB_SELECTEDNOTFOCUSED = 4, |
| 499 | MCGCB_TODAY = 5, | 499 | MCGCB_TODAY = 5 |
| 500 | }; | 500 | }; |
| 501 | 501 | ||
| 502 | enum GRIDCELLSTATES { | 502 | enum GRIDCELLSTATES { |
| 503 | MCGC_HOT = 1, | 503 | MCGC_HOT = 1, |
| 504 | MCGC_HASSTATE = 2, | 504 | MCGC_HASSTATE = 2, |
| 505 | MCGC_HASSTATEHOT = 3, | 505 | MCGC_HASSTATEHOT = 3, |
| 506 | MCGC_TODAY = 4, | 506 | MCGC_TODAY = 4 |
| 507 | }; | 507 | }; |
| 508 | 508 | ||
| 509 | enum GRIDCELLUPPERSTATES { | 509 | enum GRIDCELLUPPERSTATES { |
| 510 | MCGCU_HOT = 1, | 510 | MCGCU_HOT = 1, |
| 511 | MCGCU_HASSTATE = 2, | 511 | MCGCU_HASSTATE = 2, |
| 512 | MCGCU_HASSTATEHOT = 3, | 512 | MCGCU_HASSTATEHOT = 3 |
| 513 | }; | 513 | }; |
| 514 | 514 | ||
| 515 | enum TRAILINGGRIDCELLSTATES { | 515 | enum TRAILINGGRIDCELLSTATES { |
| 516 | MCTGC_HOT = 1, | 516 | MCTGC_HOT = 1, |
| 517 | MCTGC_HASSTATE = 2, | 517 | MCTGC_HASSTATE = 2, |
| 518 | MCTGC_HASSTATEHOT = 3, | 518 | MCTGC_HASSTATEHOT = 3, |
| 519 | MCTGC_TODAY = 4, | 519 | MCTGC_TODAY = 4 |
| 520 | }; | 520 | }; |
| 521 | 521 | ||
| 522 | enum TRAILINGGRIDCELLUPPERSTATES { | 522 | enum TRAILINGGRIDCELLUPPERSTATES { |
| 523 | MCTGCU_HOT = 1, | 523 | MCTGCU_HOT = 1, |
| 524 | MCTGCU_HASSTATE = 2, | 524 | MCTGCU_HASSTATE = 2, |
| 525 | MCTGCU_HASSTATEHOT = 3, | 525 | MCTGCU_HASSTATEHOT = 3 |
| 526 | }; | 526 | }; |
| 527 | 527 | ||
| 528 | enum NAVNEXTSTATES { | 528 | enum NAVNEXTSTATES { |
| 529 | MCNN_NORMAL = 1, | 529 | MCNN_NORMAL = 1, |
| 530 | MCNN_HOT = 2, | 530 | MCNN_HOT = 2, |
| 531 | MCNN_PRESSED = 3, | 531 | MCNN_PRESSED = 3, |
| 532 | MCNN_DISABLED = 4, | 532 | MCNN_DISABLED = 4 |
| 533 | }; | 533 | }; |
| 534 | 534 | ||
| 535 | enum NAVPREVSTATES { | 535 | enum NAVPREVSTATES { |
| 536 | MCNP_NORMAL = 1, | 536 | MCNP_NORMAL = 1, |
| 537 | MCNP_HOT = 2, | 537 | MCNP_HOT = 2, |
| 538 | MCNP_PRESSED = 3, | 538 | MCNP_PRESSED = 3, |
| 539 | MCNP_DISABLED = 4, | 539 | MCNP_DISABLED = 4 |
| 540 | }; | 540 | }; |
| 541 | 541 | ||
| 542 | /* CLOCK class */ | 542 | /* CLOCK class */ |
| ... | @@ -549,13 +549,13 @@ static const WCHAR VSCLASS_CLOCK[] = {'C','L','O','C','K',0}; | ... | @@ -549,13 +549,13 @@ static const WCHAR VSCLASS_CLOCK[] = {'C','L','O','C','K',0}; |
| 549 | #endif | 549 | #endif |
| 550 | 550 | ||
| 551 | enum CLOCKPARTS { | 551 | enum CLOCKPARTS { |
| 552 | CLP_TIME = 1, | 552 | CLP_TIME = 1 |
| 553 | }; | 553 | }; |
| 554 | 554 | ||
| 555 | enum CLOCKSTATES { | 555 | enum CLOCKSTATES { |
| 556 | CLS_NORMAL = 1, | 556 | CLS_NORMAL = 1, |
| 557 | CLS_HOT = 2, | 557 | CLS_HOT = 2, |
| 558 | CLS_PRESSED = 3, | 558 | CLS_PRESSED = 3 |
| 559 | }; | 559 | }; |
| 560 | 560 | ||
| 561 | /* TRAYNOTIFY class */ | 561 | /* TRAYNOTIFY class */ |
| ... | @@ -569,7 +569,7 @@ static const WCHAR VSCLASS_TRAYNOTIFY[] = {'T','R','A','Y','N','O','T','I','F',' | ... | @@ -569,7 +569,7 @@ static const WCHAR VSCLASS_TRAYNOTIFY[] = {'T','R','A','Y','N','O','T','I','F',' |
| 569 | 569 | ||
| 570 | enum TRAYNOTIFYPARTS { | 570 | enum TRAYNOTIFYPARTS { |
| 571 | TNP_BACKGROUND = 1, | 571 | TNP_BACKGROUND = 1, |
| 572 | TNP_ANIMBACKGROUND = 2, | 572 | TNP_ANIMBACKGROUND = 2 |
| 573 | }; | 573 | }; |
| 574 | 574 | ||
| 575 | /* TASKBAR class */ | 575 | /* TASKBAR class */ |
| ... | @@ -589,7 +589,7 @@ enum TASKBARPARTS { | ... | @@ -589,7 +589,7 @@ enum TASKBARPARTS { |
| 589 | TBP_SIZINGBARBOTTOM = 5, | 589 | TBP_SIZINGBARBOTTOM = 5, |
| 590 | TBP_SIZINGBARRIGHT = 6, | 590 | TBP_SIZINGBARRIGHT = 6, |
| 591 | TBP_SIZINGBARTOP = 7, | 591 | TBP_SIZINGBARTOP = 7, |
| 592 | TBP_SIZINGBARLEFT = 8, | 592 | TBP_SIZINGBARLEFT = 8 |
| 593 | }; | 593 | }; |
| 594 | 594 | ||
| 595 | /* TASKBAND class */ | 595 | /* TASKBAND class */ |
| ... | @@ -604,7 +604,7 @@ static const WCHAR VSCLASS_TASKBAND[] = {'T','A','S','K','B','A','N','D',0}; | ... | @@ -604,7 +604,7 @@ static const WCHAR VSCLASS_TASKBAND[] = {'T','A','S','K','B','A','N','D',0}; |
| 604 | enum TASKBANDPARTS { | 604 | enum TASKBANDPARTS { |
| 605 | TDP_GROUPCOUNT = 1, | 605 | TDP_GROUPCOUNT = 1, |
| 606 | TDP_FLASHBUTTON = 2, | 606 | TDP_FLASHBUTTON = 2, |
| 607 | TDP_FLASHBUTTONGROUPMENU = 3, | 607 | TDP_FLASHBUTTONGROUPMENU = 3 |
| 608 | }; | 608 | }; |
| 609 | 609 | ||
| 610 | /* STARTPANEL class */ | 610 | /* STARTPANEL class */ |
| ... | @@ -635,7 +635,7 @@ enum STARTPANELPARTS { | ... | @@ -635,7 +635,7 @@ enum STARTPANELPARTS { |
| 635 | SPP_SEARCHVIEW = 16, | 635 | SPP_SEARCHVIEW = 16, |
| 636 | SPP_MOREPROGRAMSARROWBACK = 17, | 636 | SPP_MOREPROGRAMSARROWBACK = 17, |
| 637 | SPP_TOPMATCH = 18, | 637 | SPP_TOPMATCH = 18, |
| 638 | SPP_LOGOFFSPLITBUTTONDROPDOWN = 19, | 638 | SPP_LOGOFFSPLITBUTTONDROPDOWN = 19 |
| 639 | }; | 639 | }; |
| 640 | 640 | ||
| 641 | enum MOREPROGRAMSTABSTATES { | 641 | enum MOREPROGRAMSTABSTATES { |
| ... | @@ -643,7 +643,7 @@ enum MOREPROGRAMSTABSTATES { | ... | @@ -643,7 +643,7 @@ enum MOREPROGRAMSTABSTATES { |
| 643 | SPMPT_HOT = 2, | 643 | SPMPT_HOT = 2, |
| 644 | SPMPT_SELECTED = 3, | 644 | SPMPT_SELECTED = 3, |
| 645 | SPMPT_DISABLED = 4, | 645 | SPMPT_DISABLED = 4, |
| 646 | SPMPT_FOCUSED = 5, | 646 | SPMPT_FOCUSED = 5 |
| 647 | }; | 647 | }; |
| 648 | 648 | ||
| 649 | enum SOFTWAREEXPLORERSTATES { | 649 | enum SOFTWAREEXPLORERSTATES { |
| ... | @@ -651,7 +651,7 @@ enum SOFTWAREEXPLORERSTATES { | ... | @@ -651,7 +651,7 @@ enum SOFTWAREEXPLORERSTATES { |
| 651 | SPSE_HOT = 2, | 651 | SPSE_HOT = 2, |
| 652 | SPSE_SELECTED = 3, | 652 | SPSE_SELECTED = 3, |
| 653 | SPSE_DISABLED = 4, | 653 | SPSE_DISABLED = 4, |
| 654 | SPSE_FOCUSED = 5, | 654 | SPSE_FOCUSED = 5 |
| 655 | }; | 655 | }; |
| 656 | 656 | ||
| 657 | enum OPENBOXSTATES { | 657 | enum OPENBOXSTATES { |
| ... | @@ -659,25 +659,25 @@ enum OPENBOXSTATES { | ... | @@ -659,25 +659,25 @@ enum OPENBOXSTATES { |
| 659 | SPOB_HOT = 2, | 659 | SPOB_HOT = 2, |
| 660 | SPOB_SELECTED = 3, | 660 | SPOB_SELECTED = 3, |
| 661 | SPOB_DISABLED = 4, | 661 | SPOB_DISABLED = 4, |
| 662 | SPOB_FOCUSED = 5, | 662 | SPOB_FOCUSED = 5 |
| 663 | }; | 663 | }; |
| 664 | 664 | ||
| 665 | enum MOREPROGRAMSARROWSTATES { | 665 | enum MOREPROGRAMSARROWSTATES { |
| 666 | SPS_NORMAL = 1, | 666 | SPS_NORMAL = 1, |
| 667 | SPS_HOT = 2, | 667 | SPS_HOT = 2, |
| 668 | SPS_PRESSED = 3, | 668 | SPS_PRESSED = 3 |
| 669 | }; | 669 | }; |
| 670 | 670 | ||
| 671 | enum MOREPROGRAMSARROWBACKSTATES { | 671 | enum MOREPROGRAMSARROWBACKSTATES { |
| 672 | SPSB_NORMAL = 1, | 672 | SPSB_NORMAL = 1, |
| 673 | SPSB_HOT = 2, | 673 | SPSB_HOT = 2, |
| 674 | SPSB_PRESSED = 3, | 674 | SPSB_PRESSED = 3 |
| 675 | }; | 675 | }; |
| 676 | 676 | ||
| 677 | enum LOGOFFBUTTONSSTATES { | 677 | enum LOGOFFBUTTONSSTATES { |
| 678 | SPLS_NORMAL = 1, | 678 | SPLS_NORMAL = 1, |
| 679 | SPLS_HOT = 2, | 679 | SPLS_HOT = 2, |
| 680 | SPLS_PRESSED = 3, | 680 | SPLS_PRESSED = 3 |
| 681 | }; | 681 | }; |
| 682 | 682 | ||
| 683 | /* MENUBAND class */ | 683 | /* MENUBAND class */ |
| ... | @@ -691,7 +691,7 @@ static const WCHAR VSCLASS_MENUBAND[] = {'M','E','N','U','B','A','N','D',0}; | ... | @@ -691,7 +691,7 @@ static const WCHAR VSCLASS_MENUBAND[] = {'M','E','N','U','B','A','N','D',0}; |
| 691 | 691 | ||
| 692 | enum MENUBANDPARTS { | 692 | enum MENUBANDPARTS { |
| 693 | MDP_NEWAPPBUTTON = 1, | 693 | MDP_NEWAPPBUTTON = 1, |
| 694 | MDP_SEPERATOR = 2, | 694 | MDP_SEPERATOR = 2 |
| 695 | }; | 695 | }; |
| 696 | 696 | ||
| 697 | enum MENUBANDSTATES { | 697 | enum MENUBANDSTATES { |
| ... | @@ -700,7 +700,7 @@ enum MENUBANDSTATES { | ... | @@ -700,7 +700,7 @@ enum MENUBANDSTATES { |
| 700 | MDS_PRESSED = 3, | 700 | MDS_PRESSED = 3, |
| 701 | MDS_DISABLED = 4, | 701 | MDS_DISABLED = 4, |
| 702 | MDS_CHECKED = 5, | 702 | MDS_CHECKED = 5, |
| 703 | MDS_HOTCHECKED = 6, | 703 | MDS_HOTCHECKED = 6 |
| 704 | }; | 704 | }; |
| 705 | 705 | ||
| 706 | #endif /* __VSSYM32_H__ */ | 706 | #endif /* __VSSYM32_H__ */ |
lib/libc/include/any-windows-any/vswriter.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/vswriter.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/vswriter.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wbemads.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wbemads.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wbemads.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wbemcli.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wbemcli.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wbemcli.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wbemdisp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wbemdisp.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wbemdisp.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wbemidl.h+2-2| ... | @@ -6,8 +6,8 @@ | ... | @@ -6,8 +6,8 @@ |
| 6 | #ifndef __WBEMIDL_H_ | 6 | #ifndef __WBEMIDL_H_ |
| 7 | #define __WBEMIDL_H_ | 7 | #define __WBEMIDL_H_ |
| 8 | 8 | ||
| 9 | #include <winapifamily.h> | 9 | #include <winapifamily.h> |
| 10 | 10 | ||
| 11 | #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) | 11 | #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) |
| 12 | 12 | ||
| 13 | #include <wbemcli.h> | 13 | #include <wbemcli.h> |
lib/libc/include/any-windows-any/wbemprov.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wbemprov.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wbemprov.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wbemtran.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wbemtran.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wbemtran.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wchar.h+59-287| ... | @@ -9,6 +9,7 @@ | ... | @@ -9,6 +9,7 @@ |
| 9 | #include <corecrt.h> | 9 | #include <corecrt.h> |
| 10 | #include <corecrt_stdio_config.h> | 10 | #include <corecrt_stdio_config.h> |
| 11 | #include <corecrt_wstdlib.h> | 11 | #include <corecrt_wstdlib.h> |
| 12 | #include <corecrt_wctype.h> | ||
| 12 | 13 | ||
| 13 | #if __USE_MINGW_ANSI_STDIO && !defined (__USE_MINGW_STRTOX) && !defined(_CRTBLD) | 14 | #if __USE_MINGW_ANSI_STDIO && !defined (__USE_MINGW_STRTOX) && !defined(_CRTBLD) |
| 14 | #define __USE_MINGW_STRTOX 1 | 15 | #define __USE_MINGW_STRTOX 1 |
| ... | @@ -148,109 +149,6 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index); | ... | @@ -148,109 +149,6 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index); |
| 148 | 149 | ||
| 149 | #define _WConst_return _CONST_RETURN | 150 | #define _WConst_return _CONST_RETURN |
| 150 | 151 | ||
| 151 | #ifndef _CRT_CTYPEDATA_DEFINED | ||
| 152 | #define _CRT_CTYPEDATA_DEFINED | ||
| 153 | #ifndef _CTYPE_DISABLE_MACROS | ||
| 154 | |||
| 155 | #ifndef __PCTYPE_FUNC | ||
| 156 | #define __PCTYPE_FUNC __pctype_func() | ||
| 157 | _CRTIMP const unsigned short* __pctype_func(void); | ||
| 158 | #endif | ||
| 159 | |||
| 160 | #ifndef _pctype | ||
| 161 | #define _pctype (__pctype_func()) | ||
| 162 | #endif | ||
| 163 | #endif | ||
| 164 | #endif | ||
| 165 | |||
| 166 | #ifndef _CRT_WCTYPEDATA_DEFINED | ||
| 167 | #define _CRT_WCTYPEDATA_DEFINED | ||
| 168 | #ifndef _CTYPE_DISABLE_MACROS | ||
| 169 | #if !defined(_wctype) && defined(_CRT_USE_WINAPI_FAMILY_DESKTOP_APP) | ||
| 170 | extern const unsigned short ** __MINGW_IMP_SYMBOL(_wctype); | ||
| 171 | #define _wctype (* __MINGW_IMP_SYMBOL(_wctype)) | ||
| 172 | #endif | ||
| 173 | |||
| 174 | _CRTIMP const wctype_t * __cdecl __pwctype_func(void); | ||
| 175 | #ifndef _pwctype | ||
| 176 | #define _pwctype (__pwctype_func()) | ||
| 177 | #endif | ||
| 178 | |||
| 179 | #endif | ||
| 180 | #endif | ||
| 181 | |||
| 182 | #define _UPPER 0x1 | ||
| 183 | #define _LOWER 0x2 | ||
| 184 | #define _DIGIT 0x4 | ||
| 185 | #define _SPACE 0x8 | ||
| 186 | |||
| 187 | #define _PUNCT 0x10 | ||
| 188 | #define _CONTROL 0x20 | ||
| 189 | #define _BLANK 0x40 | ||
| 190 | #define _HEX 0x80 | ||
| 191 | |||
| 192 | #define _LEADBYTE 0x8000 | ||
| 193 | #define _ALPHA (0x0100|_UPPER|_LOWER) | ||
| 194 | |||
| 195 | #ifndef _WCTYPE_DEFINED | ||
| 196 | #define _WCTYPE_DEFINED | ||
| 197 | |||
| 198 | int __cdecl iswalpha(wint_t _C); | ||
| 199 | int __cdecl iswupper(wint_t _C); | ||
| 200 | int __cdecl iswlower(wint_t _C); | ||
| 201 | int __cdecl iswdigit(wint_t _C); | ||
| 202 | int __cdecl iswxdigit(wint_t _C); | ||
| 203 | int __cdecl iswspace(wint_t _C); | ||
| 204 | int __cdecl iswpunct(wint_t _C); | ||
| 205 | int __cdecl iswalnum(wint_t _C); | ||
| 206 | int __cdecl iswprint(wint_t _C); | ||
| 207 | int __cdecl iswgraph(wint_t _C); | ||
| 208 | int __cdecl iswcntrl(wint_t _C); | ||
| 209 | int __cdecl iswascii(wint_t _C); | ||
| 210 | #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP | ||
| 211 | int __cdecl isleadbyte(int _C); | ||
| 212 | #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */ | ||
| 213 | wint_t __cdecl towupper(wint_t _C); | ||
| 214 | wint_t __cdecl towlower(wint_t _C); | ||
| 215 | int __cdecl iswctype(wint_t _C,wctype_t _Type); | ||
| 216 | #if __MSVCRT_VERSION__ >= 0x800 || (__MSVCRT_VERSION__ == 0x600 && _WIN32_WINNT >= 0x0600) | ||
| 217 | /* These are available since msvcr80.dll (__MSVCRT_VERSION__ >= 0x800), and in | ||
| 218 | * msvcrt.dll (__MSVCRT_VERSION__ == 0x600) since Vista (_WIN32_WINNT >= 0x0600). */ | ||
| 219 | _CRTIMP int __cdecl _iswalpha_l(wint_t _C,_locale_t _Locale); | ||
| 220 | _CRTIMP int __cdecl _iswupper_l(wint_t _C,_locale_t _Locale); | ||
| 221 | _CRTIMP int __cdecl _iswlower_l(wint_t _C,_locale_t _Locale); | ||
| 222 | _CRTIMP int __cdecl _iswdigit_l(wint_t _C,_locale_t _Locale); | ||
| 223 | _CRTIMP int __cdecl _iswxdigit_l(wint_t _C,_locale_t _Locale); | ||
| 224 | _CRTIMP int __cdecl _iswspace_l(wint_t _C,_locale_t _Locale); | ||
| 225 | _CRTIMP int __cdecl _iswpunct_l(wint_t _C,_locale_t _Locale); | ||
| 226 | _CRTIMP int __cdecl _iswalnum_l(wint_t _C,_locale_t _Locale); | ||
| 227 | _CRTIMP int __cdecl _iswprint_l(wint_t _C,_locale_t _Locale); | ||
| 228 | _CRTIMP int __cdecl _iswgraph_l(wint_t _C,_locale_t _Locale); | ||
| 229 | _CRTIMP int __cdecl _iswcntrl_l(wint_t _C,_locale_t _Locale); | ||
| 230 | # ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP | ||
| 231 | _CRTIMP int __cdecl _isleadbyte_l(int _C,_locale_t _Locale); | ||
| 232 | # endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */ | ||
| 233 | _CRTIMP wint_t __cdecl _towupper_l(wint_t _C,_locale_t _Locale); | ||
| 234 | _CRTIMP wint_t __cdecl _towlower_l(wint_t _C,_locale_t _Locale); | ||
| 235 | _CRTIMP int __cdecl _iswctype_l(wint_t _C,wctype_t _Type,_locale_t _Locale); | ||
| 236 | _CRTIMP int __cdecl __iswcsymf(wint_t _C); | ||
| 237 | _CRTIMP int __cdecl __iswcsym(wint_t _C); | ||
| 238 | #endif | ||
| 239 | #if __MSVCRT_VERSION__ >= 0x800 | ||
| 240 | /* These are only available since msvcr80.dll, never in msvcrt.dll. */ | ||
| 241 | _CRTIMP int __cdecl _iswcsymf_l(wint_t _C,_locale_t _Locale); | ||
| 242 | _CRTIMP int __cdecl _iswcsym_l(wint_t _C,_locale_t _Locale); | ||
| 243 | #endif | ||
| 244 | #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP | ||
| 245 | int __cdecl is_wctype(wint_t _C,wctype_t _Type); | ||
| 246 | #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */ | ||
| 247 | |||
| 248 | #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || !defined (NO_OLDNAMES) || defined (__cplusplus) | ||
| 249 | int __cdecl iswblank(wint_t _C); | ||
| 250 | #endif | ||
| 251 | |||
| 252 | #endif | ||
| 253 | |||
| 254 | #ifndef _WDIRECT_DEFINED | 152 | #ifndef _WDIRECT_DEFINED |
| 255 | #define _WDIRECT_DEFINED | 153 | #define _WDIRECT_DEFINED |
| 256 | 154 | ||
| ... | @@ -304,6 +202,10 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index); | ... | @@ -304,6 +202,10 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index); |
| 304 | _CRTIMP wchar_t *__cdecl _wsetlocale(int _Category,const wchar_t *_Locale); | 202 | _CRTIMP wchar_t *__cdecl _wsetlocale(int _Category,const wchar_t *_Locale); |
| 305 | #endif | 203 | #endif |
| 306 | 204 | ||
| 205 | #if __MSVCRT_VERSION__ >= 0xB00 | ||
| 206 | _CRTIMP _locale_t __cdecl _wcreate_locale(int _Category, const wchar_t *_Locale); | ||
| 207 | #endif | ||
| 208 | |||
| 307 | #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP | 209 | #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP |
| 308 | #ifndef _WEXEC_DEFINED | 210 | #ifndef _WEXEC_DEFINED |
| 309 | #define _WEXEC_DEFINED | 211 | #define _WEXEC_DEFINED |
| ... | @@ -335,41 +237,6 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index); | ... | @@ -335,41 +237,6 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index); |
| 335 | #endif | 237 | #endif |
| 336 | #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */ | 238 | #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */ |
| 337 | 239 | ||
| 338 | #ifndef _WCTYPE_INLINE_DEFINED | ||
| 339 | #undef _CRT_WCTYPE_NOINLINE | ||
| 340 | #if !defined(__cplusplus) || defined(_CRT_WCTYPE_NOINLINE) | ||
| 341 | #define iswalpha(_c) (iswctype(_c,_ALPHA)) | ||
| 342 | #define iswupper(_c) (iswctype(_c,_UPPER)) | ||
| 343 | #define iswlower(_c) (iswctype(_c,_LOWER)) | ||
| 344 | #define iswdigit(_c) (iswctype(_c,_DIGIT)) | ||
| 345 | #define iswxdigit(_c) (iswctype(_c,_HEX)) | ||
| 346 | #define iswspace(_c) (iswctype(_c,_SPACE)) | ||
| 347 | #define iswpunct(_c) (iswctype(_c,_PUNCT)) | ||
| 348 | #define iswalnum(_c) (iswctype(_c,_ALPHA|_DIGIT)) | ||
| 349 | #define iswprint(_c) (iswctype(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT)) | ||
| 350 | #define iswgraph(_c) (iswctype(_c,_PUNCT|_ALPHA|_DIGIT)) | ||
| 351 | #define iswcntrl(_c) (iswctype(_c,_CONTROL)) | ||
| 352 | #define iswascii(_c) ((unsigned)(_c) < 0x80) | ||
| 353 | #if __MSVCRT_VERSION__ >= 0x800 || (__MSVCRT_VERSION__ == 0x600 && _WIN32_WINNT >= 0x0600) | ||
| 354 | # define _iswalpha_l(_c,_p) (_iswctype_l(_c,_ALPHA,_p)) | ||
| 355 | # define _iswupper_l(_c,_p) (_iswctype_l(_c,_UPPER,_p)) | ||
| 356 | # define _iswlower_l(_c,_p) (_iswctype_l(_c,_LOWER,_p)) | ||
| 357 | # define _iswdigit_l(_c,_p) (_iswctype_l(_c,_DIGIT,_p)) | ||
| 358 | # define _iswxdigit_l(_c,_p) (_iswctype_l(_c,_HEX,_p)) | ||
| 359 | # define _iswspace_l(_c,_p) (_iswctype_l(_c,_SPACE,_p)) | ||
| 360 | # define _iswpunct_l(_c,_p) (_iswctype_l(_c,_PUNCT,_p)) | ||
| 361 | # define _iswalnum_l(_c,_p) (_iswctype_l(_c,_ALPHA|_DIGIT,_p)) | ||
| 362 | # define _iswprint_l(_c,_p) (_iswctype_l(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT,_p)) | ||
| 363 | # define _iswgraph_l(_c,_p) (_iswctype_l(_c,_PUNCT|_ALPHA|_DIGIT,_p)) | ||
| 364 | # define _iswcntrl_l(_c,_p) (_iswctype_l(_c,_CONTROL,_p)) | ||
| 365 | #endif /* __MSVCRT_VERSION__ >= 0x800 */ | ||
| 366 | #if !defined(_CTYPE_DISABLE_MACROS) && defined(_CRT_USE_WINAPI_FAMILY_DESKTOP_APP) | ||
| 367 | #define isleadbyte(_c) (__PCTYPE_FUNC[(unsigned char)(_c)] & _LEADBYTE) | ||
| 368 | #endif | ||
| 369 | #endif | ||
| 370 | #define _WCTYPE_INLINE_DEFINED | ||
| 371 | #endif | ||
| 372 | |||
| 373 | #if !defined(_POSIX_) || defined(__GNUC__) | 240 | #if !defined(_POSIX_) || defined(__GNUC__) |
| 374 | #ifndef _INO_T_DEFINED | 241 | #ifndef _INO_T_DEFINED |
| 375 | #define _INO_T_DEFINED | 242 | #define _INO_T_DEFINED |
| ... | @@ -395,7 +262,7 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index); | ... | @@ -395,7 +262,7 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index); |
| 395 | 262 | ||
| 396 | _CRTIMP int __cdecl _wstat32(const wchar_t *_Name,struct _stat32 *_Stat); | 263 | _CRTIMP int __cdecl _wstat32(const wchar_t *_Name,struct _stat32 *_Stat); |
| 397 | _CRTIMP int __cdecl _wstat32i64(const wchar_t *_Name,struct _stat32i64 *_Stat); | 264 | _CRTIMP int __cdecl _wstat32i64(const wchar_t *_Name,struct _stat32i64 *_Stat); |
| 398 | int __cdecl _wstat64i32(const wchar_t *_Name,struct _stat64i32 *_Stat); | 265 | _CRTIMP int __cdecl _wstat64i32(const wchar_t *_Name,struct _stat64i32 *_Stat); |
| 399 | _CRTIMP int __cdecl _wstat64(const wchar_t *_Name,struct _stat64 *_Stat); | 266 | _CRTIMP int __cdecl _wstat64(const wchar_t *_Name,struct _stat64 *_Stat); |
| 400 | #endif | 267 | #endif |
| 401 | #endif | 268 | #endif |
| ... | @@ -472,24 +339,49 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index); | ... | @@ -472,24 +339,49 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index); |
| 472 | int __cdecl __mingw_vswprintf(wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ ,va_list); | 339 | int __cdecl __mingw_vswprintf(wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ ,va_list); |
| 473 | 340 | ||
| 474 | /* __attribute__((__format__ (ms_wscanf, 2, 3))) */ __MINGW_ATTRIB_NONNULL(2) | 341 | /* __attribute__((__format__ (ms_wscanf, 2, 3))) */ __MINGW_ATTRIB_NONNULL(2) |
| 475 | int __cdecl __ms_swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...); | 342 | int __cdecl __ms_swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...) |
| 343 | __MINGW_UCRT_ASM_CALL(swscanf); | ||
| 344 | /* __attribute__((__format__ (ms_wscanf, 2, 0))) */ __MINGW_ATTRIB_NONNULL(2) | ||
| 345 | int __cdecl __ms_vswscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,va_list) | ||
| 346 | __MINGW_ASM_CALL(vswscanf); | ||
| 476 | /* __attribute__((__format__ (ms_wscanf, 1, 2))) */ __MINGW_ATTRIB_NONNULL(1) | 347 | /* __attribute__((__format__ (ms_wscanf, 1, 2))) */ __MINGW_ATTRIB_NONNULL(1) |
| 477 | int __cdecl __ms_wscanf(const wchar_t * __restrict__ _Format,...); | 348 | int __cdecl __ms_wscanf(const wchar_t * __restrict__ _Format,...) |
| 349 | __MINGW_UCRT_ASM_CALL(wscanf); | ||
| 350 | /* __attribute__((__format__ (ms_wscanf, 1, 0))) */ __MINGW_ATTRIB_NONNULL(1) | ||
| 351 | int __cdecl __ms_vwscanf(const wchar_t * __restrict__ _Format, va_list) | ||
| 352 | __MINGW_ASM_CALL(vwscanf); | ||
| 478 | /* __attribute__((__format__ (ms_wscanf, 2, 3))) */ __MINGW_ATTRIB_NONNULL(2) | 353 | /* __attribute__((__format__ (ms_wscanf, 2, 3))) */ __MINGW_ATTRIB_NONNULL(2) |
| 479 | int __cdecl __ms_fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); | 354 | int __cdecl __ms_fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...) |
| 355 | __MINGW_UCRT_ASM_CALL(fwscanf); | ||
| 356 | /* __attribute__((__format__ (ms_wscanf, 2, 0))) */ __MINGW_ATTRIB_NONNULL(2) | ||
| 357 | int __cdecl __ms_vfwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list) | ||
| 358 | __MINGW_ASM_CALL(vfwscanf); | ||
| 480 | 359 | ||
| 481 | /* __attribute__((__format__ (ms_wprintf, 2, 3))) */ __MINGW_ATTRIB_NONNULL(2) | 360 | /* __attribute__((__format__ (ms_wprintf, 2, 3))) */ __MINGW_ATTRIB_NONNULL(2) |
| 482 | int __cdecl __ms_fwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); | 361 | int __cdecl __ms_fwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); |
| 362 | /* No __MINGW_UCRT_ASM_CALL for __ms_fwprintf; this is provided as an | ||
| 363 | * actual function in the ucrt import libraries. */ | ||
| 483 | /* __attribute__((__format__ (ms_wprintf, 1, 2))) */ __MINGW_ATTRIB_NONNULL(1) | 364 | /* __attribute__((__format__ (ms_wprintf, 1, 2))) */ __MINGW_ATTRIB_NONNULL(1) |
| 484 | int __cdecl __ms_wprintf(const wchar_t * __restrict__ _Format,...); | 365 | int __cdecl __ms_wprintf(const wchar_t * __restrict__ _Format,...) |
| 366 | __MINGW_UCRT_ASM_CALL(wprintf); | ||
| 485 | /* __attribute__((__format__ (ms_wprintf, 2, 0))) */__MINGW_ATTRIB_NONNULL(2) | 367 | /* __attribute__((__format__ (ms_wprintf, 2, 0))) */__MINGW_ATTRIB_NONNULL(2) |
| 486 | int __cdecl __ms_vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList); | 368 | int __cdecl __ms_vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList) |
| 369 | __MINGW_UCRT_ASM_CALL(vfwprintf); | ||
| 487 | /*__attribute__((__format__ (ms_wprintf, 1, 0))) */ __MINGW_ATTRIB_NONNULL(1) | 370 | /*__attribute__((__format__ (ms_wprintf, 1, 0))) */ __MINGW_ATTRIB_NONNULL(1) |
| 488 | int __cdecl __ms_vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList); | 371 | int __cdecl __ms_vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList) |
| 372 | __MINGW_UCRT_ASM_CALL(vwprintf); | ||
| 489 | /* __attribute__((__format__ (ms_wprintf, 3, 4))) */ __MINGW_ATTRIB_NONNULL(3) | 373 | /* __attribute__((__format__ (ms_wprintf, 3, 4))) */ __MINGW_ATTRIB_NONNULL(3) |
| 490 | int __cdecl __ms_swprintf(wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ , ...); | 374 | int __cdecl __ms_swprintf(wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ , ...) |
| 375 | __MINGW_UCRT_ASM_CALL(swprintf); | ||
| 491 | /* __attribute__((__format__ (ms_wprintf, 3, 0))) */ __MINGW_ATTRIB_NONNULL(3) | 376 | /* __attribute__((__format__ (ms_wprintf, 3, 0))) */ __MINGW_ATTRIB_NONNULL(3) |
| 492 | int __cdecl __ms_vswprintf(wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ ,va_list); | 377 | int __cdecl __ms_vswprintf(wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ ,va_list) |
| 378 | __MINGW_UCRT_ASM_CALL(vswprintf); | ||
| 379 | /* __attribute__((__format__ (ms_wprintf, 3, 4))) */ __MINGW_ATTRIB_NONNULL(3) | ||
| 380 | int __cdecl __ms_snwprintf(wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ , ...) | ||
| 381 | __MINGW_UCRT_ASM_CALL(snwprintf); | ||
| 382 | /* __attribute__((__format__ (ms_wprintf, 3, 0))) */ __MINGW_ATTRIB_NONNULL(3) | ||
| 383 | int __cdecl __ms_vsnwprintf(wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ , va_list) | ||
| 384 | __MINGW_UCRT_ASM_CALL(vsnwprintf); | ||
| 493 | 385 | ||
| 494 | #ifdef _UCRT | 386 | #ifdef _UCRT |
| 495 | int __cdecl __stdio_common_vswprintf(unsigned __int64 options, wchar_t *str, size_t len, const wchar_t *format, _locale_t locale, va_list valist); | 387 | int __cdecl __stdio_common_vswprintf(unsigned __int64 options, wchar_t *str, size_t len, const wchar_t *format, _locale_t locale, va_list valist); |
| ... | @@ -570,145 +462,41 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); | ... | @@ -570,145 +462,41 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); |
| 570 | #else /* !__USE_MINGW_ANSI_STDIO */ | 462 | #else /* !__USE_MINGW_ANSI_STDIO */ |
| 571 | 463 | ||
| 572 | #ifdef _UCRT | 464 | #ifdef _UCRT |
| 573 | __mingw_ovr __MINGW_ATTRIB_DEPRECATED_SEC_WARN | 465 | __MINGW_ATTRIB_DEPRECATED_SEC_WARN |
| 574 | int __cdecl fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...) | 466 | int __cdecl fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); |
| 575 | { | 467 | __MINGW_ATTRIB_DEPRECATED_SEC_WARN |
| 576 | __builtin_va_list __ap; | 468 | int __cdecl swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...); |
| 577 | int __ret; | 469 | __MINGW_ATTRIB_DEPRECATED_SEC_WARN |
| 578 | __builtin_va_start(__ap, _Format); | 470 | int __cdecl wscanf(const wchar_t * __restrict__ _Format,...); |
| 579 | __ret = __stdio_common_vfwscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, _File, _Format, NULL, __ap); | ||
| 580 | __builtin_va_end(__ap); | ||
| 581 | return __ret; | ||
| 582 | } | ||
| 583 | __mingw_ovr __MINGW_ATTRIB_DEPRECATED_SEC_WARN | ||
| 584 | int __cdecl swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...) | ||
| 585 | { | ||
| 586 | __builtin_va_list __ap; | ||
| 587 | int __ret; | ||
| 588 | __builtin_va_start(__ap, _Format); | ||
| 589 | __ret = __stdio_common_vswscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, _Src, (size_t)-1, _Format, NULL, __ap); | ||
| 590 | __builtin_va_end(__ap); | ||
| 591 | return __ret; | ||
| 592 | } | ||
| 593 | __mingw_ovr __MINGW_ATTRIB_DEPRECATED_SEC_WARN | ||
| 594 | int __cdecl wscanf(const wchar_t * __restrict__ _Format,...) | ||
| 595 | { | ||
| 596 | __builtin_va_list __ap; | ||
| 597 | int __ret; | ||
| 598 | __builtin_va_start(__ap, _Format); | ||
| 599 | __ret = __stdio_common_vfwscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, stdin, _Format, NULL, __ap); | ||
| 600 | __builtin_va_end(__ap); | ||
| 601 | return __ret; | ||
| 602 | } | ||
| 603 | __mingw_ovr | ||
| 604 | __MINGW_ATTRIB_NONNULL(2) | 471 | __MINGW_ATTRIB_NONNULL(2) |
| 605 | int vfwscanf (FILE *__stream, const wchar_t *__format, va_list __local_argv) | 472 | int vfwscanf (FILE *__stream, const wchar_t *__format, va_list __local_argv); |
| 606 | { | ||
| 607 | return __stdio_common_vfwscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, __stream, __format, NULL, __local_argv); | ||
| 608 | } | ||
| 609 | 473 | ||
| 610 | __mingw_ovr | ||
| 611 | __MINGW_ATTRIB_NONNULL(2) | 474 | __MINGW_ATTRIB_NONNULL(2) |
| 612 | int vswscanf (const wchar_t * __restrict__ __source, const wchar_t * __restrict__ __format, va_list __local_argv) | 475 | int vswscanf (const wchar_t * __restrict__ __source, const wchar_t * __restrict__ __format, va_list __local_argv); |
| 613 | { | ||
| 614 | return __stdio_common_vswscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, __source, (size_t)-1, __format, NULL, __local_argv); | ||
| 615 | } | ||
| 616 | __mingw_ovr | ||
| 617 | __MINGW_ATTRIB_NONNULL(1) | 476 | __MINGW_ATTRIB_NONNULL(1) |
| 618 | int vwscanf(const wchar_t *__format, va_list __local_argv) | 477 | int vwscanf(const wchar_t *__format, va_list __local_argv); |
| 619 | { | ||
| 620 | return __stdio_common_vfwscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, stdin, __format, NULL, __local_argv); | ||
| 621 | } | ||
| 622 | 478 | ||
| 623 | int __cdecl fwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); | 479 | int __cdecl fwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); |
| 624 | __mingw_ovr | 480 | int __cdecl wprintf(const wchar_t * __restrict__ _Format,...); |
| 625 | int __cdecl wprintf(const wchar_t * __restrict__ _Format,...) | 481 | int __cdecl vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList); |
| 626 | { | 482 | int __cdecl vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList); |
| 627 | __builtin_va_list __ap; | ||
| 628 | int __ret; | ||
| 629 | __builtin_va_start(__ap, _Format); | ||
| 630 | __ret = __stdio_common_vfwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, stdout, _Format, NULL, __ap); | ||
| 631 | __builtin_va_end(__ap); | ||
| 632 | return __ret; | ||
| 633 | } | ||
| 634 | __mingw_ovr | ||
| 635 | int __cdecl vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList) | ||
| 636 | { | ||
| 637 | return __stdio_common_vfwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _File, _Format, NULL, _ArgList); | ||
| 638 | } | ||
| 639 | __mingw_ovr | ||
| 640 | int __cdecl vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList) | ||
| 641 | { | ||
| 642 | return __stdio_common_vfwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, stdout, _Format, NULL, _ArgList); | ||
| 643 | } | ||
| 644 | 483 | ||
| 645 | __mingw_ovr | 484 | int __cdecl swprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,...); |
| 646 | int __cdecl swprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,...) | 485 | int __cdecl vswprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args); |
| 647 | { | ||
| 648 | __builtin_va_list __ap; | ||
| 649 | int __ret; | ||
| 650 | /* | ||
| 651 | * __stdio_common_vswprintf() for case _Dest == NULL and _Count == 0 and | ||
| 652 | * without _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR option, is | ||
| 653 | * executed in "standard snprintf behavior" and returns number of (wide) | ||
| 654 | * chars required to allocate. For all other cases it is executed in a way | ||
| 655 | * that returns negative value on error. But C95+ compliant swprintf() for | ||
| 656 | * case _Count == 0 returns negative value, so handle this case specially. | ||
| 657 | */ | ||
| 658 | if (_Dest == NULL && _Count == 0) | ||
| 659 | return -1; | ||
| 660 | __builtin_va_start(__ap, _Format); | ||
| 661 | __ret = __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Dest, _Count, _Format, NULL, __ap); | ||
| 662 | __builtin_va_end(__ap); | ||
| 663 | return __ret < 0 ? -1 : __ret; | ||
| 664 | } | ||
| 665 | __mingw_ovr | ||
| 666 | int __cdecl vswprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args) | ||
| 667 | { | ||
| 668 | int __ret; | ||
| 669 | /* | ||
| 670 | * __stdio_common_vswprintf() for case _Dest == NULL and _Count == 0 and | ||
| 671 | * without _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR option, is | ||
| 672 | * executed in "standard snprintf behavior" and returns number of (wide) | ||
| 673 | * chars required to allocate. For all other cases it is executed in a way | ||
| 674 | * that returns negative value on error. But C95+ compliant vswprintf() for | ||
| 675 | * case _Count == 0 returns negative value, so handle this case specially. | ||
| 676 | */ | ||
| 677 | if (_Dest == NULL && _Count == 0) | ||
| 678 | return -1; | ||
| 679 | __ret = __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Dest, _Count, _Format, NULL, _Args); | ||
| 680 | return __ret < 0 ? -1 : __ret; | ||
| 681 | } | ||
| 682 | #else | 486 | #else |
| 683 | 487 | ||
| 684 | int __cdecl fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 488 | int __cdecl fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 685 | int __cdecl swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 489 | int __cdecl swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 686 | int __cdecl wscanf(const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 490 | int __cdecl wscanf(const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 687 | #ifndef __NO_ISOCEXT /* externs in libmingwex.a */ | 491 | #ifndef __NO_ISOCEXT /* externs in libmingwex.a */ |
| 688 | int __cdecl __ms_vwscanf (const wchar_t * __restrict__ , va_list); | ||
| 689 | int __cdecl __ms_vfwscanf (FILE * __restrict__ ,const wchar_t * __restrict__ ,va_list); | ||
| 690 | int __cdecl __ms_vswscanf (const wchar_t * __restrict__ ,const wchar_t * __restrict__ ,va_list); | ||
| 691 | |||
| 692 | __mingw_ovr | ||
| 693 | __MINGW_ATTRIB_NONNULL(2) | 492 | __MINGW_ATTRIB_NONNULL(2) |
| 694 | int vfwscanf (FILE *__stream, const wchar_t *__format, __builtin_va_list __local_argv) | 493 | int vfwscanf (FILE *__stream, const wchar_t *__format, __builtin_va_list __local_argv); |
| 695 | { | ||
| 696 | return __ms_vfwscanf (__stream, __format, __local_argv); | ||
| 697 | } | ||
| 698 | 494 | ||
| 699 | __mingw_ovr | ||
| 700 | __MINGW_ATTRIB_NONNULL(2) | 495 | __MINGW_ATTRIB_NONNULL(2) |
| 701 | int vswscanf (const wchar_t * __restrict__ __source, const wchar_t * __restrict__ __format, __builtin_va_list __local_argv) | 496 | int vswscanf (const wchar_t * __restrict__ __source, const wchar_t * __restrict__ __format, __builtin_va_list __local_argv); |
| 702 | { | ||
| 703 | return __ms_vswscanf( __source, __format, __local_argv ); | ||
| 704 | } | ||
| 705 | __mingw_ovr | ||
| 706 | __MINGW_ATTRIB_NONNULL(1) | ||
| 707 | int vwscanf(const wchar_t *__format, __builtin_va_list __local_argv) | ||
| 708 | { | ||
| 709 | return __ms_vwscanf (__format, __local_argv); | ||
| 710 | } | ||
| 711 | 497 | ||
| 498 | __MINGW_ATTRIB_NONNULL(1) | ||
| 499 | int vwscanf(const wchar_t *__format, __builtin_va_list __local_argv); | ||
| 712 | #endif /* __NO_ISOCEXT */ | 500 | #endif /* __NO_ISOCEXT */ |
| 713 | 501 | ||
| 714 | int __cdecl fwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); | 502 | int __cdecl fwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); |
| ... | @@ -765,22 +553,8 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); | ... | @@ -765,22 +553,8 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); |
| 765 | } | 553 | } |
| 766 | 554 | ||
| 767 | #if __USE_MINGW_ANSI_STDIO == 0 | 555 | #if __USE_MINGW_ANSI_STDIO == 0 |
| 768 | __mingw_ovr | 556 | int snwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, ...); |
| 769 | int snwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, ...) | 557 | int __cdecl vsnwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, va_list arg); |
| 770 | { | ||
| 771 | __builtin_va_list __ap; | ||
| 772 | int __ret; | ||
| 773 | __builtin_va_start(__ap, format); | ||
| 774 | __ret = __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR, s, n, format, NULL, __ap); | ||
| 775 | __builtin_va_end(__ap); | ||
| 776 | return __ret < 0 ? -1 : __ret; | ||
| 777 | } | ||
| 778 | __mingw_ovr | ||
| 779 | int __cdecl vsnwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, va_list arg) | ||
| 780 | { | ||
| 781 | int __ret = __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR, s, n, format, NULL, arg); | ||
| 782 | return __ret < 0 ? -1 : __ret; | ||
| 783 | } | ||
| 784 | #endif | 558 | #endif |
| 785 | 559 | ||
| 786 | #else | 560 | #else |
| ... | @@ -798,8 +572,6 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); | ... | @@ -798,8 +572,6 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); |
| 798 | #pragma push_macro("vsnwprintf") | 572 | #pragma push_macro("vsnwprintf") |
| 799 | # undef snwprintf | 573 | # undef snwprintf |
| 800 | # undef vsnwprintf | 574 | # undef vsnwprintf |
| 801 | int __cdecl __ms_snwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, ...); | ||
| 802 | int __cdecl __ms_vsnwprintf (wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ , va_list); | ||
| 803 | int __cdecl snwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, ...) __MINGW_ASM_CALL(__ms_snwprintf); | 575 | int __cdecl snwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, ...) __MINGW_ASM_CALL(__ms_snwprintf); |
| 804 | int __cdecl vsnwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, va_list arg) __MINGW_ASM_CALL(__ms_vsnwprintf); | 576 | int __cdecl vsnwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, va_list arg) __MINGW_ASM_CALL(__ms_vsnwprintf); |
| 805 | #pragma pop_macro ("vsnwprintf") | 577 | #pragma pop_macro ("vsnwprintf") |
lib/libc/include/any-windows-any/wctype.h+1-137| ... | @@ -6,145 +6,10 @@ | ... | @@ -6,145 +6,10 @@ |
| 6 | #ifndef _INC_WCTYPE | 6 | #ifndef _INC_WCTYPE |
| 7 | #define _INC_WCTYPE | 7 | #define _INC_WCTYPE |
| 8 | 8 | ||
| 9 | #ifndef _WIN32 | 9 | #include <corecrt_wctype.h> |
| 10 | #error Only Win32 target is supported! | ||
| 11 | #endif | ||
| 12 | |||
| 13 | #include <crtdefs.h> | ||
| 14 | |||
| 15 | #pragma pack(push,_CRT_PACKING) | ||
| 16 | 10 | ||
| 17 | #ifdef __cplusplus | 11 | #ifdef __cplusplus |
| 18 | extern "C" { | 12 | extern "C" { |
| 19 | #endif | ||
| 20 | |||
| 21 | #ifndef _CRTIMP | ||
| 22 | #define _CRTIMP __declspec(dllimport) | ||
| 23 | #endif | ||
| 24 | |||
| 25 | #ifndef _WCHAR_T_DEFINED | ||
| 26 | #define _WCHAR_T_DEFINED | ||
| 27 | #ifndef __cplusplus | ||
| 28 | typedef unsigned short wchar_t; | ||
| 29 | #endif /* C++ */ | ||
| 30 | #endif /* _WCHAR_T_DEFINED */ | ||
| 31 | |||
| 32 | #ifndef _WCTYPE_T_DEFINED | ||
| 33 | #define _WCTYPE_T_DEFINED | ||
| 34 | typedef unsigned short wint_t; | ||
| 35 | typedef unsigned short wctype_t; | ||
| 36 | #endif /* _WCTYPE_T_DEFINED */ | ||
| 37 | |||
| 38 | #ifndef WEOF | ||
| 39 | #define WEOF (wint_t)(0xFFFF) | ||
| 40 | #endif | ||
| 41 | |||
| 42 | #ifndef _CRT_CTYPEDATA_DEFINED | ||
| 43 | #define _CRT_CTYPEDATA_DEFINED | ||
| 44 | #ifndef _CTYPE_DISABLE_MACROS | ||
| 45 | |||
| 46 | #ifndef __PCTYPE_FUNC | ||
| 47 | #define __PCTYPE_FUNC __pctype_func() | ||
| 48 | _CRTIMP const unsigned short* __pctype_func(void); | ||
| 49 | #endif | ||
| 50 | |||
| 51 | #ifndef _pctype | ||
| 52 | #define _pctype (__pctype_func()) | ||
| 53 | #endif | ||
| 54 | |||
| 55 | #endif | ||
| 56 | #endif | ||
| 57 | |||
| 58 | #ifndef _CRT_WCTYPEDATA_DEFINED | ||
| 59 | #define _CRT_WCTYPEDATA_DEFINED | ||
| 60 | #ifndef _CTYPE_DISABLE_MACROS | ||
| 61 | #if !defined(_wctype) && defined(_CRT_USE_WINAPI_FAMILY_DESKTOP_APP) | ||
| 62 | extern const unsigned short ** __MINGW_IMP_SYMBOL(_wctype); | ||
| 63 | #define _wctype (* __MINGW_IMP_SYMBOL(_wctype)) | ||
| 64 | #endif | ||
| 65 | |||
| 66 | _CRTIMP const wctype_t * __cdecl __pwctype_func(void); | ||
| 67 | #ifndef _pwctype | ||
| 68 | #define _pwctype (__pwctype_func()) | ||
| 69 | #endif | ||
| 70 | #endif | ||
| 71 | #endif | ||
| 72 | |||
| 73 | #define _UPPER 0x1 | ||
| 74 | #define _LOWER 0x2 | ||
| 75 | #define _DIGIT 0x4 | ||
| 76 | #define _SPACE 0x8 | ||
| 77 | |||
| 78 | #define _PUNCT 0x10 | ||
| 79 | #define _CONTROL 0x20 | ||
| 80 | #define _BLANK 0x40 | ||
| 81 | #define _HEX 0x80 | ||
| 82 | |||
| 83 | #define _LEADBYTE 0x8000 | ||
| 84 | #define _ALPHA (0x0100|_UPPER|_LOWER) | ||
| 85 | |||
| 86 | #ifndef _WCTYPE_DEFINED | ||
| 87 | #define _WCTYPE_DEFINED | ||
| 88 | |||
| 89 | int __cdecl iswalpha(wint_t); | ||
| 90 | int __cdecl iswupper(wint_t); | ||
| 91 | int __cdecl iswlower(wint_t); | ||
| 92 | int __cdecl iswdigit(wint_t); | ||
| 93 | int __cdecl iswxdigit(wint_t); | ||
| 94 | int __cdecl iswspace(wint_t); | ||
| 95 | int __cdecl iswpunct(wint_t); | ||
| 96 | int __cdecl iswalnum(wint_t); | ||
| 97 | int __cdecl iswprint(wint_t); | ||
| 98 | int __cdecl iswgraph(wint_t); | ||
| 99 | int __cdecl iswcntrl(wint_t); | ||
| 100 | int __cdecl iswascii(wint_t); | ||
| 101 | int __cdecl isleadbyte(int); | ||
| 102 | wint_t __cdecl towupper(wint_t); | ||
| 103 | wint_t __cdecl towlower(wint_t); | ||
| 104 | int __cdecl iswctype(wint_t,wctype_t); | ||
| 105 | #if __MSVCRT_VERSION__ >= 0x800 | ||
| 106 | _CRTIMP int __cdecl __iswcsymf(wint_t); | ||
| 107 | _CRTIMP int __cdecl __iswcsym(wint_t); | ||
| 108 | #endif | ||
| 109 | int __cdecl is_wctype(wint_t,wctype_t); | ||
| 110 | #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || !defined (NO_OLDNAMES) || defined (__cplusplus) | ||
| 111 | int __cdecl iswblank(wint_t _C); | ||
| 112 | #endif | ||
| 113 | #endif | ||
| 114 | |||
| 115 | #ifndef _WCTYPE_INLINE_DEFINED | ||
| 116 | #define _WCTYPE_INLINE_DEFINED | ||
| 117 | #ifndef __cplusplus | ||
| 118 | #define iswalpha(_c) (iswctype(_c,_ALPHA)) | ||
| 119 | #define iswupper(_c) (iswctype(_c,_UPPER)) | ||
| 120 | #define iswlower(_c) (iswctype(_c,_LOWER)) | ||
| 121 | #define iswdigit(_c) (iswctype(_c,_DIGIT)) | ||
| 122 | #define iswxdigit(_c) (iswctype(_c,_HEX)) | ||
| 123 | #define iswspace(_c) (iswctype(_c,_SPACE)) | ||
| 124 | #define iswpunct(_c) (iswctype(_c,_PUNCT)) | ||
| 125 | #define iswalnum(_c) (iswctype(_c,_ALPHA|_DIGIT)) | ||
| 126 | #define iswprint(_c) (iswctype(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT)) | ||
| 127 | #define iswgraph(_c) (iswctype(_c,_PUNCT|_ALPHA|_DIGIT)) | ||
| 128 | #define iswcntrl(_c) (iswctype(_c,_CONTROL)) | ||
| 129 | #define iswascii(_c) ((unsigned)(_c) < 0x80) | ||
| 130 | #define isleadbyte(c) (__pctype_func()[(unsigned char)(c)] & _LEADBYTE) | ||
| 131 | #else | ||
| 132 | #ifndef __CRT__NO_INLINE | ||
| 133 | __CRT_INLINE int __cdecl iswalpha(wint_t _C) {return (iswctype(_C,_ALPHA)); } | ||
| 134 | __CRT_INLINE int __cdecl iswupper(wint_t _C) {return (iswctype(_C,_UPPER)); } | ||
| 135 | __CRT_INLINE int __cdecl iswlower(wint_t _C) {return (iswctype(_C,_LOWER)); } | ||
| 136 | __CRT_INLINE int __cdecl iswdigit(wint_t _C) {return (iswctype(_C,_DIGIT)); } | ||
| 137 | __CRT_INLINE int __cdecl iswxdigit(wint_t _C) {return (iswctype(_C,_HEX)); } | ||
| 138 | __CRT_INLINE int __cdecl iswspace(wint_t _C) {return (iswctype(_C,_SPACE)); } | ||
| 139 | __CRT_INLINE int __cdecl iswpunct(wint_t _C) {return (iswctype(_C,_PUNCT)); } | ||
| 140 | __CRT_INLINE int __cdecl iswalnum(wint_t _C) {return (iswctype(_C,_ALPHA|_DIGIT)); } | ||
| 141 | __CRT_INLINE int __cdecl iswprint(wint_t _C) {return (iswctype(_C,_BLANK|_PUNCT|_ALPHA|_DIGIT)); } | ||
| 142 | __CRT_INLINE int __cdecl iswgraph(wint_t _C) {return (iswctype(_C,_PUNCT|_ALPHA|_DIGIT)); } | ||
| 143 | __CRT_INLINE int __cdecl iswcntrl(wint_t _C) {return (iswctype(_C,_CONTROL)); } | ||
| 144 | __CRT_INLINE int __cdecl iswascii(wint_t _C) {return ((unsigned)(_C) < 0x80); } | ||
| 145 | __CRT_INLINE int __cdecl isleadbyte(int _C) {return (__pctype_func()[(unsigned char)(_C)] & _LEADBYTE); } | ||
| 146 | #endif /* !__CRT__NO_INLINE */ | ||
| 147 | #endif /* __cplusplus */ | ||
| 148 | #endif | 13 | #endif |
| 149 | 14 | ||
| 150 | typedef wchar_t wctrans_t; | 15 | typedef wchar_t wctrans_t; |
| ... | @@ -156,5 +21,4 @@ int __cdecl iswblank(wint_t _C); | ... | @@ -156,5 +21,4 @@ int __cdecl iswblank(wint_t _C); |
| 156 | } | 21 | } |
| 157 | #endif | 22 | #endif |
| 158 | 23 | ||
| 159 | #pragma pack(pop) | ||
| 160 | #endif | 24 | #endif |
lib/libc/include/any-windows-any/wdstptmgmt.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wdstptmgmt.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wdstptmgmt.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/weakreference.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/weakreference.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/weakreference.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wia_lh.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wia_lh.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wia_lh.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wia_xp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wia_xp.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wia_xp.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wiadef.h+3-3| ... | @@ -253,9 +253,9 @@ extern "C" { | ... | @@ -253,9 +253,9 @@ extern "C" { |
| 253 | #define WIA_DIP_DRIVER_VERSION_STR L"Driver Version" | 253 | #define WIA_DIP_DRIVER_VERSION_STR L"Driver Version" |
| 254 | 254 | ||
| 255 | #ifdef WIA_DECLARE_DEVINFO_PROP_ARRAY | 255 | #ifdef WIA_DECLARE_DEVINFO_PROP_ARRAY |
| 256 | PROPSPEC g_psDeviceInfo[WIA_NUM_DIP] = { {PRSPEC_PROPID,WIA_DIP_DEV_ID},{PRSPEC_PROPID,WIA_DIP_VEND_DESC},{PRSPEC_PROPID,WIA_DIP_DEV_DESC},{PRSPEC_PROPID,WIA_DIP_DEV_TYPE},{PRSPEC_PROPID,WIA_DIP_PORT_NAME},{PRSPEC_PROPID,WIA_DIP_DEV_NAME},{PRSPEC_PROPID,WIA_DIP_SERVER_NAME},{PRSPEC_PROPID,WIA_DIP_REMOTE_DEV_ID},{PRSPEC_PROPID,WIA_DIP_UI_CLSID},{PRSPEC_PROPID,WIA_DIP_HW_CONFIG},{PRSPEC_PROPID,WIA_DIP_BAUDRATE},{PRSPEC_PROPID,WIA_DIP_STI_GEN_CAPABILITIES},{PRSPEC_PROPID,WIA_DIP_WIA_VERSION},{PRSPEC_PROPID,WIA_DIP_DRIVER_VERSION},}; | 256 | PROPSPEC g_psDeviceInfo[WIA_NUM_DIP] = { {PRSPEC_PROPID,WIA_DIP_DEV_ID},{PRSPEC_PROPID,WIA_DIP_VEND_DESC},{PRSPEC_PROPID,WIA_DIP_DEV_DESC},{PRSPEC_PROPID,WIA_DIP_DEV_TYPE},{PRSPEC_PROPID,WIA_DIP_PORT_NAME},{PRSPEC_PROPID,WIA_DIP_DEV_NAME},{PRSPEC_PROPID,WIA_DIP_SERVER_NAME},{PRSPEC_PROPID,WIA_DIP_REMOTE_DEV_ID},{PRSPEC_PROPID,WIA_DIP_UI_CLSID},{PRSPEC_PROPID,WIA_DIP_HW_CONFIG},{PRSPEC_PROPID,WIA_DIP_BAUDRATE},{PRSPEC_PROPID,WIA_DIP_STI_GEN_CAPABILITIES},{PRSPEC_PROPID,WIA_DIP_WIA_VERSION},{PRSPEC_PROPID,WIA_DIP_DRIVER_VERSION}}; |
| 257 | PROPID g_piDeviceInfo[WIA_NUM_DIP] = { WIA_DIP_DEV_ID,WIA_DIP_VEND_DESC,WIA_DIP_DEV_DESC,WIA_DIP_DEV_TYPE,WIA_DIP_PORT_NAME,WIA_DIP_DEV_NAME,WIA_DIP_SERVER_NAME,WIA_DIP_REMOTE_DEV_ID,WIA_DIP_UI_CLSID,WIA_DIP_HW_CONFIG,WIA_DIP_BAUDRATE,WIA_DIP_STI_GEN_CAPABILITIES,WIA_DIP_WIA_VERSION,WIA_DIP_DRIVER_VERSION,}; | 257 | PROPID g_piDeviceInfo[WIA_NUM_DIP] = { WIA_DIP_DEV_ID,WIA_DIP_VEND_DESC,WIA_DIP_DEV_DESC,WIA_DIP_DEV_TYPE,WIA_DIP_PORT_NAME,WIA_DIP_DEV_NAME,WIA_DIP_SERVER_NAME,WIA_DIP_REMOTE_DEV_ID,WIA_DIP_UI_CLSID,WIA_DIP_HW_CONFIG,WIA_DIP_BAUDRATE,WIA_DIP_STI_GEN_CAPABILITIES,WIA_DIP_WIA_VERSION,WIA_DIP_DRIVER_VERSION}; |
| 258 | LPOLESTR g_pszDeviceInfo[WIA_NUM_DIP] = { WIA_DIP_DEV_ID_STR,WIA_DIP_VEND_DESC_STR,WIA_DIP_DEV_DESC_STR,WIA_DIP_DEV_TYPE_STR,WIA_DIP_PORT_NAME_STR,WIA_DIP_DEV_NAME_STR,WIA_DIP_SERVER_NAME_STR,WIA_DIP_REMOTE_DEV_ID_STR,WIA_DIP_UI_CLSID_STR,WIA_DIP_HW_CONFIG_STR,WIA_DIP_BAUDRATE_STR,WIA_DIP_STI_GEN_CAPABILITIES_STR,WIA_DIP_WIA_VERSION_STR,WIA_DIP_DRIVER_VERSION_STR,}; | 258 | LPOLESTR g_pszDeviceInfo[WIA_NUM_DIP] = { WIA_DIP_DEV_ID_STR,WIA_DIP_VEND_DESC_STR,WIA_DIP_DEV_DESC_STR,WIA_DIP_DEV_TYPE_STR,WIA_DIP_PORT_NAME_STR,WIA_DIP_DEV_NAME_STR,WIA_DIP_SERVER_NAME_STR,WIA_DIP_REMOTE_DEV_ID_STR,WIA_DIP_UI_CLSID_STR,WIA_DIP_HW_CONFIG_STR,WIA_DIP_BAUDRATE_STR,WIA_DIP_STI_GEN_CAPABILITIES_STR,WIA_DIP_WIA_VERSION_STR,WIA_DIP_DRIVER_VERSION_STR}; |
| 259 | #else | 259 | #else |
| 260 | extern PROPSPEC g_psDeviceInfo[WIA_NUM_DIP]; | 260 | extern PROPSPEC g_psDeviceInfo[WIA_NUM_DIP]; |
| 261 | extern PROPID g_piDeviceInfo[WIA_NUM_DIP]; | 261 | extern PROPID g_piDeviceInfo[WIA_NUM_DIP]; |
lib/libc/include/any-windows-any/winbase.h+3-3| ... | @@ -2311,7 +2311,7 @@ typedef enum FILE_FLUSH_MODE { | ... | @@ -2311,7 +2311,7 @@ typedef enum FILE_FLUSH_MODE { |
| 2311 | COPYFILE2_CALLBACK_STREAM_FINISHED, | 2311 | COPYFILE2_CALLBACK_STREAM_FINISHED, |
| 2312 | COPYFILE2_CALLBACK_POLL_CONTINUE, | 2312 | COPYFILE2_CALLBACK_POLL_CONTINUE, |
| 2313 | COPYFILE2_CALLBACK_ERROR, | 2313 | COPYFILE2_CALLBACK_ERROR, |
| 2314 | COPYFILE2_CALLBACK_MAX, | 2314 | COPYFILE2_CALLBACK_MAX |
| 2315 | } COPYFILE2_MESSAGE_TYPE; | 2315 | } COPYFILE2_MESSAGE_TYPE; |
| 2316 | 2316 | ||
| 2317 | typedef enum _COPYFILE2_MESSAGE_ACTION { | 2317 | typedef enum _COPYFILE2_MESSAGE_ACTION { |
| ... | @@ -2319,7 +2319,7 @@ typedef enum FILE_FLUSH_MODE { | ... | @@ -2319,7 +2319,7 @@ typedef enum FILE_FLUSH_MODE { |
| 2319 | COPYFILE2_PROGRESS_CANCEL, | 2319 | COPYFILE2_PROGRESS_CANCEL, |
| 2320 | COPYFILE2_PROGRESS_STOP, | 2320 | COPYFILE2_PROGRESS_STOP, |
| 2321 | COPYFILE2_PROGRESS_QUIET, | 2321 | COPYFILE2_PROGRESS_QUIET, |
| 2322 | COPYFILE2_PROGRESS_PAUSE, | 2322 | COPYFILE2_PROGRESS_PAUSE |
| 2323 | } COPYFILE2_MESSAGE_ACTION; | 2323 | } COPYFILE2_MESSAGE_ACTION; |
| 2324 | 2324 | ||
| 2325 | typedef enum _COPYFILE2_COPY_PHASE { | 2325 | typedef enum _COPYFILE2_COPY_PHASE { |
| ... | @@ -2330,7 +2330,7 @@ typedef enum FILE_FLUSH_MODE { | ... | @@ -2330,7 +2330,7 @@ typedef enum FILE_FLUSH_MODE { |
| 2330 | COPYFILE2_PHASE_WRITE_DESTINATION, | 2330 | COPYFILE2_PHASE_WRITE_DESTINATION, |
| 2331 | COPYFILE2_PHASE_SERVER_COPY, | 2331 | COPYFILE2_PHASE_SERVER_COPY, |
| 2332 | COPYFILE2_PHASE_NAMEGRAFT_COPY, | 2332 | COPYFILE2_PHASE_NAMEGRAFT_COPY, |
| 2333 | COPYFILE2_PHASE_MAX, | 2333 | COPYFILE2_PHASE_MAX |
| 2334 | } COPYFILE2_COPY_PHASE; | 2334 | } COPYFILE2_COPY_PHASE; |
| 2335 | 2335 | ||
| 2336 | #define COPYFILE2_MESSAGE_COPY_OFFLOAD (__MSABI_LONG (0x00000001)) | 2336 | #define COPYFILE2_MESSAGE_COPY_OFFLOAD (__MSABI_LONG (0x00000001)) |
lib/libc/include/any-windows-any/wincodec.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wincodec.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wincodec.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wincodecsdk.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wincodecsdk.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wincodecsdk.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/winddi.h+1-1| ... | @@ -2027,7 +2027,7 @@ typedef enum _ENG_SYSTEM_ATTRIBUTE { | ... | @@ -2027,7 +2027,7 @@ typedef enum _ENG_SYSTEM_ATTRIBUTE { |
| 2027 | EngProcessorFeature = 1, | 2027 | EngProcessorFeature = 1, |
| 2028 | EngNumberOfProcessors, | 2028 | EngNumberOfProcessors, |
| 2029 | EngOptimumAvailableUserMemory, | 2029 | EngOptimumAvailableUserMemory, |
| 2030 | EngOptimumAvailableSystemMemory, | 2030 | EngOptimumAvailableSystemMemory |
| 2031 | } ENG_SYSTEM_ATTRIBUTE; | 2031 | } ENG_SYSTEM_ATTRIBUTE; |
| 2032 | 2032 | ||
| 2033 | #define QSA_MMX 0x00000100 | 2033 | #define QSA_MMX 0x00000100 |
lib/libc/include/any-windows-any/windot11.h+1-1| ... | @@ -1444,7 +1444,7 @@ typedef struct _DOT11_SEND_EXTENSION_INFO { | ... | @@ -1444,7 +1444,7 @@ typedef struct _DOT11_SEND_EXTENSION_INFO { |
| 1444 | typedef enum _DOT11_ACK_POLICY { | 1444 | typedef enum _DOT11_ACK_POLICY { |
| 1445 | dot11_ack_policy_none = 0, | 1445 | dot11_ack_policy_none = 0, |
| 1446 | dot11_ack_policy_acknowledge = 1, | 1446 | dot11_ack_policy_acknowledge = 1, |
| 1447 | dot11_ack_policy_do_not_acknowledge = 2, | 1447 | dot11_ack_policy_do_not_acknowledge = 2 |
| 1448 | } DOT11_ACK_POLICY, *PDOT11_ACK_POLICY; | 1448 | } DOT11_ACK_POLICY, *PDOT11_ACK_POLICY; |
| 1449 | 1449 | ||
| 1450 | typedef struct _DOT11_SEND_EXTENSION_INFO_V2 { | 1450 | typedef struct _DOT11_SEND_EXTENSION_INFO_V2 { |
lib/libc/include/any-windows-any/windowsnumerics.impl.h+15-15| ... | @@ -372,7 +372,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { | ... | @@ -372,7 +372,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { |
| 372 | return { | 372 | return { |
| 373 | 1.0f, 0.0f, | 373 | 1.0f, 0.0f, |
| 374 | 0.0f, 1.0f, | 374 | 0.0f, 1.0f, |
| 375 | 0.0f, 0.0f, | 375 | 0.0f, 0.0f |
| 376 | }; | 376 | }; |
| 377 | } | 377 | } |
| 378 | 378 | ||
| ... | @@ -422,21 +422,21 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { | ... | @@ -422,21 +422,21 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { |
| 422 | return { | 422 | return { |
| 423 | dot(v1r1, v2c1), dot(v1r1, v2c2), | 423 | dot(v1r1, v2c1), dot(v1r1, v2c2), |
| 424 | dot(v1r2, v2c1), dot(v1r2, v2c2), | 424 | dot(v1r2, v2c1), dot(v1r2, v2c2), |
| 425 | dot(v1r3, v2c1), dot(v1r3, v2c2), | 425 | dot(v1r3, v2c1), dot(v1r3, v2c2) |
| 426 | }; | 426 | }; |
| 427 | } | 427 | } |
| 428 | inline float3x2 operator*(const float3x2 &val1, float val2) { | 428 | inline float3x2 operator*(const float3x2 &val1, float val2) { |
| 429 | return { | 429 | return { |
| 430 | val1.m11 * val2, val1.m12 * val2, | 430 | val1.m11 * val2, val1.m12 * val2, |
| 431 | val1.m21 * val2, val1.m22 * val2, | 431 | val1.m21 * val2, val1.m22 * val2, |
| 432 | val1.m31 * val2, val1.m32 * val2, | 432 | val1.m31 * val2, val1.m32 * val2 |
| 433 | }; | 433 | }; |
| 434 | } | 434 | } |
| 435 | inline float3x2 operator-(const float3x2 &val) { | 435 | inline float3x2 operator-(const float3x2 &val) { |
| 436 | return { | 436 | return { |
| 437 | -val.m11, -val.m12, | 437 | -val.m11, -val.m12, |
| 438 | -val.m21, -val.m22, | 438 | -val.m21, -val.m22, |
| 439 | -val.m31, -val.m32, | 439 | -val.m31, -val.m32 |
| 440 | }; | 440 | }; |
| 441 | } | 441 | } |
| 442 | #undef _WINDOWS_NUMERICS_IMPL_BINARY_OP | 442 | #undef _WINDOWS_NUMERICS_IMPL_BINARY_OP |
| ... | @@ -479,7 +479,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { | ... | @@ -479,7 +479,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { |
| 479 | 1.0f, 0.0f, 0.0f, 0.0f, | 479 | 1.0f, 0.0f, 0.0f, 0.0f, |
| 480 | 0.0f, 1.0f, 0.0f, 0.0f, | 480 | 0.0f, 1.0f, 0.0f, 0.0f, |
| 481 | 0.0f, 0.0f, 1.0f, 0.0f, | 481 | 0.0f, 0.0f, 1.0f, 0.0f, |
| 482 | 0.0f, 0.0f, 0.0f, 1.0f, | 482 | 0.0f, 0.0f, 0.0f, 1.0f |
| 483 | }; | 483 | }; |
| 484 | } | 484 | } |
| 485 | 485 | ||
| ... | @@ -552,7 +552,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { | ... | @@ -552,7 +552,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { |
| 552 | dot(v1r1, v2c1), dot(v1r1, v2c2), dot(v1r1, v2c3), dot(v1r1, v2c4), | 552 | dot(v1r1, v2c1), dot(v1r1, v2c2), dot(v1r1, v2c3), dot(v1r1, v2c4), |
| 553 | dot(v1r2, v2c1), dot(v1r2, v2c2), dot(v1r2, v2c3), dot(v1r2, v2c4), | 553 | dot(v1r2, v2c1), dot(v1r2, v2c2), dot(v1r2, v2c3), dot(v1r2, v2c4), |
| 554 | dot(v1r3, v2c1), dot(v1r3, v2c2), dot(v1r3, v2c3), dot(v1r3, v2c4), | 554 | dot(v1r3, v2c1), dot(v1r3, v2c2), dot(v1r3, v2c3), dot(v1r3, v2c4), |
| 555 | dot(v1r4, v2c1), dot(v1r4, v2c2), dot(v1r4, v2c3), dot(v1r4, v2c4), | 555 | dot(v1r4, v2c1), dot(v1r4, v2c2), dot(v1r4, v2c3), dot(v1r4, v2c4) |
| 556 | }; | 556 | }; |
| 557 | } | 557 | } |
| 558 | inline float4x4 operator*(const float4x4 &val1, float val2) { | 558 | inline float4x4 operator*(const float4x4 &val1, float val2) { |
| ... | @@ -560,7 +560,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { | ... | @@ -560,7 +560,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { |
| 560 | val1.m11 * val2, val1.m12 * val2, val1.m13 * val2, val1.m14 * val2, | 560 | val1.m11 * val2, val1.m12 * val2, val1.m13 * val2, val1.m14 * val2, |
| 561 | val1.m21 * val2, val1.m22 * val2, val1.m23 * val2, val1.m24 * val2, | 561 | val1.m21 * val2, val1.m22 * val2, val1.m23 * val2, val1.m24 * val2, |
| 562 | val1.m31 * val2, val1.m32 * val2, val1.m33 * val2, val1.m34 * val2, | 562 | val1.m31 * val2, val1.m32 * val2, val1.m33 * val2, val1.m34 * val2, |
| 563 | val1.m41 * val2, val1.m42 * val2, val1.m43 * val2, val1.m44 * val2, | 563 | val1.m41 * val2, val1.m42 * val2, val1.m43 * val2, val1.m44 * val2 |
| 564 | }; | 564 | }; |
| 565 | } | 565 | } |
| 566 | inline float4x4 operator-(const float4x4 &val) { | 566 | inline float4x4 operator-(const float4x4 &val) { |
| ... | @@ -568,7 +568,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { | ... | @@ -568,7 +568,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { |
| 568 | -val.m11, -val.m12, -val.m13, -val.m14, | 568 | -val.m11, -val.m12, -val.m13, -val.m14, |
| 569 | -val.m21, -val.m22, -val.m23, -val.m24, | 569 | -val.m21, -val.m22, -val.m23, -val.m24, |
| 570 | -val.m31, -val.m32, -val.m33, -val.m34, | 570 | -val.m31, -val.m32, -val.m33, -val.m34, |
| 571 | -val.m41, -val.m42, -val.m43, -val.m44, | 571 | -val.m41, -val.m42, -val.m43, -val.m44 |
| 572 | }; | 572 | }; |
| 573 | } | 573 | } |
| 574 | #undef _WINDOWS_NUMERICS_IMPL_BINARY_OP | 574 | #undef _WINDOWS_NUMERICS_IMPL_BINARY_OP |
| ... | @@ -678,7 +678,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { | ... | @@ -678,7 +678,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { |
| 678 | val1.w * val2.x + val1.x * val2.w + val1.y * val2.z - val1.z * val2.y, | 678 | val1.w * val2.x + val1.x * val2.w + val1.y * val2.z - val1.z * val2.y, |
| 679 | val1.w * val2.y - val1.x * val2.z + val1.y * val2.w + val1.z * val2.x, | 679 | val1.w * val2.y - val1.x * val2.z + val1.y * val2.w + val1.z * val2.x, |
| 680 | val1.w * val2.z + val1.x * val2.y - val1.y * val2.x + val1.z * val2.w, | 680 | val1.w * val2.z + val1.x * val2.y - val1.y * val2.x + val1.z * val2.w, |
| 681 | val1.w * val2.w - val1.x * val2.x - val1.y * val2.y - val1.z * val2.z, | 681 | val1.w * val2.w - val1.x * val2.x - val1.y * val2.y - val1.z * val2.z |
| 682 | }; } | 682 | }; } |
| 683 | inline quaternion operator*(const quaternion &val1, float val2) { | 683 | inline quaternion operator*(const quaternion &val1, float val2) { |
| 684 | return { val1.x * val2, val1.y * val2, val1.z * val2, val1.w * val2 }; | 684 | return { val1.x * val2, val1.y * val2, val1.z * val2, val1.w * val2 }; |
| ... | @@ -783,7 +783,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { | ... | @@ -783,7 +783,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { |
| 783 | return { | 783 | return { |
| 784 | val1.y * val2.z - val2.y * val1.z, | 784 | val1.y * val2.z - val2.y * val1.z, |
| 785 | val1.z * val2.x - val2.z * val1.x, | 785 | val1.z * val2.x - val2.z * val1.x, |
| 786 | val1.x * val2.y - val2.x * val1.y, | 786 | val1.x * val2.y - val2.x * val1.y |
| 787 | }; | 787 | }; |
| 788 | } | 788 | } |
| 789 | inline float3 reflect(const float3 &vec, const float3 &norm) { | 789 | inline float3 reflect(const float3 &vec, const float3 &norm) { |
| ... | @@ -845,7 +845,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { | ... | @@ -845,7 +845,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { |
| 845 | ::std::min(val1.x, val2.x), | 845 | ::std::min(val1.x, val2.x), |
| 846 | ::std::min(val1.y, val2.y), | 846 | ::std::min(val1.y, val2.y), |
| 847 | ::std::min(val1.z, val2.z), | 847 | ::std::min(val1.z, val2.z), |
| 848 | ::std::min(val1.w, val2.w), | 848 | ::std::min(val1.w, val2.w) |
| 849 | }; | 849 | }; |
| 850 | } | 850 | } |
| 851 | inline float4 max(const float4 &val1, const float4 &val2) { | 851 | inline float4 max(const float4 &val1, const float4 &val2) { |
| ... | @@ -853,7 +853,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { | ... | @@ -853,7 +853,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { |
| 853 | ::std::max(val1.x, val2.x), | 853 | ::std::max(val1.x, val2.x), |
| 854 | ::std::max(val1.y, val2.y), | 854 | ::std::max(val1.y, val2.y), |
| 855 | ::std::max(val1.z, val2.z), | 855 | ::std::max(val1.z, val2.z), |
| 856 | ::std::max(val1.w, val2.w), | 856 | ::std::max(val1.w, val2.w) |
| 857 | }; | 857 | }; |
| 858 | } | 858 | } |
| 859 | inline float4 clamp(const float4 &val, const float4 &min, const float4 &max) { | 859 | inline float4 clamp(const float4 &val, const float4 &min, const float4 &max) { |
| ... | @@ -861,7 +861,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { | ... | @@ -861,7 +861,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { |
| 861 | _impl::clamp(val.x, min.x, max.x), | 861 | _impl::clamp(val.x, min.x, max.x), |
| 862 | _impl::clamp(val.y, min.y, max.y), | 862 | _impl::clamp(val.y, min.y, max.y), |
| 863 | _impl::clamp(val.z, min.z, max.z), | 863 | _impl::clamp(val.z, min.z, max.z), |
| 864 | _impl::clamp(val.w, min.w, max.w), | 864 | _impl::clamp(val.w, min.w, max.w) |
| 865 | }; | 865 | }; |
| 866 | } | 866 | } |
| 867 | inline float4 lerp(const float4 &val1, const float4 &val2, float amount) { | 867 | inline float4 lerp(const float4 &val1, const float4 &val2, float amount) { |
| ... | @@ -869,7 +869,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { | ... | @@ -869,7 +869,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { |
| 869 | _impl::lerp(val1.x, val2.x, amount), | 869 | _impl::lerp(val1.x, val2.x, amount), |
| 870 | _impl::lerp(val1.y, val2.y, amount), | 870 | _impl::lerp(val1.y, val2.y, amount), |
| 871 | _impl::lerp(val1.z, val2.z, amount), | 871 | _impl::lerp(val1.z, val2.z, amount), |
| 872 | _impl::lerp(val1.w, val2.w, amount), | 872 | _impl::lerp(val1.w, val2.w, amount) |
| 873 | }; | 873 | }; |
| 874 | } | 874 | } |
| 875 | // TODO: impl | 875 | // TODO: impl |
| ... | @@ -1018,7 +1018,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { | ... | @@ -1018,7 +1018,7 @@ _WINDOWS_NUMERICS_BEGIN_NAMESPACE_ { |
| 1018 | val.m11, val.m21, val.m31, val.m41, | 1018 | val.m11, val.m21, val.m31, val.m41, |
| 1019 | val.m12, val.m22, val.m32, val.m42, | 1019 | val.m12, val.m22, val.m32, val.m42, |
| 1020 | val.m13, val.m23, val.m33, val.m43, | 1020 | val.m13, val.m23, val.m33, val.m43, |
| 1021 | val.m14, val.m24, val.m34, val.m44, | 1021 | val.m14, val.m24, val.m34, val.m44 |
| 1022 | }; | 1022 | }; |
| 1023 | } | 1023 | } |
| 1024 | inline float4x4 lerp(const float4x4 &val1, const float4x4 &val2, float amount); | 1024 | inline float4x4 lerp(const float4x4 &val1, const float4x4 &val2, float amount); |
lib/libc/include/any-windows-any/winhttp.h+60-4| ... | @@ -20,9 +20,9 @@ | ... | @@ -20,9 +20,9 @@ |
| 20 | #define __WINE_WINHTTP_H | 20 | #define __WINE_WINHTTP_H |
| 21 | 21 | ||
| 22 | #ifdef _WIN64 | 22 | #ifdef _WIN64 |
| 23 | #include <pshpack8.h> | 23 | #pragma pack(push,8) |
| 24 | #else | 24 | #else |
| 25 | #include <pshpack4.h> | 25 | #pragma pack(push,4) |
| 26 | #endif | 26 | #endif |
| 27 | 27 | ||
| 28 | #ifdef _WINHTTP_INTERNAL_ | 28 | #ifdef _WINHTTP_INTERNAL_ |
| ... | @@ -178,7 +178,53 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME; | ... | @@ -178,7 +178,53 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME; |
| 178 | #define WINHTTP_OPTION_HTTP_PROTOCOL_REQUIRED 145 | 178 | #define WINHTTP_OPTION_HTTP_PROTOCOL_REQUIRED 145 |
| 179 | #define WINHTTP_OPTION_REQUEST_STATS 146 | 179 | #define WINHTTP_OPTION_REQUEST_STATS 146 |
| 180 | #define WINHTTP_OPTION_SERVER_CERT_CHAIN_CONTEXT 147 | 180 | #define WINHTTP_OPTION_SERVER_CERT_CHAIN_CONTEXT 147 |
| 181 | #define WINHTTP_LAST_OPTION WINHTTP_OPTION_SERVER_CERT_CHAIN_CONTEXT | 181 | #define WINHTTP_OPTION_CONNECTION_STATS_V1 150 |
| 182 | #define WINHTTP_OPTION_SECURITY_INFO 151 | ||
| 183 | #define WINHTTP_OPTION_TCP_KEEPALIVE 152 | ||
| 184 | #define WINHTTP_OPTION_TCP_FAST_OPEN 153 | ||
| 185 | #define WINHTTP_OPTION_TCP_FALSE_START 154 | ||
| 186 | #define WINHTTP_OPTION_IGNORE_CERT_REVOCATION_OFFLINE 155 | ||
| 187 | #define WINHTTP_OPTION_TLS_PROTOCOL_INSECURE_FALLBACK 158 | ||
| 188 | #define WINHTTP_OPTION_STREAM_ERROR_CODE 159 | ||
| 189 | #define WINHTTP_OPTION_REQUIRE_STREAM_END 160 | ||
| 190 | #define WINHTTP_OPTION_ENABLE_HTTP2_PLUS_CLIENT_CERT 161 | ||
| 191 | #define WINHTTP_OPTION_FAILED_CONNECTION_RETRIES 162 | ||
| 192 | #define WINHTTP_OPTION_HTTP2_KEEPALIVE 164 | ||
| 193 | #define WINHTTP_OPTION_RESOLUTION_HOSTNAME 165 | ||
| 194 | #define WINHTTP_OPTION_SET_TOKEN_BINDING 166 | ||
| 195 | #define WINHTTP_OPTION_TOKEN_BINDING_PUBLIC_KEY 167 | ||
| 196 | #define WINHTTP_OPTION_REFERER_TOKEN_BINDING_HOSTNAME 168 | ||
| 197 | #define WINHTTP_OPTION_HTTP2_PLUS_TRANSFER_ENCODING 169 | ||
| 198 | #define WINHTTP_OPTION_RESOLVER_CACHE_CONFIG 170 | ||
| 199 | #define WINHTTP_OPTION_DISABLE_CERT_CHAIN_BUILDING 171 | ||
| 200 | #define WINHTTP_OPTION_BACKGROUND_CONNECTIONS 172 | ||
| 201 | #define WINHTTP_OPTION_FIRST_AVAILABLE_CONNECTION 173 | ||
| 202 | #define WINHTTP_OPTION_TCP_PRIORITY_STATUS 177 | ||
| 203 | #define WINHTTP_OPTION_CONNECTION_GUID 178 | ||
| 204 | #define WINHTTP_OPTION_MATCH_CONNECTION_GUID 179 | ||
| 205 | #define WINHTTP_OPTION_HTTP2_RECEIVE_WINDOW 183 | ||
| 206 | #define WINHTTP_OPTION_FEATURE_SUPPORTED 184 | ||
| 207 | #define WINHTTP_OPTION_QUIC_STATS 185 | ||
| 208 | #define WINHTTP_OPTION_HTTP3_KEEPALIVE 188 | ||
| 209 | #define WINHTTP_OPTION_HTTP3_HANDSHAKE_TIMEOUT 189 | ||
| 210 | #define WINHTTP_OPTION_HTTP3_INITIAL_RTT 190 | ||
| 211 | #define WINHTTP_OPTION_HTTP3_STREAM_ERROR_CODE 191 | ||
| 212 | #define WINHTTP_OPTION_REQUEST_ANNOTATION 192 | ||
| 213 | #define WINHTTP_OPTION_DISABLE_PROXY_AUTH_SCHEMES 193 | ||
| 214 | #define WINHTTP_OPTION_REVERT_IMPERSONATION_SERVER_CERT 194 | ||
| 215 | #define WINHTTP_OPTION_DISABLE_GLOBAL_POOLING 195 | ||
| 216 | #define WINHTTP_OPTION_USE_SESSION_SCH_CRED 196 | ||
| 217 | #define WINHTTP_OPTION_QUIC_STATS_V2 200 | ||
| 218 | #define WINHTTP_OPTION_QUIC_STREAM_STATS 202 | ||
| 219 | #define WINHTTP_OPTION_USE_LOOKASIDE 203 | ||
| 220 | #define WINHTTP_OPTION_ERROR_LOG_GUID 204 | ||
| 221 | #define WINHTTP_OPTION_ENABLE_FAST_FORWARDING 205 | ||
| 222 | #define WINHTTP_OPTION_FAST_FORWARDING_RESPONSE_DATA 206 | ||
| 223 | #define WINHTTP_OPTION_UPGRADE_TO_PROTOCOL 207 | ||
| 224 | #define WINHTTP_OPTION_CONNECTION_STATS_V2 208 | ||
| 225 | #define WINHTTP_OPTION_FAST_FORWARDING_RESPONSE_STATUS 209 | ||
| 226 | |||
| 227 | #define WINHTTP_LAST_OPTION WINHTTP_OPTION_FAST_FORWARDING_RESPONSE_STATUS | ||
| 182 | #define WINHTTP_OPTION_USERNAME 0x1000 | 228 | #define WINHTTP_OPTION_USERNAME 0x1000 |
| 183 | #define WINHTTP_OPTION_PASSWORD 0x1001 | 229 | #define WINHTTP_OPTION_PASSWORD 0x1001 |
| 184 | #define WINHTTP_OPTION_PROXY_USERNAME 0x1002 | 230 | #define WINHTTP_OPTION_PROXY_USERNAME 0x1002 |
| ... | @@ -816,6 +862,16 @@ typedef struct _WINHTTP_WEB_SOCKET_STATUS | ... | @@ -816,6 +862,16 @@ typedef struct _WINHTTP_WEB_SOCKET_STATUS |
| 816 | #define WINHTTP_WEB_SOCKET_MAX_CLOSE_REASON_LENGTH 123 | 862 | #define WINHTTP_WEB_SOCKET_MAX_CLOSE_REASON_LENGTH 123 |
| 817 | #define WINHTTP_WEB_SOCKET_MIN_KEEPALIVE_VALUE 15000 | 863 | #define WINHTTP_WEB_SOCKET_MIN_KEEPALIVE_VALUE 15000 |
| 818 | 864 | ||
| 865 | #ifdef __SCHANNEL_H__ | ||
| 866 | |||
| 867 | typedef struct _WINHTTP_SECURITY_INFO | ||
| 868 | { | ||
| 869 | SecPkgContext_ConnectionInfo ConnectionInfo; | ||
| 870 | SecPkgContext_CipherInfo CipherInfo; | ||
| 871 | } WINHTTP_SECURITY_INFO, *PWINHTTP_SECURITY_INFO; | ||
| 872 | |||
| 873 | #endif | ||
| 874 | |||
| 819 | #ifdef __cplusplus | 875 | #ifdef __cplusplus |
| 820 | extern "C" { | 876 | extern "C" { |
| 821 | #endif | 877 | #endif |
| ... | @@ -872,6 +928,6 @@ WINHTTPAPI DWORD WINAPI WinHttpWriteProxySettings(HINTERNET,WINBOOL,WINHTT | ... | @@ -872,6 +928,6 @@ WINHTTPAPI DWORD WINAPI WinHttpWriteProxySettings(HINTERNET,WINBOOL,WINHTT |
| 872 | } | 928 | } |
| 873 | #endif | 929 | #endif |
| 874 | 930 | ||
| 875 | #include <poppack.h> | 931 | #pragma pack(pop) |
| 876 | 932 | ||
| 877 | #endif /* __WINE_WINHTTP_H */ | 933 | #endif /* __WINE_WINHTTP_H */ |
lib/libc/include/any-windows-any/winhvemulation.h+5-1| ... | @@ -15,6 +15,8 @@ | ... | @@ -15,6 +15,8 @@ |
| 15 | 15 | ||
| 16 | #include <winhvplatformdefs.h> | 16 | #include <winhvplatformdefs.h> |
| 17 | 17 | ||
| 18 | #if defined(__x86_64__) | ||
| 19 | |||
| 18 | typedef union WHV_EMULATOR_STATUS { | 20 | typedef union WHV_EMULATOR_STATUS { |
| 19 | __C89_NAMELESS struct { | 21 | __C89_NAMELESS struct { |
| 20 | UINT32 EmulationSuccessful : 1; | 22 | UINT32 EmulationSuccessful : 1; |
| ... | @@ -77,6 +79,8 @@ HRESULT WINAPI WHvEmulatorTryMmioEmulation(WHV_EMULATOR_HANDLE Emulator, VOID *C | ... | @@ -77,6 +79,8 @@ HRESULT WINAPI WHvEmulatorTryMmioEmulation(WHV_EMULATOR_HANDLE Emulator, VOID *C |
| 77 | } | 79 | } |
| 78 | #endif | 80 | #endif |
| 79 | 81 | ||
| 80 | #endif | 82 | #endif /* defined(__x86_64__) */ |
| 83 | |||
| 84 | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ | ||
| 81 | 85 | ||
| 82 | #endif | 86 | #endif |
lib/libc/include/any-windows-any/winhvplatform.h+105| ... | @@ -15,6 +15,8 @@ | ... | @@ -15,6 +15,8 @@ |
| 15 | 15 | ||
| 16 | #include <winhvplatformdefs.h> | 16 | #include <winhvplatformdefs.h> |
| 17 | 17 | ||
| 18 | #if defined(__x86_64__) || defined(__aarch64__) | ||
| 19 | |||
| 18 | #ifdef __cplusplus | 20 | #ifdef __cplusplus |
| 19 | extern "C" { | 21 | extern "C" { |
| 20 | #endif | 22 | #endif |
| ... | @@ -39,16 +41,22 @@ HRESULT WINAPI WHvRunVirtualProcessor(WHV_PARTITION_HANDLE Partition, UINT32 VpI | ... | @@ -39,16 +41,22 @@ HRESULT WINAPI WHvRunVirtualProcessor(WHV_PARTITION_HANDLE Partition, UINT32 VpI |
| 39 | HRESULT WINAPI WHvCancelRunVirtualProcessor(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, UINT32 Flags); | 41 | HRESULT WINAPI WHvCancelRunVirtualProcessor(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, UINT32 Flags); |
| 40 | HRESULT WINAPI WHvGetVirtualProcessorRegisters(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, const WHV_REGISTER_NAME *RegisterNames, UINT32 RegisterCount, WHV_REGISTER_VALUE *RegisterValues); | 42 | HRESULT WINAPI WHvGetVirtualProcessorRegisters(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, const WHV_REGISTER_NAME *RegisterNames, UINT32 RegisterCount, WHV_REGISTER_VALUE *RegisterValues); |
| 41 | HRESULT WINAPI WHvSetVirtualProcessorRegisters(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, const WHV_REGISTER_NAME *RegisterNames, UINT32 RegisterCount, const WHV_REGISTER_VALUE *RegisterValues); | 43 | HRESULT WINAPI WHvSetVirtualProcessorRegisters(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, const WHV_REGISTER_NAME *RegisterNames, UINT32 RegisterCount, const WHV_REGISTER_VALUE *RegisterValues); |
| 44 | #if defined(__x86_64__) | ||
| 42 | HRESULT WINAPI WHvGetVirtualProcessorInterruptControllerState(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, VOID *State, UINT32 StateSize, UINT32 *WrittenSize); | 45 | HRESULT WINAPI WHvGetVirtualProcessorInterruptControllerState(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, VOID *State, UINT32 StateSize, UINT32 *WrittenSize); |
| 43 | HRESULT WINAPI WHvSetVirtualProcessorInterruptControllerState(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, const VOID *State, UINT32 StateSize); | 46 | HRESULT WINAPI WHvSetVirtualProcessorInterruptControllerState(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, const VOID *State, UINT32 StateSize); |
| 47 | #endif | ||
| 44 | HRESULT WINAPI WHvRequestInterrupt(WHV_PARTITION_HANDLE Partition, const WHV_INTERRUPT_CONTROL *Interrupt, UINT32 InterruptControlSize); | 48 | HRESULT WINAPI WHvRequestInterrupt(WHV_PARTITION_HANDLE Partition, const WHV_INTERRUPT_CONTROL *Interrupt, UINT32 InterruptControlSize); |
| 49 | #if defined(__x86_64__) | ||
| 45 | HRESULT WINAPI WHvGetVirtualProcessorXsaveState(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, VOID *Buffer, UINT32 BufferSizeInBytes, UINT32 *BytesWritten); | 50 | HRESULT WINAPI WHvGetVirtualProcessorXsaveState(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, VOID *Buffer, UINT32 BufferSizeInBytes, UINT32 *BytesWritten); |
| 46 | HRESULT WINAPI WHvSetVirtualProcessorXsaveState(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, const VOID *Buffer, UINT32 BufferSizeInBytes); | 51 | HRESULT WINAPI WHvSetVirtualProcessorXsaveState(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, const VOID *Buffer, UINT32 BufferSizeInBytes); |
| 52 | #endif | ||
| 47 | HRESULT WINAPI WHvQueryGpaRangeDirtyBitmap(WHV_PARTITION_HANDLE Partition, WHV_GUEST_PHYSICAL_ADDRESS GuestAddress, UINT64 RangeSizeInBytes, UINT64 *Bitmap, UINT32 BitmapSizeInBytes); | 53 | HRESULT WINAPI WHvQueryGpaRangeDirtyBitmap(WHV_PARTITION_HANDLE Partition, WHV_GUEST_PHYSICAL_ADDRESS GuestAddress, UINT64 RangeSizeInBytes, UINT64 *Bitmap, UINT32 BitmapSizeInBytes); |
| 48 | HRESULT WINAPI WHvGetPartitionCounters(WHV_PARTITION_HANDLE Partition, WHV_PARTITION_COUNTER_SET CounterSet, VOID *Buffer, UINT32 BufferSizeInBytes, UINT32 *BytesWritten); | 54 | HRESULT WINAPI WHvGetPartitionCounters(WHV_PARTITION_HANDLE Partition, WHV_PARTITION_COUNTER_SET CounterSet, VOID *Buffer, UINT32 BufferSizeInBytes, UINT32 *BytesWritten); |
| 49 | HRESULT WINAPI WHvGetVirtualProcessorCounters(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, WHV_PROCESSOR_COUNTER_SET CounterSet, VOID *Buffer, UINT32 BufferSizeInBytes, UINT32 *BytesWritten); | 55 | HRESULT WINAPI WHvGetVirtualProcessorCounters(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, WHV_PROCESSOR_COUNTER_SET CounterSet, VOID *Buffer, UINT32 BufferSizeInBytes, UINT32 *BytesWritten); |
| 56 | #if defined(__x86_64__) | ||
| 50 | HRESULT WINAPI WHvGetVirtualProcessorInterruptControllerState2(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, VOID *State, UINT32 StateSize, UINT32 *WrittenSize); | 57 | HRESULT WINAPI WHvGetVirtualProcessorInterruptControllerState2(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, VOID *State, UINT32 StateSize, UINT32 *WrittenSize); |
| 51 | HRESULT WINAPI WHvSetVirtualProcessorInterruptControllerState2(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, const VOID *State, UINT32 StateSize); | 58 | HRESULT WINAPI WHvSetVirtualProcessorInterruptControllerState2(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, const VOID *State, UINT32 StateSize); |
| 59 | #endif | ||
| 52 | HRESULT WINAPI WHvRegisterPartitionDoorbellEvent(WHV_PARTITION_HANDLE Partition, const WHV_DOORBELL_MATCH_DATA *MatchData, HANDLE EventHandle); | 60 | HRESULT WINAPI WHvRegisterPartitionDoorbellEvent(WHV_PARTITION_HANDLE Partition, const WHV_DOORBELL_MATCH_DATA *MatchData, HANDLE EventHandle); |
| 53 | HRESULT WINAPI WHvUnregisterPartitionDoorbellEvent(WHV_PARTITION_HANDLE Partition, const WHV_DOORBELL_MATCH_DATA *MatchData); | 61 | HRESULT WINAPI WHvUnregisterPartitionDoorbellEvent(WHV_PARTITION_HANDLE Partition, const WHV_DOORBELL_MATCH_DATA *MatchData); |
| 54 | HRESULT WINAPI WHvAdviseGpaRange(WHV_PARTITION_HANDLE Partition, const WHV_MEMORY_RANGE_ENTRY *GpaRanges, UINT32 GpaRangesCount, WHV_ADVISE_GPA_RANGE_CODE Advice, const VOID *AdviceBuffer, UINT32 AdviceBufferSizeInBytes); | 62 | HRESULT WINAPI WHvAdviseGpaRange(WHV_PARTITION_HANDLE Partition, const WHV_MEMORY_RANGE_ENTRY *GpaRanges, UINT32 GpaRangesCount, WHV_ADVISE_GPA_RANGE_CODE Advice, const VOID *AdviceBuffer, UINT32 AdviceBufferSizeInBytes); |
| ... | @@ -79,8 +87,10 @@ HRESULT WINAPI WHvCreateNotificationPort(WHV_PARTITION_HANDLE Partition, const W | ... | @@ -79,8 +87,10 @@ HRESULT WINAPI WHvCreateNotificationPort(WHV_PARTITION_HANDLE Partition, const W |
| 79 | HRESULT WINAPI WHvSetNotificationPortProperty(WHV_PARTITION_HANDLE Partition, WHV_NOTIFICATION_PORT_HANDLE PortHandle, WHV_NOTIFICATION_PORT_PROPERTY_CODE PropertyCode, WHV_NOTIFICATION_PORT_PROPERTY PropertyValue); | 87 | HRESULT WINAPI WHvSetNotificationPortProperty(WHV_PARTITION_HANDLE Partition, WHV_NOTIFICATION_PORT_HANDLE PortHandle, WHV_NOTIFICATION_PORT_PROPERTY_CODE PropertyCode, WHV_NOTIFICATION_PORT_PROPERTY PropertyValue); |
| 80 | HRESULT WINAPI WHvDeleteNotificationPort(WHV_PARTITION_HANDLE Partition, WHV_NOTIFICATION_PORT_HANDLE PortHandle); | 88 | HRESULT WINAPI WHvDeleteNotificationPort(WHV_PARTITION_HANDLE Partition, WHV_NOTIFICATION_PORT_HANDLE PortHandle); |
| 81 | HRESULT WINAPI WHvPostVirtualProcessorSynicMessage(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, UINT32 SintIndex, const VOID *Message, UINT32 MessageSizeInBytes); | 89 | HRESULT WINAPI WHvPostVirtualProcessorSynicMessage(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, UINT32 SintIndex, const VOID *Message, UINT32 MessageSizeInBytes); |
| 90 | #if defined(__x86_64__) | ||
| 82 | HRESULT WINAPI WHvGetVirtualProcessorCpuidOutput(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, UINT32 Eax, UINT32 Ecx, WHV_CPUID_OUTPUT *CpuidOutput); | 91 | HRESULT WINAPI WHvGetVirtualProcessorCpuidOutput(WHV_PARTITION_HANDLE Partition, UINT32 VpIndex, UINT32 Eax, UINT32 Ecx, WHV_CPUID_OUTPUT *CpuidOutput); |
| 83 | HRESULT WINAPI WHvGetInterruptTargetVpSet(WHV_PARTITION_HANDLE Partition, UINT64 Destination, WHV_INTERRUPT_DESTINATION_MODE DestinationMode, UINT32 *TargetVps, UINT32 VpCount, UINT32 *TargetVpCount); | 92 | HRESULT WINAPI WHvGetInterruptTargetVpSet(WHV_PARTITION_HANDLE Partition, UINT64 Destination, WHV_INTERRUPT_DESTINATION_MODE DestinationMode, UINT32 *TargetVps, UINT32 VpCount, UINT32 *TargetVpCount); |
| 93 | #endif | ||
| 84 | HRESULT WINAPI WHvStartPartitionMigration(WHV_PARTITION_HANDLE Partition, HANDLE *MigrationHandle); | 94 | HRESULT WINAPI WHvStartPartitionMigration(WHV_PARTITION_HANDLE Partition, HANDLE *MigrationHandle); |
| 85 | HRESULT WHvCancelPartitionMigration(WHV_PARTITION_HANDLE Partition); | 95 | HRESULT WHvCancelPartitionMigration(WHV_PARTITION_HANDLE Partition); |
| 86 | HRESULT WHvCompletePartitionMigration(WHV_PARTITION_HANDLE Partition); | 96 | HRESULT WHvCompletePartitionMigration(WHV_PARTITION_HANDLE Partition); |
| ... | @@ -90,6 +100,101 @@ HRESULT WINAPI WHvAcceptPartitionMigration(HANDLE MigrationHandle, WHV_PARTITION | ... | @@ -90,6 +100,101 @@ HRESULT WINAPI WHvAcceptPartitionMigration(HANDLE MigrationHandle, WHV_PARTITION |
| 90 | } | 100 | } |
| 91 | #endif | 101 | #endif |
| 92 | 102 | ||
| 103 | #endif /* defined(__x86_64__) || defined(__aarch64__) */ | ||
| 104 | |||
| 93 | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ | 105 | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ |
| 94 | 106 | ||
| 95 | #endif /* _WINHVAPI_H_ */ | 107 | #endif /* _WINHVAPI_H_ */ |
| 108 | |||
| 109 | |||
| 110 | #ifndef ext_ms_win_hyperv_hvplatform_l1_1_5_query_routines | ||
| 111 | #define ext_ms_win_hyperv_hvplatform_l1_1_5_query_routines | ||
| 112 | |||
| 113 | #ifdef __cplusplus | ||
| 114 | extern "C" { | ||
| 115 | #endif | ||
| 116 | |||
| 117 | #if defined(__x86_64__) || defined(__aarch64__) | ||
| 118 | |||
| 119 | BOOLEAN WINAPI IsWHvGetCapabilityPresent(VOID); | ||
| 120 | BOOLEAN WINAPI IsWHvCreatePartitionPresent(VOID); | ||
| 121 | BOOLEAN WINAPI IsWHvSetupPartitionPresent(VOID); | ||
| 122 | BOOLEAN WINAPI IsWHvResetPartitionPresent(VOID); | ||
| 123 | BOOLEAN WINAPI IsWHvDeletePartitionPresent(VOID); | ||
| 124 | BOOLEAN WINAPI IsWHvGetPartitionPropertyPresent(VOID); | ||
| 125 | BOOLEAN WINAPI IsWHvSetPartitionPropertyPresent(VOID); | ||
| 126 | BOOLEAN WINAPI IsWHvSuspendPartitionTimePresent(VOID); | ||
| 127 | BOOLEAN WINAPI IsWHvResumePartitionTimePresent(VOID); | ||
| 128 | BOOLEAN WINAPI IsWHvMapGpaRangePresent(VOID); | ||
| 129 | BOOLEAN WINAPI IsWHvMapGpaRange2Present(VOID); | ||
| 130 | BOOLEAN WINAPI IsWHvUnmapGpaRangePresent(VOID); | ||
| 131 | BOOLEAN WINAPI IsWHvTranslateGvaPresent(VOID); | ||
| 132 | BOOLEAN WINAPI IsWHvCreateVirtualProcessorPresent(VOID); | ||
| 133 | BOOLEAN WINAPI IsWHvCreateVirtualProcessor2Present(VOID); | ||
| 134 | BOOLEAN WINAPI IsWHvDeleteVirtualProcessorPresent(VOID); | ||
| 135 | BOOLEAN WINAPI IsWHvRunVirtualProcessorPresent(VOID); | ||
| 136 | BOOLEAN WINAPI IsWHvCancelRunVirtualProcessorPresent(VOID); | ||
| 137 | BOOLEAN WINAPI IsWHvGetVirtualProcessorRegistersPresent(VOID); | ||
| 138 | BOOLEAN WINAPI IsWHvSetVirtualProcessorRegistersPresent(VOID); | ||
| 139 | #if defined(__x86_64__) | ||
| 140 | BOOLEAN WINAPI IsWHvGetVirtualProcessorInterruptControllerStatePresent(VOID); | ||
| 141 | BOOLEAN WINAPI IsWHvSetVirtualProcessorInterruptControllerStatePresent(VOID); | ||
| 142 | #endif | ||
| 143 | BOOLEAN WINAPI IsWHvRequestInterruptPresent(VOID); | ||
| 144 | #if defined(__x86_64__) | ||
| 145 | BOOLEAN WINAPI IsWHvGetVirtualProcessorXsaveStatePresent(VOID); | ||
| 146 | BOOLEAN WINAPI IsWHvSetVirtualProcessorXsaveStatePresent(VOID); | ||
| 147 | #endif | ||
| 148 | BOOLEAN WINAPI IsWHvQueryGpaRangeDirtyBitmapPresent(VOID); | ||
| 149 | BOOLEAN WINAPI IsWHvGetPartitionCountersPresent(VOID); | ||
| 150 | BOOLEAN WINAPI IsWHvGetVirtualProcessorCountersPresent(VOID); | ||
| 151 | #if defined(__x86_64__) | ||
| 152 | BOOLEAN WINAPI IsWHvGetVirtualProcessorInterruptControllerState2Present(VOID); | ||
| 153 | BOOLEAN WINAPI IsWHvSetVirtualProcessorInterruptControllerState2Present(VOID); | ||
| 154 | #endif | ||
| 155 | BOOLEAN WINAPI IsWHvRegisterPartitionDoorbellEventPresent(VOID); | ||
| 156 | BOOLEAN WINAPI IsWHvUnregisterPartitionDoorbellEventPresent(VOID); | ||
| 157 | BOOLEAN WINAPI IsWHvAdviseGpaRangePresent(VOID); | ||
| 158 | BOOLEAN WINAPI IsWHvReadGpaRangePresent(VOID); | ||
| 159 | BOOLEAN WINAPI IsWHvWriteGpaRangePresent(VOID); | ||
| 160 | BOOLEAN WINAPI IsWHvSignalVirtualProcessorSynicEventPresent(VOID); | ||
| 161 | BOOLEAN WINAPI IsWHvGetVirtualProcessorStatePresent(VOID); | ||
| 162 | BOOLEAN WINAPI IsWHvSetVirtualProcessorStatePresent(VOID); | ||
| 163 | BOOLEAN WINAPI IsWHvAllocateVpciResourcePresent(VOID); | ||
| 164 | BOOLEAN WINAPI IsWHvCreateVpciDevicePresent(VOID); | ||
| 165 | BOOLEAN WINAPI IsWHvDeleteVpciDevicePresent(VOID); | ||
| 166 | BOOLEAN WINAPI IsWHvGetVpciDevicePropertyPresent(VOID); | ||
| 167 | BOOLEAN WINAPI IsWHvGetVpciDeviceNotificationPresent(VOID); | ||
| 168 | BOOLEAN WINAPI IsWHvMapVpciDeviceMmioRangesPresent(VOID); | ||
| 169 | BOOLEAN WINAPI IsWHvUnmapVpciDeviceMmioRangesPresent(VOID); | ||
| 170 | BOOLEAN WINAPI IsWHvSetVpciDevicePowerStatePresent(VOID); | ||
| 171 | BOOLEAN WINAPI IsWHvReadVpciDeviceRegisterPresent(VOID); | ||
| 172 | BOOLEAN WINAPI IsWHvWriteVpciDeviceRegisterPresent(VOID); | ||
| 173 | BOOLEAN WINAPI IsWHvMapVpciDeviceInterruptPresent(VOID); | ||
| 174 | BOOLEAN WINAPI IsWHvUnmapVpciDeviceInterruptPresent(VOID); | ||
| 175 | BOOLEAN WINAPI IsWHvRetargetVpciDeviceInterruptPresent(VOID); | ||
| 176 | BOOLEAN WINAPI IsWHvRequestVpciDeviceInterruptPresent(VOID); | ||
| 177 | BOOLEAN WINAPI IsWHvGetVpciDeviceInterruptTargetPresent(VOID); | ||
| 178 | BOOLEAN WINAPI IsWHvCreateTriggerPresent(VOID); | ||
| 179 | BOOLEAN WINAPI IsWHvUpdateTriggerParametersPresent(VOID); | ||
| 180 | BOOLEAN WINAPI IsWHvDeleteTriggerPresent(VOID); | ||
| 181 | BOOLEAN WINAPI IsWHvCreateNotificationPortPresent(VOID); | ||
| 182 | BOOLEAN WINAPI IsWHvSetNotificationPortPropertyPresent(VOID); | ||
| 183 | BOOLEAN WINAPI IsWHvDeleteNotificationPortPresent(VOID); | ||
| 184 | BOOLEAN WINAPI IsWHvPostVirtualProcessorSynicMessagePresent(VOID); | ||
| 185 | #if defined(__x86_64__) | ||
| 186 | BOOLEAN WINAPI IsWHvGetVirtualProcessorCpuidOutputPresent(VOID); | ||
| 187 | BOOLEAN WINAPI IsWHvGetInterruptTargetVpSetPresent(VOID); | ||
| 188 | #endif | ||
| 189 | BOOLEAN WINAPI IsWHvStartPartitionMigrationPresent(VOID); | ||
| 190 | BOOLEAN WINAPI IsWHvCancelPartitionMigrationPresent(VOID); | ||
| 191 | BOOLEAN WINAPI IsWHvCompletePartitionMigrationPresent(VOID); | ||
| 192 | BOOLEAN WINAPI IsWHvAcceptPartitionMigrationPresent(VOID); | ||
| 193 | |||
| 194 | #endif /* defined(__x86_64__) || defined(__aarch64__) */ | ||
| 195 | |||
| 196 | #ifdef __cplusplus | ||
| 197 | } | ||
| 198 | #endif | ||
| 199 | |||
| 200 | #endif /* ext_ms_win_hyperv_hvplatform_l1_1_5_query_routines */ |
lib/libc/include/any-windows-any/winhvplatformdefs.h+1977-1160| ... | @@ -6,790 +6,7 @@ | ... | @@ -6,790 +6,7 @@ |
| 6 | #ifndef _WINHVAPIDEFS_H_ | 6 | #ifndef _WINHVAPIDEFS_H_ |
| 7 | #define _WINHVAPIDEFS_H_ | 7 | #define _WINHVAPIDEFS_H_ |
| 8 | 8 | ||
| 9 | typedef enum WHV_CAPABILITY_CODE { | 9 | #if defined(__x86_64__) || defined(__aarch64__) |
| 10 | WHvCapabilityCodeHypervisorPresent = 0x00000000 | ||
| 11 | ,WHvCapabilityCodeFeatures = 0x00000001 | ||
| 12 | ,WHvCapabilityCodeExtendedVmExits = 0x00000002 | ||
| 13 | #if defined(__x86_64__) | ||
| 14 | ,WHvCapabilityCodeExceptionExitBitmap = 0x00000003 | ||
| 15 | ,WHvCapabilityCodeX64MsrExitBitmap = 0x00000004 | ||
| 16 | #endif | ||
| 17 | ,WHvCapabilityCodeGpaRangePopulateFlags = 0x00000005 | ||
| 18 | ,WHvCapabilityCodeSchedulerFeatures = 0x00000006 | ||
| 19 | ,WHvCapabilityCodeProcessorVendor = 0x00001000 | ||
| 20 | ,WHvCapabilityCodeProcessorFeatures = 0x00001001 | ||
| 21 | ,WHvCapabilityCodeProcessorClFlushSize = 0x00001002 | ||
| 22 | #if defined(__x86_64__) | ||
| 23 | ,WHvCapabilityCodeProcessorXsaveFeatures = 0x00001003 | ||
| 24 | #endif | ||
| 25 | ,WHvCapabilityCodeProcessorClockFrequency = 0x00001004 | ||
| 26 | #if defined(__x86_64__) | ||
| 27 | ,WHvCapabilityCodeInterruptClockFrequency = 0x00001005 | ||
| 28 | #endif | ||
| 29 | ,WHvCapabilityCodeProcessorFeaturesBanks = 0x00001006 | ||
| 30 | ,WHvCapabilityCodeProcessorFrequencyCap = 0x00001007 | ||
| 31 | ,WHvCapabilityCodeSyntheticProcessorFeaturesBanks = 0x00001008 | ||
| 32 | #if defined(__x86_64__) | ||
| 33 | ,WHvCapabilityCodeProcessorPerfmonFeatures = 0x00001009 | ||
| 34 | #endif | ||
| 35 | ,WHvCapabilityCodePhysicalAddressWidth = 0x0000100A | ||
| 36 | #if defined(__x86_64__) | ||
| 37 | ,WHvCapabilityCodeVmxBasic = 0x00002000 | ||
| 38 | ,WHvCapabilityCodeVmxPinbasedCtls = 0x00002001 | ||
| 39 | ,WHvCapabilityCodeVmxProcbasedCtls = 0x00002002 | ||
| 40 | ,WHvCapabilityCodeVmxExitCtls = 0x00002003 | ||
| 41 | ,WHvCapabilityCodeVmxEntryCtls = 0x00002004 | ||
| 42 | ,WHvCapabilityCodeVmxMisc = 0x00002005 | ||
| 43 | ,WHvCapabilityCodeVmxCr0Fixed0 = 0x00002006 | ||
| 44 | ,WHvCapabilityCodeVmxCr0Fixed1 = 0x00002007 | ||
| 45 | ,WHvCapabilityCodeVmxCr4Fixed0 = 0x00002008 | ||
| 46 | ,WHvCapabilityCodeVmxCr4Fixed1 = 0x00002009 | ||
| 47 | ,WHvCapabilityCodeVmxVmcsEnum = 0x0000200A | ||
| 48 | ,WHvCapabilityCodeVmxProcbasedCtls2 = 0x0000200B | ||
| 49 | ,WHvCapabilityCodeVmxEptVpidCap = 0x0000200C | ||
| 50 | ,WHvCapabilityCodeVmxTruePinbasedCtls = 0x0000200D | ||
| 51 | ,WHvCapabilityCodeVmxTrueProcbasedCtls = 0x0000200E | ||
| 52 | ,WHvCapabilityCodeVmxTrueExitCtls = 0x0000200F | ||
| 53 | ,WHvCapabilityCodeVmxTrueEntryCtls = 0x00002010 | ||
| 54 | #endif | ||
| 55 | } WHV_CAPABILITY_CODE; | ||
| 56 | |||
| 57 | typedef union WHV_CAPABILITY_FEATURES { | ||
| 58 | __C89_NAMELESS struct { | ||
| 59 | UINT64 PartialUnmap : 1; | ||
| 60 | #if defined(__x86_64__) | ||
| 61 | UINT64 LocalApicEmulation : 1; | ||
| 62 | UINT64 Xsave : 1; | ||
| 63 | #else | ||
| 64 | UINT64 ReservedArm0 : 2; | ||
| 65 | #endif | ||
| 66 | UINT64 DirtyPageTracking : 1; | ||
| 67 | UINT64 SpeculationControl : 1; | ||
| 68 | #if defined(__x86_64__) | ||
| 69 | UINT64 ApicRemoteRead : 1; | ||
| 70 | #else | ||
| 71 | UINT64 ReservedArm1 : 1; | ||
| 72 | #endif | ||
| 73 | UINT64 IdleSuspend : 1; | ||
| 74 | UINT64 VirtualPciDeviceSupport : 1; | ||
| 75 | UINT64 IommuSupport : 1; | ||
| 76 | UINT64 VpHotAddRemove : 1; | ||
| 77 | UINT64 Reserved : 54; | ||
| 78 | }; | ||
| 79 | UINT64 AsUINT64; | ||
| 80 | } WHV_CAPABILITY_FEATURES; | ||
| 81 | |||
| 82 | C_ASSERT(sizeof(WHV_CAPABILITY_FEATURES) == sizeof(UINT64)); | ||
| 83 | |||
| 84 | typedef union WHV_EXTENDED_VM_EXITS { | ||
| 85 | __C89_NAMELESS struct { | ||
| 86 | #if defined(__x86_64__) | ||
| 87 | UINT64 X64CpuidExit : 1; | ||
| 88 | UINT64 X64MsrExit : 1; | ||
| 89 | UINT64 ExceptionExit : 1; | ||
| 90 | UINT64 X64RdtscExit : 1; | ||
| 91 | UINT64 X64ApicSmiExitTrap : 1; | ||
| 92 | #else | ||
| 93 | UINT64 ReservedArm0 : 5; | ||
| 94 | #endif | ||
| 95 | UINT64 HypercallExit : 1; | ||
| 96 | #if defined(__x86_64__) | ||
| 97 | UINT64 X64ApicInitSipiExitTrap : 1; | ||
| 98 | UINT64 X64ApicWriteLint0ExitTrap : 1; | ||
| 99 | UINT64 X64ApicWriteLint1ExitTrap : 1; | ||
| 100 | UINT64 X64ApicWriteSvrExitTrap : 1; | ||
| 101 | #else | ||
| 102 | UINT64 ReservedArm1 : 4; | ||
| 103 | #endif | ||
| 104 | UINT64 UnknownSynicConnection : 1; | ||
| 105 | UINT64 RetargetUnknownVpciDevice : 1; | ||
| 106 | #if defined(__x86_64__) | ||
| 107 | UINT64 X64ApicWriteLdrExitTrap : 1; | ||
| 108 | UINT64 X64ApicWriteDfrExitTrap : 1; | ||
| 109 | #else | ||
| 110 | UINT64 ReservedArm2 : 2; | ||
| 111 | #endif | ||
| 112 | UINT64 GpaAccessFaultExit : 1; | ||
| 113 | UINT64 Reserved : 49; | ||
| 114 | }; | ||
| 115 | UINT64 AsUINT64; | ||
| 116 | } WHV_EXTENDED_VM_EXITS; | ||
| 117 | |||
| 118 | C_ASSERT(sizeof(WHV_EXTENDED_VM_EXITS) == sizeof(UINT64)); | ||
| 119 | |||
| 120 | typedef enum WHV_PROCESSOR_VENDOR { | ||
| 121 | WHvProcessorVendorAmd = 0x0000, | ||
| 122 | WHvProcessorVendorIntel = 0x0001, | ||
| 123 | WHvProcessorVendorHygon = 0x0002, | ||
| 124 | WHvProcessorVendorArm = 0x0010 | ||
| 125 | } WHV_PROCESSOR_VENDOR; | ||
| 126 | |||
| 127 | #if defined(__x86_64__) | ||
| 128 | |||
| 129 | typedef union WHV_X64_PROCESSOR_FEATURES { | ||
| 130 | __C89_NAMELESS struct { | ||
| 131 | UINT64 Sse3Support : 1; | ||
| 132 | UINT64 LahfSahfSupport : 1; | ||
| 133 | UINT64 Ssse3Support : 1; | ||
| 134 | UINT64 Sse4_1Support : 1; | ||
| 135 | UINT64 Sse4_2Support : 1; | ||
| 136 | UINT64 Sse4aSupport : 1; | ||
| 137 | UINT64 XopSupport : 1; | ||
| 138 | UINT64 PopCntSupport : 1; | ||
| 139 | UINT64 Cmpxchg16bSupport : 1; | ||
| 140 | UINT64 Altmovcr8Support : 1; | ||
| 141 | UINT64 LzcntSupport : 1; | ||
| 142 | UINT64 MisAlignSseSupport : 1; | ||
| 143 | UINT64 MmxExtSupport : 1; | ||
| 144 | UINT64 Amd3DNowSupport : 1; | ||
| 145 | UINT64 ExtendedAmd3DNowSupport : 1; | ||
| 146 | UINT64 Page1GbSupport : 1; | ||
| 147 | UINT64 AesSupport : 1; | ||
| 148 | UINT64 PclmulqdqSupport : 1; | ||
| 149 | UINT64 PcidSupport : 1; | ||
| 150 | UINT64 Fma4Support : 1; | ||
| 151 | UINT64 F16CSupport : 1; | ||
| 152 | UINT64 RdRandSupport : 1; | ||
| 153 | UINT64 RdWrFsGsSupport : 1; | ||
| 154 | UINT64 SmepSupport : 1; | ||
| 155 | UINT64 EnhancedFastStringSupport : 1; | ||
| 156 | UINT64 Bmi1Support : 1; | ||
| 157 | UINT64 Bmi2Support : 1; | ||
| 158 | UINT64 Reserved1 : 2; | ||
| 159 | UINT64 MovbeSupport : 1; | ||
| 160 | UINT64 Npiep1Support : 1; | ||
| 161 | UINT64 DepX87FPUSaveSupport : 1; | ||
| 162 | UINT64 RdSeedSupport : 1; | ||
| 163 | UINT64 AdxSupport : 1; | ||
| 164 | UINT64 IntelPrefetchSupport : 1; | ||
| 165 | UINT64 SmapSupport : 1; | ||
| 166 | UINT64 HleSupport : 1; | ||
| 167 | UINT64 RtmSupport : 1; | ||
| 168 | UINT64 RdtscpSupport : 1; | ||
| 169 | UINT64 ClflushoptSupport : 1; | ||
| 170 | UINT64 ClwbSupport : 1; | ||
| 171 | UINT64 ShaSupport : 1; | ||
| 172 | UINT64 X87PointersSavedSupport : 1; | ||
| 173 | UINT64 InvpcidSupport : 1; | ||
| 174 | UINT64 IbrsSupport : 1; | ||
| 175 | UINT64 StibpSupport : 1; | ||
| 176 | UINT64 IbpbSupport : 1; | ||
| 177 | UINT64 UnrestrictedGuestSupport : 1; | ||
| 178 | UINT64 SsbdSupport : 1; | ||
| 179 | UINT64 FastShortRepMovSupport : 1; | ||
| 180 | UINT64 Reserved3 : 1; | ||
| 181 | UINT64 RdclNo : 1; | ||
| 182 | UINT64 IbrsAllSupport : 1; | ||
| 183 | UINT64 Reserved4 : 1; | ||
| 184 | UINT64 SsbNo : 1; | ||
| 185 | UINT64 RsbANo : 1; | ||
| 186 | UINT64 Reserved5 : 1; | ||
| 187 | UINT64 RdPidSupport : 1; | ||
| 188 | UINT64 UmipSupport : 1; | ||
| 189 | UINT64 MdsNoSupport : 1; | ||
| 190 | UINT64 MdClearSupport : 1; | ||
| 191 | UINT64 TaaNoSupport : 1; | ||
| 192 | UINT64 TsxCtrlSupport : 1; | ||
| 193 | UINT64 Reserved6 : 1; | ||
| 194 | }; | ||
| 195 | UINT64 AsUINT64; | ||
| 196 | } WHV_X64_PROCESSOR_FEATURES, WHV_PROCESSOR_FEATURES; | ||
| 197 | |||
| 198 | C_ASSERT(sizeof(WHV_X64_PROCESSOR_FEATURES) == sizeof(UINT64)); | ||
| 199 | |||
| 200 | typedef union WHV_X64_PROCESSOR_FEATURES1 { | ||
| 201 | __C89_NAMELESS struct { | ||
| 202 | UINT64 ACountMCountSupport : 1; | ||
| 203 | UINT64 TscInvariantSupport : 1; | ||
| 204 | UINT64 ClZeroSupport : 1; | ||
| 205 | UINT64 RdpruSupport : 1; | ||
| 206 | UINT64 La57Support : 1; | ||
| 207 | UINT64 MbecSupport : 1; | ||
| 208 | UINT64 NestedVirtSupport : 1; | ||
| 209 | UINT64 PsfdSupport: 1; | ||
| 210 | UINT64 CetSsSupport : 1; | ||
| 211 | UINT64 CetIbtSupport : 1; | ||
| 212 | UINT64 VmxExceptionInjectSupport : 1; | ||
| 213 | UINT64 Reserved2 : 1; | ||
| 214 | UINT64 UmwaitTpauseSupport : 1; | ||
| 215 | UINT64 MovdiriSupport : 1; | ||
| 216 | UINT64 Movdir64bSupport : 1; | ||
| 217 | UINT64 CldemoteSupport : 1; | ||
| 218 | UINT64 SerializeSupport : 1; | ||
| 219 | UINT64 TscDeadlineTmrSupport : 1; | ||
| 220 | UINT64 TscAdjustSupport : 1; | ||
| 221 | UINT64 FZLRepMovsb : 1; | ||
| 222 | UINT64 FSRepStosb : 1; | ||
| 223 | UINT64 FSRepCmpsb : 1; | ||
| 224 | UINT64 TsxLdTrkSupport : 1; | ||
| 225 | UINT64 VmxInsOutsExitInfoSupport : 1; | ||
| 226 | UINT64 Reserved3 : 1; | ||
| 227 | UINT64 SbdrSsdpNoSupport : 1; | ||
| 228 | UINT64 FbsdpNoSupport : 1; | ||
| 229 | UINT64 PsdpNoSupport : 1; | ||
| 230 | UINT64 FbClearSupport : 1; | ||
| 231 | UINT64 BtcNoSupport : 1; | ||
| 232 | UINT64 IbpbRsbFlushSupport : 1; | ||
| 233 | UINT64 StibpAlwaysOnSupport : 1; | ||
| 234 | UINT64 PerfGlobalCtrlSupport : 1; | ||
| 235 | UINT64 NptExecuteOnlySupport : 1; | ||
| 236 | UINT64 NptADFlagsSupport : 1; | ||
| 237 | UINT64 Npt1GbPageSupport : 1; | ||
| 238 | UINT64 Reserved4 : 1; | ||
| 239 | UINT64 Reserved5 : 1; | ||
| 240 | UINT64 Reserved6 : 1; | ||
| 241 | UINT64 Reserved7 : 1; | ||
| 242 | UINT64 CmpccxaddSupport : 1; | ||
| 243 | UINT64 Reserved8 : 1; | ||
| 244 | UINT64 Reserved9 : 1; | ||
| 245 | UINT64 Reserved10 : 1; | ||
| 246 | UINT64 Reserved11 : 1; | ||
| 247 | UINT64 PrefetchISupport : 1; | ||
| 248 | UINT64 Sha512Support : 1; | ||
| 249 | UINT64 Reserved12 : 1; | ||
| 250 | UINT64 Reserved13 : 1; | ||
| 251 | UINT64 Reserved14 : 1; | ||
| 252 | UINT64 SM3Support : 1; | ||
| 253 | UINT64 SM4Support : 1; | ||
| 254 | UINT64 Reserved15 : 12; | ||
| 255 | }; | ||
| 256 | UINT64 AsUINT64; | ||
| 257 | } WHV_X64_PROCESSOR_FEATURES1, WHV_PROCESSOR_FEATURES1; | ||
| 258 | |||
| 259 | C_ASSERT(sizeof(WHV_X64_PROCESSOR_FEATURES1) == sizeof(UINT64)); | ||
| 260 | |||
| 261 | #elif defined(__aarch64__) | ||
| 262 | |||
| 263 | typedef union WHV_ARM64_PROCESSOR_FEATURES { | ||
| 264 | __C89_NAMELESS struct { | ||
| 265 | UINT64 Asid16 : 1; | ||
| 266 | UINT64 TGran16 : 1; | ||
| 267 | UINT64 TGran64 : 1; | ||
| 268 | UINT64 Haf : 1; | ||
| 269 | UINT64 Hdbs : 1; | ||
| 270 | UINT64 Pan : 1; | ||
| 271 | UINT64 AtS1E1 : 1; | ||
| 272 | UINT64 Uao : 1; | ||
| 273 | UINT64 El0Aarch32 : 1; | ||
| 274 | UINT64 Fp : 1; | ||
| 275 | UINT64 FpHp : 1; | ||
| 276 | UINT64 AdvSimd : 1; | ||
| 277 | UINT64 AdvSimdHp : 1; | ||
| 278 | UINT64 GicV3V4 : 1; | ||
| 279 | UINT64 GicV41 : 1; | ||
| 280 | UINT64 Ras : 1; | ||
| 281 | UINT64 PmuV3 : 1; | ||
| 282 | UINT64 PmuV3ArmV81 : 1; | ||
| 283 | UINT64 PmuV3ArmV84 : 1; | ||
| 284 | UINT64 PmuV3ArmV85 : 1; | ||
| 285 | UINT64 Aes : 1; | ||
| 286 | UINT64 PolyMul : 1; | ||
| 287 | UINT64 Sha1 : 1; | ||
| 288 | UINT64 Sha256 : 1; | ||
| 289 | UINT64 Sha512 : 1; | ||
| 290 | UINT64 Crc32 : 1; | ||
| 291 | UINT64 Atomic : 1; | ||
| 292 | UINT64 Rdm : 1; | ||
| 293 | UINT64 Sha3 : 1; | ||
| 294 | UINT64 Sm3 : 1; | ||
| 295 | UINT64 Sm4 : 1; | ||
| 296 | UINT64 Dp : 1; | ||
| 297 | UINT64 Fhm : 1; | ||
| 298 | UINT64 DcCvap : 1; | ||
| 299 | UINT64 DcCvadp : 1; | ||
| 300 | UINT64 ApaBase : 1; | ||
| 301 | UINT64 ApaEp : 1; | ||
| 302 | UINT64 ApaEp2 : 1; | ||
| 303 | UINT64 ApaEp2Fp : 1; | ||
| 304 | UINT64 ApaEp2Fpc : 1; | ||
| 305 | UINT64 Jscvt : 1; | ||
| 306 | UINT64 Fcma : 1; | ||
| 307 | UINT64 RcpcV83 : 1; | ||
| 308 | UINT64 RcpcV84 : 1; | ||
| 309 | UINT64 Gpa : 1; | ||
| 310 | UINT64 L1ipPipt : 1; | ||
| 311 | UINT64 DzPermitted : 1; | ||
| 312 | UINT64 Reserved : 17; | ||
| 313 | }; | ||
| 314 | UINT64 AsUINT64; | ||
| 315 | } WHV_ARM64_PROCESSOR_FEATURES, WHV_PROCESSOR_FEATURES; | ||
| 316 | |||
| 317 | typedef union WHV_ARM64_PROCESSOR_FEATURES1 { | ||
| 318 | __C89_NAMELESS struct { | ||
| 319 | UINT64 Reserved : 64; | ||
| 320 | }; | ||
| 321 | UINT64 AsUINT64; | ||
| 322 | } WHV_ARM64_PROCESSOR_FEATURES1, WHV_PROCESSOR_FEATURES1; | ||
| 323 | |||
| 324 | #endif /* __x86_64__ || __aarch64__ */ | ||
| 325 | |||
| 326 | #define WHV_PROCESSOR_FEATURES_BANKS_COUNT 2 | ||
| 327 | |||
| 328 | typedef struct WHV_PROCESSOR_FEATURES_BANKS { | ||
| 329 | UINT32 BanksCount; | ||
| 330 | UINT32 Reserved0; | ||
| 331 | __C89_NAMELESS union { | ||
| 332 | __C89_NAMELESS struct { | ||
| 333 | WHV_PROCESSOR_FEATURES Bank0; | ||
| 334 | WHV_PROCESSOR_FEATURES1 Bank1; | ||
| 335 | }; | ||
| 336 | UINT64 AsUINT64[WHV_PROCESSOR_FEATURES_BANKS_COUNT]; | ||
| 337 | }; | ||
| 338 | } WHV_PROCESSOR_FEATURES_BANKS; | ||
| 339 | |||
| 340 | C_ASSERT(sizeof(WHV_PROCESSOR_FEATURES_BANKS) == sizeof(UINT64) * (WHV_PROCESSOR_FEATURES_BANKS_COUNT + 1)); | ||
| 341 | |||
| 342 | typedef union WHV_SYNTHETIC_PROCESSOR_FEATURES { | ||
| 343 | __C89_NAMELESS struct { | ||
| 344 | UINT64 HypervisorPresent : 1; | ||
| 345 | UINT64 Hv1 : 1; | ||
| 346 | UINT64 AccessVpRunTimeReg : 1; | ||
| 347 | UINT64 AccessPartitionReferenceCounter : 1; | ||
| 348 | UINT64 AccessSynicRegs : 1; | ||
| 349 | UINT64 AccessSyntheticTimerRegs : 1; | ||
| 350 | UINT64 AccessIntrCtrlRegs : 1; | ||
| 351 | UINT64 AccessHypercallRegs : 1; | ||
| 352 | UINT64 AccessVpIndex : 1; | ||
| 353 | UINT64 AccessPartitionReferenceTsc : 1; | ||
| 354 | #ifdef __x86_64__ | ||
| 355 | UINT64 AccessGuestIdleReg : 1; | ||
| 356 | UINT64 AccessFrequencyRegs : 1; | ||
| 357 | #else | ||
| 358 | UINT64 ReservedZ10 : 1; | ||
| 359 | UINT64 ReservedZ11 : 1; | ||
| 360 | #endif | ||
| 361 | UINT64 ReservedZ12 : 1; | ||
| 362 | UINT64 ReservedZ13 : 1; | ||
| 363 | UINT64 ReservedZ14 : 1; | ||
| 364 | #ifdef __x86_64__ | ||
| 365 | UINT64 EnableExtendedGvaRangesForFlushVirtualAddressList : 1; | ||
| 366 | #else | ||
| 367 | UINT64 ReservedZ15 : 1; | ||
| 368 | #endif | ||
| 369 | UINT64 ReservedZ16 : 1; | ||
| 370 | UINT64 ReservedZ17 : 1; | ||
| 371 | UINT64 FastHypercallOutput : 1; | ||
| 372 | UINT64 ReservedZ19 : 1; | ||
| 373 | UINT64 ReservedZ20 : 1; | ||
| 374 | UINT64 ReservedZ21 : 1; | ||
| 375 | UINT64 DirectSyntheticTimers : 1; | ||
| 376 | UINT64 ReservedZ23 : 1; | ||
| 377 | UINT64 ExtendedProcessorMasks : 1; | ||
| 378 | #ifdef __x86_64__ | ||
| 379 | UINT64 TbFlushHypercalls : 1; | ||
| 380 | #else | ||
| 381 | UINT64 ReservedZ25 : 1; | ||
| 382 | #endif | ||
| 383 | UINT64 SyntheticClusterIpi : 1; | ||
| 384 | UINT64 NotifyLongSpinWait : 1; | ||
| 385 | UINT64 QueryNumaDistance : 1; | ||
| 386 | UINT64 SignalEvents : 1; | ||
| 387 | UINT64 RetargetDeviceInterrupt : 1; | ||
| 388 | #ifdef __x86_64__ | ||
| 389 | UINT64 RestoreTime : 1; | ||
| 390 | UINT64 EnlightenedVmcs : 1; | ||
| 391 | UINT64 NestedDebugCtl : 1; | ||
| 392 | UINT64 SyntheticTimeUnhaltedTimer : 1; | ||
| 393 | UINT64 IdleSpecCtrl : 1; | ||
| 394 | #else | ||
| 395 | UINT64 ReservedZ31 : 1; | ||
| 396 | UINT64 ReservedZ32 : 1; | ||
| 397 | UINT64 ReservedZ33 : 1; | ||
| 398 | UINT64 ReservedZ34 : 1; | ||
| 399 | UINT64 ReservedZ35 : 1; | ||
| 400 | #endif | ||
| 401 | UINT64 ReservedZ36 : 1; | ||
| 402 | UINT64 WakeVps : 1; | ||
| 403 | UINT64 AccessVpRegs : 1; | ||
| 404 | #ifdef __aarch64__ | ||
| 405 | UINT64 SyncContext : 1; | ||
| 406 | #else | ||
| 407 | UINT64 ReservedZ39 : 1; | ||
| 408 | #endif | ||
| 409 | UINT64 ReservedZ40 : 1; | ||
| 410 | UINT64 Reserved : 23; | ||
| 411 | }; | ||
| 412 | UINT64 AsUINT64; | ||
| 413 | } WHV_SYNTHETIC_PROCESSOR_FEATURES; | ||
| 414 | |||
| 415 | C_ASSERT(sizeof(WHV_SYNTHETIC_PROCESSOR_FEATURES) == 8); | ||
| 416 | |||
| 417 | #define WHV_SYNTHETIC_PROCESSOR_FEATURES_BANKS_COUNT 1 | ||
| 418 | |||
| 419 | typedef struct WHV_SYNTHETIC_PROCESSOR_FEATURES_BANKS { | ||
| 420 | UINT32 BanksCount; | ||
| 421 | UINT32 Reserved0; | ||
| 422 | __C89_NAMELESS union { | ||
| 423 | __C89_NAMELESS struct { | ||
| 424 | WHV_SYNTHETIC_PROCESSOR_FEATURES Bank0; | ||
| 425 | }; | ||
| 426 | UINT64 AsUINT64[WHV_SYNTHETIC_PROCESSOR_FEATURES_BANKS_COUNT]; | ||
| 427 | }; | ||
| 428 | } WHV_SYNTHETIC_PROCESSOR_FEATURES_BANKS; | ||
| 429 | |||
| 430 | C_ASSERT(sizeof(WHV_SYNTHETIC_PROCESSOR_FEATURES_BANKS) == 16); | ||
| 431 | |||
| 432 | typedef union _WHV_PROCESSOR_XSAVE_FEATURES { | ||
| 433 | __C89_NAMELESS struct { | ||
| 434 | UINT64 XsaveSupport : 1; | ||
| 435 | UINT64 XsaveoptSupport : 1; | ||
| 436 | UINT64 AvxSupport : 1; | ||
| 437 | UINT64 Avx2Support : 1; | ||
| 438 | UINT64 FmaSupport : 1; | ||
| 439 | UINT64 MpxSupport : 1; | ||
| 440 | UINT64 Avx512Support : 1; | ||
| 441 | UINT64 Avx512DQSupport : 1; | ||
| 442 | UINT64 Avx512CDSupport : 1; | ||
| 443 | UINT64 Avx512BWSupport : 1; | ||
| 444 | UINT64 Avx512VLSupport : 1; | ||
| 445 | UINT64 XsaveCompSupport : 1; | ||
| 446 | UINT64 XsaveSupervisorSupport : 1; | ||
| 447 | UINT64 Xcr1Support : 1; | ||
| 448 | UINT64 Avx512BitalgSupport : 1; | ||
| 449 | UINT64 Avx512IfmaSupport : 1; | ||
| 450 | UINT64 Avx512VBmiSupport : 1; | ||
| 451 | UINT64 Avx512VBmi2Support : 1; | ||
| 452 | UINT64 Avx512VnniSupport : 1; | ||
| 453 | UINT64 GfniSupport : 1; | ||
| 454 | UINT64 VaesSupport : 1; | ||
| 455 | UINT64 Avx512VPopcntdqSupport : 1; | ||
| 456 | UINT64 VpclmulqdqSupport : 1; | ||
| 457 | UINT64 Avx512Bf16Support : 1; | ||
| 458 | UINT64 Avx512Vp2IntersectSupport : 1; | ||
| 459 | UINT64 Avx512Fp16Support : 1; | ||
| 460 | UINT64 XfdSupport : 1; | ||
| 461 | UINT64 AmxTileSupport : 1; | ||
| 462 | UINT64 AmxBf16Support : 1; | ||
| 463 | UINT64 AmxInt8Support : 1; | ||
| 464 | UINT64 AvxVnniSupport : 1; | ||
| 465 | UINT64 Reserved : 33; | ||
| 466 | }; | ||
| 467 | UINT64 AsUINT64; | ||
| 468 | } WHV_PROCESSOR_XSAVE_FEATURES, *PWHV_PROCESSOR_XSAVE_FEATURES; | ||
| 469 | |||
| 470 | C_ASSERT(sizeof(WHV_PROCESSOR_XSAVE_FEATURES) == sizeof(UINT64)); | ||
| 471 | |||
| 472 | typedef union WHV_PROCESSOR_PERFMON_FEATURES { | ||
| 473 | __C89_NAMELESS struct { | ||
| 474 | UINT64 PmuSupport : 1; | ||
| 475 | UINT64 LbrSupport : 1; | ||
| 476 | UINT64 Reserved : 62; | ||
| 477 | }; | ||
| 478 | UINT64 AsUINT64; | ||
| 479 | } WHV_PROCESSOR_PERFMON_FEATURES, *PWHV_PROCESSOR_PERFMON_FEATURES; | ||
| 480 | |||
| 481 | C_ASSERT(sizeof(WHV_PROCESSOR_PERFMON_FEATURES) == 8); | ||
| 482 | |||
| 483 | typedef union WHV_X64_MSR_EXIT_BITMAP { | ||
| 484 | UINT64 AsUINT64; | ||
| 485 | __C89_NAMELESS struct { | ||
| 486 | UINT64 UnhandledMsrs : 1; | ||
| 487 | UINT64 TscMsrWrite : 1; | ||
| 488 | UINT64 TscMsrRead : 1; | ||
| 489 | UINT64 ApicBaseMsrWrite : 1; | ||
| 490 | UINT64 MiscEnableMsrRead:1; | ||
| 491 | UINT64 McUpdatePatchLevelMsrRead:1; | ||
| 492 | UINT64 Reserved:58; | ||
| 493 | }; | ||
| 494 | } WHV_X64_MSR_EXIT_BITMAP; | ||
| 495 | |||
| 496 | C_ASSERT(sizeof(WHV_X64_MSR_EXIT_BITMAP) == sizeof(UINT64)); | ||
| 497 | |||
| 498 | typedef struct WHV_MEMORY_RANGE_ENTRY { | ||
| 499 | UINT64 GuestAddress; | ||
| 500 | UINT64 SizeInBytes; | ||
| 501 | } WHV_MEMORY_RANGE_ENTRY; | ||
| 502 | |||
| 503 | C_ASSERT(sizeof(WHV_MEMORY_RANGE_ENTRY) == 16); | ||
| 504 | |||
| 505 | typedef union WHV_ADVISE_GPA_RANGE_POPULATE_FLAGS { | ||
| 506 | UINT32 AsUINT32; | ||
| 507 | __C89_NAMELESS struct { | ||
| 508 | UINT32 Prefetch:1; | ||
| 509 | UINT32 AvoidHardFaults:1; | ||
| 510 | UINT32 Reserved:30; | ||
| 511 | }; | ||
| 512 | } WHV_ADVISE_GPA_RANGE_POPULATE_FLAGS; | ||
| 513 | |||
| 514 | C_ASSERT(sizeof(WHV_ADVISE_GPA_RANGE_POPULATE_FLAGS) == 4); | ||
| 515 | |||
| 516 | typedef enum WHV_MEMORY_ACCESS_TYPE { | ||
| 517 | WHvMemoryAccessRead = 0, | ||
| 518 | WHvMemoryAccessWrite = 1, | ||
| 519 | WHvMemoryAccessExecute = 2 | ||
| 520 | } WHV_MEMORY_ACCESS_TYPE; | ||
| 521 | |||
| 522 | typedef struct WHV_ADVISE_GPA_RANGE_POPULATE { | ||
| 523 | WHV_ADVISE_GPA_RANGE_POPULATE_FLAGS Flags; | ||
| 524 | WHV_MEMORY_ACCESS_TYPE AccessType; | ||
| 525 | } WHV_ADVISE_GPA_RANGE_POPULATE; | ||
| 526 | |||
| 527 | C_ASSERT(sizeof(WHV_ADVISE_GPA_RANGE_POPULATE) == 8); | ||
| 528 | |||
| 529 | typedef struct WHV_CAPABILITY_PROCESSOR_FREQUENCY_CAP { | ||
| 530 | UINT32 IsSupported:1; | ||
| 531 | UINT32 Reserved:31; | ||
| 532 | UINT32 HighestFrequencyMhz; | ||
| 533 | UINT32 NominalFrequencyMhz; | ||
| 534 | UINT32 LowestFrequencyMhz; | ||
| 535 | UINT32 FrequencyStepMhz; | ||
| 536 | } WHV_CAPABILITY_PROCESSOR_FREQUENCY_CAP; | ||
| 537 | |||
| 538 | C_ASSERT(sizeof(WHV_CAPABILITY_PROCESSOR_FREQUENCY_CAP) == 20); | ||
| 539 | |||
| 540 | typedef union WHV_SCHEDULER_FEATURES { | ||
| 541 | __C89_NAMELESS struct { | ||
| 542 | UINT64 CpuReserve: 1; | ||
| 543 | UINT64 CpuCap: 1; | ||
| 544 | UINT64 CpuWeight: 1; | ||
| 545 | UINT64 CpuGroupId: 1; | ||
| 546 | UINT64 DisableSmt: 1; | ||
| 547 | UINT64 Reserved: 59; | ||
| 548 | }; | ||
| 549 | UINT64 AsUINT64; | ||
| 550 | } WHV_SCHEDULER_FEATURES; | ||
| 551 | |||
| 552 | C_ASSERT(sizeof(WHV_SCHEDULER_FEATURES) == 8); | ||
| 553 | |||
| 554 | typedef union WHV_CAPABILITY { | ||
| 555 | WINBOOL HypervisorPresent; | ||
| 556 | WHV_CAPABILITY_FEATURES Features; | ||
| 557 | WHV_EXTENDED_VM_EXITS ExtendedVmExits; | ||
| 558 | WHV_PROCESSOR_VENDOR ProcessorVendor; | ||
| 559 | WHV_PROCESSOR_FEATURES ProcessorFeatures; | ||
| 560 | WHV_SYNTHETIC_PROCESSOR_FEATURES_BANKS SyntheticProcessorFeaturesBanks; | ||
| 561 | WHV_PROCESSOR_XSAVE_FEATURES ProcessorXsaveFeatures; | ||
| 562 | UINT8 ProcessorClFlushSize; | ||
| 563 | UINT64 ExceptionExitBitmap; | ||
| 564 | WHV_X64_MSR_EXIT_BITMAP X64MsrExitBitmap; | ||
| 565 | UINT64 ProcessorClockFrequency; | ||
| 566 | UINT64 InterruptClockFrequency; | ||
| 567 | WHV_PROCESSOR_FEATURES_BANKS ProcessorFeaturesBanks; | ||
| 568 | WHV_ADVISE_GPA_RANGE_POPULATE_FLAGS GpaRangePopulateFlags; | ||
| 569 | WHV_CAPABILITY_PROCESSOR_FREQUENCY_CAP ProcessorFrequencyCap; | ||
| 570 | WHV_PROCESSOR_PERFMON_FEATURES ProcessorPerfmonFeatures; | ||
| 571 | WHV_SCHEDULER_FEATURES SchedulerFeatures; | ||
| 572 | } WHV_CAPABILITY; | ||
| 573 | |||
| 574 | typedef VOID* WHV_PARTITION_HANDLE; | ||
| 575 | |||
| 576 | typedef enum WHV_PARTITION_PROPERTY_CODE { | ||
| 577 | WHvPartitionPropertyCodeExtendedVmExits = 0x00000001, | ||
| 578 | WHvPartitionPropertyCodeExceptionExitBitmap = 0x00000002, | ||
| 579 | WHvPartitionPropertyCodeSeparateSecurityDomain = 0x00000003, | ||
| 580 | WHvPartitionPropertyCodeNestedVirtualization = 0x00000004, | ||
| 581 | WHvPartitionPropertyCodeX64MsrExitBitmap = 0x00000005, | ||
| 582 | WHvPartitionPropertyCodePrimaryNumaNode = 0x00000006, | ||
| 583 | WHvPartitionPropertyCodeCpuReserve = 0x00000007, | ||
| 584 | WHvPartitionPropertyCodeCpuCap = 0x00000008, | ||
| 585 | WHvPartitionPropertyCodeCpuWeight = 0x00000009, | ||
| 586 | WHvPartitionPropertyCodeCpuGroupId = 0x0000000A, | ||
| 587 | WHvPartitionPropertyCodeProcessorFrequencyCap = 0x0000000B, | ||
| 588 | WHvPartitionPropertyCodeAllowDeviceAssignment = 0x0000000C, | ||
| 589 | WHvPartitionPropertyCodeDisableSmt = 0x0000000D, | ||
| 590 | WHvPartitionPropertyCodeProcessorFeatures = 0x00001001, | ||
| 591 | WHvPartitionPropertyCodeProcessorClFlushSize = 0x00001002, | ||
| 592 | WHvPartitionPropertyCodeCpuidExitList = 0x00001003, | ||
| 593 | WHvPartitionPropertyCodeCpuidResultList = 0x00001004, | ||
| 594 | WHvPartitionPropertyCodeLocalApicEmulationMode = 0x00001005, | ||
| 595 | WHvPartitionPropertyCodeProcessorXsaveFeatures = 0x00001006, | ||
| 596 | WHvPartitionPropertyCodeProcessorClockFrequency = 0x00001007, | ||
| 597 | WHvPartitionPropertyCodeInterruptClockFrequency = 0x00001008, | ||
| 598 | WHvPartitionPropertyCodeApicRemoteReadSupport = 0x00001009, | ||
| 599 | WHvPartitionPropertyCodeProcessorFeaturesBanks = 0x0000100A, | ||
| 600 | WHvPartitionPropertyCodeReferenceTime = 0x0000100B, | ||
| 601 | WHvPartitionPropertyCodeSyntheticProcessorFeaturesBanks = 0x0000100C, | ||
| 602 | WHvPartitionPropertyCodeCpuidResultList2 = 0x0000100D, | ||
| 603 | WHvPartitionPropertyCodeProcessorPerfmonFeatures = 0x0000100E, | ||
| 604 | WHvPartitionPropertyCodeMsrActionList = 0x0000100F, | ||
| 605 | WHvPartitionPropertyCodeUnimplementedMsrAction = 0x00001010, | ||
| 606 | WHvPartitionPropertyCodeProcessorCount = 0x00001fff | ||
| 607 | } WHV_PARTITION_PROPERTY_CODE; | ||
| 608 | |||
| 609 | typedef struct WHV_X64_CPUID_RESULT { | ||
| 610 | UINT32 Function; | ||
| 611 | UINT32 Reserved[3]; | ||
| 612 | UINT32 Eax; | ||
| 613 | UINT32 Ebx; | ||
| 614 | UINT32 Ecx; | ||
| 615 | UINT32 Edx; | ||
| 616 | } WHV_X64_CPUID_RESULT; | ||
| 617 | |||
| 618 | C_ASSERT(sizeof(WHV_X64_CPUID_RESULT) == 32); | ||
| 619 | |||
| 620 | typedef enum WHV_X64_CPUID_RESULT2_FLAGS { | ||
| 621 | WHvX64CpuidResult2FlagSubleafSpecific = 0x00000001, | ||
| 622 | WHvX64CpuidResult2FlagVpSpecific = 0x00000002 | ||
| 623 | } WHV_X64_CPUID_RESULT2_FLAGS; | ||
| 624 | |||
| 625 | DEFINE_ENUM_FLAG_OPERATORS(WHV_X64_CPUID_RESULT2_FLAGS); | ||
| 626 | |||
| 627 | typedef struct WHV_CPUID_OUTPUT { | ||
| 628 | UINT32 Eax; | ||
| 629 | UINT32 Ebx; | ||
| 630 | UINT32 Ecx; | ||
| 631 | UINT32 Edx; | ||
| 632 | } WHV_CPUID_OUTPUT; | ||
| 633 | |||
| 634 | C_ASSERT(sizeof(WHV_CPUID_OUTPUT) == 16); | ||
| 635 | |||
| 636 | typedef struct WHV_X64_CPUID_RESULT2 { | ||
| 637 | UINT32 Function; | ||
| 638 | UINT32 Index; | ||
| 639 | UINT32 VpIndex; | ||
| 640 | WHV_X64_CPUID_RESULT2_FLAGS Flags; | ||
| 641 | WHV_CPUID_OUTPUT Output; | ||
| 642 | WHV_CPUID_OUTPUT Mask; | ||
| 643 | } WHV_X64_CPUID_RESULT2; | ||
| 644 | |||
| 645 | C_ASSERT(sizeof(WHV_X64_CPUID_RESULT2) == 48); | ||
| 646 | |||
| 647 | typedef struct WHV_MSR_ACTION_ENTRY { | ||
| 648 | UINT32 Index; | ||
| 649 | UINT8 ReadAction; | ||
| 650 | UINT8 WriteAction; | ||
| 651 | UINT16 Reserved; | ||
| 652 | } WHV_MSR_ACTION_ENTRY; | ||
| 653 | |||
| 654 | C_ASSERT(sizeof(WHV_MSR_ACTION_ENTRY) == 8); | ||
| 655 | |||
| 656 | typedef enum WHV_MSR_ACTION { | ||
| 657 | WHvMsrActionArchitectureDefault = 0, | ||
| 658 | WHvMsrActionIgnoreWriteReadZero = 1, | ||
| 659 | WHvMsrActionExit = 2 | ||
| 660 | } WHV_MSR_ACTION; | ||
| 661 | |||
| 662 | typedef enum WHV_EXCEPTION_TYPE { | ||
| 663 | WHvX64ExceptionTypeDivideErrorFault = 0x0, | ||
| 664 | WHvX64ExceptionTypeDebugTrapOrFault = 0x1, | ||
| 665 | WHvX64ExceptionTypeBreakpointTrap = 0x3, | ||
| 666 | WHvX64ExceptionTypeOverflowTrap = 0x4, | ||
| 667 | WHvX64ExceptionTypeBoundRangeFault = 0x5, | ||
| 668 | WHvX64ExceptionTypeInvalidOpcodeFault = 0x6, | ||
| 669 | WHvX64ExceptionTypeDeviceNotAvailableFault = 0x7, | ||
| 670 | WHvX64ExceptionTypeDoubleFaultAbort = 0x8, | ||
| 671 | WHvX64ExceptionTypeInvalidTaskStateSegmentFault = 0x0A, | ||
| 672 | WHvX64ExceptionTypeSegmentNotPresentFault = 0x0B, | ||
| 673 | WHvX64ExceptionTypeStackFault = 0x0C, | ||
| 674 | WHvX64ExceptionTypeGeneralProtectionFault = 0x0D, | ||
| 675 | WHvX64ExceptionTypePageFault = 0x0E, | ||
| 676 | WHvX64ExceptionTypeFloatingPointErrorFault = 0x10, | ||
| 677 | WHvX64ExceptionTypeAlignmentCheckFault = 0x11, | ||
| 678 | WHvX64ExceptionTypeMachineCheckAbort = 0x12, | ||
| 679 | WHvX64ExceptionTypeSimdFloatingPointFault = 0x13 | ||
| 680 | } WHV_EXCEPTION_TYPE; | ||
| 681 | |||
| 682 | typedef enum WHV_X64_LOCAL_APIC_EMULATION_MODE { | ||
| 683 | WHvX64LocalApicEmulationModeNone, | ||
| 684 | WHvX64LocalApicEmulationModeXApic, | ||
| 685 | WHvX64LocalApicEmulationModeX2Apic | ||
| 686 | } WHV_X64_LOCAL_APIC_EMULATION_MODE; | ||
| 687 | |||
| 688 | typedef union WHV_PARTITION_PROPERTY { | ||
| 689 | WHV_EXTENDED_VM_EXITS ExtendedVmExits; | ||
| 690 | WHV_PROCESSOR_FEATURES ProcessorFeatures; | ||
| 691 | WHV_SYNTHETIC_PROCESSOR_FEATURES_BANKS SyntheticProcessorFeaturesBanks; | ||
| 692 | WHV_PROCESSOR_XSAVE_FEATURES ProcessorXsaveFeatures; | ||
| 693 | UINT8 ProcessorClFlushSize; | ||
| 694 | UINT32 ProcessorCount; | ||
| 695 | UINT32 CpuidExitList[1]; | ||
| 696 | WHV_X64_CPUID_RESULT CpuidResultList[1]; | ||
| 697 | WHV_X64_CPUID_RESULT2 CpuidResultList2[1]; | ||
| 698 | WHV_MSR_ACTION_ENTRY MsrActionList[1]; | ||
| 699 | WHV_MSR_ACTION UnimplementedMsrAction; | ||
| 700 | UINT64 ExceptionExitBitmap; | ||
| 701 | WHV_X64_LOCAL_APIC_EMULATION_MODE LocalApicEmulationMode; | ||
| 702 | WINBOOL SeparateSecurityDomain; | ||
| 703 | WINBOOL NestedVirtualization; | ||
| 704 | WHV_X64_MSR_EXIT_BITMAP X64MsrExitBitmap; | ||
| 705 | UINT64 ProcessorClockFrequency; | ||
| 706 | UINT64 InterruptClockFrequency; | ||
| 707 | WINBOOL ApicRemoteRead; | ||
| 708 | WHV_PROCESSOR_FEATURES_BANKS ProcessorFeaturesBanks; | ||
| 709 | UINT64 ReferenceTime; | ||
| 710 | USHORT PrimaryNumaNode; | ||
| 711 | UINT32 CpuReserve; | ||
| 712 | UINT32 CpuCap; | ||
| 713 | UINT32 CpuWeight; | ||
| 714 | UINT64 CpuGroupId; | ||
| 715 | UINT32 ProcessorFrequencyCap; | ||
| 716 | WINBOOL AllowDeviceAssignment; | ||
| 717 | WHV_PROCESSOR_PERFMON_FEATURES ProcessorPerfmonFeatures; | ||
| 718 | WINBOOL DisableSmt; | ||
| 719 | } WHV_PARTITION_PROPERTY; | ||
| 720 | |||
| 721 | typedef UINT64 WHV_GUEST_PHYSICAL_ADDRESS; | ||
| 722 | typedef UINT64 WHV_GUEST_VIRTUAL_ADDRESS; | ||
| 723 | |||
| 724 | typedef enum WHV_MAP_GPA_RANGE_FLAGS { | ||
| 725 | WHvMapGpaRangeFlagNone = 0x00000000, | ||
| 726 | WHvMapGpaRangeFlagRead = 0x00000001, | ||
| 727 | WHvMapGpaRangeFlagWrite = 0x00000002, | ||
| 728 | WHvMapGpaRangeFlagExecute = 0x00000004, | ||
| 729 | WHvMapGpaRangeFlagTrackDirtyPages = 0x00000008 | ||
| 730 | } WHV_MAP_GPA_RANGE_FLAGS; | ||
| 731 | |||
| 732 | DEFINE_ENUM_FLAG_OPERATORS(WHV_MAP_GPA_RANGE_FLAGS); | ||
| 733 | |||
| 734 | typedef enum WHV_TRANSLATE_GVA_FLAGS { | ||
| 735 | WHvTranslateGvaFlagNone = 0x00000000, | ||
| 736 | WHvTranslateGvaFlagValidateRead = 0x00000001, | ||
| 737 | WHvTranslateGvaFlagValidateWrite = 0x00000002, | ||
| 738 | WHvTranslateGvaFlagValidateExecute = 0x00000004, | ||
| 739 | WHvTranslateGvaFlagPrivilegeExempt = 0x00000008, | ||
| 740 | WHvTranslateGvaFlagSetPageTableBits = 0x00000010, | ||
| 741 | WHvTranslateGvaFlagEnforceSmap = 0x00000100, | ||
| 742 | WHvTranslateGvaFlagOverrideSmap = 0x00000200 | ||
| 743 | } WHV_TRANSLATE_GVA_FLAGS; | ||
| 744 | |||
| 745 | DEFINE_ENUM_FLAG_OPERATORS(WHV_TRANSLATE_GVA_FLAGS); | ||
| 746 | |||
| 747 | typedef enum WHV_TRANSLATE_GVA_RESULT_CODE { | ||
| 748 | WHvTranslateGvaResultSuccess = 0, | ||
| 749 | WHvTranslateGvaResultPageNotPresent = 1, | ||
| 750 | WHvTranslateGvaResultPrivilegeViolation = 2, | ||
| 751 | WHvTranslateGvaResultInvalidPageTableFlags = 3, | ||
| 752 | WHvTranslateGvaResultGpaUnmapped = 4, | ||
| 753 | WHvTranslateGvaResultGpaNoReadAccess = 5, | ||
| 754 | WHvTranslateGvaResultGpaNoWriteAccess = 6, | ||
| 755 | WHvTranslateGvaResultGpaIllegalOverlayAccess = 7, | ||
| 756 | WHvTranslateGvaResultIntercept = 8 | ||
| 757 | } WHV_TRANSLATE_GVA_RESULT_CODE; | ||
| 758 | |||
| 759 | typedef struct WHV_TRANSLATE_GVA_RESULT { | ||
| 760 | WHV_TRANSLATE_GVA_RESULT_CODE ResultCode; | ||
| 761 | UINT32 Reserved; | ||
| 762 | } WHV_TRANSLATE_GVA_RESULT; | ||
| 763 | |||
| 764 | C_ASSERT(sizeof(WHV_TRANSLATE_GVA_RESULT) == 8); | ||
| 765 | |||
| 766 | typedef union WHV_ADVISE_GPA_RANGE { | ||
| 767 | WHV_ADVISE_GPA_RANGE_POPULATE Populate; | ||
| 768 | } WHV_ADVISE_GPA_RANGE; | ||
| 769 | |||
| 770 | C_ASSERT(sizeof(WHV_ADVISE_GPA_RANGE) == 8); | ||
| 771 | |||
| 772 | typedef enum WHV_CACHE_TYPE { | ||
| 773 | WHvCacheTypeUncached = 0, | ||
| 774 | WHvCacheTypeWriteCombining = 1, | ||
| 775 | WHvCacheTypeWriteThrough = 4, | ||
| 776 | #ifdef __x86_64__ | ||
| 777 | WHvCacheTypeWriteProtected = 5, | ||
| 778 | #endif | ||
| 779 | WHvCacheTypeWriteBack = 6 | ||
| 780 | } WHV_CACHE_TYPE; | ||
| 781 | |||
| 782 | typedef union WHV_ACCESS_GPA_CONTROLS { | ||
| 783 | UINT64 AsUINT64; | ||
| 784 | __C89_NAMELESS struct { | ||
| 785 | WHV_CACHE_TYPE CacheType; | ||
| 786 | UINT32 Reserved; | ||
| 787 | }; | ||
| 788 | } WHV_ACCESS_GPA_CONTROLS; | ||
| 789 | |||
| 790 | C_ASSERT(sizeof(WHV_ACCESS_GPA_CONTROLS) == 8); | ||
| 791 | |||
| 792 | #define WHV_READ_WRITE_GPA_RANGE_MAX_SIZE 16 | ||
| 793 | 10 | ||
| 794 | #if defined(__x86_64__) | 11 | #if defined(__x86_64__) |
| 795 | 12 | ||
| ... | @@ -1086,7 +303,6 @@ typedef enum WHV_REGISTER_NAME { | ... | @@ -1086,7 +303,6 @@ typedef enum WHV_REGISTER_NAME { |
| 1086 | WHvArm64RegisterFp = 0x0002001D, | 303 | WHvArm64RegisterFp = 0x0002001D, |
| 1087 | WHvArm64RegisterLr = 0x0002001E, | 304 | WHvArm64RegisterLr = 0x0002001E, |
| 1088 | WHvArm64RegisterPc = 0x00020022, | 305 | WHvArm64RegisterPc = 0x00020022, |
| 1089 | WHvArm64RegisterXzr = 0x0002FFFE, | ||
| 1090 | WHvArm64RegisterQ0 = 0x00030000, | 306 | WHvArm64RegisterQ0 = 0x00030000, |
| 1091 | WHvArm64RegisterQ1 = 0x00030001, | 307 | WHvArm64RegisterQ1 = 0x00030001, |
| 1092 | WHvArm64RegisterQ2 = 0x00030002, | 308 | WHvArm64RegisterQ2 = 0x00030002, |
| ... | @@ -1119,52 +335,143 @@ typedef enum WHV_REGISTER_NAME { | ... | @@ -1119,52 +335,143 @@ typedef enum WHV_REGISTER_NAME { |
| 1119 | WHvArm64RegisterQ29 = 0x0003001D, | 335 | WHvArm64RegisterQ29 = 0x0003001D, |
| 1120 | WHvArm64RegisterQ30 = 0x0003001E, | 336 | WHvArm64RegisterQ30 = 0x0003001E, |
| 1121 | WHvArm64RegisterQ31 = 0x0003001F, | 337 | WHvArm64RegisterQ31 = 0x0003001F, |
| 1122 | WHvArm64RegisterCurrentEl = 0x00021003, | ||
| 1123 | WHvArm64RegisterDaif = 0x00021004, | ||
| 1124 | WHvArm64RegisterDit = 0x00021005, | ||
| 1125 | WHvArm64RegisterPstate = 0x00020023, | 338 | WHvArm64RegisterPstate = 0x00020023, |
| 1126 | WHvArm64RegisterElrEl1 = 0x00040015, | 339 | WHvArm64RegisterElrEl1 = 0x00040015, |
| 1127 | WHvArm64RegisterFpcr = 0x00040012, | 340 | WHvArm64RegisterFpcr = 0x00040012, |
| 1128 | WHvArm64RegisterFpsr = 0x00040013, | 341 | WHvArm64RegisterFpsr = 0x00040013, |
| 1129 | WHvArm64RegisterNzcv = 0x00021006, | ||
| 1130 | WHvArm64RegisterPan = 0x00021007, | ||
| 1131 | WHvArm64RegisterSp = 0x0002001F, | 342 | WHvArm64RegisterSp = 0x0002001F, |
| 1132 | WHvArm64RegisterSpEl0 = 0x00020020, | 343 | WHvArm64RegisterSpEl0 = 0x00020020, |
| 1133 | WHvArm64RegisterSpEl1 = 0x00020021, | 344 | WHvArm64RegisterSpEl1 = 0x00020021, |
| 1134 | WHvArm64RegisterSpSel = 0x00021008, | ||
| 1135 | WHvArm64RegisterSpsrEl1 = 0x00040014, | 345 | WHvArm64RegisterSpsrEl1 = 0x00040014, |
| 1136 | WHvArm64RegisterSsbs = 0x00021009, | 346 | WHvArm64RegisterIdMidrEl1 = 0x00022000, |
| 1137 | WHvArm64RegisterTco = 0x0002100A, | 347 | WHvArm64RegisterIdRes01El1 = 0x00022001, |
| 1138 | WHvArm64RegisterUao = 0x0002100B, | 348 | WHvArm64RegisterIdRes02El1 = 0x00022002, |
| 349 | WHvArm64RegisterIdRes03El1 = 0x00022003, | ||
| 350 | WHvArm64RegisterIdRes04El1 = 0x00022004, | ||
| 351 | WHvArm64RegisterIdMpidrEl1 = 0x00022005, | ||
| 352 | WHvArm64RegisterIdRevidrEl1 = 0x00022006, | ||
| 353 | WHvArm64RegisterIdRes07El1 = 0x00022007, | ||
| 354 | WHvArm64RegisterIdPfr0El1 = 0x00022008, | ||
| 355 | WHvArm64RegisterIdPfr1El1 = 0x00022009, | ||
| 356 | WHvArm64RegisterIdDfr0El1 = 0x0002200A, | ||
| 357 | WHvArm64RegisterIdRes13El1 = 0x0002200B, | ||
| 358 | WHvArm64RegisterIdMmfr0El1 = 0x0002200C, | ||
| 359 | WHvArm64RegisterIdMmfr1El1 = 0x0002200D, | ||
| 360 | WHvArm64RegisterIdMmfr2El1 = 0x0002200E, | ||
| 361 | WHvArm64RegisterIdMmfr3El1 = 0x0002200F, | ||
| 362 | WHvArm64RegisterIdIsar0El1 = 0x00022010, | ||
| 363 | WHvArm64RegisterIdIsar1El1 = 0x00022011, | ||
| 364 | WHvArm64RegisterIdIsar2El1 = 0x00022012, | ||
| 365 | WHvArm64RegisterIdIsar3El1 = 0x00022013, | ||
| 366 | WHvArm64RegisterIdIsar4El1 = 0x00022014, | ||
| 367 | WHvArm64RegisterIdIsar5El1 = 0x00022015, | ||
| 368 | WHvArm64RegisterIdRes26El1 = 0x00022016, | ||
| 369 | WHvArm64RegisterIdRes27El1 = 0x00022017, | ||
| 370 | WHvArm64RegisterIdMvfr0El1 = 0x00022018, | ||
| 371 | WHvArm64RegisterIdMvfr1El1 = 0x00022019, | ||
| 372 | WHvArm64RegisterIdMvfr2El1 = 0x0002201A, | ||
| 373 | WHvArm64RegisterIdRes33El1 = 0x0002201B, | ||
| 374 | WHvArm64RegisterIdPfr2El1 = 0x0002201C, | ||
| 375 | WHvArm64RegisterIdRes35El1 = 0x0002201D, | ||
| 376 | WHvArm64RegisterIdRes36El1 = 0x0002201E, | ||
| 377 | WHvArm64RegisterIdRes37El1 = 0x0002201F, | ||
| 378 | WHvArm64RegisterIdAa64Pfr0El1 = 0x00022020, | ||
| 379 | WHvArm64RegisterIdAa64Pfr1El1 = 0x00022021, | ||
| 380 | WHvArm64RegisterIdAa64Pfr2El1 = 0x00022022, | ||
| 381 | WHvArm64RegisterIdRes43El1 = 0x00022023, | ||
| 382 | WHvArm64RegisterIdAa64Zfr0El1 = 0x00022024, | ||
| 383 | WHvArm64RegisterIdAa64Smfr0El1 = 0x00022025, | ||
| 384 | WHvArm64RegisterIdRes46El1 = 0x00022026, | ||
| 385 | WHvArm64RegisterIdRes47El1 = 0x00022027, | ||
| 1139 | WHvArm64RegisterIdAa64Dfr0El1 = 0x00022028, | 386 | WHvArm64RegisterIdAa64Dfr0El1 = 0x00022028, |
| 1140 | WHvArm64RegisterIdAa64Dfr1El1 = 0x00022029, | 387 | WHvArm64RegisterIdAa64Dfr1El1 = 0x00022029, |
| 388 | WHvArm64RegisterIdRes52El1 = 0x0002202A, | ||
| 389 | WHvArm64RegisterIdRes53El1 = 0x0002202B, | ||
| 390 | WHvArm64RegisterIdRes54El1 = 0x0002202C, | ||
| 391 | WHvArm64RegisterIdRes55El1 = 0x0002202D, | ||
| 392 | WHvArm64RegisterIdRes56El1 = 0x0002202E, | ||
| 393 | WHvArm64RegisterIdRes57El1 = 0x0002202F, | ||
| 1141 | WHvArm64RegisterIdAa64Isar0El1 = 0x00022030, | 394 | WHvArm64RegisterIdAa64Isar0El1 = 0x00022030, |
| 1142 | WHvArm64RegisterIdAa64Isar1El1 = 0x00022031, | 395 | WHvArm64RegisterIdAa64Isar1El1 = 0x00022031, |
| 1143 | WHvArm64RegisterIdAa64Isar2El1 = 0x00022032, | 396 | WHvArm64RegisterIdAa64Isar2El1 = 0x00022032, |
| 397 | WHvArm64RegisterIdRes63El1 = 0x00022033, | ||
| 398 | WHvArm64RegisterIdRes64El1 = 0x00022034, | ||
| 399 | WHvArm64RegisterIdRes65El1 = 0x00022035, | ||
| 400 | WHvArm64RegisterIdRes66El1 = 0x00022036, | ||
| 401 | WHvArm64RegisterIdRes67El1 = 0x00022037, | ||
| 1144 | WHvArm64RegisterIdAa64Mmfr0El1 = 0x00022038, | 402 | WHvArm64RegisterIdAa64Mmfr0El1 = 0x00022038, |
| 1145 | WHvArm64RegisterIdAa64Mmfr1El1 = 0x00022039, | 403 | WHvArm64RegisterIdAa64Mmfr1El1 = 0x00022039, |
| 1146 | WHvArm64RegisterIdAa64Mmfr2El1 = 0x0002203A, | 404 | WHvArm64RegisterIdAa64Mmfr2El1 = 0x0002203A, |
| 1147 | WHvArm64RegisterIdAa64Mmfr3El1 = 0x0002203B, | 405 | WHvArm64RegisterIdAa64Mmfr3El1 = 0x0002203B, |
| 1148 | WHvArm64RegisterIdAa64Mmfr4El1 = 0x0002203C, | 406 | WHvArm64RegisterIdAa64Mmfr4El1 = 0x0002203C, |
| 1149 | WHvArm64RegisterIdAa64Pfr0El1 = 0x00022020, | 407 | WHvArm64RegisterIdRes75El1 = 0x0002203D, |
| 1150 | WHvArm64RegisterIdAa64Pfr1El1 = 0x00022021, | 408 | WHvArm64RegisterIdRes76El1 = 0x0002203E, |
| 1151 | WHvArm64RegisterIdAa64Pfr2El1 = 0x00022022, | 409 | WHvArm64RegisterIdRes77El1 = 0x0002203F, |
| 1152 | WHvArm64RegisterIdAa64Smfr0El1 = 0x00022025, | 410 | WHvArm64RegisterIdRes80El1 = 0x00022040, |
| 1153 | WHvArm64RegisterIdAa64Zfr0El1 = 0x00022024, | 411 | WHvArm64RegisterIdRes81El1 = 0x00022041, |
| 1154 | WHvArm64RegisterIdDfr0El1 = 0x0002200A, | 412 | WHvArm64RegisterIdRes82El1 = 0x00022042, |
| 1155 | WHvArm64RegisterIdIsar0El1 = 0x00022010, | 413 | WHvArm64RegisterIdRes83El1 = 0x00022043, |
| 1156 | WHvArm64RegisterIdIsar1El1 = 0x00022011, | 414 | WHvArm64RegisterIdRes84El1 = 0x00022044, |
| 1157 | WHvArm64RegisterIdIsar2El1 = 0x00022012, | 415 | WHvArm64RegisterIdRes85El1 = 0x00022045, |
| 1158 | WHvArm64RegisterIdIsar3El1 = 0x00022013, | 416 | WHvArm64RegisterIdRes86El1 = 0x00022046, |
| 1159 | WHvArm64RegisterIdIsar4El1 = 0x00022014, | 417 | WHvArm64RegisterIdRes87El1 = 0x00022047, |
| 1160 | WHvArm64RegisterIdIsar5El1 = 0x00022015, | 418 | WHvArm64RegisterIdRes90El1 = 0x00022048, |
| 1161 | WHvArm64RegisterIdMmfr0El1 = 0x0002200C, | 419 | WHvArm64RegisterIdRes91El1 = 0x00022049, |
| 1162 | WHvArm64RegisterIdMmfr1El1 = 0x0002200D, | 420 | WHvArm64RegisterIdRes92El1 = 0x0002204A, |
| 1163 | WHvArm64RegisterIdMmfr2El1 = 0x0002200E, | 421 | WHvArm64RegisterIdRes93El1 = 0x0002204B, |
| 1164 | WHvArm64RegisterIdMmfr3El1 = 0x0002200F, | 422 | WHvArm64RegisterIdRes94El1 = 0x0002204C, |
| 1165 | WHvArm64RegisterIdPfr0El1 = 0x00022008, | 423 | WHvArm64RegisterIdRes95El1 = 0x0002204D, |
| 1166 | WHvArm64RegisterIdPfr1El1 = 0x00022009, | 424 | WHvArm64RegisterIdRes96El1 = 0x0002204E, |
| 1167 | WHvArm64RegisterIdPfr2El1 = 0x0002201C, | 425 | WHvArm64RegisterIdRes97El1 = 0x0002204F, |
| 426 | WHvArm64RegisterIdRes100El1 = 0x00022050, | ||
| 427 | WHvArm64RegisterIdRes101El1 = 0x00022051, | ||
| 428 | WHvArm64RegisterIdRes102El1 = 0x00022052, | ||
| 429 | WHvArm64RegisterIdRes103El1 = 0x00022053, | ||
| 430 | WHvArm64RegisterIdRes104El1 = 0x00022054, | ||
| 431 | WHvArm64RegisterIdRes105El1 = 0x00022055, | ||
| 432 | WHvArm64RegisterIdRes106El1 = 0x00022056, | ||
| 433 | WHvArm64RegisterIdRes107El1 = 0x00022057, | ||
| 434 | WHvArm64RegisterIdRes110El1 = 0x00022058, | ||
| 435 | WHvArm64RegisterIdRes111El1 = 0x00022059, | ||
| 436 | WHvArm64RegisterIdRes112El1 = 0x0002205A, | ||
| 437 | WHvArm64RegisterIdRes113El1 = 0x0002205B, | ||
| 438 | WHvArm64RegisterIdRes114El1 = 0x0002205C, | ||
| 439 | WHvArm64RegisterIdRes115El1 = 0x0002205D, | ||
| 440 | WHvArm64RegisterIdRes116El1 = 0x0002205E, | ||
| 441 | WHvArm64RegisterIdRes117El1 = 0x0002205F, | ||
| 442 | WHvArm64RegisterIdRes120El1 = 0x00022060, | ||
| 443 | WHvArm64RegisterIdRes121El1 = 0x00022061, | ||
| 444 | WHvArm64RegisterIdRes122El1 = 0x00022062, | ||
| 445 | WHvArm64RegisterIdRes123El1 = 0x00022063, | ||
| 446 | WHvArm64RegisterIdRes124El1 = 0x00022064, | ||
| 447 | WHvArm64RegisterIdRes125El1 = 0x00022065, | ||
| 448 | WHvArm64RegisterIdRes126El1 = 0x00022066, | ||
| 449 | WHvArm64RegisterIdRes127El1 = 0x00022067, | ||
| 450 | WHvArm64RegisterIdRes130El1 = 0x00022068, | ||
| 451 | WHvArm64RegisterIdRes131El1 = 0x00022069, | ||
| 452 | WHvArm64RegisterIdRes132El1 = 0x0002206A, | ||
| 453 | WHvArm64RegisterIdRes133El1 = 0x0002206B, | ||
| 454 | WHvArm64RegisterIdRes134El1 = 0x0002206C, | ||
| 455 | WHvArm64RegisterIdRes135El1 = 0x0002206D, | ||
| 456 | WHvArm64RegisterIdRes136El1 = 0x0002206E, | ||
| 457 | WHvArm64RegisterIdRes137El1 = 0x0002206F, | ||
| 458 | WHvArm64RegisterIdRes140El1 = 0x00022070, | ||
| 459 | WHvArm64RegisterIdRes141El1 = 0x00022071, | ||
| 460 | WHvArm64RegisterIdRes142El1 = 0x00022072, | ||
| 461 | WHvArm64RegisterIdRes143El1 = 0x00022073, | ||
| 462 | WHvArm64RegisterIdRes144El1 = 0x00022074, | ||
| 463 | WHvArm64RegisterIdRes145El1 = 0x00022075, | ||
| 464 | WHvArm64RegisterIdRes146El1 = 0x00022076, | ||
| 465 | WHvArm64RegisterIdRes147El1 = 0x00022077, | ||
| 466 | WHvArm64RegisterIdRes150El1 = 0x00022078, | ||
| 467 | WHvArm64RegisterIdRes151El1 = 0x00022079, | ||
| 468 | WHvArm64RegisterIdRes152El1 = 0x0002207A, | ||
| 469 | WHvArm64RegisterIdRes153El1 = 0x0002207B, | ||
| 470 | WHvArm64RegisterIdRes154El1 = 0x0002207C, | ||
| 471 | WHvArm64RegisterIdRes155El1 = 0x0002207D, | ||
| 472 | WHvArm64RegisterIdRes156El1 = 0x0002207E, | ||
| 473 | WHvArm64RegisterIdRes157El1 = 0x0002207F, | ||
| 474 | WHvArm64RegisterActlrEl1 = 0x00040003, | ||
| 1168 | WHvArm64RegisterApdAKeyHiEl1 = 0x00040026, | 475 | WHvArm64RegisterApdAKeyHiEl1 = 0x00040026, |
| 1169 | WHvArm64RegisterApdAKeyLoEl1 = 0x00040027, | 476 | WHvArm64RegisterApdAKeyLoEl1 = 0x00040027, |
| 1170 | WHvArm64RegisterApdBKeyHiEl1 = 0x00040028, | 477 | WHvArm64RegisterApdBKeyHiEl1 = 0x00040028, |
| ... | @@ -1175,28 +482,15 @@ typedef enum WHV_REGISTER_NAME { | ... | @@ -1175,28 +482,15 @@ typedef enum WHV_REGISTER_NAME { |
| 1175 | WHvArm64RegisterApiAKeyLoEl1 = 0x0004002D, | 482 | WHvArm64RegisterApiAKeyLoEl1 = 0x0004002D, |
| 1176 | WHvArm64RegisterApiBKeyHiEl1 = 0x0004002E, | 483 | WHvArm64RegisterApiBKeyHiEl1 = 0x0004002E, |
| 1177 | WHvArm64RegisterApiBKeyLoEl1 = 0x0004002F, | 484 | WHvArm64RegisterApiBKeyLoEl1 = 0x0004002F, |
| 1178 | WHvArm64RegisterCcsidrEl1 = 0x00040030, | ||
| 1179 | WHvArm64RegisterCcsidr2El1 = 0x00040031, | ||
| 1180 | WHvArm64RegisterClidrEl1 = 0x00040032, | ||
| 1181 | WHvArm64RegisterContextidrEl1 = 0x0004000D, | 485 | WHvArm64RegisterContextidrEl1 = 0x0004000D, |
| 1182 | WHvArm64RegisterCpacrEl1 = 0x00040004, | 486 | WHvArm64RegisterCpacrEl1 = 0x00040004, |
| 1183 | WHvArm64RegisterCsselrEl1 = 0x00040035, | 487 | WHvArm64RegisterCsselrEl1 = 0x00040035, |
| 1184 | WHvArm64RegisterCtrEl0 = 0x00040036, | ||
| 1185 | WHvArm64RegisterDczidEl0 = 0x00040038, | ||
| 1186 | WHvArm64RegisterEsrEl1 = 0x00040008, | 488 | WHvArm64RegisterEsrEl1 = 0x00040008, |
| 1187 | WHvArm64RegisterFarEl1 = 0x00040009, | 489 | WHvArm64RegisterFarEl1 = 0x00040009, |
| 1188 | WHvArm64RegisterIsrEl1 = 0x0004004A, | ||
| 1189 | WHvArm64RegisterMairEl1 = 0x0004000B, | 490 | WHvArm64RegisterMairEl1 = 0x0004000B, |
| 1190 | WHvArm64RegisterMidrEl1 = 0x00040051, | 491 | WHvArm64RegisterMidrEl1 = 0x00040051, |
| 1191 | WHvArm64RegisterMpidrEl1 = 0x00040001, | 492 | WHvArm64RegisterMpidrEl1 = 0x00040001, |
| 1192 | WHvArm64RegisterMvfr0El1 = 0x00040052, | ||
| 1193 | WHvArm64RegisterMvfr1El1 = 0x00040053, | ||
| 1194 | WHvArm64RegisterMvfr2El1 = 0x00040054, | ||
| 1195 | WHvArm64RegisterParEl1 = 0x0004000A, | 493 | WHvArm64RegisterParEl1 = 0x0004000A, |
| 1196 | WHvArm64RegisterRevidrEl1 = 0x00040055, | ||
| 1197 | WHvArm64RegisterRgsrEl1 = 0x00040056, | ||
| 1198 | WHvArm64RegisterRndr = 0x00040057, | ||
| 1199 | WHvArm64RegisterRndrrs = 0x00040058, | ||
| 1200 | WHvArm64RegisterSctlrEl1 = 0x00040002, | 494 | WHvArm64RegisterSctlrEl1 = 0x00040002, |
| 1201 | WHvArm64RegisterTcrEl1 = 0x00040007, | 495 | WHvArm64RegisterTcrEl1 = 0x00040007, |
| 1202 | WHvArm64RegisterTpidrEl0 = 0x00040011, | 496 | WHvArm64RegisterTpidrEl0 = 0x00040011, |
| ... | @@ -1205,6 +499,7 @@ typedef enum WHV_REGISTER_NAME { | ... | @@ -1205,6 +499,7 @@ typedef enum WHV_REGISTER_NAME { |
| 1205 | WHvArm64RegisterTtbr0El1 = 0x00040005, | 499 | WHvArm64RegisterTtbr0El1 = 0x00040005, |
| 1206 | WHvArm64RegisterTtbr1El1 = 0x00040006, | 500 | WHvArm64RegisterTtbr1El1 = 0x00040006, |
| 1207 | WHvArm64RegisterVbarEl1 = 0x0004000C, | 501 | WHvArm64RegisterVbarEl1 = 0x0004000C, |
| 502 | WHvArm64RegisterZcrEl1 = 0x00040071, | ||
| 1208 | WHvArm64RegisterDbgbcr0El1 = 0x00050000, | 503 | WHvArm64RegisterDbgbcr0El1 = 0x00050000, |
| 1209 | WHvArm64RegisterDbgbcr1El1 = 0x00050001, | 504 | WHvArm64RegisterDbgbcr1El1 = 0x00050001, |
| 1210 | WHvArm64RegisterDbgbcr2El1 = 0x00050002, | 505 | WHvArm64RegisterDbgbcr2El1 = 0x00050002, |
| ... | @@ -1349,32 +644,12 @@ typedef enum WHV_REGISTER_NAME { | ... | @@ -1349,32 +644,12 @@ typedef enum WHV_REGISTER_NAME { |
| 1349 | WHvArm64RegisterPmovsclrEl0 = 0x00052048, | 644 | WHvArm64RegisterPmovsclrEl0 = 0x00052048, |
| 1350 | WHvArm64RegisterPmovssetEl0 = 0x00052049, | 645 | WHvArm64RegisterPmovssetEl0 = 0x00052049, |
| 1351 | WHvArm64RegisterPmselrEl0 = 0x0005204A, | 646 | WHvArm64RegisterPmselrEl0 = 0x0005204A, |
| 1352 | WHvArm64RegisterPmswincEl0 = 0x0005204B, | ||
| 1353 | WHvArm64RegisterPmuserenrEl0 = 0x0005204C, | 647 | WHvArm64RegisterPmuserenrEl0 = 0x0005204C, |
| 1354 | WHvArm64RegisterPmxevcntrEl0 = 0x0005204D, | ||
| 1355 | WHvArm64RegisterPmxevtyperEl0 = 0x0005204E, | ||
| 1356 | WHvArm64RegisterCntfrqEl0 = 0x00058000, | ||
| 1357 | WHvArm64RegisterCntkctlEl1 = 0x00058008, | 648 | WHvArm64RegisterCntkctlEl1 = 0x00058008, |
| 1358 | WHvArm64RegisterCntvCtlEl0 = 0x0005800E, | 649 | WHvArm64RegisterCntvCtlEl0 = 0x0005800E, |
| 1359 | WHvArm64RegisterCntvCvalEl0 = 0x0005800F, | 650 | WHvArm64RegisterCntvCvalEl0 = 0x0005800F, |
| 1360 | WHvArm64RegisterCntvTvalEl0 = 0x00058010, | ||
| 1361 | WHvArm64RegisterCntvctEl0 = 0x00058011, | 651 | WHvArm64RegisterCntvctEl0 = 0x00058011, |
| 1362 | WHvArm64RegisterIccAp1R0El1 = 0x00060000, | 652 | WHvArm64RegisterGicrBaseGpa = 0x00063000, |
| 1363 | WHvArm64RegisterIccAp1R1El1 = 0x00060001, | ||
| 1364 | WHvArm64RegisterIccAp1R2El1 = 0x00060002, | ||
| 1365 | WHvArm64RegisterIccAp1R3El1 = 0x00060003, | ||
| 1366 | WHvArm64RegisterIccAsgi1REl1 = 0x00060004, | ||
| 1367 | WHvArm64RegisterIccBpr1El1 = 0x00060005, | ||
| 1368 | WHvArm64RegisterIccCtlrEl1 = 0x00060006, | ||
| 1369 | WHvArm64RegisterIccDirEl1 = 0x00060007, | ||
| 1370 | WHvArm64RegisterIccEoir1El1 = 0x00060008, | ||
| 1371 | WHvArm64RegisterIccHppir1El1 = 0x00060009, | ||
| 1372 | WHvArm64RegisterIccIar1El1 = 0x0006000A, | ||
| 1373 | WHvArm64RegisterIccIgrpen1El1 = 0x0006000B, | ||
| 1374 | WHvArm64RegisterIccPmrEl1 = 0x0006000C, | ||
| 1375 | WHvArm64RegisterIccRprEl1 = 0x0006000D, | ||
| 1376 | WHvArm64RegisterIccSgi1REl1 = 0x0006000E, | ||
| 1377 | WHvArm64RegisterIccSreEl1 = 0x0006000F, | ||
| 1378 | WHvRegisterSint0 = 0x000A0000, | 653 | WHvRegisterSint0 = 0x000A0000, |
| 1379 | WHvRegisterSint1 = 0x000A0001, | 654 | WHvRegisterSint1 = 0x000A0001, |
| 1380 | WHvRegisterSint2 = 0x000A0002, | 655 | WHvRegisterSint2 = 0x000A0002, |
| ... | @@ -1396,6 +671,19 @@ typedef enum WHV_REGISTER_NAME { | ... | @@ -1396,6 +671,19 @@ typedef enum WHV_REGISTER_NAME { |
| 1396 | WHvRegisterSifp = 0x000A0012, | 671 | WHvRegisterSifp = 0x000A0012, |
| 1397 | WHvRegisterSipp = 0x000A0013, | 672 | WHvRegisterSipp = 0x000A0013, |
| 1398 | WHvRegisterEom = 0x000A0014, | 673 | WHvRegisterEom = 0x000A0014, |
| 674 | WHvRegisterHypervisorVersion = 0x00000100, | ||
| 675 | WHvRegisterPrivilegesAndFeaturesInfo = 0x00000200, | ||
| 676 | WHvRegisterFeaturesInfo = 0x00000201, | ||
| 677 | WHvRegisterImplementationLimitsInfo = 0x00000202, | ||
| 678 | WHvRegisterHardwareFeaturesInfo = 0x00000203, | ||
| 679 | WHvRegisterCpuManagementFeaturesInfo = 0x00000204, | ||
| 680 | WHvRegisterPasidFeaturesInfo = 0x00000205, | ||
| 681 | WHvRegisterGuestCrashP0 = 0x00000210, | ||
| 682 | WHvRegisterGuestCrashP1 = 0x00000211, | ||
| 683 | WHvRegisterGuestCrashP2 = 0x00000212, | ||
| 684 | WHvRegisterGuestCrashP3 = 0x00000213, | ||
| 685 | WHvRegisterGuestCrashP4 = 0x00000214, | ||
| 686 | WHvRegisterGuestCrashCtl = 0x00000215, | ||
| 1399 | WHvRegisterVpRuntime = 0x00090000, | 687 | WHvRegisterVpRuntime = 0x00090000, |
| 1400 | WHvRegisterGuestOsId = 0x00090002, | 688 | WHvRegisterGuestOsId = 0x00090002, |
| 1401 | WHvRegisterVpAssistPage = 0x00090013, | 689 | WHvRegisterVpAssistPage = 0x00090013, |
| ... | @@ -1410,362 +698,1463 @@ typedef enum WHV_REGISTER_NAME { | ... | @@ -1410,362 +698,1463 @@ typedef enum WHV_REGISTER_NAME { |
| 1410 | WHvRegisterPendingEvent3 = 0x00010009 | 698 | WHvRegisterPendingEvent3 = 0x00010009 |
| 1411 | } WHV_REGISTER_NAME; | 699 | } WHV_REGISTER_NAME; |
| 1412 | 700 | ||
| 1413 | #define WHvRegisterSiefp WHvRegisterSifp | 701 | #define WHvRegisterSiefp WHvRegisterSifp |
| 1414 | #define WHvRegisterSimp WHvRegisterSipp | 702 | #define WHvRegisterSimp WHvRegisterSipp |
| 1415 | #define WHvRegisterPendingEvent WHvRegisterPendingEvent0 | 703 | #define WHvRegisterPendingEvent WHvRegisterPendingEvent0 |
| 704 | |||
| 705 | #endif /* __x86_64__ || __aarch64__ */ | ||
| 706 | |||
| 707 | typedef UINT64 WHV_GUEST_PHYSICAL_ADDRESS; | ||
| 708 | typedef UINT64 WHV_GUEST_VIRTUAL_ADDRESS; | ||
| 709 | |||
| 710 | typedef union DECLSPEC_ALIGN(16) WHV_UINT128 { | ||
| 711 | __C89_NAMELESS struct { | ||
| 712 | UINT64 Low64; | ||
| 713 | UINT64 High64; | ||
| 714 | }; | ||
| 715 | UINT32 Dword[4]; | ||
| 716 | } WHV_UINT128; | ||
| 717 | |||
| 718 | C_ASSERT(sizeof(WHV_UINT128) == 16); | ||
| 719 | |||
| 720 | #if defined(__x86_64__) | ||
| 721 | |||
| 722 | typedef union WHV_X64_FP_REGISTER { | ||
| 723 | __C89_NAMELESS struct { | ||
| 724 | UINT64 Mantissa; | ||
| 725 | UINT64 BiasedExponent:15; | ||
| 726 | UINT64 Sign:1; | ||
| 727 | UINT64 Reserved:48; | ||
| 728 | }; | ||
| 729 | WHV_UINT128 AsUINT128; | ||
| 730 | } WHV_X64_FP_REGISTER; | ||
| 731 | |||
| 732 | C_ASSERT(sizeof(WHV_X64_FP_REGISTER) == 16); | ||
| 733 | |||
| 734 | typedef union WHV_X64_FP_CONTROL_STATUS_REGISTER { | ||
| 735 | __C89_NAMELESS struct { | ||
| 736 | UINT16 FpControl; | ||
| 737 | UINT16 FpStatus; | ||
| 738 | UINT8 FpTag; | ||
| 739 | UINT8 Reserved; | ||
| 740 | UINT16 LastFpOp; | ||
| 741 | __C89_NAMELESS union { | ||
| 742 | UINT64 LastFpRip; | ||
| 743 | __C89_NAMELESS struct { | ||
| 744 | UINT32 LastFpEip; | ||
| 745 | UINT16 LastFpCs; | ||
| 746 | UINT16 Reserved2; | ||
| 747 | }; | ||
| 748 | }; | ||
| 749 | }; | ||
| 750 | WHV_UINT128 AsUINT128; | ||
| 751 | } WHV_X64_FP_CONTROL_STATUS_REGISTER; | ||
| 752 | |||
| 753 | C_ASSERT(sizeof(WHV_X64_FP_CONTROL_STATUS_REGISTER) == 16); | ||
| 754 | |||
| 755 | typedef union WHV_X64_XMM_CONTROL_STATUS_REGISTER { | ||
| 756 | __C89_NAMELESS struct { | ||
| 757 | __C89_NAMELESS union { | ||
| 758 | UINT64 LastFpRdp; | ||
| 759 | __C89_NAMELESS struct { | ||
| 760 | UINT32 LastFpDp; | ||
| 761 | UINT16 LastFpDs; | ||
| 762 | UINT16 Reserved; | ||
| 763 | }; | ||
| 764 | }; | ||
| 765 | UINT32 XmmStatusControl; | ||
| 766 | UINT32 XmmStatusControlMask; | ||
| 767 | }; | ||
| 768 | WHV_UINT128 AsUINT128; | ||
| 769 | } WHV_X64_XMM_CONTROL_STATUS_REGISTER; | ||
| 770 | |||
| 771 | C_ASSERT(sizeof(WHV_X64_XMM_CONTROL_STATUS_REGISTER) == 16); | ||
| 772 | |||
| 773 | typedef struct WHV_X64_SEGMENT_REGISTER { | ||
| 774 | UINT64 Base; | ||
| 775 | UINT32 Limit; | ||
| 776 | UINT16 Selector; | ||
| 777 | __C89_NAMELESS union { | ||
| 778 | __C89_NAMELESS struct { | ||
| 779 | UINT16 SegmentType:4; | ||
| 780 | UINT16 NonSystemSegment:1; | ||
| 781 | UINT16 DescriptorPrivilegeLevel:2; | ||
| 782 | UINT16 Present:1; | ||
| 783 | UINT16 Reserved:4; | ||
| 784 | UINT16 Available:1; | ||
| 785 | UINT16 Long:1; | ||
| 786 | UINT16 Default:1; | ||
| 787 | UINT16 Granularity:1; | ||
| 788 | }; | ||
| 789 | UINT16 Attributes; | ||
| 790 | }; | ||
| 791 | } WHV_X64_SEGMENT_REGISTER; | ||
| 792 | |||
| 793 | C_ASSERT(sizeof(WHV_X64_SEGMENT_REGISTER) == 16); | ||
| 794 | |||
| 795 | typedef struct WHV_X64_TABLE_REGISTER { | ||
| 796 | UINT16 Pad[3]; | ||
| 797 | UINT16 Limit; | ||
| 798 | UINT64 Base; | ||
| 799 | } WHV_X64_TABLE_REGISTER; | ||
| 800 | |||
| 801 | C_ASSERT(sizeof(WHV_X64_TABLE_REGISTER) == 16); | ||
| 802 | |||
| 803 | typedef union WHV_X64_INTERRUPT_STATE_REGISTER { | ||
| 804 | __C89_NAMELESS struct { | ||
| 805 | UINT64 InterruptShadow:1; | ||
| 806 | UINT64 NmiMasked:1; | ||
| 807 | UINT64 Reserved:62; | ||
| 808 | }; | ||
| 809 | UINT64 AsUINT64; | ||
| 810 | } WHV_X64_INTERRUPT_STATE_REGISTER; | ||
| 811 | |||
| 812 | C_ASSERT(sizeof(WHV_X64_INTERRUPT_STATE_REGISTER) == 8); | ||
| 813 | |||
| 814 | typedef union WHV_X64_PENDING_INTERRUPTION_REGISTER { | ||
| 815 | __C89_NAMELESS struct { | ||
| 816 | UINT32 InterruptionPending:1; | ||
| 817 | UINT32 InterruptionType:3; | ||
| 818 | UINT32 DeliverErrorCode:1; | ||
| 819 | UINT32 InstructionLength:4; | ||
| 820 | UINT32 NestedEvent:1; | ||
| 821 | UINT32 Reserved:6; | ||
| 822 | UINT32 InterruptionVector:16; | ||
| 823 | UINT32 ErrorCode; | ||
| 824 | }; | ||
| 825 | UINT64 AsUINT64; | ||
| 826 | } WHV_X64_PENDING_INTERRUPTION_REGISTER; | ||
| 827 | |||
| 828 | C_ASSERT(sizeof(WHV_X64_PENDING_INTERRUPTION_REGISTER) == sizeof(UINT64)); | ||
| 829 | |||
| 830 | typedef enum WHV_X64_PENDING_EVENT_TYPE { | ||
| 831 | WHvX64PendingEventException = 0, | ||
| 832 | WHvX64PendingEventExtInt = 5, | ||
| 833 | WHvX64PendingEventSvmNestedExit = 7, | ||
| 834 | WHvX64PendingEventVmxNestedExit = 8 | ||
| 835 | } WHV_X64_PENDING_EVENT_TYPE; | ||
| 836 | |||
| 837 | typedef union WHV_X64_PENDING_EXCEPTION_EVENT { | ||
| 838 | __C89_NAMELESS struct { | ||
| 839 | UINT32 EventPending : 1; | ||
| 840 | UINT32 EventType : 3; | ||
| 841 | UINT32 Reserved0 : 4; | ||
| 842 | UINT32 DeliverErrorCode : 1; | ||
| 843 | UINT32 Reserved1 : 7; | ||
| 844 | UINT32 Vector : 16; | ||
| 845 | UINT32 ErrorCode; | ||
| 846 | UINT64 ExceptionParameter; | ||
| 847 | }; | ||
| 848 | WHV_UINT128 AsUINT128; | ||
| 849 | } WHV_X64_PENDING_EXCEPTION_EVENT; | ||
| 850 | |||
| 851 | C_ASSERT(sizeof(WHV_X64_PENDING_EXCEPTION_EVENT) == sizeof(WHV_UINT128)); | ||
| 852 | |||
| 853 | typedef union WHV_X64_PENDING_EXT_INT_EVENT { | ||
| 854 | __C89_NAMELESS struct { | ||
| 855 | UINT64 EventPending : 1; | ||
| 856 | UINT64 EventType : 3; | ||
| 857 | UINT64 Reserved0 : 4; | ||
| 858 | UINT64 Vector : 8; | ||
| 859 | UINT64 Reserved1 : 48; | ||
| 860 | UINT64 Reserved2; | ||
| 861 | }; | ||
| 862 | WHV_UINT128 AsUINT128; | ||
| 863 | } WHV_X64_PENDING_EXT_INT_EVENT; | ||
| 864 | |||
| 865 | C_ASSERT(sizeof(WHV_X64_PENDING_EXT_INT_EVENT) == sizeof(WHV_UINT128)); | ||
| 866 | |||
| 867 | typedef union WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT0 { | ||
| 868 | __C89_NAMELESS struct { | ||
| 869 | UINT64 EventPending : 1; | ||
| 870 | UINT64 EventType : 4; | ||
| 871 | UINT64 Reserved0 : 3; | ||
| 872 | UINT64 InstructionBytesValid : 1; | ||
| 873 | UINT64 Reserved1 : 55; | ||
| 874 | UINT64 ExitCode; | ||
| 875 | }; | ||
| 876 | WHV_UINT128 AsUINT128; | ||
| 877 | } WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT0; | ||
| 878 | |||
| 879 | typedef union WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT1 { | ||
| 880 | __C89_NAMELESS struct { | ||
| 881 | UINT64 ExitInfo1; | ||
| 882 | UINT64 ExitInfo2; | ||
| 883 | }; | ||
| 884 | WHV_UINT128 AsUINT128; | ||
| 885 | } WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT1; | ||
| 886 | |||
| 887 | typedef union WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT2 { | ||
| 888 | __C89_NAMELESS struct { | ||
| 889 | UINT64 NextRip; | ||
| 890 | UINT8 InstructionBytesFetchedCount; | ||
| 891 | UINT8 InstructionBytes[7]; | ||
| 892 | }; | ||
| 893 | WHV_UINT128 AsUINT128; | ||
| 894 | } WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT2; | ||
| 895 | |||
| 896 | typedef union WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT3 { | ||
| 897 | __C89_NAMELESS struct { | ||
| 898 | UINT8 InstructionBytes[8]; | ||
| 899 | UINT64 Reserved2; | ||
| 900 | }; | ||
| 901 | WHV_UINT128 AsUINT128; | ||
| 902 | } WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT3; | ||
| 903 | |||
| 904 | C_ASSERT(sizeof(WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT0) == 16); | ||
| 905 | C_ASSERT(sizeof(WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT1) == 16); | ||
| 906 | C_ASSERT(sizeof(WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT2) == 16); | ||
| 907 | C_ASSERT(sizeof(WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT3) == 16); | ||
| 908 | |||
| 909 | typedef union WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT0 { | ||
| 910 | __C89_NAMELESS struct { | ||
| 911 | UINT32 EventPending : 1; | ||
| 912 | UINT32 EventType : 4; | ||
| 913 | UINT32 Reserved0 : 27; | ||
| 914 | UINT32 ExitReason; | ||
| 915 | UINT64 ExitQualification; | ||
| 916 | }; | ||
| 917 | WHV_UINT128 AsUINT128; | ||
| 918 | } WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT0; | ||
| 919 | |||
| 920 | typedef union WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT1 { | ||
| 921 | __C89_NAMELESS struct { | ||
| 922 | UINT32 InstructionLength; | ||
| 923 | UINT32 InstructionInfo; | ||
| 924 | UINT32 ExitInterruptionInfo; | ||
| 925 | UINT32 ExitExceptionErrorCode; | ||
| 926 | }; | ||
| 927 | WHV_UINT128 AsUINT128; | ||
| 928 | } WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT1; | ||
| 929 | |||
| 930 | typedef union WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT2 { | ||
| 931 | __C89_NAMELESS struct { | ||
| 932 | UINT64 GuestLinearAddress; | ||
| 933 | UINT64 GuestPhysicalAddress; | ||
| 934 | }; | ||
| 935 | WHV_UINT128 AsUINT128; | ||
| 936 | } WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT2; | ||
| 937 | |||
| 938 | C_ASSERT(sizeof(WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT0) == 16); | ||
| 939 | C_ASSERT(sizeof(WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT1) == 16); | ||
| 940 | C_ASSERT(sizeof(WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT2) == 16); | ||
| 941 | |||
| 942 | typedef union WHV_X64_NESTED_INVEPT_REGISTER { | ||
| 943 | __C89_NAMELESS struct { | ||
| 944 | UINT8 Type; | ||
| 945 | UINT8 Reserved[7]; | ||
| 946 | UINT64 Eptp; | ||
| 947 | }; | ||
| 948 | WHV_UINT128 AsUINT128; | ||
| 949 | } WHV_X64_NESTED_INVEPT_REGISTER; | ||
| 950 | |||
| 951 | C_ASSERT(sizeof(WHV_X64_NESTED_INVEPT_REGISTER) == 16); | ||
| 952 | |||
| 953 | typedef union WHV_X64_NESTED_INVVPID_REGISTER { | ||
| 954 | __C89_NAMELESS struct { | ||
| 955 | UINT8 Type; | ||
| 956 | UINT8 Reserved[3]; | ||
| 957 | UINT32 Vpid; | ||
| 958 | UINT64 LinearAddress; | ||
| 959 | }; | ||
| 960 | WHV_UINT128 AsUINT128; | ||
| 961 | } WHV_X64_NESTED_INVVPID_REGISTER; | ||
| 962 | |||
| 963 | C_ASSERT(sizeof(WHV_X64_NESTED_INVVPID_REGISTER) == 16); | ||
| 964 | |||
| 965 | typedef union WHV_X64_NESTED_GUEST_STATE { | ||
| 966 | __C89_NAMELESS struct { | ||
| 967 | UINT64 NestedVirtActive : 1; | ||
| 968 | UINT64 NestedGuestMode : 1; | ||
| 969 | UINT64 VmEntryPending : 1; | ||
| 970 | UINT64 Reserved0 : 61; | ||
| 971 | UINT64 Reserved1; | ||
| 972 | }; | ||
| 973 | WHV_UINT128 AsUINT128; | ||
| 974 | } WHV_X64_NESTED_GUEST_STATE; | ||
| 975 | |||
| 976 | C_ASSERT(sizeof(WHV_X64_NESTED_GUEST_STATE) == 16); | ||
| 977 | |||
| 978 | #endif /* defined(__x86_64__) */ | ||
| 979 | |||
| 980 | typedef union WHV_DELIVERABILITY_NOTIFICATIONS_REGISTER { | ||
| 981 | __C89_NAMELESS struct { | ||
| 982 | #if defined(__x86_64__) | ||
| 983 | UINT64 NmiNotification:1; | ||
| 984 | UINT64 InterruptNotification:1; | ||
| 985 | UINT64 InterruptPriority:4; | ||
| 986 | UINT64 Reserved:42; | ||
| 987 | #elif defined(__aarch64__) | ||
| 988 | UINT64 Reserved:48; | ||
| 989 | #endif | ||
| 990 | UINT64 Sint:16; | ||
| 991 | }; | ||
| 992 | UINT64 AsUINT64; | ||
| 993 | } WHV_DELIVERABILITY_NOTIFICATIONS_REGISTER, WHV_X64_DELIVERABILITY_NOTIFICATIONS_REGISTER; | ||
| 994 | |||
| 995 | C_ASSERT(sizeof(WHV_DELIVERABILITY_NOTIFICATIONS_REGISTER) == 8); | ||
| 996 | |||
| 997 | typedef union WHV_INTERNAL_ACTIVITY_REGISTER { | ||
| 998 | __C89_NAMELESS struct { | ||
| 999 | UINT64 StartupSuspend : 1; | ||
| 1000 | UINT64 HaltSuspend : 1; | ||
| 1001 | UINT64 IdleSuspend : 1; | ||
| 1002 | UINT64 Reserved :61; | ||
| 1003 | }; | ||
| 1004 | UINT64 AsUINT64; | ||
| 1005 | } WHV_INTERNAL_ACTIVITY_REGISTER; | ||
| 1006 | |||
| 1007 | C_ASSERT(sizeof(WHV_INTERNAL_ACTIVITY_REGISTER) == 8); | ||
| 1008 | |||
| 1009 | #if defined(__x86_64__) | ||
| 1010 | |||
| 1011 | typedef union WHV_X64_PENDING_DEBUG_EXCEPTION { | ||
| 1012 | UINT64 AsUINT64; | ||
| 1013 | __C89_NAMELESS struct { | ||
| 1014 | UINT64 Breakpoint0 : 1; | ||
| 1015 | UINT64 Breakpoint1 : 1; | ||
| 1016 | UINT64 Breakpoint2 : 1; | ||
| 1017 | UINT64 Breakpoint3 : 1; | ||
| 1018 | UINT64 SingleStep : 1; | ||
| 1019 | UINT64 Reserved0 : 59; | ||
| 1020 | }; | ||
| 1021 | } WHV_X64_PENDING_DEBUG_EXCEPTION; | ||
| 1022 | |||
| 1023 | C_ASSERT(sizeof(WHV_X64_PENDING_DEBUG_EXCEPTION) == 8); | ||
| 1024 | |||
| 1025 | #elif defined(__aarch64__) | ||
| 1026 | |||
| 1027 | typedef enum WHV_ARM64_PENDING_EVENT_TYPE { | ||
| 1028 | WHvArm64PendingEventException = 0, | ||
| 1029 | WHvArm64PendingEventSyntheticException = 1 | ||
| 1030 | } WHV_ARM64_PENDING_EVENT_TYPE; | ||
| 1031 | |||
| 1032 | #define WHV_ARM64_PENDING_EVENT_HEADER \ | ||
| 1033 | UINT8 EventPending : 1; \ | ||
| 1034 | UINT8 EventType : 3; \ | ||
| 1035 | UINT8 Reserved : 4 | ||
| 1036 | |||
| 1037 | typedef union WHV_ARM64_PENDING_EXCEPTION_EVENT { | ||
| 1038 | UINT64 AsUINT64[3]; | ||
| 1039 | __C89_NAMELESS struct { | ||
| 1040 | WHV_ARM64_PENDING_EVENT_HEADER; | ||
| 1041 | UINT8 Reserved1; | ||
| 1042 | UINT16 Reserved2; | ||
| 1043 | UINT32 Reserved3; | ||
| 1044 | UINT64 EsrElx; | ||
| 1045 | UINT64 FarElx; | ||
| 1046 | }; | ||
| 1047 | } WHV_ARM64_PENDING_EXCEPTION_EVENT; | ||
| 1048 | |||
| 1049 | typedef enum WHV_ARM64_SYNTHETIC_EXCEPTION_TYPE { | ||
| 1050 | WHvArm64SyntheticExceptionTypeSmc = 0x0, | ||
| 1051 | WHvArm64SyntheticExceptionTypeSecure = 0x1, | ||
| 1052 | WHvArm64SyntheticExceptionTypeCrashdump = 0x2, | ||
| 1053 | WHvArm64SyntheticExceptionTypeVirtualizationFault = 0x3, | ||
| 1054 | WHvArm64SyntheticExceptionTypeMax = 0x3F + 1 | ||
| 1055 | } WHV_ARM64_SYNTHETIC_EXCEPTION_TYPE; | ||
| 1056 | |||
| 1057 | typedef union WHV_ARM64_PENDING_SYNTHETIC_EXCEPTION_EVENT { | ||
| 1058 | UINT64 AsUINT64[2]; | ||
| 1059 | __C89_NAMELESS struct { | ||
| 1060 | WHV_ARM64_PENDING_EVENT_HEADER; | ||
| 1061 | UINT8 Reserved1; | ||
| 1062 | UINT16 Reserved2; | ||
| 1063 | UINT32 ExceptionType; | ||
| 1064 | UINT64 Context; | ||
| 1065 | }; | ||
| 1066 | } WHV_ARM64_PENDING_SYNTHETIC_EXCEPTION_EVENT; | ||
| 1067 | |||
| 1068 | typedef union WHV_ARM64_PENDING_EVENT { | ||
| 1069 | __C89_NAMELESS struct { | ||
| 1070 | WHV_UINT128 Reg0; | ||
| 1071 | WHV_UINT128 Reg1; | ||
| 1072 | }; | ||
| 1073 | __C89_NAMELESS struct { | ||
| 1074 | WHV_ARM64_PENDING_EVENT_HEADER; | ||
| 1075 | UINT8 EventData[15]; | ||
| 1076 | }; | ||
| 1077 | WHV_ARM64_PENDING_EXCEPTION_EVENT Exception; | ||
| 1078 | WHV_ARM64_PENDING_SYNTHETIC_EXCEPTION_EVENT SyntheticException; | ||
| 1079 | } WHV_ARM64_PENDING_EVENT; | ||
| 1080 | |||
| 1081 | #endif /* defined(__x86_64__) || defined(__aarch64__) */ | ||
| 1082 | |||
| 1083 | typedef union WHV_REGISTER_VALUE { | ||
| 1084 | WHV_UINT128 Reg128; | ||
| 1085 | UINT64 Reg64; | ||
| 1086 | UINT32 Reg32; | ||
| 1087 | UINT16 Reg16; | ||
| 1088 | UINT8 Reg8; | ||
| 1089 | WHV_INTERNAL_ACTIVITY_REGISTER InternalActivity; | ||
| 1090 | WHV_DELIVERABILITY_NOTIFICATIONS_REGISTER DeliverabilityNotifications; | ||
| 1091 | #if defined(__x86_64__) | ||
| 1092 | WHV_X64_FP_REGISTER Fp; | ||
| 1093 | WHV_X64_FP_CONTROL_STATUS_REGISTER FpControlStatus; | ||
| 1094 | WHV_X64_XMM_CONTROL_STATUS_REGISTER XmmControlStatus; | ||
| 1095 | WHV_X64_SEGMENT_REGISTER Segment; | ||
| 1096 | WHV_X64_TABLE_REGISTER Table; | ||
| 1097 | WHV_X64_INTERRUPT_STATE_REGISTER InterruptState; | ||
| 1098 | WHV_X64_PENDING_INTERRUPTION_REGISTER PendingInterruption; | ||
| 1099 | WHV_X64_PENDING_EXCEPTION_EVENT ExceptionEvent; | ||
| 1100 | WHV_X64_PENDING_EXT_INT_EVENT ExtIntEvent; | ||
| 1101 | WHV_X64_PENDING_DEBUG_EXCEPTION PendingDebugException; | ||
| 1102 | WHV_X64_NESTED_GUEST_STATE NestedState; | ||
| 1103 | WHV_X64_NESTED_INVEPT_REGISTER InvEpt; | ||
| 1104 | WHV_X64_NESTED_INVVPID_REGISTER InvVpid; | ||
| 1105 | WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT0 SvmNestedExit0; | ||
| 1106 | WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT1 SvmNestedExit1; | ||
| 1107 | WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT2 SvmNestedExit2; | ||
| 1108 | WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT3 SvmNestedExit3; | ||
| 1109 | WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT0 VmxNestedExit0; | ||
| 1110 | WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT1 VmxNestedExit1; | ||
| 1111 | WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT2 VmxNestedExit2; | ||
| 1112 | #endif | ||
| 1113 | } WHV_REGISTER_VALUE; | ||
| 1114 | |||
| 1115 | C_ASSERT(sizeof(WHV_REGISTER_VALUE) == 16); | ||
| 1116 | |||
| 1117 | typedef enum WHV_CAPABILITY_CODE { | ||
| 1118 | WHvCapabilityCodeHypervisorPresent = 0x00000000 | ||
| 1119 | ,WHvCapabilityCodeFeatures = 0x00000001 | ||
| 1120 | ,WHvCapabilityCodeExtendedVmExits = 0x00000002 | ||
| 1121 | #if defined(__x86_64__) | ||
| 1122 | ,WHvCapabilityCodeExceptionExitBitmap = 0x00000003 | ||
| 1123 | ,WHvCapabilityCodeX64MsrExitBitmap = 0x00000004 | ||
| 1124 | #endif | ||
| 1125 | ,WHvCapabilityCodeGpaRangePopulateFlags = 0x00000005 | ||
| 1126 | ,WHvCapabilityCodeSchedulerFeatures = 0x00000006 | ||
| 1127 | ,WHvCapabilityCodeProcessorVendor = 0x00001000 | ||
| 1128 | ,WHvCapabilityCodeProcessorFeatures = 0x00001001 | ||
| 1129 | ,WHvCapabilityCodeProcessorClFlushSize = 0x00001002 | ||
| 1130 | #if defined(__x86_64__) | ||
| 1131 | ,WHvCapabilityCodeProcessorXsaveFeatures = 0x00001003 | ||
| 1132 | #endif | ||
| 1133 | ,WHvCapabilityCodeProcessorClockFrequency = 0x00001004 | ||
| 1134 | #if defined(__x86_64__) | ||
| 1135 | ,WHvCapabilityCodeInterruptClockFrequency = 0x00001005 | ||
| 1136 | #endif | ||
| 1137 | ,WHvCapabilityCodeProcessorFeaturesBanks = 0x00001006 | ||
| 1138 | ,WHvCapabilityCodeProcessorFrequencyCap = 0x00001007 | ||
| 1139 | ,WHvCapabilityCodeSyntheticProcessorFeaturesBanks = 0x00001008 | ||
| 1140 | #if defined(__x86_64__) | ||
| 1141 | ,WHvCapabilityCodeProcessorPerfmonFeatures = 0x00001009 | ||
| 1142 | #endif | ||
| 1143 | ,WHvCapabilityCodePhysicalAddressWidth = 0x0000100A | ||
| 1144 | #if defined(__x86_64__) | ||
| 1145 | ,WHvCapabilityCodeVmxBasic = 0x00002000 | ||
| 1146 | ,WHvCapabilityCodeVmxPinbasedCtls = 0x00002001 | ||
| 1147 | ,WHvCapabilityCodeVmxProcbasedCtls = 0x00002002 | ||
| 1148 | ,WHvCapabilityCodeVmxExitCtls = 0x00002003 | ||
| 1149 | ,WHvCapabilityCodeVmxEntryCtls = 0x00002004 | ||
| 1150 | ,WHvCapabilityCodeVmxMisc = 0x00002005 | ||
| 1151 | ,WHvCapabilityCodeVmxCr0Fixed0 = 0x00002006 | ||
| 1152 | ,WHvCapabilityCodeVmxCr0Fixed1 = 0x00002007 | ||
| 1153 | ,WHvCapabilityCodeVmxCr4Fixed0 = 0x00002008 | ||
| 1154 | ,WHvCapabilityCodeVmxCr4Fixed1 = 0x00002009 | ||
| 1155 | ,WHvCapabilityCodeVmxVmcsEnum = 0x0000200A | ||
| 1156 | ,WHvCapabilityCodeVmxProcbasedCtls2 = 0x0000200B | ||
| 1157 | ,WHvCapabilityCodeVmxEptVpidCap = 0x0000200C | ||
| 1158 | ,WHvCapabilityCodeVmxTruePinbasedCtls = 0x0000200D | ||
| 1159 | ,WHvCapabilityCodeVmxTrueProcbasedCtls = 0x0000200E | ||
| 1160 | ,WHvCapabilityCodeVmxTrueExitCtls = 0x0000200F | ||
| 1161 | ,WHvCapabilityCodeVmxTrueEntryCtls = 0x00002010 | ||
| 1162 | #elif defined (__aarch64__) | ||
| 1163 | ,WHvCapabilityCodeGicLpiIntIdBits = 0x00002011 | ||
| 1164 | ,WHvCapabilityCodeMaxSveVectorLength = 0x00002012 | ||
| 1165 | #endif | ||
| 1166 | } WHV_CAPABILITY_CODE; | ||
| 1167 | |||
| 1168 | typedef union WHV_CAPABILITY_FEATURES { | ||
| 1169 | __C89_NAMELESS struct { | ||
| 1170 | UINT64 PartialUnmap : 1; | ||
| 1171 | #if defined(__x86_64__) | ||
| 1172 | UINT64 LocalApicEmulation : 1; | ||
| 1173 | UINT64 Xsave : 1; | ||
| 1174 | #else | ||
| 1175 | UINT64 ReservedArm0 : 2; | ||
| 1176 | #endif | ||
| 1177 | UINT64 DirtyPageTracking : 1; | ||
| 1178 | UINT64 SpeculationControl : 1; | ||
| 1179 | #if defined(__x86_64__) | ||
| 1180 | UINT64 ApicRemoteRead : 1; | ||
| 1181 | #else | ||
| 1182 | UINT64 ReservedArm1 : 1; | ||
| 1183 | #endif | ||
| 1184 | UINT64 IdleSuspend : 1; | ||
| 1185 | UINT64 VirtualPciDeviceSupport : 1; | ||
| 1186 | UINT64 IommuSupport : 1; | ||
| 1187 | UINT64 VpHotAddRemove : 1; | ||
| 1188 | UINT64 DeviceAccessTracking : 1; | ||
| 1189 | #if defined(__x86_64__) | ||
| 1190 | UINT64 ReservedX640 : 1; | ||
| 1191 | #else | ||
| 1192 | UINT64 Arm64Support : 1; | ||
| 1193 | #endif | ||
| 1194 | UINT64 Reserved : 52; | ||
| 1195 | }; | ||
| 1196 | UINT64 AsUINT64; | ||
| 1197 | } WHV_CAPABILITY_FEATURES; | ||
| 1198 | |||
| 1199 | C_ASSERT(sizeof(WHV_CAPABILITY_FEATURES) == sizeof(UINT64)); | ||
| 1200 | |||
| 1201 | typedef union WHV_EXTENDED_VM_EXITS { | ||
| 1202 | __C89_NAMELESS struct { | ||
| 1203 | #if defined(__x86_64__) | ||
| 1204 | UINT64 X64CpuidExit : 1; | ||
| 1205 | UINT64 X64MsrExit : 1; | ||
| 1206 | UINT64 ExceptionExit : 1; | ||
| 1207 | UINT64 X64RdtscExit : 1; | ||
| 1208 | UINT64 X64ApicSmiExitTrap : 1; | ||
| 1209 | #else | ||
| 1210 | UINT64 ReservedArm0 : 5; | ||
| 1211 | #endif | ||
| 1212 | UINT64 HypercallExit : 1; | ||
| 1213 | #if defined(__x86_64__) | ||
| 1214 | UINT64 X64ApicInitSipiExitTrap : 1; | ||
| 1215 | UINT64 X64ApicWriteLint0ExitTrap : 1; | ||
| 1216 | UINT64 X64ApicWriteLint1ExitTrap : 1; | ||
| 1217 | UINT64 X64ApicWriteSvrExitTrap : 1; | ||
| 1218 | #else | ||
| 1219 | UINT64 ReservedArm1 : 4; | ||
| 1220 | #endif | ||
| 1221 | UINT64 UnknownSynicConnection : 1; | ||
| 1222 | UINT64 RetargetUnknownVpciDevice : 1; | ||
| 1223 | #if defined(__x86_64__) | ||
| 1224 | UINT64 X64ApicWriteLdrExitTrap : 1; | ||
| 1225 | UINT64 X64ApicWriteDfrExitTrap : 1; | ||
| 1226 | #else | ||
| 1227 | UINT64 ReservedArm2 : 2; | ||
| 1228 | #endif | ||
| 1229 | UINT64 GpaAccessFaultExit : 1; | ||
| 1230 | UINT64 Reserved : 49; | ||
| 1231 | }; | ||
| 1232 | UINT64 AsUINT64; | ||
| 1233 | } WHV_EXTENDED_VM_EXITS; | ||
| 1234 | |||
| 1235 | C_ASSERT(sizeof(WHV_EXTENDED_VM_EXITS) == sizeof(UINT64)); | ||
| 1236 | |||
| 1237 | typedef enum WHV_PROCESSOR_VENDOR { | ||
| 1238 | WHvProcessorVendorAmd = 0x0000, | ||
| 1239 | WHvProcessorVendorIntel = 0x0001, | ||
| 1240 | WHvProcessorVendorHygon = 0x0002, | ||
| 1241 | WHvProcessorVendorArm = 0x0010 | ||
| 1242 | } WHV_PROCESSOR_VENDOR; | ||
| 1243 | |||
| 1244 | #if defined(__x86_64__) | ||
| 1245 | |||
| 1246 | typedef union WHV_X64_PROCESSOR_FEATURES { | ||
| 1247 | __C89_NAMELESS struct { | ||
| 1248 | UINT64 Sse3Support : 1; | ||
| 1249 | UINT64 LahfSahfSupport : 1; | ||
| 1250 | UINT64 Ssse3Support : 1; | ||
| 1251 | UINT64 Sse4_1Support : 1; | ||
| 1252 | UINT64 Sse4_2Support : 1; | ||
| 1253 | UINT64 Sse4aSupport : 1; | ||
| 1254 | UINT64 XopSupport : 1; | ||
| 1255 | UINT64 PopCntSupport : 1; | ||
| 1256 | UINT64 Cmpxchg16bSupport : 1; | ||
| 1257 | UINT64 Altmovcr8Support : 1; | ||
| 1258 | UINT64 LzcntSupport : 1; | ||
| 1259 | UINT64 MisAlignSseSupport : 1; | ||
| 1260 | UINT64 MmxExtSupport : 1; | ||
| 1261 | UINT64 Amd3DNowSupport : 1; | ||
| 1262 | UINT64 ExtendedAmd3DNowSupport : 1; | ||
| 1263 | UINT64 Page1GbSupport : 1; | ||
| 1264 | UINT64 AesSupport : 1; | ||
| 1265 | UINT64 PclmulqdqSupport : 1; | ||
| 1266 | UINT64 PcidSupport : 1; | ||
| 1267 | UINT64 Fma4Support : 1; | ||
| 1268 | UINT64 F16CSupport : 1; | ||
| 1269 | UINT64 RdRandSupport : 1; | ||
| 1270 | UINT64 RdWrFsGsSupport : 1; | ||
| 1271 | UINT64 SmepSupport : 1; | ||
| 1272 | UINT64 EnhancedFastStringSupport : 1; | ||
| 1273 | UINT64 Bmi1Support : 1; | ||
| 1274 | UINT64 Bmi2Support : 1; | ||
| 1275 | UINT64 Reserved1 : 2; | ||
| 1276 | UINT64 MovbeSupport : 1; | ||
| 1277 | UINT64 Npiep1Support : 1; | ||
| 1278 | UINT64 DepX87FPUSaveSupport : 1; | ||
| 1279 | UINT64 RdSeedSupport : 1; | ||
| 1280 | UINT64 AdxSupport : 1; | ||
| 1281 | UINT64 IntelPrefetchSupport : 1; | ||
| 1282 | UINT64 SmapSupport : 1; | ||
| 1283 | UINT64 HleSupport : 1; | ||
| 1284 | UINT64 RtmSupport : 1; | ||
| 1285 | UINT64 RdtscpSupport : 1; | ||
| 1286 | UINT64 ClflushoptSupport : 1; | ||
| 1287 | UINT64 ClwbSupport : 1; | ||
| 1288 | UINT64 ShaSupport : 1; | ||
| 1289 | UINT64 X87PointersSavedSupport : 1; | ||
| 1290 | UINT64 InvpcidSupport : 1; | ||
| 1291 | UINT64 IbrsSupport : 1; | ||
| 1292 | UINT64 StibpSupport : 1; | ||
| 1293 | UINT64 IbpbSupport : 1; | ||
| 1294 | UINT64 UnrestrictedGuestSupport : 1; | ||
| 1295 | UINT64 SsbdSupport : 1; | ||
| 1296 | UINT64 FastShortRepMovSupport : 1; | ||
| 1297 | UINT64 Reserved3 : 1; | ||
| 1298 | UINT64 RdclNo : 1; | ||
| 1299 | UINT64 IbrsAllSupport : 1; | ||
| 1300 | UINT64 Reserved4 : 1; | ||
| 1301 | UINT64 SsbNo : 1; | ||
| 1302 | UINT64 RsbANo : 1; | ||
| 1303 | UINT64 Reserved5 : 1; | ||
| 1304 | UINT64 RdPidSupport : 1; | ||
| 1305 | UINT64 UmipSupport : 1; | ||
| 1306 | UINT64 MdsNoSupport : 1; | ||
| 1307 | UINT64 MdClearSupport : 1; | ||
| 1308 | UINT64 TaaNoSupport : 1; | ||
| 1309 | UINT64 TsxCtrlSupport : 1; | ||
| 1310 | UINT64 Reserved6 : 1; | ||
| 1311 | }; | ||
| 1312 | UINT64 AsUINT64; | ||
| 1313 | } WHV_X64_PROCESSOR_FEATURES, WHV_PROCESSOR_FEATURES; | ||
| 1314 | |||
| 1315 | C_ASSERT(sizeof(WHV_X64_PROCESSOR_FEATURES) == sizeof(UINT64)); | ||
| 1316 | |||
| 1317 | typedef union WHV_X64_PROCESSOR_FEATURES1 { | ||
| 1318 | __C89_NAMELESS struct { | ||
| 1319 | UINT64 ACountMCountSupport : 1; | ||
| 1320 | UINT64 TscInvariantSupport : 1; | ||
| 1321 | UINT64 ClZeroSupport : 1; | ||
| 1322 | UINT64 RdpruSupport : 1; | ||
| 1323 | UINT64 La57Support : 1; | ||
| 1324 | UINT64 MbecSupport : 1; | ||
| 1325 | UINT64 NestedVirtSupport : 1; | ||
| 1326 | UINT64 PsfdSupport: 1; | ||
| 1327 | UINT64 CetSsSupport : 1; | ||
| 1328 | UINT64 CetIbtSupport : 1; | ||
| 1329 | UINT64 VmxExceptionInjectSupport : 1; | ||
| 1330 | UINT64 Reserved2 : 1; | ||
| 1331 | UINT64 UmwaitTpauseSupport : 1; | ||
| 1332 | UINT64 MovdiriSupport : 1; | ||
| 1333 | UINT64 Movdir64bSupport : 1; | ||
| 1334 | UINT64 CldemoteSupport : 1; | ||
| 1335 | UINT64 SerializeSupport : 1; | ||
| 1336 | UINT64 TscDeadlineTmrSupport : 1; | ||
| 1337 | UINT64 TscAdjustSupport : 1; | ||
| 1338 | UINT64 FZLRepMovsb : 1; | ||
| 1339 | UINT64 FSRepStosb : 1; | ||
| 1340 | UINT64 FSRepCmpsb : 1; | ||
| 1341 | UINT64 TsxLdTrkSupport : 1; | ||
| 1342 | UINT64 VmxInsOutsExitInfoSupport : 1; | ||
| 1343 | UINT64 Reserved3 : 1; | ||
| 1344 | UINT64 SbdrSsdpNoSupport : 1; | ||
| 1345 | UINT64 FbsdpNoSupport : 1; | ||
| 1346 | UINT64 PsdpNoSupport : 1; | ||
| 1347 | UINT64 FbClearSupport : 1; | ||
| 1348 | UINT64 BtcNoSupport : 1; | ||
| 1349 | UINT64 IbpbRsbFlushSupport : 1; | ||
| 1350 | UINT64 StibpAlwaysOnSupport : 1; | ||
| 1351 | UINT64 PerfGlobalCtrlSupport : 1; | ||
| 1352 | UINT64 NptExecuteOnlySupport : 1; | ||
| 1353 | UINT64 NptADFlagsSupport : 1; | ||
| 1354 | UINT64 Npt1GbPageSupport : 1; | ||
| 1355 | UINT64 Reserved4 : 1; | ||
| 1356 | UINT64 Reserved5 : 1; | ||
| 1357 | UINT64 Reserved6 : 1; | ||
| 1358 | UINT64 Reserved7 : 1; | ||
| 1359 | UINT64 CmpccxaddSupport : 1; | ||
| 1360 | UINT64 Reserved8 : 1; | ||
| 1361 | UINT64 Reserved9 : 1; | ||
| 1362 | UINT64 Reserved10 : 1; | ||
| 1363 | UINT64 Reserved11 : 1; | ||
| 1364 | UINT64 PrefetchISupport : 1; | ||
| 1365 | UINT64 Sha512Support : 1; | ||
| 1366 | UINT64 Reserved12 : 1; | ||
| 1367 | UINT64 Reserved13 : 1; | ||
| 1368 | UINT64 Reserved14 : 1; | ||
| 1369 | UINT64 SM3Support : 1; | ||
| 1370 | UINT64 SM4Support : 1; | ||
| 1371 | UINT64 Reserved15 : 1; | ||
| 1372 | UINT64 Reserved16 : 1; | ||
| 1373 | UINT64 SbpbSupported : 1; | ||
| 1374 | UINT64 IbpbBrTypeSupported : 1; | ||
| 1375 | UINT64 SrsoNoSupported : 1; | ||
| 1376 | UINT64 SrsoUserKernelNoSupported : 1; | ||
| 1377 | UINT64 Reserved17 : 1; | ||
| 1378 | UINT64 Reserved18 : 1; | ||
| 1379 | UINT64 Reserved19 : 1; | ||
| 1380 | UINT64 Reserved20 : 3; | ||
| 1381 | }; | ||
| 1382 | UINT64 AsUINT64; | ||
| 1383 | } WHV_X64_PROCESSOR_FEATURES1, WHV_PROCESSOR_FEATURES1; | ||
| 1384 | |||
| 1385 | C_ASSERT(sizeof(WHV_X64_PROCESSOR_FEATURES1) == sizeof(UINT64)); | ||
| 1386 | |||
| 1387 | #elif defined(__aarch64__) | ||
| 1388 | |||
| 1389 | typedef union WHV_ARM64_PROCESSOR_FEATURES { | ||
| 1390 | __C89_NAMELESS struct { | ||
| 1391 | UINT64 Asid16 : 1; | ||
| 1392 | UINT64 TGran16 : 1; | ||
| 1393 | UINT64 TGran64 : 1; | ||
| 1394 | UINT64 Haf : 1; | ||
| 1395 | UINT64 Hdbs : 1; | ||
| 1396 | UINT64 Pan : 1; | ||
| 1397 | UINT64 AtS1E1 : 1; | ||
| 1398 | UINT64 Uao : 1; | ||
| 1399 | UINT64 El0Aarch32 : 1; | ||
| 1400 | UINT64 Fp : 1; | ||
| 1401 | UINT64 FpHp : 1; | ||
| 1402 | UINT64 AdvSimd : 1; | ||
| 1403 | UINT64 AdvSimdHp : 1; | ||
| 1404 | UINT64 GicV3V4 : 1; | ||
| 1405 | UINT64 GicV41 : 1; | ||
| 1406 | UINT64 Ras : 1; | ||
| 1407 | UINT64 PmuV3 : 1; | ||
| 1408 | UINT64 PmuV3ArmV81 : 1; | ||
| 1409 | UINT64 PmuV3ArmV84 : 1; | ||
| 1410 | UINT64 PmuV3ArmV85 : 1; | ||
| 1411 | UINT64 Aes : 1; | ||
| 1412 | UINT64 PolyMul : 1; | ||
| 1413 | UINT64 Sha1 : 1; | ||
| 1414 | UINT64 Sha256 : 1; | ||
| 1415 | UINT64 Sha512 : 1; | ||
| 1416 | UINT64 Crc32 : 1; | ||
| 1417 | UINT64 Atomic : 1; | ||
| 1418 | UINT64 Rdm : 1; | ||
| 1419 | UINT64 Sha3 : 1; | ||
| 1420 | UINT64 Sm3 : 1; | ||
| 1421 | UINT64 Sm4 : 1; | ||
| 1422 | UINT64 Dp : 1; | ||
| 1423 | UINT64 Fhm : 1; | ||
| 1424 | UINT64 DcCvap : 1; | ||
| 1425 | UINT64 DcCvadp : 1; | ||
| 1426 | UINT64 ApaBase : 1; | ||
| 1427 | UINT64 ApaEp : 1; | ||
| 1428 | UINT64 ApaEp2 : 1; | ||
| 1429 | UINT64 ApaEp2Fp : 1; | ||
| 1430 | UINT64 ApaEp2Fpc : 1; | ||
| 1431 | UINT64 Jscvt : 1; | ||
| 1432 | UINT64 Fcma : 1; | ||
| 1433 | UINT64 RcpcV83 : 1; | ||
| 1434 | UINT64 RcpcV84 : 1; | ||
| 1435 | UINT64 Gpa : 1; | ||
| 1436 | UINT64 L1ipPipt : 1; | ||
| 1437 | UINT64 DzPermitted : 1; | ||
| 1438 | UINT64 Ssbs : 1; | ||
| 1439 | UINT64 SsbsRw : 1; | ||
| 1440 | UINT64 Reserved49 : 1; | ||
| 1441 | UINT64 Reserved50 : 1; | ||
| 1442 | UINT64 Reserved51 : 1; | ||
| 1443 | UINT64 Reserved52 : 1; | ||
| 1444 | UINT64 Csv2 : 1; | ||
| 1445 | UINT64 Csv3 : 1; | ||
| 1446 | UINT64 Sb : 1; | ||
| 1447 | UINT64 Idc : 1; | ||
| 1448 | UINT64 Dic : 1; | ||
| 1449 | UINT64 TlbiOs : 1; | ||
| 1450 | UINT64 TlbiOsRange : 1; | ||
| 1451 | UINT64 FlagsM : 1; | ||
| 1452 | UINT64 FlagsM2 : 1; | ||
| 1453 | UINT64 Bf16 : 1; | ||
| 1454 | UINT64 Ebf16 : 1; | ||
| 1455 | }; | ||
| 1456 | UINT64 AsUINT64; | ||
| 1457 | } WHV_ARM64_PROCESSOR_FEATURES, WHV_PROCESSOR_FEATURES; | ||
| 1458 | |||
| 1459 | typedef union WHV_ARM64_PROCESSOR_FEATURES1 { | ||
| 1460 | __C89_NAMELESS struct { | ||
| 1461 | UINT64 SveBf16 : 1; | ||
| 1462 | UINT64 SveEbf16 : 1; | ||
| 1463 | UINT64 I8mm : 1; | ||
| 1464 | UINT64 SveI8mm : 1; | ||
| 1465 | UINT64 Frintts : 1; | ||
| 1466 | UINT64 Specres : 1; | ||
| 1467 | UINT64 Reserved6 : 1; | ||
| 1468 | UINT64 Rpres : 1; | ||
| 1469 | UINT64 Exs : 1; | ||
| 1470 | UINT64 SpecSei : 1; | ||
| 1471 | UINT64 Ets : 1; | ||
| 1472 | UINT64 Afp : 1; | ||
| 1473 | UINT64 Iesb : 1; | ||
| 1474 | UINT64 Rng : 1; | ||
| 1475 | UINT64 Lse2 : 1; | ||
| 1476 | UINT64 Idst : 1; | ||
| 1477 | UINT64 Reserved16 : 1; | ||
| 1478 | UINT64 Reserved17 : 1; | ||
| 1479 | UINT64 Reserved18 : 1; | ||
| 1480 | UINT64 Reserved19 : 1; | ||
| 1481 | UINT64 Reserved20 : 1; | ||
| 1482 | UINT64 Reserved21 : 1; | ||
| 1483 | UINT64 Ccidx : 1; | ||
| 1484 | UINT64 Reserved23 : 1; | ||
| 1485 | UINT64 Reserved24 : 1; | ||
| 1486 | UINT64 Reserved25 : 1; | ||
| 1487 | UINT64 Reserved26 : 1; | ||
| 1488 | UINT64 Reserved27 : 1; | ||
| 1489 | UINT64 Reserved28 : 1; | ||
| 1490 | UINT64 Reserved29 : 1; | ||
| 1491 | UINT64 Reserved30 : 1; | ||
| 1492 | UINT64 Reserved31 : 1; | ||
| 1493 | UINT64 Reserved32 : 1; | ||
| 1494 | UINT64 Reserved33 : 1; | ||
| 1495 | UINT64 Reserved34 : 1; | ||
| 1496 | UINT64 TtCnp : 1; | ||
| 1497 | UINT64 Hpds : 1; | ||
| 1498 | UINT64 Sve : 1; | ||
| 1499 | UINT64 SveV2 : 1; | ||
| 1500 | UINT64 SveV2P1 : 1; | ||
| 1501 | UINT64 SpecFpacc : 1; | ||
| 1502 | UINT64 SveAes : 1; | ||
| 1503 | UINT64 SveBitPerm : 1; | ||
| 1504 | UINT64 SveSha3 : 1; | ||
| 1505 | UINT64 SveSm4 : 1; | ||
| 1506 | UINT64 E0PD : 1; | ||
| 1507 | UINT64 Reserved : 8; | ||
| 1508 | }; | ||
| 1509 | UINT64 AsUINT64; | ||
| 1510 | } WHV_ARM64_PROCESSOR_FEATURES1, WHV_PROCESSOR_FEATURES1; | ||
| 1511 | |||
| 1512 | #endif /* __x86_64__ || __aarch64__ */ | ||
| 1513 | |||
| 1514 | #define WHV_PROCESSOR_FEATURES_BANKS_COUNT 2 | ||
| 1515 | |||
| 1516 | typedef struct WHV_PROCESSOR_FEATURES_BANKS { | ||
| 1517 | UINT32 BanksCount; | ||
| 1518 | UINT32 Reserved0; | ||
| 1519 | __C89_NAMELESS union { | ||
| 1520 | __C89_NAMELESS struct { | ||
| 1521 | WHV_PROCESSOR_FEATURES Bank0; | ||
| 1522 | WHV_PROCESSOR_FEATURES1 Bank1; | ||
| 1523 | }; | ||
| 1524 | UINT64 AsUINT64[WHV_PROCESSOR_FEATURES_BANKS_COUNT]; | ||
| 1525 | }; | ||
| 1526 | } WHV_PROCESSOR_FEATURES_BANKS; | ||
| 1527 | |||
| 1528 | C_ASSERT(sizeof(WHV_PROCESSOR_FEATURES_BANKS) == sizeof(UINT64) * (WHV_PROCESSOR_FEATURES_BANKS_COUNT + 1)); | ||
| 1529 | |||
| 1530 | typedef union WHV_SYNTHETIC_PROCESSOR_FEATURES { | ||
| 1531 | __C89_NAMELESS struct { | ||
| 1532 | UINT64 HypervisorPresent : 1; | ||
| 1533 | UINT64 Hv1 : 1; | ||
| 1534 | UINT64 AccessVpRunTimeReg : 1; | ||
| 1535 | UINT64 AccessPartitionReferenceCounter : 1; | ||
| 1536 | UINT64 AccessSynicRegs : 1; | ||
| 1537 | UINT64 AccessSyntheticTimerRegs : 1; | ||
| 1538 | UINT64 AccessIntrCtrlRegs : 1; | ||
| 1539 | UINT64 AccessHypercallRegs : 1; | ||
| 1540 | UINT64 AccessVpIndex : 1; | ||
| 1541 | UINT64 AccessPartitionReferenceTsc : 1; | ||
| 1542 | #ifdef __x86_64__ | ||
| 1543 | UINT64 AccessGuestIdleReg : 1; | ||
| 1544 | UINT64 AccessFrequencyRegs : 1; | ||
| 1545 | #else | ||
| 1546 | UINT64 ReservedZ10 : 1; | ||
| 1547 | UINT64 ReservedZ11 : 1; | ||
| 1548 | #endif | ||
| 1549 | UINT64 ReservedZ12 : 1; | ||
| 1550 | UINT64 ReservedZ13 : 1; | ||
| 1551 | UINT64 ReservedZ14 : 1; | ||
| 1552 | #ifdef __x86_64__ | ||
| 1553 | UINT64 EnableExtendedGvaRangesForFlushVirtualAddressList : 1; | ||
| 1554 | #else | ||
| 1555 | UINT64 ReservedZ15 : 1; | ||
| 1556 | #endif | ||
| 1557 | UINT64 ReservedZ16 : 1; | ||
| 1558 | UINT64 ReservedZ17 : 1; | ||
| 1559 | UINT64 FastHypercallOutput : 1; | ||
| 1560 | UINT64 ReservedZ19 : 1; | ||
| 1561 | UINT64 ReservedZ20 : 1; | ||
| 1562 | UINT64 ReservedZ21 : 1; | ||
| 1563 | UINT64 DirectSyntheticTimers : 1; | ||
| 1564 | UINT64 ReservedZ23 : 1; | ||
| 1565 | UINT64 ExtendedProcessorMasks : 1; | ||
| 1566 | UINT64 TbFlushHypercalls : 1; | ||
| 1567 | UINT64 SyntheticClusterIpi : 1; | ||
| 1568 | UINT64 NotifyLongSpinWait : 1; | ||
| 1569 | UINT64 QueryNumaDistance : 1; | ||
| 1570 | UINT64 SignalEvents : 1; | ||
| 1571 | UINT64 RetargetDeviceInterrupt : 1; | ||
| 1572 | #ifdef __x86_64__ | ||
| 1573 | UINT64 RestoreTime : 1; | ||
| 1574 | UINT64 EnlightenedVmcs : 1; | ||
| 1575 | UINT64 NestedDebugCtl : 1; | ||
| 1576 | UINT64 SyntheticTimeUnhaltedTimer : 1; | ||
| 1577 | UINT64 IdleSpecCtrl : 1; | ||
| 1578 | #else | ||
| 1579 | UINT64 ReservedZ31 : 1; | ||
| 1580 | UINT64 ReservedZ32 : 1; | ||
| 1581 | UINT64 ReservedZ33 : 1; | ||
| 1582 | UINT64 ReservedZ34 : 1; | ||
| 1583 | UINT64 ReservedZ35 : 1; | ||
| 1584 | #endif | ||
| 1585 | UINT64 ReservedZ36 : 1; | ||
| 1586 | UINT64 WakeVps : 1; | ||
| 1587 | UINT64 AccessVpRegs : 1; | ||
| 1588 | #ifdef __aarch64__ | ||
| 1589 | UINT64 SyncContext : 1; | ||
| 1590 | #else | ||
| 1591 | UINT64 ReservedZ39 : 1; | ||
| 1592 | #endif | ||
| 1593 | UINT64 ReservedZ40 : 1; | ||
| 1594 | UINT64 ReservedZ41 : 1; | ||
| 1595 | UINT64 ReservedZ42 : 1; | ||
| 1596 | UINT64 ReservedZ43 : 1; | ||
| 1597 | UINT64 ReservedZ44 : 1; | ||
| 1598 | UINT64 Reserved : 19; | ||
| 1599 | }; | ||
| 1600 | UINT64 AsUINT64; | ||
| 1601 | } WHV_SYNTHETIC_PROCESSOR_FEATURES; | ||
| 1602 | |||
| 1603 | C_ASSERT(sizeof(WHV_SYNTHETIC_PROCESSOR_FEATURES) == 8); | ||
| 1604 | |||
| 1605 | #define WHV_SYNTHETIC_PROCESSOR_FEATURES_BANKS_COUNT 1 | ||
| 1606 | |||
| 1607 | typedef struct WHV_SYNTHETIC_PROCESSOR_FEATURES_BANKS { | ||
| 1608 | UINT32 BanksCount; | ||
| 1609 | UINT32 Reserved0; | ||
| 1610 | __C89_NAMELESS union { | ||
| 1611 | __C89_NAMELESS struct { | ||
| 1612 | WHV_SYNTHETIC_PROCESSOR_FEATURES Bank0; | ||
| 1613 | }; | ||
| 1614 | UINT64 AsUINT64[WHV_SYNTHETIC_PROCESSOR_FEATURES_BANKS_COUNT]; | ||
| 1615 | }; | ||
| 1616 | } WHV_SYNTHETIC_PROCESSOR_FEATURES_BANKS; | ||
| 1617 | |||
| 1618 | C_ASSERT(sizeof(WHV_SYNTHETIC_PROCESSOR_FEATURES_BANKS) == 16); | ||
| 1619 | |||
| 1620 | typedef UINT8 WHV_VTL; | ||
| 1621 | |||
| 1622 | #define WHV_VTL_ALL 0xF | ||
| 1623 | |||
| 1624 | typedef union WHV_INPUT_VTL { | ||
| 1625 | UINT8 AsUINT8; | ||
| 1626 | __C89_NAMELESS struct { | ||
| 1627 | UINT8 TargetVtl : 4; | ||
| 1628 | UINT8 UseTargetVtl : 1; | ||
| 1629 | UINT8 Reserved : 3; | ||
| 1630 | }; | ||
| 1631 | } WHV_INPUT_VTL; | ||
| 1632 | |||
| 1633 | typedef union WHV_ENABLE_PARTITION_VTL_FLAGS { | ||
| 1634 | UINT8 AsUINT8; | ||
| 1635 | __C89_NAMELESS struct { | ||
| 1636 | UINT8 EnableMbec : 1; | ||
| 1637 | UINT8 EnableSupervisorShadowStack : 1; | ||
| 1638 | UINT8 EnableHardwareHvpt : 1; | ||
| 1639 | UINT8 Reserved : 5; | ||
| 1640 | }; | ||
| 1641 | } WHV_ENABLE_PARTITION_VTL_FLAGS; | ||
| 1642 | |||
| 1643 | typedef union WHV_DISABLE_PARTITION_VTL_FLAGS { | ||
| 1644 | UINT8 AsUINT8; | ||
| 1645 | __C89_NAMELESS struct { | ||
| 1646 | UINT8 ScrubOnly : 1; | ||
| 1647 | UINT8 Reserved : 7; | ||
| 1648 | }; | ||
| 1649 | } WHV_DISABLE_PARTITION_VTL_FLAGS; | ||
| 1650 | |||
| 1651 | typedef struct WHV_INITIAL_VP_CONTEXT { | ||
| 1652 | #if defined(__aarch64__) | ||
| 1653 | UINT64 Pc; | ||
| 1654 | UINT64 Sp_ELh; | ||
| 1655 | UINT64 SCTLR_EL1; | ||
| 1656 | UINT64 MAIR_EL1; | ||
| 1657 | UINT64 TCR_EL1; | ||
| 1658 | UINT64 VBAR_EL1; | ||
| 1659 | UINT64 TTBR0_EL1; | ||
| 1660 | UINT64 TTBR1_EL1; | ||
| 1661 | UINT64 X18; | ||
| 1662 | #else | ||
| 1663 | UINT64 Rip; | ||
| 1664 | UINT64 Rsp; | ||
| 1665 | UINT64 Rflags; | ||
| 1666 | WHV_X64_SEGMENT_REGISTER Cs; | ||
| 1667 | WHV_X64_SEGMENT_REGISTER Ds; | ||
| 1668 | WHV_X64_SEGMENT_REGISTER Es; | ||
| 1669 | WHV_X64_SEGMENT_REGISTER Fs; | ||
| 1670 | WHV_X64_SEGMENT_REGISTER Gs; | ||
| 1671 | WHV_X64_SEGMENT_REGISTER Ss; | ||
| 1672 | WHV_X64_SEGMENT_REGISTER Tr; | ||
| 1673 | WHV_X64_SEGMENT_REGISTER Ldtr; | ||
| 1674 | WHV_X64_TABLE_REGISTER Idtr; | ||
| 1675 | WHV_X64_TABLE_REGISTER Gdtr; | ||
| 1676 | UINT64 Efer; | ||
| 1677 | UINT64 Cr0; | ||
| 1678 | UINT64 Cr3; | ||
| 1679 | UINT64 Cr4; | ||
| 1680 | UINT64 MsrCrPat; | ||
| 1681 | #endif | ||
| 1682 | } WHV_INITIAL_VP_CONTEXT; | ||
| 1683 | |||
| 1684 | typedef union WHV_DISABLE_VP_VTL_FLAGS { | ||
| 1685 | UINT8 AsUINT8; | ||
| 1686 | __C89_NAMELESS struct { | ||
| 1687 | UINT8 ScrubOnly : 1; | ||
| 1688 | UINT8 Reserved : 7; | ||
| 1689 | }; | ||
| 1690 | } WHV_DISABLE_VP_VTL_FLAGS; | ||
| 1691 | |||
| 1692 | typedef VOID* WHV_PARTITION_HANDLE; | ||
| 1693 | |||
| 1694 | typedef enum WHV_PARTITION_PROPERTY_CODE { | ||
| 1695 | WHvPartitionPropertyCodeExtendedVmExits = 0x00000001, | ||
| 1696 | #if defined(__x86_64__) | ||
| 1697 | WHvPartitionPropertyCodeExceptionExitBitmap = 0x00000002, | ||
| 1698 | #endif | ||
| 1699 | WHvPartitionPropertyCodeSeparateSecurityDomain = 0x00000003, | ||
| 1700 | WHvPartitionPropertyCodeNestedVirtualization = 0x00000004, | ||
| 1701 | #if defined(__x86_64__) | ||
| 1702 | WHvPartitionPropertyCodeX64MsrExitBitmap = 0x00000005, | ||
| 1703 | #endif | ||
| 1704 | WHvPartitionPropertyCodePrimaryNumaNode = 0x00000006, | ||
| 1705 | WHvPartitionPropertyCodeCpuReserve = 0x00000007, | ||
| 1706 | WHvPartitionPropertyCodeCpuCap = 0x00000008, | ||
| 1707 | WHvPartitionPropertyCodeCpuWeight = 0x00000009, | ||
| 1708 | WHvPartitionPropertyCodeCpuGroupId = 0x0000000A, | ||
| 1709 | WHvPartitionPropertyCodeProcessorFrequencyCap = 0x0000000B, | ||
| 1710 | WHvPartitionPropertyCodeAllowDeviceAssignment = 0x0000000C, | ||
| 1711 | WHvPartitionPropertyCodeDisableSmt = 0x0000000D, | ||
| 1712 | WHvPartitionPropertyCodeProcessorFeatures = 0x00001001, | ||
| 1713 | WHvPartitionPropertyCodeProcessorClFlushSize = 0x00001002, | ||
| 1714 | #if defined(__x86_64__) | ||
| 1715 | WHvPartitionPropertyCodeCpuidExitList = 0x00001003, | ||
| 1716 | WHvPartitionPropertyCodeCpuidResultList = 0x00001004, | ||
| 1717 | WHvPartitionPropertyCodeLocalApicEmulationMode = 0x00001005, | ||
| 1718 | WHvPartitionPropertyCodeProcessorXsaveFeatures = 0x00001006, | ||
| 1719 | #endif | ||
| 1720 | WHvPartitionPropertyCodeProcessorClockFrequency = 0x00001007, | ||
| 1721 | #if defined(__x86_64__) | ||
| 1722 | WHvPartitionPropertyCodeInterruptClockFrequency = 0x00001008, | ||
| 1723 | WHvPartitionPropertyCodeApicRemoteReadSupport = 0x00001009, | ||
| 1724 | #endif | ||
| 1725 | WHvPartitionPropertyCodeProcessorFeaturesBanks = 0x0000100A, | ||
| 1726 | WHvPartitionPropertyCodeReferenceTime = 0x0000100B, | ||
| 1727 | WHvPartitionPropertyCodeSyntheticProcessorFeaturesBanks = 0x0000100C, | ||
| 1728 | #if defined(__x86_64__) | ||
| 1729 | WHvPartitionPropertyCodeCpuidResultList2 = 0x0000100D, | ||
| 1730 | WHvPartitionPropertyCodeProcessorPerfmonFeatures = 0x0000100E, | ||
| 1731 | WHvPartitionPropertyCodeMsrActionList = 0x0000100F, | ||
| 1732 | WHvPartitionPropertyCodeUnimplementedMsrAction = 0x00001010, | ||
| 1733 | #endif | ||
| 1734 | WHvPartitionPropertyCodePhysicalAddressWidth = 0x00001011, | ||
| 1735 | #if defined(__aarch64__) | ||
| 1736 | WHvPartitionPropertyCodeArm64IcParameters = 0x00001012, | ||
| 1737 | #endif | ||
| 1738 | WHvPartitionPropertyCodeProcessorCount = 0x00001fff | ||
| 1739 | } WHV_PARTITION_PROPERTY_CODE; | ||
| 1416 | 1740 | ||
| 1417 | #endif /* __x86_64__ || __aarch64__ */ | 1741 | #if defined(__x86_64__) |
| 1418 | 1742 | ||
| 1419 | typedef union DECLSPEC_ALIGN(16) WHV_UINT128 { | 1743 | typedef union WHV_PROCESSOR_XSAVE_FEATURES { |
| 1420 | __C89_NAMELESS struct { | 1744 | __C89_NAMELESS struct { |
| 1421 | UINT64 Low64; | 1745 | UINT64 XsaveSupport : 1; |
| 1422 | UINT64 High64; | 1746 | UINT64 XsaveoptSupport : 1; |
| 1747 | UINT64 AvxSupport : 1; | ||
| 1748 | UINT64 Avx2Support : 1; | ||
| 1749 | UINT64 FmaSupport : 1; | ||
| 1750 | UINT64 MpxSupport : 1; | ||
| 1751 | UINT64 Avx512Support : 1; | ||
| 1752 | UINT64 Avx512DQSupport : 1; | ||
| 1753 | UINT64 Avx512CDSupport : 1; | ||
| 1754 | UINT64 Avx512BWSupport : 1; | ||
| 1755 | UINT64 Avx512VLSupport : 1; | ||
| 1756 | UINT64 XsaveCompSupport : 1; | ||
| 1757 | UINT64 XsaveSupervisorSupport : 1; | ||
| 1758 | UINT64 Xcr1Support : 1; | ||
| 1759 | UINT64 Avx512BitalgSupport : 1; | ||
| 1760 | UINT64 Avx512IfmaSupport : 1; | ||
| 1761 | UINT64 Avx512VBmiSupport : 1; | ||
| 1762 | UINT64 Avx512VBmi2Support : 1; | ||
| 1763 | UINT64 Avx512VnniSupport : 1; | ||
| 1764 | UINT64 GfniSupport : 1; | ||
| 1765 | UINT64 VaesSupport : 1; | ||
| 1766 | UINT64 Avx512VPopcntdqSupport : 1; | ||
| 1767 | UINT64 VpclmulqdqSupport : 1; | ||
| 1768 | UINT64 Avx512Bf16Support : 1; | ||
| 1769 | UINT64 Avx512Vp2IntersectSupport : 1; | ||
| 1770 | UINT64 Avx512Fp16Support : 1; | ||
| 1771 | UINT64 XfdSupport : 1; | ||
| 1772 | UINT64 AmxTileSupport : 1; | ||
| 1773 | UINT64 AmxBf16Support : 1; | ||
| 1774 | UINT64 AmxInt8Support : 1; | ||
| 1775 | UINT64 AvxVnniSupport : 1; | ||
| 1776 | UINT64 AvxIfmaSupport : 1; | ||
| 1777 | UINT64 AvxNeConvertSupport : 1; | ||
| 1778 | UINT64 AvxVnniInt8Support : 1; | ||
| 1779 | UINT64 AvxVnniInt16Support : 1; | ||
| 1780 | UINT64 Avx10_1_256Support : 1; | ||
| 1781 | UINT64 Avx10_1_512Support : 1; | ||
| 1782 | UINT64 AmxFp16Support : 1; | ||
| 1783 | UINT64 Reserved : 26; | ||
| 1423 | }; | 1784 | }; |
| 1424 | UINT32 Dword[4]; | 1785 | UINT64 AsUINT64; |
| 1425 | } WHV_UINT128; | 1786 | } WHV_PROCESSOR_XSAVE_FEATURES, *PWHV_PROCESSOR_XSAVE_FEATURES; |
| 1426 | 1787 | ||
| 1427 | C_ASSERT(sizeof(WHV_UINT128) == 16); | 1788 | C_ASSERT(sizeof(WHV_PROCESSOR_XSAVE_FEATURES) == sizeof(UINT64)); |
| 1428 | 1789 | ||
| 1429 | typedef union WHV_X64_FP_REGISTER { | 1790 | typedef union WHV_PROCESSOR_PERFMON_FEATURES { |
| 1430 | __C89_NAMELESS struct { | 1791 | __C89_NAMELESS struct { |
| 1431 | UINT64 Mantissa; | 1792 | UINT64 PmuSupport : 1; |
| 1432 | UINT64 BiasedExponent:15; | 1793 | UINT64 LbrSupport : 1; |
| 1433 | UINT64 Sign:1; | 1794 | UINT64 Reserved : 62; |
| 1434 | UINT64 Reserved:48; | ||
| 1435 | }; | 1795 | }; |
| 1436 | WHV_UINT128 AsUINT128; | 1796 | UINT64 AsUINT64; |
| 1437 | } WHV_X64_FP_REGISTER; | 1797 | } WHV_PROCESSOR_PERFMON_FEATURES, *PWHV_PROCESSOR_PERFMON_FEATURES; |
| 1438 | 1798 | ||
| 1439 | C_ASSERT(sizeof(WHV_X64_FP_REGISTER) == 16); | 1799 | C_ASSERT(sizeof(WHV_PROCESSOR_PERFMON_FEATURES) == 8); |
| 1440 | 1800 | ||
| 1441 | typedef union WHV_X64_FP_CONTROL_STATUS_REGISTER { | 1801 | typedef union WHV_X64_MSR_EXIT_BITMAP { |
| 1802 | UINT64 AsUINT64; | ||
| 1442 | __C89_NAMELESS struct { | 1803 | __C89_NAMELESS struct { |
| 1443 | UINT16 FpControl; | 1804 | UINT64 UnhandledMsrs : 1; |
| 1444 | UINT16 FpStatus; | 1805 | UINT64 TscMsrWrite : 1; |
| 1445 | UINT8 FpTag; | 1806 | UINT64 TscMsrRead : 1; |
| 1446 | UINT8 Reserved; | 1807 | UINT64 ApicBaseMsrWrite : 1; |
| 1447 | UINT16 LastFpOp; | 1808 | UINT64 MiscEnableMsrRead : 1; |
| 1448 | __C89_NAMELESS union { | 1809 | UINT64 McUpdatePatchLevelMsrRead : 1; |
| 1449 | UINT64 LastFpRip; | 1810 | UINT64 Reserved : 58; |
| 1450 | __C89_NAMELESS struct { | ||
| 1451 | UINT32 LastFpEip; | ||
| 1452 | UINT16 LastFpCs; | ||
| 1453 | UINT16 Reserved2; | ||
| 1454 | }; | ||
| 1455 | }; | ||
| 1456 | }; | 1811 | }; |
| 1457 | WHV_UINT128 AsUINT128; | 1812 | } WHV_X64_MSR_EXIT_BITMAP; |
| 1458 | } WHV_X64_FP_CONTROL_STATUS_REGISTER; | ||
| 1459 | |||
| 1460 | C_ASSERT(sizeof(WHV_X64_FP_CONTROL_STATUS_REGISTER) == 16); | ||
| 1461 | 1813 | ||
| 1462 | typedef union WHV_X64_XMM_CONTROL_STATUS_REGISTER { | 1814 | C_ASSERT(sizeof(WHV_X64_MSR_EXIT_BITMAP) == sizeof(UINT64)); |
| 1463 | __C89_NAMELESS struct { | ||
| 1464 | __C89_NAMELESS union { | ||
| 1465 | UINT64 LastFpRdp; | ||
| 1466 | __C89_NAMELESS struct { | ||
| 1467 | UINT32 LastFpDp; | ||
| 1468 | UINT16 LastFpDs; | ||
| 1469 | UINT16 Reserved; | ||
| 1470 | }; | ||
| 1471 | }; | ||
| 1472 | UINT32 XmmStatusControl; | ||
| 1473 | UINT32 XmmStatusControlMask; | ||
| 1474 | }; | ||
| 1475 | WHV_UINT128 AsUINT128; | ||
| 1476 | } WHV_X64_XMM_CONTROL_STATUS_REGISTER; | ||
| 1477 | 1815 | ||
| 1478 | C_ASSERT(sizeof(WHV_X64_FP_CONTROL_STATUS_REGISTER) == 16); | 1816 | #endif /* defined(__x86_64__) */ |
| 1479 | 1817 | ||
| 1480 | typedef struct WHV_X64_SEGMENT_REGISTER { | 1818 | typedef enum WHV_MAP_GPA_RANGE_FLAGS { |
| 1481 | UINT64 Base; | 1819 | WHvMapGpaRangeFlagNone = 0x00000000, |
| 1482 | UINT32 Limit; | 1820 | WHvMapGpaRangeFlagRead = 0x00000001, |
| 1483 | UINT16 Selector; | 1821 | WHvMapGpaRangeFlagWrite = 0x00000002, |
| 1484 | __C89_NAMELESS union { | 1822 | WHvMapGpaRangeFlagExecute = 0x00000004, |
| 1485 | __C89_NAMELESS struct { | 1823 | WHvMapGpaRangeFlagTrackDirtyPages = 0x00000008 |
| 1486 | UINT16 SegmentType:4; | 1824 | } WHV_MAP_GPA_RANGE_FLAGS; |
| 1487 | UINT16 NonSystemSegment:1; | ||
| 1488 | UINT16 DescriptorPrivilegeLevel:2; | ||
| 1489 | UINT16 Present:1; | ||
| 1490 | UINT16 Reserved:4; | ||
| 1491 | UINT16 Available:1; | ||
| 1492 | UINT16 Long:1; | ||
| 1493 | UINT16 Default:1; | ||
| 1494 | UINT16 Granularity:1; | ||
| 1495 | }; | ||
| 1496 | UINT16 Attributes; | ||
| 1497 | }; | ||
| 1498 | } WHV_X64_SEGMENT_REGISTER; | ||
| 1499 | 1825 | ||
| 1500 | C_ASSERT(sizeof(WHV_X64_SEGMENT_REGISTER) == 16); | 1826 | DEFINE_ENUM_FLAG_OPERATORS(WHV_MAP_GPA_RANGE_FLAGS); |
| 1501 | 1827 | ||
| 1502 | typedef struct WHV_X64_TABLE_REGISTER { | 1828 | typedef enum WHV_TRANSLATE_GVA_FLAGS { |
| 1503 | UINT16 Pad[3]; | 1829 | WHvTranslateGvaFlagNone = 0x00000000, |
| 1504 | UINT16 Limit; | 1830 | WHvTranslateGvaFlagValidateRead = 0x00000001, |
| 1505 | UINT64 Base; | 1831 | WHvTranslateGvaFlagValidateWrite = 0x00000002, |
| 1506 | } WHV_X64_TABLE_REGISTER; | 1832 | WHvTranslateGvaFlagValidateExecute = 0x00000004 |
| 1833 | #if defined(__x86_64__) | ||
| 1834 | ,WHvTranslateGvaFlagPrivilegeExempt = 0x00000008 | ||
| 1835 | #endif | ||
| 1836 | ,WHvTranslateGvaFlagSetPageTableBits = 0x00000010 | ||
| 1837 | #if defined(__x86_64__) | ||
| 1838 | ,WHvTranslateGvaFlagEnforceSmap = 0x00000100 | ||
| 1839 | ,WHvTranslateGvaFlagOverrideSmap = 0x00000200 | ||
| 1840 | #endif | ||
| 1841 | } WHV_TRANSLATE_GVA_FLAGS; | ||
| 1507 | 1842 | ||
| 1508 | C_ASSERT(sizeof(WHV_X64_TABLE_REGISTER) == 16); | 1843 | DEFINE_ENUM_FLAG_OPERATORS(WHV_TRANSLATE_GVA_FLAGS); |
| 1509 | 1844 | ||
| 1510 | typedef union WHV_X64_INTERRUPT_STATE_REGISTER { | 1845 | typedef union WHV_TRANSLATE_GVA_2_FLAGS { |
| 1511 | __C89_NAMELESS struct { | 1846 | __C89_NAMELESS struct { |
| 1512 | UINT64 InterruptShadow:1; | 1847 | UINT64 ValidateRead : 1; |
| 1513 | UINT64 NmiMasked:1; | 1848 | UINT64 ValidateWrite : 1; |
| 1514 | UINT64 Reserved:62; | 1849 | UINT64 ValidateExecute : 1; |
| 1850 | #if defined(__x86_64__) | ||
| 1851 | UINT64 PrivilegeExempt : 1; | ||
| 1852 | #else | ||
| 1853 | UINT64 Reserved0 : 1; | ||
| 1854 | #endif | ||
| 1855 | UINT64 SetPageTableBits : 1; | ||
| 1856 | UINT64 Reserved1 : 3; | ||
| 1857 | #if defined(__x86_64__) | ||
| 1858 | UINT64 EnforceSmap : 1; | ||
| 1859 | UINT64 OverrideSmap : 1; | ||
| 1860 | #else | ||
| 1861 | UINT64 Reserved2 : 1; | ||
| 1862 | UINT64 Reserved3 : 1; | ||
| 1863 | #endif | ||
| 1864 | UINT64 Reserved4 : 46; | ||
| 1865 | UINT64 InputVtl : 8; | ||
| 1515 | }; | 1866 | }; |
| 1516 | UINT64 AsUINT64; | 1867 | UINT64 AsUINT64; |
| 1517 | } WHV_X64_INTERRUPT_STATE_REGISTER; | 1868 | } WHV_TRANSLATE_GVA_2_FLAGS; |
| 1518 | 1869 | ||
| 1519 | C_ASSERT(sizeof(WHV_X64_INTERRUPT_STATE_REGISTER) == 8); | 1870 | C_ASSERT(sizeof(WHV_TRANSLATE_GVA_2_FLAGS) == 8); |
| 1520 | 1871 | ||
| 1521 | typedef union WHV_X64_PENDING_INTERRUPTION_REGISTER { | 1872 | typedef enum WHV_TRANSLATE_GVA_RESULT_CODE { |
| 1522 | __C89_NAMELESS struct { | 1873 | WHvTranslateGvaResultSuccess = 0, |
| 1523 | UINT32 InterruptionPending:1; | 1874 | WHvTranslateGvaResultPageNotPresent = 1, |
| 1524 | UINT32 InterruptionType:3; | 1875 | WHvTranslateGvaResultPrivilegeViolation = 2, |
| 1525 | UINT32 DeliverErrorCode:1; | 1876 | WHvTranslateGvaResultInvalidPageTableFlags = 3, |
| 1526 | UINT32 InstructionLength:4; | 1877 | WHvTranslateGvaResultGpaUnmapped = 4, |
| 1527 | UINT32 NestedEvent:1; | 1878 | WHvTranslateGvaResultGpaNoReadAccess = 5, |
| 1528 | UINT32 Reserved:6; | 1879 | WHvTranslateGvaResultGpaNoWriteAccess = 6, |
| 1529 | UINT32 InterruptionVector:16; | 1880 | WHvTranslateGvaResultGpaIllegalOverlayAccess = 7, |
| 1530 | UINT32 ErrorCode; | 1881 | WHvTranslateGvaResultIntercept = 8 |
| 1531 | }; | 1882 | } WHV_TRANSLATE_GVA_RESULT_CODE; |
| 1532 | UINT64 AsUINT64; | ||
| 1533 | } WHV_X64_PENDING_INTERRUPTION_REGISTER; | ||
| 1534 | 1883 | ||
| 1535 | C_ASSERT(sizeof(WHV_X64_PENDING_INTERRUPTION_REGISTER) == sizeof(UINT64)); | 1884 | typedef struct WHV_TRANSLATE_GVA_RESULT { |
| 1885 | WHV_TRANSLATE_GVA_RESULT_CODE ResultCode; | ||
| 1886 | UINT32 Reserved; | ||
| 1887 | } WHV_TRANSLATE_GVA_RESULT; | ||
| 1536 | 1888 | ||
| 1537 | typedef union WHV_DELIVERABILITY_NOTIFICATIONS_REGISTER { | 1889 | C_ASSERT(sizeof(WHV_TRANSLATE_GVA_RESULT) == 8); |
| 1890 | |||
| 1891 | #define WHV_READ_WRITE_GPA_RANGE_MAX_SIZE 16 | ||
| 1892 | |||
| 1893 | typedef struct WHV_MEMORY_RANGE_ENTRY { | ||
| 1894 | UINT64 GuestAddress; | ||
| 1895 | UINT64 SizeInBytes; | ||
| 1896 | } WHV_MEMORY_RANGE_ENTRY; | ||
| 1897 | |||
| 1898 | C_ASSERT(sizeof(WHV_MEMORY_RANGE_ENTRY) == 16); | ||
| 1899 | |||
| 1900 | typedef union WHV_ADVISE_GPA_RANGE_POPULATE_FLAGS { | ||
| 1901 | UINT32 AsUINT32; | ||
| 1538 | __C89_NAMELESS struct { | 1902 | __C89_NAMELESS struct { |
| 1539 | #if defined(__x86_64__) | 1903 | UINT32 Prefetch:1; |
| 1540 | UINT64 NmiNotification:1; | 1904 | UINT32 AvoidHardFaults:1; |
| 1541 | UINT64 InterruptNotification:1; | 1905 | UINT32 Reserved:30; |
| 1542 | UINT64 InterruptPriority:4; | ||
| 1543 | UINT64 Reserved:42; | ||
| 1544 | #elif defined(__aarch64__) | ||
| 1545 | UINT64 Reserved:48; | ||
| 1546 | #endif | ||
| 1547 | UINT64 Sint:16; | ||
| 1548 | }; | 1906 | }; |
| 1549 | UINT64 AsUINT64; | 1907 | } WHV_ADVISE_GPA_RANGE_POPULATE_FLAGS; |
| 1550 | } WHV_DELIVERABILITY_NOTIFICATIONS_REGISTER, WHV_X64_DELIVERABILITY_NOTIFICATIONS_REGISTER; | 1908 | |
| 1909 | C_ASSERT(sizeof(WHV_ADVISE_GPA_RANGE_POPULATE_FLAGS) == 4); | ||
| 1910 | |||
| 1911 | typedef enum WHV_MEMORY_ACCESS_TYPE { | ||
| 1912 | WHvMemoryAccessRead = 0, | ||
| 1913 | WHvMemoryAccessWrite = 1, | ||
| 1914 | WHvMemoryAccessExecute = 2 | ||
| 1915 | } WHV_MEMORY_ACCESS_TYPE; | ||
| 1916 | |||
| 1917 | typedef struct WHV_ADVISE_GPA_RANGE_POPULATE { | ||
| 1918 | WHV_ADVISE_GPA_RANGE_POPULATE_FLAGS Flags; | ||
| 1919 | WHV_MEMORY_ACCESS_TYPE AccessType; | ||
| 1920 | } WHV_ADVISE_GPA_RANGE_POPULATE; | ||
| 1921 | |||
| 1922 | C_ASSERT(sizeof(WHV_ADVISE_GPA_RANGE_POPULATE) == 8); | ||
| 1923 | |||
| 1924 | typedef union WHV_ADVISE_GPA_RANGE { | ||
| 1925 | WHV_ADVISE_GPA_RANGE_POPULATE Populate; | ||
| 1926 | } WHV_ADVISE_GPA_RANGE; | ||
| 1551 | 1927 | ||
| 1552 | C_ASSERT(sizeof(WHV_DELIVERABILITY_NOTIFICATIONS_REGISTER) == sizeof(UINT64)); | 1928 | C_ASSERT(sizeof(WHV_ADVISE_GPA_RANGE) == 8); |
| 1553 | 1929 | ||
| 1554 | typedef enum WHV_X64_PENDING_EVENT_TYPE { | 1930 | typedef enum WHV_CACHE_TYPE { |
| 1555 | WHvX64PendingEventException = 0, | 1931 | WHvCacheTypeUncached = 0, |
| 1556 | WHvX64PendingEventExtInt = 5, | 1932 | WHvCacheTypeWriteCombining = 1, |
| 1557 | WHvX64PendingEventSvmNestedExit = 7, | 1933 | WHvCacheTypeWriteThrough = 4, |
| 1558 | WHvX64PendingEventVmxNestedExit = 8 | 1934 | #ifdef __x86_64__ |
| 1559 | } WHV_X64_PENDING_EVENT_TYPE; | 1935 | WHvCacheTypeWriteProtected = 5, |
| 1936 | #endif | ||
| 1937 | WHvCacheTypeWriteBack = 6 | ||
| 1938 | } WHV_CACHE_TYPE; | ||
| 1560 | 1939 | ||
| 1561 | typedef union WHV_X64_PENDING_EXCEPTION_EVENT { | 1940 | typedef union WHV_ACCESS_GPA_CONTROLS { |
| 1941 | UINT64 AsUINT64; | ||
| 1562 | __C89_NAMELESS struct { | 1942 | __C89_NAMELESS struct { |
| 1563 | UINT32 EventPending : 1; | 1943 | WHV_CACHE_TYPE CacheType; |
| 1564 | UINT32 EventType : 3; | 1944 | WHV_INPUT_VTL InputVtl; |
| 1565 | UINT32 Reserved0 : 4; | 1945 | UINT8 Reserved; |
| 1566 | UINT32 DeliverErrorCode : 1; | 1946 | UINT16 Reserved1; |
| 1567 | UINT32 Reserved1 : 7; | ||
| 1568 | UINT32 Vector : 16; | ||
| 1569 | UINT32 ErrorCode; | ||
| 1570 | UINT64 ExceptionParameter; | ||
| 1571 | }; | 1947 | }; |
| 1572 | WHV_UINT128 AsUINT128; | 1948 | } WHV_ACCESS_GPA_CONTROLS; |
| 1573 | } WHV_X64_PENDING_EXCEPTION_EVENT; | ||
| 1574 | 1949 | ||
| 1575 | C_ASSERT(sizeof(WHV_X64_PENDING_EXCEPTION_EVENT) == sizeof(WHV_UINT128)); | 1950 | C_ASSERT(sizeof(WHV_ACCESS_GPA_CONTROLS) == 8); |
| 1576 | 1951 | ||
| 1577 | typedef union WHV_X64_PENDING_EXT_INT_EVENT { | 1952 | typedef struct WHV_CAPABILITY_PROCESSOR_FREQUENCY_CAP { |
| 1578 | __C89_NAMELESS struct { | 1953 | UINT32 IsSupported:1; |
| 1579 | UINT64 EventPending : 1; | 1954 | UINT32 Reserved:31; |
| 1580 | UINT64 EventType : 3; | 1955 | UINT32 HighestFrequencyMhz; |
| 1581 | UINT64 Reserved0 : 4; | 1956 | UINT32 NominalFrequencyMhz; |
| 1582 | UINT64 Vector : 8; | 1957 | UINT32 LowestFrequencyMhz; |
| 1583 | UINT64 Reserved1 : 48; | 1958 | UINT32 FrequencyStepMhz; |
| 1584 | UINT64 Reserved2; | 1959 | } WHV_CAPABILITY_PROCESSOR_FREQUENCY_CAP; |
| 1585 | }; | ||
| 1586 | WHV_UINT128 AsUINT128; | ||
| 1587 | } WHV_X64_PENDING_EXT_INT_EVENT; | ||
| 1588 | 1960 | ||
| 1589 | C_ASSERT(sizeof(WHV_X64_PENDING_EXT_INT_EVENT) == sizeof(WHV_UINT128)); | 1961 | C_ASSERT(sizeof(WHV_CAPABILITY_PROCESSOR_FREQUENCY_CAP) == 20); |
| 1590 | 1962 | ||
| 1591 | typedef union WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT0 { | 1963 | typedef union WHV_SCHEDULER_FEATURES { |
| 1592 | __C89_NAMELESS struct { | 1964 | __C89_NAMELESS struct { |
| 1593 | UINT64 EventPending : 1; | 1965 | UINT64 CpuReserve: 1; |
| 1594 | UINT64 EventType : 4; | 1966 | UINT64 CpuCap: 1; |
| 1595 | UINT64 Reserved0 : 3; | 1967 | UINT64 CpuWeight: 1; |
| 1596 | UINT64 InstructionBytesValid : 1; | 1968 | UINT64 CpuGroupId: 1; |
| 1597 | UINT64 Reserved1 : 55; | 1969 | UINT64 DisableSmt: 1; |
| 1598 | UINT64 ExitCode; | 1970 | UINT64 Reserved: 59; |
| 1599 | }; | 1971 | }; |
| 1600 | WHV_UINT128 AsUINT128; | 1972 | UINT64 AsUINT64; |
| 1601 | } WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT0; | 1973 | } WHV_SCHEDULER_FEATURES; |
| 1602 | 1974 | ||
| 1603 | typedef union WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT1 { | 1975 | C_ASSERT(sizeof(WHV_SCHEDULER_FEATURES) == 8); |
| 1604 | __C89_NAMELESS struct { | ||
| 1605 | UINT64 ExitInfo1; | ||
| 1606 | UINT64 ExitInfo2; | ||
| 1607 | }; | ||
| 1608 | WHV_UINT128 AsUINT128; | ||
| 1609 | } WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT1; | ||
| 1610 | 1976 | ||
| 1611 | typedef union WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT2 { | 1977 | typedef union WHV_CAPABILITY { |
| 1612 | __C89_NAMELESS struct { | 1978 | WINBOOL HypervisorPresent; |
| 1613 | UINT64 NextRip; | 1979 | WHV_CAPABILITY_FEATURES Features; |
| 1614 | UINT8 InstructionBytesFetchedCount; | 1980 | WHV_EXTENDED_VM_EXITS ExtendedVmExits; |
| 1615 | UINT8 InstructionBytes[7]; | 1981 | WHV_PROCESSOR_VENDOR ProcessorVendor; |
| 1616 | }; | 1982 | WHV_PROCESSOR_FEATURES ProcessorFeatures; |
| 1617 | WHV_UINT128 AsUINT128; | 1983 | WHV_SYNTHETIC_PROCESSOR_FEATURES_BANKS SyntheticProcessorFeaturesBanks; |
| 1618 | } WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT2; | 1984 | UINT8 ProcessorClFlushSize; |
| 1985 | UINT64 ProcessorClockFrequency; | ||
| 1986 | WHV_PROCESSOR_FEATURES_BANKS ProcessorFeaturesBanks; | ||
| 1987 | WHV_ADVISE_GPA_RANGE_POPULATE_FLAGS GpaRangePopulateFlags; | ||
| 1988 | WHV_CAPABILITY_PROCESSOR_FREQUENCY_CAP ProcessorFrequencyCap; | ||
| 1989 | WHV_SCHEDULER_FEATURES SchedulerFeatures; | ||
| 1990 | UINT32 PhysicalAddressWidth; | ||
| 1991 | UINT64 NestedFeatureRegister; | ||
| 1992 | #if defined(__x86_64__) | ||
| 1993 | WHV_PROCESSOR_XSAVE_FEATURES ProcessorXsaveFeatures; | ||
| 1994 | UINT64 InterruptClockFrequency; | ||
| 1995 | WHV_PROCESSOR_PERFMON_FEATURES ProcessorPerfmonFeatures; | ||
| 1996 | WHV_X64_MSR_EXIT_BITMAP X64MsrExitBitmap; | ||
| 1997 | UINT64 ExceptionExitBitmap; | ||
| 1998 | #elif defined (__aarch64__) | ||
| 1999 | UINT32 GicLpiIntIdBits; | ||
| 2000 | UINT32 MaxSveVectorLength; | ||
| 2001 | #endif | ||
| 2002 | } WHV_CAPABILITY; | ||
| 1619 | 2003 | ||
| 1620 | typedef union WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT3 { | 2004 | #if defined(__x86_64__) |
| 1621 | __C89_NAMELESS struct { | ||
| 1622 | UINT8 InstructionBytes[8]; | ||
| 1623 | UINT64 Reserved2; | ||
| 1624 | }; | ||
| 1625 | WHV_UINT128 AsUINT128; | ||
| 1626 | } WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT3; | ||
| 1627 | 2005 | ||
| 1628 | C_ASSERT(sizeof(WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT0) == 16); | 2006 | typedef struct WHV_X64_CPUID_RESULT { |
| 1629 | C_ASSERT(sizeof(WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT1) == 16); | 2007 | UINT32 Function; |
| 1630 | C_ASSERT(sizeof(WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT2) == 16); | 2008 | UINT32 Reserved[3]; |
| 1631 | C_ASSERT(sizeof(WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT3) == 16); | 2009 | UINT32 Eax; |
| 2010 | UINT32 Ebx; | ||
| 2011 | UINT32 Ecx; | ||
| 2012 | UINT32 Edx; | ||
| 2013 | } WHV_X64_CPUID_RESULT; | ||
| 1632 | 2014 | ||
| 1633 | typedef union WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT0 { | 2015 | C_ASSERT(sizeof(WHV_X64_CPUID_RESULT) == 32); |
| 1634 | __C89_NAMELESS struct { | ||
| 1635 | UINT32 EventPending : 1; | ||
| 1636 | UINT32 EventType : 4; | ||
| 1637 | UINT32 Reserved0 : 27; | ||
| 1638 | UINT32 ExitReason; | ||
| 1639 | UINT64 ExitQualification; | ||
| 1640 | }; | ||
| 1641 | WHV_UINT128 AsUINT128; | ||
| 1642 | } WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT0; | ||
| 1643 | 2016 | ||
| 1644 | typedef union WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT1 { | 2017 | typedef enum WHV_X64_CPUID_RESULT2_FLAGS { |
| 1645 | __C89_NAMELESS struct { | 2018 | WHvX64CpuidResult2FlagSubleafSpecific = 0x00000001, |
| 1646 | UINT32 InstructionLength; | 2019 | WHvX64CpuidResult2FlagVpSpecific = 0x00000002 |
| 1647 | UINT32 InstructionInfo; | 2020 | } WHV_X64_CPUID_RESULT2_FLAGS; |
| 1648 | UINT32 ExitInterruptionInfo; | ||
| 1649 | UINT32 ExitExceptionErrorCode; | ||
| 1650 | }; | ||
| 1651 | WHV_UINT128 AsUINT128; | ||
| 1652 | } WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT1; | ||
| 1653 | 2021 | ||
| 1654 | typedef union WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT2 { | 2022 | DEFINE_ENUM_FLAG_OPERATORS(WHV_X64_CPUID_RESULT2_FLAGS); |
| 1655 | __C89_NAMELESS struct { | ||
| 1656 | UINT64 GuestLinearAddress; | ||
| 1657 | UINT64 GuestPhysicalAddress; | ||
| 1658 | }; | ||
| 1659 | WHV_UINT128 AsUINT128; | ||
| 1660 | } WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT2; | ||
| 1661 | 2023 | ||
| 1662 | C_ASSERT(sizeof(WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT0) == 16); | 2024 | typedef struct WHV_CPUID_OUTPUT { |
| 1663 | C_ASSERT(sizeof(WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT1) == 16); | 2025 | UINT32 Eax; |
| 1664 | C_ASSERT(sizeof(WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT2) == 16); | 2026 | UINT32 Ebx; |
| 2027 | UINT32 Ecx; | ||
| 2028 | UINT32 Edx; | ||
| 2029 | } WHV_CPUID_OUTPUT; | ||
| 1665 | 2030 | ||
| 1666 | typedef union WHV_X64_NESTED_INVEPT_REGISTER { | 2031 | C_ASSERT(sizeof(WHV_CPUID_OUTPUT) == 16); |
| 1667 | __C89_NAMELESS struct { | ||
| 1668 | UINT8 Type; | ||
| 1669 | UINT8 Reserved[7]; | ||
| 1670 | UINT64 Eptp; | ||
| 1671 | }; | ||
| 1672 | WHV_UINT128 AsUINT128; | ||
| 1673 | } WHV_X64_NESTED_INVEPT_REGISTER; | ||
| 1674 | 2032 | ||
| 1675 | C_ASSERT(sizeof(WHV_X64_NESTED_INVEPT_REGISTER) == 16); | 2033 | typedef struct WHV_X64_CPUID_RESULT2 { |
| 2034 | UINT32 Function; | ||
| 2035 | UINT32 Index; | ||
| 2036 | UINT32 VpIndex; | ||
| 2037 | WHV_X64_CPUID_RESULT2_FLAGS Flags; | ||
| 2038 | WHV_CPUID_OUTPUT Output; | ||
| 2039 | WHV_CPUID_OUTPUT Mask; | ||
| 2040 | } WHV_X64_CPUID_RESULT2; | ||
| 1676 | 2041 | ||
| 1677 | typedef union WHV_X64_NESTED_INVVPID_REGISTER { | 2042 | C_ASSERT(sizeof(WHV_X64_CPUID_RESULT2) == 48); |
| 1678 | __C89_NAMELESS struct { | ||
| 1679 | UINT8 Type; | ||
| 1680 | UINT8 Reserved[3]; | ||
| 1681 | UINT32 Vpid; | ||
| 1682 | UINT64 LinearAddress; | ||
| 1683 | }; | ||
| 1684 | WHV_UINT128 AsUINT128; | ||
| 1685 | } WHV_X64_NESTED_INVVPID_REGISTER; | ||
| 1686 | 2043 | ||
| 1687 | C_ASSERT(sizeof(WHV_X64_NESTED_INVVPID_REGISTER) == 16); | 2044 | typedef struct WHV_MSR_ACTION_ENTRY { |
| 2045 | UINT32 Index; | ||
| 2046 | UINT8 ReadAction; | ||
| 2047 | UINT8 WriteAction; | ||
| 2048 | UINT16 Reserved; | ||
| 2049 | } WHV_MSR_ACTION_ENTRY; | ||
| 1688 | 2050 | ||
| 1689 | typedef union WHV_X64_NESTED_GUEST_STATE { | 2051 | C_ASSERT(sizeof(WHV_MSR_ACTION_ENTRY) == 8); |
| 1690 | __C89_NAMELESS struct { | ||
| 1691 | UINT64 NestedVirtActive : 1; | ||
| 1692 | UINT64 NestedGuestMode : 1; | ||
| 1693 | UINT64 VmEntryPending : 1; | ||
| 1694 | UINT64 Reserved0 : 61; | ||
| 1695 | UINT64 Reserved1; | ||
| 1696 | }; | ||
| 1697 | WHV_UINT128 AsUINT128; | ||
| 1698 | } WHV_X64_NESTED_GUEST_STATE; | ||
| 1699 | 2052 | ||
| 1700 | C_ASSERT(sizeof(WHV_X64_NESTED_GUEST_STATE) == 16); | 2053 | typedef enum WHV_MSR_ACTION { |
| 2054 | WHvMsrActionArchitectureDefault = 0, | ||
| 2055 | WHvMsrActionIgnoreWriteReadZero = 1, | ||
| 2056 | WHvMsrActionExit = 2 | ||
| 2057 | } WHV_MSR_ACTION; | ||
| 1701 | 2058 | ||
| 1702 | typedef union WHV_INTERNAL_ACTIVITY_REGISTER { | 2059 | typedef enum WHV_EXCEPTION_TYPE { |
| 1703 | __C89_NAMELESS struct { | 2060 | WHvX64ExceptionTypeDivideErrorFault = 0x0, |
| 1704 | UINT64 StartupSuspend : 1; | 2061 | WHvX64ExceptionTypeDebugTrapOrFault = 0x1, |
| 1705 | UINT64 HaltSuspend : 1; | 2062 | WHvX64ExceptionTypeBreakpointTrap = 0x3, |
| 1706 | UINT64 IdleSuspend : 1; | 2063 | WHvX64ExceptionTypeOverflowTrap = 0x4, |
| 1707 | UINT64 Reserved :61; | 2064 | WHvX64ExceptionTypeBoundRangeFault = 0x5, |
| 1708 | }; | 2065 | WHvX64ExceptionTypeInvalidOpcodeFault = 0x6, |
| 1709 | UINT64 AsUINT64; | 2066 | WHvX64ExceptionTypeDeviceNotAvailableFault = 0x7, |
| 1710 | } WHV_INTERNAL_ACTIVITY_REGISTER; | 2067 | WHvX64ExceptionTypeDoubleFaultAbort = 0x8, |
| 2068 | WHvX64ExceptionTypeInvalidTaskStateSegmentFault = 0x0A, | ||
| 2069 | WHvX64ExceptionTypeSegmentNotPresentFault = 0x0B, | ||
| 2070 | WHvX64ExceptionTypeStackFault = 0x0C, | ||
| 2071 | WHvX64ExceptionTypeGeneralProtectionFault = 0x0D, | ||
| 2072 | WHvX64ExceptionTypePageFault = 0x0E, | ||
| 2073 | WHvX64ExceptionTypeFloatingPointErrorFault = 0x10, | ||
| 2074 | WHvX64ExceptionTypeAlignmentCheckFault = 0x11, | ||
| 2075 | WHvX64ExceptionTypeMachineCheckAbort = 0x12, | ||
| 2076 | WHvX64ExceptionTypeSimdFloatingPointFault = 0x13, | ||
| 2077 | WHvX64ExceptionTypeControlProtectionFault = 0x15 | ||
| 2078 | } WHV_EXCEPTION_TYPE; | ||
| 2079 | |||
| 2080 | typedef enum WHV_X64_LOCAL_APIC_EMULATION_MODE { | ||
| 2081 | WHvX64LocalApicEmulationModeNone, | ||
| 2082 | WHvX64LocalApicEmulationModeXApic, | ||
| 2083 | WHvX64LocalApicEmulationModeX2Apic | ||
| 2084 | } WHV_X64_LOCAL_APIC_EMULATION_MODE; | ||
| 1711 | 2085 | ||
| 1712 | C_ASSERT(sizeof(WHV_INTERNAL_ACTIVITY_REGISTER) == sizeof(UINT64)); | 2086 | #elif defined(__aarch64__) |
| 1713 | 2087 | ||
| 1714 | typedef union WHV_X64_PENDING_DEBUG_EXCEPTION { | 2088 | typedef enum WHV_ARM64_IC_EMULATION_MODE { |
| 1715 | UINT64 AsUINT64; | 2089 | WHvArm64IcEmulationModeNone = 0, |
| 1716 | __C89_NAMELESS struct { | 2090 | WHvArm64IcEmulationModeGicV3 |
| 1717 | UINT64 Breakpoint0 : 1; | 2091 | } WHV_ARM64_IC_EMULATION_MODE; |
| 1718 | UINT64 Breakpoint1 : 1; | ||
| 1719 | UINT64 Breakpoint2 : 1; | ||
| 1720 | UINT64 Breakpoint3 : 1; | ||
| 1721 | UINT64 SingleStep : 1; | ||
| 1722 | UINT64 Reserved0 : 59; | ||
| 1723 | }; | ||
| 1724 | } WHV_X64_PENDING_DEBUG_EXCEPTION; | ||
| 1725 | 2092 | ||
| 1726 | C_ASSERT(sizeof(WHV_X64_PENDING_DEBUG_EXCEPTION) == sizeof(UINT64)); | 2093 | typedef UINT32 WHV_ARM64_INTERRUPT_VECTOR; |
| 1727 | 2094 | ||
| 1728 | typedef struct WHV_SYNIC_SINT_DELIVERABLE_CONTEXT { | 2095 | typedef struct WHV_ARM64_IC_GIC_V3_PARAMETERS { |
| 1729 | UINT16 DeliverableSints; | 2096 | WHV_GUEST_PHYSICAL_ADDRESS GicdBaseAddress; |
| 1730 | UINT16 Reserved1; | 2097 | WHV_GUEST_PHYSICAL_ADDRESS GitsTranslaterBaseAddress; |
| 1731 | UINT32 Reserved2; | 2098 | UINT32 Reserved; |
| 1732 | } WHV_SYNIC_SINT_DELIVERABLE_CONTEXT; | 2099 | UINT32 GicLpiIntIdBits; |
| 2100 | WHV_ARM64_INTERRUPT_VECTOR GicPpiOverflowInterruptFromCntv; | ||
| 2101 | WHV_ARM64_INTERRUPT_VECTOR GicPpiPerformanceMonitorsInterrupt; | ||
| 2102 | UINT32 Reserved1[6]; | ||
| 2103 | } WHV_ARM64_IC_GIC_V3_PARAMETERS; | ||
| 1733 | 2104 | ||
| 1734 | C_ASSERT(sizeof(WHV_SYNIC_SINT_DELIVERABLE_CONTEXT) == 8); | 2105 | C_ASSERT(sizeof(WHV_ARM64_IC_GIC_V3_PARAMETERS) == 56); |
| 1735 | 2106 | ||
| 1736 | typedef union WHV_REGISTER_VALUE { | 2107 | typedef struct WHV_ARM64_IC_PARAMETERS { |
| 1737 | WHV_UINT128 Reg128; | 2108 | WHV_ARM64_IC_EMULATION_MODE EmulationMode; |
| 1738 | UINT64 Reg64; | 2109 | UINT32 Reserved; |
| 1739 | UINT32 Reg32; | 2110 | __C89_NAMELESS union { |
| 1740 | UINT16 Reg16; | 2111 | WHV_ARM64_IC_GIC_V3_PARAMETERS GicV3Parameters; |
| 1741 | UINT8 Reg8; | 2112 | }; |
| 1742 | WHV_INTERNAL_ACTIVITY_REGISTER InternalActivity; | 2113 | } WHV_ARM64_IC_PARAMETERS; |
| 1743 | WHV_DELIVERABILITY_NOTIFICATIONS_REGISTER DeliverabilityNotifications; | 2114 | |
| 2115 | C_ASSERT(sizeof(WHV_ARM64_IC_PARAMETERS) == 64); | ||
| 2116 | |||
| 2117 | #endif /* defined(__x86_64__) || defined(__aarch64__) */ | ||
| 2118 | |||
| 2119 | typedef union WHV_PARTITION_PROPERTY { | ||
| 2120 | WHV_EXTENDED_VM_EXITS ExtendedVmExits; | ||
| 2121 | WHV_PROCESSOR_FEATURES ProcessorFeatures; | ||
| 2122 | WHV_SYNTHETIC_PROCESSOR_FEATURES_BANKS SyntheticProcessorFeaturesBanks; | ||
| 2123 | UINT8 ProcessorClFlushSize; | ||
| 2124 | UINT32 ProcessorCount; | ||
| 2125 | WINBOOL SeparateSecurityDomain; | ||
| 2126 | WINBOOL NestedVirtualization; | ||
| 2127 | UINT64 ProcessorClockFrequency; | ||
| 2128 | WHV_PROCESSOR_FEATURES_BANKS ProcessorFeaturesBanks; | ||
| 2129 | UINT64 ReferenceTime; | ||
| 2130 | USHORT PrimaryNumaNode; | ||
| 2131 | UINT32 CpuReserve; | ||
| 2132 | UINT32 CpuCap; | ||
| 2133 | UINT32 CpuWeight; | ||
| 2134 | UINT64 CpuGroupId; | ||
| 2135 | UINT32 ProcessorFrequencyCap; | ||
| 2136 | WINBOOL AllowDeviceAssignment; | ||
| 2137 | WINBOOL DisableSmt; | ||
| 2138 | UINT32 PhysicalAddressWidth; | ||
| 1744 | #if defined(__x86_64__) | 2139 | #if defined(__x86_64__) |
| 1745 | WHV_X64_FP_REGISTER Fp; | 2140 | WHV_PROCESSOR_XSAVE_FEATURES ProcessorXsaveFeatures; |
| 1746 | WHV_X64_FP_CONTROL_STATUS_REGISTER FpControlStatus; | 2141 | UINT32 CpuidExitList[1]; |
| 1747 | WHV_X64_XMM_CONTROL_STATUS_REGISTER XmmControlStatus; | 2142 | UINT64 ExceptionExitBitmap; |
| 1748 | WHV_X64_SEGMENT_REGISTER Segment; | 2143 | WINBOOL ApicRemoteRead; |
| 1749 | WHV_X64_TABLE_REGISTER Table; | 2144 | WHV_X64_MSR_EXIT_BITMAP X64MsrExitBitmap; |
| 1750 | WHV_X64_INTERRUPT_STATE_REGISTER InterruptState; | 2145 | WHV_PROCESSOR_PERFMON_FEATURES ProcessorPerfmonFeatures; |
| 1751 | WHV_X64_PENDING_INTERRUPTION_REGISTER PendingInterruption; | 2146 | UINT64 InterruptClockFrequency; |
| 1752 | WHV_X64_PENDING_EXCEPTION_EVENT ExceptionEvent; | 2147 | WHV_X64_CPUID_RESULT CpuidResultList[1]; |
| 1753 | WHV_X64_PENDING_EXT_INT_EVENT ExtIntEvent; | 2148 | WHV_X64_CPUID_RESULT2 CpuidResultList2[1]; |
| 1754 | WHV_X64_PENDING_DEBUG_EXCEPTION PendingDebugException; | 2149 | WHV_MSR_ACTION_ENTRY MsrActionList[1]; |
| 1755 | WHV_X64_NESTED_GUEST_STATE NestedState; | 2150 | WHV_MSR_ACTION UnimplementedMsrAction; |
| 1756 | WHV_X64_NESTED_INVEPT_REGISTER InvEpt; | 2151 | WHV_X64_LOCAL_APIC_EMULATION_MODE LocalApicEmulationMode; |
| 1757 | WHV_X64_NESTED_INVVPID_REGISTER InvVpid; | 2152 | #elif defined(__aarch64__) |
| 1758 | WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT0 SvmNestedExit0; | 2153 | WHV_ARM64_IC_PARAMETERS Arm64IcParameters; |
| 1759 | WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT1 SvmNestedExit1; | ||
| 1760 | WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT2 SvmNestedExit2; | ||
| 1761 | WHV_X64_PENDING_SVM_NESTED_EXIT_EVENT3 SvmNestedExit3; | ||
| 1762 | WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT0 VmxNestedExit0; | ||
| 1763 | WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT1 VmxNestedExit1; | ||
| 1764 | WHV_X64_PENDING_VMX_NESTED_EXIT_EVENT2 VmxNestedExit2; | ||
| 1765 | #endif | 2154 | #endif |
| 1766 | } WHV_REGISTER_VALUE; | 2155 | } WHV_PARTITION_PROPERTY; |
| 1767 | 2156 | ||
| 1768 | C_ASSERT(sizeof(WHV_REGISTER_VALUE) == 16); | 2157 | #if defined(__x86_64__) |
| 1769 | 2158 | ||
| 1770 | typedef enum WHV_RUN_VP_EXIT_REASON { | 2159 | typedef enum WHV_RUN_VP_EXIT_REASON { |
| 1771 | WHvRunVpExitReasonNone = 0x00000000, | 2160 | WHvRunVpExitReasonNone = 0x00000000, |
| ... | @@ -1789,6 +2178,26 @@ typedef enum WHV_RUN_VP_EXIT_REASON { | ... | @@ -1789,6 +2178,26 @@ typedef enum WHV_RUN_VP_EXIT_REASON { |
| 1789 | WHvRunVpExitReasonCanceled = 0x00002001 | 2178 | WHvRunVpExitReasonCanceled = 0x00002001 |
| 1790 | } WHV_RUN_VP_EXIT_REASON; | 2179 | } WHV_RUN_VP_EXIT_REASON; |
| 1791 | 2180 | ||
| 2181 | #elif defined(__aarch64__) | ||
| 2182 | |||
| 2183 | typedef enum WHV_RUN_VP_EXIT_REASON { | ||
| 2184 | WHvRunVpExitReasonNone = 0x00000000, | ||
| 2185 | WHvRunVpExitReasonUnmappedGpa = 0x80000000, | ||
| 2186 | WHvRunVpExitReasonGpaIntercept = 0x80000001, | ||
| 2187 | WHvRunVpExitReasonUnrecoverableException = 0x80000021, | ||
| 2188 | WHvRunVpExitReasonInvalidVpRegisterValue = 0x80000020, | ||
| 2189 | WHvRunVpExitReasonUnsupportedFeature = 0x80000022, | ||
| 2190 | WHvRunVpExitReasonSynicSintDeliverable = 0x80000062, | ||
| 2191 | WHvMessageTypeRegisterIntercept = 0x80010006, | ||
| 2192 | WHvRunVpExitReasonArm64Reset = 0x8001000c, | ||
| 2193 | WHvRunVpExitReasonHypercall = 0x80000050, | ||
| 2194 | WHvRunVpExitReasonCanceled = 0xFFFFFFFF | ||
| 2195 | } WHV_RUN_VP_EXIT_REASON; | ||
| 2196 | |||
| 2197 | #endif /* defined(__x86_64__) || defined(__aarch64__) */ | ||
| 2198 | |||
| 2199 | #if defined(__x86_64__) | ||
| 2200 | |||
| 1792 | typedef union WHV_X64_VP_EXECUTION_STATE { | 2201 | typedef union WHV_X64_VP_EXECUTION_STATE { |
| 1793 | __C89_NAMELESS struct { | 2202 | __C89_NAMELESS struct { |
| 1794 | UINT16 Cpl : 2; | 2203 | UINT16 Cpl : 2; |
| ... | @@ -1806,7 +2215,7 @@ typedef union WHV_X64_VP_EXECUTION_STATE { | ... | @@ -1806,7 +2215,7 @@ typedef union WHV_X64_VP_EXECUTION_STATE { |
| 1806 | 2215 | ||
| 1807 | C_ASSERT(sizeof(WHV_X64_VP_EXECUTION_STATE) == sizeof(UINT16)); | 2216 | C_ASSERT(sizeof(WHV_X64_VP_EXECUTION_STATE) == sizeof(UINT16)); |
| 1808 | 2217 | ||
| 1809 | typedef struct WHV_VP_EXIT_CONTEXT { | 2218 | typedef struct WHV_X64_VP_EXIT_CONTEXT { |
| 1810 | WHV_X64_VP_EXECUTION_STATE ExecutionState; | 2219 | WHV_X64_VP_EXECUTION_STATE ExecutionState; |
| 1811 | UINT8 InstructionLength : 4; | 2220 | UINT8 InstructionLength : 4; |
| 1812 | UINT8 Cr8 : 4; | 2221 | UINT8 Cr8 : 4; |
| ... | @@ -1815,9 +2224,17 @@ typedef struct WHV_VP_EXIT_CONTEXT { | ... | @@ -1815,9 +2224,17 @@ typedef struct WHV_VP_EXIT_CONTEXT { |
| 1815 | WHV_X64_SEGMENT_REGISTER Cs; | 2224 | WHV_X64_SEGMENT_REGISTER Cs; |
| 1816 | UINT64 Rip; | 2225 | UINT64 Rip; |
| 1817 | UINT64 Rflags; | 2226 | UINT64 Rflags; |
| 1818 | } WHV_VP_EXIT_CONTEXT; | 2227 | } WHV_X64_VP_EXIT_CONTEXT, WHV_VP_EXIT_CONTEXT; |
| 2228 | |||
| 2229 | C_ASSERT(sizeof(WHV_X64_VP_EXIT_CONTEXT) == 40); | ||
| 2230 | |||
| 2231 | typedef struct WHV_SYNIC_SINT_DELIVERABLE_CONTEXT { | ||
| 2232 | UINT16 DeliverableSints; | ||
| 2233 | UINT16 Reserved1; | ||
| 2234 | UINT32 Reserved2; | ||
| 2235 | } WHV_SYNIC_SINT_DELIVERABLE_CONTEXT; | ||
| 1819 | 2236 | ||
| 1820 | C_ASSERT(sizeof(WHV_VP_EXIT_CONTEXT) == 40); | 2237 | C_ASSERT(sizeof(WHV_SYNIC_SINT_DELIVERABLE_CONTEXT) == 8); |
| 1821 | 2238 | ||
| 1822 | typedef union WHV_MEMORY_ACCESS_INFO { | 2239 | typedef union WHV_MEMORY_ACCESS_INFO { |
| 1823 | __C89_NAMELESS struct { | 2240 | __C89_NAMELESS struct { |
| ... | @@ -1853,7 +2270,7 @@ typedef union WHV_X64_IO_PORT_ACCESS_INFO { | ... | @@ -1853,7 +2270,7 @@ typedef union WHV_X64_IO_PORT_ACCESS_INFO { |
| 1853 | UINT32 AsUINT32; | 2270 | UINT32 AsUINT32; |
| 1854 | } WHV_X64_IO_PORT_ACCESS_INFO; | 2271 | } WHV_X64_IO_PORT_ACCESS_INFO; |
| 1855 | 2272 | ||
| 1856 | C_ASSERT(sizeof(WHV_X64_IO_PORT_ACCESS_INFO) == sizeof(UINT32)); | 2273 | C_ASSERT(sizeof(WHV_X64_IO_PORT_ACCESS_INFO) == 4); |
| 1857 | 2274 | ||
| 1858 | typedef struct WHV_X64_IO_PORT_ACCESS_CONTEXT { | 2275 | typedef struct WHV_X64_IO_PORT_ACCESS_CONTEXT { |
| 1859 | UINT8 InstructionByteCount; | 2276 | UINT8 InstructionByteCount; |
| ... | @@ -1913,7 +2330,7 @@ typedef union WHV_VP_EXCEPTION_INFO { | ... | @@ -1913,7 +2330,7 @@ typedef union WHV_VP_EXCEPTION_INFO { |
| 1913 | UINT32 AsUINT32; | 2330 | UINT32 AsUINT32; |
| 1914 | } WHV_VP_EXCEPTION_INFO; | 2331 | } WHV_VP_EXCEPTION_INFO; |
| 1915 | 2332 | ||
| 1916 | C_ASSERT(sizeof(WHV_VP_EXCEPTION_INFO) == sizeof(UINT32)); | 2333 | C_ASSERT(sizeof(WHV_VP_EXCEPTION_INFO) == 4); |
| 1917 | 2334 | ||
| 1918 | typedef struct WHV_VP_EXCEPTION_CONTEXT { | 2335 | typedef struct WHV_VP_EXCEPTION_CONTEXT { |
| 1919 | UINT8 InstructionByteCount; | 2336 | UINT8 InstructionByteCount; |
| ... | @@ -1941,16 +2358,128 @@ typedef struct WHV_X64_UNSUPPORTED_FEATURE_CONTEXT { | ... | @@ -1941,16 +2358,128 @@ typedef struct WHV_X64_UNSUPPORTED_FEATURE_CONTEXT { |
| 1941 | 2358 | ||
| 1942 | C_ASSERT(sizeof(WHV_X64_UNSUPPORTED_FEATURE_CONTEXT) == 16); | 2359 | C_ASSERT(sizeof(WHV_X64_UNSUPPORTED_FEATURE_CONTEXT) == 16); |
| 1943 | 2360 | ||
| 2361 | #elif defined(__aarch64__) | ||
| 2362 | |||
| 2363 | typedef union WHV_VP_EXECUTION_STATE { | ||
| 2364 | UINT16 AsUINT16; | ||
| 2365 | __C89_NAMELESS struct { | ||
| 2366 | UINT16 Cpl : 2; | ||
| 2367 | UINT16 DebugActive : 1; | ||
| 2368 | UINT16 InterruptionPending : 1; | ||
| 2369 | UINT16 Vtl : 4; | ||
| 2370 | UINT16 VirtualizationFaultActive : 1; | ||
| 2371 | UINT16 Reserved : 7; | ||
| 2372 | }; | ||
| 2373 | } WHV_VP_EXECUTION_STATE; | ||
| 2374 | |||
| 2375 | C_ASSERT(sizeof(WHV_VP_EXECUTION_STATE) == 2); | ||
| 2376 | |||
| 2377 | typedef struct WHV_INTERCEPT_MESSAGE_HEADER { | ||
| 2378 | UINT32 VpIndex; | ||
| 2379 | UINT8 InstructionLength; | ||
| 2380 | UINT8 InterceptAccessType; | ||
| 2381 | WHV_VP_EXECUTION_STATE ExecutionState; | ||
| 2382 | UINT64 Pc; | ||
| 2383 | UINT64 Cpsr; | ||
| 2384 | } WHV_INTERCEPT_MESSAGE_HEADER; | ||
| 2385 | |||
| 2386 | C_ASSERT(sizeof(WHV_INTERCEPT_MESSAGE_HEADER) == 24); | ||
| 2387 | |||
| 2388 | typedef union WHV_MEMORY_ACCESS_INFO { | ||
| 2389 | UINT8 AsUINT8; | ||
| 2390 | __C89_NAMELESS struct { | ||
| 2391 | UINT8 GvaValid : 1; | ||
| 2392 | UINT8 GvaGpaValid : 1; | ||
| 2393 | UINT8 HypercallOutputPending : 1; | ||
| 2394 | UINT8 Reserved : 5; | ||
| 2395 | }; | ||
| 2396 | } WHV_MEMORY_ACCESS_INFO; | ||
| 2397 | |||
| 2398 | typedef struct WHV_MEMORY_ACCESS_CONTEXT { | ||
| 2399 | WHV_INTERCEPT_MESSAGE_HEADER Header; | ||
| 2400 | UINT32 Reserved0; | ||
| 2401 | UINT8 InstructionByteCount; | ||
| 2402 | WHV_MEMORY_ACCESS_INFO AccessInfo; | ||
| 2403 | UINT16 Reserved1; | ||
| 2404 | UINT8 InstructionBytes[4]; | ||
| 2405 | UINT32 Reserved2; | ||
| 2406 | UINT64 Gva; | ||
| 2407 | UINT64 Gpa; | ||
| 2408 | UINT64 Syndrome; | ||
| 2409 | } WHV_MEMORY_ACCESS_CONTEXT; | ||
| 2410 | |||
| 2411 | C_ASSERT(sizeof(WHV_MEMORY_ACCESS_CONTEXT) == 64); | ||
| 2412 | |||
| 2413 | typedef struct WHV_UNRECOVERABLE_EXCEPTION_CONTEXT { | ||
| 2414 | WHV_INTERCEPT_MESSAGE_HEADER Header; | ||
| 2415 | } WHV_UNRECOVERABLE_EXCEPTION_CONTEXT; | ||
| 2416 | |||
| 2417 | C_ASSERT(sizeof(WHV_UNRECOVERABLE_EXCEPTION_CONTEXT) == 24); | ||
| 2418 | |||
| 2419 | typedef struct WHV_INVALID_VP_REGISTER_CONTEXT { | ||
| 2420 | UINT32 VpIndex; | ||
| 2421 | UINT32 Reserved; | ||
| 2422 | } WHV_INVALID_VP_REGISTER_CONTEXT; | ||
| 2423 | |||
| 2424 | C_ASSERT(sizeof(WHV_INVALID_VP_REGISTER_CONTEXT) == 8); | ||
| 2425 | |||
| 2426 | typedef struct WHV_SYNIC_SINT_DELIVERABLE_CONTEXT { | ||
| 2427 | WHV_INTERCEPT_MESSAGE_HEADER Header; | ||
| 2428 | UINT16 DeliverableSints; | ||
| 2429 | UINT16 Reserved1; | ||
| 2430 | UINT32 Reserved2; | ||
| 2431 | } WHV_SYNIC_SINT_DELIVERABLE_CONTEXT; | ||
| 2432 | |||
| 2433 | C_ASSERT(sizeof(WHV_SYNIC_SINT_DELIVERABLE_CONTEXT) == 32); | ||
| 2434 | |||
| 2435 | typedef union WHV_REGISTER_ACCESS_INFO { | ||
| 2436 | WHV_REGISTER_VALUE SourceValue; | ||
| 2437 | WHV_REGISTER_NAME DestinationRegister; | ||
| 2438 | } WHV_REGISTER_ACCESS_INFO; | ||
| 2439 | |||
| 2440 | typedef struct WHV_REGISTER_CONTEXT { | ||
| 2441 | WHV_INTERCEPT_MESSAGE_HEADER Header; | ||
| 2442 | __C89_NAMELESS struct { | ||
| 2443 | UINT8 IsMemoryOp:1; | ||
| 2444 | UINT8 Reserved:7; | ||
| 2445 | }; | ||
| 2446 | UINT8 Reserved8; | ||
| 2447 | UINT16 Reserved16; | ||
| 2448 | WHV_REGISTER_NAME RegisterName; | ||
| 2449 | WHV_REGISTER_ACCESS_INFO AccessInfo; | ||
| 2450 | } WHV_REGISTER_CONTEXT; | ||
| 2451 | |||
| 2452 | C_ASSERT(sizeof(WHV_REGISTER_CONTEXT) == 48); | ||
| 2453 | |||
| 2454 | typedef enum WHV_ARM64_RESET_TYPE { | ||
| 2455 | WHvArm64ResetTypePowerOff = 0, | ||
| 2456 | WHvArm64ResetTypeReboot | ||
| 2457 | } WHV_ARM64_RESET_TYPE; | ||
| 2458 | |||
| 2459 | typedef struct WHV_ARM64_RESET_CONTEXT { | ||
| 2460 | WHV_INTERCEPT_MESSAGE_HEADER Header; | ||
| 2461 | WHV_ARM64_RESET_TYPE ResetType; | ||
| 2462 | UINT32 Reserved; | ||
| 2463 | } WHV_ARM64_RESET_CONTEXT; | ||
| 2464 | |||
| 2465 | C_ASSERT(sizeof(WHV_ARM64_RESET_CONTEXT) == 32); | ||
| 2466 | |||
| 2467 | #endif /* defined(__x86_64__) || defined(__aarch64__) */ | ||
| 2468 | |||
| 1944 | typedef enum WHV_RUN_VP_CANCEL_REASON { | 2469 | typedef enum WHV_RUN_VP_CANCEL_REASON { |
| 1945 | WhvRunVpCancelReasonUser = 0 | 2470 | WHvRunVpCancelReasonUser = 0 |
| 1946 | } WHV_RUN_VP_CANCEL_REASON; | 2471 | } WHV_RUN_VP_CANCEL_REASON; |
| 1947 | 2472 | ||
| 2473 | #define WhvRunVpCancelReasonUser WHvRunVpCancelReasonUser | ||
| 2474 | |||
| 1948 | typedef struct WHV_RUN_VP_CANCELED_CONTEXT { | 2475 | typedef struct WHV_RUN_VP_CANCELED_CONTEXT { |
| 1949 | WHV_RUN_VP_CANCEL_REASON CancelReason; | 2476 | WHV_RUN_VP_CANCEL_REASON CancelReason; |
| 1950 | } WHV_RUN_VP_CANCELED_CONTEXT; | 2477 | } WHV_RUN_VP_CANCELED_CONTEXT; |
| 1951 | 2478 | ||
| 1952 | C_ASSERT(sizeof(WHV_RUN_VP_CANCELED_CONTEXT) == 4); | 2479 | C_ASSERT(sizeof(WHV_RUN_VP_CANCELED_CONTEXT) == 4); |
| 1953 | 2480 | ||
| 2481 | #if defined(__x86_64__) | ||
| 2482 | |||
| 1954 | typedef enum WHV_X64_PENDING_INTERRUPTION_TYPE { | 2483 | typedef enum WHV_X64_PENDING_INTERRUPTION_TYPE { |
| 1955 | WHvX64PendingInterrupt = 0, | 2484 | WHvX64PendingInterrupt = 0, |
| 1956 | WHvX64PendingNmi = 2, | 2485 | WHvX64PendingNmi = 2, |
| ... | @@ -1995,9 +2524,13 @@ typedef struct WHV_X64_APIC_SMI_CONTEXT { | ... | @@ -1995,9 +2524,13 @@ typedef struct WHV_X64_APIC_SMI_CONTEXT { |
| 1995 | 2524 | ||
| 1996 | C_ASSERT(sizeof(WHV_X64_APIC_SMI_CONTEXT) == 8); | 2525 | C_ASSERT(sizeof(WHV_X64_APIC_SMI_CONTEXT) == 8); |
| 1997 | 2526 | ||
| 2527 | #endif /* defined(__x86_64__) */ | ||
| 2528 | |||
| 2529 | #if defined(__x86_64__) | ||
| 2530 | |||
| 1998 | #define WHV_HYPERCALL_CONTEXT_MAX_XMM_REGISTERS 6 | 2531 | #define WHV_HYPERCALL_CONTEXT_MAX_XMM_REGISTERS 6 |
| 1999 | 2532 | ||
| 2000 | typedef struct _WHV_HYPERCALL_CONTEXT { | 2533 | typedef struct WHV_X64_HYPERCALL_CONTEXT { |
| 2001 | UINT64 Rax; | 2534 | UINT64 Rax; |
| 2002 | UINT64 Rbx; | 2535 | UINT64 Rbx; |
| 2003 | UINT64 Rcx; | 2536 | UINT64 Rcx; |
| ... | @@ -2008,10 +2541,24 @@ typedef struct _WHV_HYPERCALL_CONTEXT { | ... | @@ -2008,10 +2541,24 @@ typedef struct _WHV_HYPERCALL_CONTEXT { |
| 2008 | UINT64 Reserved0; | 2541 | UINT64 Reserved0; |
| 2009 | WHV_UINT128 XmmRegisters[WHV_HYPERCALL_CONTEXT_MAX_XMM_REGISTERS]; | 2542 | WHV_UINT128 XmmRegisters[WHV_HYPERCALL_CONTEXT_MAX_XMM_REGISTERS]; |
| 2010 | UINT64 Reserved1[2]; | 2543 | UINT64 Reserved1[2]; |
| 2011 | } WHV_HYPERCALL_CONTEXT, *PWHV_HYPERCALL_CONTEXT; | 2544 | } WHV_X64_HYPERCALL_CONTEXT, WHV_HYPERCALL_CONTEXT, *PWHV_HYPERCALL_CONTEXT; |
| 2012 | 2545 | ||
| 2013 | C_ASSERT(sizeof(WHV_HYPERCALL_CONTEXT) == 176); | 2546 | C_ASSERT(sizeof(WHV_HYPERCALL_CONTEXT) == 176); |
| 2014 | 2547 | ||
| 2548 | #elif defined(__aarch64__) | ||
| 2549 | |||
| 2550 | typedef struct WHV_ARM64_HYPERCALL_CONTEXT { | ||
| 2551 | WHV_INTERCEPT_MESSAGE_HEADER Header; | ||
| 2552 | UINT16 Immediate; | ||
| 2553 | UINT16 Reserved1; | ||
| 2554 | UINT32 Reserved2; | ||
| 2555 | UINT64 X[18]; | ||
| 2556 | } WHV_ARM64_HYPERCALL_CONTEXT, WHV_HYPERCALL_CONTEXT, *PWHV_HYPERCALL_CONTEXT; | ||
| 2557 | |||
| 2558 | #endif /* defined(__x86_64__) || defined(__aarch64__) */ | ||
| 2559 | |||
| 2560 | #if defined(__x86_64__) | ||
| 2561 | |||
| 2015 | typedef struct WHV_X64_APIC_INIT_SIPI_CONTEXT { | 2562 | typedef struct WHV_X64_APIC_INIT_SIPI_CONTEXT { |
| 2016 | UINT64 ApicIcr; | 2563 | UINT64 ApicIcr; |
| 2017 | } WHV_X64_APIC_INIT_SIPI_CONTEXT; | 2564 | } WHV_X64_APIC_INIT_SIPI_CONTEXT; |
| ... | @@ -2034,30 +2581,51 @@ typedef struct WHV_X64_APIC_WRITE_CONTEXT { | ... | @@ -2034,30 +2581,51 @@ typedef struct WHV_X64_APIC_WRITE_CONTEXT { |
| 2034 | 2581 | ||
| 2035 | C_ASSERT(sizeof(WHV_X64_APIC_WRITE_CONTEXT) == 16); | 2582 | C_ASSERT(sizeof(WHV_X64_APIC_WRITE_CONTEXT) == 16); |
| 2036 | 2583 | ||
| 2584 | #endif /* defined(__x86_64__) */ | ||
| 2585 | |||
| 2037 | typedef struct WHV_RUN_VP_EXIT_CONTEXT { | 2586 | typedef struct WHV_RUN_VP_EXIT_CONTEXT { |
| 2038 | WHV_RUN_VP_EXIT_REASON ExitReason; | 2587 | WHV_RUN_VP_EXIT_REASON ExitReason; |
| 2039 | UINT32 Reserved; | 2588 | UINT32 Reserved; |
| 2589 | #if defined(__x86_64__) | ||
| 2040 | WHV_VP_EXIT_CONTEXT VpContext; | 2590 | WHV_VP_EXIT_CONTEXT VpContext; |
| 2591 | #elif defined(__aarch64__) | ||
| 2592 | UINT64 Reserved1; | ||
| 2593 | #endif | ||
| 2041 | __C89_NAMELESS union { | 2594 | __C89_NAMELESS union { |
| 2042 | WHV_MEMORY_ACCESS_CONTEXT MemoryAccess; | 2595 | WHV_MEMORY_ACCESS_CONTEXT MemoryAccess; |
| 2596 | WHV_RUN_VP_CANCELED_CONTEXT CancelReason; | ||
| 2597 | WHV_HYPERCALL_CONTEXT Hypercall; | ||
| 2598 | WHV_SYNIC_SINT_DELIVERABLE_CONTEXT SynicSintDeliverable; | ||
| 2599 | #if defined(__x86_64__) | ||
| 2043 | WHV_X64_IO_PORT_ACCESS_CONTEXT IoPortAccess; | 2600 | WHV_X64_IO_PORT_ACCESS_CONTEXT IoPortAccess; |
| 2044 | WHV_X64_MSR_ACCESS_CONTEXT MsrAccess; | 2601 | WHV_X64_MSR_ACCESS_CONTEXT MsrAccess; |
| 2045 | WHV_X64_CPUID_ACCESS_CONTEXT CpuidAccess; | 2602 | WHV_X64_CPUID_ACCESS_CONTEXT CpuidAccess; |
| 2046 | WHV_VP_EXCEPTION_CONTEXT VpException; | 2603 | WHV_VP_EXCEPTION_CONTEXT VpException; |
| 2047 | WHV_X64_INTERRUPTION_DELIVERABLE_CONTEXT InterruptWindow; | 2604 | WHV_X64_INTERRUPTION_DELIVERABLE_CONTEXT InterruptWindow; |
| 2048 | WHV_X64_UNSUPPORTED_FEATURE_CONTEXT UnsupportedFeature; | 2605 | WHV_X64_UNSUPPORTED_FEATURE_CONTEXT UnsupportedFeature; |
| 2049 | WHV_RUN_VP_CANCELED_CONTEXT CancelReason; | ||
| 2050 | WHV_X64_APIC_EOI_CONTEXT ApicEoi; | 2606 | WHV_X64_APIC_EOI_CONTEXT ApicEoi; |
| 2051 | WHV_X64_RDTSC_CONTEXT ReadTsc; | 2607 | WHV_X64_RDTSC_CONTEXT ReadTsc; |
| 2052 | WHV_X64_APIC_SMI_CONTEXT ApicSmi; | 2608 | WHV_X64_APIC_SMI_CONTEXT ApicSmi; |
| 2053 | WHV_HYPERCALL_CONTEXT Hypercall; | ||
| 2054 | WHV_X64_APIC_INIT_SIPI_CONTEXT ApicInitSipi; | 2609 | WHV_X64_APIC_INIT_SIPI_CONTEXT ApicInitSipi; |
| 2055 | WHV_X64_APIC_WRITE_CONTEXT ApicWrite; | 2610 | WHV_X64_APIC_WRITE_CONTEXT ApicWrite; |
| 2056 | WHV_SYNIC_SINT_DELIVERABLE_CONTEXT SynicSintDeliverable; | 2611 | UINT64 AsUINT64[22]; |
| 2612 | #elif defined(__aarch64__) | ||
| 2613 | WHV_UNRECOVERABLE_EXCEPTION_CONTEXT UnrecoverableException; | ||
| 2614 | WHV_INVALID_VP_REGISTER_CONTEXT InvalidVpRegister; | ||
| 2615 | WHV_REGISTER_CONTEXT Register; | ||
| 2616 | WHV_ARM64_RESET_CONTEXT Arm64Reset; | ||
| 2617 | UINT64 AsUINT64[32]; | ||
| 2618 | #endif | ||
| 2057 | }; | 2619 | }; |
| 2058 | } WHV_RUN_VP_EXIT_CONTEXT; | 2620 | } WHV_RUN_VP_EXIT_CONTEXT; |
| 2059 | 2621 | ||
| 2622 | #if defined(__x86_64__) | ||
| 2060 | C_ASSERT(sizeof(WHV_RUN_VP_EXIT_CONTEXT) == 224); | 2623 | C_ASSERT(sizeof(WHV_RUN_VP_EXIT_CONTEXT) == 224); |
| 2624 | #elif defined(__aarch64__) | ||
| 2625 | C_ASSERT(sizeof(WHV_RUN_VP_EXIT_CONTEXT) == 272); | ||
| 2626 | #endif | ||
| 2627 | |||
| 2628 | #if defined(__x86_64__) | ||
| 2061 | 2629 | ||
| 2062 | typedef enum WHV_INTERRUPT_TYPE { | 2630 | typedef enum WHV_INTERRUPT_TYPE { |
| 2063 | WHvX64InterruptTypeFixed = 0, | 2631 | WHvX64InterruptTypeFixed = 0, |
| ... | @@ -2082,13 +2650,48 @@ typedef struct WHV_INTERRUPT_CONTROL { | ... | @@ -2082,13 +2650,48 @@ typedef struct WHV_INTERRUPT_CONTROL { |
| 2082 | UINT64 Type : 8; | 2650 | UINT64 Type : 8; |
| 2083 | UINT64 DestinationMode : 4; | 2651 | UINT64 DestinationMode : 4; |
| 2084 | UINT64 TriggerMode : 4; | 2652 | UINT64 TriggerMode : 4; |
| 2085 | UINT64 Reserved : 48; | 2653 | UINT64 TargetVtl : 8; |
| 2654 | UINT64 Reserved : 40; | ||
| 2086 | UINT32 Destination; | 2655 | UINT32 Destination; |
| 2087 | UINT32 Vector; | 2656 | UINT32 Vector; |
| 2088 | } WHV_INTERRUPT_CONTROL; | 2657 | } WHV_INTERRUPT_CONTROL; |
| 2089 | 2658 | ||
| 2090 | C_ASSERT(sizeof(WHV_INTERRUPT_CONTROL) == 16); | 2659 | C_ASSERT(sizeof(WHV_INTERRUPT_CONTROL) == 16); |
| 2091 | 2660 | ||
| 2661 | #elif defined(__aarch64__) | ||
| 2662 | |||
| 2663 | typedef enum WHV_INTERRUPT_TYPE { | ||
| 2664 | WHvArm64InterruptTypeFixed = 0x0000, | ||
| 2665 | WHvArm64InterruptTypeMaximum = 0x0008 | ||
| 2666 | } WHV_INTERRUPT_TYPE; | ||
| 2667 | |||
| 2668 | typedef union WHV_INTERRUPT_CONTROL2 { | ||
| 2669 | UINT64 AsUINT64; | ||
| 2670 | __C89_NAMELESS struct { | ||
| 2671 | WHV_INTERRUPT_TYPE InterruptType; | ||
| 2672 | UINT32 Reserved1 : 2; | ||
| 2673 | UINT32 Asserted : 1; | ||
| 2674 | UINT32 Retarget : 1; | ||
| 2675 | UINT32 Reserved2 : 28; | ||
| 2676 | }; | ||
| 2677 | } WHV_INTERRUPT_CONTROL2; | ||
| 2678 | |||
| 2679 | C_ASSERT(sizeof(WHV_INTERRUPT_CONTROL2) == 8); | ||
| 2680 | |||
| 2681 | typedef struct WHV_INTERRUPT_CONTROL { | ||
| 2682 | UINT64 TargetPartition; | ||
| 2683 | WHV_INTERRUPT_CONTROL2 InterruptControl; | ||
| 2684 | UINT64 DestinationAddress; | ||
| 2685 | UINT32 RequestedVector; | ||
| 2686 | UINT8 TargetVtl; | ||
| 2687 | UINT8 ReservedZ0; | ||
| 2688 | UINT16 ReservedZ1; | ||
| 2689 | } WHV_INTERRUPT_CONTROL; | ||
| 2690 | |||
| 2691 | C_ASSERT(sizeof(WHV_INTERRUPT_CONTROL) == 32); | ||
| 2692 | |||
| 2693 | #endif /* defined(__x86_64__) || defined(__aarch64__) */ | ||
| 2694 | |||
| 2092 | typedef struct WHV_DOORBELL_MATCH_DATA { | 2695 | typedef struct WHV_DOORBELL_MATCH_DATA { |
| 2093 | WHV_GUEST_PHYSICAL_ADDRESS GuestAddress; | 2696 | WHV_GUEST_PHYSICAL_ADDRESS GuestAddress; |
| 2094 | UINT64 Value; | 2697 | UINT64 Value; |
| ... | @@ -2113,11 +2716,13 @@ typedef struct WHV_PARTITION_MEMORY_COUNTERS { | ... | @@ -2113,11 +2716,13 @@ typedef struct WHV_PARTITION_MEMORY_COUNTERS { |
| 2113 | C_ASSERT(sizeof(WHV_PARTITION_MEMORY_COUNTERS) == 24); | 2716 | C_ASSERT(sizeof(WHV_PARTITION_MEMORY_COUNTERS) == 24); |
| 2114 | 2717 | ||
| 2115 | typedef enum WHV_PROCESSOR_COUNTER_SET { | 2718 | typedef enum WHV_PROCESSOR_COUNTER_SET { |
| 2116 | WHvProcessorCounterSetRuntime, | 2719 | WHvProcessorCounterSetRuntime = 0, |
| 2117 | WHvProcessorCounterSetIntercepts, | 2720 | WHvProcessorCounterSetIntercepts = 1, |
| 2118 | WHvProcessorCounterSetEvents, | 2721 | WHvProcessorCounterSetEvents = 2, |
| 2119 | WHvProcessorCounterSetApic, | 2722 | #if defined(__x86_64__) |
| 2120 | WHvProcessorCounterSetSyntheticFeatures | 2723 | WHvProcessorCounterSetApic = 3, |
| 2724 | #endif | ||
| 2725 | WHvProcessorCounterSetSyntheticFeatures = 4 | ||
| 2121 | } WHV_PROCESSOR_COUNTER_SET; | 2726 | } WHV_PROCESSOR_COUNTER_SET; |
| 2122 | 2727 | ||
| 2123 | typedef struct WHV_PROCESSOR_RUNTIME_COUNTERS { | 2728 | typedef struct WHV_PROCESSOR_RUNTIME_COUNTERS { |
| ... | @@ -2135,6 +2740,7 @@ typedef struct WHV_PROCESSOR_INTERCEPT_COUNTER { | ... | @@ -2135,6 +2740,7 @@ typedef struct WHV_PROCESSOR_INTERCEPT_COUNTER { |
| 2135 | C_ASSERT(sizeof(WHV_PROCESSOR_INTERCEPT_COUNTER) == 16); | 2740 | C_ASSERT(sizeof(WHV_PROCESSOR_INTERCEPT_COUNTER) == 16); |
| 2136 | 2741 | ||
| 2137 | typedef struct WHV_PROCESSOR_INTERCEPT_COUNTERS { | 2742 | typedef struct WHV_PROCESSOR_INTERCEPT_COUNTERS { |
| 2743 | #if defined(__x86_64__) | ||
| 2138 | WHV_PROCESSOR_INTERCEPT_COUNTER PageInvalidations; | 2744 | WHV_PROCESSOR_INTERCEPT_COUNTER PageInvalidations; |
| 2139 | WHV_PROCESSOR_INTERCEPT_COUNTER ControlRegisterAccesses; | 2745 | WHV_PROCESSOR_INTERCEPT_COUNTER ControlRegisterAccesses; |
| 2140 | WHV_PROCESSOR_INTERCEPT_COUNTER IoInstructions; | 2746 | WHV_PROCESSOR_INTERCEPT_COUNTER IoInstructions; |
| ... | @@ -2149,6 +2755,13 @@ typedef struct WHV_PROCESSOR_INTERCEPT_COUNTERS { | ... | @@ -2149,6 +2755,13 @@ typedef struct WHV_PROCESSOR_INTERCEPT_COUNTERS { |
| 2149 | WHV_PROCESSOR_INTERCEPT_COUNTER NestedPageFaultIntercepts; | 2755 | WHV_PROCESSOR_INTERCEPT_COUNTER NestedPageFaultIntercepts; |
| 2150 | WHV_PROCESSOR_INTERCEPT_COUNTER Hypercalls; | 2756 | WHV_PROCESSOR_INTERCEPT_COUNTER Hypercalls; |
| 2151 | WHV_PROCESSOR_INTERCEPT_COUNTER RdpmcInstructions; | 2757 | WHV_PROCESSOR_INTERCEPT_COUNTER RdpmcInstructions; |
| 2758 | #elif defined(__aarch64__) | ||
| 2759 | WHV_PROCESSOR_INTERCEPT_COUNTER OtherIntercepts; | ||
| 2760 | WHV_PROCESSOR_INTERCEPT_COUNTER PendingInterrupts; | ||
| 2761 | WHV_PROCESSOR_INTERCEPT_COUNTER NestedPageFaultIntercepts; | ||
| 2762 | WHV_PROCESSOR_INTERCEPT_COUNTER Hypercalls; | ||
| 2763 | WHV_PROCESSOR_INTERCEPT_COUNTER Reserved[10]; | ||
| 2764 | #endif /* defined(__x86_64__) || defined(__aarch64__) */ | ||
| 2152 | } WHV_PROCESSOR_ACTIVITY_COUNTERS; | 2765 | } WHV_PROCESSOR_ACTIVITY_COUNTERS; |
| 2153 | 2766 | ||
| 2154 | C_ASSERT(sizeof(WHV_PROCESSOR_ACTIVITY_COUNTERS) == 224); | 2767 | C_ASSERT(sizeof(WHV_PROCESSOR_ACTIVITY_COUNTERS) == 224); |
| ... | @@ -2161,6 +2774,8 @@ typedef struct WHV_PROCESSOR_EVENT_COUNTERS { | ... | @@ -2161,6 +2774,8 @@ typedef struct WHV_PROCESSOR_EVENT_COUNTERS { |
| 2161 | 2774 | ||
| 2162 | C_ASSERT(sizeof(WHV_PROCESSOR_GUEST_EVENT_COUNTERS) == 24); | 2775 | C_ASSERT(sizeof(WHV_PROCESSOR_GUEST_EVENT_COUNTERS) == 24); |
| 2163 | 2776 | ||
| 2777 | #if defined(__x86_64__) | ||
| 2778 | |||
| 2164 | typedef struct WHV_PROCESSOR_APIC_COUNTERS { | 2779 | typedef struct WHV_PROCESSOR_APIC_COUNTERS { |
| 2165 | UINT64 MmioAccessCount; | 2780 | UINT64 MmioAccessCount; |
| 2166 | UINT64 EoiAccessCount; | 2781 | UINT64 EoiAccessCount; |
| ... | @@ -2171,6 +2786,8 @@ typedef struct WHV_PROCESSOR_APIC_COUNTERS { | ... | @@ -2171,6 +2786,8 @@ typedef struct WHV_PROCESSOR_APIC_COUNTERS { |
| 2171 | 2786 | ||
| 2172 | C_ASSERT(sizeof(WHV_PROCESSOR_APIC_COUNTERS) == 40); | 2787 | C_ASSERT(sizeof(WHV_PROCESSOR_APIC_COUNTERS) == 40); |
| 2173 | 2788 | ||
| 2789 | #endif /* defined(__x86_64__) */ | ||
| 2790 | |||
| 2174 | typedef struct WHV_PROCESSOR_SYNTHETIC_FEATURES_COUNTERS { | 2791 | typedef struct WHV_PROCESSOR_SYNTHETIC_FEATURES_COUNTERS { |
| 2175 | UINT64 SyntheticInterruptsCount; | 2792 | UINT64 SyntheticInterruptsCount; |
| 2176 | UINT64 LongSpinWaitHypercallsCount; | 2793 | UINT64 LongSpinWaitHypercallsCount; |
| ... | @@ -2182,24 +2799,216 @@ typedef struct WHV_PROCESSOR_SYNTHETIC_FEATURES_COUNTERS { | ... | @@ -2182,24 +2799,216 @@ typedef struct WHV_PROCESSOR_SYNTHETIC_FEATURES_COUNTERS { |
| 2182 | 2799 | ||
| 2183 | C_ASSERT(sizeof(WHV_PROCESSOR_SYNTHETIC_FEATURES_COUNTERS) == 48); | 2800 | C_ASSERT(sizeof(WHV_PROCESSOR_SYNTHETIC_FEATURES_COUNTERS) == 48); |
| 2184 | 2801 | ||
| 2802 | typedef union WHV_VTL_PERMISSION_SET { | ||
| 2803 | UINT32 AsUINT32; | ||
| 2804 | __C89_NAMELESS struct { | ||
| 2805 | UINT16 VtlPermissionFrom1[2]; | ||
| 2806 | }; | ||
| 2807 | } WHV_VTL_PERMISSION_SET; | ||
| 2808 | |||
| 2185 | typedef enum WHV_ADVISE_GPA_RANGE_CODE { | 2809 | typedef enum WHV_ADVISE_GPA_RANGE_CODE { |
| 2186 | WHvAdviseGpaRangeCodePopulate = 0x00000000, | 2810 | WHvAdviseGpaRangeCodePopulate = 0x00000000, |
| 2187 | WHvAdviseGpaRangeCodePin = 0x00000001, | 2811 | WHvAdviseGpaRangeCodePin = 0x00000001, |
| 2188 | WHvAdviseGpaRangeCodeUnpin = 0x00000002 | 2812 | WHvAdviseGpaRangeCodeUnpin = 0x00000002 |
| 2189 | } WHV_ADVISE_GPA_RANGE_CODE; | 2813 | } WHV_ADVISE_GPA_RANGE_CODE; |
| 2190 | 2814 | ||
| 2815 | #if defined(__x86_64__) | ||
| 2816 | |||
| 2191 | typedef enum WHV_VIRTUAL_PROCESSOR_STATE_TYPE { | 2817 | typedef enum WHV_VIRTUAL_PROCESSOR_STATE_TYPE { |
| 2192 | WHvVirtualProcessorStateTypeSynicMessagePage = 0x00000000, | 2818 | WHvVirtualProcessorStateTypeSynicMessagePage = 0x00000000, |
| 2193 | WHvVirtualProcessorStateTypeSynicEventFlagPage = 0x00000001, | 2819 | WHvVirtualProcessorStateTypeSynicEventFlagPage = 0x00000001, |
| 2194 | WHvVirtualProcessorStateTypeSynicTimerState = 0x00000002, | 2820 | WHvVirtualProcessorStateTypeSynicTimerState = 0x00000002, |
| 2195 | WHvVirtualProcessorStateTypeInterruptControllerState2 = 0x00001000, | 2821 | WHvVirtualProcessorStateTypeInterruptControllerState2 = 0x00001000, |
| 2196 | WHvVirtualProcessorStateTypeXsaveState = 0x00001001 | 2822 | WHvVirtualProcessorStateTypeXsaveState = 0x00001001, |
| 2823 | WHvVirtualProcessorStateTypeNestedState = 0x00001002 | ||
| 2824 | } WHV_VIRTUAL_PROCESSOR_STATE_TYPE; | ||
| 2825 | |||
| 2826 | #elif defined(__aarch64__) | ||
| 2827 | |||
| 2828 | #define WHV_VIRTUAL_PROCESSOR_STATE_TYPE_PFN (1U << 31) | ||
| 2829 | #define WHV_VIRTUAL_PROCESSOR_STATE_TYPE_ANY_VP (1U << 30) | ||
| 2830 | |||
| 2831 | typedef enum WHV_VIRTUAL_PROCESSOR_STATE_TYPE { | ||
| 2832 | WHvVirtualProcessorStateTypeInterruptControllerState = 0x00000000 | WHV_VIRTUAL_PROCESSOR_STATE_TYPE_PFN, | ||
| 2833 | WHvVirtualProcessorStateTypeSynicMessagePage = 0x00000002 | WHV_VIRTUAL_PROCESSOR_STATE_TYPE_PFN, | ||
| 2834 | WHvVirtualProcessorStateTypeSynicEventFlagPage = 0x00000003 | WHV_VIRTUAL_PROCESSOR_STATE_TYPE_PFN, | ||
| 2835 | WHvVirtualProcessorStateTypeSynicTimerState = 0x00000004, | ||
| 2836 | WHvVirtualProcessorStateTypeGlobalInterruptState = 0x00000006 | WHV_VIRTUAL_PROCESSOR_STATE_TYPE_PFN | WHV_VIRTUAL_PROCESSOR_STATE_TYPE_ANY_VP, | ||
| 2837 | WHvVirtualProcessorStateTypeSveState = 0x00000007 | WHV_VIRTUAL_PROCESSOR_STATE_TYPE_PFN | ||
| 2197 | } WHV_VIRTUAL_PROCESSOR_STATE_TYPE; | 2838 | } WHV_VIRTUAL_PROCESSOR_STATE_TYPE; |
| 2198 | 2839 | ||
| 2840 | #endif /* defined(__x86_64__) || defined(__aarch64__) */ | ||
| 2841 | |||
| 2842 | typedef enum WHV_NESTED_STATE_TYPE { | ||
| 2843 | WHvNestedStateTypeVmx, | ||
| 2844 | WHvNestedStateTypeSvm | ||
| 2845 | } WHV_NESTED_STATE_TYPE; | ||
| 2846 | |||
| 2847 | typedef struct WHV_NESTED_ENLIGHTENMENTS_CONTROL { | ||
| 2848 | __C89_NAMELESS union { | ||
| 2849 | UINT32 AsUINT32; | ||
| 2850 | __C89_NAMELESS struct { | ||
| 2851 | UINT32 DirectHypercall:1; | ||
| 2852 | UINT32 VirtualizationException:1; | ||
| 2853 | UINT32 Reserved:30; | ||
| 2854 | }; | ||
| 2855 | } Features; | ||
| 2856 | __C89_NAMELESS union { | ||
| 2857 | UINT32 AsUINT32; | ||
| 2858 | __C89_NAMELESS struct { | ||
| 2859 | UINT32 InterPartitionCommunication:1; | ||
| 2860 | UINT32 Reserved:31; | ||
| 2861 | }; | ||
| 2862 | } HypercallControls; | ||
| 2863 | } WHV_NESTED_ENLIGHTENMENTS_CONTROL; | ||
| 2864 | |||
| 2865 | typedef struct WHV_X64_VMX_NESTED_STATE { | ||
| 2866 | WHV_NESTED_STATE_TYPE Vendor; | ||
| 2867 | __C89_NAMELESS struct { | ||
| 2868 | UINT32 GuestMode : 1; | ||
| 2869 | UINT32 Vmxon : 1; | ||
| 2870 | UINT32 CurrentVmcsValid : 1; | ||
| 2871 | UINT32 VmEntryPending : 1; | ||
| 2872 | UINT32 VmcsEnlightened : 1; | ||
| 2873 | UINT32 EnlightenedVmEntry : 1; | ||
| 2874 | UINT32 Reserved : 26; | ||
| 2875 | } Flags; | ||
| 2876 | WHV_NESTED_ENLIGHTENMENTS_CONTROL NestedEnlightenmentsControl; | ||
| 2877 | UINT64 Pdpt[4]; | ||
| 2878 | UINT64 VmxonRegionGpa; | ||
| 2879 | UINT64 VmcsGpa; | ||
| 2880 | UINT64 CurrentEnlightenedVmcs; | ||
| 2881 | __C89_NAMELESS struct { | ||
| 2882 | UINT32 Tpr; | ||
| 2883 | UINT32 Ppr; | ||
| 2884 | UINT32 Isr[8]; | ||
| 2885 | UINT32 Irr[8]; | ||
| 2886 | UINT32 IcrLow; | ||
| 2887 | UINT32 IcrHigh; | ||
| 2888 | } VirtualApicRegs; | ||
| 2889 | UINT8 Reserved[3944]; | ||
| 2890 | DECLSPEC_ALIGN(4096) UINT8 VmcsBytes[4096]; | ||
| 2891 | } WHV_X64_VMX_NESTED_STATE; | ||
| 2892 | |||
| 2893 | typedef struct WHV_SVM_VMCB_SELECTOR { | ||
| 2894 | UINT16 Selector; | ||
| 2895 | UINT16 Attrib; | ||
| 2896 | UINT32 Limit; | ||
| 2897 | UINT64 Base; | ||
| 2898 | } WHV_SVM_VMCB_SELECTOR; | ||
| 2899 | |||
| 2900 | typedef struct WHV_SVM_NESTED_HOST_STATE { | ||
| 2901 | UINT64 Rip; | ||
| 2902 | UINT64 Rsp; | ||
| 2903 | UINT64 Rflags; | ||
| 2904 | UINT64 Rax; | ||
| 2905 | WHV_SVM_VMCB_SELECTOR Es; | ||
| 2906 | WHV_SVM_VMCB_SELECTOR Cs; | ||
| 2907 | WHV_SVM_VMCB_SELECTOR Ss; | ||
| 2908 | WHV_SVM_VMCB_SELECTOR Ds; | ||
| 2909 | WHV_SVM_VMCB_SELECTOR Gdtr; | ||
| 2910 | WHV_SVM_VMCB_SELECTOR Idtr; | ||
| 2911 | UINT64 Efer; | ||
| 2912 | UINT64 Cr0; | ||
| 2913 | UINT64 Cr3; | ||
| 2914 | UINT64 Cr4; | ||
| 2915 | UINT64 VirtualTpr; | ||
| 2916 | UINT64 Reserved[6]; | ||
| 2917 | } WHV_SVM_NESTED_HOST_STATE; | ||
| 2918 | |||
| 2919 | typedef struct WHV_X64_SVM_NESTED_STATE { | ||
| 2920 | WHV_NESTED_STATE_TYPE Vendor; | ||
| 2921 | __C89_NAMELESS struct { | ||
| 2922 | UINT32 GuestMode : 1; | ||
| 2923 | UINT32 VmEntryPending : 1; | ||
| 2924 | UINT32 HostSaveGpaValid : 1; | ||
| 2925 | UINT32 CurrentVmcbValid : 1; | ||
| 2926 | UINT32 Reserved : 28; | ||
| 2927 | } Flags; | ||
| 2928 | WHV_NESTED_ENLIGHTENMENTS_CONTROL NestedEnlightenmentsControl; | ||
| 2929 | UINT64 HostSaveGpa; | ||
| 2930 | UINT64 VmControlMsr; | ||
| 2931 | UINT64 VirtualTscRatioMsr; | ||
| 2932 | UINT64 VmcbGpa; | ||
| 2933 | WHV_SVM_NESTED_HOST_STATE HostState; | ||
| 2934 | UINT8 Reserved[3832]; | ||
| 2935 | DECLSPEC_ALIGN(4096) UINT8 VmcbBytes[4096]; | ||
| 2936 | } WHV_X64_SVM_NESTED_STATE; | ||
| 2937 | |||
| 2938 | typedef union WHV_X64_NESTED_STATE { | ||
| 2939 | WHV_X64_VMX_NESTED_STATE Vmx; | ||
| 2940 | WHV_X64_SVM_NESTED_STATE Svm; | ||
| 2941 | } WHV_X64_NESTED_STATE; | ||
| 2942 | |||
| 2943 | C_ASSERT(sizeof(WHV_X64_NESTED_STATE) == (2 * 4096)); | ||
| 2944 | |||
| 2945 | #if defined (__aarch64__) | ||
| 2946 | |||
| 2947 | typedef struct WHV_ARM64_INTERRUPT_STATE { | ||
| 2948 | __C89_NAMELESS struct { | ||
| 2949 | UINT8 Enabled : 1; | ||
| 2950 | UINT8 EdgeTriggered : 1; | ||
| 2951 | UINT8 Asserted : 1; | ||
| 2952 | UINT8 SetPending : 1; | ||
| 2953 | UINT8 Active : 1; | ||
| 2954 | UINT8 Direct : 1; | ||
| 2955 | UINT8 Reserved0 : 2; | ||
| 2956 | }; | ||
| 2957 | UINT8 GicrIpriorityrConfigured; | ||
| 2958 | UINT8 GicrIpriorityrActive; | ||
| 2959 | UINT8 Reserved1; | ||
| 2960 | } WHV_ARM64_INTERRUPT_STATE; | ||
| 2961 | |||
| 2962 | typedef struct WHV_ARM64_GLOBAL_INTERRUPT_STATE { | ||
| 2963 | UINT32 InterruptId; | ||
| 2964 | UINT32 ActiveVpIndex; | ||
| 2965 | __C89_NAMELESS union { | ||
| 2966 | UINT32 TargetMpidr; | ||
| 2967 | UINT32 TargetVpIndex; | ||
| 2968 | }; | ||
| 2969 | WHV_ARM64_INTERRUPT_STATE InterruptState; | ||
| 2970 | } WHV_ARM64_GLOBAL_INTERRUPT_STATE; | ||
| 2971 | |||
| 2972 | #define WHV_ARM64_GLOBAL_INTERRUPT_CONTROLLER_STATE_VERSION_CURRENT (1) | ||
| 2973 | |||
| 2974 | typedef struct WHV_ARM64_GLOBAL_INTERRUPT_CONTROLLER_STATE { | ||
| 2975 | UINT8 Version; | ||
| 2976 | UINT8 GicVersion; | ||
| 2977 | UINT8 Reserved0[2]; | ||
| 2978 | UINT32 NumInterrupts; | ||
| 2979 | UINT64 GicdCtlrEnableGrp1A; | ||
| 2980 | WHV_ARM64_GLOBAL_INTERRUPT_STATE Interrupts[ANYSIZE_ARRAY]; | ||
| 2981 | } WHV_ARM64_GLOBAL_INTERRUPT_CONTROLLER_STATE; | ||
| 2982 | |||
| 2983 | #define WHV_ARM64_INTERRUPT_CONTROLLER_STATE_VERSION_CURRENT (1) | ||
| 2984 | |||
| 2985 | typedef struct WHV_ARM64_LOCAL_INTERRUPT_CONTROLLER_STATE { | ||
| 2986 | UINT8 Version; | ||
| 2987 | UINT8 GicVersion; | ||
| 2988 | UINT8 Reserved0[6]; | ||
| 2989 | UINT64 IccIgrpen1El1; | ||
| 2990 | UINT64 GicrCtlrEnableLpis; | ||
| 2991 | UINT64 IccBpr1El1; | ||
| 2992 | UINT64 IccPmrEl1; | ||
| 2993 | UINT64 GicrPropbaser; | ||
| 2994 | UINT64 GicrPendbaser; | ||
| 2995 | UINT32 IchAp1REl2[4]; | ||
| 2996 | WHV_ARM64_INTERRUPT_STATE BankedInterruptState[32]; | ||
| 2997 | } WHV_ARM64_LOCAL_INTERRUPT_CONTROLLER_STATE; | ||
| 2998 | |||
| 2999 | typedef struct WHV_ARM64_VP_STATE_SVE { | ||
| 3000 | USHORT Version; | ||
| 3001 | USHORT RegisterDataOffset; | ||
| 3002 | UINT32 VectorLength; | ||
| 3003 | UINT64 Reserved0; | ||
| 3004 | } WHV_ARM64_VP_STATE_SVE; | ||
| 3005 | |||
| 3006 | #endif /* defined(__aarch64__) */ | ||
| 3007 | |||
| 2199 | typedef struct WHV_SYNIC_EVENT_PARAMETERS { | 3008 | typedef struct WHV_SYNIC_EVENT_PARAMETERS { |
| 2200 | UINT32 VpIndex; | 3009 | UINT32 VpIndex; |
| 2201 | UINT8 TargetSint; | 3010 | UINT8 TargetSint; |
| 2202 | UINT8 Reserved; | 3011 | WHV_VTL TargetVtl; |
| 2203 | UINT16 FlagNumber; | 3012 | UINT16 FlagNumber; |
| 2204 | } WHV_SYNIC_EVENT_PARAMETERS; | 3013 | } WHV_SYNIC_EVENT_PARAMETERS; |
| 2205 | 3014 | ||
| ... | @@ -2326,7 +3135,9 @@ typedef struct WHV_VPCI_INTERRUPT_TARGET { | ... | @@ -2326,7 +3135,9 @@ typedef struct WHV_VPCI_INTERRUPT_TARGET { |
| 2326 | C_ASSERT(sizeof(WHV_VPCI_INTERRUPT_TARGET) == 16); | 3135 | C_ASSERT(sizeof(WHV_VPCI_INTERRUPT_TARGET) == 16); |
| 2327 | 3136 | ||
| 2328 | typedef enum WHV_TRIGGER_TYPE { | 3137 | typedef enum WHV_TRIGGER_TYPE { |
| 3138 | #if defined(__x86_64__) | ||
| 2329 | WHvTriggerTypeInterrupt = 0, | 3139 | WHvTriggerTypeInterrupt = 0, |
| 3140 | #endif | ||
| 2330 | WHvTriggerTypeSynicEvent = 1, | 3141 | WHvTriggerTypeSynicEvent = 1, |
| 2331 | WHvTriggerTypeDeviceInterrupt = 2 | 3142 | WHvTriggerTypeDeviceInterrupt = 2 |
| 2332 | } WHV_TRIGGER_TYPE; | 3143 | } WHV_TRIGGER_TYPE; |
| ... | @@ -2335,7 +3146,9 @@ typedef struct WHV_TRIGGER_PARAMETERS { | ... | @@ -2335,7 +3146,9 @@ typedef struct WHV_TRIGGER_PARAMETERS { |
| 2335 | WHV_TRIGGER_TYPE TriggerType; | 3146 | WHV_TRIGGER_TYPE TriggerType; |
| 2336 | UINT32 Reserved; | 3147 | UINT32 Reserved; |
| 2337 | __C89_NAMELESS union { | 3148 | __C89_NAMELESS union { |
| 3149 | #if defined(__x86_64__) | ||
| 2338 | WHV_INTERRUPT_CONTROL Interrupt; | 3150 | WHV_INTERRUPT_CONTROL Interrupt; |
| 3151 | #endif | ||
| 2339 | WHV_SYNIC_EVENT_PARAMETERS SynicEvent; | 3152 | WHV_SYNIC_EVENT_PARAMETERS SynicEvent; |
| 2340 | __C89_NAMELESS struct { | 3153 | __C89_NAMELESS struct { |
| 2341 | UINT64 LogicalDeviceId; | 3154 | UINT64 LogicalDeviceId; |
| ... | @@ -2372,7 +3185,9 @@ typedef enum WHV_NOTIFICATION_PORT_TYPE { | ... | @@ -2372,7 +3185,9 @@ typedef enum WHV_NOTIFICATION_PORT_TYPE { |
| 2372 | 3185 | ||
| 2373 | typedef struct WHV_NOTIFICATION_PORT_PARAMETERS { | 3186 | typedef struct WHV_NOTIFICATION_PORT_PARAMETERS { |
| 2374 | WHV_NOTIFICATION_PORT_TYPE NotificationPortType; | 3187 | WHV_NOTIFICATION_PORT_TYPE NotificationPortType; |
| 2375 | UINT32 Reserved; | 3188 | UINT16 Reserved; |
| 3189 | UINT8 Reserved1; | ||
| 3190 | UINT8 ConnectionVtl; | ||
| 2376 | __C89_NAMELESS union { | 3191 | __C89_NAMELESS union { |
| 2377 | WHV_DOORBELL_MATCH_DATA Doorbell; | 3192 | WHV_DOORBELL_MATCH_DATA Doorbell; |
| 2378 | __C89_NAMELESS struct { | 3193 | __C89_NAMELESS struct { |
| ... | @@ -2398,4 +3213,6 @@ typedef PVOID WHV_NOTIFICATION_PORT_HANDLE; | ... | @@ -2398,4 +3213,6 @@ typedef PVOID WHV_NOTIFICATION_PORT_HANDLE; |
| 2398 | 3213 | ||
| 2399 | #define WHV_SYNIC_MESSAGE_SIZE 256 | 3214 | #define WHV_SYNIC_MESSAGE_SIZE 256 |
| 2400 | 3215 | ||
| 3216 | #endif /* defined(__x86_64__) || defined(__aarch64__) */ | ||
| 3217 | |||
| 2401 | #endif /* _WINHVAPIDEFS_H_ */ | 3218 | #endif /* _WINHVAPIDEFS_H_ */ |
lib/libc/include/any-windows-any/winioctl.h+48| ... | @@ -3229,6 +3229,54 @@ typedef struct _CSV_NAMESPACE_INFO { | ... | @@ -3229,6 +3229,54 @@ typedef struct _CSV_NAMESPACE_INFO { |
| 3229 | #define FSCTL_LMR_QUERY_INFO CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 286, METHOD_BUFFERED, FILE_ANY_ACCESS) | 3229 | #define FSCTL_LMR_QUERY_INFO CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 286, METHOD_BUFFERED, FILE_ANY_ACCESS) |
| 3230 | #endif | 3230 | #endif |
| 3231 | 3231 | ||
| 3232 | #if (_WIN32_WINNT >= _WIN32_WINNT_WINBLUE) | ||
| 3233 | typedef struct _DUPLICATE_EXTENTS_DATA { | ||
| 3234 | HANDLE FileHandle; | ||
| 3235 | LARGE_INTEGER SourceFileOffset; | ||
| 3236 | LARGE_INTEGER TargetFileOffset; | ||
| 3237 | LARGE_INTEGER ByteCount; | ||
| 3238 | } DUPLICATE_EXTENTS_DATA, *PDUPLICATE_EXTENTS_DATA; | ||
| 3239 | |||
| 3240 | #if ((NTDDI_VERSION >= NTDDI_WIN10_RS2) && defined(_WIN64)) | ||
| 3241 | typedef struct _DUPLICATE_EXTENTS_DATA32 { | ||
| 3242 | UINT32 FileHandle; | ||
| 3243 | LARGE_INTEGER SourceFileOffset; | ||
| 3244 | LARGE_INTEGER TargetFileOffset; | ||
| 3245 | LARGE_INTEGER ByteCount; | ||
| 3246 | } DUPLICATE_EXTENTS_DATA32, *PDUPLICATE_EXTENTS_DATA32; | ||
| 3247 | #endif /* ((NTDDI_VERSION >= NTDDI_WIN10_RS2) && defined(_WIN64)) */ | ||
| 3248 | |||
| 3249 | #endif /* (_WIN32_WINNT >= _WIN32_WINNT_WINBLUE) */ | ||
| 3250 | |||
| 3251 | #if (NTDDI_VERSION >= NTDDI_WIN10_RS3) | ||
| 3252 | #define DUPLICATE_EXTENTS_DATA_EX_SOURCE_ATOMIC 0x00000001 | ||
| 3253 | |||
| 3254 | #if (NTDDI_VERSION >= NTDDI_WIN10_VB) | ||
| 3255 | #define DUPLICATE_EXTENTS_DATA_EX_ASYNC 0x00000002 | ||
| 3256 | #endif /* (NTDDI_VERSION >= NTDDI_WIN10_VB) */ | ||
| 3257 | |||
| 3258 | typedef struct _DUPLICATE_EXTENTS_DATA_EX { | ||
| 3259 | SIZE_T Size; | ||
| 3260 | HANDLE FileHandle; | ||
| 3261 | LARGE_INTEGER SourceFileOffset; | ||
| 3262 | LARGE_INTEGER TargetFileOffset; | ||
| 3263 | LARGE_INTEGER ByteCount; | ||
| 3264 | DWORD Flags; | ||
| 3265 | } DUPLICATE_EXTENTS_DATA_EX, *PDUPLICATE_EXTENTS_DATA_EX; | ||
| 3266 | |||
| 3267 | #if ((NTDDI_VERSION >= NTDDI_WIN10_RS3) && defined(_WIN64)) | ||
| 3268 | typedef struct _DUPLICATE_EXTENTS_DATA_EX32 { | ||
| 3269 | DWORD32 Size; | ||
| 3270 | DWORD32 FileHandle; | ||
| 3271 | LARGE_INTEGER SourceFileOffset; | ||
| 3272 | LARGE_INTEGER TargetFileOffset; | ||
| 3273 | LARGE_INTEGER ByteCount; | ||
| 3274 | DWORD Flags; | ||
| 3275 | } DUPLICATE_EXTENTS_DATA_EX32, *PDUPLICATE_EXTENTS_DATA_EX32; | ||
| 3276 | #endif /* ((NTDDI_VERSION >= NTDDI_WIN10_RS3) && defined(_WIN64)) */ | ||
| 3277 | |||
| 3278 | #endif /* (NTDDI_VERSION >= NTDDI_WIN10_RS3) */ | ||
| 3279 | |||
| 3232 | #endif /* _FILESYSTEMFSCTL_ */ | 3280 | #endif /* _FILESYSTEMFSCTL_ */ |
| 3233 | 3281 | ||
| 3234 | 3282 |
lib/libc/include/any-windows-any/winnt.h+26-11| ... | @@ -2454,6 +2454,21 @@ extern "C" { | ... | @@ -2454,6 +2454,21 @@ extern "C" { |
| 2454 | #define UNW_FLAG_EHANDLER 0x1 | 2454 | #define UNW_FLAG_EHANDLER 0x1 |
| 2455 | #define UNW_FLAG_UHANDLER 0x2 | 2455 | #define UNW_FLAG_UHANDLER 0x2 |
| 2456 | 2456 | ||
| 2457 | #define NONVOL_INT_NUMREG_ARM64 (11) | ||
| 2458 | #define NONVOL_FP_NUMREG_ARM64 (8) | ||
| 2459 | |||
| 2460 | #define NONVOL_INT_SIZE_ARM64 (NONVOL_INT_NUMREG_ARM64 * sizeof(DWORD64)) | ||
| 2461 | #define NONVOL_FP_SIZE_ARM64 (NONVOL_FP_NUMREG_ARM64 * sizeof(double)) | ||
| 2462 | |||
| 2463 | typedef union _DISPATCHER_CONTEXT_NONVOLREG_ARM64 { | ||
| 2464 | BYTE Buffer[NONVOL_INT_SIZE_ARM64 + NONVOL_FP_SIZE_ARM64]; | ||
| 2465 | |||
| 2466 | __C89_NAMELESS struct { | ||
| 2467 | DWORD64 GpNvRegs[NONVOL_INT_NUMREG_ARM64]; | ||
| 2468 | double FpNvRegs[NONVOL_FP_NUMREG_ARM64]; | ||
| 2469 | } DUMMYSTRUCTNAME; | ||
| 2470 | } DISPATCHER_CONTEXT_NONVOLREG_ARM64; | ||
| 2471 | |||
| 2457 | typedef struct _DISPATCHER_CONTEXT_ARM64 { | 2472 | typedef struct _DISPATCHER_CONTEXT_ARM64 { |
| 2458 | ULONG_PTR ControlPc; | 2473 | ULONG_PTR ControlPc; |
| 2459 | ULONG_PTR ImageBase; | 2474 | ULONG_PTR ImageBase; |
| ... | @@ -5401,7 +5416,7 @@ DEFINE_ENUM_FLAG_OPERATORS(JOB_OBJECT_IO_RATE_CONTROL_FLAGS) | ... | @@ -5401,7 +5416,7 @@ DEFINE_ENUM_FLAG_OPERATORS(JOB_OBJECT_IO_RATE_CONTROL_FLAGS) |
| 5401 | SERVERSILO_STARTED, | 5416 | SERVERSILO_STARTED, |
| 5402 | SERVERSILO_SHUTTING_DOWN, | 5417 | SERVERSILO_SHUTTING_DOWN, |
| 5403 | SERVERSILO_TERMINATING, | 5418 | SERVERSILO_TERMINATING, |
| 5404 | SERVERSILO_TERMINATED, | 5419 | SERVERSILO_TERMINATED |
| 5405 | } SERVERSILO_STATE, *PSERVERSILO_STATE; | 5420 | } SERVERSILO_STATE, *PSERVERSILO_STATE; |
| 5406 | 5421 | ||
| 5407 | typedef struct _SERVERSILO_BASIC_INFORMATION { | 5422 | typedef struct _SERVERSILO_BASIC_INFORMATION { |
| ... | @@ -8805,14 +8820,14 @@ DEFINE_ENUM_FLAG_OPERATORS(JOB_OBJECT_IO_RATE_CONTROL_FLAGS) | ... | @@ -8805,14 +8820,14 @@ DEFINE_ENUM_FLAG_OPERATORS(JOB_OBJECT_IO_RATE_CONTROL_FLAGS) |
| 8805 | typedef enum ARM64_FNPDATA_FLAGS { | 8820 | typedef enum ARM64_FNPDATA_FLAGS { |
| 8806 | PdataRefToFullXdata = 0, | 8821 | PdataRefToFullXdata = 0, |
| 8807 | PdataPackedUnwindFunction = 1, | 8822 | PdataPackedUnwindFunction = 1, |
| 8808 | PdataPackedUnwindFragment = 2, | 8823 | PdataPackedUnwindFragment = 2 |
| 8809 | } ARM64_FNPDATA_FLAGS; | 8824 | } ARM64_FNPDATA_FLAGS; |
| 8810 | 8825 | ||
| 8811 | typedef enum ARM64_FNPDATA_CR { | 8826 | typedef enum ARM64_FNPDATA_CR { |
| 8812 | PdataCrUnchained = 0, | 8827 | PdataCrUnchained = 0, |
| 8813 | PdataCrUnchainedSavedLr = 1, | 8828 | PdataCrUnchainedSavedLr = 1, |
| 8814 | PdataCrChainedWithPac = 2, | 8829 | PdataCrChainedWithPac = 2, |
| 8815 | PdataCrChained = 3, | 8830 | PdataCrChained = 3 |
| 8816 | } ARM64_FNPDATA_CR; | 8831 | } ARM64_FNPDATA_CR; |
| 8817 | 8832 | ||
| 8818 | typedef struct _IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY { | 8833 | typedef struct _IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY { |
| ... | @@ -9125,27 +9140,27 @@ DEFINE_ENUM_FLAG_OPERATORS(JOB_OBJECT_IO_RATE_CONTROL_FLAGS) | ... | @@ -9125,27 +9140,27 @@ DEFINE_ENUM_FLAG_OPERATORS(JOB_OBJECT_IO_RATE_CONTROL_FLAGS) |
| 9125 | #endif | 9140 | #endif |
| 9126 | 9141 | ||
| 9127 | #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP) | 9142 | #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP) |
| 9128 | NTSYSAPI VOID NTAPI RtlUnwind (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue); | 9143 | NTSYSAPI VOID NTAPI __MINGW_ATTRIB_NORETURN RtlUnwind (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue); |
| 9129 | NTSYSAPI PVOID NTAPI RtlPcToFileHeader (PVOID PcValue, PVOID *BaseOfImage); | 9144 | NTSYSAPI PVOID NTAPI RtlPcToFileHeader (PVOID PcValue, PVOID *BaseOfImage); |
| 9130 | #if defined (__x86_64__) | 9145 | #if defined (__x86_64__) |
| 9131 | NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (DWORD64 ControlPc, PDWORD64 ImageBase, PUNWIND_HISTORY_TABLE HistoryTable); | 9146 | NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (DWORD64 ControlPc, PDWORD64 ImageBase, PUNWIND_HISTORY_TABLE HistoryTable); |
| 9132 | NTSYSAPI VOID NTAPI RtlUnwindEx (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable); | 9147 | NTSYSAPI VOID NTAPI __MINGW_ATTRIB_NORETURN RtlUnwindEx (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable); |
| 9133 | NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, DWORD64 ImageBase, DWORD64 ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PDWORD64 EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers); | 9148 | NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, DWORD64 ImageBase, DWORD64 ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PDWORD64 EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers); |
| 9134 | NTSYSAPI BOOLEAN NTAPI RtlIsEcCode(DWORD64 CodePointer); | 9149 | NTSYSAPI BOOLEAN NTAPI RtlIsEcCode(DWORD64 CodePointer); |
| 9135 | #endif | 9150 | #endif |
| 9136 | #if defined (__arm__) | 9151 | #if defined (__arm__) |
| 9137 | NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (ULONG_PTR ControlPc, PDWORD ImageBase, PUNWIND_HISTORY_TABLE HistoryTable); | 9152 | NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (ULONG_PTR ControlPc, PDWORD ImageBase, PUNWIND_HISTORY_TABLE HistoryTable); |
| 9138 | NTSYSAPI VOID NTAPI RtlUnwindEx (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable); | 9153 | NTSYSAPI VOID NTAPI __MINGW_ATTRIB_NORETURN RtlUnwindEx (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable); |
| 9139 | NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, DWORD ImageBase, DWORD ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PDWORD EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers); | 9154 | NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, DWORD ImageBase, DWORD ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PDWORD EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers); |
| 9140 | #endif | 9155 | #endif |
| 9141 | #if defined (__aarch64__) | 9156 | #if defined (__aarch64__) |
| 9142 | NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (ULONG_PTR ControlPc, PULONG_PTR ImageBase, PUNWIND_HISTORY_TABLE HistoryTable); | 9157 | NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (ULONG_PTR ControlPc, PULONG_PTR ImageBase, PUNWIND_HISTORY_TABLE HistoryTable); |
| 9143 | NTSYSAPI VOID NTAPI RtlUnwindEx (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable); | 9158 | NTSYSAPI VOID NTAPI __MINGW_ATTRIB_NORETURN RtlUnwindEx (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable); |
| 9144 | NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, ULONG_PTR ImageBase, ULONG_PTR ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PULONG_PTR EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers); | 9159 | NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, ULONG_PTR ImageBase, ULONG_PTR ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PULONG_PTR EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers); |
| 9145 | #endif | 9160 | #endif |
| 9146 | #if defined (__ia64__) | 9161 | #if defined (__ia64__) |
| 9147 | NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (ULONGLONG ControlPc, PULONGLONG ImageBase, PULONGLONG TargetGp); | 9162 | NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (ULONGLONG ControlPc, PULONGLONG ImageBase, PULONGLONG TargetGp); |
| 9148 | NTSYSAPI VOID NTAPI RtlUnwindEx (FRAME_POINTERS TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable); | 9163 | NTSYSAPI VOID NTAPI __MINGW_ATTRIB_NORETURN RtlUnwindEx (FRAME_POINTERS TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable); |
| 9149 | NTSYSAPI ULONGLONG NTAPI RtlVirtualUnwind (ULONGLONG ImageBase, ULONGLONG ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PBOOLEAN InFunction, PFRAME_POINTERS EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers); | 9164 | NTSYSAPI ULONGLONG NTAPI RtlVirtualUnwind (ULONGLONG ImageBase, ULONGLONG ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PBOOLEAN InFunction, PFRAME_POINTERS EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers); |
| 9150 | #endif | 9165 | #endif |
| 9151 | #endif | 9166 | #endif |
| ... | @@ -9470,7 +9485,7 @@ typedef DWORD (WINAPI *PRTL_RUN_ONCE_INIT_FN)(PRTL_RUN_ONCE, PVOID, PVOID *); | ... | @@ -9470,7 +9485,7 @@ typedef DWORD (WINAPI *PRTL_RUN_ONCE_INIT_FN)(PRTL_RUN_ONCE, PVOID, PVOID *); |
| 9470 | typedef enum _RTL_UMS_SCHEDULER_REASON { | 9485 | typedef enum _RTL_UMS_SCHEDULER_REASON { |
| 9471 | UmsSchedulerStartup = 0, | 9486 | UmsSchedulerStartup = 0, |
| 9472 | UmsSchedulerThreadBlocked, | 9487 | UmsSchedulerThreadBlocked, |
| 9473 | UmsSchedulerThreadYield, | 9488 | UmsSchedulerThreadYield |
| 9474 | } RTL_UMS_SCHEDULER_REASON,*PRTL_UMS_SCHEDULER_REASON; | 9489 | } RTL_UMS_SCHEDULER_REASON,*PRTL_UMS_SCHEDULER_REASON; |
| 9475 | 9490 | ||
| 9476 | typedef VOID NTAPI RTL_UMS_SCHEDULER_ENTRY_POINT (RTL_UMS_SCHEDULER_REASON Reason, ULONG_PTR ActivationPayload, PVOID SchedulerParam); | 9491 | typedef VOID NTAPI RTL_UMS_SCHEDULER_ENTRY_POINT (RTL_UMS_SCHEDULER_REASON Reason, ULONG_PTR ActivationPayload, PVOID SchedulerParam); |
| ... | @@ -10457,13 +10472,13 @@ typedef DWORD (WINAPI *PRTL_RUN_ONCE_INIT_FN)(PRTL_RUN_ONCE, PVOID, PVOID *); | ... | @@ -10457,13 +10472,13 @@ typedef DWORD (WINAPI *PRTL_RUN_ONCE_INIT_FN)(PRTL_RUN_ONCE, PVOID, PVOID *); |
| 10457 | typedef enum _TRANSACTION_OUTCOME { | 10472 | typedef enum _TRANSACTION_OUTCOME { |
| 10458 | 	TransactionOutcomeUndetermined = 1, | 10473 | 	TransactionOutcomeUndetermined = 1, |
| 10459 | 	TransactionOutcomeCommitted, | 10474 | 	TransactionOutcomeCommitted, |
| 10460 | 	TransactionOutcomeAborted, | 10475 | 	TransactionOutcomeAborted |
| 10461 | } TRANSACTION_OUTCOME; | 10476 | } TRANSACTION_OUTCOME; |
| 10462 | 10477 | ||
| 10463 | typedef enum _TRANSACTION_STATE { | 10478 | typedef enum _TRANSACTION_STATE { |
| 10464 | 	TransactionStateNormal = 1, | 10479 | 	TransactionStateNormal = 1, |
| 10465 | 	TransactionStateIndoubt, | 10480 | 	TransactionStateIndoubt, |
| 10466 | 	TransactionStateCommittedNotify, | 10481 | 	TransactionStateCommittedNotify |
| 10467 | } TRANSACTION_STATE; | 10482 | } TRANSACTION_STATE; |
| 10468 | 10483 | ||
| 10469 | typedef struct _TRANSACTION_BASIC_INFORMATION { | 10484 | typedef struct _TRANSACTION_BASIC_INFORMATION { |
lib/libc/include/any-windows-any/winuser.h+2-2| ... | @@ -2836,7 +2836,7 @@ DIALOG_DPI_CHANGE_BEHAVIORS WINAPI GetDialogDpiChangeBehavior(HWND hDlg); | ... | @@ -2836,7 +2836,7 @@ DIALOG_DPI_CHANGE_BEHAVIORS WINAPI GetDialogDpiChangeBehavior(HWND hDlg); |
| 2836 | POINTER_CHANGE_FOURTHBUTTON_DOWN, | 2836 | POINTER_CHANGE_FOURTHBUTTON_DOWN, |
| 2837 | POINTER_CHANGE_FOURTHBUTTON_UP, | 2837 | POINTER_CHANGE_FOURTHBUTTON_UP, |
| 2838 | POINTER_CHANGE_FIFTHBUTTON_DOWN, | 2838 | POINTER_CHANGE_FIFTHBUTTON_DOWN, |
| 2839 | POINTER_CHANGE_FIFTHBUTTON_UP, | 2839 | POINTER_CHANGE_FIFTHBUTTON_UP |
| 2840 | } POINTER_BUTTON_CHANGE_TYPE; | 2840 | } POINTER_BUTTON_CHANGE_TYPE; |
| 2841 | 2841 | ||
| 2842 | typedef struct tagPOINTER_INFO { | 2842 | typedef struct tagPOINTER_INFO { |
| ... | @@ -6705,7 +6705,7 @@ WINUSERAPI DPI_AWARENESS_CONTEXT WINAPI GetDpiAwarenessContextForProcess(HANDLE | ... | @@ -6705,7 +6705,7 @@ WINUSERAPI DPI_AWARENESS_CONTEXT WINAPI GetDpiAwarenessContextForProcess(HANDLE |
| 6705 | IMO_UNAVAILABLE = 0x00000000, | 6705 | IMO_UNAVAILABLE = 0x00000000, |
| 6706 | IMO_HARDWARE = 0x00000001, | 6706 | IMO_HARDWARE = 0x00000001, |
| 6707 | IMO_INJECTED = 0x00000002, | 6707 | IMO_INJECTED = 0x00000002, |
| 6708 | IMO_SYSTEM = 0x00000004, | 6708 | IMO_SYSTEM = 0x00000004 |
| 6709 | } INPUT_MESSAGE_ORIGIN_ID; | 6709 | } INPUT_MESSAGE_ORIGIN_ID; |
| 6710 | 6710 | ||
| 6711 | typedef struct tagINPUT_MESSAGE_SOURCE { | 6711 | typedef struct tagINPUT_MESSAGE_SOURCE { |
lib/libc/include/any-windows-any/wmcodecdsp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wmcodecdsp.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wmcodecdsp.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wmcontainer.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wmcontainer.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wmcontainer.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wmdrmsdk.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wmdrmsdk.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wmdrmsdk.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wmp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wmp.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wmp.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wmprealestate.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wmprealestate.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wmprealestate.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wmpservices.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wmpservices.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wmpservices.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wmsbuffer.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wmsbuffer.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wmsbuffer.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wmsdkidl.h+3-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wmsdkidl.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wmsdkidl.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
| ... | @@ -652,6 +652,7 @@ typedef enum tagWMT_STORAGE_FORMAT { | ... | @@ -652,6 +652,7 @@ typedef enum tagWMT_STORAGE_FORMAT { |
| 652 | WMT_Storage_Format_MP3 = 0, | 652 | WMT_Storage_Format_MP3 = 0, |
| 653 | WMT_Storage_Format_V1 = 1 | 653 | WMT_Storage_Format_V1 = 1 |
| 654 | } WMT_STORAGE_FORMAT; | 654 | } WMT_STORAGE_FORMAT; |
| 655 | #pragma pack(push,2) | ||
| 655 | typedef struct _WMStreamPrioritizationRecord { | 656 | typedef struct _WMStreamPrioritizationRecord { |
| 656 | WORD wStreamNumber; | 657 | WORD wStreamNumber; |
| 657 | WINBOOL fMandatory; | 658 | WINBOOL fMandatory; |
| ... | @@ -662,6 +663,7 @@ typedef struct _WMT_TIMECODE_EXTENSION_DATA { | ... | @@ -662,6 +663,7 @@ typedef struct _WMT_TIMECODE_EXTENSION_DATA { |
| 662 | DWORD dwUserbits; | 663 | DWORD dwUserbits; |
| 663 | DWORD dwAmFlags; | 664 | DWORD dwAmFlags; |
| 664 | } WMT_TIMECODE_EXTENSION_DATA; | 665 | } WMT_TIMECODE_EXTENSION_DATA; |
| 666 | #pragma pack(pop) | ||
| 665 | typedef struct _WM_PORT_NUMBER_RANGE { | 667 | typedef struct _WM_PORT_NUMBER_RANGE { |
| 666 | WORD wPortBegin; | 668 | WORD wPortBegin; |
| 667 | WORD wPortEnd; | 669 | WORD wPortEnd; |
lib/libc/include/any-windows-any/wmsecure.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wmsecure.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wmsecure.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wpcapi.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wpcapi.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wpcapi.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wrl/client.h+46-1| ... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
| 7 | #ifndef _WRL_CLIENT_H_ | 7 | #ifndef _WRL_CLIENT_H_ |
| 8 | #define _WRL_CLIENT_H_ | 8 | #define _WRL_CLIENT_H_ |
| 9 | 9 | ||
| 10 | #include <stddef.h> | 10 | #include <cstddef> |
| 11 | #include <unknwn.h> | 11 | #include <unknwn.h> |
| 12 | /* #include <weakreference.h> */ | 12 | /* #include <weakreference.h> */ |
| 13 | #include <roapi.h> | 13 | #include <roapi.h> |
| ... | @@ -263,6 +263,51 @@ namespace Microsoft { | ... | @@ -263,6 +263,51 @@ namespace Microsoft { |
| 263 | return tmp->Release(); | 263 | return tmp->Release(); |
| 264 | } | 264 | } |
| 265 | }; | 265 | }; |
| 266 | |||
| 267 | template <class T, class U> | ||
| 268 | bool operator==(const ComPtr<T> &a, const ComPtr<U> &b) throw() | ||
| 269 | { | ||
| 270 | static_assert(__is_base_of(T, U) || __is_base_of(U, T), "Type incompatible"); | ||
| 271 | return a.Get() == b.Get(); | ||
| 272 | } | ||
| 273 | |||
| 274 | template <class T> | ||
| 275 | bool operator==(const ComPtr<T> &a, std::nullptr_t) throw() | ||
| 276 | { | ||
| 277 | return a.Get() == nullptr; | ||
| 278 | } | ||
| 279 | |||
| 280 | template <class T> | ||
| 281 | bool operator==(std::nullptr_t, const ComPtr<T> &a) throw() | ||
| 282 | { | ||
| 283 | return a.Get() == nullptr; | ||
| 284 | } | ||
| 285 | |||
| 286 | template <class T, class U> | ||
| 287 | bool operator!=(const ComPtr<T> &a, const ComPtr<U> &b) throw() | ||
| 288 | { | ||
| 289 | static_assert(__is_base_of(T, U) || __is_base_of(U, T), "Type incompatible"); | ||
| 290 | return a.Get() != b.Get(); | ||
| 291 | } | ||
| 292 | |||
| 293 | template <class T> | ||
| 294 | bool operator!=(const ComPtr<T> &a, std::nullptr_t) throw() | ||
| 295 | { | ||
| 296 | return a.Get() != nullptr; | ||
| 297 | } | ||
| 298 | |||
| 299 | template <class T> | ||
| 300 | bool operator!=(std::nullptr_t, const ComPtr<T> &a) throw() | ||
| 301 | { | ||
| 302 | return a.Get() != nullptr; | ||
| 303 | } | ||
| 304 | |||
| 305 | template <class T, class U> | ||
| 306 | bool operator<(const ComPtr<T> &a, const ComPtr<U> &b) throw() | ||
| 307 | { | ||
| 308 | static_assert(__is_base_of(T, U) || __is_base_of(U, T), "Type incompatible"); | ||
| 309 | return a.Get() < b.Get(); | ||
| 310 | } | ||
| 266 | } | 311 | } |
| 267 | } | 312 | } |
| 268 | 313 |
lib/libc/include/any-windows-any/wsdattachment.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wsdattachment.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wsdattachment.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wsdbase.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wsdbase.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wsdbase.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wsdclient.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wsdclient.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wsdclient.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wsddisco.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wsddisco.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wsddisco.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wsdhost.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wsdhost.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wsdhost.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wsdtypes.h+1-1| ... | @@ -55,7 +55,7 @@ typedef enum _WSD_PROTOCOL_TYPE { | ... | @@ -55,7 +55,7 @@ typedef enum _WSD_PROTOCOL_TYPE { |
| 55 | WSD_PT_UDP = 0x01, | 55 | WSD_PT_UDP = 0x01, |
| 56 | WSD_PT_HTTP = 0x02, | 56 | WSD_PT_HTTP = 0x02, |
| 57 | WSD_PT_HTTPS = 0x04, | 57 | WSD_PT_HTTPS = 0x04, |
| 58 | WSD_PT_ALL = 0xff, | 58 | WSD_PT_ALL = 0xff |
| 59 | } WSD_PROTOCOL_TYPE; | 59 | } WSD_PROTOCOL_TYPE; |
| 60 | 60 | ||
| 61 | typedef enum _WSDEventType { | 61 | typedef enum _WSDEventType { |
lib/libc/include/any-windows-any/wsdxml.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wsdxml.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wsdxml.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wsman.h+1-1| ... | @@ -101,7 +101,7 @@ extern "C" { | ... | @@ -101,7 +101,7 @@ extern "C" { |
| 101 | WSMAN_OPTION_PROXY_IE_PROXY_CONFIG = 1, | 101 | WSMAN_OPTION_PROXY_IE_PROXY_CONFIG = 1, |
| 102 | WSMAN_OPTION_PROXY_WINHTTP_PROXY_CONFIG = 2, | 102 | WSMAN_OPTION_PROXY_WINHTTP_PROXY_CONFIG = 2, |
| 103 | WSMAN_OPTION_PROXY_AUTO_DETECT = 4, | 103 | WSMAN_OPTION_PROXY_AUTO_DETECT = 4, |
| 104 | WSMAN_OPTION_PROXY_NO_PROXY_SERVER = 8, | 104 | WSMAN_OPTION_PROXY_NO_PROXY_SERVER = 8 |
| 105 | }; | 105 | }; |
| 106 | 106 | ||
| 107 | typedef enum WSManSessionOption { | 107 | typedef enum WSManSessionOption { |
lib/libc/include/any-windows-any/wsmandisp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wsmandisp.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wsmandisp.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wtypes.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wtypes.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wtypes.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wtypesbase.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wtypesbase.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wtypesbase.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/wuapi.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/wuapi.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/wuapi.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/xamlom.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/xamlom.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/xamlom.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/xapo.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/xapo.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/xapo.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/xaudio2.h+4-27| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/xaudio2.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/xaudio2.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
| ... | @@ -87,36 +87,13 @@ interface IXAudio2Extension; | ... | @@ -87,36 +87,13 @@ interface IXAudio2Extension; |
| 87 | #include <unknwn.h> | 87 | #include <unknwn.h> |
| 88 | #include <mmdeviceapi.h> | 88 | #include <mmdeviceapi.h> |
| 89 | #include <audiosessiontypes.h> | 89 | #include <audiosessiontypes.h> |
| 90 | #include <mmreg.h> | ||
| 90 | 91 | ||
| 91 | #ifdef __cplusplus | 92 | #ifdef __cplusplus |
| 92 | extern "C" { | 93 | extern "C" { |
| 93 | #endif | 94 | #endif |
| 94 | 95 | ||
| 95 | #include <pshpack1.h> | 96 | #pragma pack(push,1) |
| 96 | #if 0 | ||
| 97 | typedef struct WAVEFORMATEX { | ||
| 98 | WORD wFormatTag; | ||
| 99 | WORD nChannels; | ||
| 100 | DWORD nSamplesPerSec; | ||
| 101 | DWORD nAvgBytesPerSec; | ||
| 102 | WORD nBlockAlign; | ||
| 103 | WORD wBitsPerSample; | ||
| 104 | WORD cbSize; | ||
| 105 | } WAVEFORMATEX; | ||
| 106 | typedef struct __WIDL_xaudio2_generated_name_00000020 { | ||
| 107 | WAVEFORMATEX Format; | ||
| 108 | union { | ||
| 109 | WORD wValidBitsPerSample; | ||
| 110 | WORD wSamplesPerBlock; | ||
| 111 | WORD wReserved; | ||
| 112 | } Samples; | ||
| 113 | DWORD dwChannelMask; | ||
| 114 | GUID SubFormat; | ||
| 115 | } WAVEFORMATEXTENSIBLE; | ||
| 116 | typedef struct __WIDL_xaudio2_generated_name_00000020 *PWAVEFORMATEXTENSIBLE; | ||
| 117 | #else | ||
| 118 | #include <mmreg.h> | ||
| 119 | #endif | ||
| 120 | #ifndef __IXAudio2Voice_FWD_DEFINED__ | 97 | #ifndef __IXAudio2Voice_FWD_DEFINED__ |
| 121 | #define __IXAudio2Voice_FWD_DEFINED__ | 98 | #define __IXAudio2Voice_FWD_DEFINED__ |
| 122 | typedef interface IXAudio2Voice IXAudio2Voice; | 99 | typedef interface IXAudio2Voice IXAudio2Voice; |
| ... | @@ -1879,7 +1856,7 @@ inline static float XAudio2FrequencyRatioToSemitones(float freqratio) { return 3 | ... | @@ -1879,7 +1856,7 @@ inline static float XAudio2FrequencyRatioToSemitones(float freqratio) { return 3 |
| 1879 | inline static float XAudio2CutoffFrequencyToRadians(float cutofffreq, UINT32 samplerate) { if ((UINT32)(cutofffreq * 6.0f) >= samplerate) { return XAUDIO2_MAX_FILTER_FREQUENCY; } return 2.0f * sinf((float)M_PI * cutofffreq / samplerate); } | 1856 | inline static float XAudio2CutoffFrequencyToRadians(float cutofffreq, UINT32 samplerate) { if ((UINT32)(cutofffreq * 6.0f) >= samplerate) { return XAUDIO2_MAX_FILTER_FREQUENCY; } return 2.0f * sinf((float)M_PI * cutofffreq / samplerate); } |
| 1880 | inline static float XAudio2RadiansToCutoffFrequency(float radians, float samplerate) { return samplerate * asinf(radians/2.0f) / (float)M_PI; } | 1857 | inline static float XAudio2RadiansToCutoffFrequency(float radians, float samplerate) { return samplerate * asinf(radians/2.0f) / (float)M_PI; } |
| 1881 | #endif | 1858 | #endif |
| 1882 | #include <poppack.h> | 1859 | #pragma pack(pop) |
| 1883 | HRESULT WINAPI XAudio2Create(IXAudio2** pxaudio2, UINT32 flags, XAUDIO2_PROCESSOR processor); | 1860 | HRESULT WINAPI XAudio2Create(IXAudio2** pxaudio2, UINT32 flags, XAUDIO2_PROCESSOR processor); |
| 1884 | /* Begin additional prototypes for all interfaces */ | 1861 | /* Begin additional prototypes for all interfaces */ |
| 1885 | 1862 |
lib/libc/include/any-windows-any/xaudio2fx.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/xaudio2fx.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/xaudio2fx.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/xmllite.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/xmllite.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/xmllite.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/xpsdigitalsignature.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/xpsdigitalsignature.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/xpsdigitalsignature.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/xpsobjectmodel.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/xpsobjectmodel.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/xpsobjectmodel.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/xpsobjectmodel_1.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/xpsobjectmodel_1.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/xpsobjectmodel_1.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/xpsprint.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/xpsprint.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/xpsprint.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/include/any-windows-any/xpsrassvc.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.0-rc1 from include/xpsrassvc.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 10.4 from include/xpsrassvc.idl - Do not edit ***/ |
| 2 | 2 | ||
| 3 | #ifdef _WIN32 | 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ | 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
lib/libc/mingw/cfguard/mingw_cfguard_support.c-8| ... | @@ -17,14 +17,6 @@ | ... | @@ -17,14 +17,6 @@ |
| 17 | // really matter here because this is a no-op anyway. | 17 | // really matter here because this is a no-op anyway. |
| 18 | static void __guard_check_icall_dummy(void) {} | 18 | static void __guard_check_icall_dummy(void) {} |
| 19 | 19 | ||
| 20 | // When CFGuard is not active, directly tail-call the target address, which | ||
| 21 | // is passed via %rax. | ||
| 22 | __asm__( | ||
| 23 | ".globl __guard_dispatch_icall_dummy\n" | ||
| 24 | "__guard_dispatch_icall_dummy:\n" | ||
| 25 | " jmp *%rax\n" | ||
| 26 | ); | ||
| 27 | |||
| 28 | // This is intentionally declared as _not_ a function pointer, so that the | 20 | // This is intentionally declared as _not_ a function pointer, so that the |
| 29 | // jmp instruction is not included as a valid call target for CFGuard. | 21 | // jmp instruction is not included as a valid call target for CFGuard. |
| 30 | extern void *__guard_dispatch_icall_dummy; | 22 | extern void *__guard_dispatch_icall_dummy; |
lib/libc/mingw/crt/CRT_fp10.c-8| ... | @@ -8,19 +8,11 @@ void _fpreset (void); | ... | @@ -8,19 +8,11 @@ void _fpreset (void); |
| 8 | 8 | ||
| 9 | void _fpreset (void) | 9 | void _fpreset (void) |
| 10 | { | 10 | { |
| 11 | #if defined(_ARM_) || defined(__arm__) | ||
| 12 | __asm__ __volatile__ ( | ||
| 13 | "vmsr	fpscr, %0\n\t" : : "r"(0 /* INITIAL_FPSCR */)); | ||
| 14 | #elif defined(_ARM64_) || defined(__aarch64__) | ||
| 15 | __asm__ __volatile__ ( | ||
| 16 | "msr	fpcr, %0\n\t" : : "r"(0LL /* INITIAL_FPSCR */)); | ||
| 17 | #else | ||
| 18 | #ifdef __GNUC__ | 11 | #ifdef __GNUC__ |
| 19 | __asm__ ("fninit"); | 12 | __asm__ ("fninit"); |
| 20 | #else /* msvc: */ | 13 | #else /* msvc: */ |
| 21 | __asm fninit; | 14 | __asm fninit; |
| 22 | #endif | 15 | #endif |
| 23 | #endif | ||
| 24 | } | 16 | } |
| 25 | 17 | ||
| 26 | #ifdef __GNUC__ | 18 | #ifdef __GNUC__ |
lib/libc/mingw/crt/crtdll.c+47-80| ... | @@ -4,12 +4,6 @@ | ... | @@ -4,12 +4,6 @@ |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #ifdef CRTDLL | ||
| 8 | #undef CRTDLL | ||
| 9 | #ifndef _DLL | ||
| 10 | #define _DLL | ||
| 11 | #endif | ||
| 12 | |||
| 13 | #include <oscalls.h> | 7 | #include <oscalls.h> |
| 14 | #include <internal.h> | 8 | #include <internal.h> |
| 15 | #include <stdlib.h> | 9 | #include <stdlib.h> |
| ... | @@ -19,20 +13,14 @@ | ... | @@ -19,20 +13,14 @@ |
| 19 | #include <crtdbg.h> | 13 | #include <crtdbg.h> |
| 20 | 14 | ||
| 21 | #ifndef _CRTIMP | 15 | #ifndef _CRTIMP |
| 22 | #ifdef CRTDLL | ||
| 23 | #define _CRTIMP __declspec(dllexport) | ||
| 24 | #else | ||
| 25 | #ifdef _DLL | ||
| 26 | #define _CRTIMP __declspec(dllimport) | 16 | #define _CRTIMP __declspec(dllimport) |
| 27 | #else | ||
| 28 | #define _CRTIMP | ||
| 29 | #endif | ||
| 30 | #endif | ||
| 31 | #endif | 17 | #endif |
| 32 | #include <sect_attribs.h> | 18 | #include <sect_attribs.h> |
| 33 | #include <locale.h> | 19 | #include <locale.h> |
| 34 | 20 | ||
| 35 | extern void __cdecl _initterm(_PVFV *,_PVFV *); | 21 | #if defined(__x86_64__) && !defined(__SEH__) |
| 22 | extern int __mingw_init_ehandler (void); | ||
| 23 | #endif | ||
| 36 | extern void __main (); | 24 | extern void __main (); |
| 37 | extern void _pei386_runtime_relocator (void); | 25 | extern void _pei386_runtime_relocator (void); |
| 38 | extern _PIFV __xi_a[]; | 26 | extern _PIFV __xi_a[]; |
| ... | @@ -50,20 +38,6 @@ static _onexit_table_t atexit_table; | ... | @@ -50,20 +38,6 @@ static _onexit_table_t atexit_table; |
| 50 | 38 | ||
| 51 | extern int __mingw_app_type; | 39 | extern int __mingw_app_type; |
| 52 | 40 | ||
| 53 | extern WINBOOL WINAPI DllMain (HANDLE hDllHandle, DWORD dwReason, LPVOID lpreserved); | ||
| 54 | |||
| 55 | extern WINBOOL WINAPI DllEntryPoint (HANDLE, DWORD, LPVOID); | ||
| 56 | |||
| 57 | static int pre_c_init (void); | ||
| 58 | |||
| 59 | _CRTALLOC(".CRT$XIAA") _PIFV pcinit = pre_c_init; | ||
| 60 | |||
| 61 | static int | ||
| 62 | pre_c_init (void) | ||
| 63 | { | ||
| 64 | return _initialize_onexit_table(&atexit_table); | ||
| 65 | } | ||
| 66 | |||
| 67 | WINBOOL WINAPI _CRT_INIT (HANDLE hDllHandle, DWORD dwReason, LPVOID lpreserved) | 41 | WINBOOL WINAPI _CRT_INIT (HANDLE hDllHandle, DWORD dwReason, LPVOID lpreserved) |
| 68 | { | 42 | { |
| 69 | if (dwReason == DLL_PROCESS_DETACH) | 43 | if (dwReason == DLL_PROCESS_DETACH) |
| ... | @@ -77,10 +51,11 @@ WINBOOL WINAPI _CRT_INIT (HANDLE hDllHandle, DWORD dwReason, LPVOID lpreserved) | ... | @@ -77,10 +51,11 @@ WINBOOL WINAPI _CRT_INIT (HANDLE hDllHandle, DWORD dwReason, LPVOID lpreserved) |
| 77 | { | 51 | { |
| 78 | void *lock_free = NULL; | 52 | void *lock_free = NULL; |
| 79 | void *fiberid = ((PNT_TIB)NtCurrentTeb ())->StackBase; | 53 | void *fiberid = ((PNT_TIB)NtCurrentTeb ())->StackBase; |
| 80 | int nested = FALSE; | 54 | BOOL nested = FALSE; |
| 55 | int ret = 0; | ||
| 81 | 56 | ||
| 82 | while ((lock_free = InterlockedCompareExchangePointer ((volatile PVOID *) &__native_startup_lock, | 57 | while ((lock_free = InterlockedCompareExchangePointer (&__native_startup_lock, |
| 83 | 							 fiberid, 0)) != 0) | 58 | 							 fiberid, NULL)) != 0) |
| 84 | 	{ | 59 | 	{ |
| 85 | 	 if (lock_free == fiberid) | 60 | 	 if (lock_free == fiberid) |
| 86 | 	 { | 61 | 	 { |
| ... | @@ -89,25 +64,37 @@ WINBOOL WINAPI _CRT_INIT (HANDLE hDllHandle, DWORD dwReason, LPVOID lpreserved) | ... | @@ -89,25 +64,37 @@ WINBOOL WINAPI _CRT_INIT (HANDLE hDllHandle, DWORD dwReason, LPVOID lpreserved) |
| 89 | 	 } | 64 | 	 } |
| 90 | 	 Sleep(1000); | 65 | 	 Sleep(1000); |
| 91 | 	} | 66 | 	} |
| 92 | if (__native_startup_state == __initializing) | 67 | if (__native_startup_state != __uninitialized) |
| 93 | 	{ | 68 | 	{ |
| 94 | 	 _amsg_exit (31); | 69 | 	 _amsg_exit (31); |
| 95 | 	} | 70 | 	} |
| 96 | else if (__native_startup_state == __uninitialized) | 71 | else |
| 97 | 	{ | 72 | 	{ |
| 98 | 	 __native_startup_state = __initializing; | 73 | 	 __native_startup_state = __initializing; |
| 99 | 	 | 74 | 	 |
| 100 | 	 if (_initterm_e (__xi_a, __xi_z) != 0) | 75 | 	 _pei386_runtime_relocator (); |
| 101 | 	 return FALSE; | 76 | #if defined(__x86_64__) && !defined(__SEH__) |
| 102 | 	} | 77 | 	 __mingw_init_ehandler (); |
| 103 | if (__native_startup_state == __initializing) | 78 | #endif |
| 104 | 	{ | 79 | 	 ret = _initialize_onexit_table (&atexit_table); |
| 80 | 	 if (ret != 0) | ||
| 81 | 	 goto i__leave; | ||
| 82 | 	 ret = _initterm_e (__xi_a, __xi_z); | ||
| 83 | 	 if (ret != 0) | ||
| 84 | 	 goto i__leave; | ||
| 105 | 	 _initterm (__xc_a, __xc_z); | 85 | 	 _initterm (__xc_a, __xc_z); |
| 86 | 	 __main (); | ||
| 87 | |||
| 106 | 	 __native_startup_state = __initialized; | 88 | 	 __native_startup_state = __initialized; |
| 107 | 	} | 89 | 	} |
| 90 | i__leave: | ||
| 108 | if (! nested) | 91 | if (! nested) |
| 109 | 	{ | 92 | 	{ |
| 110 | 	 (void) InterlockedExchangePointer ((volatile PVOID *) &__native_startup_lock, 0); | 93 | 	 (void) InterlockedExchangePointer (&__native_startup_lock, NULL); |
| 94 | 	} | ||
| 95 | if (ret != 0) | ||
| 96 | 	{ | ||
| 97 | 	 return FALSE; | ||
| 111 | 	} | 98 | 	} |
| 112 | if (__dyn_tls_init_callback != NULL) | 99 | if (__dyn_tls_init_callback != NULL) |
| 113 | 	{ | 100 | 	{ |
| ... | @@ -118,8 +105,16 @@ WINBOOL WINAPI _CRT_INIT (HANDLE hDllHandle, DWORD dwReason, LPVOID lpreserved) | ... | @@ -118,8 +105,16 @@ WINBOOL WINAPI _CRT_INIT (HANDLE hDllHandle, DWORD dwReason, LPVOID lpreserved) |
| 118 | else if (dwReason == DLL_PROCESS_DETACH) | 105 | else if (dwReason == DLL_PROCESS_DETACH) |
| 119 | { | 106 | { |
| 120 | void *lock_free = NULL; | 107 | void *lock_free = NULL; |
| 121 | while ((lock_free = InterlockedCompareExchangePointer ((volatile PVOID *) &__native_startup_lock,(PVOID) 1, 0)) != 0) | 108 | void *fiberid = ((PNT_TIB)NtCurrentTeb ())->StackBase; |
| 109 | BOOL nested = FALSE; | ||
| 110 | |||
| 111 | while ((lock_free = InterlockedCompareExchangePointer (&__native_startup_lock, fiberid, NULL)) != 0) | ||
| 122 | 	{ | 112 | 	{ |
| 113 | 	 if (lock_free == fiberid) | ||
| 114 | 	 { | ||
| 115 | 	 nested = TRUE; | ||
| 116 | 	 break; | ||
| 117 | 	 } | ||
| 123 | 	 Sleep(1000); | 118 | 	 Sleep(1000); |
| 124 | 	} | 119 | 	} |
| 125 | if (__native_startup_state != __initialized) | 120 | if (__native_startup_state != __initialized) |
| ... | @@ -130,84 +125,56 @@ WINBOOL WINAPI _CRT_INIT (HANDLE hDllHandle, DWORD dwReason, LPVOID lpreserved) | ... | @@ -130,84 +125,56 @@ WINBOOL WINAPI _CRT_INIT (HANDLE hDllHandle, DWORD dwReason, LPVOID lpreserved) |
| 130 | 	{ | 125 | 	{ |
| 131 | _execute_onexit_table(&atexit_table); | 126 | _execute_onexit_table(&atexit_table); |
| 132 | 	 __native_startup_state = __uninitialized; | 127 | 	 __native_startup_state = __uninitialized; |
| 133 | 	 (void) InterlockedExchangePointer ((volatile PVOID *) &__native_startup_lock, 0); | 128 | 	} |
| 129 | if (! nested) | ||
| 130 | 	{ | ||
| 131 | 	 (void) InterlockedExchangePointer (&__native_startup_lock, NULL); | ||
| 134 | 	} | 132 | 	} |
| 135 | } | 133 | } |
| 136 | return TRUE; | 134 | return TRUE; |
| 137 | } | 135 | } |
| 138 | 136 | ||
| 139 | static WINBOOL __DllMainCRTStartup (HANDLE, DWORD, LPVOID); | ||
| 140 | |||
| 141 | WINBOOL WINAPI DllMainCRTStartup (HANDLE, DWORD, LPVOID); | 137 | WINBOOL WINAPI DllMainCRTStartup (HANDLE, DWORD, LPVOID); |
| 142 | #if defined(__x86_64__) && !defined(__SEH__) | ||
| 143 | int __mingw_init_ehandler (void); | ||
| 144 | #endif | ||
| 145 | 138 | ||
| 146 | __attribute__((used)) /* required due to GNU LD bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30300 */ | ||
| 147 | WINBOOL WINAPI | ||
| 148 | DllMainCRTStartup (HANDLE hDllHandle, DWORD dwReason, LPVOID lpreserved) | ||
| 149 | { | ||
| 150 | __mingw_app_type = 0; | ||
| 151 | return __DllMainCRTStartup (hDllHandle, dwReason, lpreserved); | ||
| 152 | } | ||
| 153 | |||
| 154 | static | ||
| 155 | #if defined(__i386__) || defined(_X86_) | 139 | #if defined(__i386__) || defined(_X86_) |
| 156 | /* We need to make sure that we align the stack to 16 bytes for the sake of SSE | 140 | /* We need to make sure that we align the stack to 16 bytes for the sake of SSE |
| 157 | opts in DllMain/DllEntryPoint or in functions called from DllMain/DllEntryPoint. */ | 141 | opts in DllMain or in functions called from DllMain. */ |
| 158 | __attribute__((force_align_arg_pointer)) | 142 | __attribute__((force_align_arg_pointer)) |
| 159 | #endif | 143 | #endif |
| 160 | __declspec(noinline) WINBOOL | 144 | __attribute__((used)) /* required due to GNU LD bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30300 */ |
| 161 | __DllMainCRTStartup (HANDLE hDllHandle, DWORD dwReason, LPVOID lpreserved) | 145 | WINBOOL WINAPI |
| 146 | DllMainCRTStartup (HANDLE hDllHandle, DWORD dwReason, LPVOID lpreserved) | ||
| 162 | { | 147 | { |
| 163 | WINBOOL retcode = TRUE; | 148 | WINBOOL retcode = TRUE; |
| 164 | 149 | ||
| 150 | __mingw_app_type = 0; | ||
| 165 | __native_dllmain_reason = dwReason; | 151 | __native_dllmain_reason = dwReason; |
| 166 | if (dwReason == DLL_PROCESS_DETACH && __proc_attached == 0) | 152 | if (dwReason == DLL_PROCESS_DETACH && __proc_attached <= 0) |
| 167 | { | 153 | { |
| 168 | 	retcode = FALSE; | 154 | 	retcode = FALSE; |
| 169 | 	goto i__leave; | 155 | 	goto i__leave; |
| 170 | } | 156 | } |
| 171 | _pei386_runtime_relocator (); | ||
| 172 | |||
| 173 | #if defined(__x86_64__) && !defined(__SEH__) | ||
| 174 | if (dwReason == DLL_PROCESS_ATTACH) | ||
| 175 | __mingw_init_ehandler (); | ||
| 176 | #endif | ||
| 177 | 157 | ||
| 178 | if (dwReason == DLL_PROCESS_ATTACH || dwReason == DLL_THREAD_ATTACH) | 158 | if (dwReason == DLL_PROCESS_ATTACH || dwReason == DLL_THREAD_ATTACH) |
| 179 | { | 159 | { |
| 180 | retcode = _CRT_INIT (hDllHandle, dwReason, lpreserved); | 160 | retcode = _CRT_INIT (hDllHandle, dwReason, lpreserved); |
| 181 | if (!retcode) | 161 | if (!retcode) |
| 182 | goto i__leave; | 162 | goto i__leave; |
| 183 | retcode = DllEntryPoint (hDllHandle, dwReason, lpreserved); | ||
| 184 | 	if (! retcode) | ||
| 185 | 	 { | ||
| 186 | 	 if (dwReason == DLL_PROCESS_ATTACH) | ||
| 187 | 	 _CRT_INIT (hDllHandle, DLL_PROCESS_DETACH, lpreserved); | ||
| 188 | 	 goto i__leave; | ||
| 189 | 	 } | ||
| 190 | } | 163 | } |
| 191 | if (dwReason == DLL_PROCESS_ATTACH) | ||
| 192 | __main (); | ||
| 193 | retcode = DllMain(hDllHandle,dwReason,lpreserved); | 164 | retcode = DllMain(hDllHandle,dwReason,lpreserved); |
| 194 | if (dwReason == DLL_PROCESS_ATTACH && ! retcode) | 165 | if (dwReason == DLL_PROCESS_ATTACH && ! retcode) |
| 195 | { | 166 | { |
| 196 | 	DllMain (hDllHandle, DLL_PROCESS_DETACH, lpreserved); | 167 | 	DllMain (hDllHandle, DLL_PROCESS_DETACH, lpreserved); |
| 197 | 	DllEntryPoint (hDllHandle, DLL_PROCESS_DETACH, lpreserved); | ||
| 198 | 	_CRT_INIT (hDllHandle, DLL_PROCESS_DETACH, lpreserved); | 168 | 	_CRT_INIT (hDllHandle, DLL_PROCESS_DETACH, lpreserved); |
| 199 | } | 169 | } |
| 200 | if (dwReason == DLL_PROCESS_DETACH || dwReason == DLL_THREAD_DETACH) | 170 | if (dwReason == DLL_PROCESS_DETACH || dwReason == DLL_THREAD_DETACH) |
| 201 | { | 171 | { |
| 202 | retcode = DllEntryPoint (hDllHandle, dwReason, lpreserved); | 172 | 	retcode = _CRT_INIT (hDllHandle, dwReason, lpreserved); |
| 203 | 	if (_CRT_INIT (hDllHandle, dwReason, lpreserved) == FALSE) | ||
| 204 | 	 retcode = FALSE; | ||
| 205 | } | 173 | } |
| 206 | i__leave: | 174 | i__leave: |
| 207 | __native_dllmain_reason = UINT_MAX; | 175 | __native_dllmain_reason = UINT_MAX; |
| 208 | return retcode ; | 176 | return retcode ; |
| 209 | } | 177 | } |
| 210 | #endif | ||
| 211 | 178 | ||
| 212 | int __cdecl atexit (_PVFV func) | 179 | int __cdecl atexit (_PVFV func) |
| 213 | { | 180 | { |
lib/libc/mingw/crt/crtexe.c+4-11| ... | @@ -4,13 +4,6 @@ | ... | @@ -4,13 +4,6 @@ |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #undef CRTDLL | ||
| 8 | #ifndef _DLL | ||
| 9 | #define _DLL | ||
| 10 | #endif | ||
| 11 | |||
| 12 | #define SPECIAL_CRTEXE | ||
| 13 | |||
| 14 | #include <oscalls.h> | 7 | #include <oscalls.h> |
| 15 | #include <internal.h> | 8 | #include <internal.h> |
| 16 | #include <process.h> | 9 | #include <process.h> |
| ... | @@ -211,9 +204,9 @@ __tmainCRTStartup (void) | ... | @@ -211,9 +204,9 @@ __tmainCRTStartup (void) |
| 211 | { | 204 | { |
| 212 | void *lock_free = NULL; | 205 | void *lock_free = NULL; |
| 213 | void *fiberid = ((PNT_TIB)NtCurrentTeb())->StackBase; | 206 | void *fiberid = ((PNT_TIB)NtCurrentTeb())->StackBase; |
| 214 | int nested = FALSE; | 207 | BOOL nested = FALSE; |
| 215 | while((lock_free = InterlockedCompareExchangePointer ((volatile PVOID *) &__native_startup_lock, | 208 | while((lock_free = InterlockedCompareExchangePointer (&__native_startup_lock, |
| 216 | 							 fiberid, 0)) != 0) | 209 | 							 fiberid, NULL)) != 0) |
| 217 | { | 210 | { |
| 218 | 	if (lock_free == fiberid) | 211 | 	if (lock_free == fiberid) |
| 219 | 	 { | 212 | 	 { |
| ... | @@ -242,7 +235,7 @@ __tmainCRTStartup (void) | ... | @@ -242,7 +235,7 @@ __tmainCRTStartup (void) |
| 242 | } | 235 | } |
| 243 | _ASSERTE(__native_startup_state == __initialized); | 236 | _ASSERTE(__native_startup_state == __initialized); |
| 244 | if (! nested) | 237 | if (! nested) |
| 245 | (VOID)InterlockedExchangePointer ((volatile PVOID *) &__native_startup_lock, 0); | 238 | (VOID)InterlockedExchangePointer (&__native_startup_lock, NULL); |
| 246 | 239 | ||
| 247 | if (__dyn_tls_init_callback != NULL) | 240 | if (__dyn_tls_init_callback != NULL) |
| 248 | __dyn_tls_init_callback (NULL, DLL_THREAD_ATTACH, NULL); | 241 | __dyn_tls_init_callback (NULL, DLL_THREAD_ATTACH, NULL); |
lib/libc/mingw/crt/crtexewin.c-1| ... | @@ -56,7 +56,6 @@ int _tmain (int __UNUSED_PARAM(argc), | ... | @@ -56,7 +56,6 @@ int _tmain (int __UNUSED_PARAM(argc), |
| 56 | 56 | ||
| 57 | { | 57 | { |
| 58 | STARTUPINFO StartupInfo; | 58 | STARTUPINFO StartupInfo; |
| 59 | memset (&StartupInfo, 0, sizeof (STARTUPINFO)); | ||
| 60 | GetStartupInfo (&StartupInfo); | 59 | GetStartupInfo (&StartupInfo); |
| 61 | if (StartupInfo.dwFlags & STARTF_USESHOWWINDOW) | 60 | if (StartupInfo.dwFlags & STARTF_USESHOWWINDOW) |
| 62 | nShowCmd = StartupInfo.wShowWindow; | 61 | nShowCmd = StartupInfo.wShowWindow; |
lib/libc/mingw/crt/dll_argv.c-4| ... | @@ -4,10 +4,6 @@ | ... | @@ -4,10 +4,6 @@ |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #ifdef CRTDLL | ||
| 8 | #undef CRTDLL | ||
| 9 | #endif | ||
| 10 | |||
| 11 | #include <internal.h> | 7 | #include <internal.h> |
| 12 | 8 | ||
| 13 | extern int _dowildcard; | 9 | extern int _dowildcard; |
lib/libc/mingw/crt/dllargv.c-4| ... | @@ -4,10 +4,6 @@ | ... | @@ -4,10 +4,6 @@ |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #ifdef CRTDLL | ||
| 8 | #undef CRTDLL | ||
| 9 | #endif | ||
| 10 | |||
| 11 | #include <internal.h> | 7 | #include <internal.h> |
| 12 | 8 | ||
| 13 | int __CRTDECL | 9 | int __CRTDECL |
lib/libc/mingw/crt/natstart.c+2-2| ... | @@ -10,5 +10,5 @@ | ... | @@ -10,5 +10,5 @@ |
| 10 | _PGLOBAL | 10 | _PGLOBAL |
| 11 | volatile unsigned int __native_dllmain_reason = UINT_MAX; | 11 | volatile unsigned int __native_dllmain_reason = UINT_MAX; |
| 12 | volatile unsigned int __native_vcclrit_reason = UINT_MAX; | 12 | volatile unsigned int __native_vcclrit_reason = UINT_MAX; |
| 13 | volatile __enative_startup_state __native_startup_state; | 13 | volatile __enative_startup_state __native_startup_state = __uninitialized; |
| 14 | volatile void *__native_startup_lock; | 14 | void *volatile __native_startup_lock = NULL; |
lib/libc/mingw/crt/tlssup.c-4| ... | @@ -6,10 +6,6 @@ | ... | @@ -6,10 +6,6 @@ |
| 6 | * Written by Kai Tietz <kai.tietz@onevision.com> | 6 | * Written by Kai Tietz <kai.tietz@onevision.com> |
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | #ifdef CRTDLL | ||
| 10 | #undef CRTDLL | ||
| 11 | #endif | ||
| 12 | |||
| 13 | #include <sect_attribs.h> | 9 | #include <sect_attribs.h> |
| 14 | 10 | ||
| 15 | #ifndef WIN32_LEAN_AND_MEAN | 11 | #ifndef WIN32_LEAN_AND_MEAN |
lib/libc/mingw/def-include/crt-aliases.def.in+56-26| ... | @@ -137,8 +137,11 @@ ADD_UNDERSCORE(spawnve) | ... | @@ -137,8 +137,11 @@ ADD_UNDERSCORE(spawnve) |
| 137 | ADD_UNDERSCORE(spawnvp) | 137 | ADD_UNDERSCORE(spawnvp) |
| 138 | ADD_UNDERSCORE(spawnvpe) | 138 | ADD_UNDERSCORE(spawnvpe) |
| 139 | #endif | 139 | #endif |
| 140 | #ifndef CRTDLL | 140 | #ifdef UCRTBASE |
| 141 | ; stat is provided by mingw to workaround trailing slash issue in _stat | 141 | F32(stat == _stat32) |
| 142 | F64(stat == _stat64i32) | ||
| 143 | #else | ||
| 144 | ; stat for non-UCRT is provided by mingw to workaround trailing slash issue in _stat | ||
| 142 | #endif | 145 | #endif |
| 143 | #ifdef NO_STRCMPI_ALIAS | 146 | #ifdef NO_STRCMPI_ALIAS |
| 144 | ; Symbol _strcmpi is natively present and defined in the library def file | 147 | ; Symbol _strcmpi is natively present and defined in the library def file |
| ... | @@ -208,7 +211,11 @@ ADD_UNDERSCORE(write) | ... | @@ -208,7 +211,11 @@ ADD_UNDERSCORE(write) |
| 208 | ; This is list of symbol aliases added in the Visual C++ 2.0 oldnames.lib library | 211 | ; This is list of symbol aliases added in the Visual C++ 2.0 oldnames.lib library |
| 209 | ; All these symbols with leading underscore are present also in pre-2.0 CRT versions: crtdll.dll and msvcrt10.dll | 212 | ; All these symbols with leading underscore are present also in pre-2.0 CRT versions: crtdll.dll and msvcrt10.dll |
| 210 | ; ADD_UNDERSCORE(control87) | 213 | ; ADD_UNDERSCORE(control87) |
| 214 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ | ||
| 215 | ADD_UNDERSCORE(fpreset) | ||
| 216 | #else | ||
| 211 | ; ADD_UNDERSCORE(fpreset) ; Alias fpreset is set in CRT_fp10.c and CRT_fp8.c | 217 | ; ADD_UNDERSCORE(fpreset) ; Alias fpreset is set in CRT_fp10.c and CRT_fp8.c |
| 218 | #endif | ||
| 212 | ADD_UNDERSCORE(wcsdup) | 219 | ADD_UNDERSCORE(wcsdup) |
| 213 | ADD_UNDERSCORE(wcsicmp) | 220 | ADD_UNDERSCORE(wcsicmp) |
| 214 | ADD_UNDERSCORE(wcsicoll) | 221 | ADD_UNDERSCORE(wcsicoll) |
| ... | @@ -222,7 +229,11 @@ ADD_UNDERSCORE(wcsupr) | ... | @@ -222,7 +229,11 @@ ADD_UNDERSCORE(wcsupr) |
| 222 | ; This is list of symbol aliases added in the Visual C++ 4.0 oldnames.lib library | 229 | ; This is list of symbol aliases added in the Visual C++ 4.0 oldnames.lib library |
| 223 | ; All these symbols with leading underscore are present also in pre-4.0 CRT versions: crtdll.dll, msvcrt10.dll and msvcrt20.dll | 230 | ; All these symbols with leading underscore are present also in pre-4.0 CRT versions: crtdll.dll, msvcrt10.dll and msvcrt20.dll |
| 224 | ; ADD_UNDERSCORE(cabs) | 231 | ; ADD_UNDERSCORE(cabs) |
| 232 | #ifdef UCRTBASE | ||
| 233 | ; hypot is natively exported from UCRT | ||
| 234 | #else | ||
| 225 | ADD_UNDERSCORE(hypot) | 235 | ADD_UNDERSCORE(hypot) |
| 236 | #endif | ||
| 226 | ADD_UNDERSCORE(j0) | 237 | ADD_UNDERSCORE(j0) |
| 227 | ADD_UNDERSCORE(j1) | 238 | ADD_UNDERSCORE(j1) |
| 228 | ADD_UNDERSCORE(jn) | 239 | ADD_UNDERSCORE(jn) |
| ... | @@ -247,27 +258,26 @@ wcstok == wcstok_s | ... | @@ -247,27 +258,26 @@ wcstok == wcstok_s |
| 247 | ADD_UNDERSCORE(nextafter) | 258 | ADD_UNDERSCORE(nextafter) |
| 248 | #endif | 259 | #endif |
| 249 | 260 | ||
| 250 | #if defined(DEF_ARM32) || defined(DEF_ARM64) | ||
| 251 | ; This is list of symbol aliases for C99 ARM long double functions | 261 | ; This is list of symbol aliases for C99 ARM long double functions |
| 252 | ; They are defined as aliases to regular double symbols as on ARM, long double is equal to regular double | 262 | ; They are defined as aliases to regular double symbols as on ARM, long double is equal to regular double |
| 253 | acosl == acos | 263 | F_LD64(acosl == acos) |
| 254 | asinl == asin | 264 | F_LD64(asinl == asin) |
| 255 | atan2l == atan2 | 265 | F_LD64(atan2l == atan2) |
| 256 | atanl == atan | 266 | F_LD64(atanl == atan) |
| 257 | ceill == ceil | 267 | F_LD64(ceill == ceil) |
| 258 | cosl == cos | 268 | F_LD64(cosl == cos) |
| 259 | expl == exp | 269 | F_LD64(expl == exp) |
| 260 | floorl == floor | 270 | F_LD64(floorl == floor) |
| 261 | fmodl == fmod | 271 | F_LD64(fmodl == fmod) |
| 262 | log10l == log10 | 272 | F_LD64(log10l == log10) |
| 263 | logl == log | 273 | F_LD64(logl == log) |
| 264 | ; FIXME: Why is powl alias defined only for UCRT? | 274 | ; FIXME: Why is powl alias defined only for UCRT? |
| 265 | #ifdef UCRTBASE | 275 | #ifdef UCRTBASE |
| 266 | powl == pow | 276 | F_LD64(powl == pow) |
| 267 | #endif | ||
| 268 | sinl == sin | ||
| 269 | tanl == tan | ||
| 270 | #endif | 277 | #endif |
| 278 | F_LD64(sinl == sin) | ||
| 279 | F_LD64(tanl == tan) | ||
| 280 | F_LD64(_chgsignl == _chgsign) | ||
| 271 | 281 | ||
| 272 | ; This is list of symbol aliases for C11 functions | 282 | ; This is list of symbol aliases for C11 functions |
| 273 | #ifdef UCRTBASE | 283 | #ifdef UCRTBASE |
| ... | @@ -290,6 +300,22 @@ ADD_UNDERSCORE(popen) | ... | @@ -290,6 +300,22 @@ ADD_UNDERSCORE(popen) |
| 290 | fgetpos64 == fgetpos | 300 | fgetpos64 == fgetpos |
| 291 | fsetpos64 == fsetpos | 301 | fsetpos64 == fsetpos |
| 292 | #endif | 302 | #endif |
| 303 | #ifdef UCRTBASE | ||
| 304 | stat32 == _stat32 | ||
| 305 | stat32i64 == _stat32i64 | ||
| 306 | stat64 == _stat64 | ||
| 307 | stat64i32 == _stat64i32 | ||
| 308 | #else | ||
| 309 | ; stat for non-UCRT is provided by mingw to workaround trailing slash issue in _stat | ||
| 310 | #endif | ||
| 311 | #ifdef FIXED_SIZE_SYMBOLS | ||
| 312 | // NO_FIXED_SIZE_64_ALIAS means that DLL provides the native _fstat64 symbol | ||
| 313 | #if defined(NO_FIXED_SIZE_64_ALIAS) && !defined(NO_FSTAT64_ALIAS) | ||
| 314 | fstat64 == _fstat64 | ||
| 315 | #endif | ||
| 316 | #else | ||
| 317 | fstat64 == _fstat64 | ||
| 318 | #endif | ||
| 293 | 319 | ||
| 294 | ; This is list of symbol aliases for GNU functions which are not part of POSIX or ISO C | 320 | ; This is list of symbol aliases for GNU functions which are not part of POSIX or ISO C |
| 295 | strcasecmp == _stricmp | 321 | strcasecmp == _stricmp |
| ... | @@ -545,19 +571,23 @@ __ms_vsprintf == vsprintf | ... | @@ -545,19 +571,23 @@ __ms_vsprintf == vsprintf |
| 545 | __ms_vwprintf == vwprintf | 571 | __ms_vwprintf == vwprintf |
| 546 | __ms_wprintf == wprintf | 572 | __ms_wprintf == wprintf |
| 547 | __ms_wscanf == wscanf | 573 | __ms_wscanf == wscanf |
| 548 | #ifdef WITH_MS_VSCANF_ALIASES | ||
| 549 | __ms_vfscanf == vfscanf | ||
| 550 | __ms_vfwscanf == vfwscanf | ||
| 551 | __ms_vscanf == vscanf | ||
| 552 | __ms_vsscanf == vsscanf | ||
| 553 | __ms_vswscanf == vswscanf | ||
| 554 | __ms_vwscanf == vwscanf | ||
| 555 | #endif | ||
| 556 | #endif | 574 | #endif |
| 557 | 575 | ||
| 558 | ; This is list of additional symbol aliases not available in any library as neither native symbols nor aliases | 576 | ; This is list of additional symbol aliases not available in any library as neither native symbols nor aliases |
| 559 | ; FIXME: check if these really are needed | 577 | ; FIXME: check if these really are needed |
| 560 | 578 | ||
| 579 | ; This is wstat and wstat64 symbol available only in mingw but for a long time | ||
| 580 | #ifdef UCRTBASE | ||
| 581 | F32(wstat == _wstat32) | ||
| 582 | F64(wstat == _wstat64i32) | ||
| 583 | wstat32 == _wstat32 | ||
| 584 | wstat32i64 == _wstat32i64 | ||
| 585 | wstat64 == _wstat64 | ||
| 586 | wstat64i32 == _wstat64i32 | ||
| 587 | #else | ||
| 588 | ; wstat for non-UCRT is provided by mingw to workaround trailing slash issue in _wstat | ||
| 589 | #endif | ||
| 590 | |||
| 561 | ; Origin of the symbol wcscmpi is unknown. This symbol is not present in | 591 | ; Origin of the symbol wcscmpi is unknown. This symbol is not present in |
| 562 | ; crtdll.dll and neither in any msvcr* version. The only source of wcscmpi is | 592 | ; crtdll.dll and neither in any msvcr* version. The only source of wcscmpi is |
| 563 | ; wcstr.h header file from the Microsoft Visual C++ 1.0 (32-bit for NT) and | 593 | ; wcstr.h header file from the Microsoft Visual C++ 1.0 (32-bit for NT) and |
lib/libc/mingw/def-include/func.def.in+13-5| ... | @@ -12,26 +12,26 @@ | ... | @@ -12,26 +12,26 @@ |
| 12 | // F_NON_I386 - function available on everything but i386 | 12 | // F_NON_I386 - function available on everything but i386 |
| 13 | // F_NON_X64 - function available on everything but x86_64 | 13 | // F_NON_X64 - function available on everything but x86_64 |
| 14 | // F_NON_ARM64 - function available on everything but arm64 | 14 | // F_NON_ARM64 - function available on everything but arm64 |
| 15 | #if defined(DEF_X64) | 15 | #if defined(__x86_64__) |
| 16 | #define F64(x) x | 16 | #define F64(x) x |
| 17 | #define F_X64(x) x | 17 | #define F_X64(x) x |
| 18 | #define F_X86_ANY(x) x | 18 | #define F_X86_ANY(x) x |
| 19 | #define F_NON_I386(x) x | 19 | #define F_NON_I386(x) x |
| 20 | #define F_NON_ARM64(x) x | 20 | #define F_NON_ARM64(x) x |
| 21 | #elif defined(DEF_I386) | 21 | #elif defined(__i386__) |
| 22 | #define F32(x) x | 22 | #define F32(x) x |
| 23 | #define F_I386(x) x | 23 | #define F_I386(x) x |
| 24 | #define F_X86_ANY(x) x | 24 | #define F_X86_ANY(x) x |
| 25 | #define F_NON_X64(x) x | 25 | #define F_NON_X64(x) x |
| 26 | #define F_NON_ARM64(x) x | 26 | #define F_NON_ARM64(x) x |
| 27 | #elif defined(DEF_ARM32) | 27 | #elif defined(__arm__) |
| 28 | #define F32(x) x | 28 | #define F32(x) x |
| 29 | #define F_ARM32(x) x | 29 | #define F_ARM32(x) x |
| 30 | #define F_ARM_ANY(x) x | 30 | #define F_ARM_ANY(x) x |
| 31 | #define F_NON_I386(x) x | 31 | #define F_NON_I386(x) x |
| 32 | #define F_NON_X64(x) x | 32 | #define F_NON_X64(x) x |
| 33 | #define F_NON_ARM64(x) x | 33 | #define F_NON_ARM64(x) x |
| 34 | #elif defined(DEF_ARM64) | 34 | #elif defined(__aarch64__) |
| 35 | #define F64(x) x | 35 | #define F64(x) x |
| 36 | #define F_ARM64(x) x | 36 | #define F_ARM64(x) x |
| 37 | #define F_ARM_ANY(x) x | 37 | #define F_ARM_ANY(x) x |
| ... | @@ -75,9 +75,17 @@ | ... | @@ -75,9 +75,17 @@ |
| 75 | #define F_NON_ARM64(x) | 75 | #define F_NON_ARM64(x) |
| 76 | #endif | 76 | #endif |
| 77 | 77 | ||
| 78 | #if defined(DEF_I386) | 78 | #if defined(__i386__) |
| 79 | #define STDCALL_DECORATED_EXPORT(symbol) symbol == _ ## symbol | 79 | #define STDCALL_DECORATED_EXPORT(symbol) symbol == _ ## symbol |
| 80 | #define FASTCALL_DECORATED_EXPORT(symbol) symbol == symbol | 80 | #define FASTCALL_DECORATED_EXPORT(symbol) symbol == symbol |
| 81 | #endif | 81 | #endif |
| 82 | 82 | ||
| 83 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ | ||
| 84 | #define F_LD64(x) x | ||
| 85 | #define F_LD80(x) | ||
| 86 | #else | ||
| 87 | #define F_LD64(x) | ||
| 88 | #define F_LD80(x) x | ||
| 89 | #endif | ||
| 90 | |||
| 83 | #endif // FUNC_DEF_IN | 91 | #endif // FUNC_DEF_IN |
lib/libc/mingw/gdtoa/strtodnrp.c+1-2| ... | @@ -85,8 +85,7 @@ double __cdecl | ... | @@ -85,8 +85,7 @@ double __cdecl |
| 85 | __mingw_strtod (const char * __restrict__ src, char ** __restrict__ endptr) | 85 | __mingw_strtod (const char * __restrict__ src, char ** __restrict__ endptr) |
| 86 | __attribute__((alias("__strtod"))); | 86 | __attribute__((alias("__strtod"))); |
| 87 | 87 | ||
| 88 | #if !(defined(_AMD64_) || defined(__x86_64__) || \ | 88 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ |
| 89 | defined(_X86_) || defined(__i386__)) | ||
| 90 | /* For systems other than x86, where long double == double, provide the | 89 | /* For systems other than x86, where long double == double, provide the |
| 91 | * long double functions as aliases to __strtod. */ | 90 | * long double functions as aliases to __strtod. */ |
| 92 | 91 |
lib/libc/mingw/gdtoa/strtopx.c+12-11| ... | @@ -53,8 +53,19 @@ THIS SOFTWARE. | ... | @@ -53,8 +53,19 @@ THIS SOFTWARE. |
| 53 | #define _4 0 | 53 | #define _4 0 |
| 54 | #endif | 54 | #endif |
| 55 | 55 | ||
| 56 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ | ||
| 57 | /* For ARM, where long double == double, provide the long double function as | ||
| 58 | * an alias for __strtod. Do this in a separate object file from other | ||
| 59 | * functions, to avoid linker conflicts if object files import both 'strtold' | ||
| 60 | * from libucrt*.a and the object file providing '__strtod'. */ | ||
| 61 | long double __cdecl | ||
| 62 | strtold (const char * __restrict__ src, char ** __restrict__ endptr) | ||
| 63 | { | ||
| 64 | return __mingw_strtod(src, endptr); | ||
| 65 | } | ||
| 66 | |||
| 56 | /* This is specific to the x86 80 bit long doubles. */ | 67 | /* This is specific to the x86 80 bit long doubles. */ |
| 57 | #if defined(_AMD64_) || defined(__x86_64__) || \ | 68 | #elif defined(_AMD64_) || defined(__x86_64__) || \ |
| 58 | defined(_X86_) || defined(__i386__) | 69 | defined(_X86_) || defined(__i386__) |
| 59 | 70 | ||
| 60 | typedef union lD { | 71 | typedef union lD { |
| ... | @@ -133,14 +144,4 @@ long double __cdecl | ... | @@ -133,14 +144,4 @@ long double __cdecl |
| 133 | strtold (const char * __restrict__ src, char ** __restrict__ endptr) | 144 | strtold (const char * __restrict__ src, char ** __restrict__ endptr) |
| 134 | __attribute__((alias("__strtold"))); | 145 | __attribute__((alias("__strtold"))); |
| 135 | 146 | ||
| 136 | #elif defined(__arm__) || defined(__aarch64__) || defined(_ARM_) || defined(_ARM64_) | ||
| 137 | /* For ARM, where long double == double, provide the long double function as | ||
| 138 | * an alias for __strtod. Do this in a separate object file from other | ||
| 139 | * functions, to avoid linker conflicts if object files import both 'strtold' | ||
| 140 | * from libucrt*.a and the object file providing '__strtod'. */ | ||
| 141 | long double __cdecl | ||
| 142 | strtold (const char * __restrict__ src, char ** __restrict__ endptr) | ||
| 143 | { | ||
| 144 | return __mingw_strtod(src, endptr); | ||
| 145 | } | ||
| 146 | #endif | 147 | #endif |
lib/libc/mingw/include/internal.h+155-1| ... | @@ -14,6 +14,7 @@ extern "C" { | ... | @@ -14,6 +14,7 @@ extern "C" { |
| 14 | #endif | 14 | #endif |
| 15 | 15 | ||
| 16 | #include <limits.h> | 16 | #include <limits.h> |
| 17 | #include <fenv.h> | ||
| 17 | #include <windows.h> | 18 | #include <windows.h> |
| 18 | 19 | ||
| 19 | #pragma pack(push,_CRT_PACKING) | 20 | #pragma pack(push,_CRT_PACKING) |
| ... | @@ -130,7 +131,7 @@ extern "C" { | ... | @@ -130,7 +131,7 @@ extern "C" { |
| 130 | } __enative_startup_state; | 131 | } __enative_startup_state; |
| 131 | 132 | ||
| 132 | extern volatile __enative_startup_state __native_startup_state; | 133 | extern volatile __enative_startup_state __native_startup_state; |
| 133 | extern volatile void *__native_startup_lock; | 134 | extern void *volatile __native_startup_lock; |
| 134 | 135 | ||
| 135 | extern volatile unsigned int __native_dllmain_reason; | 136 | extern volatile unsigned int __native_dllmain_reason; |
| 136 | extern volatile unsigned int __native_vcclrit_reason; | 137 | extern volatile unsigned int __native_vcclrit_reason; |
| ... | @@ -154,6 +155,159 @@ extern "C" { | ... | @@ -154,6 +155,159 @@ extern "C" { |
| 154 | # define __mingw_has_sse() 0 | 155 | # define __mingw_has_sse() 0 |
| 155 | #endif | 156 | #endif |
| 156 | 157 | ||
| 158 | #if defined(__i386__) || defined(__x86_64__) | ||
| 159 | enum fenv_masks | ||
| 160 | { | ||
| 161 | /* x87 encoding constants */ | ||
| 162 | FENV_X_INVALID = 0x00100010, | ||
| 163 | FENV_X_DENORMAL = 0x00200020, | ||
| 164 | FENV_X_ZERODIVIDE = 0x00080008, | ||
| 165 | FENV_X_OVERFLOW = 0x00040004, | ||
| 166 | FENV_X_UNDERFLOW = 0x00020002, | ||
| 167 | FENV_X_INEXACT = 0x00010001, | ||
| 168 | FENV_X_AFFINE = 0x00004000, | ||
| 169 | FENV_X_UP = 0x00800200, | ||
| 170 | FENV_X_DOWN = 0x00400100, | ||
| 171 | FENV_X_24 = 0x00002000, | ||
| 172 | FENV_X_53 = 0x00001000, | ||
| 173 | /* SSE encoding constants: they share the same lower word as their x87 counterparts | ||
| 174 | * but differ in the upper word */ | ||
| 175 | FENV_Y_INVALID = 0x10000010, | ||
| 176 | FENV_Y_DENORMAL = 0x20000020, | ||
| 177 | FENV_Y_ZERODIVIDE = 0x08000008, | ||
| 178 | FENV_Y_OVERFLOW = 0x04000004, | ||
| 179 | FENV_Y_UNDERFLOW = 0x02000002, | ||
| 180 | FENV_Y_INEXACT = 0x01000001, | ||
| 181 | FENV_Y_UP = 0x80000200, | ||
| 182 | FENV_Y_DOWN = 0x40000100, | ||
| 183 | FENV_Y_FLUSH = 0x00000400, | ||
| 184 | FENV_Y_FLUSH_SAVE = 0x00000800 | ||
| 185 | }; | ||
| 186 | |||
| 187 | /* encodes the x87 (represented as x) or SSE (represented as y) control/status word in a ulong */ | ||
| 188 | static inline unsigned long fenv_encode(unsigned int x, unsigned int y) | ||
| 189 | { | ||
| 190 | unsigned long ret = 0; | ||
| 191 | |||
| 192 | if (x & _EM_INVALID) ret |= FENV_X_INVALID; | ||
| 193 | if (x & _EM_DENORMAL) ret |= FENV_X_DENORMAL; | ||
| 194 | if (x & _EM_ZERODIVIDE) ret |= FENV_X_ZERODIVIDE; | ||
| 195 | if (x & _EM_OVERFLOW) ret |= FENV_X_OVERFLOW; | ||
| 196 | if (x & _EM_UNDERFLOW) ret |= FENV_X_UNDERFLOW; | ||
| 197 | if (x & _EM_INEXACT) ret |= FENV_X_INEXACT; | ||
| 198 | if (x & _IC_AFFINE) ret |= FENV_X_AFFINE; | ||
| 199 | if (x & _RC_UP) ret |= FENV_X_UP; | ||
| 200 | if (x & _RC_DOWN) ret |= FENV_X_DOWN; | ||
| 201 | if (x & _PC_24) ret |= FENV_X_24; | ||
| 202 | if (x & _PC_53) ret |= FENV_X_53; | ||
| 203 | |||
| 204 | if (y & _EM_INVALID) ret |= FENV_Y_INVALID; | ||
| 205 | if (y & _EM_DENORMAL) ret |= FENV_Y_DENORMAL; | ||
| 206 | if (y & _EM_ZERODIVIDE) ret |= FENV_Y_ZERODIVIDE; | ||
| 207 | if (y & _EM_OVERFLOW) ret |= FENV_Y_OVERFLOW; | ||
| 208 | if (y & _EM_UNDERFLOW) ret |= FENV_Y_UNDERFLOW; | ||
| 209 | if (y & _EM_INEXACT) ret |= FENV_Y_INEXACT; | ||
| 210 | if (y & _RC_UP) ret |= FENV_Y_UP; | ||
| 211 | if (y & _RC_DOWN) ret |= FENV_Y_DOWN; | ||
| 212 | if (y & _DN_FLUSH) ret |= FENV_Y_FLUSH; | ||
| 213 | if (y & _DN_FLUSH_OPERANDS_SAVE_RESULTS) ret |= FENV_Y_FLUSH_SAVE; | ||
| 214 | |||
| 215 | return ret; | ||
| 216 | } | ||
| 217 | |||
| 218 | /* decodes the x87 (represented as x) or SSE (represented as y) control/status word in a ulong */ | ||
| 219 | static inline BOOL fenv_decode(unsigned long enc, unsigned int *x, unsigned int *y) | ||
| 220 | { | ||
| 221 | *x = *y = 0; | ||
| 222 | if ((enc & FENV_X_INVALID) == FENV_X_INVALID) *x |= _EM_INVALID; | ||
| 223 | if ((enc & FENV_X_DENORMAL) == FENV_X_DENORMAL) *x |= _EM_DENORMAL; | ||
| 224 | if ((enc & FENV_X_ZERODIVIDE) == FENV_X_ZERODIVIDE) *x |= _EM_ZERODIVIDE; | ||
| 225 | if ((enc & FENV_X_OVERFLOW) == FENV_X_OVERFLOW) *x |= _EM_OVERFLOW; | ||
| 226 | if ((enc & FENV_X_UNDERFLOW) == FENV_X_UNDERFLOW) *x |= _EM_UNDERFLOW; | ||
| 227 | if ((enc & FENV_X_INEXACT) == FENV_X_INEXACT) *x |= _EM_INEXACT; | ||
| 228 | if ((enc & FENV_X_AFFINE) == FENV_X_AFFINE) *x |= _IC_AFFINE; | ||
| 229 | if ((enc & FENV_X_UP) == FENV_X_UP) *x |= _RC_UP; | ||
| 230 | if ((enc & FENV_X_DOWN) == FENV_X_DOWN) *x |= _RC_DOWN; | ||
| 231 | if ((enc & FENV_X_24) == FENV_X_24) *x |= _PC_24; | ||
| 232 | if ((enc & FENV_X_53) == FENV_X_53) *x |= _PC_53; | ||
| 233 | |||
| 234 | if ((enc & FENV_Y_INVALID) == FENV_Y_INVALID) *y |= _EM_INVALID; | ||
| 235 | if ((enc & FENV_Y_DENORMAL) == FENV_Y_DENORMAL) *y |= _EM_DENORMAL; | ||
| 236 | if ((enc & FENV_Y_ZERODIVIDE) == FENV_Y_ZERODIVIDE) *y |= _EM_ZERODIVIDE; | ||
| 237 | if ((enc & FENV_Y_OVERFLOW) == FENV_Y_OVERFLOW) *y |= _EM_OVERFLOW; | ||
| 238 | if ((enc & FENV_Y_UNDERFLOW) == FENV_Y_UNDERFLOW) *y |= _EM_UNDERFLOW; | ||
| 239 | if ((enc & FENV_Y_INEXACT) == FENV_Y_INEXACT) *y |= _EM_INEXACT; | ||
| 240 | if ((enc & FENV_Y_UP) == FENV_Y_UP) *y |= _RC_UP; | ||
| 241 | if ((enc & FENV_Y_DOWN) == FENV_Y_DOWN) *y |= _RC_DOWN; | ||
| 242 | if ((enc & FENV_Y_FLUSH) == FENV_Y_FLUSH) *y |= _DN_FLUSH; | ||
| 243 | if ((enc & FENV_Y_FLUSH_SAVE) == FENV_Y_FLUSH_SAVE) *y |= _DN_FLUSH_OPERANDS_SAVE_RESULTS; | ||
| 244 | |||
| 245 | return fenv_encode(*x, *y) == enc; | ||
| 246 | } | ||
| 247 | #else | ||
| 248 | static inline unsigned long fenv_encode(unsigned int x, unsigned int y) | ||
| 249 | { | ||
| 250 | /* Encode _EM_DENORMAL as 0x20 for Windows compatibility. */ | ||
| 251 | if (y & _EM_DENORMAL) | ||
| 252 | y = (y & ~_EM_DENORMAL) | 0x20; | ||
| 253 | |||
| 254 | return x | y; | ||
| 255 | } | ||
| 256 | |||
| 257 | static inline BOOL fenv_decode(unsigned long enc, unsigned int *x, unsigned int *y) | ||
| 258 | { | ||
| 259 | /* Decode 0x20 as _EM_DENORMAL. */ | ||
| 260 | if (enc & 0x20) | ||
| 261 | enc = (enc & ~0x20) | _EM_DENORMAL; | ||
| 262 | |||
| 263 | *x = *y = enc; | ||
| 264 | return TRUE; | ||
| 265 | } | ||
| 266 | #endif | ||
| 267 | |||
| 268 | void __mingw_setfp( unsigned int *cw, unsigned int cw_mask, unsigned int *sw, unsigned int sw_mask ); | ||
| 269 | void __mingw_setfp_sse( unsigned int *cw, unsigned int cw_mask, unsigned int *sw, unsigned int sw_mask ); | ||
| 270 | unsigned int __mingw_controlfp(unsigned int newval, unsigned int mask); | ||
| 271 | #if defined(__i386__) || (defined(__x86_64__) && !defined(__arm64ec__)) | ||
| 272 | int __mingw_control87_2(unsigned int, unsigned int, unsigned int *, unsigned int *); | ||
| 273 | #endif | ||
| 274 | |||
| 275 | static inline unsigned int __mingw_statusfp(void) | ||
| 276 | { | ||
| 277 | unsigned int flags = 0; | ||
| 278 | #if defined(__i386__) || (defined(__x86_64__) && !defined(__arm64ec__)) | ||
| 279 | unsigned int x86_sw, sse2_sw = 0; | ||
| 280 | __mingw_setfp(NULL, 0, &x86_sw, 0); | ||
| 281 | if (__mingw_has_sse()) | ||
| 282 | __mingw_setfp_sse(NULL, 0, &sse2_sw, 0); | ||
| 283 | flags = x86_sw | sse2_sw; | ||
| 284 | #else | ||
| 285 | __mingw_setfp(NULL, 0, &flags, 0); | ||
| 286 | #endif | ||
| 287 | return flags; | ||
| 288 | } | ||
| 289 | |||
| 290 | /* Use naked functions only on Clang. GCC doesn’t support them on ARM targets and | ||
| 291 | * has broken behavior on x86_64 by emitting .seh_endprologue. */ | ||
| 292 | #ifndef __clang__ | ||
| 293 | |||
| 294 | #define __ASM_DEFINE_FUNC(rettype, name, args, code) \ | ||
| 295 | asm(".text\n\t" \ | ||
| 296 | ".p2align 2\n\t" \ | ||
| 297 | ".globl " __MINGW64_STRINGIFY(__MINGW_USYMBOL(name)) "\n\t" \ | ||
| 298 | ".def " __MINGW64_STRINGIFY(__MINGW_USYMBOL(name)) "; .scl 2; .type 32; .endef\n\t" \ | ||
| 299 | __MINGW64_STRINGIFY(__MINGW_USYMBOL(name)) ":\n\t" \ | ||
| 300 | code "\n\t"); | ||
| 301 | |||
| 302 | #else | ||
| 303 | |||
| 304 | #define __ASM_DEFINE_FUNC(rettype, name, args, code) \ | ||
| 305 | rettype __attribute__((naked)) name args { \ | ||
| 306 | asm(code "\n\t"); \ | ||
| 307 | } | ||
| 308 | |||
| 309 | #endif | ||
| 310 | |||
| 157 | #ifdef __cplusplus | 311 | #ifdef __cplusplus |
| 158 | } | 312 | } |
| 159 | #endif | 313 | #endif |
lib/libc/mingw/intrincs/RtlSecureZeroMemory.c+1-1| ... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ |
| 4 | PVOID WINAPI RtlSecureZeroMemory(PVOID ptr,SIZE_T cnt) | 4 | PVOID WINAPI RtlSecureZeroMemory(PVOID ptr,SIZE_T cnt) |
| 5 | { | 5 | { |
| 6 | volatile char *vptr = (volatile char *)ptr; | 6 | volatile char *vptr = (volatile char *)ptr; |
| 7 | #ifdef __x86_64 | 7 | #if defined(__x86_64__) && !defined(__arm64ec__) |
| 8 | __stosb ((PBYTE)((DWORD64)vptr),0,cnt); | 8 | __stosb ((PBYTE)((DWORD64)vptr),0,cnt); |
| 9 | #else | 9 | #else |
| 10 | while (cnt != 0) | 10 | while (cnt != 0) |
lib/libc/mingw/lib-common/api-ms-win-crt-convert-l1-1-0.def.in+4-4| ... | @@ -47,7 +47,7 @@ _strtoi64 | ... | @@ -47,7 +47,7 @@ _strtoi64 |
| 47 | _strtoi64_l | 47 | _strtoi64_l |
| 48 | _strtoimax_l | 48 | _strtoimax_l |
| 49 | _strtol_l | 49 | _strtol_l |
| 50 | F_ARM_ANY(_strtold_l) ; Can't use long double functions from the CRT on x86 | 50 | F_LD64(_strtold_l) ; Can't use long double functions from the CRT on x86 |
| 51 | _strtoll_l | 51 | _strtoll_l |
| 52 | _strtoui64 | 52 | _strtoui64 |
| 53 | _strtoui64_l | 53 | _strtoui64_l |
| ... | @@ -68,7 +68,7 @@ _wcstoi64 | ... | @@ -68,7 +68,7 @@ _wcstoi64 |
| 68 | _wcstoi64_l | 68 | _wcstoi64_l |
| 69 | _wcstoimax_l | 69 | _wcstoimax_l |
| 70 | _wcstol_l | 70 | _wcstol_l |
| 71 | F_ARM_ANY(_wcstold_l) ; Can't use long double functions from the CRT on x86 | 71 | F_LD64(_wcstold_l) ; Can't use long double functions from the CRT on x86 |
| 72 | _wcstoll_l | 72 | _wcstoll_l |
| 73 | _wcstombs_l | 73 | _wcstombs_l |
| 74 | _wcstombs_s_l | 74 | _wcstombs_s_l |
| ... | @@ -108,7 +108,7 @@ strtod | ... | @@ -108,7 +108,7 @@ strtod |
| 108 | strtof | 108 | strtof |
| 109 | strtoimax | 109 | strtoimax |
| 110 | strtol | 110 | strtol |
| 111 | F_ARM_ANY(strtold) ; Can't use long double functions from the CRT on x86 | 111 | F_LD64(strtold) ; Can't use long double functions from the CRT on x86 |
| 112 | strtoll | 112 | strtoll |
| 113 | strtoul | 113 | strtoul |
| 114 | strtoull | 114 | strtoull |
| ... | @@ -121,7 +121,7 @@ wcstod | ... | @@ -121,7 +121,7 @@ wcstod |
| 121 | wcstof | 121 | wcstof |
| 122 | wcstoimax | 122 | wcstoimax |
| 123 | wcstol | 123 | wcstol |
| 124 | F_ARM_ANY(wcstold) ; Can't use long double functions from the CRT on x86 | 124 | F_LD64(wcstold) ; Can't use long double functions from the CRT on x86 |
| 125 | wcstoll | 125 | wcstoll |
| 126 | wcstombs | 126 | wcstombs |
| 127 | wcstombs_s | 127 | wcstombs_s |
lib/libc/mingw/lib-common/api-ms-win-crt-filesystem-l1-1-0.def.in+13| ... | @@ -39,6 +39,7 @@ F64(_fstati64 == _fstat64) | ... | @@ -39,6 +39,7 @@ F64(_fstati64 == _fstat64) |
| 39 | _fstat32 | 39 | _fstat32 |
| 40 | _fstat32i64 | 40 | _fstat32i64 |
| 41 | _fstat64 | 41 | _fstat64 |
| 42 | fstat64 == _fstat64 | ||
| 42 | _fstat64i32 | 43 | _fstat64i32 |
| 43 | _fullpath | 44 | _fullpath |
| 44 | _getdiskfree | 45 | _getdiskfree |
| ... | @@ -53,14 +54,20 @@ _rmdir | ... | @@ -53,14 +54,20 @@ _rmdir |
| 53 | rmdir == _rmdir | 54 | rmdir == _rmdir |
| 54 | _splitpath | 55 | _splitpath |
| 55 | _splitpath_s | 56 | _splitpath_s |
| 57 | F32(stat == _stat32) | ||
| 58 | F64(stat == _stat64i32) | ||
| 56 | F32(_stat == _stat32) | 59 | F32(_stat == _stat32) |
| 57 | F64(_stat == _stat64i32) | 60 | F64(_stat == _stat64i32) |
| 58 | F32(_stati64 == _stat32i64) | 61 | F32(_stati64 == _stat32i64) |
| 59 | F64(_stati64 == _stat64) | 62 | F64(_stati64 == _stat64) |
| 60 | _stat32 | 63 | _stat32 |
| 64 | stat32 == _stat32 | ||
| 61 | _stat32i64 | 65 | _stat32i64 |
| 66 | stat32i64 == _stat32i64 | ||
| 62 | _stat64 | 67 | _stat64 |
| 68 | stat64 == _stat64 | ||
| 63 | _stat64i32 | 69 | _stat64i32 |
| 70 | stat64i32 == _stat64i32 | ||
| 64 | _umask | 71 | _umask |
| 65 | umask == _umask | 72 | umask == _umask |
| 66 | _umask_s | 73 | _umask_s |
| ... | @@ -96,14 +103,20 @@ _wrename | ... | @@ -96,14 +103,20 @@ _wrename |
| 96 | _wrmdir | 103 | _wrmdir |
| 97 | _wsplitpath | 104 | _wsplitpath |
| 98 | _wsplitpath_s | 105 | _wsplitpath_s |
| 106 | F32(wstat == _wstat32) | ||
| 107 | F64(wstat == _wstat64i32) | ||
| 99 | F32(_wstat == _wstat32) | 108 | F32(_wstat == _wstat32) |
| 100 | F64(_wstat == _wstat64i32) | 109 | F64(_wstat == _wstat64i32) |
| 101 | F32(_wstati64 == _wstat32i64) | 110 | F32(_wstati64 == _wstat32i64) |
| 102 | F64(_wstati64 == _wstat64) | 111 | F64(_wstati64 == _wstat64) |
| 103 | _wstat32 | 112 | _wstat32 |
| 113 | wstat32 == _wstat32 | ||
| 104 | _wstat32i64 | 114 | _wstat32i64 |
| 115 | wstat32i64 == _wstat32i64 | ||
| 105 | _wstat64 | 116 | _wstat64 |
| 117 | wstat64 == _wstat64 | ||
| 106 | _wstat64i32 | 118 | _wstat64i32 |
| 119 | wstat64i32 == _wstat64i32 | ||
| 107 | _wunlink | 120 | _wunlink |
| 108 | remove | 121 | remove |
| 109 | rename | 122 | rename |
lib/libc/mingw/lib-common/api-ms-win-crt-math-l1-1-0.def.in+80-79| ... | @@ -4,7 +4,7 @@ EXPORTS | ... | @@ -4,7 +4,7 @@ EXPORTS |
| 4 | 4 | ||
| 5 | #include "func.def.in" | 5 | #include "func.def.in" |
| 6 | 6 | ||
| 7 | #ifdef DEF_I386 | 7 | #ifdef __i386__ |
| 8 | _CIacos | 8 | _CIacos |
| 9 | _CIasin | 9 | _CIasin |
| 10 | _CIatan | 10 | _CIatan |
| ... | @@ -31,7 +31,7 @@ _FCmulcr | ... | @@ -31,7 +31,7 @@ _FCmulcr |
| 31 | _LCbuild | 31 | _LCbuild |
| 32 | _LCmulcc | 32 | _LCmulcc |
| 33 | _LCmulcr | 33 | _LCmulcr |
| 34 | #ifdef DEF_I386 | 34 | #ifdef __i386__ |
| 35 | __libm_sse2_acos | 35 | __libm_sse2_acos |
| 36 | __libm_sse2_acosf | 36 | __libm_sse2_acosf |
| 37 | __libm_sse2_asin | 37 | __libm_sse2_asin |
| ... | @@ -59,6 +59,7 @@ __setusermatherr | ... | @@ -59,6 +59,7 @@ __setusermatherr |
| 59 | _cabs DATA | 59 | _cabs DATA |
| 60 | _chgsign | 60 | _chgsign |
| 61 | chgsign == _chgsign | 61 | chgsign == _chgsign |
| 62 | F_LD64(_chgsignl == _chgsign) | ||
| 62 | _chgsignf | 63 | _chgsignf |
| 63 | _copysign | 64 | _copysign |
| 64 | _copysignf | 65 | _copysignf |
| ... | @@ -94,9 +95,9 @@ finite == _finite | ... | @@ -94,9 +95,9 @@ finite == _finite |
| 94 | F_NON_I386(_finitef) | 95 | F_NON_I386(_finitef) |
| 95 | _fpclass | 96 | _fpclass |
| 96 | fpclass == _fpclass | 97 | fpclass == _fpclass |
| 97 | _fpclassf | 98 | F_X64(_fpclassf) |
| 98 | F_I386(_ftol) | 99 | F_I386(_ftol) |
| 99 | _get_FMA3_enable | 100 | F_X64(_get_FMA3_enable) |
| 100 | _hypot | 101 | _hypot |
| 101 | _hypotf | 102 | _hypotf |
| 102 | _isnan | 103 | _isnan |
| ... | @@ -118,7 +119,7 @@ _ldsign | ... | @@ -118,7 +119,7 @@ _ldsign |
| 118 | _ldsin | 119 | _ldsin |
| 119 | _ldtest | 120 | _ldtest |
| 120 | _ldunscale | 121 | _ldunscale |
| 121 | #ifdef DEF_I386 | 122 | #ifdef __i386__ |
| 122 | _libm_sse2_acos_precise | 123 | _libm_sse2_acos_precise |
| 123 | _libm_sse2_asin_precise | 124 | _libm_sse2_asin_precise |
| 124 | _libm_sse2_atan_precise | 125 | _libm_sse2_atan_precise |
| ... | @@ -137,7 +138,7 @@ _nextafter | ... | @@ -137,7 +138,7 @@ _nextafter |
| 137 | F_X64(_nextafterf) | 138 | F_X64(_nextafterf) |
| 138 | _scalb | 139 | _scalb |
| 139 | F_X64(_scalbf) | 140 | F_X64(_scalbf) |
| 140 | F64(_set_FMA3_enable) | 141 | F_X64(_set_FMA3_enable) |
| 141 | F_I386(_set_SSE2_enable) | 142 | F_I386(_set_SSE2_enable) |
| 142 | _y0 | 143 | _y0 |
| 143 | y0 == _y0 | 144 | y0 == _y0 |
| ... | @@ -147,224 +148,224 @@ _yn | ... | @@ -147,224 +148,224 @@ _yn |
| 147 | yn == _yn | 148 | yn == _yn |
| 148 | acos | 149 | acos |
| 149 | F_NON_I386(acosf) | 150 | F_NON_I386(acosf) |
| 150 | F_ARM_ANY(acosl == acos) | 151 | F_LD64(acosl == acos) |
| 151 | acosh | 152 | acosh |
| 152 | acoshf | 153 | acoshf |
| 153 | F_ARM_ANY(acoshl) ; Can't use long double functions from the CRT on x86 | 154 | F_LD64(acoshl) ; Can't use long double functions from the CRT on x86 |
| 154 | asin | 155 | asin |
| 155 | F_NON_I386(asinf) | 156 | F_NON_I386(asinf) |
| 156 | F_ARM_ANY(asinl == asin) | 157 | F_LD64(asinl == asin) |
| 157 | asinh | 158 | asinh |
| 158 | asinhf | 159 | asinhf |
| 159 | F_ARM_ANY(asinhl) ; Can't use long double functions from the CRT on x86 | 160 | F_LD64(asinhl) ; Can't use long double functions from the CRT on x86 |
| 160 | atan | 161 | atan |
| 161 | atan2 | 162 | atan2 |
| 162 | F_NON_I386(atan2f) | 163 | F_NON_I386(atan2f) |
| 163 | F_ARM_ANY(atan2l == atan2) | 164 | F_LD64(atan2l == atan2) |
| 164 | F_NON_I386(atanf) | 165 | F_NON_I386(atanf) |
| 165 | F_ARM_ANY(atanl == atan) | 166 | F_LD64(atanl == atan) |
| 166 | atanh | 167 | atanh |
| 167 | atanhf | 168 | atanhf |
| 168 | F_ARM_ANY(atanhl) ; Can't use long double functions from the CRT on x86 | 169 | F_LD64(atanhl) ; Can't use long double functions from the CRT on x86 |
| 169 | cabs | 170 | cabs |
| 170 | cabsf | 171 | cabsf |
| 171 | F_ARM_ANY(cabsl) ; Can't use long double functions from the CRT on x86 | 172 | F_LD64(cabsl) ; Can't use long double functions from the CRT on x86 |
| 172 | cacos | 173 | cacos |
| 173 | cacosf | 174 | cacosf |
| 174 | cacosh | 175 | cacosh |
| 175 | cacoshf | 176 | cacoshf |
| 176 | F_ARM_ANY(cacoshl) ; Can't use long double functions from the CRT on x86 | 177 | F_LD64(cacoshl) ; Can't use long double functions from the CRT on x86 |
| 177 | F_ARM_ANY(cacosl) ; Can't use long double functions from the CRT on x86 | 178 | F_LD64(cacosl) ; Can't use long double functions from the CRT on x86 |
| 178 | carg | 179 | carg |
| 179 | cargf | 180 | cargf |
| 180 | F_ARM_ANY(cargl) ; Can't use long double functions from the CRT on x86 | 181 | F_LD64(cargl) ; Can't use long double functions from the CRT on x86 |
| 181 | casin | 182 | casin |
| 182 | casinf | 183 | casinf |
| 183 | casinh | 184 | casinh |
| 184 | casinhf | 185 | casinhf |
| 185 | F_ARM_ANY(casinhl) ; Can't use long double functions from the CRT on x86 | 186 | F_LD64(casinhl) ; Can't use long double functions from the CRT on x86 |
| 186 | F_ARM_ANY(casinl) ; Can't use long double functions from the CRT on x86 | 187 | F_LD64(casinl) ; Can't use long double functions from the CRT on x86 |
| 187 | catan | 188 | catan |
| 188 | catanf | 189 | catanf |
| 189 | catanh | 190 | catanh |
| 190 | catanhf | 191 | catanhf |
| 191 | F_ARM_ANY(catanhl) ; Can't use long double functions from the CRT on x86 | 192 | F_LD64(catanhl) ; Can't use long double functions from the CRT on x86 |
| 192 | F_ARM_ANY(catanl) ; Can't use long double functions from the CRT on x86 | 193 | F_LD64(catanl) ; Can't use long double functions from the CRT on x86 |
| 193 | cbrt | 194 | cbrt |
| 194 | cbrtf | 195 | cbrtf |
| 195 | F_ARM_ANY(cbrtl) ; Can't use long double functions from the CRT on x86 | 196 | F_LD64(cbrtl) ; Can't use long double functions from the CRT on x86 |
| 196 | ccos | 197 | ccos |
| 197 | ccosf | 198 | ccosf |
| 198 | ccosh | 199 | ccosh |
| 199 | ccoshf | 200 | ccoshf |
| 200 | F_ARM_ANY(ccoshl) ; Can't use long double functions from the CRT on x86 | 201 | F_LD64(ccoshl) ; Can't use long double functions from the CRT on x86 |
| 201 | F_ARM_ANY(ccosl) ; Can't use long double functions from the CRT on x86 | 202 | F_LD64(ccosl) ; Can't use long double functions from the CRT on x86 |
| 202 | ceil | 203 | ceil |
| 203 | F_NON_I386(ceilf) | 204 | F_NON_I386(ceilf) |
| 204 | F_ARM_ANY(ceill == ceil) | 205 | F_LD64(ceill == ceil) |
| 205 | cexp | 206 | cexp |
| 206 | cexpf | 207 | cexpf |
| 207 | F_ARM_ANY(cexpl) ; Can't use long double functions from the CRT on x86 | 208 | F_LD64(cexpl) ; Can't use long double functions from the CRT on x86 |
| 208 | cimag | 209 | cimag |
| 209 | cimagf | 210 | cimagf |
| 210 | F_ARM_ANY(cimagl) ; Can't use long double functions from the CRT on x86 | 211 | F_LD64(cimagl) ; Can't use long double functions from the CRT on x86 |
| 211 | clog | 212 | clog |
| 212 | clog10 | 213 | clog10 |
| 213 | clog10f | 214 | clog10f |
| 214 | F_ARM_ANY(clog10l) ; Can't use long double functions from the CRT on x86 | 215 | F_LD64(clog10l) ; Can't use long double functions from the CRT on x86 |
| 215 | clogf | 216 | clogf |
| 216 | F_ARM_ANY(clogl) ; Can't use long double functions from the CRT on x86 | 217 | F_LD64(clogl) ; Can't use long double functions from the CRT on x86 |
| 217 | conj | 218 | conj |
| 218 | conjf | 219 | conjf |
| 219 | F_ARM_ANY(conjl) ; Can't use long double functions from the CRT on x86 | 220 | F_LD64(conjl) ; Can't use long double functions from the CRT on x86 |
| 220 | copysign | 221 | copysign |
| 221 | copysignf | 222 | copysignf |
| 222 | F_ARM_ANY(copysignl) ; Can't use long double functions from the CRT on x86 | 223 | F_LD64(copysignl) ; Can't use long double functions from the CRT on x86 |
| 223 | cos | 224 | cos |
| 224 | F_NON_I386(cosf) | 225 | F_NON_I386(cosf) |
| 225 | F_ARM_ANY(cosl == cos) | 226 | F_LD64(cosl == cos) |
| 226 | cosh | 227 | cosh |
| 227 | F_NON_I386(coshf) | 228 | F_NON_I386(coshf) |
| 228 | cpow | 229 | cpow |
| 229 | cpowf | 230 | cpowf |
| 230 | F_ARM_ANY(cpowl) ; Can't use long double functions from the CRT on x86 | 231 | F_LD64(cpowl) ; Can't use long double functions from the CRT on x86 |
| 231 | cproj | 232 | cproj |
| 232 | cprojf | 233 | cprojf |
| 233 | F_ARM_ANY(cprojl) ; Can't use long double functions from the CRT on x86 | 234 | F_LD64(cprojl) ; Can't use long double functions from the CRT on x86 |
| 234 | creal | 235 | creal |
| 235 | crealf | 236 | crealf |
| 236 | F_ARM_ANY(creall) ; Can't use long double functions from the CRT on x86 | 237 | F_LD64(creall) ; Can't use long double functions from the CRT on x86 |
| 237 | csin | 238 | csin |
| 238 | csinf | 239 | csinf |
| 239 | csinh | 240 | csinh |
| 240 | csinhf | 241 | csinhf |
| 241 | F_ARM_ANY(csinhl) ; Can't use long double functions from the CRT on x86 | 242 | F_LD64(csinhl) ; Can't use long double functions from the CRT on x86 |
| 242 | F_ARM_ANY(csinl) ; Can't use long double functions from the CRT on x86 | 243 | F_LD64(csinl) ; Can't use long double functions from the CRT on x86 |
| 243 | csqrt | 244 | csqrt |
| 244 | csqrtf | 245 | csqrtf |
| 245 | F_ARM_ANY(csqrtl) ; Can't use long double functions from the CRT on x86 | 246 | F_LD64(csqrtl) ; Can't use long double functions from the CRT on x86 |
| 246 | ctan | 247 | ctan |
| 247 | ctanf | 248 | ctanf |
| 248 | ctanh | 249 | ctanh |
| 249 | ctanhf | 250 | ctanhf |
| 250 | F_ARM_ANY(ctanhl) ; Can't use long double functions from the CRT on x86 | 251 | F_LD64(ctanhl) ; Can't use long double functions from the CRT on x86 |
| 251 | F_ARM_ANY(ctanl) ; Can't use long double functions from the CRT on x86 | 252 | F_LD64(ctanl) ; Can't use long double functions from the CRT on x86 |
| 252 | erf | 253 | erf |
| 253 | erfc | 254 | erfc |
| 254 | erfcf | 255 | erfcf |
| 255 | F_ARM_ANY(erfcl) ; Can't use long double functions from the CRT on x86 | 256 | F_LD64(erfcl) ; Can't use long double functions from the CRT on x86 |
| 256 | erff | 257 | erff |
| 257 | F_ARM_ANY(erfl) ; Can't use long double functions from the CRT on x86 | 258 | F_LD64(erfl) ; Can't use long double functions from the CRT on x86 |
| 258 | exp | 259 | exp |
| 259 | exp2 | 260 | exp2 |
| 260 | exp2f | 261 | exp2f |
| 261 | F_ARM_ANY(exp2l) ; Can't use long double functions from the CRT on x86 | 262 | F_LD64(exp2l) ; Can't use long double functions from the CRT on x86 |
| 262 | F_NON_I386(expf) | 263 | F_NON_I386(expf) |
| 263 | F_ARM_ANY(expl == exp) | 264 | F_LD64(expl == exp) |
| 264 | expm1 | 265 | expm1 |
| 265 | expm1f | 266 | expm1f |
| 266 | F_ARM_ANY(expm1l) ; Can't use long double functions from the CRT on x86 | 267 | F_LD64(expm1l) ; Can't use long double functions from the CRT on x86 |
| 267 | fabs | 268 | fabs |
| 268 | F_ARM_ANY(fabsf) | 269 | F_ARM_ANY(fabsf) |
| 269 | fdim | 270 | fdim |
| 270 | fdimf | 271 | fdimf |
| 271 | F_ARM_ANY(fdiml) ; Can't use long double functions from the CRT on x86 | 272 | F_LD64(fdiml) ; Can't use long double functions from the CRT on x86 |
| 272 | floor | 273 | floor |
| 273 | F_NON_I386(floorf) | 274 | F_NON_I386(floorf) |
| 274 | F_ARM_ANY(floorl == floor) | 275 | F_LD64(floorl == floor) |
| 275 | fma | 276 | fma |
| 276 | fmaf | 277 | fmaf |
| 277 | F_ARM_ANY(fmal) ; Can't use long double functions from the CRT on x86 | 278 | F_LD64(fmal) ; Can't use long double functions from the CRT on x86 |
| 278 | fmax | 279 | fmax |
| 279 | fmaxf | 280 | fmaxf |
| 280 | F_ARM_ANY(fmaxl) ; Can't use long double functions from the CRT on x86 | 281 | F_LD64(fmaxl) ; Can't use long double functions from the CRT on x86 |
| 281 | fmin | 282 | fmin |
| 282 | fminf | 283 | fminf |
| 283 | F_ARM_ANY(fminl) ; Can't use long double functions from the CRT on x86 | 284 | F_LD64(fminl) ; Can't use long double functions from the CRT on x86 |
| 284 | fmod | 285 | fmod |
| 285 | F_NON_I386(fmodf) | 286 | F_NON_I386(fmodf) |
| 286 | F_ARM_ANY(fmodl == fmod) | 287 | F_LD64(fmodl == fmod) |
| 287 | frexp | 288 | frexp |
| 288 | hypot | 289 | hypot |
| 289 | ilogb | 290 | ilogb |
| 290 | ilogbf | 291 | ilogbf |
| 291 | F_ARM_ANY(ilogbl) ; Can't use long double functions from the CRT on x86 | 292 | F_LD64(ilogbl) ; Can't use long double functions from the CRT on x86 |
| 292 | ldexp | 293 | ldexp |
| 293 | ; The UCRT lgamma functions don't set/provide the signgam variable like | 294 | ; The UCRT lgamma functions don't set/provide the signgam variable like |
| 294 | ; the mingw ones do. Therefore prefer the libmingwex version instead. | 295 | ; the mingw ones do. Therefore prefer the libmingwex version instead. |
| 295 | lgamma DATA | 296 | lgamma DATA |
| 296 | lgammaf DATA | 297 | lgammaf DATA |
| 297 | F_ARM_ANY(lgammal DATA) ; Can't use long double functions from the CRT on x86 | 298 | F_LD64(lgammal DATA) ; Can't use long double functions from the CRT on x86 |
| 298 | llrint | 299 | llrint |
| 299 | llrintf | 300 | llrintf |
| 300 | F_ARM_ANY(llrintl) ; Can't use long double functions from the CRT on x86 | 301 | F_LD64(llrintl) ; Can't use long double functions from the CRT on x86 |
| 301 | llround | 302 | llround |
| 302 | llroundf | 303 | llroundf |
| 303 | F_ARM_ANY(llroundl) ; Can't use long double functions from the CRT on x86 | 304 | F_LD64(llroundl) ; Can't use long double functions from the CRT on x86 |
| 304 | log | 305 | log |
| 305 | log10 | 306 | log10 |
| 306 | F_NON_I386(log10f) | 307 | F_NON_I386(log10f) |
| 307 | F_ARM_ANY(log10l == log10) | 308 | F_LD64(log10l == log10) |
| 308 | log1p | 309 | log1p |
| 309 | log1pf | 310 | log1pf |
| 310 | F_ARM_ANY(log1pl) ; Can't use long double functions from the CRT on x86 | 311 | F_LD64(log1pl) ; Can't use long double functions from the CRT on x86 |
| 311 | log2 | 312 | log2 |
| 312 | log2f | 313 | log2f |
| 313 | F_ARM_ANY(log2l) ; Can't use long double functions from the CRT on x86 | 314 | F_LD64(log2l) ; Can't use long double functions from the CRT on x86 |
| 314 | logb | 315 | logb |
| 315 | logbf | 316 | logbf |
| 316 | F_ARM_ANY(logbl) ; Can't use long double functions from the CRT on x86 | 317 | F_LD64(logbl) ; Can't use long double functions from the CRT on x86 |
| 317 | F_NON_I386(logf) | 318 | F_NON_I386(logf) |
| 318 | F_ARM_ANY(logl == log) | 319 | F_LD64(logl == log) |
| 319 | lrint | 320 | lrint |
| 320 | lrintf | 321 | lrintf |
| 321 | F_ARM_ANY(lrintl) ; Can't use long double functions from the CRT on x86 | 322 | F_LD64(lrintl) ; Can't use long double functions from the CRT on x86 |
| 322 | lround | 323 | lround |
| 323 | lroundf | 324 | lroundf |
| 324 | F_ARM_ANY(lroundl) ; Can't use long double functions from the CRT on x86 | 325 | F_LD64(lroundl) ; Can't use long double functions from the CRT on x86 |
| 325 | modf | 326 | modf |
| 326 | F_NON_I386(modff) | 327 | F_NON_I386(modff) |
| 327 | nan | 328 | nan |
| 328 | nanf | 329 | nanf |
| 329 | F_ARM_ANY(nanl) ; Can't use long double functions from the CRT on x86 | 330 | F_LD64(nanl) ; Can't use long double functions from the CRT on x86 |
| 330 | nearbyint | 331 | nearbyint |
| 331 | nearbyintf | 332 | nearbyintf |
| 332 | F_ARM_ANY(nearbyintl) ; Can't use long double functions from the CRT on x86 | 333 | F_LD64(nearbyintl) ; Can't use long double functions from the CRT on x86 |
| 333 | nextafter | 334 | nextafter |
| 334 | nextafterf | 335 | nextafterf |
| 335 | F_ARM_ANY(nextafterl) ; Can't use long double functions from the CRT on x86 | 336 | F_LD64(nextafterl) ; Can't use long double functions from the CRT on x86 |
| 336 | ; All of the nexttoward functions take the second parameter as long double, | 337 | ; All of the nexttoward functions take the second parameter as long double, |
| 337 | ; making them unusable for x86. | 338 | ; making them unusable for x86. |
| 338 | F_ARM_ANY(nexttoward) ; Can't use long double functions from the CRT on x86 | 339 | F_LD64(nexttoward) ; Can't use long double functions from the CRT on x86 |
| 339 | F_ARM_ANY(nexttowardf) ; Can't use long double functions from the CRT on x86 | 340 | F_LD64(nexttowardf) ; Can't use long double functions from the CRT on x86 |
| 340 | F_ARM_ANY(nexttowardl) ; Can't use long double functions from the CRT on x86 | 341 | F_LD64(nexttowardl) ; Can't use long double functions from the CRT on x86 |
| 341 | norm | 342 | norm |
| 342 | normf | 343 | normf |
| 343 | norml | 344 | norml |
| 344 | pow | 345 | pow |
| 345 | F_NON_I386(powf) ; Missing in Wine's ucrtbase.dll for i386 in Wine 9.15 and older | 346 | F_NON_I386(powf) ; Missing in Wine's ucrtbase.dll for i386 in Wine 9.15 and older |
| 346 | F_ARM_ANY(powl == pow) | 347 | F_LD64(powl == pow) |
| 347 | remainder | 348 | remainder |
| 348 | remainderf | 349 | remainderf |
| 349 | F_ARM_ANY(remainderl) ; Can't use long double functions from the CRT on x86 | 350 | F_LD64(remainderl) ; Can't use long double functions from the CRT on x86 |
| 350 | remquo | 351 | remquo |
| 351 | remquof | 352 | remquof |
| 352 | F_ARM_ANY(remquol) ; Can't use long double functions from the CRT on x86 | 353 | F_LD64(remquol) ; Can't use long double functions from the CRT on x86 |
| 353 | rint | 354 | rint |
| 354 | rintf | 355 | rintf |
| 355 | F_ARM_ANY(rintl) ; Can't use long double functions from the CRT on x86 | 356 | F_LD64(rintl) ; Can't use long double functions from the CRT on x86 |
| 356 | round | 357 | round |
| 357 | roundf | 358 | roundf |
| 358 | F_ARM_ANY(roundl) ; Can't use long double functions from the CRT on x86 | 359 | F_LD64(roundl) ; Can't use long double functions from the CRT on x86 |
| 359 | scalbln | 360 | scalbln |
| 360 | scalblnf | 361 | scalblnf |
| 361 | F_ARM_ANY(scalblnl) ; Can't use long double functions from the CRT on x86 | 362 | F_LD64(scalblnl) ; Can't use long double functions from the CRT on x86 |
| 362 | scalbn | 363 | scalbn |
| 363 | scalbnf | 364 | scalbnf |
| 364 | F_ARM_ANY(scalbnl) ; Can't use long double functions from the CRT on x86 | 365 | F_LD64(scalbnl) ; Can't use long double functions from the CRT on x86 |
| 365 | sin | 366 | sin |
| 366 | F_NON_I386(sinf) | 367 | F_NON_I386(sinf) |
| 367 | F_ARM_ANY(sinl == sin) | 368 | F_LD64(sinl == sin) |
| 368 | ; if we implement sinh, we can set it DATA only. | 369 | ; if we implement sinh, we can set it DATA only. |
| 369 | sinh | 370 | sinh |
| 370 | F_NON_I386(sinhf) | 371 | F_NON_I386(sinhf) |
| ... | @@ -372,13 +373,13 @@ sqrt | ... | @@ -372,13 +373,13 @@ sqrt |
| 372 | F_NON_I386(sqrtf) | 373 | F_NON_I386(sqrtf) |
| 373 | tan | 374 | tan |
| 374 | F_NON_I386(tanf) | 375 | F_NON_I386(tanf) |
| 375 | F_ARM_ANY(tanl == tan) | 376 | F_LD64(tanl == tan) |
| 376 | ; if we implement tanh, we can set it to DATA only. | 377 | ; if we implement tanh, we can set it to DATA only. |
| 377 | tanh | 378 | tanh |
| 378 | F_NON_I386(tanhf) | 379 | F_NON_I386(tanhf) |
| 379 | tgamma | 380 | tgamma |
| 380 | tgammaf | 381 | tgammaf |
| 381 | F_ARM_ANY(tgammal) ; Can't use long double functions from the CRT on x86 | 382 | F_LD64(tgammal) ; Can't use long double functions from the CRT on x86 |
| 382 | trunc | 383 | trunc |
| 383 | truncf | 384 | truncf |
| 384 | F_ARM_ANY(truncl) ; Can't use long double functions from the CRT on x86 | 385 | F_LD64(truncl) ; Can't use long double functions from the CRT on x86 |
lib/libc/mingw/lib-common/api-ms-win-crt-private-l1-1-0.def.in+144-114| ... | @@ -9,14 +9,14 @@ F_I386(_CxxThrowException@8) | ... | @@ -9,14 +9,14 @@ F_I386(_CxxThrowException@8) |
| 9 | F_NON_I386(_CxxThrowException) | 9 | F_NON_I386(_CxxThrowException) |
| 10 | F_I386(_EH_prolog) | 10 | F_I386(_EH_prolog) |
| 11 | _FindAndUnlinkFrame | 11 | _FindAndUnlinkFrame |
| 12 | _GetImageBase | 12 | F_X64(_GetImageBase) |
| 13 | _GetThrowImageBase | 13 | F_X64(_GetThrowImageBase) |
| 14 | _IsExceptionObjectToBeDestroyed | 14 | _IsExceptionObjectToBeDestroyed |
| 15 | _NLG_Dispatch2 | 15 | F_I386(_NLG_Dispatch2@4) |
| 16 | _NLG_Return | 16 | F_I386(_NLG_Return@12) |
| 17 | _NLG_Return2 | 17 | F_I386(_NLG_Return2) |
| 18 | _SetImageBase | 18 | F_X64(_SetImageBase) |
| 19 | _SetThrowImageBase | 19 | F_X64(_SetThrowImageBase) |
| 20 | _SetWinRTOutOfMemoryExceptionCallback | 20 | _SetWinRTOutOfMemoryExceptionCallback |
| 21 | __AdjustPointer | 21 | __AdjustPointer |
| 22 | __BuildCatchObject | 22 | __BuildCatchObject |
| ... | @@ -34,8 +34,8 @@ __CxxUnregisterExceptionObject | ... | @@ -34,8 +34,8 @@ __CxxUnregisterExceptionObject |
| 34 | __DestructExceptionObject | 34 | __DestructExceptionObject |
| 35 | __FrameUnwindFilter | 35 | __FrameUnwindFilter |
| 36 | __GetPlatformExceptionInfo | 36 | __GetPlatformExceptionInfo |
| 37 | __NLG_Dispatch2 | 37 | F_NON_I386(__NLG_Dispatch2) |
| 38 | __NLG_Return2 | 38 | F_NON_I386(__NLG_Return2) |
| 39 | __RTCastToVoid | 39 | __RTCastToVoid |
| 40 | __RTDynamicCast | 40 | __RTDynamicCast |
| 41 | __RTtypeid | 41 | __RTtypeid |
| ... | @@ -44,8 +44,8 @@ __current_exception | ... | @@ -44,8 +44,8 @@ __current_exception |
| 44 | __current_exception_context | 44 | __current_exception_context |
| 45 | __dcrt_get_wide_environment_from_os | 45 | __dcrt_get_wide_environment_from_os |
| 46 | __dcrt_initial_narrow_environment DATA | 46 | __dcrt_initial_narrow_environment DATA |
| 47 | __intrinsic_abnormal_termination | 47 | F_I386(__intrinsic_abnormal_termination) |
| 48 | __intrinsic_setjmp | 48 | F_NON_ARM64(__intrinsic_setjmp) |
| 49 | F64(__intrinsic_setjmpex) | 49 | F64(__intrinsic_setjmpex) |
| 50 | __processing_throw | 50 | __processing_throw |
| 51 | __report_gsfailure | 51 | __report_gsfailure |
| ... | @@ -66,26 +66,26 @@ _get_purecall_handler | ... | @@ -66,26 +66,26 @@ _get_purecall_handler |
| 66 | _get_unexpected | 66 | _get_unexpected |
| 67 | F_I386(_global_unwind2) | 67 | F_I386(_global_unwind2) |
| 68 | _is_exception_typeof | 68 | _is_exception_typeof |
| 69 | F_X64(_local_unwind) | 69 | F64(_local_unwind) |
| 70 | F_I386(_local_unwind2) | 70 | F_I386(_local_unwind2) |
| 71 | F_I386(_local_unwind4) | 71 | F_I386(_local_unwind4) |
| 72 | F_I386(_longjmpex) | 72 | F_I386(_longjmpex) |
| 73 | _o__CIacos | 73 | F_I386(_o__CIacos) |
| 74 | _o__CIasin | 74 | F_I386(_o__CIasin) |
| 75 | _o__CIatan | 75 | F_I386(_o__CIatan) |
| 76 | _o__CIatan2 | 76 | F_I386(_o__CIatan2) |
| 77 | _o__CIcos | 77 | F_I386(_o__CIcos) |
| 78 | _o__CIcosh | 78 | F_I386(_o__CIcosh) |
| 79 | _o__CIexp | 79 | F_I386(_o__CIexp) |
| 80 | _o__CIfmod | 80 | F_I386(_o__CIfmod) |
| 81 | _o__CIlog | 81 | F_I386(_o__CIlog) |
| 82 | _o__CIlog10 | 82 | F_I386(_o__CIlog10) |
| 83 | _o__CIpow | 83 | F_I386(_o__CIpow) |
| 84 | _o__CIsin | 84 | F_I386(_o__CIsin) |
| 85 | _o__CIsinh | 85 | F_I386(_o__CIsinh) |
| 86 | _o__CIsqrt | 86 | F_I386(_o__CIsqrt) |
| 87 | _o__CItan | 87 | F_I386(_o__CItan) |
| 88 | _o__CItanh | 88 | F_I386(_o__CItanh) |
| 89 | _o__Getdays | 89 | _o__Getdays |
| 90 | _o__Getmonths | 90 | _o__Getmonths |
| 91 | _o__Gettnames | 91 | _o__Gettnames |
| ... | @@ -106,27 +106,27 @@ _o___conio_common_vcwscanf | ... | @@ -106,27 +106,27 @@ _o___conio_common_vcwscanf |
| 106 | _o___daylight | 106 | _o___daylight |
| 107 | _o___dstbias | 107 | _o___dstbias |
| 108 | _o___fpe_flt_rounds | 108 | _o___fpe_flt_rounds |
| 109 | _o___libm_sse2_acos | 109 | F_I386(_o___libm_sse2_acos) |
| 110 | _o___libm_sse2_acosf | 110 | F_I386(_o___libm_sse2_acosf) |
| 111 | _o___libm_sse2_asin | 111 | F_I386(_o___libm_sse2_asin) |
| 112 | _o___libm_sse2_asinf | 112 | F_I386(_o___libm_sse2_asinf) |
| 113 | _o___libm_sse2_atan | 113 | F_I386(_o___libm_sse2_atan) |
| 114 | _o___libm_sse2_atan2 | 114 | F_I386(_o___libm_sse2_atan2) |
| 115 | _o___libm_sse2_atanf | 115 | F_I386(_o___libm_sse2_atanf) |
| 116 | _o___libm_sse2_cos | 116 | F_I386(_o___libm_sse2_cos) |
| 117 | _o___libm_sse2_cosf | 117 | F_I386(_o___libm_sse2_cosf) |
| 118 | _o___libm_sse2_exp | 118 | F_I386(_o___libm_sse2_exp) |
| 119 | _o___libm_sse2_expf | 119 | F_I386(_o___libm_sse2_expf) |
| 120 | _o___libm_sse2_log | 120 | F_I386(_o___libm_sse2_log) |
| 121 | _o___libm_sse2_log10 | 121 | F_I386(_o___libm_sse2_log10) |
| 122 | _o___libm_sse2_log10f | 122 | F_I386(_o___libm_sse2_log10f) |
| 123 | _o___libm_sse2_logf | 123 | F_I386(_o___libm_sse2_logf) |
| 124 | _o___libm_sse2_pow | 124 | F_I386(_o___libm_sse2_pow) |
| 125 | _o___libm_sse2_powf | 125 | F_I386(_o___libm_sse2_powf) |
| 126 | _o___libm_sse2_sin | 126 | F_I386(_o___libm_sse2_sin) |
| 127 | _o___libm_sse2_sinf | 127 | F_I386(_o___libm_sse2_sinf) |
| 128 | _o___libm_sse2_tan | 128 | F_I386(_o___libm_sse2_tan) |
| 129 | _o___libm_sse2_tanf | 129 | F_I386(_o___libm_sse2_tanf) |
| 130 | _o___p___argc | 130 | _o___p___argc |
| 131 | _o___p___argv | 131 | _o___p___argv |
| 132 | _o___p___wargv | 132 | _o___p___wargv |
| ... | @@ -272,7 +272,7 @@ _o__findnext64 | ... | @@ -272,7 +272,7 @@ _o__findnext64 |
| 272 | _o__findnext64i32 | 272 | _o__findnext64i32 |
| 273 | _o__flushall | 273 | _o__flushall |
| 274 | _o__fpclass | 274 | _o__fpclass |
| 275 | _o__fpclassf | 275 | F_X64(_o__fpclassf) |
| 276 | _o__fputc_nolock | 276 | _o__fputc_nolock |
| 277 | _o__fputchar | 277 | _o__fputchar |
| 278 | _o__fputwc_nolock | 278 | _o__fputwc_nolock |
| ... | @@ -443,17 +443,17 @@ _o__ldtest | ... | @@ -443,17 +443,17 @@ _o__ldtest |
| 443 | _o__ldunscale | 443 | _o__ldunscale |
| 444 | _o__lfind | 444 | _o__lfind |
| 445 | _o__lfind_s | 445 | _o__lfind_s |
| 446 | _o__libm_sse2_acos_precise | 446 | F_I386(_o__libm_sse2_acos_precise) |
| 447 | _o__libm_sse2_asin_precise | 447 | F_I386(_o__libm_sse2_asin_precise) |
| 448 | _o__libm_sse2_atan_precise | 448 | F_I386(_o__libm_sse2_atan_precise) |
| 449 | _o__libm_sse2_cos_precise | 449 | F_I386(_o__libm_sse2_cos_precise) |
| 450 | _o__libm_sse2_exp_precise | 450 | F_I386(_o__libm_sse2_exp_precise) |
| 451 | _o__libm_sse2_log10_precise | 451 | F_I386(_o__libm_sse2_log10_precise) |
| 452 | _o__libm_sse2_log_precise | 452 | F_I386(_o__libm_sse2_log_precise) |
| 453 | _o__libm_sse2_pow_precise | 453 | F_I386(_o__libm_sse2_pow_precise) |
| 454 | _o__libm_sse2_sin_precise | 454 | F_I386(_o__libm_sse2_sin_precise) |
| 455 | _o__libm_sse2_sqrt_precise | 455 | F_I386(_o__libm_sse2_sqrt_precise) |
| 456 | _o__libm_sse2_tan_precise | 456 | F_I386(_o__libm_sse2_tan_precise) |
| 457 | _o__loaddll | 457 | _o__loaddll |
| 458 | _o__localtime32 | 458 | _o__localtime32 |
| 459 | _o__localtime32_s | 459 | _o__localtime32_s |
| ... | @@ -462,7 +462,7 @@ _o__localtime64_s | ... | @@ -462,7 +462,7 @@ _o__localtime64_s |
| 462 | _o__lock_file | 462 | _o__lock_file |
| 463 | _o__locking | 463 | _o__locking |
| 464 | _o__logb | 464 | _o__logb |
| 465 | _o__logbf | 465 | F_NON_I386(_o__logbf) |
| 466 | _o__lsearch | 466 | _o__lsearch |
| 467 | _o__lsearch_s | 467 | _o__lsearch_s |
| 468 | _o__lseek | 468 | _o__lseek |
| ... | @@ -619,7 +619,7 @@ _o__mktime32 | ... | @@ -619,7 +619,7 @@ _o__mktime32 |
| 619 | _o__mktime64 | 619 | _o__mktime64 |
| 620 | _o__msize | 620 | _o__msize |
| 621 | _o__nextafter | 621 | _o__nextafter |
| 622 | _o__nextafterf | 622 | F_X64(_o__nextafterf) |
| 623 | _o__open_osfhandle | 623 | _o__open_osfhandle |
| 624 | _o__pclose | 624 | _o__pclose |
| 625 | _o__pipe | 625 | _o__pipe |
| ... | @@ -642,7 +642,7 @@ _o__resetstkoflw | ... | @@ -642,7 +642,7 @@ _o__resetstkoflw |
| 642 | _o__rmdir | 642 | _o__rmdir |
| 643 | _o__rmtmp | 643 | _o__rmtmp |
| 644 | _o__scalb | 644 | _o__scalb |
| 645 | _o__scalbf | 645 | F_X64(_o__scalbf) |
| 646 | _o__searchenv | 646 | _o__searchenv |
| 647 | _o__searchenv_s | 647 | _o__searchenv_s |
| 648 | _o__set_abort_behavior | 648 | _o__set_abort_behavior |
| ... | @@ -700,7 +700,7 @@ _o__strtof_l | ... | @@ -700,7 +700,7 @@ _o__strtof_l |
| 700 | _o__strtoi64 | 700 | _o__strtoi64 |
| 701 | _o__strtoi64_l | 701 | _o__strtoi64_l |
| 702 | _o__strtol_l | 702 | _o__strtol_l |
| 703 | _o__strtold_l | 703 | F_LD64(_o__strtold_l) ; Can't use long double functions from the CRT on x86 |
| 704 | _o__strtoll_l | 704 | _o__strtoll_l |
| 705 | _o__strtoui64 | 705 | _o__strtoui64 |
| 706 | _o__strtoui64_l | 706 | _o__strtoui64_l |
| ... | @@ -780,7 +780,7 @@ _o__wcstof_l | ... | @@ -780,7 +780,7 @@ _o__wcstof_l |
| 780 | _o__wcstoi64 | 780 | _o__wcstoi64 |
| 781 | _o__wcstoi64_l | 781 | _o__wcstoi64_l |
| 782 | _o__wcstol_l | 782 | _o__wcstol_l |
| 783 | _o__wcstold_l | 783 | F_LD64(_o__wcstold_l) ; Can't use long double functions from the CRT on x86 |
| 784 | _o__wcstoll_l | 784 | _o__wcstoll_l |
| 785 | _o__wcstombs_l | 785 | _o__wcstombs_l |
| 786 | _o__wcstombs_s_l | 786 | _o__wcstombs_s_l |
| ... | @@ -875,24 +875,24 @@ _o__y1 | ... | @@ -875,24 +875,24 @@ _o__y1 |
| 875 | _o__yn | 875 | _o__yn |
| 876 | _o_abort | 876 | _o_abort |
| 877 | _o_acos | 877 | _o_acos |
| 878 | _o_acosf | 878 | F_NON_I386(_o_acosf) |
| 879 | _o_acosh | 879 | _o_acosh |
| 880 | _o_acoshf | 880 | _o_acoshf |
| 881 | _o_acoshl | 881 | F_LD64(_o_acoshl) ; Can't use long double functions from the CRT on x86 |
| 882 | _o_asctime | 882 | _o_asctime |
| 883 | _o_asctime_s | 883 | _o_asctime_s |
| 884 | _o_asin | 884 | _o_asin |
| 885 | _o_asinf | 885 | F_NON_I386(_o_asinf) |
| 886 | _o_asinh | 886 | _o_asinh |
| 887 | _o_asinhf | 887 | _o_asinhf |
| 888 | _o_asinhl | 888 | F_LD64(_o_asinhl) ; Can't use long double functions from the CRT on x86 |
| 889 | _o_atan | 889 | _o_atan |
| 890 | _o_atan2 | 890 | _o_atan2 |
| 891 | _o_atan2f | 891 | F_NON_I386(_o_atan2f) |
| 892 | _o_atanf | 892 | F_NON_I386(_o_atanf) |
| 893 | _o_atanh | 893 | _o_atanh |
| 894 | _o_atanhf | 894 | _o_atanhf |
| 895 | _o_atanhl | 895 | F_LD64(_o_atanhl) ; Can't use long double functions from the CRT on x86 |
| 896 | _o_atof | 896 | _o_atof |
| 897 | _o_atoi | 897 | _o_atoi |
| 898 | _o_atol | 898 | _o_atol |
| ... | @@ -904,24 +904,24 @@ _o_calloc | ... | @@ -904,24 +904,24 @@ _o_calloc |
| 904 | _o_cbrt | 904 | _o_cbrt |
| 905 | _o_cbrtf | 905 | _o_cbrtf |
| 906 | _o_ceil | 906 | _o_ceil |
| 907 | _o_ceilf | 907 | F_NON_I386(_o_ceilf) |
| 908 | _o_clearerr | 908 | _o_clearerr |
| 909 | _o_clearerr_s | 909 | _o_clearerr_s |
| 910 | _o_cos | 910 | _o_cos |
| 911 | _o_cosf | 911 | F_NON_I386(_o_cosf) |
| 912 | _o_cosh | 912 | _o_cosh |
| 913 | _o_coshf | 913 | F_NON_I386(_o_coshf) |
| 914 | _o_erf | 914 | _o_erf |
| 915 | _o_erfc | 915 | _o_erfc |
| 916 | _o_erfcf | 916 | _o_erfcf |
| 917 | _o_erfcl | 917 | F_LD64(_o_erfcl) ; Can't use long double functions from the CRT on x86 |
| 918 | _o_erff | 918 | _o_erff |
| 919 | _o_erfl | 919 | F_LD64(_o_erfl) ; Can't use long double functions from the CRT on x86 |
| 920 | _o_exp | 920 | _o_exp |
| 921 | _o_exp2 | 921 | _o_exp2 |
| 922 | _o_exp2f | 922 | _o_exp2f |
| 923 | _o_exp2l | 923 | F_LD64(_o_exp2l) ; Can't use long double functions from the CRT on x86 |
| 924 | _o_expf | 924 | F_NON_I386(_o_expf) |
| 925 | _o_fabs | 925 | _o_fabs |
| 926 | _o_fclose | 926 | _o_fclose |
| 927 | _o_feof | 927 | _o_feof |
| ... | @@ -933,12 +933,12 @@ _o_fgets | ... | @@ -933,12 +933,12 @@ _o_fgets |
| 933 | _o_fgetwc | 933 | _o_fgetwc |
| 934 | _o_fgetws | 934 | _o_fgetws |
| 935 | _o_floor | 935 | _o_floor |
| 936 | _o_floorf | 936 | F_NON_I386(_o_floorf) |
| 937 | _o_fma | 937 | _o_fma |
| 938 | _o_fmaf | 938 | _o_fmaf |
| 939 | _o_fmal | 939 | F_LD64(_o_fmal) ; Can't use long double functions from the CRT on x86 |
| 940 | _o_fmod | 940 | _o_fmod |
| 941 | _o_fmodf | 941 | F_NON_I386(_o_fmodf) |
| 942 | _o_fopen | 942 | _o_fopen |
| 943 | _o_fopen_s | 943 | _o_fopen_s |
| 944 | _o_fputc | 944 | _o_fputc |
| ... | @@ -995,33 +995,33 @@ _o_isxdigit | ... | @@ -995,33 +995,33 @@ _o_isxdigit |
| 995 | _o_ldexp | 995 | _o_ldexp |
| 996 | _o_lgamma | 996 | _o_lgamma |
| 997 | _o_lgammaf | 997 | _o_lgammaf |
| 998 | _o_lgammal | 998 | F_LD64(_o_lgammal) ; Can't use long double functions from the CRT on x86 |
| 999 | _o_llrint | 999 | _o_llrint |
| 1000 | _o_llrintf | 1000 | _o_llrintf |
| 1001 | _o_llrintl | 1001 | F_LD64(_o_llrintl) ; Can't use long double functions from the CRT on x86 |
| 1002 | _o_llround | 1002 | _o_llround |
| 1003 | _o_llroundf | 1003 | _o_llroundf |
| 1004 | _o_llroundl | 1004 | F_LD64(_o_llroundl) ; Can't use long double functions from the CRT on x86 |
| 1005 | _o_localeconv | 1005 | _o_localeconv |
| 1006 | _o_log | 1006 | _o_log |
| 1007 | _o_log10 | 1007 | _o_log10 |
| 1008 | _o_log10f | 1008 | F_NON_I386(_o_log10f) |
| 1009 | _o_log1p | 1009 | _o_log1p |
| 1010 | _o_log1pf | 1010 | _o_log1pf |
| 1011 | _o_log1pl | 1011 | F_LD64(_o_log1pl) ; Can't use long double functions from the CRT on x86 |
| 1012 | _o_log2 | 1012 | _o_log2 |
| 1013 | _o_log2f | 1013 | _o_log2f |
| 1014 | _o_log2l | 1014 | F_LD64(_o_log2l) ; Can't use long double functions from the CRT on x86 |
| 1015 | _o_logb | 1015 | _o_logb |
| 1016 | _o_logbf | 1016 | _o_logbf |
| 1017 | _o_logbl | 1017 | F_LD64(_o_logbl) ; Can't use long double functions from the CRT on x86 |
| 1018 | _o_logf | 1018 | F_NON_I386(_o_logf) |
| 1019 | _o_lrint | 1019 | _o_lrint |
| 1020 | _o_lrintf | 1020 | _o_lrintf |
| 1021 | _o_lrintl | 1021 | F_LD64(_o_lrintl) ; Can't use long double functions from the CRT on x86 |
| 1022 | _o_lround | 1022 | _o_lround |
| 1023 | _o_lroundf | 1023 | _o_lroundf |
| 1024 | _o_lroundl | 1024 | F_LD64(_o_lroundl) ; Can't use long double functions from the CRT on x86 |
| 1025 | _o_malloc | 1025 | _o_malloc |
| 1026 | _o_mblen | 1026 | _o_mblen |
| 1027 | _o_mbrlen | 1027 | _o_mbrlen |
| ... | @@ -1035,19 +1035,19 @@ _o_mbstowcs_s | ... | @@ -1035,19 +1035,19 @@ _o_mbstowcs_s |
| 1035 | _o_mbtowc | 1035 | _o_mbtowc |
| 1036 | _o_memset | 1036 | _o_memset |
| 1037 | _o_modf | 1037 | _o_modf |
| 1038 | _o_modff | 1038 | F_NON_I386(_o_modff) |
| 1039 | _o_nan | 1039 | _o_nan |
| 1040 | _o_nanf | 1040 | _o_nanf |
| 1041 | _o_nanl | 1041 | F_LD64(_o_nanl) ; Can't use long double functions from the CRT on x86 |
| 1042 | _o_nearbyint | 1042 | _o_nearbyint |
| 1043 | _o_nearbyintf | 1043 | _o_nearbyintf |
| 1044 | _o_nearbyintl | 1044 | F_LD64(_o_nearbyintl) ; Can't use long double functions from the CRT on x86 |
| 1045 | _o_nextafter | 1045 | _o_nextafter |
| 1046 | _o_nextafterf | 1046 | _o_nextafterf |
| 1047 | _o_nextafterl | 1047 | F_LD64(_o_nextafterl) ; Can't use long double functions from the CRT on x86 |
| 1048 | _o_nexttoward | 1048 | F_LD64(_o_nexttoward) ; Can't use long double functions from the CRT on x86 |
| 1049 | _o_nexttowardf | 1049 | F_LD64(_o_nexttowardf) ; Can't use long double functions from the CRT on x86 |
| 1050 | _o_nexttowardl | 1050 | F_LD64(_o_nexttowardl) ; Can't use long double functions from the CRT on x86 |
| 1051 | _o_pow | 1051 | _o_pow |
| 1052 | _o_powf | 1052 | _o_powf |
| 1053 | _o_putc | 1053 | _o_putc |
| ... | @@ -1063,33 +1063,33 @@ _o_rand_s | ... | @@ -1063,33 +1063,33 @@ _o_rand_s |
| 1063 | _o_realloc | 1063 | _o_realloc |
| 1064 | _o_remainder | 1064 | _o_remainder |
| 1065 | _o_remainderf | 1065 | _o_remainderf |
| 1066 | _o_remainderl | 1066 | F_LD64(_o_remainderl) ; Can't use long double functions from the CRT on x86 |
| 1067 | _o_remove | 1067 | _o_remove |
| 1068 | _o_remquo | 1068 | _o_remquo |
| 1069 | _o_remquof | 1069 | _o_remquof |
| 1070 | _o_remquol | 1070 | F_LD64(_o_remquol) ; Can't use long double functions from the CRT on x86 |
| 1071 | _o_rewind | 1071 | _o_rewind |
| 1072 | _o_rint | 1072 | _o_rint |
| 1073 | _o_rintf | 1073 | _o_rintf |
| 1074 | _o_rintl | 1074 | F_LD64(_o_rintl) ; Can't use long double functions from the CRT on x86 |
| 1075 | _o_round | 1075 | _o_round |
| 1076 | _o_roundf | 1076 | _o_roundf |
| 1077 | _o_roundl | 1077 | F_LD64(_o_roundl) ; Can't use long double functions from the CRT on x86 |
| 1078 | _o_scalbln | 1078 | _o_scalbln |
| 1079 | _o_scalblnf | 1079 | _o_scalblnf |
| 1080 | _o_scalblnl | 1080 | F_LD64(_o_scalblnl) ; Can't use long double functions from the CRT on x86 |
| 1081 | _o_scalbn | 1081 | _o_scalbn |
| 1082 | _o_scalbnf | 1082 | _o_scalbnf |
| 1083 | _o_scalbnl | 1083 | F_LD64(_o_scalbnl) ; Can't use long double functions from the CRT on x86 |
| 1084 | _o_set_terminate | 1084 | _o_set_terminate |
| 1085 | _o_setbuf | 1085 | _o_setbuf |
| 1086 | _o_setvbuf | 1086 | _o_setvbuf |
| 1087 | _o_sin | 1087 | _o_sin |
| 1088 | _o_sinf | 1088 | F_NON_I386(_o_sinf) |
| 1089 | _o_sinh | 1089 | _o_sinh |
| 1090 | _o_sinhf | 1090 | F_NON_I386(_o_sinhf) |
| 1091 | _o_sqrt | 1091 | _o_sqrt |
| 1092 | _o_sqrtf | 1092 | F_NON_I386(_o_sqrtf) |
| 1093 | _o_srand | 1093 | _o_srand |
| 1094 | _o_strcat_s | 1094 | _o_strcat_s |
| 1095 | _o_strcoll | 1095 | _o_strcoll |
| ... | @@ -1104,19 +1104,19 @@ _o_strtof | ... | @@ -1104,19 +1104,19 @@ _o_strtof |
| 1104 | _o_strtok | 1104 | _o_strtok |
| 1105 | _o_strtok_s | 1105 | _o_strtok_s |
| 1106 | _o_strtol | 1106 | _o_strtol |
| 1107 | _o_strtold | 1107 | F_LD64(_o_strtold) ; Can't use long double functions from the CRT on x86 |
| 1108 | _o_strtoll | 1108 | _o_strtoll |
| 1109 | _o_strtoul | 1109 | _o_strtoul |
| 1110 | _o_strtoull | 1110 | _o_strtoull |
| 1111 | _o_system | 1111 | _o_system |
| 1112 | _o_tan | 1112 | _o_tan |
| 1113 | _o_tanf | 1113 | F_NON_I386(_o_tanf) |
| 1114 | _o_tanh | 1114 | _o_tanh |
| 1115 | _o_tanhf | 1115 | F_NON_I386(_o_tanhf) |
| 1116 | _o_terminate | 1116 | _o_terminate |
| 1117 | _o_tgamma | 1117 | _o_tgamma |
| 1118 | _o_tgammaf | 1118 | _o_tgammaf |
| 1119 | _o_tgammal | 1119 | F_LD64(_o_tgammal) ; Can't use long double functions from the CRT on x86 |
| 1120 | _o_tmpfile_s | 1120 | _o_tmpfile_s |
| 1121 | _o_tmpnam_s | 1121 | _o_tmpnam_s |
| 1122 | _o_tolower | 1122 | _o_tolower |
| ... | @@ -1141,7 +1141,7 @@ _o_wcstof | ... | @@ -1141,7 +1141,7 @@ _o_wcstof |
| 1141 | _o_wcstok | 1141 | _o_wcstok |
| 1142 | _o_wcstok_s | 1142 | _o_wcstok_s |
| 1143 | _o_wcstol | 1143 | _o_wcstol |
| 1144 | _o_wcstold | 1144 | F_LD64(_o_wcstold) ; Can't use long double functions from the CRT on x86 |
| 1145 | _o_wcstoll | 1145 | _o_wcstoll |
| 1146 | _o_wcstombs | 1146 | _o_wcstombs |
| 1147 | _o_wcstombs_s | 1147 | _o_wcstombs_s |
| ... | @@ -1172,3 +1172,33 @@ unexpected | ... | @@ -1172,3 +1172,33 @@ unexpected |
| 1172 | wcschr | 1172 | wcschr |
| 1173 | wcsrchr | 1173 | wcsrchr |
| 1174 | wcsstr | 1174 | wcsstr |
| 1175 | |||
| 1176 | ; These symbols were added in api-ms-win-crt-private-l1-1-0.dll version 10.0.10563.0 | ||
| 1177 | ; It is part of the Microsoft Visual C++ 2015 Redistributable version 14.0.23506.0 | ||
| 1178 | _o____lc_codepage_func | ||
| 1179 | _o____lc_collate_cp_func | ||
| 1180 | _o____lc_locale_name_func | ||
| 1181 | _o____mb_cur_max_func | ||
| 1182 | _o___std_exception_copy | ||
| 1183 | _o___std_exception_destroy | ||
| 1184 | _o___std_type_info_destroy_list | ||
| 1185 | _o___std_type_info_name | ||
| 1186 | _o__cexit | ||
| 1187 | _o__configthreadlocale | ||
| 1188 | _o__configure_narrow_argv | ||
| 1189 | _o__controlfp_s | ||
| 1190 | _o__crt_atexit | ||
| 1191 | _o__exit | ||
| 1192 | _o__get_initial_narrow_environment | ||
| 1193 | _o__get_initial_wide_environment | ||
| 1194 | _o__initialize_narrow_environment | ||
| 1195 | _o__initialize_wide_environment | ||
| 1196 | _o__purecall | ||
| 1197 | _o__seh_filter_dll | ||
| 1198 | _o__seh_filter_exe | ||
| 1199 | _o__set_app_type | ||
| 1200 | _o__set_fmode | ||
| 1201 | _o_exit | ||
| 1202 | _o_memcpy_s | ||
| 1203 | _o_rename | ||
| 1204 | _o_setlocale |
lib/libc/mingw/lib-common/api-ms-win-crt-runtime-l1-1-0.def.in+3-4| ... | @@ -37,15 +37,14 @@ _controlfp | ... | @@ -37,15 +37,14 @@ _controlfp |
| 37 | _controlfp_s | 37 | _controlfp_s |
| 38 | _crt_at_quick_exit | 38 | _crt_at_quick_exit |
| 39 | _crt_atexit | 39 | _crt_atexit |
| 40 | _crt_debugger_hook | 40 | F_I386(_crt_debugger_hook) |
| 41 | _endthread | 41 | _endthread |
| 42 | _endthreadex | 42 | _endthreadex |
| 43 | _errno | 43 | _errno |
| 44 | _execute_onexit_table | 44 | _execute_onexit_table |
| 45 | _exit | 45 | _exit |
| 46 | F_NON_I386(_fpieee_flt) | 46 | _fpieee_flt |
| 47 | ; DATA added manually | 47 | _fpreset F_LD80(DATA) ; DATA added manually |
| 48 | _fpreset DATA | ||
| 49 | _get_doserrno | 48 | _get_doserrno |
| 50 | _get_errno | 49 | _get_errno |
| 51 | _get_initial_narrow_environment | 50 | _get_initial_narrow_environment |
lib/libc/mingw/lib-common/api-ms-win-crt-time-l1-1-0.def.in+6| ... | @@ -5,9 +5,13 @@ EXPORTS | ... | @@ -5,9 +5,13 @@ EXPORTS |
| 5 | #include "func.def.in" | 5 | #include "func.def.in" |
| 6 | 6 | ||
| 7 | __daylight | 7 | __daylight |
| 8 | __p__daylight == __daylight | ||
| 8 | __dstbias | 9 | __dstbias |
| 10 | __p__dstbias == __dstbias | ||
| 9 | __timezone | 11 | __timezone |
| 12 | __p__timezone == __timezone | ||
| 10 | __tzname | 13 | __tzname |
| 14 | __p__tzname == __tzname | ||
| 11 | _ctime32 | 15 | _ctime32 |
| 12 | _ctime32_s | 16 | _ctime32_s |
| 13 | _ctime64 | 17 | _ctime64 |
| ... | @@ -18,6 +22,8 @@ _difftime32 | ... | @@ -18,6 +22,8 @@ _difftime32 |
| 18 | _difftime64 | 22 | _difftime64 |
| 19 | F32(_ftime == _ftime32) | 23 | F32(_ftime == _ftime32) |
| 20 | F64(_ftime == _ftime64) | 24 | F64(_ftime == _ftime64) |
| 25 | F32(ftime == _ftime32) | ||
| 26 | F64(ftime == _ftime64) | ||
| 21 | _ftime32 | 27 | _ftime32 |
| 22 | _ftime32_s | 28 | _ftime32_s |
| 23 | _ftime64 | 29 | _ftime64 |
lib/libc/mingw/lib-common/ntdll.def.in+14-14| ... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
| 2 | 2 | ||
| 3 | LIBRARY "ntdll.dll" | 3 | LIBRARY "ntdll.dll" |
| 4 | EXPORTS | 4 | EXPORTS |
| 5 | #ifdef DEF_X64 | 5 | #ifdef __x86_64__ |
| 6 | PropertyLengthAsVariant | 6 | PropertyLengthAsVariant |
| 7 | RtlConvertPropertyToVariant | 7 | RtlConvertPropertyToVariant |
| 8 | RtlConvertVariantToProperty | 8 | RtlConvertVariantToProperty |
| ... | @@ -38,7 +38,7 @@ CsrClientConnectToServer | ... | @@ -38,7 +38,7 @@ CsrClientConnectToServer |
| 38 | CsrFreeCaptureBuffer | 38 | CsrFreeCaptureBuffer |
| 39 | CsrGetProcessId | 39 | CsrGetProcessId |
| 40 | CsrIdentifyAlertableThread | 40 | CsrIdentifyAlertableThread |
| 41 | #if defined(DEF_I386) || defined(DEF_X64) | 41 | #if defined(__i386__) || defined(__x86_64__) |
| 42 | CsrNewThread | 42 | CsrNewThread |
| 43 | CsrProbeForRead | 43 | CsrProbeForRead |
| 44 | CsrProbeForWrite | 44 | CsrProbeForWrite |
| ... | @@ -65,12 +65,12 @@ DbgUiStopDebugging | ... | @@ -65,12 +65,12 @@ DbgUiStopDebugging |
| 65 | DbgUiWaitStateChange | 65 | DbgUiWaitStateChange |
| 66 | DbgUserBreakPoint | 66 | DbgUserBreakPoint |
| 67 | EtwCheckCoverage | 67 | EtwCheckCoverage |
| 68 | #ifdef DEF_X64 | 68 | #ifdef __x86_64__ |
| 69 | EtwControlTraceA | 69 | EtwControlTraceA |
| 70 | EtwControlTraceW | 70 | EtwControlTraceW |
| 71 | #endif | 71 | #endif |
| 72 | EtwCreateTraceInstanceId | 72 | EtwCreateTraceInstanceId |
| 73 | #ifdef DEF_X64 | 73 | #ifdef __x86_64__ |
| 74 | EtwEnableTrace | 74 | EtwEnableTrace |
| 75 | EtwEnumerateTraceGuids | 75 | EtwEnumerateTraceGuids |
| 76 | EtwFlushTraceA | 76 | EtwFlushTraceA |
| ... | @@ -95,7 +95,7 @@ EtwEventWriteTransfer | ... | @@ -95,7 +95,7 @@ EtwEventWriteTransfer |
| 95 | EtwGetTraceEnableFlags | 95 | EtwGetTraceEnableFlags |
| 96 | EtwGetTraceEnableLevel | 96 | EtwGetTraceEnableLevel |
| 97 | EtwGetTraceLoggerHandle | 97 | EtwGetTraceLoggerHandle |
| 98 | #ifdef DEF_X64 | 98 | #ifdef __x86_64__ |
| 99 | EtwNotificationRegistrationA | 99 | EtwNotificationRegistrationA |
| 100 | EtwNotificationRegistrationW | 100 | EtwNotificationRegistrationW |
| 101 | EtwQueryAllTracesA | 101 | EtwQueryAllTracesA |
| ... | @@ -112,7 +112,7 @@ EtwProcessPrivateLoggerRequest | ... | @@ -112,7 +112,7 @@ EtwProcessPrivateLoggerRequest |
| 112 | EtwRegisterSecurityProvider | 112 | EtwRegisterSecurityProvider |
| 113 | EtwRegisterTraceGuidsA | 113 | EtwRegisterTraceGuidsA |
| 114 | EtwRegisterTraceGuidsW | 114 | EtwRegisterTraceGuidsW |
| 115 | #ifdef DEF_X64 | 115 | #ifdef __x86_64__ |
| 116 | EtwStartTraceA | 116 | EtwStartTraceA |
| 117 | EtwStartTraceW | 117 | EtwStartTraceW |
| 118 | EtwStopTraceA | 118 | EtwStopTraceA |
| ... | @@ -126,7 +126,7 @@ EtwTraceEventInstance | ... | @@ -126,7 +126,7 @@ EtwTraceEventInstance |
| 126 | EtwTraceMessage | 126 | EtwTraceMessage |
| 127 | EtwTraceMessageVa | 127 | EtwTraceMessageVa |
| 128 | EtwUnregisterTraceGuids | 128 | EtwUnregisterTraceGuids |
| 129 | #ifdef DEF_X64 | 129 | #ifdef __x86_64__ |
| 130 | EtwUpdateTraceA | 130 | EtwUpdateTraceA |
| 131 | EtwUpdateTraceW | 131 | EtwUpdateTraceW |
| 132 | EtwpGetTraceBuffer | 132 | EtwpGetTraceBuffer |
| ... | @@ -138,7 +138,7 @@ EtwpGetCpuSpeed | ... | @@ -138,7 +138,7 @@ EtwpGetCpuSpeed |
| 138 | F_X64(EtwpNotificationThread) | 138 | F_X64(EtwpNotificationThread) |
| 139 | EvtIntReportAuthzEventAndSourceAsync | 139 | EvtIntReportAuthzEventAndSourceAsync |
| 140 | EvtIntReportEventAndSourceAsync | 140 | EvtIntReportEventAndSourceAsync |
| 141 | #ifndef DEF_ARM32 | 141 | #ifndef __arm__ |
| 142 | ExpInterlockedPopEntrySListEnd | 142 | ExpInterlockedPopEntrySListEnd |
| 143 | F_X64(ExpInterlockedPopEntrySListEnd16) | 143 | F_X64(ExpInterlockedPopEntrySListEnd16) |
| 144 | ExpInterlockedPopEntrySListFault | 144 | ExpInterlockedPopEntrySListFault |
| ... | @@ -729,7 +729,7 @@ NtWaitForWorkViaWorkerFactory | ... | @@ -729,7 +729,7 @@ NtWaitForWorkViaWorkerFactory |
| 729 | NtWaitHighEventPair | 729 | NtWaitHighEventPair |
| 730 | NtWaitLowEventPair | 730 | NtWaitLowEventPair |
| 731 | NtWorkerFactoryWorkerReady | 731 | NtWorkerFactoryWorkerReady |
| 732 | #ifdef DEF_ARM32 | 732 | #ifdef __arm__ |
| 733 | NtWow64AllocateVirtualMemory64 | 733 | NtWow64AllocateVirtualMemory64 |
| 734 | NtWow64CallFunction64 | 734 | NtWow64CallFunction64 |
| 735 | NtWow64CsrAllocateCaptureBuffer | 735 | NtWow64CsrAllocateCaptureBuffer |
| ... | @@ -946,7 +946,7 @@ RtlCreateSystemVolumeInformationFolder | ... | @@ -946,7 +946,7 @@ RtlCreateSystemVolumeInformationFolder |
| 946 | RtlCreateTagHeap | 946 | RtlCreateTagHeap |
| 947 | RtlCreateTimer | 947 | RtlCreateTimer |
| 948 | RtlCreateTimerQueue | 948 | RtlCreateTimerQueue |
| 949 | #ifdef DEF_X64 | 949 | #ifdef __x86_64__ |
| 950 | RtlCreateUmsCompletionList | 950 | RtlCreateUmsCompletionList |
| 951 | RtlCreateUmsThread | 951 | RtlCreateUmsThread |
| 952 | RtlCreateUmsThreadContext | 952 | RtlCreateUmsThreadContext |
| ... | @@ -995,7 +995,7 @@ RtlDeleteSecurityObject | ... | @@ -995,7 +995,7 @@ RtlDeleteSecurityObject |
| 995 | RtlDeleteTimer | 995 | RtlDeleteTimer |
| 996 | RtlDeleteTimerQueue | 996 | RtlDeleteTimerQueue |
| 997 | RtlDeleteTimerQueueEx | 997 | RtlDeleteTimerQueueEx |
| 998 | #ifdef DEF_X64 | 998 | #ifdef __x86_64__ |
| 999 | RtlDeleteUmsCompletionList | 999 | RtlDeleteUmsCompletionList |
| 1000 | RtlDeleteUmsThreadContext | 1000 | RtlDeleteUmsThreadContext |
| 1001 | RtlDequeueUmsCompletionListItems | 1001 | RtlDequeueUmsCompletionListItems |
| ... | @@ -1732,7 +1732,7 @@ F64(RtlWow64GetThreadContext) | ... | @@ -1732,7 +1732,7 @@ F64(RtlWow64GetThreadContext) |
| 1732 | F64(RtlWow64GetThreadSelectorEntry) | 1732 | F64(RtlWow64GetThreadSelectorEntry) |
| 1733 | RtlWow64IsWowGuestMachineSupported | 1733 | RtlWow64IsWowGuestMachineSupported |
| 1734 | RtlWow64LogMessageInEventLogger | 1734 | RtlWow64LogMessageInEventLogger |
| 1735 | #if defined(DEF_X64) || defined(DEF_ARM64) | 1735 | #if defined(__x86_64__) || defined(__aarch64__) |
| 1736 | RtlWow64PopAllCrossProcessWorkFromWorkList | 1736 | RtlWow64PopAllCrossProcessWorkFromWorkList |
| 1737 | RtlWow64PopCrossProcessWorkFromFreeList | 1737 | RtlWow64PopCrossProcessWorkFromFreeList |
| 1738 | RtlWow64PushCrossProcessWorkOntoFreeList | 1738 | RtlWow64PushCrossProcessWorkOntoFreeList |
| ... | @@ -1794,7 +1794,7 @@ F_X64(RtlpUmsThreadYield) | ... | @@ -1794,7 +1794,7 @@ F_X64(RtlpUmsThreadYield) |
| 1794 | RtlpUnWaitCriticalSection | 1794 | RtlpUnWaitCriticalSection |
| 1795 | RtlpVerifyAndCommitUILanguageSettings | 1795 | RtlpVerifyAndCommitUILanguageSettings |
| 1796 | RtlpWaitForCriticalSection | 1796 | RtlpWaitForCriticalSection |
| 1797 | #ifdef DEF_X64 | 1797 | #ifdef __x86_64__ |
| 1798 | RtlpWow64CtxFromAmd64 | 1798 | RtlpWow64CtxFromAmd64 |
| 1799 | RtlpWow64GetContextOnAmd64 | 1799 | RtlpWow64GetContextOnAmd64 |
| 1800 | RtlpWow64SetContextOnAmd64 | 1800 | RtlpWow64SetContextOnAmd64 |
| ... | @@ -2388,7 +2388,7 @@ ZwWaitForWorkViaWorkerFactory | ... | @@ -2388,7 +2388,7 @@ ZwWaitForWorkViaWorkerFactory |
| 2388 | ZwWaitHighEventPair | 2388 | ZwWaitHighEventPair |
| 2389 | ZwWaitLowEventPair | 2389 | ZwWaitLowEventPair |
| 2390 | ZwWorkerFactoryWorkerReady | 2390 | ZwWorkerFactoryWorkerReady |
| 2391 | #ifdef DEF_ARM32 | 2391 | #ifdef __arm__ |
| 2392 | ZwWow64AllocateVirtualMemory64 | 2392 | ZwWow64AllocateVirtualMemory64 |
| 2393 | ZwWow64CallFunction64 | 2393 | ZwWow64CallFunction64 |
| 2394 | ZwWow64CsrAllocateCaptureBuffer | 2394 | ZwWow64CsrAllocateCaptureBuffer |
lib/libc/mingw/lib-common/ntdllcrt.def.in+4-4| ... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
| 2 | 2 | ||
| 3 | LIBRARY "ntdll.dll" | 3 | LIBRARY "ntdll.dll" |
| 4 | EXPORTS | 4 | EXPORTS |
| 5 | #ifdef DEF_I386 | 5 | #ifdef __i386__ |
| 6 | _CIcos | 6 | _CIcos |
| 7 | _CIlog | 7 | _CIlog |
| 8 | _CIpow | 8 | _CIpow |
| ... | @@ -17,7 +17,7 @@ __iscsymf | ... | @@ -17,7 +17,7 @@ __iscsymf |
| 17 | F_X64(__misaligned_access) | 17 | F_X64(__misaligned_access) |
| 18 | F_ARM32(__jump_unwind) | 18 | F_ARM32(__jump_unwind) |
| 19 | __toascii | 19 | __toascii |
| 20 | #ifdef DEF_I386 | 20 | #ifdef __i386__ |
| 21 | _alldiv | 21 | _alldiv |
| 22 | _alldvrm@16 | 22 | _alldvrm@16 |
| 23 | _allmul@16 | 23 | _allmul@16 |
| ... | @@ -29,7 +29,7 @@ _allshl | ... | @@ -29,7 +29,7 @@ _allshl |
| 29 | _allshr | 29 | _allshr |
| 30 | #endif | 30 | #endif |
| 31 | _atoi64 | 31 | _atoi64 |
| 32 | #ifdef DEF_I386 | 32 | #ifdef __i386__ |
| 33 | _aulldiv@16 | 33 | _aulldiv@16 |
| 34 | _aulldvrm@16 | 34 | _aulldvrm@16 |
| 35 | _aullrem@16 | 35 | _aullrem@16 |
| ... | @@ -39,7 +39,7 @@ _aullshr | ... | @@ -39,7 +39,7 @@ _aullshr |
| 39 | _errno | 39 | _errno |
| 40 | F_I386(_except_handler4_common) | 40 | F_I386(_except_handler4_common) |
| 41 | _fltused DATA | 41 | _fltused DATA |
| 42 | #ifdef DEF_I386 | 42 | #ifdef __i386__ |
| 43 | _ftol | 43 | _ftol |
| 44 | _ftol2 | 44 | _ftol2 |
| 45 | _ftol2_sse | 45 | _ftol2_sse |
lib/libc/mingw/lib-common/ole32.def.in+3| ... | @@ -390,7 +390,9 @@ OleBuildVersion | ... | @@ -390,7 +390,9 @@ OleBuildVersion |
| 390 | OleConvertIStorageToOLESTREAM | 390 | OleConvertIStorageToOLESTREAM |
| 391 | OleConvertIStorageToOLESTREAMEx | 391 | OleConvertIStorageToOLESTREAMEx |
| 392 | OleConvertOLESTREAMToIStorage | 392 | OleConvertOLESTREAMToIStorage |
| 393 | OleConvertOLESTREAMToIStorage2 | ||
| 393 | OleConvertOLESTREAMToIStorageEx | 394 | OleConvertOLESTREAMToIStorageEx |
| 395 | OleConvertOLESTREAMToIStorageEx2 | ||
| 394 | OleCreate | 396 | OleCreate |
| 395 | OleCreateDefaultHandler | 397 | OleCreateDefaultHandler |
| 396 | OleCreateEmbeddingHelper | 398 | OleCreateEmbeddingHelper |
| ... | @@ -417,6 +419,7 @@ OleDuplicateData | ... | @@ -417,6 +419,7 @@ OleDuplicateData |
| 417 | OleFlushClipboard | 419 | OleFlushClipboard |
| 418 | OleGetAutoConvert | 420 | OleGetAutoConvert |
| 419 | OleGetClipboard | 421 | OleGetClipboard |
| 422 | OleGetClipboardWithEnterpriseInfo | ||
| 420 | OleGetIconOfClass | 423 | OleGetIconOfClass |
| 421 | OleGetIconOfFile | 424 | OleGetIconOfFile |
| 422 | OleIconToCursorExt | 425 | OleIconToCursorExt |
lib/libc/mingw/lib-common/quartz.def created+17| ... | @@ -0,0 +1,17 @@ | ||
| 1 | ; | ||
| 2 | ; Exports of file QUARTZ.dll | ||
| 3 | ; | ||
| 4 | ; Autogenerated by gen_exportdef | ||
| 5 | ; Written by Kai Tietz, 2007 | ||
| 6 | ; | ||
| 7 | LIBRARY QUARTZ.dll | ||
| 8 | EXPORTS | ||
| 9 | AMGetErrorTextA | ||
| 10 | AMGetErrorTextW | ||
| 11 | AmpFactorToDB | ||
| 12 | DBToAmpFactor | ||
| 13 | DllCanUnloadNow | ||
| 14 | DllGetClassObject | ||
| 15 | DllRegisterServer | ||
| 16 | DllUnregisterServer | ||
| 17 | GetProxyDllInfo | ||
lib/libc/mingw/lib-common/ucrtbase-common.def.in+98-98| ... | @@ -218,7 +218,7 @@ __threadid | ... | @@ -218,7 +218,7 @@ __threadid |
| 218 | __timezone | 218 | __timezone |
| 219 | __toascii | 219 | __toascii |
| 220 | __tzname | 220 | __tzname |
| 221 | #if !defined(DEF_DEBUG) || !defined(DEF_ARM64) | 221 | #if !defined(DEF_DEBUG) || !defined(__aarch64__) |
| 222 | ; symbols __unDName and __unDNameEx are available in all versions except ARM64 ucrtbased.dll | 222 | ; symbols __unDName and __unDNameEx are available in all versions except ARM64 ucrtbased.dll |
| 223 | __unDName | 223 | __unDName |
| 224 | __unDNameEx | 224 | __unDNameEx |
| ... | @@ -388,7 +388,7 @@ _flushall | ... | @@ -388,7 +388,7 @@ _flushall |
| 388 | _fpclass | 388 | _fpclass |
| 389 | F_X64(_fpclassf) | 389 | F_X64(_fpclassf) |
| 390 | _fpieee_flt | 390 | _fpieee_flt |
| 391 | _fpreset DATA ; DATA added manually | 391 | _fpreset F_LD80(DATA) ; DATA added manually |
| 392 | _fputc_nolock | 392 | _fputc_nolock |
| 393 | _fputchar | 393 | _fputchar |
| 394 | _fputwc_nolock | 394 | _fputwc_nolock |
| ... | @@ -493,7 +493,7 @@ F_DEBUG(_invalid_parameter) | ... | @@ -493,7 +493,7 @@ F_DEBUG(_invalid_parameter) |
| 493 | _invalid_parameter_noinfo | 493 | _invalid_parameter_noinfo |
| 494 | _invalid_parameter_noinfo_noreturn | 494 | _invalid_parameter_noinfo_noreturn |
| 495 | _invoke_watson | 495 | _invoke_watson |
| 496 | #if !defined(DEF_DEBUG) || !defined(DEF_ARM64) | 496 | #if !defined(DEF_DEBUG) || !defined(__aarch64__) |
| 497 | ; symbol _is_exception_typeof is available in all versions except ARM64 ucrtbased.dll | 497 | ; symbol _is_exception_typeof is available in all versions except ARM64 ucrtbased.dll |
| 498 | _is_exception_typeof | 498 | _is_exception_typeof |
| 499 | #endif | 499 | #endif |
| ... | @@ -1433,7 +1433,7 @@ _o__strtof_l | ... | @@ -1433,7 +1433,7 @@ _o__strtof_l |
| 1433 | _o__strtoi64 | 1433 | _o__strtoi64 |
| 1434 | _o__strtoi64_l | 1434 | _o__strtoi64_l |
| 1435 | _o__strtol_l | 1435 | _o__strtol_l |
| 1436 | F_ARM_ANY(_o__strtold_l) ; Can't use long double functions from the CRT on x86 | 1436 | F_LD64(_o__strtold_l) ; Can't use long double functions from the CRT on x86 |
| 1437 | _o__strtoll_l | 1437 | _o__strtoll_l |
| 1438 | _o__strtoui64 | 1438 | _o__strtoui64 |
| 1439 | _o__strtoui64_l | 1439 | _o__strtoui64_l |
| ... | @@ -1513,7 +1513,7 @@ _o__wcstof_l | ... | @@ -1513,7 +1513,7 @@ _o__wcstof_l |
| 1513 | _o__wcstoi64 | 1513 | _o__wcstoi64 |
| 1514 | _o__wcstoi64_l | 1514 | _o__wcstoi64_l |
| 1515 | _o__wcstol_l | 1515 | _o__wcstol_l |
| 1516 | F_ARM_ANY(_o__wcstold_l) ; Can't use long double functions from the CRT on x86 | 1516 | F_LD64(_o__wcstold_l) ; Can't use long double functions from the CRT on x86 |
| 1517 | _o__wcstoll_l | 1517 | _o__wcstoll_l |
| 1518 | _o__wcstombs_l | 1518 | _o__wcstombs_l |
| 1519 | _o__wcstombs_s_l | 1519 | _o__wcstombs_s_l |
| ... | @@ -1611,21 +1611,21 @@ _o_acos | ... | @@ -1611,21 +1611,21 @@ _o_acos |
| 1611 | F_NON_I386(_o_acosf) | 1611 | F_NON_I386(_o_acosf) |
| 1612 | _o_acosh | 1612 | _o_acosh |
| 1613 | _o_acoshf | 1613 | _o_acoshf |
| 1614 | F_ARM_ANY(_o_acoshl) ; Can't use long double functions from the CRT on x86 | 1614 | F_LD64(_o_acoshl) ; Can't use long double functions from the CRT on x86 |
| 1615 | _o_asctime | 1615 | _o_asctime |
| 1616 | _o_asctime_s | 1616 | _o_asctime_s |
| 1617 | _o_asin | 1617 | _o_asin |
| 1618 | F_NON_I386(_o_asinf) | 1618 | F_NON_I386(_o_asinf) |
| 1619 | _o_asinh | 1619 | _o_asinh |
| 1620 | _o_asinhf | 1620 | _o_asinhf |
| 1621 | F_ARM_ANY(_o_asinhl) ; Can't use long double functions from the CRT on x86 | 1621 | F_LD64(_o_asinhl) ; Can't use long double functions from the CRT on x86 |
| 1622 | _o_atan | 1622 | _o_atan |
| 1623 | _o_atan2 | 1623 | _o_atan2 |
| 1624 | F_NON_I386(_o_atan2f) | 1624 | F_NON_I386(_o_atan2f) |
| 1625 | F_NON_I386(_o_atanf) | 1625 | F_NON_I386(_o_atanf) |
| 1626 | _o_atanh | 1626 | _o_atanh |
| 1627 | _o_atanhf | 1627 | _o_atanhf |
| 1628 | F_ARM_ANY(_o_atanhl) ; Can't use long double functions from the CRT on x86 | 1628 | F_LD64(_o_atanhl) ; Can't use long double functions from the CRT on x86 |
| 1629 | _o_atof | 1629 | _o_atof |
| 1630 | _o_atoi | 1630 | _o_atoi |
| 1631 | _o_atol | 1631 | _o_atol |
| ... | @@ -1647,13 +1647,13 @@ F_NON_I386(_o_coshf) | ... | @@ -1647,13 +1647,13 @@ F_NON_I386(_o_coshf) |
| 1647 | _o_erf | 1647 | _o_erf |
| 1648 | _o_erfc | 1648 | _o_erfc |
| 1649 | _o_erfcf | 1649 | _o_erfcf |
| 1650 | F_ARM_ANY(_o_erfcl) ; Can't use long double functions from the CRT on x86 | 1650 | F_LD64(_o_erfcl) ; Can't use long double functions from the CRT on x86 |
| 1651 | _o_erff | 1651 | _o_erff |
| 1652 | F_ARM_ANY(_o_erfl) ; Can't use long double functions from the CRT on x86 | 1652 | F_LD64(_o_erfl) ; Can't use long double functions from the CRT on x86 |
| 1653 | _o_exp | 1653 | _o_exp |
| 1654 | _o_exp2 | 1654 | _o_exp2 |
| 1655 | _o_exp2f | 1655 | _o_exp2f |
| 1656 | F_ARM_ANY(_o_exp2l) ; Can't use long double functions from the CRT on x86 | 1656 | F_LD64(_o_exp2l) ; Can't use long double functions from the CRT on x86 |
| 1657 | F_NON_I386(_o_expf) | 1657 | F_NON_I386(_o_expf) |
| 1658 | _o_fabs | 1658 | _o_fabs |
| 1659 | F_ARM_ANY(_o_fabsf) | 1659 | F_ARM_ANY(_o_fabsf) |
| ... | @@ -1670,7 +1670,7 @@ _o_floor | ... | @@ -1670,7 +1670,7 @@ _o_floor |
| 1670 | F_NON_I386(_o_floorf) | 1670 | F_NON_I386(_o_floorf) |
| 1671 | _o_fma | 1671 | _o_fma |
| 1672 | _o_fmaf | 1672 | _o_fmaf |
| 1673 | F_ARM_ANY(_o_fmal) ; Can't use long double functions from the CRT on x86 | 1673 | F_LD64(_o_fmal) ; Can't use long double functions from the CRT on x86 |
| 1674 | _o_fmod | 1674 | _o_fmod |
| 1675 | F_NON_I386(_o_fmodf) | 1675 | F_NON_I386(_o_fmodf) |
| 1676 | _o_fopen | 1676 | _o_fopen |
| ... | @@ -1729,33 +1729,33 @@ _o_isxdigit | ... | @@ -1729,33 +1729,33 @@ _o_isxdigit |
| 1729 | _o_ldexp | 1729 | _o_ldexp |
| 1730 | _o_lgamma | 1730 | _o_lgamma |
| 1731 | _o_lgammaf | 1731 | _o_lgammaf |
| 1732 | F_ARM_ANY(_o_lgammal) ; Can't use long double functions from the CRT on x86 | 1732 | F_LD64(_o_lgammal) ; Can't use long double functions from the CRT on x86 |
| 1733 | _o_llrint | 1733 | _o_llrint |
| 1734 | _o_llrintf | 1734 | _o_llrintf |
| 1735 | F_ARM_ANY(_o_llrintl) ; Can't use long double functions from the CRT on x86 | 1735 | F_LD64(_o_llrintl) ; Can't use long double functions from the CRT on x86 |
| 1736 | _o_llround | 1736 | _o_llround |
| 1737 | _o_llroundf | 1737 | _o_llroundf |
| 1738 | F_ARM_ANY(_o_llroundl) ; Can't use long double functions from the CRT on x86 | 1738 | F_LD64(_o_llroundl) ; Can't use long double functions from the CRT on x86 |
| 1739 | _o_localeconv | 1739 | _o_localeconv |
| 1740 | _o_log | 1740 | _o_log |
| 1741 | _o_log10 | 1741 | _o_log10 |
| 1742 | F_NON_I386(_o_log10f) | 1742 | F_NON_I386(_o_log10f) |
| 1743 | _o_log1p | 1743 | _o_log1p |
| 1744 | _o_log1pf | 1744 | _o_log1pf |
| 1745 | F_ARM_ANY(_o_log1pl) ; Can't use long double functions from the CRT on x86 | 1745 | F_LD64(_o_log1pl) ; Can't use long double functions from the CRT on x86 |
| 1746 | _o_log2 | 1746 | _o_log2 |
| 1747 | _o_log2f | 1747 | _o_log2f |
| 1748 | F_ARM_ANY(_o_log2l) ; Can't use long double functions from the CRT on x86 | 1748 | F_LD64(_o_log2l) ; Can't use long double functions from the CRT on x86 |
| 1749 | _o_logb | 1749 | _o_logb |
| 1750 | _o_logbf | 1750 | _o_logbf |
| 1751 | F_ARM_ANY(_o_logbl) ; Can't use long double functions from the CRT on x86 | 1751 | F_LD64(_o_logbl) ; Can't use long double functions from the CRT on x86 |
| 1752 | F_NON_I386(_o_logf) | 1752 | F_NON_I386(_o_logf) |
| 1753 | _o_lrint | 1753 | _o_lrint |
| 1754 | _o_lrintf | 1754 | _o_lrintf |
| 1755 | F_ARM_ANY(_o_lrintl) ; Can't use long double functions from the CRT on x86 | 1755 | F_LD64(_o_lrintl) ; Can't use long double functions from the CRT on x86 |
| 1756 | _o_lround | 1756 | _o_lround |
| 1757 | _o_lroundf | 1757 | _o_lroundf |
| 1758 | F_ARM_ANY(_o_lroundl) ; Can't use long double functions from the CRT on x86 | 1758 | F_LD64(_o_lroundl) ; Can't use long double functions from the CRT on x86 |
| 1759 | _o_malloc | 1759 | _o_malloc |
| 1760 | _o_mblen | 1760 | _o_mblen |
| 1761 | _o_mbrlen | 1761 | _o_mbrlen |
| ... | @@ -1772,16 +1772,16 @@ _o_modf | ... | @@ -1772,16 +1772,16 @@ _o_modf |
| 1772 | F_NON_I386(_o_modff) | 1772 | F_NON_I386(_o_modff) |
| 1773 | _o_nan | 1773 | _o_nan |
| 1774 | _o_nanf | 1774 | _o_nanf |
| 1775 | F_ARM_ANY(_o_nanl) ; Can't use long double functions from the CRT on x86 | 1775 | F_LD64(_o_nanl) ; Can't use long double functions from the CRT on x86 |
| 1776 | _o_nearbyint | 1776 | _o_nearbyint |
| 1777 | _o_nearbyintf | 1777 | _o_nearbyintf |
| 1778 | F_ARM_ANY(_o_nearbyintl) ; Can't use long double functions from the CRT on x86 | 1778 | F_LD64(_o_nearbyintl) ; Can't use long double functions from the CRT on x86 |
| 1779 | _o_nextafter | 1779 | _o_nextafter |
| 1780 | _o_nextafterf | 1780 | _o_nextafterf |
| 1781 | F_ARM_ANY(_o_nextafterl) ; Can't use long double functions from the CRT on x86 | 1781 | F_LD64(_o_nextafterl) ; Can't use long double functions from the CRT on x86 |
| 1782 | F_ARM_ANY(_o_nexttoward) ; Can't use long double functions from the CRT on x86 | 1782 | F_LD64(_o_nexttoward) ; Can't use long double functions from the CRT on x86 |
| 1783 | F_ARM_ANY(_o_nexttowardf) ; Can't use long double functions from the CRT on x86 | 1783 | F_LD64(_o_nexttowardf) ; Can't use long double functions from the CRT on x86 |
| 1784 | F_ARM_ANY(_o_nexttowardl) ; Can't use long double functions from the CRT on x86 | 1784 | F_LD64(_o_nexttowardl) ; Can't use long double functions from the CRT on x86 |
| 1785 | _o_pow | 1785 | _o_pow |
| 1786 | _o_powf | 1786 | _o_powf |
| 1787 | _o_putc | 1787 | _o_putc |
| ... | @@ -1797,24 +1797,24 @@ _o_rand_s | ... | @@ -1797,24 +1797,24 @@ _o_rand_s |
| 1797 | _o_realloc | 1797 | _o_realloc |
| 1798 | _o_remainder | 1798 | _o_remainder |
| 1799 | _o_remainderf | 1799 | _o_remainderf |
| 1800 | F_ARM_ANY(_o_remainderl) ; Can't use long double functions from the CRT on x86 | 1800 | F_LD64(_o_remainderl) ; Can't use long double functions from the CRT on x86 |
| 1801 | _o_remove | 1801 | _o_remove |
| 1802 | _o_remquo | 1802 | _o_remquo |
| 1803 | _o_remquof | 1803 | _o_remquof |
| 1804 | F_ARM_ANY(_o_remquol) ; Can't use long double functions from the CRT on x86 | 1804 | F_LD64(_o_remquol) ; Can't use long double functions from the CRT on x86 |
| 1805 | _o_rewind | 1805 | _o_rewind |
| 1806 | _o_rint | 1806 | _o_rint |
| 1807 | _o_rintf | 1807 | _o_rintf |
| 1808 | F_ARM_ANY(_o_rintl) ; Can't use long double functions from the CRT on x86 | 1808 | F_LD64(_o_rintl) ; Can't use long double functions from the CRT on x86 |
| 1809 | _o_round | 1809 | _o_round |
| 1810 | _o_roundf | 1810 | _o_roundf |
| 1811 | F_ARM_ANY(_o_roundl) ; Can't use long double functions from the CRT on x86 | 1811 | F_LD64(_o_roundl) ; Can't use long double functions from the CRT on x86 |
| 1812 | _o_scalbln | 1812 | _o_scalbln |
| 1813 | _o_scalblnf | 1813 | _o_scalblnf |
| 1814 | F_ARM_ANY(_o_scalblnl) ; Can't use long double functions from the CRT on x86 | 1814 | F_LD64(_o_scalblnl) ; Can't use long double functions from the CRT on x86 |
| 1815 | _o_scalbn | 1815 | _o_scalbn |
| 1816 | _o_scalbnf | 1816 | _o_scalbnf |
| 1817 | F_ARM_ANY(_o_scalbnl) ; Can't use long double functions from the CRT on x86 | 1817 | F_LD64(_o_scalbnl) ; Can't use long double functions from the CRT on x86 |
| 1818 | _o_set_terminate | 1818 | _o_set_terminate |
| 1819 | _o_setbuf | 1819 | _o_setbuf |
| 1820 | _o_setvbuf | 1820 | _o_setvbuf |
| ... | @@ -1838,7 +1838,7 @@ _o_strtof | ... | @@ -1838,7 +1838,7 @@ _o_strtof |
| 1838 | _o_strtok | 1838 | _o_strtok |
| 1839 | _o_strtok_s | 1839 | _o_strtok_s |
| 1840 | _o_strtol | 1840 | _o_strtol |
| 1841 | F_ARM_ANY(_o_strtold) ; Can't use long double functions from the CRT on x86 | 1841 | F_LD64(_o_strtold) ; Can't use long double functions from the CRT on x86 |
| 1842 | _o_strtoll | 1842 | _o_strtoll |
| 1843 | _o_strtoul | 1843 | _o_strtoul |
| 1844 | _o_strtoull | 1844 | _o_strtoull |
| ... | @@ -1850,7 +1850,7 @@ F_NON_I386(_o_tanhf) | ... | @@ -1850,7 +1850,7 @@ F_NON_I386(_o_tanhf) |
| 1850 | _o_terminate | 1850 | _o_terminate |
| 1851 | _o_tgamma | 1851 | _o_tgamma |
| 1852 | _o_tgammaf | 1852 | _o_tgammaf |
| 1853 | F_ARM_ANY(_o_tgammal) ; Can't use long double functions from the CRT on x86 | 1853 | F_LD64(_o_tgammal) ; Can't use long double functions from the CRT on x86 |
| 1854 | _o_tmpfile_s | 1854 | _o_tmpfile_s |
| 1855 | _o_tmpnam_s | 1855 | _o_tmpnam_s |
| 1856 | _o_tolower | 1856 | _o_tolower |
| ... | @@ -1875,7 +1875,7 @@ _o_wcstof | ... | @@ -1875,7 +1875,7 @@ _o_wcstof |
| 1875 | _o_wcstok | 1875 | _o_wcstok |
| 1876 | _o_wcstok_s | 1876 | _o_wcstok_s |
| 1877 | _o_wcstol | 1877 | _o_wcstol |
| 1878 | F_ARM_ANY(_o_wcstold) ; Can't use long double functions from the CRT on x86 | 1878 | F_LD64(_o_wcstold) ; Can't use long double functions from the CRT on x86 |
| 1879 | _o_wcstoll | 1879 | _o_wcstoll |
| 1880 | _o_wcstombs | 1880 | _o_wcstombs |
| 1881 | _o_wcstombs_s | 1881 | _o_wcstombs_s |
| ... | @@ -2004,7 +2004,7 @@ _strtoi64 | ... | @@ -2004,7 +2004,7 @@ _strtoi64 |
| 2004 | _strtoi64_l | 2004 | _strtoi64_l |
| 2005 | _strtoimax_l | 2005 | _strtoimax_l |
| 2006 | _strtol_l | 2006 | _strtol_l |
| 2007 | F_ARM_ANY(_strtold_l) ; Can't use long double functions from the CRT on x86 | 2007 | F_LD64(_strtold_l) ; Can't use long double functions from the CRT on x86 |
| 2008 | _strtoll_l | 2008 | _strtoll_l |
| 2009 | _strtoui64 | 2009 | _strtoui64 |
| 2010 | _strtoui64_l | 2010 | _strtoui64_l |
| ... | @@ -2094,7 +2094,7 @@ _wcstoi64 | ... | @@ -2094,7 +2094,7 @@ _wcstoi64 |
| 2094 | _wcstoi64_l | 2094 | _wcstoi64_l |
| 2095 | _wcstoimax_l | 2095 | _wcstoimax_l |
| 2096 | _wcstol_l | 2096 | _wcstol_l |
| 2097 | F_ARM_ANY(_wcstold_l) ; Can't use long double functions from the CRT on x86 | 2097 | F_LD64(_wcstold_l) ; Can't use long double functions from the CRT on x86 |
| 2098 | _wcstoll_l | 2098 | _wcstoll_l |
| 2099 | _wcstombs_l | 2099 | _wcstombs_l |
| 2100 | _wcstombs_s_l | 2100 | _wcstombs_s_l |
| ... | @@ -2212,21 +2212,21 @@ acos | ... | @@ -2212,21 +2212,21 @@ acos |
| 2212 | F_NON_I386(acosf) | 2212 | F_NON_I386(acosf) |
| 2213 | acosh | 2213 | acosh |
| 2214 | acoshf | 2214 | acoshf |
| 2215 | F_ARM_ANY(acoshl) ; Can't use long double functions from the CRT on x86 | 2215 | F_LD64(acoshl) ; Can't use long double functions from the CRT on x86 |
| 2216 | asctime | 2216 | asctime |
| 2217 | asctime_s | 2217 | asctime_s |
| 2218 | asin | 2218 | asin |
| 2219 | F_NON_I386(asinf) | 2219 | F_NON_I386(asinf) |
| 2220 | asinh | 2220 | asinh |
| 2221 | asinhf | 2221 | asinhf |
| 2222 | F_ARM_ANY(asinhl) ; Can't use long double functions from the CRT on x86 | 2222 | F_LD64(asinhl) ; Can't use long double functions from the CRT on x86 |
| 2223 | atan | 2223 | atan |
| 2224 | atan2 | 2224 | atan2 |
| 2225 | F_NON_I386(atan2f) | 2225 | F_NON_I386(atan2f) |
| 2226 | F_NON_I386(atanf) | 2226 | F_NON_I386(atanf) |
| 2227 | atanh | 2227 | atanh |
| 2228 | atanhf | 2228 | atanhf |
| 2229 | F_ARM_ANY(atanhl) ; Can't use long double functions from the CRT on x86 | 2229 | F_LD64(atanhl) ; Can't use long double functions from the CRT on x86 |
| 2230 | atof | 2230 | atof |
| 2231 | atoi | 2231 | atoi |
| 2232 | atol | 2232 | atol |
| ... | @@ -2238,111 +2238,111 @@ c16rtomb | ... | @@ -2238,111 +2238,111 @@ c16rtomb |
| 2238 | c32rtomb | 2238 | c32rtomb |
| 2239 | cabs | 2239 | cabs |
| 2240 | cabsf | 2240 | cabsf |
| 2241 | F_ARM_ANY(cabsl) ; Can't use long double functions from the CRT on x86 | 2241 | F_LD64(cabsl) ; Can't use long double functions from the CRT on x86 |
| 2242 | cacos | 2242 | cacos |
| 2243 | cacosf | 2243 | cacosf |
| 2244 | cacosh | 2244 | cacosh |
| 2245 | cacoshf | 2245 | cacoshf |
| 2246 | F_ARM_ANY(cacoshl) ; Can't use long double functions from the CRT on x86 | 2246 | F_LD64(cacoshl) ; Can't use long double functions from the CRT on x86 |
| 2247 | F_ARM_ANY(cacosl) ; Can't use long double functions from the CRT on x86 | 2247 | F_LD64(cacosl) ; Can't use long double functions from the CRT on x86 |
| 2248 | calloc | 2248 | calloc |
| 2249 | carg | 2249 | carg |
| 2250 | cargf | 2250 | cargf |
| 2251 | F_ARM_ANY(cargl) ; Can't use long double functions from the CRT on x86 | 2251 | F_LD64(cargl) ; Can't use long double functions from the CRT on x86 |
| 2252 | casin | 2252 | casin |
| 2253 | casinf | 2253 | casinf |
| 2254 | casinh | 2254 | casinh |
| 2255 | casinhf | 2255 | casinhf |
| 2256 | F_ARM_ANY(casinhl) ; Can't use long double functions from the CRT on x86 | 2256 | F_LD64(casinhl) ; Can't use long double functions from the CRT on x86 |
| 2257 | F_ARM_ANY(casinl) ; Can't use long double functions from the CRT on x86 | 2257 | F_LD64(casinl) ; Can't use long double functions from the CRT on x86 |
| 2258 | catan | 2258 | catan |
| 2259 | catanf | 2259 | catanf |
| 2260 | catanh | 2260 | catanh |
| 2261 | catanhf | 2261 | catanhf |
| 2262 | F_ARM_ANY(catanhl) ; Can't use long double functions from the CRT on x86 | 2262 | F_LD64(catanhl) ; Can't use long double functions from the CRT on x86 |
| 2263 | F_ARM_ANY(catanl) ; Can't use long double functions from the CRT on x86 | 2263 | F_LD64(catanl) ; Can't use long double functions from the CRT on x86 |
| 2264 | cbrt | 2264 | cbrt |
| 2265 | cbrtf | 2265 | cbrtf |
| 2266 | F_ARM_ANY(cbrtl) ; Can't use long double functions from the CRT on x86 | 2266 | F_LD64(cbrtl) ; Can't use long double functions from the CRT on x86 |
| 2267 | ccos | 2267 | ccos |
| 2268 | ccosf | 2268 | ccosf |
| 2269 | ccosh | 2269 | ccosh |
| 2270 | ccoshf | 2270 | ccoshf |
| 2271 | F_ARM_ANY(ccoshl) ; Can't use long double functions from the CRT on x86 | 2271 | F_LD64(ccoshl) ; Can't use long double functions from the CRT on x86 |
| 2272 | F_ARM_ANY(ccosl) ; Can't use long double functions from the CRT on x86 | 2272 | F_LD64(ccosl) ; Can't use long double functions from the CRT on x86 |
| 2273 | ceil | 2273 | ceil |
| 2274 | F_NON_I386(ceilf) | 2274 | F_NON_I386(ceilf) |
| 2275 | cexp | 2275 | cexp |
| 2276 | cexpf | 2276 | cexpf |
| 2277 | F_ARM_ANY(cexpl) ; Can't use long double functions from the CRT on x86 | 2277 | F_LD64(cexpl) ; Can't use long double functions from the CRT on x86 |
| 2278 | cimag | 2278 | cimag |
| 2279 | cimagf | 2279 | cimagf |
| 2280 | F_ARM_ANY(cimagl) ; Can't use long double functions from the CRT on x86 | 2280 | F_LD64(cimagl) ; Can't use long double functions from the CRT on x86 |
| 2281 | clearerr | 2281 | clearerr |
| 2282 | clearerr_s | 2282 | clearerr_s |
| 2283 | clock | 2283 | clock |
| 2284 | clog | 2284 | clog |
| 2285 | clog10 | 2285 | clog10 |
| 2286 | clog10f | 2286 | clog10f |
| 2287 | F_ARM_ANY(clog10l) ; Can't use long double functions from the CRT on x86 | 2287 | F_LD64(clog10l) ; Can't use long double functions from the CRT on x86 |
| 2288 | clogf | 2288 | clogf |
| 2289 | F_ARM_ANY(clogl) ; Can't use long double functions from the CRT on x86 | 2289 | F_LD64(clogl) ; Can't use long double functions from the CRT on x86 |
| 2290 | conj | 2290 | conj |
| 2291 | conjf | 2291 | conjf |
| 2292 | F_ARM_ANY(conjl) ; Can't use long double functions from the CRT on x86 | 2292 | F_LD64(conjl) ; Can't use long double functions from the CRT on x86 |
| 2293 | copysign | 2293 | copysign |
| 2294 | copysignf | 2294 | copysignf |
| 2295 | F_ARM_ANY(copysignl) ; Can't use long double functions from the CRT on x86 | 2295 | F_LD64(copysignl) ; Can't use long double functions from the CRT on x86 |
| 2296 | cos | 2296 | cos |
| 2297 | F_NON_I386(cosf) | 2297 | F_NON_I386(cosf) |
| 2298 | cosh | 2298 | cosh |
| 2299 | F_NON_I386(coshf) | 2299 | F_NON_I386(coshf) |
| 2300 | cpow | 2300 | cpow |
| 2301 | cpowf | 2301 | cpowf |
| 2302 | F_ARM_ANY(cpowl) ; Can't use long double functions from the CRT on x86 | 2302 | F_LD64(cpowl) ; Can't use long double functions from the CRT on x86 |
| 2303 | cproj | 2303 | cproj |
| 2304 | cprojf | 2304 | cprojf |
| 2305 | F_ARM_ANY(cprojl) ; Can't use long double functions from the CRT on x86 | 2305 | F_LD64(cprojl) ; Can't use long double functions from the CRT on x86 |
| 2306 | creal | 2306 | creal |
| 2307 | crealf | 2307 | crealf |
| 2308 | F_ARM_ANY(creall) ; Can't use long double functions from the CRT on x86 | 2308 | F_LD64(creall) ; Can't use long double functions from the CRT on x86 |
| 2309 | csin | 2309 | csin |
| 2310 | csinf | 2310 | csinf |
| 2311 | csinh | 2311 | csinh |
| 2312 | csinhf | 2312 | csinhf |
| 2313 | F_ARM_ANY(csinhl) ; Can't use long double functions from the CRT on x86 | 2313 | F_LD64(csinhl) ; Can't use long double functions from the CRT on x86 |
| 2314 | F_ARM_ANY(csinl) ; Can't use long double functions from the CRT on x86 | 2314 | F_LD64(csinl) ; Can't use long double functions from the CRT on x86 |
| 2315 | csqrt | 2315 | csqrt |
| 2316 | csqrtf | 2316 | csqrtf |
| 2317 | F_ARM_ANY(csqrtl) ; Can't use long double functions from the CRT on x86 | 2317 | F_LD64(csqrtl) ; Can't use long double functions from the CRT on x86 |
| 2318 | ctan | 2318 | ctan |
| 2319 | ctanf | 2319 | ctanf |
| 2320 | ctanh | 2320 | ctanh |
| 2321 | ctanhf | 2321 | ctanhf |
| 2322 | F_ARM_ANY(ctanhl) ; Can't use long double functions from the CRT on x86 | 2322 | F_LD64(ctanhl) ; Can't use long double functions from the CRT on x86 |
| 2323 | F_ARM_ANY(ctanl) ; Can't use long double functions from the CRT on x86 | 2323 | F_LD64(ctanl) ; Can't use long double functions from the CRT on x86 |
| 2324 | div | 2324 | div |
| 2325 | erf | 2325 | erf |
| 2326 | erfc | 2326 | erfc |
| 2327 | erfcf | 2327 | erfcf |
| 2328 | F_ARM_ANY(erfcl) ; Can't use long double functions from the CRT on x86 | 2328 | F_LD64(erfcl) ; Can't use long double functions from the CRT on x86 |
| 2329 | erff | 2329 | erff |
| 2330 | F_ARM_ANY(erfl) ; Can't use long double functions from the CRT on x86 | 2330 | F_LD64(erfl) ; Can't use long double functions from the CRT on x86 |
| 2331 | exit | 2331 | exit |
| 2332 | exp | 2332 | exp |
| 2333 | exp2 | 2333 | exp2 |
| 2334 | exp2f | 2334 | exp2f |
| 2335 | F_ARM_ANY(exp2l) ; Can't use long double functions from the CRT on x86 | 2335 | F_LD64(exp2l) ; Can't use long double functions from the CRT on x86 |
| 2336 | F_NON_I386(expf) | 2336 | F_NON_I386(expf) |
| 2337 | expm1 | 2337 | expm1 |
| 2338 | expm1f | 2338 | expm1f |
| 2339 | F_ARM_ANY(expm1l) ; Can't use long double functions from the CRT on x86 | 2339 | F_LD64(expm1l) ; Can't use long double functions from the CRT on x86 |
| 2340 | fabs | 2340 | fabs |
| 2341 | F_ARM_ANY(fabsf) | 2341 | F_ARM_ANY(fabsf) |
| 2342 | fclose | 2342 | fclose |
| 2343 | fdim | 2343 | fdim |
| 2344 | fdimf | 2344 | fdimf |
| 2345 | F_ARM_ANY(fdiml) ; Can't use long double functions from the CRT on x86 | 2345 | F_LD64(fdiml) ; Can't use long double functions from the CRT on x86 |
| 2346 | ; Don't use the float env functions from UCRT; fesetround doesn't seem to have | 2346 | ; Don't use the float env functions from UCRT; fesetround doesn't seem to have |
| 2347 | ; any effect on the FPU control word as required by other libmingwex math | 2347 | ; any effect on the FPU control word as required by other libmingwex math |
| 2348 | ; routines. | 2348 | ; routines. |
| ... | @@ -2367,13 +2367,13 @@ floor | ... | @@ -2367,13 +2367,13 @@ floor |
| 2367 | F_NON_I386(floorf) | 2367 | F_NON_I386(floorf) |
| 2368 | fma | 2368 | fma |
| 2369 | fmaf | 2369 | fmaf |
| 2370 | F_ARM_ANY(fmal) ; Can't use long double functions from the CRT on x86 | 2370 | F_LD64(fmal) ; Can't use long double functions from the CRT on x86 |
| 2371 | fmax | 2371 | fmax |
| 2372 | fmaxf | 2372 | fmaxf |
| 2373 | F_ARM_ANY(fmaxl) ; Can't use long double functions from the CRT on x86 | 2373 | F_LD64(fmaxl) ; Can't use long double functions from the CRT on x86 |
| 2374 | fmin | 2374 | fmin |
| 2375 | fminf | 2375 | fminf |
| 2376 | F_ARM_ANY(fminl) ; Can't use long double functions from the CRT on x86 | 2376 | F_LD64(fminl) ; Can't use long double functions from the CRT on x86 |
| 2377 | fmod | 2377 | fmod |
| 2378 | F_NON_I386(fmodf) | 2378 | F_NON_I386(fmodf) |
| 2379 | fopen | 2379 | fopen |
| ... | @@ -2403,7 +2403,7 @@ getwchar | ... | @@ -2403,7 +2403,7 @@ getwchar |
| 2403 | hypot | 2403 | hypot |
| 2404 | ilogb | 2404 | ilogb |
| 2405 | ilogbf | 2405 | ilogbf |
| 2406 | F_ARM_ANY(ilogbl) ; Can't use long double functions from the CRT on x86 | 2406 | F_LD64(ilogbl) ; Can't use long double functions from the CRT on x86 |
| 2407 | imaxabs | 2407 | imaxabs |
| 2408 | imaxdiv | 2408 | imaxdiv |
| 2409 | is_wctype | 2409 | is_wctype |
| ... | @@ -2441,36 +2441,36 @@ ldiv | ... | @@ -2441,36 +2441,36 @@ ldiv |
| 2441 | ; the mingw ones do. Therefore prefer the libmingwex version instead. | 2441 | ; the mingw ones do. Therefore prefer the libmingwex version instead. |
| 2442 | lgamma DATA | 2442 | lgamma DATA |
| 2443 | lgammaf DATA | 2443 | lgammaf DATA |
| 2444 | F_ARM_ANY(lgammal DATA) ; Can't use long double functions from the CRT on x86 | 2444 | F_LD64(lgammal DATA) ; Can't use long double functions from the CRT on x86 |
| 2445 | llabs | 2445 | llabs |
| 2446 | lldiv | 2446 | lldiv |
| 2447 | llrint | 2447 | llrint |
| 2448 | llrintf | 2448 | llrintf |
| 2449 | F_ARM_ANY(llrintl) ; Can't use long double functions from the CRT on x86 | 2449 | F_LD64(llrintl) ; Can't use long double functions from the CRT on x86 |
| 2450 | llround | 2450 | llround |
| 2451 | llroundf | 2451 | llroundf |
| 2452 | F_ARM_ANY(llroundl) ; Can't use long double functions from the CRT on x86 | 2452 | F_LD64(llroundl) ; Can't use long double functions from the CRT on x86 |
| 2453 | localeconv | 2453 | localeconv |
| 2454 | log | 2454 | log |
| 2455 | log10 | 2455 | log10 |
| 2456 | F_NON_I386(log10f) | 2456 | F_NON_I386(log10f) |
| 2457 | log1p | 2457 | log1p |
| 2458 | log1pf | 2458 | log1pf |
| 2459 | F_ARM_ANY(log1pl) ; Can't use long double functions from the CRT on x86 | 2459 | F_LD64(log1pl) ; Can't use long double functions from the CRT on x86 |
| 2460 | log2 | 2460 | log2 |
| 2461 | log2f | 2461 | log2f |
| 2462 | F_ARM_ANY(log2l) ; Can't use long double functions from the CRT on x86 | 2462 | F_LD64(log2l) ; Can't use long double functions from the CRT on x86 |
| 2463 | logb | 2463 | logb |
| 2464 | logbf | 2464 | logbf |
| 2465 | F_ARM_ANY(logbl) ; Can't use long double functions from the CRT on x86 | 2465 | F_LD64(logbl) ; Can't use long double functions from the CRT on x86 |
| 2466 | F_NON_I386(logf) | 2466 | F_NON_I386(logf) |
| 2467 | longjmp | 2467 | longjmp |
| 2468 | lrint | 2468 | lrint |
| 2469 | lrintf | 2469 | lrintf |
| 2470 | F_ARM_ANY(lrintl) ; Can't use long double functions from the CRT on x86 | 2470 | F_LD64(lrintl) ; Can't use long double functions from the CRT on x86 |
| 2471 | lround | 2471 | lround |
| 2472 | lroundf | 2472 | lroundf |
| 2473 | F_ARM_ANY(lroundl) ; Can't use long double functions from the CRT on x86 | 2473 | F_LD64(lroundl) ; Can't use long double functions from the CRT on x86 |
| 2474 | malloc | 2474 | malloc |
| 2475 | mblen | 2475 | mblen |
| 2476 | mbrlen | 2476 | mbrlen |
| ... | @@ -2493,18 +2493,18 @@ modf | ... | @@ -2493,18 +2493,18 @@ modf |
| 2493 | F_NON_I386(modff) | 2493 | F_NON_I386(modff) |
| 2494 | nan | 2494 | nan |
| 2495 | nanf | 2495 | nanf |
| 2496 | F_ARM_ANY(nanl) ; Can't use long double functions from the CRT on x86 | 2496 | F_LD64(nanl) ; Can't use long double functions from the CRT on x86 |
| 2497 | nearbyint | 2497 | nearbyint |
| 2498 | nearbyintf | 2498 | nearbyintf |
| 2499 | F_ARM_ANY(nearbyintl) ; Can't use long double functions from the CRT on x86 | 2499 | F_LD64(nearbyintl) ; Can't use long double functions from the CRT on x86 |
| 2500 | nextafter | 2500 | nextafter |
| 2501 | nextafterf | 2501 | nextafterf |
| 2502 | F_ARM_ANY(nextafterl) ; Can't use long double functions from the CRT on x86 | 2502 | F_LD64(nextafterl) ; Can't use long double functions from the CRT on x86 |
| 2503 | ; All of the nexttoward functions take the second parameter as long double, | 2503 | ; All of the nexttoward functions take the second parameter as long double, |
| 2504 | ; making them unusable for x86. | 2504 | ; making them unusable for x86. |
| 2505 | F_ARM_ANY(nexttoward) ; Can't use long double functions from the CRT on x86 | 2505 | F_LD64(nexttoward) ; Can't use long double functions from the CRT on x86 |
| 2506 | F_ARM_ANY(nexttowardf) ; Can't use long double functions from the CRT on x86 | 2506 | F_LD64(nexttowardf) ; Can't use long double functions from the CRT on x86 |
| 2507 | F_ARM_ANY(nexttowardl) ; Can't use long double functions from the CRT on x86 | 2507 | F_LD64(nexttowardl) ; Can't use long double functions from the CRT on x86 |
| 2508 | norm | 2508 | norm |
| 2509 | normf | 2509 | normf |
| 2510 | norml | 2510 | norml |
| ... | @@ -2525,25 +2525,25 @@ rand_s | ... | @@ -2525,25 +2525,25 @@ rand_s |
| 2525 | realloc | 2525 | realloc |
| 2526 | remainder | 2526 | remainder |
| 2527 | remainderf | 2527 | remainderf |
| 2528 | F_ARM_ANY(remainderl) ; Can't use long double functions from the CRT on x86 | 2528 | F_LD64(remainderl) ; Can't use long double functions from the CRT on x86 |
| 2529 | remove | 2529 | remove |
| 2530 | remquo | 2530 | remquo |
| 2531 | remquof | 2531 | remquof |
| 2532 | F_ARM_ANY(remquol) ; Can't use long double functions from the CRT on x86 | 2532 | F_LD64(remquol) ; Can't use long double functions from the CRT on x86 |
| 2533 | rename | 2533 | rename |
| 2534 | rewind | 2534 | rewind |
| 2535 | rint | 2535 | rint |
| 2536 | rintf | 2536 | rintf |
| 2537 | F_ARM_ANY(rintl) ; Can't use long double functions from the CRT on x86 | 2537 | F_LD64(rintl) ; Can't use long double functions from the CRT on x86 |
| 2538 | round | 2538 | round |
| 2539 | roundf | 2539 | roundf |
| 2540 | F_ARM_ANY(roundl) ; Can't use long double functions from the CRT on x86 | 2540 | F_LD64(roundl) ; Can't use long double functions from the CRT on x86 |
| 2541 | scalbln | 2541 | scalbln |
| 2542 | scalblnf | 2542 | scalblnf |
| 2543 | F_ARM_ANY(scalblnl) ; Can't use long double functions from the CRT on x86 | 2543 | F_LD64(scalblnl) ; Can't use long double functions from the CRT on x86 |
| 2544 | scalbn | 2544 | scalbn |
| 2545 | scalbnf | 2545 | scalbnf |
| 2546 | F_ARM_ANY(scalbnl) ; Can't use long double functions from the CRT on x86 | 2546 | F_LD64(scalbnl) ; Can't use long double functions from the CRT on x86 |
| 2547 | set_terminate | 2547 | set_terminate |
| 2548 | set_unexpected | 2548 | set_unexpected |
| 2549 | setbuf | 2549 | setbuf |
| ... | @@ -2587,7 +2587,7 @@ strtoimax | ... | @@ -2587,7 +2587,7 @@ strtoimax |
| 2587 | strtok | 2587 | strtok |
| 2588 | strtok_s | 2588 | strtok_s |
| 2589 | strtol | 2589 | strtol |
| 2590 | F_ARM_ANY(strtold) ; Can't use long double functions from the CRT on x86 | 2590 | F_LD64(strtold) ; Can't use long double functions from the CRT on x86 |
| 2591 | strtoll | 2591 | strtoll |
| 2592 | strtoul | 2592 | strtoul |
| 2593 | strtoull | 2593 | strtoull |
| ... | @@ -2602,7 +2602,7 @@ F_NON_I386(tanhf) | ... | @@ -2602,7 +2602,7 @@ F_NON_I386(tanhf) |
| 2602 | terminate | 2602 | terminate |
| 2603 | tgamma | 2603 | tgamma |
| 2604 | tgammaf | 2604 | tgammaf |
| 2605 | F_ARM_ANY(tgammal) ; Can't use long double functions from the CRT on x86 | 2605 | F_LD64(tgammal) ; Can't use long double functions from the CRT on x86 |
| 2606 | tmpfile | 2606 | tmpfile |
| 2607 | tmpfile_s | 2607 | tmpfile_s |
| 2608 | tmpnam | 2608 | tmpnam |
| ... | @@ -2614,7 +2614,7 @@ towlower | ... | @@ -2614,7 +2614,7 @@ towlower |
| 2614 | towupper | 2614 | towupper |
| 2615 | trunc | 2615 | trunc |
| 2616 | truncf | 2616 | truncf |
| 2617 | F_ARM_ANY(truncl) ; Can't use long double functions from the CRT on x86 | 2617 | F_LD64(truncl) ; Can't use long double functions from the CRT on x86 |
| 2618 | unexpected | 2618 | unexpected |
| 2619 | ungetc | 2619 | ungetc |
| 2620 | ungetwc | 2620 | ungetwc |
| ... | @@ -2648,7 +2648,7 @@ wcstoimax | ... | @@ -2648,7 +2648,7 @@ wcstoimax |
| 2648 | wcstok | 2648 | wcstok |
| 2649 | wcstok_s | 2649 | wcstok_s |
| 2650 | wcstol | 2650 | wcstol |
| 2651 | F_ARM_ANY(wcstold) ; Can't use long double functions from the CRT on x86 | 2651 | F_LD64(wcstold) ; Can't use long double functions from the CRT on x86 |
| 2652 | wcstoll | 2652 | wcstoll |
| 2653 | wcstombs | 2653 | wcstombs |
| 2654 | wcstombs_s | 2654 | wcstombs_s |
lib/libc/mingw/lib-common/ws2_32.def.in+181-181| ... | @@ -2,200 +2,200 @@ | ... | @@ -2,200 +2,200 @@ |
| 2 | 2 | ||
| 3 | LIBRARY "WS2_32.dll" | 3 | LIBRARY "WS2_32.dll" |
| 4 | EXPORTS | 4 | EXPORTS |
| 5 | accept | 5 | __WSAFDIsSet@8 |
| 6 | bind | 6 | FreeAddrInfoEx@4 |
| 7 | closesocket | 7 | FreeAddrInfoExW@4 |
| 8 | connect | 8 | FreeAddrInfoW@4 |
| 9 | getpeername | 9 | GetAddrInfoExA@40 |
| 10 | getsockname | 10 | GetAddrInfoExCancel@4 |
| 11 | getsockopt | 11 | GetAddrInfoExOverlappedResult@4 |
| 12 | htonl | 12 | GetAddrInfoExW@40 |
| 13 | htons | 13 | GetAddrInfoW@16 |
| 14 | ioctlsocket | 14 | GetHostNameW@8 |
| 15 | inet_addr | 15 | GetNameInfoW@28 |
| 16 | inet_ntoa | 16 | InetNtopW@16 |
| 17 | listen | 17 | InetPtonW@12 |
| 18 | ntohl | 18 | ProcessSocketNotifications@28 |
| 19 | ntohs | 19 | SetAddrInfoExA@48 |
| 20 | recv | 20 | SetAddrInfoExW@48 |
| 21 | recvfrom | 21 | WEP@0 |
| 22 | select | 22 | WPUCompleteOverlappedRequest@20 |
| 23 | send | 23 | WPUGetProviderPathEx@20 |
| 24 | sendto | 24 | WSAAccept@20 |
| 25 | setsockopt | 25 | WSAAddressToStringA@20 |
| 26 | shutdown | 26 | WSAAddressToStringW@20 |
| 27 | socket | 27 | WSAAdvertiseProvider@8 |
| 28 | WSApSetPostRoutine | 28 | WSAAsyncGetHostByAddr@28 |
| 29 | FreeAddrInfoEx | 29 | WSAAsyncGetHostByName@20 |
| 30 | FreeAddrInfoExW | 30 | WSAAsyncGetProtoByName@20 |
| 31 | FreeAddrInfoW | 31 | WSAAsyncGetProtoByNumber@20 |
| 32 | GetAddrInfoExA | 32 | WSAAsyncGetServByName@24 |
| 33 | GetAddrInfoExCancel | 33 | WSAAsyncGetServByPort@24 |
| 34 | GetAddrInfoExOverlappedResult | 34 | WSAAsyncSelect@16 |
| 35 | GetAddrInfoExW | 35 | WSACancelAsyncRequest@4 |
| 36 | GetAddrInfoW | 36 | WSACancelBlockingCall@0 |
| 37 | GetHostNameW | 37 | WSACleanup@0 |
| 38 | GetNameInfoW | 38 | WSACloseEvent@4 |
| 39 | InetNtopW | 39 | WSAConnect@28 |
| 40 | InetPtonW | 40 | WSAConnectByList@32 |
| 41 | ProcessSocketNotifications | 41 | WSAConnectByNameA@36 |
| 42 | SetAddrInfoExA | 42 | WSAConnectByNameW@36 |
| 43 | SetAddrInfoExW | 43 | WSACreateEvent@0 |
| 44 | WPUCompleteOverlappedRequest | 44 | WSADuplicateSocketA@12 |
| 45 | WPUGetProviderPathEx | 45 | WSADuplicateSocketW@12 |
| 46 | WSAAccept | 46 | WSAEnumNameSpaceProvidersA@8 |
| 47 | WSAAddressToStringA | 47 | WSAEnumNameSpaceProvidersExA@8 |
| 48 | WSAAddressToStringW | 48 | WSAEnumNameSpaceProvidersExW@8 |
| 49 | WSAAdvertiseProvider | 49 | WSAEnumNameSpaceProvidersW@8 |
| 50 | WSACloseEvent | 50 | WSAEnumNetworkEvents@12 |
| 51 | WSAConnect | 51 | WSAEnumProtocolsA@12 |
| 52 | WSAConnectByList | 52 | WSAEnumProtocolsW@12 |
| 53 | WSAConnectByNameA | 53 | WSAEventSelect@12 |
| 54 | WSAConnectByNameW | 54 | WSAGetLastError@0 |
| 55 | WSACreateEvent | 55 | WSAGetOverlappedResult@20 |
| 56 | gethostbyaddr | 56 | WSAGetQOSByName@12 |
| 57 | gethostbyname | 57 | WSAGetServiceClassInfoA@16 |
| 58 | getprotobyname | 58 | WSAGetServiceClassInfoW@16 |
| 59 | getprotobynumber | 59 | WSAGetServiceClassNameByClassIdA@12 |
| 60 | getservbyname | 60 | WSAGetServiceClassNameByClassIdW@12 |
| 61 | getservbyport | 61 | WSAHtonl@12 |
| 62 | gethostname | 62 | WSAHtons@12 |
| 63 | WSADuplicateSocketA | 63 | WSAInstallServiceClassA@4 |
| 64 | WSADuplicateSocketW | 64 | WSAInstallServiceClassW@4 |
| 65 | WSAEnumNameSpaceProvidersA | 65 | WSAIoctl@36 |
| 66 | WSAEnumNameSpaceProvidersExA | 66 | WSAIsBlocking@0 |
| 67 | WSAEnumNameSpaceProvidersExW | 67 | WSAJoinLeaf@32 |
| 68 | WSAEnumNameSpaceProvidersW | 68 | WSALookupServiceBeginA@12 |
| 69 | WSAEnumNetworkEvents | 69 | WSALookupServiceBeginW@12 |
| 70 | WSAEnumProtocolsA | 70 | WSALookupServiceEnd@4 |
| 71 | WSAEnumProtocolsW | 71 | WSALookupServiceNextA@16 |
| 72 | WSAEventSelect | 72 | WSALookupServiceNextW@16 |
| 73 | WSAGetOverlappedResult | 73 | WSANSPIoctl@32 |
| 74 | WSAGetQOSByName | 74 | WSANtohl@12 |
| 75 | WSAGetServiceClassInfoA | 75 | WSANtohs@12 |
| 76 | WSAGetServiceClassInfoW | 76 | WSAPoll@12 |
| 77 | WSAGetServiceClassNameByClassIdA | 77 | WSAProviderCompleteAsyncCall@8 |
| 78 | WSAGetServiceClassNameByClassIdW | 78 | WSAProviderConfigChange@12 |
| 79 | WSAHtonl | 79 | WSARecv@28 |
| 80 | WSAHtons | 80 | WSARecvDisconnect@8 |
| 81 | WSAInstallServiceClassA | 81 | WSARecvFrom@36 |
| 82 | WSAInstallServiceClassW | 82 | WSARemoveServiceClass@4 |
| 83 | WSAIoctl | 83 | WSAResetEvent@4 |
| 84 | WSAJoinLeaf | 84 | WSASend@28 |
| 85 | WSALookupServiceBeginA | 85 | WSASendDisconnect@8 |
| 86 | WSALookupServiceBeginW | 86 | WSASendMsg@24 |
| 87 | WSALookupServiceEnd | 87 | WSASendTo@36 |
| 88 | WSALookupServiceNextA | 88 | WSASetBlockingHook@4 |
| 89 | WSALookupServiceNextW | 89 | WSASetEvent@4 |
| 90 | WSANSPIoctl | 90 | WSASetLastError@4 |
| 91 | WSANtohl | 91 | WSASetServiceA@12 |
| 92 | WSANtohs | 92 | WSASetServiceW@12 |
| 93 | WSAPoll | 93 | WSASocketA@24 |
| 94 | WSAProviderCompleteAsyncCall | 94 | WSASocketW@24 |
| 95 | WSAProviderConfigChange | 95 | WSAStartup@8 |
| 96 | WSARecv | 96 | WSAStringToAddressA@20 |
| 97 | WSARecvDisconnect | 97 | WSAStringToAddressW@20 |
| 98 | WSARecvFrom | 98 | WSAUnadvertiseProvider@4 |
| 99 | WSARemoveServiceClass | 99 | WSAUnhookBlockingHook@0 |
| 100 | WSAResetEvent | 100 | WSAWaitForMultipleEvents@20 |
| 101 | WSASend | 101 | WSApSetPostRoutine@4 |
| 102 | WSASendDisconnect | 102 | WSCDeinstallProvider@8 |
| 103 | WSASendMsg | ||
| 104 | WSASendTo | ||
| 105 | WSASetEvent | ||
| 106 | WSAAsyncSelect | ||
| 107 | WSAAsyncGetHostByAddr | ||
| 108 | WSAAsyncGetHostByName | ||
| 109 | WSAAsyncGetProtoByNumber | ||
| 110 | WSAAsyncGetProtoByName | ||
| 111 | WSAAsyncGetServByPort | ||
| 112 | WSAAsyncGetServByName | ||
| 113 | WSACancelAsyncRequest | ||
| 114 | WSASetBlockingHook | ||
| 115 | WSAUnhookBlockingHook | ||
| 116 | WSAGetLastError | ||
| 117 | WSASetLastError | ||
| 118 | WSACancelBlockingCall | ||
| 119 | WSAIsBlocking | ||
| 120 | WSAStartup | ||
| 121 | WSACleanup | ||
| 122 | WSASetServiceA | ||
| 123 | WSASetServiceW | ||
| 124 | WSASocketA | ||
| 125 | WSASocketW | ||
| 126 | WSAStringToAddressA | ||
| 127 | WSAStringToAddressW | ||
| 128 | WSAUnadvertiseProvider | ||
| 129 | WSAWaitForMultipleEvents | ||
| 130 | WSCDeinstallProvider | ||
| 131 | F64(WSCDeinstallProvider32) | 103 | F64(WSCDeinstallProvider32) |
| 132 | WSCDeinstallProviderEx | 104 | WSCDeinstallProviderEx@12 |
| 133 | WSCEnableNSProvider | 105 | WSCEnableNSProvider@8 |
| 134 | F64(WSCEnableNSProvider32) | 106 | F64(WSCEnableNSProvider32) |
| 135 | F64(WSCEnumNameSpaceProviders32) | 107 | F64(WSCEnumNameSpaceProviders32) |
| 136 | F64(WSCEnumNameSpaceProvidersEx32) | 108 | F64(WSCEnumNameSpaceProvidersEx32) |
| 137 | WSCEnumProtocols | 109 | WSCEnumProtocols@16 |
| 138 | WSCEnumProtocolsEx | ||
| 139 | F64(WSCEnumProtocols32) | 110 | F64(WSCEnumProtocols32) |
| 140 | WSCGetApplicationCategory | 111 | WSCEnumProtocolsEx@20 |
| 141 | WSCGetApplicationCategoryEx | 112 | WSCGetApplicationCategory@24 |
| 142 | WSCGetProviderInfo | 113 | WSCGetApplicationCategoryEx@28 |
| 114 | WSCGetProviderInfo@24 | ||
| 143 | F64(WSCGetProviderInfo32) | 115 | F64(WSCGetProviderInfo32) |
| 144 | WSCGetProviderPath | 116 | WSCGetProviderPath@16 |
| 145 | F64(WSCGetProviderPath32) | 117 | F64(WSCGetProviderPath32) |
| 146 | WSCInstallNameSpace | 118 | WSCInstallNameSpace@20 |
| 147 | F64(WSCInstallNameSpace32) | 119 | F64(WSCInstallNameSpace32) |
| 148 | WSCInstallNameSpaceEx | 120 | WSCInstallNameSpaceEx@24 |
| 149 | WSCInstallNameSpaceEx2 | 121 | WSCInstallNameSpaceEx2@28 |
| 150 | F64(WSCInstallNameSpaceEx32) | 122 | F64(WSCInstallNameSpaceEx32) |
| 151 | WSCInstallProvider | 123 | WSCInstallProvider@20 |
| 152 | F64(WSCInstallProvider64_32) | 124 | F64(WSCInstallProvider64_32) |
| 153 | WSCInstallProviderAndChains | 125 | WSCInstallProviderAndChains@32 |
| 154 | F64(WSCInstallProviderAndChains64_32) | 126 | F64(WSCInstallProviderAndChains64_32) |
| 155 | WSCInstallProviderEx | 127 | WSCInstallProviderEx@28 |
| 156 | WSCSetApplicationCategory | 128 | WSCSetApplicationCategory@28 |
| 157 | WSCSetApplicationCategoryEx | 129 | WSCSetApplicationCategoryEx@32 |
| 158 | WSCSetProviderInfo | 130 | WSCSetProviderInfo@24 |
| 159 | F64(WSCSetProviderInfo32) | 131 | F64(WSCSetProviderInfo32) |
| 160 | WSCUnInstallNameSpace | 132 | WSCUnInstallNameSpace@4 |
| 161 | F64(WSCUnInstallNameSpace32) | 133 | F64(WSCUnInstallNameSpace32) |
| 162 | WSCUnInstallNameSpaceEx2 | 134 | WSCUnInstallNameSpaceEx2@8 |
| 163 | WSCUpdateProvider | 135 | WSCUpdateProvider@20 |
| 164 | F64(WSCUpdateProvider32) | 136 | F64(WSCUpdateProvider32) |
| 165 | WSCUpdateProviderEx | 137 | WSCUpdateProviderEx@24 |
| 166 | WSCWriteNameSpaceOrder | 138 | WSCWriteNameSpaceOrder@8 |
| 167 | F64(WSCWriteNameSpaceOrder32) | 139 | F64(WSCWriteNameSpaceOrder32) |
| 168 | WSCWriteProviderOrder | 140 | WSCWriteProviderOrder@8 |
| 169 | F64(WSCWriteProviderOrder32) | 141 | F64(WSCWriteProviderOrder32) |
| 170 | WSCWriteProviderOrderEx | 142 | WSCWriteProviderOrderEx@12 |
| 171 | WahCloseApcHelper | 143 | WahCloseApcHelper@4 |
| 172 | __WSAFDIsSet | 144 | WahCloseHandleHelper@4 |
| 173 | WahCloseHandleHelper | 145 | WahCloseNotificationHandleHelper@4 |
| 174 | WahCloseNotificationHandleHelper | 146 | WahCloseSocketHandle@8 |
| 175 | WahCloseSocketHandle | 147 | WahCloseThread@8 |
| 176 | WahCloseThread | 148 | WahCompleteRequest@20 |
| 177 | WahCompleteRequest | 149 | WahCreateHandleContextTable@4 |
| 178 | WahCreateHandleContextTable | 150 | WahCreateNotificationHandle@8 |
| 179 | WahCreateNotificationHandle | 151 | WahCreateSocketHandle@8 |
| 180 | WahCreateSocketHandle | 152 | WahDestroyHandleContextTable@4 |
| 181 | WahDestroyHandleContextTable | 153 | WahDisableNonIFSHandleSupport@0 |
| 182 | WahDisableNonIFSHandleSupport | 154 | WahEnableNonIFSHandleSupport@0 |
| 183 | WahEnableNonIFSHandleSupport | 155 | WahEnumerateHandleContexts@12 |
| 184 | WahEnumerateHandleContexts | 156 | WahInsertHandleContext@8 |
| 185 | WahInsertHandleContext | 157 | WahNotifyAllProcesses@4 |
| 186 | WahNotifyAllProcesses | 158 | WahOpenApcHelper@4 |
| 187 | WahOpenApcHelper | 159 | WahOpenCurrentThread@8 |
| 188 | WahOpenCurrentThread | 160 | WahOpenHandleHelper@4 |
| 189 | WahOpenHandleHelper | 161 | WahOpenNotificationHandleHelper@4 |
| 190 | WahOpenNotificationHandleHelper | 162 | WahQueueUserApc@16 |
| 191 | WahQueueUserApc | 163 | WahReferenceContextByHandle@8 |
| 192 | WahReferenceContextByHandle | 164 | WahRemoveHandleContext@8 |
| 193 | WahRemoveHandleContext | 165 | WahWaitForNotification@16 |
| 194 | WahWaitForNotification | 166 | WahWriteLSPEvent@8 |
| 195 | WahWriteLSPEvent | 167 | accept@12 |
| 196 | freeaddrinfo | 168 | bind@12 |
| 197 | getaddrinfo | 169 | closesocket@4 |
| 198 | getnameinfo | 170 | connect@12 |
| 199 | inet_ntop | 171 | freeaddrinfo@4 |
| 200 | inet_pton | 172 | getaddrinfo@16 |
| 201 | WEP | 173 | gethostbyaddr@12 |
| 174 | gethostbyname@4 | ||
| 175 | gethostname@8 | ||
| 176 | getnameinfo@28 | ||
| 177 | getpeername@12 | ||
| 178 | getprotobyname@4 | ||
| 179 | getprotobynumber@4 | ||
| 180 | getservbyname@8 | ||
| 181 | getservbyport@8 | ||
| 182 | getsockname@12 | ||
| 183 | getsockopt@20 | ||
| 184 | htonl@4 | ||
| 185 | htons@4 | ||
| 186 | inet_addr@4 | ||
| 187 | inet_ntoa@4 | ||
| 188 | inet_ntop@16 | ||
| 189 | inet_pton@12 | ||
| 190 | ioctlsocket@12 | ||
| 191 | listen@8 | ||
| 192 | ntohl@4 | ||
| 193 | ntohs@4 | ||
| 194 | recv@16 | ||
| 195 | recvfrom@24 | ||
| 196 | select@20 | ||
| 197 | send@16 | ||
| 198 | sendto@24 | ||
| 199 | setsockopt@20 | ||
| 200 | shutdown@8 | ||
| 201 | socket@12 |
lib/libc/mingw/lib32/ole32.def+28| ... | @@ -25,6 +25,7 @@ CLSIDFromProgIDEx@8 | ... | @@ -25,6 +25,7 @@ CLSIDFromProgIDEx@8 |
| 25 | CLSIDFromString@8 | 25 | CLSIDFromString@8 |
| 26 | CoAddRefServerProcess@0 | 26 | CoAddRefServerProcess@0 |
| 27 | CoAllowSetForegroundWindow@8 | 27 | CoAllowSetForegroundWindow@8 |
| 28 | CoAllowUnmarshalerCLSID@4 | ||
| 28 | CoBuildVersion@0 | 29 | CoBuildVersion@0 |
| 29 | CoCancelCall@8 | 30 | CoCancelCall@8 |
| 30 | CoCopyProxy@8 | 31 | CoCopyProxy@8 |
| ... | @@ -35,6 +36,8 @@ CoCreateInstanceEx@24 | ... | @@ -35,6 +36,8 @@ CoCreateInstanceEx@24 |
| 35 | CoCreateInstanceFromApp@24 | 36 | CoCreateInstanceFromApp@24 |
| 36 | CoCreateObjectInContext@16 | 37 | CoCreateObjectInContext@16 |
| 37 | CoDeactivateObject@8 | 38 | CoDeactivateObject@8 |
| 39 | CoDecodeProxy@16 | ||
| 40 | CoDecrementMTAUsage@4 | ||
| 38 | CoDisableCallCancellation@4 | 41 | CoDisableCallCancellation@4 |
| 39 | CoDisconnectContext@4 | 42 | CoDisconnectContext@4 |
| 40 | CoDisconnectObject@8 | 43 | CoDisconnectObject@8 |
| ... | @@ -77,7 +80,9 @@ CoGetState@4 | ... | @@ -77,7 +80,9 @@ CoGetState@4 |
| 77 | CoGetStdMarshalEx@12 | 80 | CoGetStdMarshalEx@12 |
| 78 | CoGetSystemSecurityPermissions@8 | 81 | CoGetSystemSecurityPermissions@8 |
| 79 | CoGetTreatAsClass@8 | 82 | CoGetTreatAsClass@8 |
| 83 | CoHandlePriorityEventsFromMessagePump@0 | ||
| 80 | CoImpersonateClient@0 | 84 | CoImpersonateClient@0 |
| 85 | CoIncrementMTAUsage@4 | ||
| 81 | CoInitialize@4 | 86 | CoInitialize@4 |
| 82 | CoInitializeEx@8 | 87 | CoInitializeEx@8 |
| 83 | CoInitializeSecurity@36 | 88 | CoInitializeSecurity@36 |
| ... | @@ -98,6 +103,7 @@ CoQueryClientBlanket@28 | ... | @@ -98,6 +103,7 @@ CoQueryClientBlanket@28 |
| 98 | CoQueryProxyBlanket@32 | 103 | CoQueryProxyBlanket@32 |
| 99 | CoQueryReleaseObject@4 | 104 | CoQueryReleaseObject@4 |
| 100 | CoReactivateObject@8 | 105 | CoReactivateObject@8 |
| 106 | CoRegisterActivationFilter@4 | ||
| 101 | CoRegisterChannelHook@8 | 107 | CoRegisterChannelHook@8 |
| 102 | CoRegisterClassObject@20 | 108 | CoRegisterClassObject@20 |
| 103 | CoRegisterInitializeSpy@8 | 109 | CoRegisterInitializeSpy@8 |
| ... | @@ -115,6 +121,7 @@ CoRevokeClassObject@4 | ... | @@ -115,6 +121,7 @@ CoRevokeClassObject@4 |
| 115 | CoRevokeInitializeSpy@8 | 121 | CoRevokeInitializeSpy@8 |
| 116 | CoRevokeMallocSpy@0 | 122 | CoRevokeMallocSpy@0 |
| 117 | CoSetCancelObject@4 | 123 | CoSetCancelObject@4 |
| 124 | CoSetMessageDispatcher@4 | ||
| 118 | CoSetProxyBlanket@32 | 125 | CoSetProxyBlanket@32 |
| 119 | CoSetState@4 | 126 | CoSetState@4 |
| 120 | CoSuspendClassObjects@0 | 127 | CoSuspendClassObjects@0 |
| ... | @@ -129,6 +136,7 @@ CoUnloadingWOW@4 | ... | @@ -129,6 +136,7 @@ CoUnloadingWOW@4 |
| 129 | CoUnmarshalHresult@8 | 136 | CoUnmarshalHresult@8 |
| 130 | CoUnmarshalInterface@12 | 137 | CoUnmarshalInterface@12 |
| 131 | CoWaitForMultipleHandles@20 | 138 | CoWaitForMultipleHandles@20 |
| 139 | CoWaitForMultipleObjects@20 | ||
| 132 | ComPs_NdrDllCanUnloadNow@4 | 140 | ComPs_NdrDllCanUnloadNow@4 |
| 133 | ComPs_NdrDllGetClassObject@24 | 141 | ComPs_NdrDllGetClassObject@24 |
| 134 | ComPs_NdrDllRegisterProxy@20 | 142 | ComPs_NdrDllRegisterProxy@20 |
| ... | @@ -157,6 +165,7 @@ DoDragDrop@16 | ... | @@ -157,6 +165,7 @@ DoDragDrop@16 |
| 157 | EnableHookObject@8 | 165 | EnableHookObject@8 |
| 158 | FmtIdToPropStgName@8 | 166 | FmtIdToPropStgName@8 |
| 159 | FreePropVariantArray@8 | 167 | FreePropVariantArray@8 |
| 168 | GetActiveObjectExt@12 | ||
| 160 | GetClassFile@8 | 169 | GetClassFile@8 |
| 161 | GetConvertStg@4 | 170 | GetConvertStg@4 |
| 162 | GetDocumentBitStg@4 | 171 | GetDocumentBitStg@4 |
| ... | @@ -205,6 +214,10 @@ HMETAFILE_UserFree@8 | ... | @@ -205,6 +214,10 @@ HMETAFILE_UserFree@8 |
| 205 | HMETAFILE_UserMarshal@12 | 214 | HMETAFILE_UserMarshal@12 |
| 206 | HMETAFILE_UserSize@12 | 215 | HMETAFILE_UserSize@12 |
| 207 | HMETAFILE_UserUnmarshal@12 | 216 | HMETAFILE_UserUnmarshal@12 |
| 217 | HMONITOR_UserFree@8 | ||
| 218 | HMONITOR_UserMarshal@12 | ||
| 219 | HMONITOR_UserSize@12 | ||
| 220 | HMONITOR_UserUnmarshal@12 | ||
| 208 | HPALETTE_UserFree@8 | 221 | HPALETTE_UserFree@8 |
| 209 | HPALETTE_UserMarshal@12 | 222 | HPALETTE_UserMarshal@12 |
| 210 | HPALETTE_UserSize@12 | 223 | HPALETTE_UserSize@12 |
| ... | @@ -288,11 +301,14 @@ OleBuildVersion@0 | ... | @@ -288,11 +301,14 @@ OleBuildVersion@0 |
| 288 | OleConvertIStorageToOLESTREAM@8 | 301 | OleConvertIStorageToOLESTREAM@8 |
| 289 | OleConvertIStorageToOLESTREAMEx@28 | 302 | OleConvertIStorageToOLESTREAMEx@28 |
| 290 | OleConvertOLESTREAMToIStorage@12 | 303 | OleConvertOLESTREAMToIStorage@12 |
| 304 | OleConvertOLESTREAMToIStorage2@24 | ||
| 291 | OleConvertOLESTREAMToIStorageEx@28 | 305 | OleConvertOLESTREAMToIStorageEx@28 |
| 306 | OleConvertOLESTREAMToIStorageEx2@40 | ||
| 292 | OleCreate@28 | 307 | OleCreate@28 |
| 293 | OleCreateDefaultHandler@16 | 308 | OleCreateDefaultHandler@16 |
| 294 | OleCreateEmbeddingHelper@24 | 309 | OleCreateEmbeddingHelper@24 |
| 295 | OleCreateEx@48 | 310 | OleCreateEx@48 |
| 311 | OleCreateFontIndirectExt@12 | ||
| 296 | OleCreateFromData@28 | 312 | OleCreateFromData@28 |
| 297 | OleCreateFromDataEx@48 | 313 | OleCreateFromDataEx@48 |
| 298 | OleCreateFromFile@32 | 314 | OleCreateFromFile@32 |
| ... | @@ -304,6 +320,8 @@ OleCreateLinkFromDataEx@48 | ... | @@ -304,6 +320,8 @@ OleCreateLinkFromDataEx@48 |
| 304 | OleCreateLinkToFile@28 | 320 | OleCreateLinkToFile@28 |
| 305 | OleCreateLinkToFileEx@48 | 321 | OleCreateLinkToFileEx@48 |
| 306 | OleCreateMenuDescriptor@8 | 322 | OleCreateMenuDescriptor@8 |
| 323 | OleCreatePictureIndirectExt@16 | ||
| 324 | OleCreatePropertyFrameIndirectExt@4 | ||
| 307 | OleCreateStaticFromData@28 | 325 | OleCreateStaticFromData@28 |
| 308 | OleDestroyMenuDescriptor@4 | 326 | OleDestroyMenuDescriptor@4 |
| 309 | OleDoAutoConvert@8 | 327 | OleDoAutoConvert@8 |
| ... | @@ -312,14 +330,19 @@ OleDuplicateData@12 | ... | @@ -312,14 +330,19 @@ OleDuplicateData@12 |
| 312 | OleFlushClipboard@0 | 330 | OleFlushClipboard@0 |
| 313 | OleGetAutoConvert@8 | 331 | OleGetAutoConvert@8 |
| 314 | OleGetClipboard@4 | 332 | OleGetClipboard@4 |
| 333 | OleGetClipboardWithEnterpriseInfo@20 | ||
| 315 | OleGetIconOfClass@12 | 334 | OleGetIconOfClass@12 |
| 316 | OleGetIconOfFile@8 | 335 | OleGetIconOfFile@8 |
| 336 | OleIconToCursorExt@8 | ||
| 317 | OleInitialize@4 | 337 | OleInitialize@4 |
| 318 | OleInitializeWOW@8 | 338 | OleInitializeWOW@8 |
| 319 | OleIsCurrentClipboard@4 | 339 | OleIsCurrentClipboard@4 |
| 320 | OleIsRunning@4 | 340 | OleIsRunning@4 |
| 321 | OleLoad@16 | 341 | OleLoad@16 |
| 322 | OleLoadFromStream@12 | 342 | OleLoadFromStream@12 |
| 343 | OleLoadPictureExt@32 | ||
| 344 | OleLoadPictureFileExt@32 | ||
| 345 | OleLoadPicturePathExt@24 | ||
| 323 | OleLockRunning@12 | 346 | OleLockRunning@12 |
| 324 | OleMetafilePictFromIconAndLabel@16 | 347 | OleMetafilePictFromIconAndLabel@16 |
| 325 | OleNoteObjectVisible@8 | 348 | OleNoteObjectVisible@8 |
| ... | @@ -331,12 +354,14 @@ OleRegGetMiscStatus@12 | ... | @@ -331,12 +354,14 @@ OleRegGetMiscStatus@12 |
| 331 | OleRegGetUserType@12 | 354 | OleRegGetUserType@12 |
| 332 | OleRun@4 | 355 | OleRun@4 |
| 333 | OleSave@12 | 356 | OleSave@12 |
| 357 | OleSavePictureFileExt@8 | ||
| 334 | OleSaveToStream@8 | 358 | OleSaveToStream@8 |
| 335 | OleSetAutoConvert@8 | 359 | OleSetAutoConvert@8 |
| 336 | OleSetClipboard@4 | 360 | OleSetClipboard@4 |
| 337 | OleSetContainedObject@8 | 361 | OleSetContainedObject@8 |
| 338 | OleSetMenuDescriptor@20 | 362 | OleSetMenuDescriptor@20 |
| 339 | OleTranslateAccelerator@12 | 363 | OleTranslateAccelerator@12 |
| 364 | OleTranslateColorExt@12 | ||
| 340 | OleUninitialize@0 | 365 | OleUninitialize@0 |
| 341 | OpenOrCreateStream@12 | 366 | OpenOrCreateStream@12 |
| 342 | ProgIDFromCLSID@8 | 367 | ProgIDFromCLSID@8 |
| ... | @@ -350,9 +375,12 @@ ReadClassStm@8 | ... | @@ -350,9 +375,12 @@ ReadClassStm@8 |
| 350 | ReadFmtUserTypeStg@12 | 375 | ReadFmtUserTypeStg@12 |
| 351 | ReadOleStg@24 | 376 | ReadOleStg@24 |
| 352 | ReadStringStream@8 | 377 | ReadStringStream@8 |
| 378 | RegisterActiveObjectExt@16 | ||
| 353 | RegisterDragDrop@8 | 379 | RegisterDragDrop@8 |
| 354 | ReleaseStgMedium@4 | 380 | ReleaseStgMedium@4 |
| 381 | RevokeActiveObjectExt@8 | ||
| 355 | RevokeDragDrop@4 | 382 | RevokeDragDrop@4 |
| 383 | RoGetAgileReference@16 | ||
| 356 | SNB_UserFree@8 | 384 | SNB_UserFree@8 |
| 357 | SNB_UserMarshal@12 | 385 | SNB_UserMarshal@12 |
| 358 | SNB_UserSize@12 | 386 | SNB_UserSize@12 |
lib/libc/mingw/lib32/ws2_32.def deleted-188| ... | @@ -1,188 +0,0 @@ | ||
| 1 | ; | ||
| 2 | ; Definition file of WS2_32.dll | ||
| 3 | ; Automatic generated by gendef | ||
| 4 | ; written by Kai Tietz 2008 | ||
| 5 | ; | ||
| 6 | LIBRARY "WS2_32.dll" | ||
| 7 | EXPORTS | ||
| 8 | accept@12 | ||
| 9 | bind@12 | ||
| 10 | closesocket@4 | ||
| 11 | connect@12 | ||
| 12 | getpeername@12 | ||
| 13 | getsockname@12 | ||
| 14 | getsockopt@20 | ||
| 15 | htonl@4 | ||
| 16 | htons@4 | ||
| 17 | ioctlsocket@12 | ||
| 18 | inet_addr@4 | ||
| 19 | inet_ntoa@4 | ||
| 20 | listen@8 | ||
| 21 | ntohl@4 | ||
| 22 | ntohs@4 | ||
| 23 | recv@16 | ||
| 24 | recvfrom@24 | ||
| 25 | select@20 | ||
| 26 | send@16 | ||
| 27 | sendto@24 | ||
| 28 | setsockopt@20 | ||
| 29 | shutdown@8 | ||
| 30 | socket@12 | ||
| 31 | WSApSetPostRoutine@4 | ||
| 32 | FreeAddrInfoEx@4 | ||
| 33 | FreeAddrInfoExW@4 | ||
| 34 | FreeAddrInfoW@4 | ||
| 35 | GetAddrInfoExA@40 | ||
| 36 | GetAddrInfoExCancel@4 | ||
| 37 | GetAddrInfoExOverlappedResult@4 | ||
| 38 | GetAddrInfoExW@40 | ||
| 39 | GetAddrInfoW@16 | ||
| 40 | GetHostNameW@8 | ||
| 41 | GetNameInfoW@28 | ||
| 42 | InetNtopW@16 | ||
| 43 | InetPtonW@12 | ||
| 44 | ProcessSocketNotifications@28 | ||
| 45 | SetAddrInfoExA@48 | ||
| 46 | SetAddrInfoExW@48 | ||
| 47 | WPUCompleteOverlappedRequest@20 | ||
| 48 | WPUGetProviderPathEx@20 | ||
| 49 | WSAAccept@20 | ||
| 50 | WSAAddressToStringA@20 | ||
| 51 | WSAAddressToStringW@20 | ||
| 52 | WSAAdvertiseProvider@8 | ||
| 53 | WSACloseEvent@4 | ||
| 54 | WSAConnect@28 | ||
| 55 | WSAConnectByList@32 | ||
| 56 | WSAConnectByNameA@36 | ||
| 57 | WSAConnectByNameW@36 | ||
| 58 | WSACreateEvent@0 | ||
| 59 | WSADuplicateSocketA@12 | ||
| 60 | WSADuplicateSocketW@12 | ||
| 61 | WSAEnumNameSpaceProvidersA@8 | ||
| 62 | WSAEnumNameSpaceProvidersExA@8 | ||
| 63 | gethostbyaddr@12 | ||
| 64 | gethostbyname@4 | ||
| 65 | getprotobyname@4 | ||
| 66 | getprotobynumber@4 | ||
| 67 | getservbyname@8 | ||
| 68 | getservbyport@8 | ||
| 69 | gethostname@8 | ||
| 70 | WSAEnumNameSpaceProvidersExW@8 | ||
| 71 | WSAEnumNameSpaceProvidersW@8 | ||
| 72 | WSAEnumNetworkEvents@12 | ||
| 73 | WSAEnumProtocolsA@12 | ||
| 74 | WSAEnumProtocolsW@12 | ||
| 75 | WSAEventSelect@12 | ||
| 76 | WSAGetOverlappedResult@20 | ||
| 77 | WSAGetQOSByName@12 | ||
| 78 | WSAGetServiceClassInfoA@16 | ||
| 79 | WSAGetServiceClassInfoW@16 | ||
| 80 | WSAGetServiceClassNameByClassIdA@12 | ||
| 81 | WSAGetServiceClassNameByClassIdW@12 | ||
| 82 | WSAHtonl@12 | ||
| 83 | WSAHtons@12 | ||
| 84 | WSAInstallServiceClassA@4 | ||
| 85 | WSAInstallServiceClassW@4 | ||
| 86 | WSAIoctl@36 | ||
| 87 | WSAJoinLeaf@32 | ||
| 88 | WSALookupServiceBeginA@12 | ||
| 89 | WSALookupServiceBeginW@12 | ||
| 90 | WSALookupServiceEnd@4 | ||
| 91 | WSALookupServiceNextA@16 | ||
| 92 | WSALookupServiceNextW@16 | ||
| 93 | WSANSPIoctl@32 | ||
| 94 | WSANtohl@12 | ||
| 95 | WSANtohs@12 | ||
| 96 | WSAPoll@12 | ||
| 97 | WSAProviderCompleteAsyncCall@8 | ||
| 98 | WSAProviderConfigChange@12 | ||
| 99 | WSARecv@28 | ||
| 100 | WSARecvDisconnect@8 | ||
| 101 | WSARecvFrom@36 | ||
| 102 | WSARemoveServiceClass@4 | ||
| 103 | WSAResetEvent@4 | ||
| 104 | WSASend@28 | ||
| 105 | WSASendDisconnect@8 | ||
| 106 | WSASendMsg@24 | ||
| 107 | WSASendTo@36 | ||
| 108 | WSASetEvent@4 | ||
| 109 | WSASetServiceA@12 | ||
| 110 | WSASetServiceW@12 | ||
| 111 | WSASocketA@24 | ||
| 112 | WSASocketW@24 | ||
| 113 | WSAAsyncSelect@16 | ||
| 114 | WSAAsyncGetHostByAddr@28 | ||
| 115 | WSAAsyncGetHostByName@20 | ||
| 116 | WSAAsyncGetProtoByNumber@20 | ||
| 117 | WSAAsyncGetProtoByName@20 | ||
| 118 | WSAAsyncGetServByPort@24 | ||
| 119 | WSAAsyncGetServByName@24 | ||
| 120 | WSACancelAsyncRequest@4 | ||
| 121 | WSASetBlockingHook@4 | ||
| 122 | WSAUnhookBlockingHook@0 | ||
| 123 | WSAGetLastError@0 | ||
| 124 | WSASetLastError@4 | ||
| 125 | WSACancelBlockingCall@0 | ||
| 126 | WSAIsBlocking@0 | ||
| 127 | WSAStartup@8 | ||
| 128 | WSACleanup@0 | ||
| 129 | WSAStringToAddressA@20 | ||
| 130 | WSAStringToAddressW@20 | ||
| 131 | WSAUnadvertiseProvider@4 | ||
| 132 | WSAWaitForMultipleEvents@20 | ||
| 133 | WSCDeinstallProvider@8 | ||
| 134 | WSCDeinstallProviderEx@12 | ||
| 135 | WSCEnableNSProvider@8 | ||
| 136 | WSCEnumProtocols@16 | ||
| 137 | WSCEnumProtocolsEx@20 | ||
| 138 | WSCGetApplicationCategory@24 | ||
| 139 | WSCGetApplicationCategoryEx@28 | ||
| 140 | WSCGetProviderInfo@24 | ||
| 141 | WSCGetProviderPath@16 | ||
| 142 | WSCInstallNameSpace@20 | ||
| 143 | WSCInstallNameSpaceEx2@28 | ||
| 144 | WSCInstallNameSpaceEx@24 | ||
| 145 | WSCInstallProvider@20 | ||
| 146 | WSCInstallProviderAndChains@32 | ||
| 147 | WSCInstallProviderEx@28 | ||
| 148 | WSCSetApplicationCategory@28 | ||
| 149 | WSCSetApplicationCategoryEx@32 | ||
| 150 | WSCSetProviderInfo@24 | ||
| 151 | WSCUnInstallNameSpace@4 | ||
| 152 | WSCUnInstallNameSpaceEx2@8 | ||
| 153 | WSCUpdateProvider@20 | ||
| 154 | WSCUpdateProviderEx@24 | ||
| 155 | WSCWriteNameSpaceOrder@8 | ||
| 156 | WSCWriteProviderOrder@8 | ||
| 157 | WSCWriteProviderOrderEx@12 | ||
| 158 | WahCloseApcHelper@4 | ||
| 159 | WahCloseHandleHelper@4 | ||
| 160 | WahCloseNotificationHandleHelper@4 | ||
| 161 | WahCloseSocketHandle@8 | ||
| 162 | WahCloseThread@8 | ||
| 163 | WahCompleteRequest@20 | ||
| 164 | WahCreateHandleContextTable@4 | ||
| 165 | WahCreateNotificationHandle@8 | ||
| 166 | WahCreateSocketHandle@8 | ||
| 167 | WahDestroyHandleContextTable@4 | ||
| 168 | WahDisableNonIFSHandleSupport@0 | ||
| 169 | WahEnableNonIFSHandleSupport@0 | ||
| 170 | WahEnumerateHandleContexts@12 | ||
| 171 | WahInsertHandleContext@8 | ||
| 172 | __WSAFDIsSet@8 | ||
| 173 | WahNotifyAllProcesses@4 | ||
| 174 | WahOpenApcHelper@4 | ||
| 175 | WahOpenCurrentThread@8 | ||
| 176 | WahOpenHandleHelper@4 | ||
| 177 | WahOpenNotificationHandleHelper@4 | ||
| 178 | WahQueueUserApc@16 | ||
| 179 | WahReferenceContextByHandle@8 | ||
| 180 | WahRemoveHandleContext@8 | ||
| 181 | WahWaitForNotification@16 | ||
| 182 | WahWriteLSPEvent@8 | ||
| 183 | freeaddrinfo@4 | ||
| 184 | getaddrinfo@16 | ||
| 185 | getnameinfo@28 | ||
| 186 | inet_ntop@16 | ||
| 187 | inet_pton@12 | ||
| 188 | WEP@0 | ||
lib/libc/mingw/lib64/kernel32.def deleted-1745| ... | @@ -1,1745 +0,0 @@ | ||
| 1 | |||
| 2 | LIBRARY "KERNEL32.dll" | ||
| 3 | EXPORTS | ||
| 4 | AcquireSRWLockExclusive | ||
| 5 | AcquireSRWLockShared | ||
| 6 | ActivateActCtx | ||
| 7 | ActivateActCtxWorker | ||
| 8 | ActivatePackageVirtualizationContext | ||
| 9 | AddAtomA | ||
| 10 | AddAtomW | ||
| 11 | AddConsoleAliasA | ||
| 12 | AddConsoleAliasW | ||
| 13 | AddDllDirectory | ||
| 14 | AddIntegrityLabelToBoundaryDescriptor | ||
| 15 | AddLocalAlternateComputerNameA | ||
| 16 | AddLocalAlternateComputerNameW | ||
| 17 | AddRefActCtx | ||
| 18 | AddRefActCtxWorker | ||
| 19 | AddResourceAttributeAce | ||
| 20 | AddSIDToBoundaryDescriptor | ||
| 21 | AddScopedPolicyIDAce | ||
| 22 | AddSecureMemoryCacheCallback | ||
| 23 | AddVectoredContinueHandler | ||
| 24 | AddVectoredExceptionHandler | ||
| 25 | AdjustCalendarDate | ||
| 26 | AllocConsole | ||
| 27 | AllocConsoleWithOptions | ||
| 28 | AllocateUserPhysicalPages | ||
| 29 | AllocateUserPhysicalPagesNuma | ||
| 30 | AppPolicyGetClrCompat | ||
| 31 | AppPolicyGetCreateFileAccess | ||
| 32 | AppPolicyGetLifecycleManagement | ||
| 33 | AppPolicyGetMediaFoundationCodecLoading | ||
| 34 | AppPolicyGetProcessTerminationMethod | ||
| 35 | AppPolicyGetShowDeveloperDiagnostic | ||
| 36 | AppPolicyGetThreadInitializationType | ||
| 37 | AppPolicyGetWindowingModel | ||
| 38 | AppXGetOSMaxVersionTested | ||
| 39 | ApplicationRecoveryFinished | ||
| 40 | ApplicationRecoveryInProgress | ||
| 41 | AreFileApisANSI | ||
| 42 | AreShortNamesEnabled | ||
| 43 | AssignProcessToJobObject | ||
| 44 | AttachConsole | ||
| 45 | BackupRead | ||
| 46 | BackupSeek | ||
| 47 | BackupWrite | ||
| 48 | BaseCheckAppcompatCache | ||
| 49 | BaseCheckAppcompatCacheEx | ||
| 50 | BaseCheckAppcompatCacheExWorker | ||
| 51 | BaseCheckAppcompatCacheWorker | ||
| 52 | BaseCheckElevation | ||
| 53 | BaseCheckRunApp | ||
| 54 | BaseCleanupAppcompatCacheSupport | ||
| 55 | BaseCleanupAppcompatCacheSupportWorker | ||
| 56 | BaseDestroyVDMEnvironment | ||
| 57 | BaseDllReadWriteIniFile | ||
| 58 | BaseDumpAppcompatCache | ||
| 59 | BaseDumpAppcompatCacheWorker | ||
| 60 | BaseElevationPostProcessing | ||
| 61 | BaseFlushAppcompatCache | ||
| 62 | BaseFlushAppcompatCacheWorker | ||
| 63 | BaseFormatObjectAttributes | ||
| 64 | BaseFormatTimeOut | ||
| 65 | BaseFreeAppCompatDataForProcessWorker | ||
| 66 | BaseGenerateAppCompatData | ||
| 67 | BaseGetNamedObjectDirectory | ||
| 68 | BaseInitAppcompatCacheSupport | ||
| 69 | BaseInitAppcompatCacheSupportWorker | ||
| 70 | BaseIsAppcompatInfrastructureDisabled | ||
| 71 | BaseIsAppcompatInfrastructureDisabledWorker | ||
| 72 | BaseIsDosApplication | ||
| 73 | BaseProcessInitPostImport | ||
| 74 | BaseProcessStart | ||
| 75 | BaseQueryModuleData | ||
| 76 | BaseReadAppCompatDataForProcessWorker | ||
| 77 | BaseThreadStart | ||
| 78 | BaseSetLastNTError | ||
| 79 | BaseThreadInitThunk | ||
| 80 | BaseUpdateAppcompatCache | ||
| 81 | BaseUpdateAppcompatCacheWorker | ||
| 82 | BaseUpdateVDMEntry | ||
| 83 | BaseVerifyUnicodeString | ||
| 84 | BaseWriteErrorElevationRequiredEvent | ||
| 85 | Basep8BitStringToDynamicUnicodeString | ||
| 86 | BasepAllocateActivationContextActivationBlock | ||
| 87 | BasepAnsiStringToDynamicUnicodeString | ||
| 88 | BasepAppContainerEnvironmentExtension | ||
| 89 | BasepAppXExtension | ||
| 90 | BasepCheckAppCompat | ||
| 91 | BasepCheckBadapp | ||
| 92 | BasepCheckWebBladeHashes | ||
| 93 | BasepCheckWinSaferRestrictions | ||
| 94 | BasepConstructSxsCreateProcessMessage | ||
| 95 | BasepCopyEncryption | ||
| 96 | BasepFreeActivationContextActivationBlock | ||
| 97 | BasepFreeAppCompatData | ||
| 98 | BasepGetAppCompatData | ||
| 99 | BasepGetComputerNameFromNtPath | ||
| 100 | BasepGetExeArchType | ||
| 101 | BasepInitAppCompatData | ||
| 102 | BasepIsProcessAllowed | ||
| 103 | BasepMapModuleHandle | ||
| 104 | BasepNotifyLoadStringResource | ||
| 105 | BasepPostSuccessAppXExtension | ||
| 106 | BasepProcessInvalidImage | ||
| 107 | BasepQueryAppCompat | ||
| 108 | BasepQueryModuleChpeSettings | ||
| 109 | BasepReleaseAppXContext | ||
| 110 | BasepReleaseSxsCreateProcessUtilityStruct | ||
| 111 | BasepReportFault | ||
| 112 | BasepSetFileEncryptionCompression | ||
| 113 | Beep | ||
| 114 | BeginUpdateResourceA | ||
| 115 | BeginUpdateResourceW | ||
| 116 | BindIoCompletionCallback | ||
| 117 | BuildCommDCBA | ||
| 118 | BuildCommDCBAndTimeoutsA | ||
| 119 | BuildCommDCBAndTimeoutsW | ||
| 120 | BuildCommDCBW | ||
| 121 | BuildIoRingCancelRequest | ||
| 122 | BuildIoRingFlushFile | ||
| 123 | BuildIoRingReadFile | ||
| 124 | BuildIoRingReadFileScatter | ||
| 125 | BuildIoRingRegisterBuffers | ||
| 126 | BuildIoRingRegisterFileHandles | ||
| 127 | BuildIoRingWriteFile | ||
| 128 | BuildIoRingWriteFileGather | ||
| 129 | CallNamedPipeA | ||
| 130 | CallNamedPipeW | ||
| 131 | CallbackMayRunLong | ||
| 132 | CalloutOnFiberStack | ||
| 133 | CancelDeviceWakeupRequest | ||
| 134 | CancelIo | ||
| 135 | CancelIoEx | ||
| 136 | CancelSynchronousIo | ||
| 137 | CancelThreadpoolIo | ||
| 138 | CancelTimerQueueTimer | ||
| 139 | CancelWaitableTimer | ||
| 140 | CeipIsOptedIn | ||
| 141 | ChangeTimerQueueTimer | ||
| 142 | CheckAllowDecryptedRemoteDestinationPolicy | ||
| 143 | CheckElevation | ||
| 144 | CheckElevationEnabled | ||
| 145 | CheckForReadOnlyResource | ||
| 146 | CheckForReadOnlyResourceFilter | ||
| 147 | CheckNameLegalDOS8Dot3A | ||
| 148 | CheckNameLegalDOS8Dot3W | ||
| 149 | CheckRemoteDebuggerPresent | ||
| 150 | CheckTokenCapability | ||
| 151 | CheckTokenMembershipEx | ||
| 152 | ClearCommBreak | ||
| 153 | ClearCommError | ||
| 154 | CloseConsoleHandle | ||
| 155 | CloseHandle | ||
| 156 | CloseIoRing | ||
| 157 | ClosePackageInfo | ||
| 158 | ClosePrivateNamespace | ||
| 159 | CloseProfileUserMapping | ||
| 160 | ClosePseudoConsole | ||
| 161 | CloseState | ||
| 162 | CloseThreadpool | ||
| 163 | CloseThreadpoolCleanupGroup | ||
| 164 | CloseThreadpoolCleanupGroupMembers | ||
| 165 | CloseThreadpoolIo | ||
| 166 | CloseThreadpoolTimer | ||
| 167 | CloseThreadpoolWait | ||
| 168 | CloseThreadpoolWork | ||
| 169 | CmdBatNotification | ||
| 170 | CommConfigDialogA | ||
| 171 | CommConfigDialogW | ||
| 172 | CompareCalendarDates | ||
| 173 | CompareFileTime | ||
| 174 | CompareStringA | ||
| 175 | CompareStringEx | ||
| 176 | CompareStringOrdinal | ||
| 177 | CompareStringW | ||
| 178 | ConnectNamedPipe | ||
| 179 | ConsoleIMERoutine | ||
| 180 | ConsoleMenuControl | ||
| 181 | ContinueDebugEvent | ||
| 182 | ConvertCalDateTimeToSystemTime | ||
| 183 | ConvertDefaultLocale | ||
| 184 | ConvertFiberToThread | ||
| 185 | ConvertNLSDayOfWeekToWin32DayOfWeek | ||
| 186 | ConvertSystemTimeToCalDateTime | ||
| 187 | ConvertThreadToFiber | ||
| 188 | ConvertThreadToFiberEx | ||
| 189 | CopyContext | ||
| 190 | CopyExtendedContext | ||
| 191 | CopyFile2 | ||
| 192 | CopyFileA | ||
| 193 | CopyFileExA | ||
| 194 | CopyFileExW | ||
| 195 | CopyFileTransactedA | ||
| 196 | CopyFileTransactedW | ||
| 197 | CopyFileW | ||
| 198 | CopyLZFile | ||
| 199 | CreateActCtxA | ||
| 200 | CreateActCtxW | ||
| 201 | CreateActCtxWWorker | ||
| 202 | CreateBoundaryDescriptorA | ||
| 203 | CreateBoundaryDescriptorW | ||
| 204 | CreateConsoleScreenBuffer | ||
| 205 | CreateDirectoryA | ||
| 206 | CreateDirectoryExA | ||
| 207 | CreateDirectoryExW | ||
| 208 | CreateDirectoryTransactedA | ||
| 209 | CreateDirectoryTransactedW | ||
| 210 | CreateDirectoryW | ||
| 211 | CreateEnclave | ||
| 212 | CreateEventA | ||
| 213 | CreateEventExA | ||
| 214 | CreateEventExW | ||
| 215 | CreateEventW | ||
| 216 | CreateFiber | ||
| 217 | CreateFiberEx | ||
| 218 | CreateFile2 | ||
| 219 | CreateFileA | ||
| 220 | CreateFileMappingA | ||
| 221 | CreateFileMappingFromApp | ||
| 222 | CreateFileMappingNumaA | ||
| 223 | CreateFileMappingNumaW | ||
| 224 | CreateFileMappingW | ||
| 225 | CreateFileTransactedA | ||
| 226 | CreateFileTransactedW | ||
| 227 | CreateFileW | ||
| 228 | CreateHardLinkA | ||
| 229 | CreateHardLinkTransactedA | ||
| 230 | CreateHardLinkTransactedW | ||
| 231 | CreateHardLinkW | ||
| 232 | CreateIoCompletionPort | ||
| 233 | CreateIoRing | ||
| 234 | CreateJobObjectA | ||
| 235 | CreateJobObjectW | ||
| 236 | CreateJobSet | ||
| 237 | CreateMailslotA | ||
| 238 | CreateMailslotW | ||
| 239 | CreateMemoryResourceNotification | ||
| 240 | CreateMutexA | ||
| 241 | CreateMutexExA | ||
| 242 | CreateMutexExW | ||
| 243 | CreateMutexW | ||
| 244 | CreateNamedPipeA | ||
| 245 | CreateNamedPipeW | ||
| 246 | CreateNlsSecurityDescriptor | ||
| 247 | CreatePackageVirtualizationContext | ||
| 248 | CreatePipe | ||
| 249 | CreatePrivateNamespaceA | ||
| 250 | CreatePrivateNamespaceW | ||
| 251 | CreateProcessA | ||
| 252 | ; MSDN says these are exported from ADVAPI32.DLL. | ||
| 253 | ; CreateProcessAsUserA | ||
| 254 | ; CreateProcessAsUserW | ||
| 255 | CreateProcessInternalA | ||
| 256 | CreateProcessInternalW | ||
| 257 | CreateProcessW | ||
| 258 | CreatePseudoConsole | ||
| 259 | CreateRemoteThread | ||
| 260 | CreateRemoteThreadEx | ||
| 261 | CreateSemaphoreA | ||
| 262 | CreateSemaphoreExA | ||
| 263 | CreateSemaphoreExW | ||
| 264 | CreateSemaphoreW | ||
| 265 | CreateSymbolicLinkA | ||
| 266 | CreateSymbolicLinkTransactedA | ||
| 267 | CreateSymbolicLinkTransactedW | ||
| 268 | CreateSymbolicLinkW | ||
| 269 | CreateTapePartition | ||
| 270 | CreateThread | ||
| 271 | CreateThreadpool | ||
| 272 | CreateThreadpoolCleanupGroup | ||
| 273 | CreateThreadpoolIo | ||
| 274 | CreateThreadpoolTimer | ||
| 275 | CreateThreadpoolWait | ||
| 276 | CreateThreadpoolWork | ||
| 277 | CreateTimerQueue | ||
| 278 | CreateTimerQueueTimer | ||
| 279 | CreateToolhelp32Snapshot | ||
| 280 | CreateUmsCompletionList | ||
| 281 | CreateUmsThreadContext | ||
| 282 | CreateWaitableTimerA | ||
| 283 | CreateWaitableTimerExA | ||
| 284 | CreateWaitableTimerExW | ||
| 285 | CreateWaitableTimerW | ||
| 286 | CtrlRoutine | ||
| 287 | DeactivateActCtx | ||
| 288 | DeactivateActCtxWorker | ||
| 289 | DeactivatePackageVirtualizationContext | ||
| 290 | DebugActiveProcess | ||
| 291 | DebugActiveProcessStop | ||
| 292 | DebugBreak | ||
| 293 | DebugBreakProcess | ||
| 294 | DebugSetProcessKillOnExit | ||
| 295 | DecodePointer | ||
| 296 | DecodeSystemPointer | ||
| 297 | DefineDosDeviceA | ||
| 298 | DefineDosDeviceW | ||
| 299 | DelayLoadFailureHook | ||
| 300 | DeleteAtom | ||
| 301 | DeleteBoundaryDescriptor | ||
| 302 | DeleteCriticalSection | ||
| 303 | DeleteFiber | ||
| 304 | DeleteFileA | ||
| 305 | DeleteFileTransactedA | ||
| 306 | DeleteFileTransactedW | ||
| 307 | DeleteFileW | ||
| 308 | DeleteProcThreadAttributeList | ||
| 309 | DeleteSynchronizationBarrier | ||
| 310 | DeleteTimerQueue | ||
| 311 | DeleteTimerQueueEx | ||
| 312 | DeleteTimerQueueTimer | ||
| 313 | DeleteUmsCompletionList | ||
| 314 | DeleteUmsThreadContext | ||
| 315 | DeleteVolumeMountPointA | ||
| 316 | DeleteVolumeMountPointW | ||
| 317 | DequeueUmsCompletionListItems | ||
| 318 | DeviceIoControl | ||
| 319 | DisableThreadLibraryCalls | ||
| 320 | DisableThreadProfiling | ||
| 321 | DisassociateCurrentThreadFromCallback | ||
| 322 | DiscardVirtualMemory | ||
| 323 | DisconnectNamedPipe | ||
| 324 | DnsHostnameToComputerNameA | ||
| 325 | DnsHostnameToComputerNameExW | ||
| 326 | DnsHostnameToComputerNameW | ||
| 327 | DosDateTimeToFileTime | ||
| 328 | DosPathToSessionPathA | ||
| 329 | DosPathToSessionPathW | ||
| 330 | DuplicateConsoleHandle | ||
| 331 | DuplicateEncryptionInfoFileExt | ||
| 332 | DuplicateHandle | ||
| 333 | DuplicatePackageVirtualizationContext | ||
| 334 | EnableProcessOptionalXStateFeatures | ||
| 335 | EnableThreadProfiling | ||
| 336 | EncodePointer | ||
| 337 | EncodeSystemPointer | ||
| 338 | EndUpdateResourceA | ||
| 339 | EndUpdateResourceW | ||
| 340 | EnterCriticalSection | ||
| 341 | EnterUmsSchedulingMode | ||
| 342 | EnterSynchronizationBarrier | ||
| 343 | EnumCalendarInfoA | ||
| 344 | EnumCalendarInfoExA | ||
| 345 | EnumCalendarInfoExEx | ||
| 346 | EnumCalendarInfoExW | ||
| 347 | EnumCalendarInfoW | ||
| 348 | EnumDateFormatsA | ||
| 349 | EnumDateFormatsExA | ||
| 350 | EnumDateFormatsExEx | ||
| 351 | EnumDateFormatsExW | ||
| 352 | EnumDateFormatsW | ||
| 353 | EnumLanguageGroupLocalesA | ||
| 354 | EnumLanguageGroupLocalesW | ||
| 355 | EnumResourceLanguagesA | ||
| 356 | EnumResourceLanguagesExA | ||
| 357 | EnumResourceLanguagesExW | ||
| 358 | EnumResourceLanguagesW | ||
| 359 | EnumResourceNamesA | ||
| 360 | EnumResourceNamesExA | ||
| 361 | EnumResourceNamesExW | ||
| 362 | EnumResourceNamesW | ||
| 363 | EnumResourceTypesA | ||
| 364 | EnumResourceTypesExA | ||
| 365 | EnumResourceTypesExW | ||
| 366 | EnumResourceTypesW | ||
| 367 | EnumSystemCodePagesA | ||
| 368 | EnumSystemCodePagesW | ||
| 369 | EnumSystemFirmwareTables | ||
| 370 | EnumSystemGeoID | ||
| 371 | EnumSystemGeoNames | ||
| 372 | EnumSystemLanguageGroupsA | ||
| 373 | EnumSystemLanguageGroupsW | ||
| 374 | EnumSystemLocalesA | ||
| 375 | EnumSystemLocalesEx | ||
| 376 | EnumSystemLocalesW | ||
| 377 | EnumTimeFormatsA | ||
| 378 | EnumTimeFormatsEx | ||
| 379 | EnumTimeFormatsW | ||
| 380 | EnumUILanguagesA | ||
| 381 | EnumUILanguagesW | ||
| 382 | EnumerateLocalComputerNamesA | ||
| 383 | EnumerateLocalComputerNamesW | ||
| 384 | EraseTape | ||
| 385 | EscapeCommFunction | ||
| 386 | ExecuteUmsThread | ||
| 387 | ExitProcess | ||
| 388 | ExitThread | ||
| 389 | ExitVDM | ||
| 390 | ExpandEnvironmentStringsA | ||
| 391 | ExpandEnvironmentStringsW | ||
| 392 | ExpungeConsoleCommandHistoryA | ||
| 393 | ExpungeConsoleCommandHistoryW | ||
| 394 | FatalAppExitA | ||
| 395 | FatalAppExitW | ||
| 396 | FatalExit | ||
| 397 | FileTimeToDosDateTime | ||
| 398 | FileTimeToLocalFileTime | ||
| 399 | FileTimeToSystemTime | ||
| 400 | FillConsoleOutputAttribute | ||
| 401 | FillConsoleOutputCharacterA | ||
| 402 | FillConsoleOutputCharacterW | ||
| 403 | FindActCtxSectionGuid | ||
| 404 | FindActCtxSectionGuidWorker | ||
| 405 | FindActCtxSectionStringA | ||
| 406 | FindActCtxSectionStringW | ||
| 407 | FindActCtxSectionStringWWorker | ||
| 408 | FindAtomA | ||
| 409 | FindAtomW | ||
| 410 | FindClose | ||
| 411 | FindCloseChangeNotification | ||
| 412 | FindFirstChangeNotificationA | ||
| 413 | FindFirstChangeNotificationW | ||
| 414 | FindFirstFileA | ||
| 415 | FindFirstFileExA | ||
| 416 | FindFirstFileExW | ||
| 417 | FindFirstFileNameTransactedW | ||
| 418 | FindFirstFileNameW | ||
| 419 | FindFirstFileTransactedA | ||
| 420 | FindFirstFileTransactedW | ||
| 421 | FindFirstFileW | ||
| 422 | FindFirstStreamTransactedW | ||
| 423 | FindFirstStreamW | ||
| 424 | FindFirstVolumeA | ||
| 425 | FindFirstVolumeMountPointA | ||
| 426 | FindFirstVolumeMountPointW | ||
| 427 | FindFirstVolumeW | ||
| 428 | FindNLSString | ||
| 429 | FindNLSStringEx | ||
| 430 | FindNextChangeNotification | ||
| 431 | FindNextFileA | ||
| 432 | FindNextFileNameW | ||
| 433 | FindNextFileW | ||
| 434 | FindNextStreamW | ||
| 435 | FindNextVolumeA | ||
| 436 | FindNextVolumeMountPointA | ||
| 437 | FindNextVolumeMountPointW | ||
| 438 | FindNextVolumeW | ||
| 439 | FindPackagesByPackageFamily | ||
| 440 | FindResourceA | ||
| 441 | FindResourceExA | ||
| 442 | FindResourceExW | ||
| 443 | FindResourceW | ||
| 444 | FindStringOrdinal | ||
| 445 | FindVolumeClose | ||
| 446 | FindVolumeMountPointClose | ||
| 447 | FlsAlloc | ||
| 448 | FlsFree | ||
| 449 | FlsGetValue | ||
| 450 | FlsGetValue2 | ||
| 451 | FlsSetValue | ||
| 452 | FlushConsoleInputBuffer | ||
| 453 | FlushFileBuffers | ||
| 454 | FlushInstructionCache | ||
| 455 | FlushProcessWriteBuffers | ||
| 456 | FlushViewOfFile | ||
| 457 | FoldStringA | ||
| 458 | FoldStringW | ||
| 459 | FormatApplicationUserModelId | ||
| 460 | FormatMessageA | ||
| 461 | FormatMessageW | ||
| 462 | FreeConsole | ||
| 463 | FreeEnvironmentStringsA | ||
| 464 | FreeEnvironmentStringsW | ||
| 465 | FreeLibrary | ||
| 466 | FreeLibraryAndExitThread | ||
| 467 | FreeLibraryWhenCallbackReturns | ||
| 468 | FreeMemoryJobObject | ||
| 469 | FreeResource | ||
| 470 | FreeUserPhysicalPages | ||
| 471 | GenerateConsoleCtrlEvent | ||
| 472 | GetACP | ||
| 473 | GetActiveProcessorCount | ||
| 474 | GetActiveProcessorGroupCount | ||
| 475 | GetAppContainerAce | ||
| 476 | GetAppContainerNamedObjectPath | ||
| 477 | GetApplicationRecoveryCallback | ||
| 478 | GetApplicationRecoveryCallbackWorker | ||
| 479 | GetApplicationRestartSettings | ||
| 480 | GetApplicationRestartSettingsWorker | ||
| 481 | GetApplicationUserModelId | ||
| 482 | GetAtomNameA | ||
| 483 | GetAtomNameW | ||
| 484 | GetBinaryType | ||
| 485 | GetBinaryTypeA | ||
| 486 | GetBinaryTypeW | ||
| 487 | GetCPFileNameFromRegistry | ||
| 488 | GetCPInfo | ||
| 489 | GetCPInfoExA | ||
| 490 | GetCPInfoExW | ||
| 491 | GetCachedSigningLevel | ||
| 492 | GetCalendarDateFormat | ||
| 493 | GetCalendarDateFormatEx | ||
| 494 | GetCalendarDaysInMonth | ||
| 495 | GetCalendarDifferenceInDays | ||
| 496 | GetCalendarInfoA | ||
| 497 | GetCalendarInfoEx | ||
| 498 | GetCalendarInfoW | ||
| 499 | GetCalendarMonthsInYear | ||
| 500 | GetCalendarSupportedDateRange | ||
| 501 | GetCalendarWeekNumber | ||
| 502 | GetComPlusPackageInstallStatus | ||
| 503 | GetCommConfig | ||
| 504 | GetCommMask | ||
| 505 | GetCommModemStatus | ||
| 506 | GetCommProperties | ||
| 507 | GetCommState | ||
| 508 | GetCommTimeouts | ||
| 509 | GetCommandLineA | ||
| 510 | GetCommandLineW | ||
| 511 | GetCompressedFileSizeA | ||
| 512 | GetCompressedFileSizeTransactedA | ||
| 513 | GetCompressedFileSizeTransactedW | ||
| 514 | GetCompressedFileSizeW | ||
| 515 | GetComputerNameA | ||
| 516 | GetComputerNameExA | ||
| 517 | GetComputerNameExW | ||
| 518 | GetComputerNameW | ||
| 519 | GetConsoleAliasA | ||
| 520 | GetConsoleAliasExesA | ||
| 521 | GetConsoleAliasExesLengthA | ||
| 522 | GetConsoleAliasExesLengthW | ||
| 523 | GetConsoleAliasExesW | ||
| 524 | GetConsoleAliasW | ||
| 525 | GetConsoleAliasesA | ||
| 526 | GetConsoleAliasesLengthA | ||
| 527 | GetConsoleAliasesLengthW | ||
| 528 | GetConsoleAliasesW | ||
| 529 | GetConsoleCP | ||
| 530 | GetConsoleCharType | ||
| 531 | GetConsoleCommandHistoryA | ||
| 532 | GetConsoleCommandHistoryLengthA | ||
| 533 | GetConsoleCommandHistoryLengthW | ||
| 534 | GetConsoleCommandHistoryW | ||
| 535 | GetConsoleCursorInfo | ||
| 536 | GetConsoleCursorMode | ||
| 537 | GetConsoleDisplayMode | ||
| 538 | GetConsoleFontInfo | ||
| 539 | GetConsoleFontSize | ||
| 540 | GetConsoleHardwareState | ||
| 541 | GetConsoleHistoryInfo | ||
| 542 | GetConsoleInputExeNameA | ||
| 543 | GetConsoleInputExeNameW | ||
| 544 | GetConsoleInputWaitHandle | ||
| 545 | GetConsoleKeyboardLayoutNameA | ||
| 546 | GetConsoleKeyboardLayoutNameW | ||
| 547 | GetConsoleMode | ||
| 548 | GetConsoleNlsMode | ||
| 549 | GetConsoleOriginalTitleA | ||
| 550 | GetConsoleOriginalTitleW | ||
| 551 | GetConsoleOutputCP | ||
| 552 | GetConsoleProcessList | ||
| 553 | GetConsoleScreenBufferInfo | ||
| 554 | GetConsoleScreenBufferInfoEx | ||
| 555 | GetConsoleSelectionInfo | ||
| 556 | GetConsoleTitleA | ||
| 557 | GetConsoleTitleW | ||
| 558 | GetConsoleWindow | ||
| 559 | GetCurrencyFormatA | ||
| 560 | GetCurrencyFormatEx | ||
| 561 | GetCurrencyFormatW | ||
| 562 | GetCurrentActCtx | ||
| 563 | GetCurrentActCtxWorker | ||
| 564 | GetCurrentApplicationUserModelId | ||
| 565 | GetCurrentConsoleFont | ||
| 566 | GetCurrentConsoleFontEx | ||
| 567 | GetCurrentDirectoryA | ||
| 568 | GetCurrentDirectoryW | ||
| 569 | GetCurrentPackageFamilyName | ||
| 570 | GetCurrentPackageFullName | ||
| 571 | GetCurrentPackageId | ||
| 572 | GetCurrentPackageInfo | ||
| 573 | GetCurrentPackagePath | ||
| 574 | GetCurrentPackageVirtualizationContext | ||
| 575 | GetCurrentProcess | ||
| 576 | GetCurrentProcessId | ||
| 577 | GetCurrentProcessorNumber | ||
| 578 | GetCurrentProcessorNumberEx | ||
| 579 | GetCurrentThread | ||
| 580 | GetCurrentThreadId | ||
| 581 | GetCurrentThreadStackLimits | ||
| 582 | GetCurrentUmsThread | ||
| 583 | GetDateFormatA | ||
| 584 | GetDateFormatAWorker | ||
| 585 | GetDateFormatEx | ||
| 586 | GetDateFormatW | ||
| 587 | GetDateFormatWWorker | ||
| 588 | GetDefaultCommConfigA | ||
| 589 | GetDefaultCommConfigW | ||
| 590 | GetDefaultSortkeySize | ||
| 591 | GetDevicePowerState | ||
| 592 | GetDiskFreeSpaceA | ||
| 593 | GetDiskFreeSpaceExA | ||
| 594 | GetDiskFreeSpaceExW | ||
| 595 | GetDiskFreeSpaceW | ||
| 596 | GetDiskSpaceInformationA | ||
| 597 | GetDiskSpaceInformationW | ||
| 598 | GetDllDirectoryA | ||
| 599 | GetDllDirectoryW | ||
| 600 | GetDriveTypeA | ||
| 601 | GetDriveTypeW | ||
| 602 | GetDurationFormat | ||
| 603 | GetDurationFormatEx | ||
| 604 | GetDynamicTimeZoneInformation | ||
| 605 | GetEnabledExtendedFeatures | ||
| 606 | GetEnabledXStateFeatures | ||
| 607 | GetEncryptedFileVersionExt | ||
| 608 | GetEnvironmentStrings | ||
| 609 | GetEnvironmentStringsA | ||
| 610 | GetEnvironmentStringsW | ||
| 611 | GetEnvironmentVariableA | ||
| 612 | GetEnvironmentVariableW | ||
| 613 | GetEraNameCountedString | ||
| 614 | GetErrorMode | ||
| 615 | GetExitCodeProcess | ||
| 616 | GetExitCodeThread | ||
| 617 | GetExpandedNameA | ||
| 618 | GetExpandedNameW | ||
| 619 | GetExtendedContextLength | ||
| 620 | GetExtendedFeaturesMask | ||
| 621 | GetFileAttributesA | ||
| 622 | GetFileAttributesExA | ||
| 623 | GetFileAttributesExW | ||
| 624 | GetFileAttributesTransactedA | ||
| 625 | GetFileAttributesTransactedW | ||
| 626 | GetFileAttributesW | ||
| 627 | GetFileBandwidthReservation | ||
| 628 | GetFileInformationByHandle | ||
| 629 | GetFileInformationByHandleEx | ||
| 630 | GetFileInformationByName | ||
| 631 | GetFileMUIInfo | ||
| 632 | GetFileMUIPath | ||
| 633 | GetFileSize | ||
| 634 | GetFileSizeEx | ||
| 635 | GetFileTime | ||
| 636 | GetFileType | ||
| 637 | GetFinalPathNameByHandleA | ||
| 638 | GetFinalPathNameByHandleW | ||
| 639 | GetFirmwareEnvironmentVariableA | ||
| 640 | GetFirmwareEnvironmentVariableExA | ||
| 641 | GetFirmwareEnvironmentVariableExW | ||
| 642 | GetFirmwareEnvironmentVariableW | ||
| 643 | GetFirmwareType | ||
| 644 | GetFullPathNameA | ||
| 645 | GetFullPathNameTransactedA | ||
| 646 | GetFullPathNameTransactedW | ||
| 647 | GetFullPathNameW | ||
| 648 | GetGeoInfoA | ||
| 649 | GetGeoInfoW | ||
| 650 | GetGeoInfoEx | ||
| 651 | GetHandleInformation | ||
| 652 | GetIoRingInfo | ||
| 653 | GetLargePageMinimum | ||
| 654 | GetLargestConsoleWindowSize | ||
| 655 | GetLastError | ||
| 656 | GetLinguistLangSize | ||
| 657 | GetLocalTime | ||
| 658 | GetLocaleInfoA | ||
| 659 | GetLocaleInfoEx | ||
| 660 | GetLocaleInfoW | ||
| 661 | GetLogicalDriveStringsA | ||
| 662 | GetLogicalDriveStringsW | ||
| 663 | GetLogicalDrives | ||
| 664 | GetLogicalProcessorInformation | ||
| 665 | GetLogicalProcessorInformationEx | ||
| 666 | GetLongPathNameA | ||
| 667 | GetLongPathNameTransactedA | ||
| 668 | GetLongPathNameTransactedW | ||
| 669 | GetLongPathNameW | ||
| 670 | GetMachineTypeAttributes | ||
| 671 | GetMailslotInfo | ||
| 672 | GetMaximumProcessorCount | ||
| 673 | GetMaximumProcessorGroupCount | ||
| 674 | GetMemoryErrorHandlingCapabilities | ||
| 675 | GetModuleFileNameA | ||
| 676 | GetModuleFileNameW | ||
| 677 | GetModuleHandleA | ||
| 678 | GetModuleHandleExA | ||
| 679 | GetModuleHandleExW | ||
| 680 | GetModuleHandleW | ||
| 681 | GetNLSVersion | ||
| 682 | GetNLSVersionEx | ||
| 683 | GetNamedPipeAttribute | ||
| 684 | GetNamedPipeClientComputerNameA | ||
| 685 | GetNamedPipeClientComputerNameW | ||
| 686 | GetNamedPipeClientProcessId | ||
| 687 | GetNamedPipeClientSessionId | ||
| 688 | GetNamedPipeHandleStateA | ||
| 689 | GetNamedPipeHandleStateW | ||
| 690 | GetNamedPipeInfo | ||
| 691 | GetNamedPipeServerProcessId | ||
| 692 | GetNamedPipeServerSessionId | ||
| 693 | GetNativeSystemInfo | ||
| 694 | GetNextUmsListItem | ||
| 695 | GetNextVDMCommand | ||
| 696 | GetNlsSectionName | ||
| 697 | GetNumaAvailableMemoryNode | ||
| 698 | GetNumaAvailableMemoryNodeEx | ||
| 699 | GetNumaHighestNodeNumber | ||
| 700 | GetNumaNodeNumberFromHandle | ||
| 701 | GetNumaNodeProcessorMask | ||
| 702 | GetNumaNodeProcessorMask2 | ||
| 703 | GetNumaNodeProcessorMaskEx | ||
| 704 | GetNumaProcessorNode | ||
| 705 | GetNumaProcessorNodeEx | ||
| 706 | GetNumaProximityNode | ||
| 707 | GetNumaProximityNodeEx | ||
| 708 | GetNumberFormatA | ||
| 709 | GetNumberFormatEx | ||
| 710 | GetNumberFormatW | ||
| 711 | GetNumberOfConsoleFonts | ||
| 712 | GetNumberOfConsoleInputEvents | ||
| 713 | GetNumberOfConsoleMouseButtons | ||
| 714 | GetOEMCP | ||
| 715 | GetOverlappedResult | ||
| 716 | GetOverlappedResultEx | ||
| 717 | GetPackageApplicationIds | ||
| 718 | GetPackageFamilyName | ||
| 719 | GetPackageFullName | ||
| 720 | GetPackageId | ||
| 721 | GetPackageInfo | ||
| 722 | GetPackagePath | ||
| 723 | GetPackagePathByFullName | ||
| 724 | GetPackagesByPackageFamily | ||
| 725 | GetPhysicallyInstalledSystemMemory | ||
| 726 | GetPriorityClass | ||
| 727 | GetPrivateProfileIntA | ||
| 728 | GetPrivateProfileIntW | ||
| 729 | GetPrivateProfileSectionA | ||
| 730 | GetPrivateProfileSectionNamesA | ||
| 731 | GetPrivateProfileSectionNamesW | ||
| 732 | GetPrivateProfileSectionW | ||
| 733 | GetPrivateProfileStringA | ||
| 734 | GetPrivateProfileStringW | ||
| 735 | GetPrivateProfileStructA | ||
| 736 | GetPrivateProfileStructW | ||
| 737 | GetProcAddress | ||
| 738 | GetProcessAffinityMask | ||
| 739 | GetProcessDefaultCpuSetMasks | ||
| 740 | GetProcessDefaultCpuSets | ||
| 741 | GetProcessDEPPolicy | ||
| 742 | GetProcessGroupAffinity | ||
| 743 | GetProcessHandleCount | ||
| 744 | GetProcessHeap | ||
| 745 | GetProcessHeaps | ||
| 746 | GetProcessId | ||
| 747 | GetProcessIdOfThread | ||
| 748 | GetProcessInformation | ||
| 749 | GetProcessIoCounters | ||
| 750 | GetProcessMitigationPolicy | ||
| 751 | GetProcessPreferredUILanguages | ||
| 752 | GetProcessPriorityBoost | ||
| 753 | GetProcessShutdownParameters | ||
| 754 | GetProcessTimes | ||
| 755 | GetProcessVersion | ||
| 756 | GetProcessWorkingSetSize | ||
| 757 | GetProcessWorkingSetSizeEx | ||
| 758 | GetProcessesInVirtualizationContext | ||
| 759 | GetProcessorSystemCycleTime | ||
| 760 | GetProductInfo | ||
| 761 | GetProfileIntA | ||
| 762 | GetProfileIntW | ||
| 763 | GetProfileSectionA | ||
| 764 | GetProfileSectionW | ||
| 765 | GetProfileStringA | ||
| 766 | GetProfileStringW | ||
| 767 | GetQueuedCompletionStatus | ||
| 768 | GetQueuedCompletionStatusEx | ||
| 769 | GetShortPathNameA | ||
| 770 | GetShortPathNameW | ||
| 771 | GetStagedPackagePathByFullName | ||
| 772 | GetStartupInfoA | ||
| 773 | GetStartupInfoW | ||
| 774 | GetStateFolder | ||
| 775 | GetStdHandle | ||
| 776 | GetStringScripts | ||
| 777 | GetStringTypeA | ||
| 778 | GetStringTypeExA | ||
| 779 | GetStringTypeExW | ||
| 780 | GetStringTypeW | ||
| 781 | GetSystemAppDataKey | ||
| 782 | GetSystemCpuSetInformation | ||
| 783 | GetSystemDEPPolicy | ||
| 784 | GetSystemDefaultLCID | ||
| 785 | GetSystemDefaultLangID | ||
| 786 | GetSystemDefaultLocaleName | ||
| 787 | GetSystemDefaultUILanguage | ||
| 788 | GetSystemDirectoryA | ||
| 789 | GetSystemDirectoryW | ||
| 790 | GetSystemFileCacheSize | ||
| 791 | GetSystemFirmwareTable | ||
| 792 | GetSystemInfo | ||
| 793 | GetSystemPowerStatus | ||
| 794 | GetSystemPreferredUILanguages | ||
| 795 | GetSystemRegistryQuota | ||
| 796 | GetSystemTime | ||
| 797 | GetSystemTimeAdjustment | ||
| 798 | GetSystemTimeAsFileTime | ||
| 799 | GetSystemTimePreciseAsFileTime | ||
| 800 | GetSystemTimes | ||
| 801 | GetSystemWindowsDirectoryA | ||
| 802 | GetSystemWindowsDirectoryW | ||
| 803 | GetSystemWow64DirectoryA | ||
| 804 | GetSystemWow64DirectoryW | ||
| 805 | GetTapeParameters | ||
| 806 | GetTapePosition | ||
| 807 | GetTapeStatus | ||
| 808 | GetTempFileNameA | ||
| 809 | GetTempFileNameW | ||
| 810 | GetTempPathA | ||
| 811 | GetTempPathW | ||
| 812 | GetTempPath2A | ||
| 813 | GetTempPath2W | ||
| 814 | GetThreadContext | ||
| 815 | GetThreadDescription | ||
| 816 | GetThreadEnabledXStateFeatures | ||
| 817 | GetThreadErrorMode | ||
| 818 | GetThreadGroupAffinity | ||
| 819 | GetThreadIOPendingFlag | ||
| 820 | GetThreadId | ||
| 821 | GetThreadIdealProcessorEx | ||
| 822 | GetThreadInformation | ||
| 823 | GetThreadLocale | ||
| 824 | GetThreadPreferredUILanguages | ||
| 825 | GetThreadPriority | ||
| 826 | GetThreadPriorityBoost | ||
| 827 | GetThreadSelectedCpuSetMasks | ||
| 828 | GetThreadSelectedCpuSets | ||
| 829 | GetThreadSelectorEntry | ||
| 830 | GetThreadTimes | ||
| 831 | GetThreadUILanguage | ||
| 832 | GetTickCount | ||
| 833 | GetTickCount64 | ||
| 834 | GetTimeFormatA | ||
| 835 | GetTimeFormatAWorker | ||
| 836 | GetTimeFormatEx | ||
| 837 | GetTimeFormatW | ||
| 838 | GetTimeFormatWWorker | ||
| 839 | GetTimeZoneInformation | ||
| 840 | GetTimeZoneInformationForYear | ||
| 841 | GetUILanguageInfo | ||
| 842 | GetUmsCompletionListEvent | ||
| 843 | GetUmsSystemThreadInformation | ||
| 844 | GetUserDefaultGeoName | ||
| 845 | GetUserDefaultLCID | ||
| 846 | GetUserDefaultLangID | ||
| 847 | GetUserDefaultLocaleName | ||
| 848 | GetUserDefaultUILanguage | ||
| 849 | GetUserGeoID | ||
| 850 | GetUserPreferredUILanguages | ||
| 851 | GetVDMCurrentDirectories | ||
| 852 | GetVersion | ||
| 853 | GetVersionExA | ||
| 854 | GetVersionExW | ||
| 855 | GetVolumeInformationA | ||
| 856 | GetVolumeInformationByHandleW | ||
| 857 | GetVolumeInformationW | ||
| 858 | GetVolumeNameForVolumeMountPointA | ||
| 859 | GetVolumeNameForVolumeMountPointW | ||
| 860 | GetVolumePathNameA | ||
| 861 | GetVolumePathNameW | ||
| 862 | GetVolumePathNamesForVolumeNameA | ||
| 863 | GetVolumePathNamesForVolumeNameW | ||
| 864 | GetWindowsDirectoryA | ||
| 865 | GetWindowsDirectoryW | ||
| 866 | GetWriteWatch | ||
| 867 | GetXStateFeaturesMask | ||
| 868 | GlobalAddAtomA | ||
| 869 | GlobalAddAtomExA | ||
| 870 | GlobalAddAtomExW | ||
| 871 | GlobalAddAtomW | ||
| 872 | GlobalAlloc | ||
| 873 | GlobalCompact | ||
| 874 | GlobalDeleteAtom | ||
| 875 | GlobalFindAtomA | ||
| 876 | GlobalFindAtomW | ||
| 877 | GlobalFix | ||
| 878 | GlobalFlags | ||
| 879 | GlobalFree | ||
| 880 | GlobalGetAtomNameA | ||
| 881 | GlobalGetAtomNameW | ||
| 882 | GlobalHandle | ||
| 883 | GlobalLock | ||
| 884 | GlobalMemoryStatus | ||
| 885 | GlobalMemoryStatusEx | ||
| 886 | GlobalReAlloc | ||
| 887 | GlobalSize | ||
| 888 | GlobalUnWire | ||
| 889 | GlobalUnfix | ||
| 890 | GlobalUnlock | ||
| 891 | GlobalWire | ||
| 892 | Heap32First | ||
| 893 | Heap32ListFirst | ||
| 894 | Heap32ListNext | ||
| 895 | Heap32Next | ||
| 896 | HeapAlloc | ||
| 897 | HeapCompact | ||
| 898 | HeapCreate | ||
| 899 | HeapCreateTagsW | ||
| 900 | HeapDestroy | ||
| 901 | HeapExtend | ||
| 902 | HeapFree | ||
| 903 | HeapLock | ||
| 904 | HeapQueryInformation | ||
| 905 | HeapQueryTagW | ||
| 906 | HeapReAlloc | ||
| 907 | HeapSetInformation | ||
| 908 | HeapSize | ||
| 909 | HeapSummary | ||
| 910 | HeapUnlock | ||
| 911 | HeapUsage | ||
| 912 | HeapValidate | ||
| 913 | HeapWalk | ||
| 914 | IdnToAscii | ||
| 915 | IdnToNameprepUnicode | ||
| 916 | IdnToUnicode | ||
| 917 | InitAtomTable | ||
| 918 | InitOnceBeginInitialize | ||
| 919 | InitOnceComplete | ||
| 920 | InitOnceExecuteOnce | ||
| 921 | InitOnceInitialize | ||
| 922 | InitializeConditionVariable | ||
| 923 | InitializeContext | ||
| 924 | InitializeContext2 | ||
| 925 | InitializeCriticalSection | ||
| 926 | InitializeCriticalSectionAndSpinCount | ||
| 927 | InitializeCriticalSectionEx | ||
| 928 | InitializeEnclave | ||
| 929 | InitializeExtendedContext | ||
| 930 | InitializeProcThreadAttributeList | ||
| 931 | InitializeSListHead | ||
| 932 | InitializeSRWLock | ||
| 933 | InitializeSynchronizationBarrier | ||
| 934 | InstallELAMCertificateInfo | ||
| 935 | InterlockedFlushSList | ||
| 936 | InterlockedPopEntrySList | ||
| 937 | InterlockedPushEntrySList | ||
| 938 | InterlockedPushListSList | ||
| 939 | InterlockedPushListSListEx | ||
| 940 | InvalidateConsoleDIBits | ||
| 941 | IsBadCodePtr | ||
| 942 | IsBadHugeReadPtr | ||
| 943 | IsBadHugeWritePtr | ||
| 944 | IsBadReadPtr | ||
| 945 | IsBadStringPtrA | ||
| 946 | IsBadStringPtrW | ||
| 947 | IsBadWritePtr | ||
| 948 | IsCalendarLeapDay | ||
| 949 | IsCalendarLeapMonth | ||
| 950 | IsCalendarLeapYear | ||
| 951 | IsDBCSLeadByte | ||
| 952 | IsDBCSLeadByteEx | ||
| 953 | IsDebuggerPresent | ||
| 954 | IsEnclaveTypeSupported | ||
| 955 | IsIoRingOpSupported | ||
| 956 | IsNLSDefinedString | ||
| 957 | IsNativeVhdBoot | ||
| 958 | IsNormalizedString | ||
| 959 | IsProcessCritical | ||
| 960 | IsProcessInJob | ||
| 961 | IsProcessorFeaturePresent | ||
| 962 | IsSystemResumeAutomatic | ||
| 963 | IsThreadAFiber | ||
| 964 | IsThreadpoolTimerSet | ||
| 965 | IsTimeZoneRedirectionEnabled | ||
| 966 | IsUserCetAvailableInEnvironment | ||
| 967 | IsValidCalDateTime | ||
| 968 | IsValidCodePage | ||
| 969 | IsValidLanguageGroup | ||
| 970 | IsValidLocale | ||
| 971 | IsValidUILanguage | ||
| 972 | IsValidLocaleName | ||
| 973 | IsValidNLSVersion | ||
| 974 | IsWow64GuestMachineSupported | ||
| 975 | IsWow64Process | ||
| 976 | IsWow64Process2 | ||
| 977 | K32EmptyWorkingSet | ||
| 978 | K32EnumDeviceDrivers | ||
| 979 | K32EnumPageFilesA | ||
| 980 | K32EnumPageFilesW | ||
| 981 | K32EnumProcessModules | ||
| 982 | K32EnumProcessModulesEx | ||
| 983 | K32EnumProcesses | ||
| 984 | K32GetDeviceDriverBaseNameA | ||
| 985 | K32GetDeviceDriverBaseNameW | ||
| 986 | K32GetDeviceDriverFileNameA | ||
| 987 | K32GetDeviceDriverFileNameW | ||
| 988 | K32GetMappedFileNameA | ||
| 989 | K32GetMappedFileNameW | ||
| 990 | K32GetModuleBaseNameA | ||
| 991 | K32GetModuleBaseNameW | ||
| 992 | K32GetModuleFileNameExA | ||
| 993 | K32GetModuleFileNameExW | ||
| 994 | K32GetModuleInformation | ||
| 995 | K32GetPerformanceInfo | ||
| 996 | K32GetProcessImageFileNameA | ||
| 997 | K32GetProcessImageFileNameW | ||
| 998 | K32GetProcessMemoryInfo | ||
| 999 | K32GetWsChanges | ||
| 1000 | K32GetWsChangesEx | ||
| 1001 | K32InitializeProcessForWsWatch | ||
| 1002 | K32QueryWorkingSet | ||
| 1003 | K32QueryWorkingSetEx | ||
| 1004 | LCIDToLocaleName | ||
| 1005 | LCMapStringA | ||
| 1006 | LCMapStringEx | ||
| 1007 | LCMapStringW | ||
| 1008 | LZClose | ||
| 1009 | LZCloseFile | ||
| 1010 | LZCopy | ||
| 1011 | LZCreateFileW | ||
| 1012 | LZDone | ||
| 1013 | LZInit | ||
| 1014 | LZOpenFileA | ||
| 1015 | LZOpenFileW | ||
| 1016 | LZRead | ||
| 1017 | LZSeek | ||
| 1018 | LZStart | ||
| 1019 | LeaveCriticalSection | ||
| 1020 | LeaveCriticalSectionWhenCallbackReturns | ||
| 1021 | LoadAppInitDlls | ||
| 1022 | LoadEnclaveData | ||
| 1023 | LoadLibraryA | ||
| 1024 | LoadLibraryExA | ||
| 1025 | LoadLibraryExW | ||
| 1026 | LoadLibraryW | ||
| 1027 | LoadModule | ||
| 1028 | LoadPackagedLibrary | ||
| 1029 | LoadResource | ||
| 1030 | LoadStringBaseExW | ||
| 1031 | LoadStringBaseW | ||
| 1032 | LocalAlloc | ||
| 1033 | LocalCompact | ||
| 1034 | LocalFileTimeToFileTime | ||
| 1035 | LocalFileTimeToLocalSystemTime | ||
| 1036 | LocalFlags | ||
| 1037 | LocalFree | ||
| 1038 | LocalHandle | ||
| 1039 | LocalLock | ||
| 1040 | LocalReAlloc | ||
| 1041 | LocalShrink | ||
| 1042 | LocalSize | ||
| 1043 | LocalSystemTimeToLocalFileTime | ||
| 1044 | LocalUnlock | ||
| 1045 | LocaleNameToLCID | ||
| 1046 | LocateExtendedFeature | ||
| 1047 | LocateLegacyContext | ||
| 1048 | LocateXStateFeature | ||
| 1049 | LockFile | ||
| 1050 | LockFileEx | ||
| 1051 | LockResource | ||
| 1052 | MapUserPhysicalPages | ||
| 1053 | MapUserPhysicalPagesScatter | ||
| 1054 | MapViewOfFile | ||
| 1055 | MapViewOfFileEx | ||
| 1056 | MapViewOfFileExNuma | ||
| 1057 | MapViewOfFileFromApp | ||
| 1058 | Module32First | ||
| 1059 | Module32FirstW | ||
| 1060 | Module32Next | ||
| 1061 | Module32NextW | ||
| 1062 | MoveFileA | ||
| 1063 | MoveFileExA | ||
| 1064 | MoveFileExW | ||
| 1065 | MoveFileTransactedA | ||
| 1066 | MoveFileTransactedW | ||
| 1067 | MoveFileW | ||
| 1068 | MoveFileWithProgressA | ||
| 1069 | MoveFileWithProgressW | ||
| 1070 | MulDiv | ||
| 1071 | MultiByteToWideChar | ||
| 1072 | NeedCurrentDirectoryForExePathA | ||
| 1073 | NeedCurrentDirectoryForExePathW | ||
| 1074 | NlsConvertIntegerToString | ||
| 1075 | NlsCheckPolicy | ||
| 1076 | NlsEventDataDescCreate | ||
| 1077 | NlsGetCacheUpdateCount | ||
| 1078 | NlsUpdateLocale | ||
| 1079 | NlsUpdateSystemLocale | ||
| 1080 | NlsResetProcessLocale | ||
| 1081 | NlsWriteEtwEvent | ||
| 1082 | NormalizeString | ||
| 1083 | NotifyMountMgr | ||
| 1084 | NotifyUILanguageChange | ||
| 1085 | NtVdm64CreateProcessInternalW | ||
| 1086 | OOBEComplete | ||
| 1087 | OfferVirtualMemory | ||
| 1088 | OpenConsoleW | ||
| 1089 | OpenConsoleWStub | ||
| 1090 | OpenDataFile | ||
| 1091 | OpenEventA | ||
| 1092 | OpenEventW | ||
| 1093 | OpenFile | ||
| 1094 | OpenFileById | ||
| 1095 | OpenFileMappingA | ||
| 1096 | OpenFileMappingW | ||
| 1097 | OpenJobObjectA | ||
| 1098 | OpenJobObjectW | ||
| 1099 | OpenMutexA | ||
| 1100 | OpenMutexW | ||
| 1101 | OpenPackageInfoByFullName | ||
| 1102 | OpenPrivateNamespaceA | ||
| 1103 | OpenPrivateNamespaceW | ||
| 1104 | OpenProcess | ||
| 1105 | ; MSDN says OpenProcessToken is from Advapi32.dll, not Kernel32.dll | ||
| 1106 | ; OpenProcessToken | ||
| 1107 | OpenProfileUserMapping | ||
| 1108 | OpenSemaphoreA | ||
| 1109 | OpenSemaphoreW | ||
| 1110 | OpenState | ||
| 1111 | OpenStateExplicit | ||
| 1112 | OpenThread | ||
| 1113 | ; MSDN says this is exported from ADVAPI32.DLL. | ||
| 1114 | ; OpenThreadToken | ||
| 1115 | OpenWaitableTimerA | ||
| 1116 | OpenWaitableTimerW | ||
| 1117 | OutputDebugStringA | ||
| 1118 | OutputDebugStringW | ||
| 1119 | PackageFamilyNameFromFullName | ||
| 1120 | PackageFamilyNameFromId | ||
| 1121 | PackageFullNameFromId | ||
| 1122 | PackageIdFromFullName | ||
| 1123 | PackageNameAndPublisherIdFromFamilyName | ||
| 1124 | ParseApplicationUserModelId | ||
| 1125 | PeekConsoleInputA | ||
| 1126 | PeekConsoleInputW | ||
| 1127 | PeekNamedPipe | ||
| 1128 | PopIoRingCompletion | ||
| 1129 | PostQueuedCompletionStatus | ||
| 1130 | PowerClearRequest | ||
| 1131 | PowerCreateRequest | ||
| 1132 | PowerSetRequest | ||
| 1133 | PrefetchVirtualMemory | ||
| 1134 | PrepareTape | ||
| 1135 | PrivCopyFileExW | ||
| 1136 | PrivMoveFileIdentityW | ||
| 1137 | Process32First | ||
| 1138 | Process32FirstW | ||
| 1139 | Process32Next | ||
| 1140 | Process32NextW | ||
| 1141 | ProcessIdToSessionId | ||
| 1142 | PssCaptureSnapshot | ||
| 1143 | PssDuplicateSnapshot | ||
| 1144 | PssFreeSnapshot | ||
| 1145 | PssQuerySnapshot | ||
| 1146 | PssWalkMarkerCreate | ||
| 1147 | PssWalkMarkerFree | ||
| 1148 | PssWalkMarkerGetPosition | ||
| 1149 | PssWalkMarkerRewind | ||
| 1150 | PssWalkMarkerSeek | ||
| 1151 | PssWalkMarkerSeekToBeginning | ||
| 1152 | PssWalkMarkerSetPosition | ||
| 1153 | PssWalkMarkerTell | ||
| 1154 | PssWalkSnapshot | ||
| 1155 | PulseEvent | ||
| 1156 | PurgeComm | ||
| 1157 | QueryActCtxSettingsW | ||
| 1158 | QueryActCtxSettingsWWorker | ||
| 1159 | QueryActCtxW | ||
| 1160 | QueryActCtxWWorker | ||
| 1161 | QueryDepthSList | ||
| 1162 | QueryDosDeviceA | ||
| 1163 | QueryDosDeviceW | ||
| 1164 | QueryFullProcessImageNameA | ||
| 1165 | QueryFullProcessImageNameW | ||
| 1166 | QueryIdleProcessorCycleTime | ||
| 1167 | QueryIdleProcessorCycleTimeEx | ||
| 1168 | QueryInformationJobObject | ||
| 1169 | QueryIoRateControlInformationJobObject | ||
| 1170 | QueryIoRingCapabilities | ||
| 1171 | QueryMemoryResourceNotification | ||
| 1172 | QueryPerformanceCounter | ||
| 1173 | QueryPerformanceFrequency | ||
| 1174 | QueryProcessAffinityUpdateMode | ||
| 1175 | QueryProcessCycleTime | ||
| 1176 | QueryProtectedPolicy | ||
| 1177 | QueryThreadCycleTime | ||
| 1178 | QueryThreadProfiling | ||
| 1179 | QueryThreadpoolStackInformation | ||
| 1180 | QueryUmsThreadInformation | ||
| 1181 | QueryUnbiasedInterruptTime | ||
| 1182 | QueueUserAPC | ||
| 1183 | QueueUserAPC2 | ||
| 1184 | QueueUserWorkItem | ||
| 1185 | QuirkGetData2Worker | ||
| 1186 | QuirkGetDataWorker | ||
| 1187 | QuirkIsEnabled2Worker | ||
| 1188 | QuirkIsEnabled3Worker | ||
| 1189 | QuirkIsEnabledForPackage2Worker | ||
| 1190 | QuirkIsEnabledForPackage3Worker | ||
| 1191 | QuirkIsEnabledForPackage4Worker | ||
| 1192 | QuirkIsEnabledForPackageWorker | ||
| 1193 | QuirkIsEnabledForProcessWorker | ||
| 1194 | QuirkIsEnabledWorker | ||
| 1195 | RaiseException | ||
| 1196 | RaiseFailFastException | ||
| 1197 | RaiseInvalid16BitExeError | ||
| 1198 | ReOpenFile | ||
| 1199 | ReclaimVirtualMemory | ||
| 1200 | ReadConsoleA | ||
| 1201 | ReadConsoleInputA | ||
| 1202 | ReadConsoleInputExA | ||
| 1203 | ReadConsoleInputExW | ||
| 1204 | ReadConsoleInputW | ||
| 1205 | ReadConsoleOutputA | ||
| 1206 | ReadConsoleOutputAttribute | ||
| 1207 | ReadConsoleOutputCharacterA | ||
| 1208 | ReadConsoleOutputCharacterW | ||
| 1209 | ReadConsoleOutputW | ||
| 1210 | ReadConsoleW | ||
| 1211 | ReadDirectoryChangesExW | ||
| 1212 | ReadDirectoryChangesW | ||
| 1213 | ReadFile | ||
| 1214 | ReadFileEx | ||
| 1215 | ReadFileScatter | ||
| 1216 | ReadProcessMemory | ||
| 1217 | ReadThreadProfilingData | ||
| 1218 | ; | ||
| 1219 | ; MSDN says these functions are exported | ||
| 1220 | ; from advapi32.dll. Commented out for | ||
| 1221 | ; compatibility with older versions of | ||
| 1222 | ; Windows. | ||
| 1223 | ; | ||
| 1224 | ; RegKrnGetGlobalState and RegKrnInitialize | ||
| 1225 | ; are known exceptions. | ||
| 1226 | ; | ||
| 1227 | ;RegCloseKey | ||
| 1228 | ;RegCopyTreeW | ||
| 1229 | ;RegCreateKeyExA | ||
| 1230 | ;RegCreateKeyExW | ||
| 1231 | ;RegDeleteKeyExA | ||
| 1232 | ;RegDeleteKeyExW | ||
| 1233 | ;RegDeleteTreeA | ||
| 1234 | ;RegDeleteTreeW | ||
| 1235 | ;RegDeleteValueA | ||
| 1236 | ;RegDeleteValueW | ||
| 1237 | ;RegDisablePredefinedCacheEx | ||
| 1238 | ;RegEnumKeyExA | ||
| 1239 | ;RegEnumKeyExW | ||
| 1240 | ;RegEnumValueA | ||
| 1241 | ;RegEnumValueW | ||
| 1242 | ;RegFlushKey | ||
| 1243 | ;RegGetKeySecurity | ||
| 1244 | ;RegGetValueA | ||
| 1245 | ;RegGetValueW | ||
| 1246 | RegKrnGetGlobalState | ||
| 1247 | RegKrnInitialize | ||
| 1248 | ;RegLoadKeyA | ||
| 1249 | ;RegLoadKeyW | ||
| 1250 | ;RegLoadMUIStringA | ||
| 1251 | ;RegLoadMUIStringW | ||
| 1252 | ;RegNotifyChangeKeyValue | ||
| 1253 | ;RegOpenCurrentUser | ||
| 1254 | ;RegOpenKeyExA | ||
| 1255 | ;RegOpenKeyExW | ||
| 1256 | ;RegOpenUserClassesRoot | ||
| 1257 | ;RegQueryInfoKeyA | ||
| 1258 | ;RegQueryInfoKeyW | ||
| 1259 | ;RegQueryValueExA | ||
| 1260 | ;RegQueryValueExW | ||
| 1261 | ;RegRestoreKeyA | ||
| 1262 | ;RegRestoreKeyW | ||
| 1263 | ;RegSaveKeyExA | ||
| 1264 | ;RegSaveKeyExW | ||
| 1265 | ;RegSetKeySecurity | ||
| 1266 | ;RegSetValueExA | ||
| 1267 | ;RegSetValueExW | ||
| 1268 | ;RegUnLoadKeyA | ||
| 1269 | ;RegUnLoadKeyW | ||
| 1270 | RegisterApplicationRecoveryCallback | ||
| 1271 | RegisterApplicationRestart | ||
| 1272 | RegisterBadMemoryNotification | ||
| 1273 | RegisterConsoleIME | ||
| 1274 | RegisterConsoleOS2 | ||
| 1275 | RegisterConsoleVDM | ||
| 1276 | RegisterWaitForInputIdle | ||
| 1277 | RegisterWaitForSingleObject | ||
| 1278 | RegisterWaitForSingleObjectEx | ||
| 1279 | RegisterWaitUntilOOBECompleted | ||
| 1280 | RegisterWowBaseHandlers | ||
| 1281 | RegisterWowExec | ||
| 1282 | ReleaseActCtx | ||
| 1283 | ReleaseActCtxWorker | ||
| 1284 | ReleaseMutex | ||
| 1285 | ReleaseMutexWhenCallbackReturns | ||
| 1286 | ReleasePackageVirtualizationContext | ||
| 1287 | ReleasePseudoConsole | ||
| 1288 | ReleaseSRWLockExclusive | ||
| 1289 | ReleaseSRWLockShared | ||
| 1290 | ReleaseSemaphore | ||
| 1291 | ReleaseSemaphoreWhenCallbackReturns | ||
| 1292 | RemoveDirectoryA | ||
| 1293 | RemoveDirectoryTransactedA | ||
| 1294 | RemoveDirectoryTransactedW | ||
| 1295 | RemoveDirectoryW | ||
| 1296 | RemoveDllDirectory | ||
| 1297 | RemoveLocalAlternateComputerNameA | ||
| 1298 | RemoveLocalAlternateComputerNameW | ||
| 1299 | RemoveSecureMemoryCacheCallback | ||
| 1300 | RemoveVectoredContinueHandler | ||
| 1301 | RemoveVectoredExceptionHandler | ||
| 1302 | ReplaceFile | ||
| 1303 | ReplaceFileA | ||
| 1304 | ReplaceFileW | ||
| 1305 | ReplacePartitionUnit | ||
| 1306 | RequestDeviceWakeup | ||
| 1307 | RequestWakeupLatency | ||
| 1308 | ResetEvent | ||
| 1309 | ResetWriteWatch | ||
| 1310 | ResizePseudoConsole | ||
| 1311 | ResolveDelayLoadedAPI | ||
| 1312 | ResolveDelayLoadsFromDll | ||
| 1313 | ResolveLocaleName | ||
| 1314 | RestoreLastError | ||
| 1315 | ResumeThread | ||
| 1316 | RtlAddFunctionTable | ||
| 1317 | RtlCaptureContext | ||
| 1318 | RtlCaptureStackBackTrace | ||
| 1319 | RtlCompareMemory | ||
| 1320 | RtlCopyMemory | ||
| 1321 | RtlDeleteFunctionTable | ||
| 1322 | RtlFillMemory | ||
| 1323 | RtlInstallFunctionTableCallback | ||
| 1324 | RtlIsEcCode | ||
| 1325 | RtlLookupFunctionEntry | ||
| 1326 | RtlMoveMemory | ||
| 1327 | RtlPcToFileHeader | ||
| 1328 | RtlRaiseException | ||
| 1329 | RtlRestoreContext | ||
| 1330 | RtlUnwind | ||
| 1331 | RtlUnwindEx | ||
| 1332 | RtlVirtualUnwind | ||
| 1333 | RtlVirtualUnwind2 | ||
| 1334 | RtlZeroMemory | ||
| 1335 | ScrollConsoleScreenBufferA | ||
| 1336 | ScrollConsoleScreenBufferW | ||
| 1337 | SearchPathA | ||
| 1338 | SearchPathW | ||
| 1339 | SetCachedSigningLevel | ||
| 1340 | SetCPGlobal | ||
| 1341 | SetCalendarInfoA | ||
| 1342 | SetCalendarInfoW | ||
| 1343 | SetComPlusPackageInstallStatus | ||
| 1344 | SetCommBreak | ||
| 1345 | SetCommConfig | ||
| 1346 | SetCommMask | ||
| 1347 | SetCommState | ||
| 1348 | SetCommTimeouts | ||
| 1349 | SetComputerNameA | ||
| 1350 | SetComputerNameEx2W | ||
| 1351 | SetComputerNameExA | ||
| 1352 | SetComputerNameExW | ||
| 1353 | SetComputerNameW | ||
| 1354 | SetConsoleActiveScreenBuffer | ||
| 1355 | SetConsoleCP | ||
| 1356 | SetConsoleCommandHistoryMode | ||
| 1357 | SetConsoleCtrlHandler | ||
| 1358 | SetConsoleCursor | ||
| 1359 | SetConsoleCursorInfo | ||
| 1360 | SetConsoleCursorMode | ||
| 1361 | SetConsoleCursorPosition | ||
| 1362 | SetConsoleDisplayMode | ||
| 1363 | SetConsoleFont | ||
| 1364 | SetConsoleHardwareState | ||
| 1365 | SetConsoleHistoryInfo | ||
| 1366 | SetConsoleIcon | ||
| 1367 | SetConsoleInputExeNameA | ||
| 1368 | SetConsoleInputExeNameW | ||
| 1369 | SetConsoleKeyShortcuts | ||
| 1370 | SetConsoleLocalEUDC | ||
| 1371 | SetConsoleMaximumWindowSize | ||
| 1372 | SetConsoleMenuClose | ||
| 1373 | SetConsoleMode | ||
| 1374 | SetConsoleNlsMode | ||
| 1375 | SetConsoleNumberOfCommandsA | ||
| 1376 | SetConsoleNumberOfCommandsW | ||
| 1377 | SetConsoleOS2OemFormat | ||
| 1378 | SetConsoleOutputCP | ||
| 1379 | SetConsolePalette | ||
| 1380 | SetConsoleScreenBufferInfoEx | ||
| 1381 | SetConsoleScreenBufferSize | ||
| 1382 | SetConsoleTextAttribute | ||
| 1383 | SetConsoleTitleA | ||
| 1384 | SetConsoleTitleW | ||
| 1385 | SetConsoleWindowInfo | ||
| 1386 | SetCriticalSectionSpinCount | ||
| 1387 | SetCurrentConsoleFontEx | ||
| 1388 | SetCurrentDirectoryA | ||
| 1389 | SetCurrentDirectoryW | ||
| 1390 | SetDefaultCommConfigA | ||
| 1391 | SetDefaultCommConfigW | ||
| 1392 | SetDefaultDllDirectories | ||
| 1393 | SetDllDirectoryA | ||
| 1394 | SetDllDirectoryW | ||
| 1395 | SetDynamicTimeZoneInformation | ||
| 1396 | SetEndOfFile | ||
| 1397 | SetEnvironmentStringsA | ||
| 1398 | SetEnvironmentStringsW | ||
| 1399 | SetEnvironmentVariableA | ||
| 1400 | SetEnvironmentVariableW | ||
| 1401 | SetErrorMode | ||
| 1402 | SetEvent | ||
| 1403 | SetEventWhenCallbackReturns | ||
| 1404 | SetExtendedFeaturesMask | ||
| 1405 | SetFileApisToANSI | ||
| 1406 | SetFileApisToOEM | ||
| 1407 | SetFileAttributesA | ||
| 1408 | SetFileAttributesTransactedA | ||
| 1409 | SetFileAttributesTransactedW | ||
| 1410 | SetFileAttributesW | ||
| 1411 | SetFileBandwidthReservation | ||
| 1412 | SetFileCompletionNotificationModes | ||
| 1413 | SetFileInformationByHandle | ||
| 1414 | SetFileIoOverlappedRange | ||
| 1415 | SetFilePointer | ||
| 1416 | SetFilePointerEx | ||
| 1417 | SetFileShortNameA | ||
| 1418 | SetFileShortNameW | ||
| 1419 | SetFileTime | ||
| 1420 | SetFileValidData | ||
| 1421 | SetFirmwareEnvironmentVariableA | ||
| 1422 | SetFirmwareEnvironmentVariableExA | ||
| 1423 | SetFirmwareEnvironmentVariableExW | ||
| 1424 | SetFirmwareEnvironmentVariableW | ||
| 1425 | SetHandleCount | ||
| 1426 | SetHandleInformation | ||
| 1427 | SetInformationJobObject | ||
| 1428 | SetIoRateControlInformationJobObject | ||
| 1429 | SetIoRingCompletionEvent | ||
| 1430 | SetLastConsoleEventActive | ||
| 1431 | SetLastError | ||
| 1432 | SetLocalPrimaryComputerNameA | ||
| 1433 | SetLocalPrimaryComputerNameW | ||
| 1434 | SetLocalTime | ||
| 1435 | SetLocaleInfoA | ||
| 1436 | SetLocaleInfoW | ||
| 1437 | SetMailslotInfo | ||
| 1438 | SetMessageWaitingIndicator | ||
| 1439 | SetNamedPipeAttribute | ||
| 1440 | SetNamedPipeHandleState | ||
| 1441 | SetPriorityClass | ||
| 1442 | SetProcessAffinityMask | ||
| 1443 | SetProcessAffinityUpdateMode | ||
| 1444 | SetProcessDEPPolicy | ||
| 1445 | SetProcessDefaultCpuSetMasks | ||
| 1446 | SetProcessDefaultCpuSets | ||
| 1447 | SetProcessDynamicEHContinuationTargets | ||
| 1448 | SetProcessDynamicEnforcedCetCompatibleRanges | ||
| 1449 | SetProcessInformation | ||
| 1450 | SetProcessMitigationPolicy | ||
| 1451 | SetProcessPreferredUILanguages | ||
| 1452 | SetProcessPriorityBoost | ||
| 1453 | SetProcessShutdownParameters | ||
| 1454 | SetProcessWorkingSetSize | ||
| 1455 | SetProcessWorkingSetSizeEx | ||
| 1456 | SetProtectedPolicy | ||
| 1457 | SetSearchPathMode | ||
| 1458 | SetStdHandle | ||
| 1459 | SetStdHandleEx | ||
| 1460 | SetSystemFileCacheSize | ||
| 1461 | SetSystemPowerState | ||
| 1462 | SetSystemTime | ||
| 1463 | SetSystemTimeAdjustment | ||
| 1464 | SetTapeParameters | ||
| 1465 | SetTapePosition | ||
| 1466 | SetTermsrvAppInstallMode | ||
| 1467 | SetThreadAffinityMask | ||
| 1468 | SetThreadContext | ||
| 1469 | SetThreadDescription | ||
| 1470 | SetThreadErrorMode | ||
| 1471 | SetThreadExecutionState | ||
| 1472 | SetThreadGroupAffinity | ||
| 1473 | SetThreadIdealProcessor | ||
| 1474 | SetThreadIdealProcessorEx | ||
| 1475 | SetThreadInformation | ||
| 1476 | SetThreadLocale | ||
| 1477 | SetThreadPreferredUILanguages | ||
| 1478 | SetThreadPriority | ||
| 1479 | SetThreadPriorityBoost | ||
| 1480 | SetThreadSelectedCpuSetMasks | ||
| 1481 | SetThreadSelectedCpuSets | ||
| 1482 | SetThreadStackGuarantee | ||
| 1483 | ; MSDN says this is exported from ADVAPI32.DLL. | ||
| 1484 | ; SetThreadToken | ||
| 1485 | SetThreadUILanguage | ||
| 1486 | SetThreadpoolStackInformation | ||
| 1487 | SetThreadpoolThreadMaximum | ||
| 1488 | SetThreadpoolThreadMinimum | ||
| 1489 | SetThreadpoolTimer | ||
| 1490 | SetThreadpoolTimerEx | ||
| 1491 | SetThreadpoolWait | ||
| 1492 | SetThreadpoolWaitEx | ||
| 1493 | SetTimeZoneInformation | ||
| 1494 | SetTimerQueueTimer | ||
| 1495 | SetUmsThreadInformation | ||
| 1496 | SetUnhandledExceptionFilter | ||
| 1497 | SetUserGeoID | ||
| 1498 | SetUserGeoName | ||
| 1499 | SetVDMCurrentDirectories | ||
| 1500 | SetVolumeLabelA | ||
| 1501 | SetVolumeLabelW | ||
| 1502 | SetVolumeMountPointA | ||
| 1503 | SetVolumeMountPointW | ||
| 1504 | SetVolumeMountPointWStub | ||
| 1505 | SetWaitableTimer | ||
| 1506 | SetWaitableTimerEx | ||
| 1507 | SetXStateFeaturesMask | ||
| 1508 | SetupComm | ||
| 1509 | ShowConsoleCursor | ||
| 1510 | SignalObjectAndWait | ||
| 1511 | SizeofResource | ||
| 1512 | Sleep | ||
| 1513 | SleepConditionVariableCS | ||
| 1514 | SleepConditionVariableSRW | ||
| 1515 | SleepEx | ||
| 1516 | SortCloseHandle | ||
| 1517 | SortGetHandle | ||
| 1518 | StartThreadpoolIo | ||
| 1519 | SubmitIoRing | ||
| 1520 | SubmitThreadpoolWork | ||
| 1521 | SuspendThread | ||
| 1522 | SwitchToFiber | ||
| 1523 | SwitchToThread | ||
| 1524 | SystemTimeToFileTime | ||
| 1525 | SystemTimeToTzSpecificLocalTime | ||
| 1526 | SystemTimeToTzSpecificLocalTimeEx | ||
| 1527 | TerminateJobObject | ||
| 1528 | TerminateProcess | ||
| 1529 | TerminateThread | ||
| 1530 | TermsrvAppInstallMode | ||
| 1531 | TermsrvConvertSysRootToUserDir | ||
| 1532 | TermsrvCreateRegEntry | ||
| 1533 | TermsrvDeleteKey | ||
| 1534 | TermsrvDeleteValue | ||
| 1535 | TermsrvGetPreSetValue | ||
| 1536 | TermsrvGetWindowsDirectoryA | ||
| 1537 | TermsrvGetWindowsDirectoryW | ||
| 1538 | TermsrvOpenRegEntry | ||
| 1539 | TermsrvOpenUserClasses | ||
| 1540 | TermsrvRestoreKey | ||
| 1541 | TermsrvSetKeySecurity | ||
| 1542 | TermsrvSetValueKey | ||
| 1543 | TermsrvSyncUserIniFileExt | ||
| 1544 | Thread32First | ||
| 1545 | Thread32Next | ||
| 1546 | TlsAlloc | ||
| 1547 | TlsFree | ||
| 1548 | TlsGetValue | ||
| 1549 | TlsGetValue2 | ||
| 1550 | TlsSetValue | ||
| 1551 | Toolhelp32ReadProcessMemory | ||
| 1552 | TransactNamedPipe | ||
| 1553 | TransmitCommChar | ||
| 1554 | TryAcquireSRWLockExclusive | ||
| 1555 | TryAcquireSRWLockShared | ||
| 1556 | TryEnterCriticalSection | ||
| 1557 | TrySubmitThreadpoolCallback | ||
| 1558 | TzSpecificLocalTimeToSystemTime | ||
| 1559 | TzSpecificLocalTimeToSystemTimeEx | ||
| 1560 | UTRegister | ||
| 1561 | UTUnRegister | ||
| 1562 | UmsThreadYield | ||
| 1563 | UnhandledExceptionFilter | ||
| 1564 | UnlockFile | ||
| 1565 | UnlockFileEx | ||
| 1566 | UnmapViewOfFile | ||
| 1567 | UnmapViewOfFileEx | ||
| 1568 | UnregisterApplicationRecoveryCallback | ||
| 1569 | UnregisterApplicationRestart | ||
| 1570 | UnregisterBadMemoryNotification | ||
| 1571 | UnregisterConsoleIME | ||
| 1572 | UnregisterWait | ||
| 1573 | UnregisterWaitEx | ||
| 1574 | UnregisterWaitUntilOOBECompleted | ||
| 1575 | UpdateCalendarDayOfWeek | ||
| 1576 | UpdateProcThreadAttribute | ||
| 1577 | UpdateResourceA | ||
| 1578 | UpdateResourceW | ||
| 1579 | VDMConsoleOperation | ||
| 1580 | VDMOperationStarted | ||
| 1581 | ValidateLCType | ||
| 1582 | ValidateLocale | ||
| 1583 | VerLanguageNameA | ||
| 1584 | VerLanguageNameW | ||
| 1585 | VerSetConditionMask | ||
| 1586 | VerifyConsoleIoHandle | ||
| 1587 | VerifyScripts | ||
| 1588 | VerifyVersionInfoA | ||
| 1589 | VerifyVersionInfoW | ||
| 1590 | VirtualAlloc | ||
| 1591 | VirtualAllocEx | ||
| 1592 | VirtualAllocExNuma | ||
| 1593 | VirtualFree | ||
| 1594 | VirtualFreeEx | ||
| 1595 | VirtualLock | ||
| 1596 | VirtualProtect | ||
| 1597 | VirtualProtectEx | ||
| 1598 | VirtualQuery | ||
| 1599 | VirtualQueryEx | ||
| 1600 | VirtualUnlock | ||
| 1601 | WTSGetActiveConsoleSessionId | ||
| 1602 | WaitCommEvent | ||
| 1603 | WaitForDebugEvent | ||
| 1604 | WaitForDebugEventEx | ||
| 1605 | WaitForMultipleObjects | ||
| 1606 | WaitForMultipleObjectsEx | ||
| 1607 | WaitForSingleObject | ||
| 1608 | WaitForSingleObjectEx | ||
| 1609 | WaitForThreadpoolIoCallbacks | ||
| 1610 | WaitForThreadpoolTimerCallbacks | ||
| 1611 | WaitForThreadpoolWaitCallbacks | ||
| 1612 | WaitForThreadpoolWorkCallbacks | ||
| 1613 | WaitNamedPipeA | ||
| 1614 | WaitNamedPipeW | ||
| 1615 | WakeAllConditionVariable | ||
| 1616 | ; MSDN says it's in Kernel32.dll but it's not. | ||
| 1617 | ; Link with libsynchronization.a instead. | ||
| 1618 | ; Commented out for compatibility with older | ||
| 1619 | ; versions of Windows. | ||
| 1620 | ;WaitOnAddress | ||
| 1621 | ;WakeByAddressSingle | ||
| 1622 | ;WakeByAddressAll | ||
| 1623 | WakeConditionVariable | ||
| 1624 | WerGetFlags | ||
| 1625 | WerGetFlagsWorker | ||
| 1626 | WerRegisterAdditionalProcess | ||
| 1627 | WerRegisterAppLocalDump | ||
| 1628 | WerRegisterCustomMetadata | ||
| 1629 | WerRegisterExcludedMemoryBlock | ||
| 1630 | WerRegisterFile | ||
| 1631 | WerRegisterFileWorker | ||
| 1632 | WerRegisterMemoryBlock | ||
| 1633 | WerRegisterMemoryBlockWorker | ||
| 1634 | WerRegisterRuntimeExceptionModule | ||
| 1635 | WerRegisterRuntimeExceptionModuleWorker | ||
| 1636 | WerSetFlags | ||
| 1637 | WerSetFlagsWorker | ||
| 1638 | WerUnregisterAdditionalProcess | ||
| 1639 | WerUnregisterAppLocalDump | ||
| 1640 | WerUnregisterCustomMetadata | ||
| 1641 | WerUnregisterExcludedMemoryBlock | ||
| 1642 | WerUnregisterFile | ||
| 1643 | WerUnregisterFileWorker | ||
| 1644 | WerUnregisterMemoryBlock | ||
| 1645 | WerUnregisterMemoryBlockWorker | ||
| 1646 | WerUnregisterRuntimeExceptionModule | ||
| 1647 | WerUnregisterRuntimeExceptionModuleWorker | ||
| 1648 | WerpCleanupMessageMapping | ||
| 1649 | WerpGetDebugger | ||
| 1650 | WerpInitiateRemoteRecovery | ||
| 1651 | WerpLaunchAeDebug | ||
| 1652 | WerpNotifyLoadStringResource | ||
| 1653 | WerpNotifyLoadStringResourceEx | ||
| 1654 | WerpNotifyLoadStringResourceWorker | ||
| 1655 | WerpNotifyUseStringResource | ||
| 1656 | WerpNotifyUseStringResourceWorker | ||
| 1657 | WerpStringLookup | ||
| 1658 | WideCharToMultiByte | ||
| 1659 | WinExec | ||
| 1660 | Wow64DisableWow64FsRedirection | ||
| 1661 | Wow64EnableWow64FsRedirection | ||
| 1662 | Wow64GetThreadContext | ||
| 1663 | Wow64GetThreadSelectorEntry | ||
| 1664 | Wow64RevertWow64FsRedirection | ||
| 1665 | Wow64SetThreadContext | ||
| 1666 | Wow64SuspendThread | ||
| 1667 | WriteConsoleA | ||
| 1668 | WriteConsoleInputA | ||
| 1669 | WriteConsoleInputVDMA | ||
| 1670 | WriteConsoleInputVDMW | ||
| 1671 | WriteConsoleInputW | ||
| 1672 | WriteConsoleOutputA | ||
| 1673 | WriteConsoleOutputAttribute | ||
| 1674 | WriteConsoleOutputCharacterA | ||
| 1675 | WriteConsoleOutputCharacterW | ||
| 1676 | WriteConsoleOutputW | ||
| 1677 | WriteConsoleW | ||
| 1678 | WriteFile | ||
| 1679 | WriteFileEx | ||
| 1680 | WriteFileGather | ||
| 1681 | WritePrivateProfileSectionA | ||
| 1682 | WritePrivateProfileSectionW | ||
| 1683 | WritePrivateProfileStringA | ||
| 1684 | WritePrivateProfileStringW | ||
| 1685 | WritePrivateProfileStructA | ||
| 1686 | WritePrivateProfileStructW | ||
| 1687 | WriteProcessMemory | ||
| 1688 | WriteProfileSectionA | ||
| 1689 | WriteProfileSectionW | ||
| 1690 | WriteProfileStringA | ||
| 1691 | WriteProfileStringW | ||
| 1692 | WriteTapemark | ||
| 1693 | ZombifyActCtx | ||
| 1694 | ZombifyActCtxWorker | ||
| 1695 | __C_specific_handler | ||
| 1696 | ; This isn't always available and shouldn't be linked from here, but should | ||
| 1697 | ; be statically linked from the compiler support library. | ||
| 1698 | ; | ||
| 1699 | __misaligned_access | ||
| 1700 | _hread | ||
| 1701 | _hwrite | ||
| 1702 | _lclose | ||
| 1703 | _lcreat | ||
| 1704 | _llseek | ||
| 1705 | _local_unwind | ||
| 1706 | _lopen | ||
| 1707 | _lread | ||
| 1708 | _lwrite | ||
| 1709 | lstrcat | ||
| 1710 | lstrcatA | ||
| 1711 | lstrcatW | ||
| 1712 | lstrcmp | ||
| 1713 | lstrcmpA | ||
| 1714 | lstrcmpW | ||
| 1715 | lstrcmpi | ||
| 1716 | lstrcmpiA | ||
| 1717 | lstrcmpiW | ||
| 1718 | lstrcpy | ||
| 1719 | lstrcpyA | ||
| 1720 | lstrcpyW | ||
| 1721 | lstrcpyn | ||
| 1722 | lstrcpynA | ||
| 1723 | lstrcpynW | ||
| 1724 | lstrlen | ||
| 1725 | lstrlenA | ||
| 1726 | lstrlenW | ||
| 1727 | ; | ||
| 1728 | ; MSDN says these functions are exported | ||
| 1729 | ; from winmm.dll. Commented out for | ||
| 1730 | ; compatibility with older versions of | ||
| 1731 | ; Windows. | ||
| 1732 | ; | ||
| 1733 | ;timeBeginPeriod | ||
| 1734 | ;timeEndPeriod | ||
| 1735 | ;timeGetDevCaps | ||
| 1736 | ;timeGetSystemTime | ||
| 1737 | ;timeGetTime | ||
| 1738 | uaw_lstrcmpW | ||
| 1739 | uaw_lstrcmpiW | ||
| 1740 | uaw_lstrlenW | ||
| 1741 | uaw_wcschr | ||
| 1742 | uaw_wcscpy | ||
| 1743 | uaw_wcsicmp | ||
| 1744 | uaw_wcslen | ||
| 1745 | uaw_wcsrchr | ||
lib/libc/mingw/lib64/quartz.def deleted-17| ... | @@ -1,17 +0,0 @@ | ||
| 1 | ; | ||
| 2 | ; Exports of file QUARTZ.dll | ||
| 3 | ; | ||
| 4 | ; Autogenerated by gen_exportdef | ||
| 5 | ; Written by Kai Tietz, 2007 | ||
| 6 | ; | ||
| 7 | LIBRARY QUARTZ.dll | ||
| 8 | EXPORTS | ||
| 9 | AMGetErrorTextA | ||
| 10 | AMGetErrorTextW | ||
| 11 | AmpFactorToDB | ||
| 12 | DBToAmpFactor | ||
| 13 | DllCanUnloadNow | ||
| 14 | DllGetClassObject | ||
| 15 | DllRegisterServer | ||
| 16 | DllUnregisterServer | ||
| 17 | GetProxyDllInfo | ||
lib/libc/mingw/lib64/ws2_32.def deleted-200| ... | @@ -1,200 +0,0 @@ | ||
| 1 | |||
| 2 | LIBRARY "WS2_32.dll" | ||
| 3 | EXPORTS | ||
| 4 | accept | ||
| 5 | bind | ||
| 6 | closesocket | ||
| 7 | connect | ||
| 8 | getpeername | ||
| 9 | getsockname | ||
| 10 | getsockopt | ||
| 11 | htonl | ||
| 12 | htons | ||
| 13 | ioctlsocket | ||
| 14 | inet_addr | ||
| 15 | inet_ntoa | ||
| 16 | listen | ||
| 17 | ntohl | ||
| 18 | ntohs | ||
| 19 | recv | ||
| 20 | recvfrom | ||
| 21 | select | ||
| 22 | send | ||
| 23 | sendto | ||
| 24 | setsockopt | ||
| 25 | shutdown | ||
| 26 | socket | ||
| 27 | WSApSetPostRoutine | ||
| 28 | FreeAddrInfoEx | ||
| 29 | FreeAddrInfoExW | ||
| 30 | FreeAddrInfoW | ||
| 31 | GetAddrInfoExA | ||
| 32 | GetAddrInfoExCancel | ||
| 33 | GetAddrInfoExOverlappedResult | ||
| 34 | GetAddrInfoExW | ||
| 35 | GetAddrInfoW | ||
| 36 | GetHostNameW | ||
| 37 | GetNameInfoW | ||
| 38 | InetNtopW | ||
| 39 | InetPtonW | ||
| 40 | ProcessSocketNotifications | ||
| 41 | SetAddrInfoExA | ||
| 42 | SetAddrInfoExW | ||
| 43 | WPUCompleteOverlappedRequest | ||
| 44 | WPUGetProviderPathEx | ||
| 45 | WSAAccept | ||
| 46 | WSAAddressToStringA | ||
| 47 | WSAAddressToStringW | ||
| 48 | WSAAdvertiseProvider | ||
| 49 | WSACloseEvent | ||
| 50 | WSAConnect | ||
| 51 | WSAConnectByList | ||
| 52 | WSAConnectByNameA | ||
| 53 | WSAConnectByNameW | ||
| 54 | WSACreateEvent | ||
| 55 | gethostbyaddr | ||
| 56 | gethostbyname | ||
| 57 | getprotobyname | ||
| 58 | getprotobynumber | ||
| 59 | getservbyname | ||
| 60 | getservbyport | ||
| 61 | gethostname | ||
| 62 | WSADuplicateSocketA | ||
| 63 | WSADuplicateSocketW | ||
| 64 | WSAEnumNameSpaceProvidersA | ||
| 65 | WSAEnumNameSpaceProvidersExA | ||
| 66 | WSAEnumNameSpaceProvidersExW | ||
| 67 | WSAEnumNameSpaceProvidersW | ||
| 68 | WSAEnumNetworkEvents | ||
| 69 | WSAEnumProtocolsA | ||
| 70 | WSAEnumProtocolsW | ||
| 71 | WSAEventSelect | ||
| 72 | WSAGetOverlappedResult | ||
| 73 | WSAGetQOSByName | ||
| 74 | WSAGetServiceClassInfoA | ||
| 75 | WSAGetServiceClassInfoW | ||
| 76 | WSAGetServiceClassNameByClassIdA | ||
| 77 | WSAGetServiceClassNameByClassIdW | ||
| 78 | WSAHtonl | ||
| 79 | WSAHtons | ||
| 80 | WSAInstallServiceClassA | ||
| 81 | WSAInstallServiceClassW | ||
| 82 | WSAIoctl | ||
| 83 | WSAJoinLeaf | ||
| 84 | WSALookupServiceBeginA | ||
| 85 | WSALookupServiceBeginW | ||
| 86 | WSALookupServiceEnd | ||
| 87 | WSALookupServiceNextA | ||
| 88 | WSALookupServiceNextW | ||
| 89 | WSANSPIoctl | ||
| 90 | WSANtohl | ||
| 91 | WSANtohs | ||
| 92 | WSAPoll | ||
| 93 | WSAProviderCompleteAsyncCall | ||
| 94 | WSAProviderConfigChange | ||
| 95 | WSARecv | ||
| 96 | WSARecvDisconnect | ||
| 97 | WSARecvFrom | ||
| 98 | WSARemoveServiceClass | ||
| 99 | WSAResetEvent | ||
| 100 | WSASend | ||
| 101 | WSASendDisconnect | ||
| 102 | WSASendMsg | ||
| 103 | WSASendTo | ||
| 104 | WSASetEvent | ||
| 105 | WSAAsyncSelect | ||
| 106 | WSAAsyncGetHostByAddr | ||
| 107 | WSAAsyncGetHostByName | ||
| 108 | WSAAsyncGetProtoByNumber | ||
| 109 | WSAAsyncGetProtoByName | ||
| 110 | WSAAsyncGetServByPort | ||
| 111 | WSAAsyncGetServByName | ||
| 112 | WSACancelAsyncRequest | ||
| 113 | WSASetBlockingHook | ||
| 114 | WSAUnhookBlockingHook | ||
| 115 | WSAGetLastError | ||
| 116 | WSASetLastError | ||
| 117 | WSACancelBlockingCall | ||
| 118 | WSAIsBlocking | ||
| 119 | WSAStartup | ||
| 120 | WSACleanup | ||
| 121 | WSASetServiceA | ||
| 122 | WSASetServiceW | ||
| 123 | WSASocketA | ||
| 124 | WSASocketW | ||
| 125 | WSAStringToAddressA | ||
| 126 | WSAStringToAddressW | ||
| 127 | WSAUnadvertiseProvider | ||
| 128 | WSAWaitForMultipleEvents | ||
| 129 | WSCDeinstallProvider | ||
| 130 | WSCDeinstallProvider32 | ||
| 131 | WSCDeinstallProviderEx | ||
| 132 | WSCEnableNSProvider | ||
| 133 | WSCEnableNSProvider32 | ||
| 134 | WSCEnumNameSpaceProviders32 | ||
| 135 | WSCEnumNameSpaceProvidersEx32 | ||
| 136 | WSCEnumProtocols | ||
| 137 | WSCEnumProtocolsEx | ||
| 138 | WSCEnumProtocols32 | ||
| 139 | WSCGetApplicationCategory | ||
| 140 | WSCGetApplicationCategoryEx | ||
| 141 | WSCGetProviderInfo | ||
| 142 | WSCGetProviderInfo32 | ||
| 143 | WSCGetProviderPath | ||
| 144 | WSCGetProviderPath32 | ||
| 145 | WSCInstallNameSpace | ||
| 146 | WSCInstallNameSpace32 | ||
| 147 | WSCInstallNameSpaceEx | ||
| 148 | WSCInstallNameSpaceEx2 | ||
| 149 | WSCInstallNameSpaceEx32 | ||
| 150 | WSCInstallProvider | ||
| 151 | WSCInstallProvider64_32 | ||
| 152 | WSCInstallProviderAndChains | ||
| 153 | WSCInstallProviderAndChains64_32 | ||
| 154 | WSCInstallProviderEx | ||
| 155 | WSCSetApplicationCategory | ||
| 156 | WSCSetApplicationCategoryEx | ||
| 157 | WSCSetProviderInfo | ||
| 158 | WSCSetProviderInfo32 | ||
| 159 | WSCUnInstallNameSpace | ||
| 160 | WSCUnInstallNameSpace32 | ||
| 161 | WSCUnInstallNameSpaceEx2 | ||
| 162 | WSCUpdateProvider | ||
| 163 | WSCUpdateProvider32 | ||
| 164 | WSCUpdateProviderEx | ||
| 165 | WSCWriteNameSpaceOrder | ||
| 166 | WSCWriteNameSpaceOrder32 | ||
| 167 | WSCWriteProviderOrder | ||
| 168 | WSCWriteProviderOrder32 | ||
| 169 | WSCWriteProviderOrderEx | ||
| 170 | WahCloseApcHelper | ||
| 171 | __WSAFDIsSet | ||
| 172 | WahCloseHandleHelper | ||
| 173 | WahCloseNotificationHandleHelper | ||
| 174 | WahCloseSocketHandle | ||
| 175 | WahCloseThread | ||
| 176 | WahCompleteRequest | ||
| 177 | WahCreateHandleContextTable | ||
| 178 | WahCreateNotificationHandle | ||
| 179 | WahCreateSocketHandle | ||
| 180 | WahDestroyHandleContextTable | ||
| 181 | WahDisableNonIFSHandleSupport | ||
| 182 | WahEnableNonIFSHandleSupport | ||
| 183 | WahEnumerateHandleContexts | ||
| 184 | WahInsertHandleContext | ||
| 185 | WahNotifyAllProcesses | ||
| 186 | WahOpenApcHelper | ||
| 187 | WahOpenCurrentThread | ||
| 188 | WahOpenHandleHelper | ||
| 189 | WahOpenNotificationHandleHelper | ||
| 190 | WahQueueUserApc | ||
| 191 | WahReferenceContextByHandle | ||
| 192 | WahRemoveHandleContext | ||
| 193 | WahWaitForNotification | ||
| 194 | WahWriteLSPEvent | ||
| 195 | freeaddrinfo | ||
| 196 | getaddrinfo | ||
| 197 | getnameinfo | ||
| 198 | inet_ntop | ||
| 199 | inet_pton | ||
| 200 | WEP | ||
lib/libc/mingw/libsrc/uuid.c+1| ... | @@ -15,6 +15,7 @@ | ... | @@ -15,6 +15,7 @@ |
| 15 | #include <basetyps.h> | 15 | #include <basetyps.h> |
| 16 | 16 | ||
| 17 | #include <credentialprovider.h> | 17 | #include <credentialprovider.h> |
| 18 | #include <httprequest.h> | ||
| 18 | #include <functiondiscoverykeys.h> | 19 | #include <functiondiscoverykeys.h> |
| 19 | #include <textstor.h> | 20 | #include <textstor.h> |
| 20 | #include <shobjidl.h> | 21 | #include <shobjidl.h> |
lib/libc/mingw/libsrc/ws2tcpip/in6_set_addr_loopback.c+1-1| ... | @@ -8,6 +8,6 @@ | ... | @@ -8,6 +8,6 @@ |
| 8 | 8 | ||
| 9 | void IN6_SET_ADDR_LOOPBACK(struct in6_addr *a) | 9 | void IN6_SET_ADDR_LOOPBACK(struct in6_addr *a) |
| 10 | { | 10 | { |
| 11 | 	memset(a->s6_bytes, 0, sizeof(struct in6_addr)); | 11 | 	*a = (struct in6_addr){0}; |
| 12 | 	a->s6_bytes[15] = 1; | 12 | 	a->s6_bytes[15] = 1; |
| 13 | } | 13 | } |
lib/libc/mingw/libsrc/ws2tcpip/in6_set_addr_unspecified.c+1-1| ... | @@ -8,5 +8,5 @@ | ... | @@ -8,5 +8,5 @@ |
| 8 | 8 | ||
| 9 | void IN6_SET_ADDR_UNSPECIFIED(struct in6_addr *a) | 9 | void IN6_SET_ADDR_UNSPECIFIED(struct in6_addr *a) |
| 10 | { | 10 | { |
| 11 | 	memset(a->s6_bytes, 0, sizeof(struct in6_addr)); | 11 | 	*a = (struct in6_addr){0}; |
| 12 | } | 12 | } |
lib/libc/mingw/libsrc/ws2tcpip/in6addr_setany.c+1-4| ... | @@ -6,14 +6,11 @@ | ... | @@ -6,14 +6,11 @@ |
| 6 | #include <winsock2.h> | 6 | #include <winsock2.h> |
| 7 | #include <ws2tcpip.h> | 7 | #include <ws2tcpip.h> |
| 8 | 8 | ||
| 9 | #undef IN6_SET_ADDR_UNSPECIFIED | ||
| 10 | #define IN6_SET_ADDR_UNSPECIFIED(a)	memset((a)->s6_bytes,0,sizeof(struct in6_addr)) | ||
| 11 | |||
| 12 | void IN6ADDR_SETANY(struct sockaddr_in6 *a) | 9 | void IN6ADDR_SETANY(struct sockaddr_in6 *a) |
| 13 | { | 10 | { |
| 14 | 	a->sin6_family = AF_INET6; | 11 | 	a->sin6_family = AF_INET6; |
| 15 | 	a->sin6_port = 0; | 12 | 	a->sin6_port = 0; |
| 16 | 	a->sin6_flowinfo = 0; | 13 | 	a->sin6_flowinfo = 0; |
| 17 | 	IN6_SET_ADDR_UNSPECIFIED(&a->sin6_addr); | 14 | 	a->sin6_addr = (struct in6_addr){0}; |
| 18 | 	a->sin6_scope_id = 0; | 15 | 	a->sin6_scope_id = 0; |
| 19 | } | 16 | } |
lib/libc/mingw/libsrc/ws2tcpip/in6addr_setloopback.c-7| ... | @@ -6,13 +6,6 @@ | ... | @@ -6,13 +6,6 @@ |
| 6 | #include <winsock2.h> | 6 | #include <winsock2.h> |
| 7 | #include <ws2tcpip.h> | 7 | #include <ws2tcpip.h> |
| 8 | 8 | ||
| 9 | #undef IN6_SET_ADDR_LOOPBACK | ||
| 10 | #define IN6_SET_ADDR_LOOPBACK(a)				\ | ||
| 11 | 	do {							\ | ||
| 12 | 		memset((a)->s6_bytes,0,sizeof(struct in6_addr));\ | ||
| 13 | 		(a)->s6_bytes[15] = 1;				\ | ||
| 14 | 	} while (0) | ||
| 15 | |||
| 16 | void IN6ADDR_SETLOOPBACK(struct sockaddr_in6 *a) | 9 | void IN6ADDR_SETLOOPBACK(struct sockaddr_in6 *a) |
| 17 | { | 10 | { |
| 18 | 	a->sin6_family = AF_INET6; | 11 | 	a->sin6_family = AF_INET6; |
lib/libc/mingw/math/arm-common/ldexpl.c-4| ... | @@ -8,9 +8,5 @@ | ... | @@ -8,9 +8,5 @@ |
| 8 | 8 | ||
| 9 | long double ldexpl(long double x, int n) | 9 | long double ldexpl(long double x, int n) |
| 10 | { | 10 | { |
| 11 | #if defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) | ||
| 12 | return ldexp(x, n); | 11 | return ldexp(x, n); |
| 13 | #else | ||
| 14 | #error Not supported on your platform yet | ||
| 15 | #endif | ||
| 16 | } | 12 | } |
lib/libc/mingw/math/arm-common/sincosl.c created+13| ... | @@ -0,0 +1,13 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #include <math.h> | ||
| 8 | |||
| 9 | void sincosl(long double x, long double *s, long double *c) | ||
| 10 | { | ||
| 11 | *s = sinl(x); | ||
| 12 | *c = cosl(x); | ||
| 13 | } | ||
lib/libc/mingw/math/arm/_chgsignl.S deleted-16| ... | @@ -1,16 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #include <_mingw_mac.h> | ||
| 8 | |||
| 9 | 	.file	"_chgignl.S" | ||
| 10 | 	.text | ||
| 11 | 	.align 4 | ||
| 12 | 	.globl __MINGW_USYMBOL(_chgsignl) | ||
| 13 | 	.def	__MINGW_USYMBOL(_chgsignl);	.scl	2;	.type	32;	.endef | ||
| 14 | __MINGW_USYMBOL(_chgsignl): | ||
| 15 | 	vneg.f64	d0, d0 | ||
| 16 | 	bx	lr | ||
lib/libc/mingw/math/arm64/_chgsignl.S deleted-16| ... | @@ -1,16 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #include <_mingw_mac.h> | ||
| 8 | |||
| 9 | 	.file	"_chgignl.S" | ||
| 10 | 	.text | ||
| 11 | 	.align 2 | ||
| 12 | 	.globl __MINGW_USYMBOL(_chgsignl) | ||
| 13 | 	.def	__MINGW_USYMBOL(_chgsignl);	.scl	2;	.type	32;	.endef | ||
| 14 | __MINGW_USYMBOL(_chgsignl): | ||
| 15 | 	fneg	d0, d0 | ||
| 16 | 	ret | ||
lib/libc/mingw/math/cephes_mconf.h+2-2| ... | @@ -66,7 +66,7 @@ extern double __QNAN; | ... | @@ -66,7 +66,7 @@ extern double __QNAN; |
| 66 | #endif | 66 | #endif |
| 67 | 67 | ||
| 68 | /*long double*/ | 68 | /*long double*/ |
| 69 | #if defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) | 69 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ |
| 70 | #define MAXNUML	1.7976931348623158E308 | 70 | #define MAXNUML	1.7976931348623158E308 |
| 71 | #define MAXLOGL	7.09782712893383996843E2 | 71 | #define MAXLOGL	7.09782712893383996843E2 |
| 72 | #define MINLOGL	-7.08396418532264106224E2 | 72 | #define MINLOGL	-7.08396418532264106224E2 |
| ... | @@ -84,7 +84,7 @@ extern double __QNAN; | ... | @@ -84,7 +84,7 @@ extern double __QNAN; |
| 84 | #define PIL	3.1415926535897932384626L | 84 | #define PIL	3.1415926535897932384626L |
| 85 | #define PIO2L	1.5707963267948966192313L | 85 | #define PIO2L	1.5707963267948966192313L |
| 86 | #define PIO4L	7.8539816339744830961566E-1L | 86 | #define PIO4L	7.8539816339744830961566E-1L |
| 87 | #endif /* defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) */ | 87 | #endif /* __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ */ |
| 88 | 88 | ||
| 89 | #define isfinitel isfinite | 89 | #define isfinitel isfinite |
| 90 | #define isinfl isinf | 90 | #define isinfl isinf |
lib/libc/mingw/math/coshl.c+1-1| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | */ | 5 | */ |
| 6 | #include "cephes_mconf.h" | 6 | #include "cephes_mconf.h" |
| 7 | 7 | ||
| 8 | #if defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) | 8 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ |
| 9 | #include <math.h> | 9 | #include <math.h> |
| 10 | 10 | ||
| 11 | long double coshl(long double x) | 11 | long double coshl(long double x) |
lib/libc/mingw/math/erfl.c+1-1| ... | @@ -108,7 +108,7 @@ Copyright 1984, 1995 by Stephen L. Moshier | ... | @@ -108,7 +108,7 @@ Copyright 1984, 1995 by Stephen L. Moshier |
| 108 | 108 | ||
| 109 | long double erfl(long double x); | 109 | long double erfl(long double x); |
| 110 | 110 | ||
| 111 | #if defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) | 111 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ |
| 112 | long double erfcl(long double x) | 112 | long double erfcl(long double x) |
| 113 | { | 113 | { |
| 114 | 	return erfc(x); | 114 | 	return erfc(x); |
lib/libc/mingw/math/fmal.c+1-1| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | */ | 5 | */ |
| 6 | long double fmal(long double x, long double y, long double z); | 6 | long double fmal(long double x, long double y, long double z); |
| 7 | 7 | ||
| 8 | #if defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) | 8 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ |
| 9 | 9 | ||
| 10 | double fma(double x, double y, double z); | 10 | double fma(double x, double y, double z); |
| 11 | 11 |
lib/libc/mingw/math/fp_constsl.c+1-1| ... | @@ -16,7 +16,7 @@ const union _ieee_rep __DENORML = { __LONG_DOUBLE_DENORM_REP }; | ... | @@ -16,7 +16,7 @@ const union _ieee_rep __DENORML = { __LONG_DOUBLE_DENORM_REP }; |
| 16 | long double nanl (const char *); | 16 | long double nanl (const char *); |
| 17 | long double nanl (const char * tagp __attribute__((unused)) ) | 17 | long double nanl (const char * tagp __attribute__((unused)) ) |
| 18 | { | 18 | { |
| 19 | #if defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) | 19 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ |
| 20 | return nan(""); | 20 | return nan(""); |
| 21 | #else | 21 | #else |
| 22 | return __QNANL.ldouble_val; | 22 | return __QNANL.ldouble_val; |
lib/libc/mingw/math/fpclassifyl.c+3-3| ... | @@ -6,7 +6,9 @@ | ... | @@ -6,7 +6,9 @@ |
| 6 | #include <math.h> | 6 | #include <math.h> |
| 7 | 7 | ||
| 8 | int __fpclassifyl (long double _x){ | 8 | int __fpclassifyl (long double _x){ |
| 9 | #if defined(__x86_64__) || defined(_AMD64_) | 9 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ |
| 10 | return __fpclassify(_x); | ||
| 11 | #elif defined(_AMD64_) || defined(__x86_64__) | ||
| 10 | __mingw_ldbl_type_t hlp; | 12 | __mingw_ldbl_type_t hlp; |
| 11 | unsigned int e; | 13 | unsigned int e; |
| 12 | hlp.x = _x; | 14 | hlp.x = _x; |
| ... | @@ -23,8 +25,6 @@ int __fpclassifyl (long double _x){ | ... | @@ -23,8 +25,6 @@ int __fpclassifyl (long double _x){ |
| 23 | return (((hlp.lh.high & 0x7fffffff) | hlp.lh.low) == 0 ? | 25 | return (((hlp.lh.high & 0x7fffffff) | hlp.lh.low) == 0 ? |
| 24 | 	 FP_INFINITE : FP_NAN); | 26 | 	 FP_INFINITE : FP_NAN); |
| 25 | return FP_NORMAL; | 27 | return FP_NORMAL; |
| 26 | #elif defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) | ||
| 27 | return __fpclassify(_x); | ||
| 28 | #elif defined(__i386__) || defined(_X86_) | 28 | #elif defined(__i386__) || defined(_X86_) |
| 29 | unsigned short sw; | 29 | unsigned short sw; |
| 30 | __asm__ __volatile__ ( | 30 | __asm__ __volatile__ ( |
lib/libc/mingw/math/frexpl.c+1-1| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | */ | 5 | */ |
| 6 | long double frexpl(long double value, int* exp); | 6 | long double frexpl(long double value, int* exp); |
| 7 | 7 | ||
| 8 | #if defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) | 8 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ |
| 9 | 9 | ||
| 10 | double frexp(double value, int* exp); | 10 | double frexp(double value, int* exp); |
| 11 | 11 |
lib/libc/mingw/math/isnanl.c+3-3| ... | @@ -8,7 +8,9 @@ | ... | @@ -8,7 +8,9 @@ |
| 8 | int | 8 | int |
| 9 | __isnanl (long double _x) | 9 | __isnanl (long double _x) |
| 10 | { | 10 | { |
| 11 | #if defined(__x86_64__) || defined(_AMD64_) | 11 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ |
| 12 | return __isnan(_x); | ||
| 13 | #elif defined(__x86_64__) || defined(_AMD64_) | ||
| 12 | __mingw_ldbl_type_t ld; | 14 | __mingw_ldbl_type_t ld; |
| 13 | int xx, signexp; | 15 | int xx, signexp; |
| 14 | 16 | ||
| ... | @@ -18,8 +20,6 @@ __isnanl (long double _x) | ... | @@ -18,8 +20,6 @@ __isnanl (long double _x) |
| 18 | signexp |= (unsigned int) (xx | (-xx)) >> 31; | 20 | signexp |= (unsigned int) (xx | (-xx)) >> 31; |
| 19 | signexp = 0xfffe - signexp; | 21 | signexp = 0xfffe - signexp; |
| 20 | return (int) ((unsigned int) signexp) >> 16; | 22 | return (int) ((unsigned int) signexp) >> 16; |
| 21 | #elif defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) | ||
| 22 | return __isnan(_x); | ||
| 23 | #elif defined(__i386__) || defined(_X86_) | 23 | #elif defined(__i386__) || defined(_X86_) |
| 24 | unsigned short _sw; | 24 | unsigned short _sw; |
| 25 | __asm__ __volatile__ ("fxam;" | 25 | __asm__ __volatile__ ("fxam;" |
lib/libc/mingw/math/lgammal.c+1-1| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | */ | 5 | */ |
| 6 | #include "cephes_mconf.h" | 6 | #include "cephes_mconf.h" |
| 7 | 7 | ||
| 8 | #if defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) | 8 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ |
| 9 | double lgamma(double x); | 9 | double lgamma(double x); |
| 10 | 10 | ||
| 11 | long double lgammal(long double x) | 11 | long double lgammal(long double x) |
lib/libc/mingw/math/llrintl.c+2-1| ... | @@ -9,7 +9,8 @@ | ... | @@ -9,7 +9,8 @@ |
| 9 | long long llrintl (long double x) | 9 | long long llrintl (long double x) |
| 10 | { | 10 | { |
| 11 | long long retval = 0ll; | 11 | long long retval = 0ll; |
| 12 | #if defined(_AMD64_) || defined(__x86_64__) || defined(_X86_) || defined(__i386__) | 12 | #if (defined(_AMD64_) && !defined(_ARM64EC_)) || (defined(__x86_64__) && !defined(__arm64ec__)) || \ |
| 13 | defined(_X86_) || defined(__i386__) | ||
| 13 | __asm__ __volatile__ ("fistpll %0" : "=m" (retval) : "t" (x) : "st"); | 14 | __asm__ __volatile__ ("fistpll %0" : "=m" (retval) : "t" (x) : "st"); |
| 14 | #else | 15 | #else |
| 15 | int mode = fegetround(); | 16 | int mode = fegetround(); |
lib/libc/mingw/math/lrintl.c+3-3| ... | @@ -8,10 +8,10 @@ | ... | @@ -8,10 +8,10 @@ |
| 8 | long lrintl (long double x) | 8 | long lrintl (long double x) |
| 9 | { | 9 | { |
| 10 | long retval = 0l; | 10 | long retval = 0l; |
| 11 | #if defined(_AMD64_) || defined(__x86_64__) || defined(_X86_) || defined(__i386__) | 11 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ |
| 12 | __asm__ __volatile__ ("fistpl %0" : "=m" (retval) : "t" (x) : "st"); | ||
| 13 | #elif defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) | ||
| 14 | retval = lrint(x); | 12 | retval = lrint(x); |
| 13 | #elif defined(_AMD64_) || defined(__x86_64__) || defined(_X86_) || defined(__i386__) | ||
| 14 | __asm__ __volatile__ ("fistpl %0" : "=m" (retval) : "t" (x) : "st"); | ||
| 15 | #endif | 15 | #endif |
| 16 | return retval; | 16 | return retval; |
| 17 | } | 17 | } |
lib/libc/mingw/math/modff.c+1-1| ... | @@ -13,7 +13,7 @@ modff (float value, float* iptr) | ... | @@ -13,7 +13,7 @@ modff (float value, float* iptr) |
| 13 | float int_part = 0.0F; | 13 | float int_part = 0.0F; |
| 14 | /* truncate */ | 14 | /* truncate */ |
| 15 | /* truncate */ | 15 | /* truncate */ |
| 16 | #if defined(_AMD64_) || defined(__x86_64__) | 16 | #if (defined(_AMD64_) && !defined(_ARM64EC_)) || (defined(__x86_64__) && !defined(__arm64ec__)) |
| 17 | asm volatile ("subq $8, %%rsp\n" | 17 | asm volatile ("subq $8, %%rsp\n" |
| 18 | "fnstcw 4(%%rsp)\n" | 18 | "fnstcw 4(%%rsp)\n" |
| 19 | "movzwl 4(%%rsp), %%eax\n" | 19 | "movzwl 4(%%rsp), %%eax\n" |
lib/libc/mingw/math/modfl.c+1-1| ... | @@ -12,7 +12,7 @@ modfl (long double value, long double* iptr) | ... | @@ -12,7 +12,7 @@ modfl (long double value, long double* iptr) |
| 12 | { | 12 | { |
| 13 | long double int_part = 0.0L; | 13 | long double int_part = 0.0L; |
| 14 | /* truncate */ | 14 | /* truncate */ |
| 15 | #if defined(_AMD64_) || defined(__x86_64__) | 15 | #if (defined(_AMD64_) && !defined(_ARM64EC_)) || (defined(__x86_64__) && !defined(__arm64ec__)) |
| 16 | asm volatile ("subq $8, %%rsp\n" | 16 | asm volatile ("subq $8, %%rsp\n" |
| 17 | "fnstcw 4(%%rsp)\n" | 17 | "fnstcw 4(%%rsp)\n" |
| 18 | "movzwl 4(%%rsp), %%eax\n" | 18 | "movzwl 4(%%rsp), %%eax\n" |
lib/libc/mingw/math/rintl.c+3-3| ... | @@ -7,10 +7,10 @@ | ... | @@ -7,10 +7,10 @@ |
| 7 | 7 | ||
| 8 | long double rintl (long double x) { | 8 | long double rintl (long double x) { |
| 9 | long double retval = 0.0L; | 9 | long double retval = 0.0L; |
| 10 | #if defined(_AMD64_) || defined(__x86_64__) || defined(_X86_) || defined(__i386__) | 10 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ |
| 11 | __asm__ __volatile__ ("frndint;": "=t" (retval) : "0" (x)); | ||
| 12 | #elif defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) | ||
| 13 | retval = rint(x); | 11 | retval = rint(x); |
| 12 | #elif defined(_AMD64_) || defined(__x86_64__) || defined(_X86_) || defined(__i386__) | ||
| 13 | __asm__ __volatile__ ("frndint;": "=t" (retval) : "0" (x)); | ||
| 14 | #endif | 14 | #endif |
| 15 | return retval; | 15 | return retval; |
| 16 | } | 16 | } |
lib/libc/mingw/math/signbitl.c+2-2| ... | @@ -9,11 +9,11 @@ | ... | @@ -9,11 +9,11 @@ |
| 9 | 9 | ||
| 10 | 10 | ||
| 11 | int __signbitl (long double x) { | 11 | int __signbitl (long double x) { |
| 12 | #if defined(__x86_64__) || defined(_AMD64_) | 12 | #if (defined(_AMD64_) && !defined(_ARM64EC_)) || (defined(__x86_64__) && !defined(__arm64ec__)) |
| 13 | __mingw_ldbl_type_t ld; | 13 | __mingw_ldbl_type_t ld; |
| 14 | ld.x = x; | 14 | ld.x = x; |
| 15 | return ((ld.lh.sign_exponent & 0x8000) != 0); | 15 | return ((ld.lh.sign_exponent & 0x8000) != 0); |
| 16 | #elif defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) | 16 | #elif defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) || defined(__arm64ec__) || defined(_ARM64EC_) |
| 17 | return __signbit(x); | 17 | return __signbit(x); |
| 18 | #elif defined(__i386__) || defined(_X86_) | 18 | #elif defined(__i386__) || defined(_X86_) |
| 19 | unsigned short sw; | 19 | unsigned short sw; |
lib/libc/mingw/math/sinhl.c+1-1| ... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
| 6 | #include "cephes_mconf.h" | 6 | #include "cephes_mconf.h" |
| 7 | #include <errno.h> | 7 | #include <errno.h> |
| 8 | 8 | ||
| 9 | #if defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) | 9 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ |
| 10 | #include <math.h> | 10 | #include <math.h> |
| 11 | 11 | ||
| 12 | long double sinhl(long double x) | 12 | long double sinhl(long double x) |
lib/libc/mingw/math/sqrt.def.h+1-1| ... | @@ -77,7 +77,7 @@ __FLT_ABI (sqrt) (__FLT_TYPE x) | ... | @@ -77,7 +77,7 @@ __FLT_ABI (sqrt) (__FLT_TYPE x) |
| 77 | #else | 77 | #else |
| 78 | asm volatile ("fsqrtd %[dst], %[src];\n" : [dst] "=w" (res) : [src] "w" (x)); | 78 | asm volatile ("fsqrtd %[dst], %[src];\n" : [dst] "=w" (res) : [src] "w" (x)); |
| 79 | #endif | 79 | #endif |
| 80 | #elif defined(__aarch64__) || defined(_ARM64_) | 80 | #elif defined(__aarch64__) || defined(_ARM64_) || defined(__arm64ec__) || defined(_ARM64EC_) |
| 81 | #if _NEW_COMPLEX_FLOAT | 81 | #if _NEW_COMPLEX_FLOAT |
| 82 | asm volatile ("fsqrt %s[dst], %s[src]\n" : [dst] "=w" (res) : [src] "w" (x)); | 82 | asm volatile ("fsqrt %s[dst], %s[src]\n" : [dst] "=w" (res) : [src] "w" (x)); |
| 83 | #else | 83 | #else |
lib/libc/mingw/math/tanhl.c+1-1| ... | @@ -8,7 +8,7 @@ | ... | @@ -8,7 +8,7 @@ |
| 8 | #define _SET_ERRNO(x) | 8 | #define _SET_ERRNO(x) |
| 9 | #endif | 9 | #endif |
| 10 | 10 | ||
| 11 | #if defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) | 11 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ |
| 12 | #include <math.h> | 12 | #include <math.h> |
| 13 | 13 | ||
| 14 | long double tanhl(long double x) | 14 | long double tanhl(long double x) |
lib/libc/mingw/math/tgammal.c+1-1| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | */ | 5 | */ |
| 6 | #include "cephes_mconf.h" | 6 | #include "cephes_mconf.h" |
| 7 | 7 | ||
| 8 | #if defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) | 8 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ |
| 9 | double tgamma(double x); | 9 | double tgamma(double x); |
| 10 | 10 | ||
| 11 | long double tgammal(long double x) | 11 | long double tgammal(long double x) |
lib/libc/mingw/math/truncl.c+3-4| ... | @@ -3,21 +3,20 @@ | ... | @@ -3,21 +3,20 @@ |
| 3 | * This file is part of the mingw-w64 runtime package. | 3 | * This file is part of the mingw-w64 runtime package. |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ | 5 | */ |
| 6 | #include <fenv.h> | 6 | |
| 7 | #include <math.h> | 7 | #include <math.h> |
| 8 | 8 | ||
| 9 | long double | 9 | long double |
| 10 | truncl (long double _x) | 10 | truncl (long double _x) |
| 11 | { | 11 | { |
| 12 | #if defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) | 12 | #if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ |
| 13 | return trunc(_x); | 13 | return trunc(_x); |
| 14 | #else | 14 | #else |
| 15 | long double retval = 0.0L; | 15 | long double retval = 0.0L; |
| 16 | unsigned short saved_cw; | 16 | unsigned short saved_cw; |
| 17 | unsigned short tmp_cw; | 17 | unsigned short tmp_cw; |
| 18 | __asm__ __volatile__ ("fnstcw %0;" : "=m" (saved_cw)); /* save FPU control word */ | 18 | __asm__ __volatile__ ("fnstcw %0;" : "=m" (saved_cw)); /* save FPU control word */ |
| 19 | tmp_cw = (saved_cw & ~(FE_TONEAREST | FE_DOWNWARD | FE_UPWARD | FE_TOWARDZERO)) | 19 | tmp_cw = saved_cw | 0xc00; /* round towards zero */ |
| 20 | 	 | FE_TOWARDZERO; | ||
| 21 | __asm__ __volatile__ ("fldcw %0;" : : "m" (tmp_cw)); | 20 | __asm__ __volatile__ ("fldcw %0;" : : "m" (tmp_cw)); |
| 22 | __asm__ __volatile__ ("frndint;" : "=t" (retval) : "0" (_x)); /* round towards zero */ | 21 | __asm__ __volatile__ ("frndint;" : "=t" (retval) : "0" (_x)); /* round towards zero */ |
| 23 | __asm__ __volatile__ ("fldcw %0;" : : "m" (saved_cw) ); /* restore saved control word */ | 22 | __asm__ __volatile__ ("fldcw %0;" : : "m" (saved_cw) ); /* restore saved control word */ |
lib/libc/mingw/math/x86/pow.def.h-3| ... | @@ -69,11 +69,8 @@ | ... | @@ -69,11 +69,8 @@ |
| 69 | #include "../complex/complex_internal.h" | 69 | #include "../complex/complex_internal.h" |
| 70 | #include <errno.h> | 70 | #include <errno.h> |
| 71 | #include <limits.h> | 71 | #include <limits.h> |
| 72 | #include <fenv.h> | ||
| 73 | #include <math.h> | 72 | #include <math.h> |
| 74 | #include <errno.h> | 73 | #include <errno.h> |
| 75 | #define FE_ROUNDING_MASK \ | ||
| 76 | (FE_TONEAREST | FE_DOWNWARD | FE_UPWARD | FE_TOWARDZERO) | ||
| 77 | 74 | ||
| 78 | static __FLT_TYPE | 75 | static __FLT_TYPE |
| 79 | internal_modf (__FLT_TYPE value, __FLT_TYPE *iptr) | 76 | internal_modf (__FLT_TYPE value, __FLT_TYPE *iptr) |
lib/libc/mingw/misc/dllentrypoint.c deleted-18| ... | @@ -1,18 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #include <oscalls.h> | ||
| 8 | #define _DECL_DLLMAIN | ||
| 9 | #include <process.h> | ||
| 10 | |||
| 11 | BOOL WINAPI DllEntryPoint (HANDLE, DWORD, LPVOID); | ||
| 12 | |||
| 13 | BOOL WINAPI DllEntryPoint (HANDLE __UNUSED_PARAM(hDllHandle), | ||
| 14 | 			 DWORD __UNUSED_PARAM(dwReason), | ||
| 15 | 			 LPVOID __UNUSED_PARAM(lpreserved)) | ||
| 16 | { | ||
| 17 | return TRUE; | ||
| 18 | } | ||
lib/libc/mingw/misc/feclearexcept.c+7-33| ... | @@ -4,44 +4,18 @@ | ... | @@ -4,44 +4,18 @@ |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #include <fenv.h> | ||
| 8 | #include <internal.h> | 7 | #include <internal.h> |
| 9 | 8 | ||
| 10 | /* 7.6.2.1 | 9 | /* 7.6.2.1 |
| 11 | The feclearexcept function clears the supported exceptions | 10 | The feclearexcept function clears the supported exceptions |
| 12 | represented by its argument. */ | 11 | represented by its argument. */ |
| 13 | 12 | ||
| 14 | int feclearexcept (int excepts) | 13 | int feclearexcept(int flags) |
| 15 | { | 14 | { |
| 16 | fenv_t _env; | 15 | fenv_t env; |
| 17 | #if defined(_ARM_) || defined(__arm__) | 16 | |
| 18 | __asm__ volatile ("fmrx %0, FPSCR" : "=r" (_env)); | 17 | fegetenv(&env); |
| 19 | _env.__cw &= ~(excepts & FE_ALL_EXCEPT); | 18 | flags &= FE_ALL_EXCEPT; |
| 20 | __asm__ volatile ("fmxr FPSCR, %0" : : "r" (_env)); | 19 | env._Fe_stat &= ~fenv_encode(flags, flags); |
| 21 | #elif defined(_ARM64_) || defined(__aarch64__) | 20 | return fesetenv(&env); |
| 22 | unsigned __int64 fpcr; | ||
| 23 | (void) _env; | ||
| 24 | __asm__ volatile ("mrs %0, fpcr" : "=r" (fpcr)); | ||
| 25 | fpcr &= ~(excepts & FE_ALL_EXCEPT); | ||
| 26 | __asm__ volatile ("msr fpcr, %0" : : "r" (fpcr)); | ||
| 27 | #else | ||
| 28 | int _mxcsr; | ||
| 29 | if (excepts == FE_ALL_EXCEPT) | ||
| 30 | { | ||
| 31 | __asm__ volatile ("fnclex"); | ||
| 32 | } | ||
| 33 | else | ||
| 34 | { | ||
| 35 | __asm__ volatile ("fnstenv %0" : "=m" (_env)); | ||
| 36 | _env.__status_word &= ~(excepts & FE_ALL_EXCEPT); | ||
| 37 | __asm__ volatile ("fldenv %0" : : "m" (_env)); | ||
| 38 | } | ||
| 39 | if (__mingw_has_sse ()) | ||
| 40 | { | ||
| 41 | __asm__ volatile ("stmxcsr %0" : "=m" (_mxcsr)); | ||
| 42 | _mxcsr &= ~(((excepts & FE_ALL_EXCEPT))); | ||
| 43 | __asm__ volatile ("ldmxcsr %0" : : "m" (_mxcsr)); | ||
| 44 | } | ||
| 45 | #endif /* defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) */ | ||
| 46 | return (0); | ||
| 47 | } | 21 | } |
lib/libc/mingw/misc/fegetenv.c+11-20| ... | @@ -4,34 +4,25 @@ | ... | @@ -4,34 +4,25 @@ |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #include <fenv.h> | ||
| 8 | #include <internal.h> | 7 | #include <internal.h> |
| 9 | 8 | ||
| 10 | /* 7.6.4.1 | 9 | /* 7.6.4.1 |
| 11 | The fegetenv function stores the current floating-point environment | 10 | The fegetenv function stores the current floating-point environment |
| 12 | in the object pointed to by envp. */ | 11 | in the object pointed to by envp. */ |
| 13 | 12 | ||
| 14 | int fegetenv (fenv_t * envp) | 13 | int fegetenv(fenv_t *env) |
| 15 | { | 14 | { |
| 16 | #if defined(_ARM_) || defined(__arm__) | 15 | #if defined(__i386__) || (defined(__x86_64__) && !defined(__arm64ec__)) |
| 17 | __asm__ volatile ("fmrx %0, FPSCR" : "=r" (*envp)); | 16 | unsigned int x87, sse; |
| 18 | #elif defined(_ARM64_) || defined(__aarch64__) | 17 | __mingw_control87_2(0, 0, &x87, &sse); |
| 19 | unsigned __int64 fpcr; | 18 | env->_Fe_ctl = fenv_encode(x87, sse); |
| 20 | __asm__ volatile ("mrs %0, fpcr" : "=r" (fpcr)); | 19 | __mingw_setfp(NULL, 0, &x87, 0); |
| 21 | envp->__cw = fpcr; | 20 | __mingw_setfp_sse(NULL, 0, &sse, 0); |
| 21 | env->_Fe_stat = fenv_encode(x87, sse); | ||
| 22 | #else | 22 | #else |
| 23 | __asm__ __volatile__ ("fnstenv %0;": "=m" (*envp)); | 23 | env->_Fe_ctl = fenv_encode(0, __mingw_controlfp(0, 0)); |
| 24 | /* fnstenv sets control word to non-stop for all exceptions, so we | 24 | env->_Fe_stat = fenv_encode(0, __mingw_statusfp()); |
| 25 | need to reload our env to restore the original mask. */ | 25 | #endif |
| 26 | __asm__ __volatile__ ("fldenv %0" : : "m" (*envp)); | ||
| 27 | if (__mingw_has_sse ()) | ||
| 28 | { | ||
| 29 | int _mxcsr; | ||
| 30 | __asm__ __volatile__ ("stmxcsr %0" : "=m" (_mxcsr)); | ||
| 31 | envp->__unused0 = (((unsigned int) _mxcsr) >> 16); | ||
| 32 | envp->__unused1 = (((unsigned int) _mxcsr) & 0xffff); | ||
| 33 | } | ||
| 34 | #endif /* defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) */ | ||
| 35 | return 0; | 26 | return 0; |
| 36 | } | 27 | } |
| 37 | 28 |
lib/libc/mingw/misc/fegetexceptflag.c+9-20| ... | @@ -12,26 +12,15 @@ | ... | @@ -12,26 +12,15 @@ |
| 12 | representation of the exception flags indicated by the argument | 12 | representation of the exception flags indicated by the argument |
| 13 | excepts in the object pointed to by the argument flagp. */ | 13 | excepts in the object pointed to by the argument flagp. */ |
| 14 | 14 | ||
| 15 | int fegetexceptflag (fexcept_t * flagp, int excepts) | 15 | int fegetexceptflag(fexcept_t *status, int excepts) |
| 16 | { | 16 | { |
| 17 | #if defined(_ARM_) || defined(__arm__) | 17 | #if defined(__i386__) || (defined(__x86_64__) && !defined(__arm64ec__)) |
| 18 | fenv_t _env; | 18 | unsigned int x87, sse; |
| 19 | __asm__ volatile ("fmrx %0, FPSCR" : "=r" (_env)); | 19 | __mingw_setfp(NULL, 0, &x87, 0); |
| 20 | *flagp = _env.__cw & excepts & FE_ALL_EXCEPT; | 20 | __mingw_setfp_sse(NULL, 0, &sse, 0); |
| 21 | #elif defined(_ARM64_) || defined(__aarch64__) | 21 | *status = fenv_encode(x87 & excepts, sse & excepts); |
| 22 | unsigned __int64 fpcr; | ||
| 23 | __asm__ volatile ("mrs %0, fpcr" : "=r" (fpcr)); | ||
| 24 | *flagp = fpcr & excepts & FE_ALL_EXCEPT; | ||
| 25 | #else | 22 | #else |
| 26 | int _mxcsr; | 23 | *status = fenv_encode(0, __mingw_statusfp() & excepts); |
| 27 | unsigned short _status; | 24 | #endif |
| 28 | 25 | return 0; | |
| 29 | __asm__ volatile ("fnstsw %0" : "=am" (_status)); | ||
| 30 | _mxcsr = 0; | ||
| 31 | if (__mingw_has_sse ()) | ||
| 32 | __asm__ volatile ("stmxcsr %0" : "=m" (_mxcsr)); | ||
| 33 | |||
| 34 | *flagp = (_mxcsr | _status) & excepts & FE_ALL_EXCEPT; | ||
| 35 | #endif /* defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) */ | ||
| 36 | return 0; | ||
| 37 | } | 26 | } |
lib/libc/mingw/misc/fegetround.c+3-16| ... | @@ -3,26 +3,13 @@ | ... | @@ -3,26 +3,13 @@ |
| 3 | * This file is part of the mingw-w64 runtime package. | 3 | * This file is part of the mingw-w64 runtime package. |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ | 5 | */ |
| 6 | #include <fenv.h> | 6 | #include <internal.h> |
| 7 | 7 | ||
| 8 | /* 7.6.3.1 | 8 | /* 7.6.3.1 |
| 9 | The fegetround function returns the value of the rounding direction | 9 | The fegetround function returns the value of the rounding direction |
| 10 | macro representing the current rounding direction. */ | 10 | macro representing the current rounding direction. */ |
| 11 | 11 | ||
| 12 | int | 12 | int fegetround(void) |
| 13 | fegetround (void) | ||
| 14 | { | 13 | { |
| 15 | #if defined(_ARM_) || defined(__arm__) | 14 | return __mingw_controlfp(0, 0) & _MCW_RC; |
| 16 | fenv_t _env; | ||
| 17 | __asm__ volatile ("fmrx %0, FPSCR" : "=r" (_env)); | ||
| 18 | return (_env.__cw & (FE_TONEAREST | FE_DOWNWARD | FE_UPWARD | FE_TOWARDZERO)); | ||
| 19 | #elif defined(_ARM64_) || defined(__aarch64__) | ||
| 20 | unsigned __int64 fpcr; | ||
| 21 | __asm__ volatile ("mrs %0, fpcr" : "=r" (fpcr)); | ||
| 22 | return (fpcr & (FE_TONEAREST | FE_DOWNWARD | FE_UPWARD | FE_TOWARDZERO)); | ||
| 23 | #else | ||
| 24 | int _control; | ||
| 25 | __asm__ volatile ("fnstcw %0" : "=m" (*&_control)); | ||
| 26 | return (_control & (FE_TONEAREST | FE_DOWNWARD | FE_UPWARD | FE_TOWARDZERO)); | ||
| 27 | #endif /* defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) */ | ||
| 28 | } | 15 | } |
lib/libc/mingw/misc/feholdexcept.c+3-20| ... | @@ -11,25 +11,8 @@ | ... | @@ -11,25 +11,8 @@ |
| 11 | flags, and then installs a non-stop (continue on exceptions) mode, | 11 | flags, and then installs a non-stop (continue on exceptions) mode, |
| 12 | if available, for all exceptions. */ | 12 | if available, for all exceptions. */ |
| 13 | 13 | ||
| 14 | int feholdexcept (fenv_t * envp) | 14 | int feholdexcept(fenv_t *env) |
| 15 | { | 15 | { |
| 16 | #if defined(_ARM_) || defined(__arm__) | 16 | fegetenv(env); |
| 17 | fenv_t _env; | 17 | return feclearexcept(FE_ALL_EXCEPT); |
| 18 | __asm__ volatile ("fmrx %0, FPSCR" : "=r" (_env)); | ||
| 19 | envp->__cw = _env.__cw; | ||
| 20 | _env.__cw &= ~(FE_ALL_EXCEPT); | ||
| 21 | __asm__ volatile ("fmxr FPSCR, %0" : : "r" (_env)); | ||
| 22 | #elif defined(_ARM64_) || defined(__aarch64__) | ||
| 23 | unsigned __int64 fpcr; | ||
| 24 | __asm__ volatile ("mrs %0, fpcr" : "=r" (fpcr)); | ||
| 25 | envp->__cw = fpcr; | ||
| 26 | fpcr &= ~(FE_ALL_EXCEPT); | ||
| 27 | __asm__ volatile ("msr fpcr, %0" : : "r" (fpcr)); | ||
| 28 | #else | ||
| 29 | __asm__ __volatile__ ("fnstenv %0;" : "=m" (* envp)); /* save current into envp */ | ||
| 30 | /* fnstenv sets control word to non-stop for all exceptions, so all we | ||
| 31 | need to do is clear the exception flags. */ | ||
| 32 | __asm__ __volatile__ ("fnclex"); | ||
| 33 | #endif /* defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) */ | ||
| 34 | return 0; | ||
| 35 | } | 18 | } |
lib/libc/mingw/misc/feraiseexcept.c+12-20| ... | @@ -3,7 +3,7 @@ | ... | @@ -3,7 +3,7 @@ |
| 3 | * This file is part of the mingw-w64 runtime package. | 3 | * This file is part of the mingw-w64 runtime package. |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ | 5 | */ |
| 6 | #include <fenv.h> | 6 | #include <internal.h> |
| 7 | 7 | ||
| 8 | /* 7.6.2.3 | 8 | /* 7.6.2.3 |
| 9 | The feraiseexcept function raises the supported exceptions | 9 | The feraiseexcept function raises the supported exceptions |
| ... | @@ -13,24 +13,16 @@ | ... | @@ -13,24 +13,16 @@ |
| 13 | the inexact exception whenever it raises the overflow | 13 | the inexact exception whenever it raises the overflow |
| 14 | or underflow exception is implementation-defined. */ | 14 | or underflow exception is implementation-defined. */ |
| 15 | 15 | ||
| 16 | int feraiseexcept (int excepts) | 16 | int feraiseexcept(int flags) |
| 17 | { | 17 | { |
| 18 | fenv_t _env; | 18 | fenv_t env; |
| 19 | #if defined(_ARM_) || defined(__arm__) | 19 | |
| 20 | __asm__ volatile ("fmrx %0, FPSCR" : "=r" (_env)); | 20 | flags &= FE_ALL_EXCEPT; |
| 21 | _env.__cw |= excepts & FE_ALL_EXCEPT; | 21 | fegetenv(&env); |
| 22 | __asm__ volatile ("fmxr FPSCR, %0" : : "r" (_env)); | 22 | env._Fe_stat |= fenv_encode(flags, flags); |
| 23 | #elif defined(_ARM64_) || defined(__aarch64__) | 23 | fesetenv(&env); |
| 24 | unsigned __int64 fpcr; | 24 | #if defined(__i386__) || (defined(__x86_64__) && !defined(__arm64ec__)) |
| 25 | (void) _env; | 25 | __asm__ volatile ("fwait\n\t"); |
| 26 | __asm__ volatile ("mrs %0, fpcr" : "=r" (fpcr)); | 26 | #endif |
| 27 | fpcr |= excepts & FE_ALL_EXCEPT; | 27 | return 0; |
| 28 | __asm__ volatile ("msr fpcr, %0" : : "r" (fpcr)); | ||
| 29 | #else | ||
| 30 | __asm__ volatile ("fnstenv %0;" : "=m" (_env)); | ||
| 31 | _env.__status_word |= excepts & FE_ALL_EXCEPT; | ||
| 32 | __asm__ volatile ("fldenv %0;" | ||
| 33 | 		 "fwait;" : : "m" (_env)); | ||
| 34 | #endif /* defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) */ | ||
| 35 | return 0; | ||
| 36 | } | 28 | } |
lib/libc/mingw/misc/fesetenv.c+35-56| ... | @@ -4,11 +4,24 @@ | ... | @@ -4,11 +4,24 @@ |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #include <_mingw.h> | ||
| 8 | #include <fenv.h> | ||
| 9 | #include <float.h> | ||
| 10 | #include <internal.h> | 7 | #include <internal.h> |
| 11 | 8 | ||
| 9 | /* The FE_DFL_ENV macro is required by standard. | ||
| 10 | fesetenv will use the environment set at app startup.*/ | ||
| 11 | const fenv_t __mingw_fe_dfl_env = { 0, 0 }; | ||
| 12 | |||
| 13 | /* The C99 standard (7.6.9) allows us to define implementation-specific macros for | ||
| 14 | different fp environments */ | ||
| 15 | #if defined(__i386__) || defined(__x86_64__) | ||
| 16 | |||
| 17 | /* The default Intel x87 floating point environment (64-bit mantissa) */ | ||
| 18 | const fenv_t __mingw_fe_pc64_env = { 0x3f3f003f, 0 }; | ||
| 19 | |||
| 20 | /* The floating point environment set by MSVCRT _fpreset (53-bit mantissa) */ | ||
| 21 | const fenv_t __mingw_fe_pc53_env = { 0x3f3f103f, 0 }; | ||
| 22 | |||
| 23 | #endif | ||
| 24 | |||
| 12 | /* 7.6.4.3 | 25 | /* 7.6.4.3 |
| 13 | The fesetenv function establishes the floating-point environment | 26 | The fesetenv function establishes the floating-point environment |
| 14 | represented by the object pointed to by envp. The argument envp | 27 | represented by the object pointed to by envp. The argument envp |
| ... | @@ -22,61 +35,27 @@ | ... | @@ -22,61 +35,27 @@ |
| 22 | extern void (* __MINGW_IMP_SYMBOL(_fpreset))(void); | 35 | extern void (* __MINGW_IMP_SYMBOL(_fpreset))(void); |
| 23 | extern void _fpreset(void); | 36 | extern void _fpreset(void); |
| 24 | 37 | ||
| 25 | int fesetenv (const fenv_t * envp) | 38 | int fesetenv(const fenv_t *env) |
| 26 | { | 39 | { |
| 27 | #if defined(_ARM_) || defined(__arm__) | 40 | unsigned int x87_cw, cw, x87_stat, stat; |
| 28 | if (envp == FE_DFL_ENV) | 41 | unsigned int mask = ~0u; |
| 29 | /* Use the choice made at app startup */ | ||
| 30 | _fpreset(); | ||
| 31 | else | ||
| 32 | __asm__ volatile ("fmxr FPSCR, %0" : : "r" (*envp)); | ||
| 33 | #elif defined(_ARM64_) || defined(__aarch64__) | ||
| 34 | if (envp == FE_DFL_ENV) { | ||
| 35 | /* Use the choice made at app startup */ | ||
| 36 | _fpreset(); | ||
| 37 | } else { | ||
| 38 | unsigned __int64 fpcr = envp->__cw; | ||
| 39 | __asm__ volatile ("msr fpcr, %0" : : "r" (fpcr)); | ||
| 40 | } | ||
| 41 | #else | ||
| 42 | if (envp == FE_PC64_ENV) | ||
| 43 | /* | ||
| 44 | * fninit initializes the control register to 0x37f, | ||
| 45 | * the status register to zero and the tag word to 0FFFFh. | ||
| 46 | * The other registers are unaffected. | ||
| 47 | */ | ||
| 48 | __asm__ __volatile__ ("fninit"); | ||
| 49 | 42 | ||
| 50 | else if (envp == FE_PC53_ENV) | 43 | if (!env->_Fe_ctl && !env->_Fe_stat) { |
| 51 | /* | 44 | _fpreset(); |
| 52 | * MS _fpreset() does same *except* it sets control word | 45 | return 0; |
| 53 | * to 0x27f (53-bit precision). | ||
| 54 | * We force calling _fpreset in msvcrt.dll | ||
| 55 | */ | ||
| 56 | |||
| 57 | (* __MINGW_IMP_SYMBOL(_fpreset))(); | ||
| 58 | |||
| 59 | else if (envp == FE_DFL_ENV) | ||
| 60 | /* Use the choice made at app startup */ | ||
| 61 | _fpreset(); | ||
| 62 | |||
| 63 | else | ||
| 64 | { | ||
| 65 | fenv_t env = *envp; | ||
| 66 | int has_sse = __mingw_has_sse (); | ||
| 67 | int _mxcsr; | ||
| 68 | /*_mxcsr = ((int)envp->__unused0 << 16) | (int)envp->__unused1; *//* mxcsr low and high */ | ||
| 69 | if (has_sse) | ||
| 70 | __asm__ ("stmxcsr %0" : "=m" (*&_mxcsr)); | ||
| 71 | env.__unused0 = 0xffff; | ||
| 72 | env.__unused1 = 0xffff; | ||
| 73 | __asm__ volatile ("fldenv %0" : : "m" (env) | ||
| 74 | 			: "st", "st(1)", "st(2)", "st(3)", "st(4)", | ||
| 75 | 			"st(5)", "st(6)", "st(7)"); | ||
| 76 | if (has_sse) | ||
| 77 | __asm__ volatile ("ldmxcsr %0" : : "m" (*&_mxcsr)); | ||
| 78 | } | 46 | } |
| 79 | 47 | ||
| 80 | #endif /* defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) */ | 48 | if (!fenv_decode(env->_Fe_ctl, &x87_cw, &cw)) |
| 81 | return 0; | 49 | return 1; |
| 50 | if (!fenv_decode(env->_Fe_stat, &x87_stat, &stat)) | ||
| 51 | return 1; | ||
| 52 | |||
| 53 | #if defined(__i386__) || (defined(__x86_64__) && !defined(__arm64ec__)) | ||
| 54 | __mingw_setfp(&x87_cw, mask, &x87_stat, ~0); | ||
| 55 | if (__mingw_has_sse()) | ||
| 56 | __mingw_setfp_sse(&cw, mask, &stat, ~0); | ||
| 57 | #else | ||
| 58 | __mingw_setfp(&cw, mask, &stat, ~0); | ||
| 59 | #endif | ||
| 60 | return 0; | ||
| 82 | } | 61 | } |
lib/libc/mingw/misc/fesetexceptflag.c+9-33| ... | @@ -4,7 +4,6 @@ | ... | @@ -4,7 +4,6 @@ |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #include <fenv.h> | ||
| 8 | #include <internal.h> | 7 | #include <internal.h> |
| 9 | 8 | ||
| 10 | /* 7.6.2.4 | 9 | /* 7.6.2.4 |
| ... | @@ -16,39 +15,16 @@ | ... | @@ -16,39 +15,16 @@ |
| 16 | represented by the argument excepts. This function does not raise | 15 | represented by the argument excepts. This function does not raise |
| 17 | exceptions, but only sets the state of the flags. */ | 16 | exceptions, but only sets the state of the flags. */ |
| 18 | 17 | ||
| 19 | int fesetexceptflag (const fexcept_t * flagp, int excepts) | 18 | int fesetexceptflag(const fexcept_t *status, int excepts) |
| 20 | { | 19 | { |
| 21 | fenv_t _env; | 20 | fenv_t env; |
| 22 | 21 | ||
| 23 | excepts &= FE_ALL_EXCEPT; | 22 | excepts &= FE_ALL_EXCEPT; |
| 23 | if(!excepts) | ||
| 24 | return 0; | ||
| 24 | 25 | ||
| 25 | #if defined(_ARM_) || defined(__arm__) | 26 | fegetenv(&env); |
| 26 | __asm__ volatile ("fmrx %0, FPSCR" : "=r" (_env)); | 27 | env._Fe_stat &= ~fenv_encode(excepts, excepts); |
| 27 | _env.__cw &= ~excepts; | 28 | env._Fe_stat |= *status & fenv_encode(excepts, excepts); |
| 28 | _env.__cw |= (*flagp & excepts); | 29 | return fesetenv(&env); |
| 29 | __asm__ volatile ("fmxr FPSCR, %0" : : "r" (_env)); | ||
| 30 | #elif defined(_ARM64_) || defined(__aarch64__) | ||
| 31 | unsigned __int64 fpcr; | ||
| 32 | (void) _env; | ||
| 33 | __asm__ volatile ("mrs %0, fpcr" : "=r" (fpcr)); | ||
| 34 | fpcr &= ~excepts; | ||
| 35 | fpcr |= (*flagp & excepts); | ||
| 36 | __asm__ volatile ("msr fpcr, %0" : : "r" (fpcr)); | ||
| 37 | #else | ||
| 38 | __asm__ volatile ("fnstenv %0;" : "=m" (_env)); | ||
| 39 | _env.__status_word &= ~excepts; | ||
| 40 | _env.__status_word |= (*flagp & excepts); | ||
| 41 | __asm__ volatile ("fldenv %0;" : : "m" (_env)); | ||
| 42 | |||
| 43 | if (__mingw_has_sse ()) | ||
| 44 | { | ||
| 45 | int sse_cw; | ||
| 46 | __asm__ volatile ("stmxcsr %0;" : "=m" (sse_cw)); | ||
| 47 | sse_cw &= ~(excepts << 7); | ||
| 48 | sse_cw |= ((*flagp & excepts) << 7); | ||
| 49 | __asm__ volatile ("ldmxcsr %0" : : "m" (sse_cw)); | ||
| 50 | } | ||
| 51 | |||
| 52 | #endif /* defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) */ | ||
| 53 | return 0; | ||
| 54 | } | 30 | } |
lib/libc/mingw/misc/fesetround.c+5-38| ... | @@ -13,43 +13,10 @@ | ... | @@ -13,43 +13,10 @@ |
| 13 | to the value of a rounding direction macro, the rounding direction | 13 | to the value of a rounding direction macro, the rounding direction |
| 14 | is not changed. */ | 14 | is not changed. */ |
| 15 | 15 | ||
| 16 | int fesetround (int mode) | 16 | int fesetround(int round_mode) |
| 17 | { | 17 | { |
| 18 | #if defined(_ARM_) || defined(__arm__) | 18 | if (round_mode & (~_MCW_RC)) |
| 19 | fenv_t _env; | 19 | return 1; |
| 20 | if ((mode & ~(FE_TONEAREST | FE_DOWNWARD | FE_UPWARD | FE_TOWARDZERO)) != 0) | 20 | __mingw_controlfp(round_mode, _MCW_RC); |
| 21 | return -1; | 21 | return 0; |
| 22 | __asm__ volatile ("fmrx %0, FPSCR" : "=r" (_env)); | ||
| 23 | _env.__cw &= ~(FE_TONEAREST | FE_DOWNWARD | FE_UPWARD | FE_TOWARDZERO); | ||
| 24 | _env.__cw |= mode; | ||
| 25 | __asm__ volatile ("fmxr FPSCR, %0" : : "r" (_env)); | ||
| 26 | #elif defined(_ARM64_) || defined(__aarch64__) | ||
| 27 | unsigned __int64 fpcr; | ||
| 28 | if ((mode & ~(FE_TONEAREST | FE_DOWNWARD | FE_UPWARD | FE_TOWARDZERO)) != 0) | ||
| 29 | return -1; | ||
| 30 | __asm__ volatile ("mrs %0, fpcr" : "=r" (fpcr)); | ||
| 31 | fpcr &= ~(FE_TONEAREST | FE_DOWNWARD | FE_UPWARD | FE_TOWARDZERO); | ||
| 32 | fpcr |= mode; | ||
| 33 | __asm__ volatile ("msr fpcr, %0" : : "r" (fpcr)); | ||
| 34 | #else | ||
| 35 | unsigned short _cw; | ||
| 36 | if ((mode & ~(FE_TONEAREST | FE_DOWNWARD | FE_UPWARD | FE_TOWARDZERO)) | ||
| 37 | != 0) | ||
| 38 | return -1; | ||
| 39 | __asm__ volatile ("fnstcw %0;": "=m" (*&_cw)); | ||
| 40 | _cw &= ~0xc00; | ||
| 41 | _cw |= mode; | ||
| 42 | __asm__ volatile ("fldcw %0;" : : "m" (*&_cw)); | ||
| 43 | |||
| 44 | if (__mingw_has_sse ()) | ||
| 45 | { | ||
| 46 | int mxcsr; | ||
| 47 | |||
| 48 | __asm__ volatile ("stmxcsr %0" : "=m" (*&mxcsr)); | ||
| 49 | mxcsr &= ~0x6000; | ||
| 50 | mxcsr |= mode << 3; | ||
| 51 | __asm__ volatile ("ldmxcsr %0" : : "m" (*&mxcsr)); | ||
| 52 | } | ||
| 53 | #endif /* defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) */ | ||
| 54 | return 0; | ||
| 55 | } | 22 | } |
lib/libc/mingw/misc/fetestexcept.c+2-21| ... | @@ -15,26 +15,7 @@ | ... | @@ -15,26 +15,7 @@ |
| 15 | exception macros corresponding to the currently set exceptions | 15 | exception macros corresponding to the currently set exceptions |
| 16 | included in excepts. */ | 16 | included in excepts. */ |
| 17 | 17 | ||
| 18 | int fetestexcept (int excepts) | 18 | int fetestexcept(int flags) |
| 19 | { | 19 | { |
| 20 | #if defined(_ARM_) || defined(__arm__) | 20 | return __mingw_statusfp() & flags; |
| 21 | fenv_t _env; | ||
| 22 | __asm__ volatile ("fmrx %0, FPSCR" : "=r" (_env)); | ||
| 23 | return _env.__cw & excepts & FE_ALL_EXCEPT; | ||
| 24 | #elif defined(_ARM64_) || defined(__aarch64__) | ||
| 25 | unsigned __int64 fpcr; | ||
| 26 | __asm__ volatile ("mrs %0, fpcr" : "=r" (fpcr)); | ||
| 27 | return fpcr & excepts & FE_ALL_EXCEPT; | ||
| 28 | #else | ||
| 29 | unsigned short _sw; | ||
| 30 | __asm__ __volatile__ ("fnstsw %%ax" : "=a" (_sw)); | ||
| 31 | |||
| 32 | if (__mingw_has_sse ()) | ||
| 33 | { | ||
| 34 | int sse_sw; | ||
| 35 | __asm__ __volatile__ ("stmxcsr %0;" : "=m" (sse_sw)); | ||
| 36 | _sw |= sse_sw; | ||
| 37 | } | ||
| 38 | return _sw & excepts & FE_ALL_EXCEPT; | ||
| 39 | #endif /* defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) */ | ||
| 40 | } | 21 | } |
lib/libc/mingw/misc/feupdateenv.c+3-7| ... | @@ -13,13 +13,9 @@ | ... | @@ -13,13 +13,9 @@ |
| 13 | set by a call to feholdexcept or fegetenv, or equal the macro | 13 | set by a call to feholdexcept or fegetenv, or equal the macro |
| 14 | FE_DFL_ENV or an implementation-defined environment macro. */ | 14 | FE_DFL_ENV or an implementation-defined environment macro. */ |
| 15 | 15 | ||
| 16 | /* FIXME: this works but surely there must be a better way. */ | 16 | int feupdateenv(const fenv_t *env) |
| 17 | |||
| 18 | int feupdateenv (const fenv_t * envp) | ||
| 19 | { | 17 | { |
| 20 | unsigned int _fexcept = fetestexcept (FE_ALL_EXCEPT); /*save excepts */ | 18 | int except = fetestexcept(FE_ALL_EXCEPT); |
| 21 | fesetenv (envp); /* install the env */ | 19 | return fesetenv(env) || feraiseexcept(except); |
| 22 | feraiseexcept (_fexcept); /* raise the except */ | ||
| 23 | return 0; | ||
| 24 | } | 20 | } |
| 25 | 21 |
lib/libc/mingw/misc/ftw.c+18-16| ... | @@ -15,11 +15,9 @@ | ... | @@ -15,11 +15,9 @@ |
| 15 | #include <dirent.h> | 15 | #include <dirent.h> |
| 16 | #include <ftw.h> | 16 | #include <ftw.h> |
| 17 | 17 | ||
| 18 | #ifdef IMPL_FTW64 | 18 | int __cdecl stat32(const char *_Filename, struct _stat32 *_Stat); |
| 19 | #define stat stat64 | 19 | int __cdecl stat32i64(const char *_Filename, struct _stat32i64 *_Stat); |
| 20 | #define nftw nftw64 | 20 | int __cdecl stat64i32(const char *_Filename, struct _stat64i32 *_Stat); |
| 21 | #define ftw ftw64 | ||
| 22 | #endif | ||
| 23 | 21 | ||
| 24 | typedef struct dir_data_t { | 22 | typedef struct dir_data_t { |
| 25 | DIR *h; | 23 | DIR *h; |
| ... | @@ -36,14 +34,14 @@ typedef struct ctx_t { | ... | @@ -36,14 +34,14 @@ typedef struct ctx_t { |
| 36 | dir_data_t **dirs; | 34 | dir_data_t **dirs; |
| 37 | char *buf; | 35 | char *buf; |
| 38 | struct FTW ftw; | 36 | struct FTW ftw; |
| 39 | int (*fcb) (const char *, const struct stat *, int , struct FTW *); | 37 | int (*fcb) (const char *, const STRUCT_STAT *, int , struct FTW *); |
| 40 | size_t cur_dir, msz_dir, buf_sz; | 38 | size_t cur_dir, msz_dir, buf_sz; |
| 41 | int flags; | 39 | int flags; |
| 42 | dev_t dev; | 40 | dev_t dev; |
| 43 | } ctx_t; | 41 | } ctx_t; |
| 44 | 42 | ||
| 45 | static int add_object (ctx_t *); | 43 | static int add_object (ctx_t *); |
| 46 | static int do_dir (ctx_t *, struct stat *, dir_data_t *); | 44 | static int do_dir (ctx_t *, STRUCT_STAT *, dir_data_t *); |
| 47 | static int do_entity (ctx_t *, dir_data_t *, const char *, size_t); | 45 | static int do_entity (ctx_t *, dir_data_t *, const char *, size_t); |
| 48 | static int do_it (const char *, int, void *, int, int); | 46 | static int do_it (const char *, int, void *, int, int); |
| 49 | 47 | ||
| ... | @@ -225,7 +223,7 @@ open_directory (ctx_t *ctx, dir_data_t *dirp) | ... | @@ -225,7 +223,7 @@ open_directory (ctx_t *ctx, dir_data_t *dirp) |
| 225 | static int | 223 | static int |
| 226 | do_entity (ctx_t *ctx, dir_data_t *dir, const char *name, size_t namlen) | 224 | do_entity (ctx_t *ctx, dir_data_t *dir, const char *name, size_t namlen) |
| 227 | { | 225 | { |
| 228 | struct stat st; | 226 | STRUCT_STAT st; |
| 229 | char *h; | 227 | char *h; |
| 230 | size_t cnt_sz; | 228 | size_t cnt_sz; |
| 231 | int ret = 0, flag = 0; | 229 | int ret = 0, flag = 0; |
| ... | @@ -249,7 +247,7 @@ do_entity (ctx_t *ctx, dir_data_t *dir, const char *name, size_t namlen) | ... | @@ -249,7 +247,7 @@ do_entity (ctx_t *ctx, dir_data_t *dir, const char *name, size_t namlen) |
| 249 | 247 | ||
| 250 | name = ctx->buf; | 248 | name = ctx->buf; |
| 251 | 249 | ||
| 252 | if (stat (name, &st) < 0) | 250 | if (FUNC_STAT (name, &st) < 0) |
| 253 | { | 251 | { |
| 254 | if (errno != EACCES && errno != ENOENT) | 252 | if (errno != EACCES && errno != ENOENT) |
| 255 | 	ret = -1; | 253 | 	ret = -1; |
| ... | @@ -257,7 +255,7 @@ do_entity (ctx_t *ctx, dir_data_t *dir, const char *name, size_t namlen) | ... | @@ -257,7 +255,7 @@ do_entity (ctx_t *ctx, dir_data_t *dir, const char *name, size_t namlen) |
| 257 | 	flag = FTW_NS; | 255 | 	flag = FTW_NS; |
| 258 | 256 | ||
| 259 | if (!(ctx->flags & FTW_PHYS)) | 257 | if (!(ctx->flags & FTW_PHYS)) |
| 260 | 	stat (name, &st); | 258 | 	FUNC_STAT (name, &st); |
| 261 | } | 259 | } |
| 262 | else | 260 | else |
| 263 | flag = (S_ISDIR (st.st_mode) ? FTW_D : FTW_F); | 261 | flag = (S_ISDIR (st.st_mode) ? FTW_D : FTW_F); |
| ... | @@ -281,7 +279,7 @@ do_entity (ctx_t *ctx, dir_data_t *dir, const char *name, size_t namlen) | ... | @@ -281,7 +279,7 @@ do_entity (ctx_t *ctx, dir_data_t *dir, const char *name, size_t namlen) |
| 281 | 279 | ||
| 282 | 280 | ||
| 283 | static int | 281 | static int |
| 284 | do_dir (ctx_t *ctx, struct stat *st, __UNUSED_PARAM(dir_data_t *old_dir)) | 282 | do_dir (ctx_t *ctx, STRUCT_STAT *st, __UNUSED_PARAM(dir_data_t *old_dir)) |
| 285 | { | 283 | { |
| 286 | dir_data_t dir; | 284 | dir_data_t dir; |
| 287 | struct dirent *d; | 285 | struct dirent *d; |
| ... | @@ -378,7 +376,7 @@ static int | ... | @@ -378,7 +376,7 @@ static int |
| 378 | do_it (const char *dir, __UNUSED_PARAM(int is_nftw), void *fcb, int descriptors, int flags) | 376 | do_it (const char *dir, __UNUSED_PARAM(int is_nftw), void *fcb, int descriptors, int flags) |
| 379 | { | 377 | { |
| 380 | struct ctx_t ctx; | 378 | struct ctx_t ctx; |
| 381 | struct stat st; | 379 | STRUCT_STAT st; |
| 382 | int ret = 0; | 380 | int ret = 0; |
| 383 | int sv_e; | 381 | int sv_e; |
| 384 | char *cp; | 382 | char *cp; |
| ... | @@ -417,12 +415,12 @@ do_it (const char *dir, __UNUSED_PARAM(int is_nftw), void *fcb, int descriptors, | ... | @@ -417,12 +415,12 @@ do_it (const char *dir, __UNUSED_PARAM(int is_nftw), void *fcb, int descriptors, |
| 417 | ctx.ftw.level = 0; | 415 | ctx.ftw.level = 0; |
| 418 | ctx.ftw.base = cp - ctx.buf; | 416 | ctx.ftw.base = cp - ctx.buf; |
| 419 | ctx.flags = flags; | 417 | ctx.flags = flags; |
| 420 | ctx.fcb = (int (*) (const char *, const struct stat *, int , struct FTW *)) fcb; | 418 | ctx.fcb = (int (*) (const char *, const STRUCT_STAT *, int , struct FTW *)) fcb; |
| 421 | ctx.objs = NULL; | 419 | ctx.objs = NULL; |
| 422 | 420 | ||
| 423 | if (!ret) | 421 | if (!ret) |
| 424 | { | 422 | { |
| 425 | if (stat (ctx.buf, &st) < 0) | 423 | if (FUNC_STAT (ctx.buf, &st) < 0) |
| 426 | 	ret = -1; | 424 | 	ret = -1; |
| 427 | else if (S_ISDIR (st.st_mode)) | 425 | else if (S_ISDIR (st.st_mode)) |
| 428 | 	{ | 426 | 	{ |
| ... | @@ -451,13 +449,17 @@ do_it (const char *dir, __UNUSED_PARAM(int is_nftw), void *fcb, int descriptors, | ... | @@ -451,13 +449,17 @@ do_it (const char *dir, __UNUSED_PARAM(int is_nftw), void *fcb, int descriptors, |
| 451 | } | 449 | } |
| 452 | 450 | ||
| 453 | int | 451 | int |
| 454 | ftw (const char *path, int (*fcb) (const char *, const struct stat *, int), int descriptors) | 452 | FUNC_FTW (const char *path, int (*fcb) (const char *, const STRUCT_STAT *, int), int descriptors); |
| 453 | int | ||
| 454 | FUNC_FTW (const char *path, int (*fcb) (const char *, const STRUCT_STAT *, int), int descriptors) | ||
| 455 | { | 455 | { |
| 456 | return do_it (path, 0, fcb, descriptors, 0); | 456 | return do_it (path, 0, fcb, descriptors, 0); |
| 457 | } | 457 | } |
| 458 | 458 | ||
| 459 | int | 459 | int |
| 460 | nftw (const char *path, int (*fcb) (const char *, const struct stat *, int , struct FTW *), int descriptors, int flags) | 460 | FUNC_NFTW (const char *path, int (*fcb) (const char *, const STRUCT_STAT *, int , struct FTW *), int descriptors, int flags); |
| 461 | int | ||
| 462 | FUNC_NFTW (const char *path, int (*fcb) (const char *, const STRUCT_STAT *, int , struct FTW *), int descriptors, int flags) | ||
| 461 | { | 463 | { |
| 462 | return do_it (path, 1, fcb, descriptors, flags); | 464 | return do_it (path, 1, fcb, descriptors, flags); |
| 463 | } | 465 | } |
lib/libc/mingw/misc/ftw32.c created+19| ... | @@ -0,0 +1,19 @@ | ||
| 1 | /** | ||
| 2 | * This file is part of the mingw-w64 runtime package. | ||
| 3 | * No warranty is given; refer to the file DISCLAIMER within this package. | ||
| 4 | */ | ||
| 5 | |||
| 6 | #define FUNC_FTW ftw32 | ||
| 7 | #define FUNC_NFTW nftw32 | ||
| 8 | #define FUNC_STAT stat32 | ||
| 9 | #define STRUCT_STAT struct _stat32 | ||
| 10 | #include "ftw.c" | ||
| 11 | |||
| 12 | /* On 32-bit systems is stat ABI compatible with stat32 */ | ||
| 13 | #ifndef _WIN64 | ||
| 14 | #undef nftw | ||
| 15 | #undef ftw | ||
| 16 | struct stat; | ||
| 17 | int __attribute__ ((alias ("nftw32"))) __cdecl nftw(const char *, int (*) (const char *, const struct stat *, int, struct FTW *), int, int); | ||
| 18 | int __attribute__ ((alias ("ftw32"))) __cdecl ftw(const char *, int (*) (const char *, const struct stat *, int), int); | ||
| 19 | #endif | ||
lib/libc/mingw/misc/ftw32i64.c created+10| ... | @@ -0,0 +1,10 @@ | ||
| 1 | /** | ||
| 2 | * This file is part of the mingw-w64 runtime package. | ||
| 3 | * No warranty is given; refer to the file DISCLAIMER within this package. | ||
| 4 | */ | ||
| 5 | |||
| 6 | #define FUNC_FTW ftw32i64 | ||
| 7 | #define FUNC_NFTW nftw32i64 | ||
| 8 | #define FUNC_STAT stat32i64 | ||
| 9 | #define STRUCT_STAT struct _stat32i64 | ||
| 10 | #include "ftw.c" | ||
lib/libc/mingw/misc/ftw64.c+4-2| ... | @@ -3,6 +3,8 @@ | ... | @@ -3,6 +3,8 @@ |
| 3 | * No warranty is given; refer to the file DISCLAIMER within this package. | 3 | * No warranty is given; refer to the file DISCLAIMER within this package. |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | #define IMPL_FTW64 1 | 6 | #define FUNC_FTW ftw64 |
| 7 | 7 | #define FUNC_NFTW nftw64 | |
| 8 | #define FUNC_STAT stat64 | ||
| 9 | #define STRUCT_STAT struct stat64 | ||
| 8 | #include "ftw.c" | 10 | #include "ftw.c" |
lib/libc/mingw/misc/ftw64i32.c created+19| ... | @@ -0,0 +1,19 @@ | ||
| 1 | /** | ||
| 2 | * This file is part of the mingw-w64 runtime package. | ||
| 3 | * No warranty is given; refer to the file DISCLAIMER within this package. | ||
| 4 | */ | ||
| 5 | |||
| 6 | #define FUNC_FTW ftw64i32 | ||
| 7 | #define FUNC_NFTW nftw64i32 | ||
| 8 | #define FUNC_STAT stat64i32 | ||
| 9 | #define STRUCT_STAT struct _stat64i32 | ||
| 10 | #include "ftw.c" | ||
| 11 | |||
| 12 | /* On 64-bit systems is stat ABI compatible with stat64i32 */ | ||
| 13 | #ifdef _WIN64 | ||
| 14 | #undef nftw | ||
| 15 | #undef ftw | ||
| 16 | struct stat; | ||
| 17 | int __attribute__ ((alias ("nftw64i32"))) __cdecl nftw(const char *, int (*) (const char *, const struct stat *, int, struct FTW *), int, int); | ||
| 18 | int __attribute__ ((alias ("ftw64i32"))) __cdecl ftw(const char *, int (*) (const char *, const struct stat *, int), int); | ||
| 19 | #endif | ||
lib/libc/mingw/misc/mingw-aligned-malloc.c+33-7| ... | @@ -18,16 +18,14 @@ | ... | @@ -18,16 +18,14 @@ |
| 18 | #include <stdint.h>		/* uintptr_t */ | 18 | #include <stdint.h>		/* uintptr_t */ |
| 19 | #include <string.h>		/* memmove */ | 19 | #include <string.h>		/* memmove */ |
| 20 | 20 | ||
| 21 | /* Forward declarations: */ | ||
| 22 | void *__mingw_aligned_offset_malloc (size_t, size_t, size_t); | ||
| 23 | |||
| 24 | #define NOT_POWER_OF_TWO(n) (((n) & ((n) - 1))) | 21 | #define NOT_POWER_OF_TWO(n) (((n) & ((n) - 1))) |
| 25 | #define UI(p) ((uintptr_t) (p)) | 22 | #define UI(p) ((uintptr_t) (p)) |
| 26 | #define CP(p) ((char *) p) | 23 | #define CP(p) ((char *) p) |
| 27 | 24 | ||
| 25 | #define GAP(offset) ((0 - offset) & (sizeof (void *) -1)) | ||
| 28 | #define PTR_ALIGN(p0, alignment, offset)				\ | 26 | #define PTR_ALIGN(p0, alignment, offset)				\ |
| 29 | ((void *) (((UI(p0) + (alignment + sizeof(void*)) + offset)	\ | 27 | ((void *) (((UI(p0) + (alignment + GAP(offset) + sizeof(void*)) + offset)	\ |
| 30 | 			& (~UI(alignment - 1)))				\ | 28 | 			& (~UI(alignment)))				\ |
| 31 | 		 - offset)) | 29 | 		 - offset)) |
| 32 | 30 | ||
| 33 | /* Pointer must sometimes be aligned; assume sizeof(void*) is a power of two. */ | 31 | /* Pointer must sometimes be aligned; assume sizeof(void*) is a power of two. */ |
| ... | @@ -47,12 +45,13 @@ __mingw_aligned_offset_malloc (size_t size, size_t alignment, size_t offset) | ... | @@ -47,12 +45,13 @@ __mingw_aligned_offset_malloc (size_t size, size_t alignment, size_t offset) |
| 47 | return ((void *) 0); | 45 | return ((void *) 0); |
| 48 | if (alignment < sizeof (void *)) | 46 | if (alignment < sizeof (void *)) |
| 49 | alignment = sizeof (void *); | 47 | alignment = sizeof (void *); |
| 48 | alignment--; | ||
| 50 | 49 | ||
| 51 | /* Including the extra sizeof(void*) is overkill on a 32-bit | 50 | /* Including the extra sizeof(void*) is overkill on a 32-bit |
| 52 | machine, since malloc is already 8-byte aligned, as long | 51 | machine, since malloc is already 8-byte aligned, as long |
| 53 | as we enforce alignment >= 8 ...but oh well. */ | 52 | as we enforce alignment >= 8 ...but oh well. */ |
| 54 | 53 | ||
| 55 | p0 = malloc (size + (alignment + sizeof (void *))); | 54 | p0 = malloc (size + (alignment + GAP (offset) + sizeof (void *))); |
| 56 | if (!p0) | 55 | if (!p0) |
| 57 | return ((void *) 0); | 56 | return ((void *) 0); |
| 58 | p = PTR_ALIGN (p0, alignment, offset); | 57 | p = PTR_ALIGN (p0, alignment, offset); |
| ... | @@ -91,6 +90,7 @@ __mingw_aligned_offset_realloc (void *memblock, size_t size, | ... | @@ -91,6 +90,7 @@ __mingw_aligned_offset_realloc (void *memblock, size_t size, |
| 91 | } | 90 | } |
| 92 | if (alignment < sizeof (void *)) | 91 | if (alignment < sizeof (void *)) |
| 93 | alignment = sizeof (void *); | 92 | alignment = sizeof (void *); |
| 93 | alignment--; | ||
| 94 | 94 | ||
| 95 | p0 = ORIG_PTR (memblock); | 95 | p0 = ORIG_PTR (memblock); |
| 96 | /* It is an error for the alignment to change. */ | 96 | /* It is an error for the alignment to change. */ |
| ... | @@ -98,7 +98,7 @@ __mingw_aligned_offset_realloc (void *memblock, size_t size, | ... | @@ -98,7 +98,7 @@ __mingw_aligned_offset_realloc (void *memblock, size_t size, |
| 98 | goto bad; | 98 | goto bad; |
| 99 | shift = CP (memblock) - CP (p0); | 99 | shift = CP (memblock) - CP (p0); |
| 100 | 100 | ||
| 101 | p0 = realloc (p0, size + (alignment + sizeof (void *))); | 101 | p0 = realloc (p0, size + (alignment + GAP (offset) + sizeof (void *))); |
| 102 | if (!p0) | 102 | if (!p0) |
| 103 | return ((void *) 0); | 103 | return ((void *) 0); |
| 104 | p = PTR_ALIGN (p0, alignment, offset); | 104 | p = PTR_ALIGN (p0, alignment, offset); |
| ... | @@ -121,3 +121,29 @@ __mingw_aligned_realloc (void *memblock, size_t size, size_t alignment) | ... | @@ -121,3 +121,29 @@ __mingw_aligned_realloc (void *memblock, size_t size, size_t alignment) |
| 121 | { | 121 | { |
| 122 | return __mingw_aligned_offset_realloc (memblock, size, alignment, 0); | 122 | return __mingw_aligned_offset_realloc (memblock, size, alignment, 0); |
| 123 | } | 123 | } |
| 124 | |||
| 125 | size_t | ||
| 126 | __mingw_aligned_msize (void *memblock, size_t alignment, size_t offset) | ||
| 127 | { | ||
| 128 | void *p0; | ||
| 129 | |||
| 130 | if (!memblock || NOT_POWER_OF_TWO (alignment)) | ||
| 131 | { | ||
| 132 | errno = EINVAL; | ||
| 133 | return (size_t)-1; | ||
| 134 | } | ||
| 135 | if (alignment < sizeof (void *)) | ||
| 136 | alignment = sizeof (void *); | ||
| 137 | alignment--; | ||
| 138 | |||
| 139 | p0 = ORIG_PTR (memblock); | ||
| 140 | |||
| 141 | /* It is an error if the alignment or offset does not match. */ | ||
| 142 | if (memblock != PTR_ALIGN (p0, alignment, offset)) | ||
| 143 | { | ||
| 144 | errno = EINVAL; | ||
| 145 | return (size_t)-1; | ||
| 146 | } | ||
| 147 | |||
| 148 | return _msize (p0) - (alignment + GAP (offset) + sizeof (void *)); | ||
| 149 | } |
lib/libc/mingw/misc/mingw_controlfp.c created+53| ... | @@ -0,0 +1,53 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #include "internal.h" | ||
| 8 | |||
| 9 | #if defined(__i386__) || (defined(__x86_64__) && !defined(__arm64ec__)) | ||
| 10 | /* Internal MinGW version of _control87_2 */ | ||
| 11 | int __mingw_control87_2( unsigned int newval, unsigned int mask, | ||
| 12 | unsigned int *x86_cw, unsigned int *sse2_cw ) | ||
| 13 | { | ||
| 14 | if (x86_cw) | ||
| 15 | { | ||
| 16 | *x86_cw = newval; | ||
| 17 | __mingw_setfp(x86_cw, mask, NULL, 0); | ||
| 18 | } | ||
| 19 | |||
| 20 | if (!sse2_cw) return 1; | ||
| 21 | |||
| 22 | if (__mingw_has_sse()) | ||
| 23 | { | ||
| 24 | *sse2_cw = newval; | ||
| 25 | __mingw_setfp_sse(sse2_cw, mask, NULL, 0); | ||
| 26 | } | ||
| 27 | else *sse2_cw = 0; | ||
| 28 | |||
| 29 | return 1; | ||
| 30 | } | ||
| 31 | #endif | ||
| 32 | |||
| 33 | /* Internal MinGW version of _control87 */ | ||
| 34 | unsigned int __mingw_controlfp(unsigned int newval, unsigned int mask) | ||
| 35 | { | ||
| 36 | unsigned int flags = 0; | ||
| 37 | #if defined(__i386__) || (defined(__x86_64__) && !defined(__arm64ec__)) | ||
| 38 | unsigned int sse2_cw; | ||
| 39 | |||
| 40 | __mingw_control87_2( newval, mask, &flags, &sse2_cw ); | ||
| 41 | |||
| 42 | if (__mingw_has_sse()) | ||
| 43 | { | ||
| 44 | if ((flags ^ sse2_cw) & (_MCW_EM | _MCW_RC)) flags |= _EM_AMBIGUOUS; | ||
| 45 | flags |= sse2_cw; | ||
| 46 | } | ||
| 47 | #else | ||
| 48 | flags = newval; | ||
| 49 | __mingw_setfp(&flags, mask, NULL, 0); | ||
| 50 | #endif | ||
| 51 | return flags; | ||
| 52 | } | ||
| 53 | |||
lib/libc/mingw/misc/mingw_getsp.S+4-4| ... | @@ -15,7 +15,10 @@ | ... | @@ -15,7 +15,10 @@ |
| 15 | 	.globl __MINGW_USYMBOL(mingw_getsp) | 15 | 	.globl __MINGW_USYMBOL(mingw_getsp) |
| 16 | 	.def	__MINGW_USYMBOL(mingw_getsp);	.scl	2;	.type	32;	.endef | 16 | 	.def	__MINGW_USYMBOL(mingw_getsp);	.scl	2;	.type	32;	.endef |
| 17 | __MINGW_USYMBOL(mingw_getsp): | 17 | __MINGW_USYMBOL(mingw_getsp): |
| 18 | #if defined(_AMD64_) || defined(__x86_64__) | 18 | #if defined(_ARM64_) || defined(__aarch64__) || defined(__arm64ec__) |
| 19 | 	mov	x0, sp | ||
| 20 | 	ret | ||
| 21 | #elif defined(_AMD64_) || defined(__x86_64__) | ||
| 19 | 	leaq 8(%rsp),%rax | 22 | 	leaq 8(%rsp),%rax |
| 20 | 	ret | 23 | 	ret |
| 21 | #elif defined(_X86_) || defined(__i386__) | 24 | #elif defined(_X86_) || defined(__i386__) |
| ... | @@ -24,7 +27,4 @@ __MINGW_USYMBOL(mingw_getsp): | ... | @@ -24,7 +27,4 @@ __MINGW_USYMBOL(mingw_getsp): |
| 24 | #elif defined(_ARM_) || defined(__arm__) | 27 | #elif defined(_ARM_) || defined(__arm__) |
| 25 | 	mov	r0, sp | 28 | 	mov	r0, sp |
| 26 | 	bx	lr | 29 | 	bx	lr |
| 27 | #elif defined(_ARM64_) || defined(__aarch64__) | ||
| 28 | 	mov	x0, sp | ||
| 29 | 	ret | ||
| 30 | #endif | 30 | #endif |
lib/libc/mingw/misc/mingw_setfp.c created+373| ... | @@ -0,0 +1,373 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #include "internal.h" | ||
| 8 | |||
| 9 | #if defined(__i386__) || defined(__x86_64__) | ||
| 10 | |||
| 11 | static unsigned int get_mxcsr(void) | ||
| 12 | { | ||
| 13 | unsigned int ret; | ||
| 14 | #ifdef __arm64ec__ | ||
| 15 | extern NTSTATUS (*__os_arm64x_get_x64_information)(ULONG,void*,void*); | ||
| 16 | __os_arm64x_get_x64_information( 0, &ret, NULL ); | ||
| 17 | #else | ||
| 18 | __asm__ __volatile__( "stmxcsr %0" : "=m" (ret) ); | ||
| 19 | #endif | ||
| 20 | return ret; | ||
| 21 | } | ||
| 22 | |||
| 23 | static void set_mxcsr( unsigned int val ) | ||
| 24 | { | ||
| 25 | #ifdef __arm64ec__ | ||
| 26 | extern NTSTATUS (*__os_arm64x_set_x64_information)(ULONG,ULONG_PTR,void*); | ||
| 27 | __os_arm64x_set_x64_information( 0, val, NULL ); | ||
| 28 | #else | ||
| 29 | __asm__ __volatile__( "ldmxcsr %0" : : "m" (val) ); | ||
| 30 | #endif | ||
| 31 | } | ||
| 32 | |||
| 33 | void __mingw_setfp_sse( unsigned int *cw, unsigned int cw_mask, unsigned int *sw, unsigned int sw_mask ) | ||
| 34 | { | ||
| 35 | unsigned int old_fpword, fpword = get_mxcsr(); | ||
| 36 | unsigned int flags; | ||
| 37 | |||
| 38 | old_fpword = fpword; | ||
| 39 | |||
| 40 | cw_mask &= _MCW_EM | _MCW_RC | _MCW_DN; | ||
| 41 | sw_mask &= _MCW_EM; | ||
| 42 | |||
| 43 | if (sw) | ||
| 44 | { | ||
| 45 | flags = 0; | ||
| 46 | if (fpword & 0x1) flags |= _SW_INVALID; | ||
| 47 | if (fpword & 0x2) flags |= _SW_DENORMAL; | ||
| 48 | if (fpword & 0x4) flags |= _SW_ZERODIVIDE; | ||
| 49 | if (fpword & 0x8) flags |= _SW_OVERFLOW; | ||
| 50 | if (fpword & 0x10) flags |= _SW_UNDERFLOW; | ||
| 51 | if (fpword & 0x20) flags |= _SW_INEXACT; | ||
| 52 | |||
| 53 | *sw = (flags & ~sw_mask) | (*sw & sw_mask); | ||
| 54 | fpword &= ~0x3f; | ||
| 55 | if (*sw & _SW_INVALID) fpword |= 0x1; | ||
| 56 | if (*sw & _SW_DENORMAL) fpword |= 0x2; | ||
| 57 | if (*sw & _SW_ZERODIVIDE) fpword |= 0x4; | ||
| 58 | if (*sw & _SW_OVERFLOW) fpword |= 0x8; | ||
| 59 | if (*sw & _SW_UNDERFLOW) fpword |= 0x10; | ||
| 60 | if (*sw & _SW_INEXACT) fpword |= 0x20; | ||
| 61 | *sw = flags; | ||
| 62 | } | ||
| 63 | |||
| 64 | if (cw) | ||
| 65 | { | ||
| 66 | flags = 0; | ||
| 67 | if (fpword & 0x80) flags |= _EM_INVALID; | ||
| 68 | if (fpword & 0x100) flags |= _EM_DENORMAL; | ||
| 69 | if (fpword & 0x200) flags |= _EM_ZERODIVIDE; | ||
| 70 | if (fpword & 0x400) flags |= _EM_OVERFLOW; | ||
| 71 | if (fpword & 0x800) flags |= _EM_UNDERFLOW; | ||
| 72 | if (fpword & 0x1000) flags |= _EM_INEXACT; | ||
| 73 | switch (fpword & 0x6000) | ||
| 74 | { | ||
| 75 | case 0x6000: flags |= _RC_UP|_RC_DOWN; break; | ||
| 76 | case 0x4000: flags |= _RC_UP; break; | ||
| 77 | case 0x2000: flags |= _RC_DOWN; break; | ||
| 78 | } | ||
| 79 | switch (fpword & 0x8040) | ||
| 80 | { | ||
| 81 | case 0x0040: flags |= _DN_FLUSH_OPERANDS_SAVE_RESULTS; break; | ||
| 82 | case 0x8000: flags |= _DN_SAVE_OPERANDS_FLUSH_RESULTS; break; | ||
| 83 | case 0x8040: flags |= _DN_FLUSH; break; | ||
| 84 | } | ||
| 85 | |||
| 86 | *cw = (flags & ~cw_mask) | (*cw & cw_mask); | ||
| 87 | fpword &= ~0xffc0; | ||
| 88 | if (*cw & _EM_INVALID) fpword |= 0x80; | ||
| 89 | if (*cw & _EM_DENORMAL) fpword |= 0x100; | ||
| 90 | if (*cw & _EM_ZERODIVIDE) fpword |= 0x200; | ||
| 91 | if (*cw & _EM_OVERFLOW) fpword |= 0x400; | ||
| 92 | if (*cw & _EM_UNDERFLOW) fpword |= 0x800; | ||
| 93 | if (*cw & _EM_INEXACT) fpword |= 0x1000; | ||
| 94 | switch (*cw & _MCW_RC) | ||
| 95 | { | ||
| 96 | case _RC_UP|_RC_DOWN: fpword |= 0x6000; break; | ||
| 97 | case _RC_UP: fpword |= 0x4000; break; | ||
| 98 | case _RC_DOWN: fpword |= 0x2000; break; | ||
| 99 | } | ||
| 100 | switch (*cw & _MCW_DN) | ||
| 101 | { | ||
| 102 | case _DN_FLUSH_OPERANDS_SAVE_RESULTS: fpword |= 0x0040; break; | ||
| 103 | case _DN_SAVE_OPERANDS_FLUSH_RESULTS: fpword |= 0x8000; break; | ||
| 104 | case _DN_FLUSH: fpword |= 0x8040; break; | ||
| 105 | } | ||
| 106 | |||
| 107 | /* clear status word if anything changes */ | ||
| 108 | if (fpword != old_fpword && !sw) fpword &= ~0x3f; | ||
| 109 | } | ||
| 110 | |||
| 111 | if (fpword != old_fpword) set_mxcsr( fpword ); | ||
| 112 | } | ||
| 113 | #endif | ||
| 114 | |||
| 115 | void __mingw_setfp( unsigned int *cw, unsigned int cw_mask, | ||
| 116 | unsigned int *sw, unsigned int sw_mask ) | ||
| 117 | { | ||
| 118 | #if defined(__arm64ec__) | ||
| 119 | __mingw_setfp_sse(cw, cw_mask, sw, sw_mask); | ||
| 120 | #elif defined(__i386__) || defined(__x86_64__) | ||
| 121 | unsigned long oldcw = 0, newcw = 0; | ||
| 122 | unsigned long oldsw = 0, newsw = 0; | ||
| 123 | unsigned int flags; | ||
| 124 | |||
| 125 | cw_mask &= _MCW_EM | _MCW_IC | _MCW_RC | _MCW_PC; | ||
| 126 | sw_mask &= _MCW_EM; | ||
| 127 | |||
| 128 | if (sw) | ||
| 129 | { | ||
| 130 | __asm__ __volatile__( "fstsw %0" : "=m" (newsw) ); | ||
| 131 | oldsw = newsw; | ||
| 132 | |||
| 133 | flags = 0; | ||
| 134 | if (newsw & 0x1) flags |= _SW_INVALID; | ||
| 135 | if (newsw & 0x2) flags |= _SW_DENORMAL; | ||
| 136 | if (newsw & 0x4) flags |= _SW_ZERODIVIDE; | ||
| 137 | if (newsw & 0x8) flags |= _SW_OVERFLOW; | ||
| 138 | if (newsw & 0x10) flags |= _SW_UNDERFLOW; | ||
| 139 | if (newsw & 0x20) flags |= _SW_INEXACT; | ||
| 140 | |||
| 141 | *sw = (flags & ~sw_mask) | (*sw & sw_mask); | ||
| 142 | newsw &= ~0x3f; | ||
| 143 | if (*sw & _SW_INVALID) newsw |= 0x1; | ||
| 144 | if (*sw & _SW_DENORMAL) newsw |= 0x2; | ||
| 145 | if (*sw & _SW_ZERODIVIDE) newsw |= 0x4; | ||
| 146 | if (*sw & _SW_OVERFLOW) newsw |= 0x8; | ||
| 147 | if (*sw & _SW_UNDERFLOW) newsw |= 0x10; | ||
| 148 | if (*sw & _SW_INEXACT) newsw |= 0x20; | ||
| 149 | *sw = flags; | ||
| 150 | } | ||
| 151 | |||
| 152 | if (cw) | ||
| 153 | { | ||
| 154 | __asm__ __volatile__( "fstcw %0" : "=m" (newcw) ); | ||
| 155 | oldcw = newcw; | ||
| 156 | |||
| 157 | flags = 0; | ||
| 158 | if (newcw & 0x1) flags |= _EM_INVALID; | ||
| 159 | if (newcw & 0x2) flags |= _EM_DENORMAL; | ||
| 160 | if (newcw & 0x4) flags |= _EM_ZERODIVIDE; | ||
| 161 | if (newcw & 0x8) flags |= _EM_OVERFLOW; | ||
| 162 | if (newcw & 0x10) flags |= _EM_UNDERFLOW; | ||
| 163 | if (newcw & 0x20) flags |= _EM_INEXACT; | ||
| 164 | switch (newcw & 0xc00) | ||
| 165 | { | ||
| 166 | case 0xc00: flags |= _RC_UP|_RC_DOWN; break; | ||
| 167 | case 0x800: flags |= _RC_UP; break; | ||
| 168 | case 0x400: flags |= _RC_DOWN; break; | ||
| 169 | } | ||
| 170 | switch (newcw & 0x300) | ||
| 171 | { | ||
| 172 | case 0x0: flags |= _PC_24; break; | ||
| 173 | case 0x200: flags |= _PC_53; break; | ||
| 174 | case 0x300: flags |= _PC_64; break; | ||
| 175 | } | ||
| 176 | if (newcw & 0x1000) flags |= _IC_AFFINE; | ||
| 177 | |||
| 178 | *cw = (flags & ~cw_mask) | (*cw & cw_mask); | ||
| 179 | newcw &= ~0x1f3f; | ||
| 180 | if (*cw & _EM_INVALID) newcw |= 0x1; | ||
| 181 | if (*cw & _EM_DENORMAL) newcw |= 0x2; | ||
| 182 | if (*cw & _EM_ZERODIVIDE) newcw |= 0x4; | ||
| 183 | if (*cw & _EM_OVERFLOW) newcw |= 0x8; | ||
| 184 | if (*cw & _EM_UNDERFLOW) newcw |= 0x10; | ||
| 185 | if (*cw & _EM_INEXACT) newcw |= 0x20; | ||
| 186 | switch (*cw & _MCW_RC) | ||
| 187 | { | ||
| 188 | case _RC_UP|_RC_DOWN: newcw |= 0xc00; break; | ||
| 189 | case _RC_UP: newcw |= 0x800; break; | ||
| 190 | case _RC_DOWN: newcw |= 0x400; break; | ||
| 191 | } | ||
| 192 | switch (*cw & _MCW_PC) | ||
| 193 | { | ||
| 194 | case _PC_64: newcw |= 0x300; break; | ||
| 195 | case _PC_53: newcw |= 0x200; break; | ||
| 196 | case _PC_24: newcw |= 0x0; break; | ||
| 197 | } | ||
| 198 | if (*cw & _IC_AFFINE) newcw |= 0x1000; | ||
| 199 | } | ||
| 200 | |||
| 201 | if (oldsw != newsw && (newsw & 0x3f)) | ||
| 202 | { | ||
| 203 | struct { | ||
| 204 | WORD control_word; | ||
| 205 | WORD unused1; | ||
| 206 | WORD status_word; | ||
| 207 | WORD unused2; | ||
| 208 | WORD tag_word; | ||
| 209 | WORD unused3; | ||
| 210 | DWORD instruction_pointer; | ||
| 211 | WORD code_segment; | ||
| 212 | WORD unused4; | ||
| 213 | DWORD operand_addr; | ||
| 214 | WORD data_segment; | ||
| 215 | WORD unused5; | ||
| 216 | } fenv; | ||
| 217 | |||
| 218 | __asm__ __volatile__( "fnstenv %0" : "=m" (fenv) ); | ||
| 219 | fenv.control_word = newcw; | ||
| 220 | fenv.status_word = newsw; | ||
| 221 | __asm__ __volatile__( "fldenv %0" : : "m" (fenv) : "st", "st(1)", | ||
| 222 | "st(2)", "st(3)", "st(4)", "st(5)", "st(6)", "st(7)" ); | ||
| 223 | return; | ||
| 224 | } | ||
| 225 | |||
| 226 | if (oldsw != newsw) | ||
| 227 | __asm__ __volatile__( "fnclex" ); | ||
| 228 | if (oldcw != newcw) | ||
| 229 | __asm__ __volatile__( "fldcw %0" : : "m" (newcw) ); | ||
| 230 | #elif defined(__aarch64__) | ||
| 231 | ULONG_PTR old_fpsr = 0, fpsr = 0, old_fpcr = 0, fpcr = 0; | ||
| 232 | unsigned int flags; | ||
| 233 | |||
| 234 | cw_mask &= _MCW_EM | _MCW_RC; | ||
| 235 | sw_mask &= _MCW_EM; | ||
| 236 | |||
| 237 | if (sw) | ||
| 238 | { | ||
| 239 | __asm__ __volatile__( "mrs %0, fpsr" : "=r" (fpsr) ); | ||
| 240 | old_fpsr = fpsr; | ||
| 241 | |||
| 242 | flags = 0; | ||
| 243 | if (fpsr & 0x1) flags |= _SW_INVALID; | ||
| 244 | if (fpsr & 0x2) flags |= _SW_ZERODIVIDE; | ||
| 245 | if (fpsr & 0x4) flags |= _SW_OVERFLOW; | ||
| 246 | if (fpsr & 0x8) flags |= _SW_UNDERFLOW; | ||
| 247 | if (fpsr & 0x10) flags |= _SW_INEXACT; | ||
| 248 | if (fpsr & 0x80) flags |= _SW_DENORMAL; | ||
| 249 | |||
| 250 | *sw = (flags & ~sw_mask) | (*sw & sw_mask); | ||
| 251 | fpsr &= ~0x9f; | ||
| 252 | if (*sw & _SW_INVALID) fpsr |= 0x1; | ||
| 253 | if (*sw & _SW_ZERODIVIDE) fpsr |= 0x2; | ||
| 254 | if (*sw & _SW_OVERFLOW) fpsr |= 0x4; | ||
| 255 | if (*sw & _SW_UNDERFLOW) fpsr |= 0x8; | ||
| 256 | if (*sw & _SW_INEXACT) fpsr |= 0x10; | ||
| 257 | if (*sw & _SW_DENORMAL) fpsr |= 0x80; | ||
| 258 | *sw = flags; | ||
| 259 | } | ||
| 260 | |||
| 261 | if (cw) | ||
| 262 | { | ||
| 263 | __asm__ __volatile__( "mrs %0, fpcr" : "=r" (fpcr) ); | ||
| 264 | old_fpcr = fpcr; | ||
| 265 | |||
| 266 | flags = 0; | ||
| 267 | if (!(fpcr & 0x100)) flags |= _EM_INVALID; | ||
| 268 | if (!(fpcr & 0x200)) flags |= _EM_ZERODIVIDE; | ||
| 269 | if (!(fpcr & 0x400)) flags |= _EM_OVERFLOW; | ||
| 270 | if (!(fpcr & 0x800)) flags |= _EM_UNDERFLOW; | ||
| 271 | if (!(fpcr & 0x1000)) flags |= _EM_INEXACT; | ||
| 272 | if (!(fpcr & 0x8000)) flags |= _EM_DENORMAL; | ||
| 273 | switch (fpcr & 0xc00000) | ||
| 274 | { | ||
| 275 | case 0x400000: flags |= _RC_UP; break; | ||
| 276 | case 0x800000: flags |= _RC_DOWN; break; | ||
| 277 | case 0xc00000: flags |= _RC_CHOP; break; | ||
| 278 | } | ||
| 279 | |||
| 280 | *cw = (flags & ~cw_mask) | (*cw & cw_mask); | ||
| 281 | fpcr &= ~0xc09f00ul; | ||
| 282 | if (!(*cw & _EM_INVALID)) fpcr |= 0x100; | ||
| 283 | if (!(*cw & _EM_ZERODIVIDE)) fpcr |= 0x200; | ||
| 284 | if (!(*cw & _EM_OVERFLOW)) fpcr |= 0x400; | ||
| 285 | if (!(*cw & _EM_UNDERFLOW)) fpcr |= 0x800; | ||
| 286 | if (!(*cw & _EM_INEXACT)) fpcr |= 0x1000; | ||
| 287 | if (!(*cw & _EM_DENORMAL)) fpcr |= 0x8000; | ||
| 288 | switch (*cw & _MCW_RC) | ||
| 289 | { | ||
| 290 | case _RC_CHOP: fpcr |= 0xc00000; break; | ||
| 291 | case _RC_UP: fpcr |= 0x400000; break; | ||
| 292 | case _RC_DOWN: fpcr |= 0x800000; break; | ||
| 293 | } | ||
| 294 | } | ||
| 295 | |||
| 296 | /* mask exceptions if needed */ | ||
| 297 | if (old_fpcr != fpcr && ~(old_fpcr >> 8) & fpsr & 0x9f != fpsr & 0x9f) | ||
| 298 | { | ||
| 299 | ULONG_PTR mask = fpcr & ~0x9f00; | ||
| 300 | __asm__ __volatile__( "msr fpcr, %0" :: "r" (mask) ); | ||
| 301 | } | ||
| 302 | |||
| 303 | if (old_fpsr != fpsr) | ||
| 304 | __asm__ __volatile__( "msr fpsr, %0" :: "r" (fpsr) ); | ||
| 305 | if (old_fpcr != fpcr) | ||
| 306 | __asm__ __volatile__( "msr fpcr, %0" :: "r" (fpcr) ); | ||
| 307 | #elif defined(__arm__) | ||
| 308 | DWORD old_fpscr, fpscr; | ||
| 309 | unsigned int flags; | ||
| 310 | |||
| 311 | __asm__ __volatile__( "vmrs %0, fpscr" : "=r" (fpscr) ); | ||
| 312 | old_fpscr = fpscr; | ||
| 313 | |||
| 314 | cw_mask &= _MCW_EM | _MCW_RC; | ||
| 315 | sw_mask &= _MCW_EM; | ||
| 316 | |||
| 317 | if (sw) | ||
| 318 | { | ||
| 319 | flags = 0; | ||
| 320 | if (fpscr & 0x1) flags |= _SW_INVALID; | ||
| 321 | if (fpscr & 0x2) flags |= _SW_ZERODIVIDE; | ||
| 322 | if (fpscr & 0x4) flags |= _SW_OVERFLOW; | ||
| 323 | if (fpscr & 0x8) flags |= _SW_UNDERFLOW; | ||
| 324 | if (fpscr & 0x10) flags |= _SW_INEXACT; | ||
| 325 | if (fpscr & 0x80) flags |= _SW_DENORMAL; | ||
| 326 | |||
| 327 | *sw = (flags & ~sw_mask) | (*sw & sw_mask); | ||
| 328 | fpscr &= ~0x9f; | ||
| 329 | if (*sw & _SW_INVALID) fpscr |= 0x1; | ||
| 330 | if (*sw & _SW_ZERODIVIDE) fpscr |= 0x2; | ||
| 331 | if (*sw & _SW_OVERFLOW) fpscr |= 0x4; | ||
| 332 | if (*sw & _SW_UNDERFLOW) fpscr |= 0x8; | ||
| 333 | if (*sw & _SW_INEXACT) fpscr |= 0x10; | ||
| 334 | if (*sw & _SW_DENORMAL) fpscr |= 0x80; | ||
| 335 | *sw = flags; | ||
| 336 | } | ||
| 337 | |||
| 338 | if (cw) | ||
| 339 | { | ||
| 340 | flags = 0; | ||
| 341 | if (!(fpscr & 0x100)) flags |= _EM_INVALID; | ||
| 342 | if (!(fpscr & 0x200)) flags |= _EM_ZERODIVIDE; | ||
| 343 | if (!(fpscr & 0x400)) flags |= _EM_OVERFLOW; | ||
| 344 | if (!(fpscr & 0x800)) flags |= _EM_UNDERFLOW; | ||
| 345 | if (!(fpscr & 0x1000)) flags |= _EM_INEXACT; | ||
| 346 | if (!(fpscr & 0x8000)) flags |= _EM_DENORMAL; | ||
| 347 | switch (fpscr & 0xc00000) | ||
| 348 | { | ||
| 349 | case 0x400000: flags |= _RC_UP; break; | ||
| 350 | case 0x800000: flags |= _RC_DOWN; break; | ||
| 351 | case 0xc00000: flags |= _RC_CHOP; break; | ||
| 352 | } | ||
| 353 | |||
| 354 | *cw = (flags & ~cw_mask) | (*cw & cw_mask); | ||
| 355 | fpscr &= ~0xc09f00ul; | ||
| 356 | if (!(*cw & _EM_INVALID)) fpscr |= 0x100; | ||
| 357 | if (!(*cw & _EM_ZERODIVIDE)) fpscr |= 0x200; | ||
| 358 | if (!(*cw & _EM_OVERFLOW)) fpscr |= 0x400; | ||
| 359 | if (!(*cw & _EM_UNDERFLOW)) fpscr |= 0x800; | ||
| 360 | if (!(*cw & _EM_INEXACT)) fpscr |= 0x1000; | ||
| 361 | if (!(*cw & _EM_DENORMAL)) fpscr |= 0x8000; | ||
| 362 | switch (*cw & _MCW_RC) | ||
| 363 | { | ||
| 364 | case _RC_CHOP: fpscr |= 0xc00000; break; | ||
| 365 | case _RC_UP: fpscr |= 0x400000; break; | ||
| 366 | case _RC_DOWN: fpscr |= 0x800000; break; | ||
| 367 | } | ||
| 368 | } | ||
| 369 | |||
| 370 | if (old_fpscr != fpscr) | ||
| 371 | __asm__ __volatile__( "vmsr fpscr, %0" :: "r" (fpscr) ); | ||
| 372 | #endif | ||
| 373 | } | ||
lib/libc/mingw/misc/setjmp.S+2| ... | @@ -6,6 +6,7 @@ | ... | @@ -6,6 +6,7 @@ |
| 6 | 6 | ||
| 7 | #include <_mingw_mac.h> | 7 | #include <_mingw_mac.h> |
| 8 | 8 | ||
| 9 | #ifndef __arm64ec__ | ||
| 9 | .globl __MINGW_USYMBOL(__intrinsic_setjmp) | 10 | .globl __MINGW_USYMBOL(__intrinsic_setjmp) |
| 10 | .def __MINGW_USYMBOL(__intrinsic_setjmp); .scl 2; .type 32; .endef | 11 | .def __MINGW_USYMBOL(__intrinsic_setjmp); .scl 2; .type 32; .endef |
| 11 | 12 | ||
| ... | @@ -115,3 +116,4 @@ __MINGW_USYMBOL(__intrinsic_setjmpex): | ... | @@ -115,3 +116,4 @@ __MINGW_USYMBOL(__intrinsic_setjmpex): |
| 115 | mov x0, #0 | 116 | mov x0, #0 |
| 116 | ret | 117 | ret |
| 117 | #endif | 118 | #endif |
| 119 | #endif /* __arm64ec__ */ |
lib/libc/mingw/misc/ucrt_tzset.c-3| ... | @@ -40,6 +40,3 @@ void __cdecl tzset(void) | ... | @@ -40,6 +40,3 @@ void __cdecl tzset(void) |
| 40 | { | 40 | { |
| 41 | _tzset(); | 41 | _tzset(); |
| 42 | } | 42 | } |
| 43 | |||
| 44 | // Dummy/unused __imp_ wrappers, to make GNU ld not autoexport these symbols. | ||
| 45 | void __cdecl (*__MINGW_IMP_SYMBOL(tzset))(void) = tzset; |
lib/libc/mingw/misc/winbs_uint64.c+1-34| ... | @@ -2,38 +2,5 @@ unsigned long long __cdecl _byteswap_uint64(unsigned long long _Int64); | ... | @@ -2,38 +2,5 @@ unsigned long long __cdecl _byteswap_uint64(unsigned long long _Int64); |
| 2 | 2 | ||
| 3 | unsigned long long __cdecl _byteswap_uint64(unsigned long long _Int64) | 3 | unsigned long long __cdecl _byteswap_uint64(unsigned long long _Int64) |
| 4 | { | 4 | { |
| 5 | #if defined(_AMD64_) || defined(__x86_64__) | 5 | return __builtin_bswap64(_Int64); |
| 6 | unsigned long long retval; | ||
| 7 | __asm__ __volatile__ ("bswapq %[retval]" : [retval] "=rm" (retval) : "[retval]" (_Int64)); | ||
| 8 | return retval; | ||
| 9 | #elif defined(_X86_) || defined(__i386__) | ||
| 10 | union { | ||
| 11 | long long int64part; | ||
| 12 | struct { | ||
| 13 | unsigned long lowpart; | ||
| 14 | unsigned long hipart; | ||
| 15 | }; | ||
| 16 | } retval; | ||
| 17 | retval.int64part = _Int64; | ||
| 18 | __asm__ __volatile__ ("bswapl %[lowpart]\n" | ||
| 19 | "bswapl %[hipart]\n" | ||
| 20 | : [lowpart] "=rm" (retval.hipart), [hipart] "=rm" (retval.lowpart) : "[lowpart]" (retval.lowpart), "[hipart]" (retval.hipart)); | ||
| 21 | return retval.int64part; | ||
| 22 | #else | ||
| 23 | unsigned char *b = (void*)&_Int64; | ||
| 24 | unsigned char tmp; | ||
| 25 | tmp = b[0]; | ||
| 26 | b[0] = b[7]; | ||
| 27 | b[7] = tmp; | ||
| 28 | tmp = b[1]; | ||
| 29 | b[1] = b[6]; | ||
| 30 | b[6] = tmp; | ||
| 31 | tmp = b[2]; | ||
| 32 | b[2] = b[5]; | ||
| 33 | b[5] = tmp; | ||
| 34 | tmp = b[3]; | ||
| 35 | b[3] = b[4]; | ||
| 36 | b[4] = tmp; | ||
| 37 | return _Int64; | ||
| 38 | #endif | ||
| 39 | } | 6 | } |
lib/libc/mingw/misc/winbs_ulong.c+1-15| ... | @@ -2,19 +2,5 @@ unsigned long __cdecl _byteswap_ulong (unsigned long _Long); | ... | @@ -2,19 +2,5 @@ unsigned long __cdecl _byteswap_ulong (unsigned long _Long); |
| 2 | 2 | ||
| 3 | unsigned long __cdecl _byteswap_ulong (unsigned long _Long) | 3 | unsigned long __cdecl _byteswap_ulong (unsigned long _Long) |
| 4 | { | 4 | { |
| 5 | #if defined(_AMD64_) || defined(__x86_64__) || defined(_X86_) || defined(__i386__) | 5 | return __builtin_bswap32(_Long); |
| 6 | unsigned long retval; | ||
| 7 | __asm__ __volatile__ ("bswapl %[retval]" : [retval] "=rm" (retval) : "[retval]" (_Long)); | ||
| 8 | return retval; | ||
| 9 | #else | ||
| 10 | unsigned char *b = (void*)&_Long; | ||
| 11 | unsigned char tmp; | ||
| 12 | tmp = b[0]; | ||
| 13 | b[0] = b[3]; | ||
| 14 | b[3] = tmp; | ||
| 15 | tmp = b[1]; | ||
| 16 | b[1] = b[2]; | ||
| 17 | b[2] = tmp; | ||
| 18 | return _Long; | ||
| 19 | #endif /* defined(_AMD64_) || defined(__x86_64__) || defined(_X86_) || defined(__i386__) */ | ||
| 20 | } | 6 | } |
lib/libc/mingw/misc/winbs_ushort.c+1-12| ... | @@ -2,16 +2,5 @@ unsigned short __cdecl _byteswap_ushort(unsigned short _Short); | ... | @@ -2,16 +2,5 @@ unsigned short __cdecl _byteswap_ushort(unsigned short _Short); |
| 2 | 2 | ||
| 3 | unsigned short __cdecl _byteswap_ushort(unsigned short _Short) | 3 | unsigned short __cdecl _byteswap_ushort(unsigned short _Short) |
| 4 | { | 4 | { |
| 5 | #if defined(_AMD64_) || defined(__x86_64__) || defined(_X86_) || defined(__i386__) | 5 | return __builtin_bswap16(_Short); |
| 6 | unsigned short retval; | ||
| 7 | __asm__ __volatile__ ("rorw $8, %w[retval]" : [retval] "=rm" (retval) : "[retval]" (_Short)); | ||
| 8 | return retval; | ||
| 9 | #else | ||
| 10 | unsigned char *b = (void*)&_Short; | ||
| 11 | unsigned char tmp; | ||
| 12 | tmp = b[0]; | ||
| 13 | b[0] = b[1]; | ||
| 14 | b[1] = tmp; | ||
| 15 | return _Short; | ||
| 16 | #endif /* defined(_AMD64_) || defined(__x86_64__) || defined(_X86_) || defined(__i386__) */ | ||
| 17 | } | 6 | } |
lib/libc/mingw/stdio/__mingw_fix_stat_path.c created+64| ... | @@ -0,0 +1,64 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #include <sys/stat.h> | ||
| 8 | #include <stdlib.h> | ||
| 9 | |||
| 10 | /** | ||
| 11 | * Returns _path without trailing slash if any | ||
| 12 | * | ||
| 13 | * - if _path has no trailing slash, the function returns it | ||
| 14 | * - if _path has a trailing slash, but is of the form C:/, then it returns it | ||
| 15 | * - otherwise, the function creates a new string, which is a copy of _path | ||
| 16 | * without the trailing slash. It is then the responsibility of the caller | ||
| 17 | * to free it. | ||
| 18 | */ | ||
| 19 | |||
| 20 | char* __mingw_fix_stat_path (const char* _path); | ||
| 21 | char* __mingw_fix_stat_path (const char* _path) | ||
| 22 | { | ||
| 23 | int len; | ||
| 24 | char *p; | ||
| 25 | |||
| 26 | p = (char*)_path; | ||
| 27 | |||
| 28 | if (_path && *_path) { | ||
| 29 | len = strlen (_path); | ||
| 30 | |||
| 31 | /* Ignore X:\ */ | ||
| 32 | |||
| 33 | if (len <= 1 || ((len == 2 || len == 3) && _path[1] == ':')) | ||
| 34 | return p; | ||
| 35 | |||
| 36 | /* Check UNC \\abc\<name>\ */ | ||
| 37 | if ((_path[0] == '\\' || _path[0] == '/') | ||
| 38 | 	&& (_path[1] == '\\' || _path[1] == '/')) | ||
| 39 | { | ||
| 40 | 	const char *r = &_path[2]; | ||
| 41 | 	while (*r != 0 && *r != '\\' && *r != '/') | ||
| 42 | 	 ++r; | ||
| 43 | 	if (*r != 0) | ||
| 44 | 	 ++r; | ||
| 45 | 	if (*r == 0) | ||
| 46 | 	 return p; | ||
| 47 | 	while (*r != 0 && *r != '\\' && *r != '/') | ||
| 48 | 	 ++r; | ||
| 49 | 	if (*r != 0) | ||
| 50 | 	 ++r; | ||
| 51 | 	if (*r == 0) | ||
| 52 | 	 return p; | ||
| 53 | } | ||
| 54 | |||
| 55 | if (_path[len - 1] == '/' || _path[len - 1] == '\\') | ||
| 56 | { | ||
| 57 | 	p = (char*)malloc (len); | ||
| 58 | 	memcpy (p, _path, len - 1); | ||
| 59 | 	p[len - 1] = '\0'; | ||
| 60 | } | ||
| 61 | } | ||
| 62 | |||
| 63 | return p; | ||
| 64 | } | ||
lib/libc/mingw/stdio/__mingw_fix_wstat_path.c created+64| ... | @@ -0,0 +1,64 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #include <sys/stat.h> | ||
| 8 | #include <stdlib.h> | ||
| 9 | |||
| 10 | /** | ||
| 11 | * Returns _path without trailing slash if any | ||
| 12 | * | ||
| 13 | * - if _path has no trailing slash, the function returns it | ||
| 14 | * - if _path has a trailing slash, but is of the form C:/, then it returns it | ||
| 15 | * - otherwise, the function creates a new string, which is a copy of _path | ||
| 16 | * without the trailing slash. It is then the responsibility of the caller | ||
| 17 | * to free it. | ||
| 18 | */ | ||
| 19 | |||
| 20 | wchar_t* __mingw_fix_wstat_path (const wchar_t* _path); | ||
| 21 | wchar_t* __mingw_fix_wstat_path (const wchar_t* _path) | ||
| 22 | { | ||
| 23 | int len; | ||
| 24 | wchar_t *p; | ||
| 25 | |||
| 26 | p = (wchar_t*)_path; | ||
| 27 | |||
| 28 | if (_path && *_path) { | ||
| 29 | len = wcslen (_path); | ||
| 30 | |||
| 31 | /* Ignore X:\ */ | ||
| 32 | |||
| 33 | if (len <= 1 || ((len == 2 || len == 3) && _path[1] == L':')) | ||
| 34 | return p; | ||
| 35 | |||
| 36 | /* Check UNC \\abc\<name>\ */ | ||
| 37 | if ((_path[0] == L'\\' || _path[0] == L'/') | ||
| 38 | 	&& (_path[1] == L'\\' || _path[1] == L'/')) | ||
| 39 | { | ||
| 40 | 	const wchar_t *r = &_path[2]; | ||
| 41 | 	while (*r != 0 && *r != L'\\' && *r != L'/') | ||
| 42 | 	 ++r; | ||
| 43 | 	if (*r != 0) | ||
| 44 | 	 ++r; | ||
| 45 | 	if (*r == 0) | ||
| 46 | 	 return p; | ||
| 47 | 	while (*r != 0 && *r != L'\\' && *r != L'/') | ||
| 48 | 	 ++r; | ||
| 49 | 	if (*r != 0) | ||
| 50 | 	 ++r; | ||
| 51 | 	if (*r == 0) | ||
| 52 | 	 return p; | ||
| 53 | } | ||
| 54 | |||
| 55 | if (_path[len - 1] == L'/' || _path[len - 1] == L'\\') | ||
| 56 | { | ||
| 57 | 	p = (wchar_t*)malloc (len * sizeof(wchar_t)); | ||
| 58 | 	memcpy (p, _path, (len - 1) * sizeof(wchar_t)); | ||
| 59 | 	p[len - 1] = L'\0'; | ||
| 60 | } | ||
| 61 | } | ||
| 62 | |||
| 63 | return p; | ||
| 64 | } | ||
lib/libc/mingw/stdio/_findfirst64i32.c+1-1| ... | @@ -7,7 +7,7 @@ intptr_t __cdecl _findfirst64i32(const char *_Filename,struct _finddata64i32_t * | ... | @@ -7,7 +7,7 @@ intptr_t __cdecl _findfirst64i32(const char *_Filename,struct _finddata64i32_t * |
| 7 | struct __finddata64_t fd; | 7 | struct __finddata64_t fd; |
| 8 | intptr_t ret = _findfirst64(_Filename,&fd); | 8 | intptr_t ret = _findfirst64(_Filename,&fd); |
| 9 | if (ret == -1) { | 9 | if (ret == -1) { |
| 10 | memset(_FindData,0,sizeof(struct _finddata64i32_t)); | 10 | *_FindData = (struct _finddata64i32_t){0}; |
| 11 | return -1; | 11 | return -1; |
| 12 | } | 12 | } |
| 13 | _FindData->attrib=fd.attrib; | 13 | _FindData->attrib=fd.attrib; |
lib/libc/mingw/stdio/_findnext64i32.c+1-1| ... | @@ -7,7 +7,7 @@ int __cdecl _findnext64i32(intptr_t _FindHandle,struct _finddata64i32_t *_FindDa | ... | @@ -7,7 +7,7 @@ int __cdecl _findnext64i32(intptr_t _FindHandle,struct _finddata64i32_t *_FindDa |
| 7 | struct __finddata64_t fd; | 7 | struct __finddata64_t fd; |
| 8 | int ret = _findnext64(_FindHandle,&fd); | 8 | int ret = _findnext64(_FindHandle,&fd); |
| 9 | if (ret == -1) { | 9 | if (ret == -1) { |
| 10 | memset(_FindData,0,sizeof(struct _finddata64i32_t)); | 10 | *_FindData = (struct _finddata64i32_t){0}; |
| 11 | return -1; | 11 | return -1; |
| 12 | } | 12 | } |
| 13 | _FindData->attrib=fd.attrib; | 13 | _FindData->attrib=fd.attrib; |
lib/libc/mingw/stdio/_fstat64i32.c+20-8| ... | @@ -1,14 +1,26 @@ | ... | @@ -1,14 +1,26 @@ |
| 1 | #define __CRT__NO_INLINE | 1 | /** |
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 2 | #include <sys/stat.h> | 7 | #include <sys/stat.h> |
| 3 | 8 | ||
| 9 | /* When the file size does not fit into the st_size field: | ||
| 10 | * crtdll-msvcr90 msvcr100 msvcr110+ | ||
| 11 | * st_size truncate 0 0 | ||
| 12 | * errno no change no change EOVERFLOW | ||
| 13 | * returns 0 -1 -1 | ||
| 14 | * | ||
| 15 | * This file is used only for pre-msvcr80 builds, | ||
| 16 | * So use the pre-msvcr80 behavior - truncate without error. | ||
| 17 | */ | ||
| 4 | int __cdecl _fstat64i32(int _FileDes,struct _stat64i32 *_Stat) | 18 | int __cdecl _fstat64i32(int _FileDes,struct _stat64i32 *_Stat) |
| 5 | { | 19 | { |
| 6 | struct _stat64 st; | 20 | struct _stat64 st; |
| 7 | int ret=_fstat64(_FileDes,&st); | 21 | int ret=_fstat64(_FileDes,&st); |
| 8 | if (ret == -1) { | 22 | if (ret != 0) |
| 9 | memset(_Stat,0,sizeof(struct _stat64i32)); | 23 | return ret; |
| 10 | return -1; | ||
| 11 | } | ||
| 12 | _Stat->st_dev=st.st_dev; | 24 | _Stat->st_dev=st.st_dev; |
| 13 | _Stat->st_ino=st.st_ino; | 25 | _Stat->st_ino=st.st_ino; |
| 14 | _Stat->st_mode=st.st_mode; | 26 | _Stat->st_mode=st.st_mode; |
| ... | @@ -16,10 +28,10 @@ int __cdecl _fstat64i32(int _FileDes,struct _stat64i32 *_Stat) | ... | @@ -16,10 +28,10 @@ int __cdecl _fstat64i32(int _FileDes,struct _stat64i32 *_Stat) |
| 16 | _Stat->st_uid=st.st_uid; | 28 | _Stat->st_uid=st.st_uid; |
| 17 | _Stat->st_gid=st.st_gid; | 29 | _Stat->st_gid=st.st_gid; |
| 18 | _Stat->st_rdev=st.st_rdev; | 30 | _Stat->st_rdev=st.st_rdev; |
| 19 | _Stat->st_size=(_off_t) st.st_size; /* 32bit size */ | 31 | _Stat->st_size=(_off_t) st.st_size; /* truncate 64-bit st_size to 32-bit */ |
| 20 | _Stat->st_atime=st.st_atime; | 32 | _Stat->st_atime=st.st_atime; |
| 21 | _Stat->st_mtime=st.st_mtime; | 33 | _Stat->st_mtime=st.st_mtime; |
| 22 | _Stat->st_ctime=st.st_ctime; | 34 | _Stat->st_ctime=st.st_ctime; |
| 23 | return ret; | 35 | return 0; |
| 24 | } | 36 | } |
| 25 | 37 | int (__cdecl *__MINGW_IMP_SYMBOL(_fstat64i32))(int, struct _stat64i32 *) = _fstat64i32; |
lib/libc/mingw/stdio/_stat.c deleted-120| ... | @@ -1,120 +0,0 @@ | ||
| 1 | #define __CRT__NO_INLINE | ||
| 2 | #include <sys/stat.h> | ||
| 3 | #include <stdlib.h> | ||
| 4 | |||
| 5 | /** | ||
| 6 | * Returns _path without trailing slash if any | ||
| 7 | * | ||
| 8 | * - if _path has no trailing slash, the function returns it | ||
| 9 | * - if _path has a trailing slash, but is of the form C:/, then it returns it | ||
| 10 | * - otherwise, the function creates a new string, which is a copy of _path | ||
| 11 | * without the trailing slash. It is then the responsibility of the caller | ||
| 12 | * to free it. | ||
| 13 | */ | ||
| 14 | |||
| 15 | static char* | ||
| 16 | _mingw_no_trailing_slash (const char* _path) | ||
| 17 | { | ||
| 18 | int len; | ||
| 19 | char *p; | ||
| 20 | |||
| 21 | p = (char*)_path; | ||
| 22 | |||
| 23 | if (_path && *_path) { | ||
| 24 | len = strlen (_path); | ||
| 25 | |||
| 26 | /* Ignore X:\ */ | ||
| 27 | |||
| 28 | if (len <= 1 || ((len == 2 || len == 3) && _path[1] == ':')) | ||
| 29 | return p; | ||
| 30 | |||
| 31 | /* Check UNC \\abc\<name>\ */ | ||
| 32 | if ((_path[0] == '\\' || _path[0] == '/') | ||
| 33 | 	&& (_path[1] == '\\' || _path[1] == '/')) | ||
| 34 | { | ||
| 35 | 	const char *r = &_path[2]; | ||
| 36 | 	while (*r != 0 && *r != '\\' && *r != '/') | ||
| 37 | 	 ++r; | ||
| 38 | 	if (*r != 0) | ||
| 39 | 	 ++r; | ||
| 40 | 	if (*r == 0) | ||
| 41 | 	 return p; | ||
| 42 | 	while (*r != 0 && *r != '\\' && *r != '/') | ||
| 43 | 	 ++r; | ||
| 44 | 	if (*r != 0) | ||
| 45 | 	 ++r; | ||
| 46 | 	if (*r == 0) | ||
| 47 | 	 return p; | ||
| 48 | } | ||
| 49 | |||
| 50 | if (_path[len - 1] == '/' || _path[len - 1] == '\\') | ||
| 51 | { | ||
| 52 | 	p = (char*)malloc (len); | ||
| 53 | 	memcpy (p, _path, len - 1); | ||
| 54 | 	p[len - 1] = '\0'; | ||
| 55 | } | ||
| 56 | } | ||
| 57 | |||
| 58 | return p; | ||
| 59 | } | ||
| 60 | /* FIXME: Relying on _USE_32BIT_TIME_T, which is a user-macro, | ||
| 61 | during CRT compilation is plainly broken. Need an appropriate | ||
| 62 | implementation to provide users the ability of compiling the | ||
| 63 | CRT only with 32-bit time_t behavior. */ | ||
| 64 | #if defined(_USE_32BIT_TIME_T) | ||
| 65 | int __cdecl | ||
| 66 | stat(const char *_Filename,struct stat *_Stat) | ||
| 67 | { | ||
| 68 | struct _stat32 st; | ||
| 69 | char *_path = _mingw_no_trailing_slash(_Filename); | ||
| 70 | |||
| 71 | int ret=_stat32(_path,&st); | ||
| 72 | |||
| 73 | if (_path != _Filename) | ||
| 74 | free (_path); | ||
| 75 | |||
| 76 | if (ret == -1) { | ||
| 77 | memset(_Stat,0,sizeof(struct stat)); | ||
| 78 | return -1; | ||
| 79 | } | ||
| 80 | /* struct stat and struct _stat32 | ||
| 81 | are the same for this case. */ | ||
| 82 | memcpy(_Stat, &st, sizeof(struct _stat32)); | ||
| 83 | return ret; | ||
| 84 | } | ||
| 85 | #else | ||
| 86 | int __cdecl | ||
| 87 | stat(const char *_Filename,struct stat *_Stat) | ||
| 88 | { | ||
| 89 | struct _stat64 st; | ||
| 90 | char *_path = _mingw_no_trailing_slash(_Filename); | ||
| 91 | |||
| 92 | int ret=_stat64(_path,&st); | ||
| 93 | |||
| 94 | if (_path != _Filename) | ||
| 95 | free (_path); | ||
| 96 | |||
| 97 | if (ret == -1) { | ||
| 98 | memset(_Stat,0,sizeof(struct stat)); | ||
| 99 | return -1; | ||
| 100 | } | ||
| 101 | /* struct stat and struct _stat64i32 | ||
| 102 | are the same for this case. */ | ||
| 103 | _Stat->st_dev=st.st_dev; | ||
| 104 | _Stat->st_ino=st.st_ino; | ||
| 105 | _Stat->st_mode=st.st_mode; | ||
| 106 | _Stat->st_nlink=st.st_nlink; | ||
| 107 | _Stat->st_uid=st.st_uid; | ||
| 108 | _Stat->st_gid=st.st_gid; | ||
| 109 | _Stat->st_rdev=st.st_rdev; | ||
| 110 | _Stat->st_size=(_off_t) st.st_size; | ||
| 111 | _Stat->st_atime=st.st_atime; | ||
| 112 | _Stat->st_mtime=st.st_mtime; | ||
| 113 | _Stat->st_ctime=st.st_ctime; | ||
| 114 | return ret; | ||
| 115 | } | ||
| 116 | #endif | ||
| 117 | |||
| 118 | /* Add __imp__fstat and __imp__stat symbols. */ | ||
| 119 | int (*__MINGW_IMP_SYMBOL(stat))(const char *,struct stat *) = &stat; | ||
| 120 | |||
lib/libc/mingw/stdio/_stat64i32.c+19-70| ... | @@ -1,77 +1,26 @@ | ... | @@ -1,77 +1,26 @@ |
| 1 | #define __CRT__NO_INLINE | ||
| 2 | #include <sys/stat.h> | ||
| 3 | #include <stdlib.h> | ||
| 4 | |||
| 5 | /** | 1 | /** |
| 6 | * Returns _path without trailing slash if any | 2 | * This file has no copyright assigned and is placed in the Public Domain. |
| 7 | * | 3 | * This file is part of the mingw-w64 runtime package. |
| 8 | * - if _path has no trailing slash, the function returns it | 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 9 | * - if _path has a trailing slash, but is of the form C:/, then it returns it | ||
| 10 | * - otherwise, the function creates a new string, which is a copy of _path | ||
| 11 | * without the trailing slash. It is then the responsibility of the caller | ||
| 12 | * to free it. | ||
| 13 | */ | 5 | */ |
| 14 | 6 | ||
| 15 | static char* | 7 | #include <sys/stat.h> |
| 16 | _mingw_no_trailing_slash (const char* _path) | ||
| 17 | { | ||
| 18 | int len; | ||
| 19 | char *p; | ||
| 20 | |||
| 21 | p = (char*)_path; | ||
| 22 | |||
| 23 | if (_path && *_path) { | ||
| 24 | len = strlen (_path); | ||
| 25 | |||
| 26 | /* Ignore X:\ */ | ||
| 27 | |||
| 28 | if (len <= 1 || ((len == 2 || len == 3) && _path[1] == ':')) | ||
| 29 | return p; | ||
| 30 | |||
| 31 | /* Check UNC \\abc\<name>\ */ | ||
| 32 | if ((_path[0] == '\\' || _path[0] == '/') | ||
| 33 | 	&& (_path[1] == '\\' || _path[1] == '/')) | ||
| 34 | { | ||
| 35 | 	const char *r = &_path[2]; | ||
| 36 | 	while (*r != 0 && *r != '\\' && *r != '/') | ||
| 37 | 	 ++r; | ||
| 38 | 	if (*r != 0) | ||
| 39 | 	 ++r; | ||
| 40 | 	if (*r == 0) | ||
| 41 | 	 return p; | ||
| 42 | 	while (*r != 0 && *r != '\\' && *r != '/') | ||
| 43 | 	 ++r; | ||
| 44 | 	if (*r != 0) | ||
| 45 | 	 ++r; | ||
| 46 | 	if (*r == 0) | ||
| 47 | 	 return p; | ||
| 48 | } | ||
| 49 | |||
| 50 | if (_path[len - 1] == '/' || _path[len - 1] == '\\') | ||
| 51 | { | ||
| 52 | 	p = (char*)malloc (len); | ||
| 53 | 	memcpy (p, _path, len - 1); | ||
| 54 | 	p[len - 1] = '\0'; | ||
| 55 | } | ||
| 56 | } | ||
| 57 | |||
| 58 | return p; | ||
| 59 | } | ||
| 60 | 8 | ||
| 9 | /* When the file size does not fit into the st_size field: | ||
| 10 | * crtdll-msvcr90 msvcr100 msvcr110+ | ||
| 11 | * st_size truncate 0 0 | ||
| 12 | * errno no change no change EOVERFLOW | ||
| 13 | * returns 0 -1 -1 | ||
| 14 | * | ||
| 15 | * This file is used only for pre-msvcr80 builds, | ||
| 16 | * So use the pre-msvcr80 behavior - truncate without error. | ||
| 17 | */ | ||
| 61 | int __cdecl _stat64i32(const char *_Name,struct _stat64i32 *_Stat) | 18 | int __cdecl _stat64i32(const char *_Name,struct _stat64i32 *_Stat) |
| 62 | { | 19 | { |
| 63 | struct _stat64 st; | 20 | struct _stat64 st; |
| 64 | char *_path = _mingw_no_trailing_slash(_Name); | 21 | int ret=_stat64(_Name,&st); |
| 65 | 22 | if (ret != 0) | |
| 66 | int ret=_stat64(_path,&st); | 23 | return ret; |
| 67 | |||
| 68 | if (_path != _Name) | ||
| 69 | free(_path); | ||
| 70 | |||
| 71 | if (ret == -1) { | ||
| 72 | memset(_Stat,0,sizeof(struct _stat64i32)); | ||
| 73 | return -1; | ||
| 74 | } | ||
| 75 | _Stat->st_dev=st.st_dev; | 24 | _Stat->st_dev=st.st_dev; |
| 76 | _Stat->st_ino=st.st_ino; | 25 | _Stat->st_ino=st.st_ino; |
| 77 | _Stat->st_mode=st.st_mode; | 26 | _Stat->st_mode=st.st_mode; |
| ... | @@ -79,10 +28,10 @@ int __cdecl _stat64i32(const char *_Name,struct _stat64i32 *_Stat) | ... | @@ -79,10 +28,10 @@ int __cdecl _stat64i32(const char *_Name,struct _stat64i32 *_Stat) |
| 79 | _Stat->st_uid=st.st_uid; | 28 | _Stat->st_uid=st.st_uid; |
| 80 | _Stat->st_gid=st.st_gid; | 29 | _Stat->st_gid=st.st_gid; |
| 81 | _Stat->st_rdev=st.st_rdev; | 30 | _Stat->st_rdev=st.st_rdev; |
| 82 | _Stat->st_size=(_off_t) st.st_size; | 31 | _Stat->st_size=(_off_t) st.st_size; /* truncate 64-bit st_size to 32-bit */ |
| 83 | _Stat->st_atime=st.st_atime; | 32 | _Stat->st_atime=st.st_atime; |
| 84 | _Stat->st_mtime=st.st_mtime; | 33 | _Stat->st_mtime=st.st_mtime; |
| 85 | _Stat->st_ctime=st.st_ctime; | 34 | _Stat->st_ctime=st.st_ctime; |
| 86 | return ret; | 35 | return 0; |
| 87 | } | 36 | } |
| 88 | 37 | int (__cdecl *__MINGW_IMP_SYMBOL(_stat64i32))(const char *, struct _stat64i32 *) = _stat64i32; |
lib/libc/mingw/stdio/_wfindfirst64i32.c+1-1| ... | @@ -7,7 +7,7 @@ intptr_t __cdecl _wfindfirst64i32(const wchar_t *_Filename,struct _wfinddata64i3 | ... | @@ -7,7 +7,7 @@ intptr_t __cdecl _wfindfirst64i32(const wchar_t *_Filename,struct _wfinddata64i3 |
| 7 | struct _wfinddata64_t fd; | 7 | struct _wfinddata64_t fd; |
| 8 | intptr_t ret = _wfindfirst64(_Filename,&fd); | 8 | intptr_t ret = _wfindfirst64(_Filename,&fd); |
| 9 | if (ret == -1) { | 9 | if (ret == -1) { |
| 10 | memset(_FindData,0,sizeof(struct _wfinddata64i32_t)); | 10 | *_FindData = (struct _wfinddata64i32_t){0}; |
| 11 | return -1; | 11 | return -1; |
| 12 | } | 12 | } |
| 13 | _FindData->attrib=fd.attrib; | 13 | _FindData->attrib=fd.attrib; |
lib/libc/mingw/stdio/_wfindnext64i32.c+1-1| ... | @@ -7,7 +7,7 @@ int __cdecl _wfindnext64i32(intptr_t _FindHandle,struct _wfinddata64i32_t *_Find | ... | @@ -7,7 +7,7 @@ int __cdecl _wfindnext64i32(intptr_t _FindHandle,struct _wfinddata64i32_t *_Find |
| 7 | struct _wfinddata64_t fd; | 7 | struct _wfinddata64_t fd; |
| 8 | int ret = _wfindnext64(_FindHandle,&fd); | 8 | int ret = _wfindnext64(_FindHandle,&fd); |
| 9 | if (ret == -1) { | 9 | if (ret == -1) { |
| 10 | memset(_FindData,0,sizeof(struct _wfinddata64i32_t)); | 10 | *_FindData = (struct _wfinddata64i32_t){0}; |
| 11 | return -1; | 11 | return -1; |
| 12 | } | 12 | } |
| 13 | _FindData->attrib=fd.attrib; | 13 | _FindData->attrib=fd.attrib; |
lib/libc/mingw/stdio/_wstat.c deleted-119| ... | @@ -1,119 +0,0 @@ | ||
| 1 | #define __CRT__NO_INLINE | ||
| 2 | #include <sys/stat.h> | ||
| 3 | #include <stdlib.h> | ||
| 4 | #include <malloc.h> | ||
| 5 | |||
| 6 | /** | ||
| 7 | * Returns _path without trailing slash if any | ||
| 8 | * | ||
| 9 | * - if _path has no trailing slash, the function returns it | ||
| 10 | * - if _path has a trailing slash, but is of the form C:/, then it returns it | ||
| 11 | * - otherwise, the function creates a new string, which is a copy of _path | ||
| 12 | * without the trailing slash. It is then the responsibility of the caller | ||
| 13 | * to free it. | ||
| 14 | */ | ||
| 15 | |||
| 16 | static wchar_t* | ||
| 17 | _mingw_no_trailing_slash (const wchar_t* _path) | ||
| 18 | { | ||
| 19 | int len; | ||
| 20 | wchar_t *p; | ||
| 21 | |||
| 22 | p = (wchar_t*)_path; | ||
| 23 | |||
| 24 | if (_path && *_path) { | ||
| 25 | len = wcslen (_path); | ||
| 26 | |||
| 27 | /* Ignore X:\ */ | ||
| 28 | |||
| 29 | if (len <= 1 || ((len == 2 || len == 3) && _path[1] == L':')) | ||
| 30 | return p; | ||
| 31 | |||
| 32 | /* Check UNC \\abc\<name>\ */ | ||
| 33 | if ((_path[0] == L'\\' || _path[0] == L'/') | ||
| 34 | 	&& (_path[1] == L'\\' || _path[1] == L'/')) | ||
| 35 | { | ||
| 36 | 	const wchar_t *r = &_path[2]; | ||
| 37 | 	while (*r != 0 && *r != L'\\' && *r != L'/') | ||
| 38 | 	 ++r; | ||
| 39 | 	if (*r != 0) | ||
| 40 | 	 ++r; | ||
| 41 | 	if (*r == 0) | ||
| 42 | 	 return p; | ||
| 43 | 	while (*r != 0 && *r != L'\\' && *r != L'/') | ||
| 44 | 	 ++r; | ||
| 45 | 	if (*r != 0) | ||
| 46 | 	 ++r; | ||
| 47 | 	if (*r == 0) | ||
| 48 | 	 return p; | ||
| 49 | } | ||
| 50 | |||
| 51 | if (_path[len - 1] == L'/' || _path[len - 1] == L'\\') | ||
| 52 | { | ||
| 53 | 	p = (wchar_t*)malloc (len * sizeof(wchar_t)); | ||
| 54 | 	memcpy (p, _path, (len - 1) * sizeof(wchar_t)); | ||
| 55 | 	p[len - 1] = L'\0'; | ||
| 56 | } | ||
| 57 | } | ||
| 58 | |||
| 59 | return p; | ||
| 60 | } | ||
| 61 | |||
| 62 | /* FIXME: Relying on _USE_32BIT_TIME_T, which is a user-macro, | ||
| 63 | during CRT compilation is plainly broken. Need an appropriate | ||
| 64 | implementation to provide users the ability of compiling the | ||
| 65 | CRT only with 32-bit time_t behavior. */ | ||
| 66 | #if defined(_USE_32BIT_TIME_T) | ||
| 67 | int __cdecl | ||
| 68 | wstat(const wchar_t *_Filename,struct stat *_Stat) | ||
| 69 | { | ||
| 70 | struct _stat32 st; | ||
| 71 | wchar_t *_path = _mingw_no_trailing_slash(_Filename); | ||
| 72 | |||
| 73 | int ret=_wstat32(_path,&st); | ||
| 74 | |||
| 75 | if (_path != _Filename) | ||
| 76 | free (_path); | ||
| 77 | |||
| 78 | if (ret == -1) { | ||
| 79 | memset(_Stat,0,sizeof(struct stat)); | ||
| 80 | return -1; | ||
| 81 | } | ||
| 82 | /* struct stat and struct _stat32 | ||
| 83 | are the same for this case. */ | ||
| 84 | memcpy(_Stat, &st, sizeof(struct _stat32)); | ||
| 85 | return ret; | ||
| 86 | } | ||
| 87 | #else | ||
| 88 | int __cdecl | ||
| 89 | wstat(const wchar_t *_Filename,struct stat *_Stat) | ||
| 90 | { | ||
| 91 | struct _stat64 st; | ||
| 92 | wchar_t *_path = _mingw_no_trailing_slash(_Filename); | ||
| 93 | |||
| 94 | int ret=_wstat64(_path,&st); | ||
| 95 | |||
| 96 | if (_path != _Filename) | ||
| 97 | free (_path); | ||
| 98 | |||
| 99 | if (ret == -1) { | ||
| 100 | memset(_Stat,0,sizeof(struct stat)); | ||
| 101 | return -1; | ||
| 102 | } | ||
| 103 | /* struct stat and struct _stat64i32 | ||
| 104 | are the same for this case. */ | ||
| 105 | _Stat->st_dev=st.st_dev; | ||
| 106 | _Stat->st_ino=st.st_ino; | ||
| 107 | _Stat->st_mode=st.st_mode; | ||
| 108 | _Stat->st_nlink=st.st_nlink; | ||
| 109 | _Stat->st_uid=st.st_uid; | ||
| 110 | _Stat->st_gid=st.st_gid; | ||
| 111 | _Stat->st_rdev=st.st_rdev; | ||
| 112 | _Stat->st_size=(_off_t) st.st_size; | ||
| 113 | _Stat->st_atime=st.st_atime; | ||
| 114 | _Stat->st_mtime=st.st_mtime; | ||
| 115 | _Stat->st_ctime=st.st_ctime; | ||
| 116 | return ret; | ||
| 117 | } | ||
| 118 | #endif | ||
| 119 | |||
lib/libc/mingw/stdio/_wstat64i32.c+19-70| ... | @@ -1,77 +1,26 @@ | ... | @@ -1,77 +1,26 @@ |
| 1 | #define __CRT__NO_INLINE | ||
| 2 | #include <sys/stat.h> | ||
| 3 | #include <stdlib.h> | ||
| 4 | |||
| 5 | /** | 1 | /** |
| 6 | * Returns _path without trailing slash if any | 2 | * This file has no copyright assigned and is placed in the Public Domain. |
| 7 | * | 3 | * This file is part of the mingw-w64 runtime package. |
| 8 | * - if _path has no trailing slash, the function returns it | 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 9 | * - if _path has a trailing slash, but is of the form C:/, then it returns it | ||
| 10 | * - otherwise, the function creates a new string, which is a copy of _path | ||
| 11 | * without the trailing slash. It is then the responsibility of the caller | ||
| 12 | * to free it. | ||
| 13 | */ | 5 | */ |
| 14 | 6 | ||
| 15 | static wchar_t* | 7 | #include <sys/stat.h> |
| 16 | _mingw_no_trailing_slash (const wchar_t* _path) | ||
| 17 | { | ||
| 18 | int len; | ||
| 19 | wchar_t *p; | ||
| 20 | |||
| 21 | p = (wchar_t*)_path; | ||
| 22 | |||
| 23 | if (_path && *_path) { | ||
| 24 | len = wcslen (_path); | ||
| 25 | |||
| 26 | /* Ignore X:\ */ | ||
| 27 | |||
| 28 | if (len <= 1 || ((len == 2 || len == 3) && _path[1] == L':')) | ||
| 29 | return p; | ||
| 30 | |||
| 31 | /* Check UNC \\abc\<name>\ */ | ||
| 32 | if ((_path[0] == L'\\' || _path[0] == L'/') | ||
| 33 | 	&& (_path[1] == L'\\' || _path[1] == L'/')) | ||
| 34 | { | ||
| 35 | 	const wchar_t *r = &_path[2]; | ||
| 36 | 	while (*r != 0 && *r != L'\\' && *r != L'/') | ||
| 37 | 	 ++r; | ||
| 38 | 	if (*r != 0) | ||
| 39 | 	 ++r; | ||
| 40 | 	if (*r == 0) | ||
| 41 | 	 return p; | ||
| 42 | 	while (*r != 0 && *r != L'\\' && *r != L'/') | ||
| 43 | 	 ++r; | ||
| 44 | 	if (*r != 0) | ||
| 45 | 	 ++r; | ||
| 46 | 	if (*r == 0) | ||
| 47 | 	 return p; | ||
| 48 | } | ||
| 49 | |||
| 50 | if (_path[len - 1] == L'/' || _path[len - 1] == L'\\') | ||
| 51 | { | ||
| 52 | 	p = (wchar_t*)malloc (len * sizeof(wchar_t)); | ||
| 53 | 	memcpy (p, _path, (len - 1) * sizeof(wchar_t)); | ||
| 54 | 	p[len - 1] = L'\0'; | ||
| 55 | } | ||
| 56 | } | ||
| 57 | |||
| 58 | return p; | ||
| 59 | } | ||
| 60 | 8 | ||
| 9 | /* When the file size does not fit into the st_size field: | ||
| 10 | * crtdll-msvcr90 msvcr100 msvcr110+ | ||
| 11 | * st_size truncate 0 0 | ||
| 12 | * errno no change no change EOVERFLOW | ||
| 13 | * returns 0 -1 -1 | ||
| 14 | * | ||
| 15 | * This file is used only for pre-msvcr80 builds, | ||
| 16 | * So use the pre-msvcr80 behavior - truncate without error. | ||
| 17 | */ | ||
| 61 | int __cdecl _wstat64i32(const wchar_t *_Name,struct _stat64i32 *_Stat) | 18 | int __cdecl _wstat64i32(const wchar_t *_Name,struct _stat64i32 *_Stat) |
| 62 | { | 19 | { |
| 63 | struct _stat64 st; | 20 | struct _stat64 st; |
| 64 | wchar_t *_path = _mingw_no_trailing_slash(_Name); | 21 | int ret=_wstat64(_Name,&st); |
| 65 | 22 | if (ret != 0) | |
| 66 | int ret=_wstat64(_path,&st); | 23 | return ret; |
| 67 | |||
| 68 | if (_path != _Name) | ||
| 69 | free(_path); | ||
| 70 | |||
| 71 | if (ret == -1) { | ||
| 72 | memset(_Stat,0,sizeof(struct _stat64i32)); | ||
| 73 | return -1; | ||
| 74 | } | ||
| 75 | _Stat->st_dev=st.st_dev; | 24 | _Stat->st_dev=st.st_dev; |
| 76 | _Stat->st_ino=st.st_ino; | 25 | _Stat->st_ino=st.st_ino; |
| 77 | _Stat->st_mode=st.st_mode; | 26 | _Stat->st_mode=st.st_mode; |
| ... | @@ -79,10 +28,10 @@ int __cdecl _wstat64i32(const wchar_t *_Name,struct _stat64i32 *_Stat) | ... | @@ -79,10 +28,10 @@ int __cdecl _wstat64i32(const wchar_t *_Name,struct _stat64i32 *_Stat) |
| 79 | _Stat->st_uid=st.st_uid; | 28 | _Stat->st_uid=st.st_uid; |
| 80 | _Stat->st_gid=st.st_gid; | 29 | _Stat->st_gid=st.st_gid; |
| 81 | _Stat->st_rdev=st.st_rdev; | 30 | _Stat->st_rdev=st.st_rdev; |
| 82 | _Stat->st_size=(_off_t) st.st_size; | 31 | _Stat->st_size=(_off_t) st.st_size; /* truncate 64-bit st_size to 32-bit */ |
| 83 | _Stat->st_atime=st.st_atime; | 32 | _Stat->st_atime=st.st_atime; |
| 84 | _Stat->st_mtime=st.st_mtime; | 33 | _Stat->st_mtime=st.st_mtime; |
| 85 | _Stat->st_ctime=st.st_ctime; | 34 | _Stat->st_ctime=st.st_ctime; |
| 86 | return ret; | 35 | return 0; |
| 87 | } | 36 | } |
| 88 | 37 | int (__cdecl *__MINGW_IMP_SYMBOL(_wstat64i32))(const wchar_t *, struct _stat64i32 *) = _wstat64i32; |
lib/libc/mingw/stdio/mingw_pformat.c+7-14| ... | @@ -512,8 +512,7 @@ void __pformat_putchars( const char *s, int count, __pformat_t *stream ) | ... | @@ -512,8 +512,7 @@ void __pformat_putchars( const char *s, int count, __pformat_t *stream ) |
| 512 | wchar_t w[12], *p; | 512 | wchar_t w[12], *p; |
| 513 | while( count > 0 ) | 513 | while( count > 0 ) |
| 514 | { | 514 | { |
| 515 | mbstate_t ps; | 515 | mbstate_t ps = {0}; |
| 516 | memset(&ps, 0, sizeof(ps) ); | ||
| 517 | --count; | 516 | --count; |
| 518 | p = &w[0]; | 517 | p = &w[0]; |
| 519 | l = mbrtowc (p, s, strlen (s), &ps); | 518 | l = mbrtowc (p, s, strlen (s), &ps); |
| ... | @@ -1175,11 +1174,8 @@ void __pformat_emit_radix_point( __pformat_t *stream ) | ... | @@ -1175,11 +1174,8 @@ void __pformat_emit_radix_point( __pformat_t *stream ) |
| 1175 | /* Radix point initialisation not yet completed; | 1174 | /* Radix point initialisation not yet completed; |
| 1176 | * establish a multibyte to `wchar_t' converter... | 1175 | * establish a multibyte to `wchar_t' converter... |
| 1177 | */ | 1176 | */ |
| 1178 | int len; wchar_t rpchr; mbstate_t state; | 1177 | int len; wchar_t rpchr; |
| 1179 | 1178 | mbstate_t state = {0}; | |
| 1180 | /* Initialise the conversion state... | ||
| 1181 | */ | ||
| 1182 | memset( &state, 0, sizeof( state ) ); | ||
| 1183 | 1179 | ||
| 1184 | /* Fetch and convert the localised radix point representation... | 1180 | /* Fetch and convert the localised radix point representation... |
| 1185 | */ | 1181 | */ |
| ... | @@ -1203,11 +1199,8 @@ void __pformat_emit_radix_point( __pformat_t *stream ) | ... | @@ -1203,11 +1199,8 @@ void __pformat_emit_radix_point( __pformat_t *stream ) |
| 1203 | #ifdef __BUILD_WIDEAPI | 1199 | #ifdef __BUILD_WIDEAPI |
| 1204 | __pformat_putc (stream->rpchr, stream); | 1200 | __pformat_putc (stream->rpchr, stream); |
| 1205 | #else | 1201 | #else |
| 1206 | int len; char buf[len = stream->rplen]; mbstate_t state; | 1202 | int len; char buf[len = stream->rplen]; |
| 1207 | 1203 | mbstate_t state = {0}; | |
| 1208 | /* Initialise the conversion state... | ||
| 1209 | */ | ||
| 1210 | memset( &state, 0, sizeof( state ) ); | ||
| 1211 | 1204 | ||
| 1212 | /* Convert the `wchar_t' representation to multibyte... | 1205 | /* Convert the `wchar_t' representation to multibyte... |
| 1213 | */ | 1206 | */ |
| ... | @@ -3123,8 +3116,8 @@ __pformat (int flags, void *dest, int max, const APICHAR *fmt, va_list argv) | ... | @@ -3123,8 +3116,8 @@ __pformat (int flags, void *dest, int max, const APICHAR *fmt, va_list argv) |
| 3123 | if (state == PFORMAT_INIT) | 3116 | if (state == PFORMAT_INIT) |
| 3124 | { | 3117 | { |
| 3125 | stream.flags |= PFORMAT_GROUPED; /* $$$$ */ | 3118 | stream.flags |= PFORMAT_GROUPED; /* $$$$ */ |
| 3126 | int len; wchar_t rpchr; mbstate_t cstate; | 3119 | int len; wchar_t rpchr; |
| 3127 | memset (&cstate, 0, sizeof(state)); | 3120 | mbstate_t cstate = {0}; |
| 3128 | if ((len = mbrtowc( &rpchr, localeconv()->thousands_sep, 16, &cstate)) > 0) | 3121 | if ((len = mbrtowc( &rpchr, localeconv()->thousands_sep, 16, &cstate)) > 0) |
| 3129 | stream.thousands_chr = rpchr; | 3122 | stream.thousands_chr = rpchr; |
| 3130 | stream.thousands_chr_len = len; | 3123 | stream.thousands_chr_len = len; |
lib/libc/mingw/stdio/mingw_sformat.c+4-6| ... | @@ -307,7 +307,7 @@ __mingw_sformat (_IFP *s, const char *format, va_list argp) | ... | @@ -307,7 +307,7 @@ __mingw_sformat (_IFP *s, const char *format, va_list argp) |
| 307 | char seen_dot, seen_exp, is_neg, not_in; | 307 | char seen_dot, seen_exp, is_neg, not_in; |
| 308 | char *tmp_wbuf_ptr, buf[MB_LEN_MAX]; | 308 | char *tmp_wbuf_ptr, buf[MB_LEN_MAX]; |
| 309 | const char *lc_decimal_point, *lc_thousands_sep; | 309 | const char *lc_decimal_point, *lc_thousands_sep; |
| 310 | mbstate_t state, cstate; | 310 | mbstate_t state = {0}, cstate; |
| 311 | union { | 311 | union { |
| 312 | unsigned long long ull; | 312 | unsigned long long ull; |
| 313 | unsigned long ul; | 313 | unsigned long ul; |
| ... | @@ -323,8 +323,6 @@ __mingw_sformat (_IFP *s, const char *format, va_list argp) | ... | @@ -323,8 +323,6 @@ __mingw_sformat (_IFP *s, const char *format, va_list argp) |
| 323 | return EOF; | 323 | return EOF; |
| 324 | } | 324 | } |
| 325 | 325 | ||
| 326 | memset (&state, 0, sizeof (state)); | ||
| 327 | |||
| 328 | lc_decimal_point = localeconv()->decimal_point; | 326 | lc_decimal_point = localeconv()->decimal_point; |
| 329 | lc_thousands_sep = localeconv()->thousands_sep; | 327 | lc_thousands_sep = localeconv()->thousands_sep; |
| 330 | if (lc_thousands_sep != NULL && *lc_thousands_sep == 0) | 328 | if (lc_thousands_sep != NULL && *lc_thousands_sep == 0) |
| ... | @@ -682,7 +680,7 @@ __mingw_sformat (_IFP *s, const char *format, va_list argp) | ... | @@ -682,7 +680,7 @@ __mingw_sformat (_IFP *s, const char *format, va_list argp) |
| 682 | 	 if ((c = in_ch (s, &read_in)) == EOF) | 680 | 	 if ((c = in_ch (s, &read_in)) == EOF) |
| 683 | 	 return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); | 681 | 	 return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); |
| 684 | 682 | ||
| 685 | 	 memset (&cstate, 0, sizeof (cstate)); | 683 | 	 cstate = (mbstate_t){0}; |
| 686 | 684 | ||
| 687 | 	 do | 685 | 	 do |
| 688 | 	 { | 686 | 	 { |
| ... | @@ -854,7 +852,7 @@ __mingw_sformat (_IFP *s, const char *format, va_list argp) | ... | @@ -854,7 +852,7 @@ __mingw_sformat (_IFP *s, const char *format, va_list argp) |
| 854 | 	 if ((c = in_ch (s, &read_in)) == EOF) | 852 | 	 if ((c = in_ch (s, &read_in)) == EOF) |
| 855 | 	 return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); | 853 | 	 return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); |
| 856 | 854 | ||
| 857 | 	 memset (&cstate, 0, sizeof (cstate)); | 855 | 	 cstate = (mbstate_t){0}; |
| 858 | 856 | ||
| 859 | 	 do | 857 | 	 do |
| 860 | 	 { | 858 | 	 { |
| ... | @@ -1459,7 +1457,7 @@ __mingw_sformat (_IFP *s, const char *format, va_list argp) | ... | @@ -1459,7 +1457,7 @@ __mingw_sformat (_IFP *s, const char *format, va_list argp) |
| 1459 | 	 if ((c = in_ch (s, &read_in)) == EOF) | 1457 | 	 if ((c = in_ch (s, &read_in)) == EOF) |
| 1460 | 		return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); | 1458 | 		return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); |
| 1461 | 1459 | ||
| 1462 | 	 memset (&cstate, 0, sizeof (cstate)); | 1460 | cstate = (mbstate_t){0}; |
| 1463 | 1461 | ||
| 1464 | 	 do | 1462 | 	 do |
| 1465 | 		{ | 1463 | 		{ |
lib/libc/mingw/stdio/mingw_swformat.c+5-5| ... | @@ -332,10 +332,10 @@ __mingw_swformat (_IFPW *s, const wchar_t *format, va_list argp) | ... | @@ -332,10 +332,10 @@ __mingw_swformat (_IFPW *s, const wchar_t *format, va_list argp) |
| 332 | return EOF; | 332 | return EOF; |
| 333 | } | 333 | } |
| 334 | 334 | ||
| 335 | memset (&state, 0, sizeof(state)); | 335 | state = (mbstate_t){0}; |
| 336 | clen = mbrtowc( &wc, localeconv()->decimal_point, 16, &state); | 336 | clen = mbrtowc( &wc, localeconv()->decimal_point, 16, &state); |
| 337 | lc_decimal_point = (clen > 0 ? wc : '.'); | 337 | lc_decimal_point = (clen > 0 ? wc : '.'); |
| 338 | memset( &state, 0, sizeof( state ) ); | 338 | state = (mbstate_t){0}; |
| 339 | clen = mbrtowc( &wc, localeconv()->thousands_sep, 16, &state); | 339 | clen = mbrtowc( &wc, localeconv()->thousands_sep, 16, &state); |
| 340 | lc_thousands_sep = (clen > 0 ? wc : 0); | 340 | lc_thousands_sep = (clen > 0 ? wc : 0); |
| 341 | 341 | ||
| ... | @@ -596,7 +596,7 @@ __mingw_swformat (_IFPW *s, const wchar_t *format, va_list argp) | ... | @@ -596,7 +596,7 @@ __mingw_swformat (_IFPW *s, const wchar_t *format, va_list argp) |
| 596 | 	 if ((c = in_ch (s, &read_in)) == WEOF) | 596 | 	 if ((c = in_ch (s, &read_in)) == WEOF) |
| 597 | 	 return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); | 597 | 	 return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); |
| 598 | 598 | ||
| 599 | 	 memset (&state, 0, sizeof (state)); | 599 | state = (mbstate_t){0}; |
| 600 | 600 | ||
| 601 | 	 do | 601 | 	 do |
| 602 | 	 { | 602 | 	 { |
| ... | @@ -744,7 +744,7 @@ __mingw_swformat (_IFPW *s, const wchar_t *format, va_list argp) | ... | @@ -744,7 +744,7 @@ __mingw_swformat (_IFPW *s, const wchar_t *format, va_list argp) |
| 744 | 	 if ((c = in_ch (s, &read_in)) == WEOF) | 744 | 	 if ((c = in_ch (s, &read_in)) == WEOF) |
| 745 | 	 return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); | 745 | 	 return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); |
| 746 | 746 | ||
| 747 | 	 memset (&state, 0, sizeof (state)); | 747 | state = (mbstate_t){0}; |
| 748 | 748 | ||
| 749 | 	 do | 749 | 	 do |
| 750 | 	 { | 750 | 	 { |
| ... | @@ -1459,7 +1459,7 @@ __mingw_swformat (_IFPW *s, const wchar_t *format, va_list argp) | ... | @@ -1459,7 +1459,7 @@ __mingw_swformat (_IFPW *s, const wchar_t *format, va_list argp) |
| 1459 | 	 if ((c = in_ch (s, &read_in)) == WEOF) | 1459 | 	 if ((c = in_ch (s, &read_in)) == WEOF) |
| 1460 | 		return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); | 1460 | 		return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); |
| 1461 | 1461 | ||
| 1462 | 	 memset (&state, 0, sizeof (state)); | 1462 | state = (mbstate_t){0}; |
| 1463 | 1463 | ||
| 1464 | 	 do | 1464 | 	 do |
| 1465 | 		{ | 1465 | 		{ |
lib/libc/mingw/stdio/mingw_vfscanf.c+1-3| ... | @@ -7,8 +7,6 @@ | ... | @@ -7,8 +7,6 @@ |
| 7 | int | 7 | int |
| 8 | __mingw_vfscanf (FILE *s, const char *format, va_list argp) | 8 | __mingw_vfscanf (FILE *s, const char *format, va_list argp) |
| 9 | { | 9 | { |
| 10 | _IFP ifp; | 10 | _IFP ifp = { .fp = s }; |
| 11 | memset (&ifp, 0, sizeof (_IFP)); | ||
| 12 | ifp.fp = s; | ||
| 13 | return __mingw_sformat (&ifp, format, argp); | 11 | return __mingw_sformat (&ifp, format, argp); |
| 14 | } | 12 | } |
lib/libc/mingw/stdio/mingw_vfwscanf.c+1-3| ... | @@ -7,8 +7,6 @@ | ... | @@ -7,8 +7,6 @@ |
| 7 | int | 7 | int |
| 8 | __mingw_vfwscanf (FILE *s, const wchar_t *format, va_list argp) | 8 | __mingw_vfwscanf (FILE *s, const wchar_t *format, va_list argp) |
| 9 | { | 9 | { |
| 10 | _IFPW ifp; | 10 | _IFPW ifp = { .fp = s }; |
| 11 | memset (&ifp, 0, sizeof (_IFPW)); | ||
| 12 | ifp.fp = s; | ||
| 13 | return __mingw_swformat (&ifp, format, argp); | 11 | return __mingw_swformat (&ifp, format, argp); |
| 14 | } | 12 | } |
lib/libc/mingw/stdio/mingw_vsscanf.c+1-4| ... | @@ -7,9 +7,6 @@ | ... | @@ -7,9 +7,6 @@ |
| 7 | int | 7 | int |
| 8 | __mingw_vsscanf (const char *s, const char *format, va_list argp) | 8 | __mingw_vsscanf (const char *s, const char *format, va_list argp) |
| 9 | { | 9 | { |
| 10 | _IFP ifp; | 10 | _IFP ifp = { .str = s, .is_string = 1 }; |
| 11 | memset (&ifp, 0, sizeof (_IFP)); | ||
| 12 | ifp.str = s; | ||
| 13 | ifp.is_string = 1; | ||
| 14 | return __mingw_sformat (&ifp, format, argp); | 11 | return __mingw_sformat (&ifp, format, argp); |
| 15 | } | 12 | } |
lib/libc/mingw/stdio/mingw_vswscanf.c+1-4| ... | @@ -7,9 +7,6 @@ | ... | @@ -7,9 +7,6 @@ |
| 7 | int | 7 | int |
| 8 | __mingw_vswscanf (const wchar_t *s, const wchar_t *format, va_list argp) | 8 | __mingw_vswscanf (const wchar_t *s, const wchar_t *format, va_list argp) |
| 9 | { | 9 | { |
| 10 | _IFPW ifp; | 10 | _IFPW ifp = { .str = s, .is_string = 1 }; |
| 11 | memset (&ifp, 0, sizeof (_IFPW)); | ||
| 12 | ifp.str = s; | ||
| 13 | ifp.is_string = 1; | ||
| 14 | return __mingw_swformat (&ifp, format, argp); | 11 | return __mingw_swformat (&ifp, format, argp); |
| 15 | } | 12 | } |
lib/libc/mingw/stdio/ucrt___local_stdio_printf_options.c created+15| ... | @@ -0,0 +1,15 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #undef __MSVCRT_VERSION__ | ||
| 8 | #define _UCRT | ||
| 9 | #include <corecrt_stdio_config.h> | ||
| 10 | |||
| 11 | static unsigned __int64 options = _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS | _CRT_INTERNAL_PRINTF_STANDARD_ROUNDING; | ||
| 12 | |||
| 13 | unsigned __int64* __local_stdio_printf_options(void) { | ||
| 14 | return &options; | ||
| 15 | } | ||
lib/libc/mingw/stdio/ucrt___local_stdio_scanf_options.c created+15| ... | @@ -0,0 +1,15 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #undef __MSVCRT_VERSION__ | ||
| 8 | #define _UCRT | ||
| 9 | #include <corecrt_stdio_config.h> | ||
| 10 | |||
| 11 | static unsigned __int64 options = _CRT_INTERNAL_SCANF_LEGACY_WIDE_SPECIFIERS; | ||
| 12 | |||
| 13 | unsigned __int64* __local_stdio_scanf_options(void) { | ||
| 14 | return &options; | ||
| 15 | } | ||
lib/libc/mingw/stdio/ucrt__scprintf.c-1| ... | @@ -18,4 +18,3 @@ int __cdecl _scprintf(const char * __restrict__ _Format, ...) | ... | @@ -18,4 +18,3 @@ int __cdecl _scprintf(const char * __restrict__ _Format, ...) |
| 18 | va_end(_ArgList); | 18 | va_end(_ArgList); |
| 19 | return ret; | 19 | return ret; |
| 20 | } | 20 | } |
| 21 | int __cdecl (*__MINGW_IMP_SYMBOL(_scprintf))(const char *__restrict__, ...) = _scprintf; |
lib/libc/mingw/stdio/ucrt__snprintf.c-1| ... | @@ -18,4 +18,3 @@ int __cdecl _snprintf(char * __restrict__ _Dest, size_t _Count, const char * __r | ... | @@ -18,4 +18,3 @@ int __cdecl _snprintf(char * __restrict__ _Dest, size_t _Count, const char * __r |
| 18 | va_end(_Args); | 18 | va_end(_Args); |
| 19 | return ret; | 19 | return ret; |
| 20 | } | 20 | } |
| 21 | int __cdecl (*__MINGW_IMP_SYMBOL(_snprintf))(char *__restrict__, size_t, const char *__restrict__, ...) = _snprintf; |
lib/libc/mingw/stdio/ucrt__snscanf.c+1-2| ... | @@ -14,8 +14,7 @@ int __cdecl _snscanf(const char * __restrict__ _Src, size_t _MaxCount, const cha | ... | @@ -14,8 +14,7 @@ int __cdecl _snscanf(const char * __restrict__ _Src, size_t _MaxCount, const cha |
| 14 | int ret; | 14 | int ret; |
| 15 | va_list _ArgList; | 15 | va_list _ArgList; |
| 16 | va_start(_ArgList, _Format); | 16 | va_start(_ArgList, _Format); |
| 17 | ret = __stdio_common_vsscanf(0, _Src, _MaxCount, _Format, NULL, _ArgList); | 17 | ret = __stdio_common_vsscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, _Src, _MaxCount, _Format, NULL, _ArgList); |
| 18 | va_end(_ArgList); | 18 | va_end(_ArgList); |
| 19 | return ret; | 19 | return ret; |
| 20 | } | 20 | } |
| 21 | int __cdecl (*__MINGW_IMP_SYMBOL(_snscanf))(const char *__restrict__, size_t, const char * __restrict__, ...) = _snscanf; |
lib/libc/mingw/stdio/ucrt__snwprintf.c-18| ... | @@ -4,25 +4,12 @@ | ... | @@ -4,25 +4,12 @@ |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | // For ucrt, this function normally is an inline function in stdio.h. | ||
| 8 | // libmingwex doesn't use the ucrt version of headers, and wassert.c can | ||
| 9 | // end up requiring a concrete version of it. | ||
| 10 | |||
| 11 | #ifdef __GNUC__ | ||
| 12 | #pragma GCC diagnostic push | ||
| 13 | #pragma GCC diagnostic ignored "-Winline" | ||
| 14 | #endif | ||
| 15 | |||
| 16 | #undef __MSVCRT_VERSION__ | 7 | #undef __MSVCRT_VERSION__ |
| 17 | #define _UCRT | 8 | #define _UCRT |
| 18 | 9 | ||
| 19 | #define _snwprintf real__snwprintf | ||
| 20 | |||
| 21 | #include <stdarg.h> | 10 | #include <stdarg.h> |
| 22 | #include <stdio.h> | 11 | #include <stdio.h> |
| 23 | 12 | ||
| 24 | #undef _snwprintf | ||
| 25 | |||
| 26 | int __cdecl _snwprintf(wchar_t * restrict _Dest, size_t _Count, const wchar_t * restrict _Format, ...); | 13 | int __cdecl _snwprintf(wchar_t * restrict _Dest, size_t _Count, const wchar_t * restrict _Format, ...); |
| 27 | 14 | ||
| 28 | int __cdecl _snwprintf(wchar_t * restrict _Dest, size_t _Count, const wchar_t * restrict _Format, ...) | 15 | int __cdecl _snwprintf(wchar_t * restrict _Dest, size_t _Count, const wchar_t * restrict _Format, ...) |
| ... | @@ -34,8 +21,3 @@ int __cdecl _snwprintf(wchar_t * restrict _Dest, size_t _Count, const wchar_t * | ... | @@ -34,8 +21,3 @@ int __cdecl _snwprintf(wchar_t * restrict _Dest, size_t _Count, const wchar_t * |
| 34 | va_end(ap); | 21 | va_end(ap); |
| 35 | return ret; | 22 | return ret; |
| 36 | } | 23 | } |
| 37 | |||
| 38 | int __cdecl (*__MINGW_IMP_SYMBOL(_snwprintf))(wchar_t *restrict, size_t, const wchar_t *restrict, ...) = _snwprintf; | ||
| 39 | #ifdef __GNUC__ | ||
| 40 | #pragma GCC diagnostic pop | ||
| 41 | #endif |
lib/libc/mingw/stdio/ucrt__vsnprintf.c-1| ... | @@ -12,4 +12,3 @@ int __cdecl _vsnprintf(char * __restrict__ _Dest,size_t _Count,const char * __re | ... | @@ -12,4 +12,3 @@ int __cdecl _vsnprintf(char * __restrict__ _Dest,size_t _Count,const char * __re |
| 12 | { | 12 | { |
| 13 | return __stdio_common_vsprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION, _Dest, _Count, _Format, NULL, _Args); | 13 | return __stdio_common_vsprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION, _Dest, _Count, _Format, NULL, _Args); |
| 14 | } | 14 | } |
| 15 | int __cdecl (*__MINGW_IMP_SYMBOL(_vsnprintf))(char *__restrict__, size_t, const char *__restrict__, va_list) = _vsnprintf; |
lib/libc/mingw/stdio/ucrt__vsnwprintf.c-1| ... | @@ -12,4 +12,3 @@ int __cdecl _vsnwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t | ... | @@ -12,4 +12,3 @@ int __cdecl _vsnwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t |
| 12 | { | 12 | { |
| 13 | return __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION, _Dest, _Count, _Format, NULL, _Args); | 13 | return __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION, _Dest, _Count, _Format, NULL, _Args); |
| 14 | } | 14 | } |
| 15 | int __cdecl (*__MINGW_IMP_SYMBOL(_vsnwprintf))(wchar_t *__restrict__, size_t, const wchar_t *__restrict__, va_list) = _vsnwprintf; |
lib/libc/mingw/stdio/ucrt_fprintf.c-1| ... | @@ -17,4 +17,3 @@ int __cdecl fprintf(FILE * __restrict__ _File,const char * __restrict__ _Format, | ... | @@ -17,4 +17,3 @@ int __cdecl fprintf(FILE * __restrict__ _File,const char * __restrict__ _Format, |
| 17 | __builtin_va_end(ap); | 17 | __builtin_va_end(ap); |
| 18 | return ret; | 18 | return ret; |
| 19 | } | 19 | } |
| 20 | int __cdecl (*__MINGW_IMP_SYMBOL(fprintf))(FILE *__restrict__, const char *__restrict__, ...) = fprintf; |
lib/libc/mingw/stdio/ucrt_fscanf.c+1-2| ... | @@ -12,8 +12,7 @@ int __cdecl fscanf(FILE * __restrict__ _File,const char * __restrict__ _Format,. | ... | @@ -12,8 +12,7 @@ int __cdecl fscanf(FILE * __restrict__ _File,const char * __restrict__ _Format,. |
| 12 | __builtin_va_list __ap; | 12 | __builtin_va_list __ap; |
| 13 | int __ret; | 13 | int __ret; |
| 14 | __builtin_va_start(__ap, _Format); | 14 | __builtin_va_start(__ap, _Format); |
| 15 | __ret = __stdio_common_vfscanf(0, _File, _Format, NULL, __ap); | 15 | __ret = __stdio_common_vfscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, _File, _Format, NULL, __ap); |
| 16 | __builtin_va_end(__ap); | 16 | __builtin_va_end(__ap); |
| 17 | return __ret; | 17 | return __ret; |
| 18 | } | 18 | } |
| 19 | int __cdecl (*__MINGW_IMP_SYMBOL(fscanf))(FILE *__restrict__, const char *__restrict__, ...) = fscanf; |
lib/libc/mingw/stdio/ucrt_fwprintf.c+1-19| ... | @@ -4,25 +4,12 @@ | ... | @@ -4,25 +4,12 @@ |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | // For ucrt, this function normally is an inline function in stdio.h. | ||
| 8 | // libmingwex doesn't use the ucrt version of headers, and wassert.c can | ||
| 9 | // end up requiring a concrete version of it. | ||
| 10 | |||
| 11 | #ifdef __GNUC__ | ||
| 12 | #pragma GCC diagnostic push | ||
| 13 | #pragma GCC diagnostic ignored "-Winline" | ||
| 14 | #endif | ||
| 15 | |||
| 16 | #undef __MSVCRT_VERSION__ | 7 | #undef __MSVCRT_VERSION__ |
| 17 | #define _UCRT | 8 | #define _UCRT |
| 18 | 9 | ||
| 19 | #define fwprintf real_fwprintf | ||
| 20 | |||
| 21 | #include <stdarg.h> | 10 | #include <stdarg.h> |
| 22 | #include <stdio.h> | 11 | #include <stdio.h> |
| 23 | 12 | ||
| 24 | #undef fwprintf | ||
| 25 | |||
| 26 | int __cdecl fwprintf(FILE *ptr, const wchar_t *fmt, ...); | 13 | int __cdecl fwprintf(FILE *ptr, const wchar_t *fmt, ...); |
| 27 | 14 | ||
| 28 | int __cdecl fwprintf(FILE *ptr, const wchar_t *fmt, ...) | 15 | int __cdecl fwprintf(FILE *ptr, const wchar_t *fmt, ...) |
| ... | @@ -30,12 +17,7 @@ int __cdecl fwprintf(FILE *ptr, const wchar_t *fmt, ...) | ... | @@ -30,12 +17,7 @@ int __cdecl fwprintf(FILE *ptr, const wchar_t *fmt, ...) |
| 30 | va_list ap; | 17 | va_list ap; |
| 31 | int ret; | 18 | int ret; |
| 32 | va_start(ap, fmt); | 19 | va_start(ap, fmt); |
| 33 | ret = vfwprintf(ptr, fmt, ap); | 20 | ret = __stdio_common_vfwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, ptr, fmt, NULL, ap); |
| 34 | va_end(ap); | 21 | va_end(ap); |
| 35 | return ret; | 22 | return ret; |
| 36 | } | 23 | } |
| 37 | |||
| 38 | int __cdecl (*__MINGW_IMP_SYMBOL(fwprintf))(FILE *, const wchar_t *, ...) = fwprintf; | ||
| 39 | #ifdef __GNUC__ | ||
| 40 | #pragma GCC diagnostic pop | ||
| 41 | #endif |
lib/libc/mingw/stdio/ucrt_fwscanf.c created+18| ... | @@ -0,0 +1,18 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #undef __MSVCRT_VERSION__ | ||
| 8 | #define _UCRT | ||
| 9 | #include <stdio.h> | ||
| 10 | |||
| 11 | int __cdecl fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...) { | ||
| 12 | __builtin_va_list __ap; | ||
| 13 | int __ret; | ||
| 14 | __builtin_va_start(__ap, _Format); | ||
| 15 | __ret = __stdio_common_vfwscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, _File, _Format, NULL, __ap); | ||
| 16 | __builtin_va_end(__ap); | ||
| 17 | return __ret; | ||
| 18 | } | ||
lib/libc/mingw/stdio/ucrt_ms_fprintf.c deleted-22| ... | @@ -1,22 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #undef __MSVCRT_VERSION__ | ||
| 8 | #define _UCRT | ||
| 9 | |||
| 10 | #include <stdio.h> | ||
| 11 | #include <stdarg.h> | ||
| 12 | |||
| 13 | int __cdecl __ms_fprintf(FILE * restrict file, const char * restrict format, ...) | ||
| 14 | { | ||
| 15 | va_list ap; | ||
| 16 | int ret; | ||
| 17 | va_start(ap, format); | ||
| 18 | ret = __stdio_common_vfprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, file, format, NULL, ap); | ||
| 19 | va_end(ap); | ||
| 20 | return ret; | ||
| 21 | } | ||
| 22 | int __cdecl (*__MINGW_IMP_SYMBOL(__ms_fprintf))(FILE * restrict, const char * restrict, ...) = __ms_fprintf; | ||
lib/libc/mingw/stdio/ucrt_ms_fwprintf.c+1-2| ... | @@ -17,8 +17,7 @@ int __cdecl __ms_fwprintf(FILE *file, const wchar_t *fmt, ...) | ... | @@ -17,8 +17,7 @@ int __cdecl __ms_fwprintf(FILE *file, const wchar_t *fmt, ...) |
| 17 | va_list ap; | 17 | va_list ap; |
| 18 | int ret; | 18 | int ret; |
| 19 | va_start(ap, fmt); | 19 | va_start(ap, fmt); |
| 20 | ret = __stdio_common_vfwprintf(_CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS, file, fmt, NULL, ap); | 20 | ret = __stdio_common_vfwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, file, fmt, NULL, ap); |
| 21 | va_end(ap); | 21 | va_end(ap); |
| 22 | return ret; | 22 | return ret; |
| 23 | } | 23 | } |
| 24 | int __cdecl (*__MINGW_IMP_SYMBOL(__ms_fwprintf))(FILE *, const wchar_t *, ...) = __ms_fwprintf; |
lib/libc/mingw/stdio/ucrt_printf.c-1| ... | @@ -17,4 +17,3 @@ int __cdecl printf(const char * __restrict__ _Format,...) | ... | @@ -17,4 +17,3 @@ int __cdecl printf(const char * __restrict__ _Format,...) |
| 17 | __builtin_va_end(ap); | 17 | __builtin_va_end(ap); |
| 18 | return ret; | 18 | return ret; |
| 19 | } | 19 | } |
| 20 | int __cdecl (*__MINGW_IMP_SYMBOL(printf))(const char *__restrict__, ...) = printf; |
lib/libc/mingw/stdio/ucrt_scanf.c+1-2| ... | @@ -12,8 +12,7 @@ int __cdecl scanf(const char * __restrict__ _Format,...) { | ... | @@ -12,8 +12,7 @@ int __cdecl scanf(const char * __restrict__ _Format,...) { |
| 12 | __builtin_va_list __ap; | 12 | __builtin_va_list __ap; |
| 13 | int __ret; | 13 | int __ret; |
| 14 | __builtin_va_start(__ap, _Format); | 14 | __builtin_va_start(__ap, _Format); |
| 15 | __ret = __stdio_common_vfscanf(0, stdin, _Format, NULL, __ap); | 15 | __ret = __stdio_common_vfscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, stdin, _Format, NULL, __ap); |
| 16 | __builtin_va_end(__ap); | 16 | __builtin_va_end(__ap); |
| 17 | return __ret; | 17 | return __ret; |
| 18 | } | 18 | } |
| 19 | int __cdecl (*__MINGW_IMP_SYMBOL(scanf))(const char *__restrict__, ...) = scanf; |
lib/libc/mingw/stdio/ucrt_snprintf.c-1| ... | @@ -17,4 +17,3 @@ int __cdecl snprintf (char * __restrict__ __stream, size_t __n, const char * __r | ... | @@ -17,4 +17,3 @@ int __cdecl snprintf (char * __restrict__ __stream, size_t __n, const char * __r |
| 17 | __builtin_va_end(ap); | 17 | __builtin_va_end(ap); |
| 18 | return ret; | 18 | return ret; |
| 19 | } | 19 | } |
| 20 | int __cdecl (*__MINGW_IMP_SYMBOL(snprintf))(char *__restrict__, size_t, const char *__restrict__, ...) = snprintf; |
lib/libc/mingw/stdio/ucrt_snwprintf.c created+19| ... | @@ -0,0 +1,19 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #undef __MSVCRT_VERSION__ | ||
| 8 | #define _UCRT | ||
| 9 | #include <stdio.h> | ||
| 10 | |||
| 11 | int __cdecl snwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, ...) | ||
| 12 | { | ||
| 13 | __builtin_va_list __ap; | ||
| 14 | int __ret; | ||
| 15 | __builtin_va_start(__ap, format); | ||
| 16 | __ret = __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR, s, n, format, NULL, __ap); | ||
| 17 | __builtin_va_end(__ap); | ||
| 18 | return __ret; | ||
| 19 | } | ||
lib/libc/mingw/stdio/ucrt_sprintf.c-1| ... | @@ -17,4 +17,3 @@ int __cdecl sprintf(char * __restrict__ _Dest,const char * __restrict__ _Format, | ... | @@ -17,4 +17,3 @@ int __cdecl sprintf(char * __restrict__ _Dest,const char * __restrict__ _Format, |
| 17 | __builtin_va_end(ap); | 17 | __builtin_va_end(ap); |
| 18 | return ret; | 18 | return ret; |
| 19 | } | 19 | } |
| 20 | int __cdecl (*__MINGW_IMP_SYMBOL(sprintf))(char *__restrict__, const char *__restrict__, ...) = sprintf; |
lib/libc/mingw/stdio/ucrt_sscanf.c+1-3| ... | @@ -12,9 +12,7 @@ int __cdecl sscanf(const char * __restrict__ _Src,const char * __restrict__ _For | ... | @@ -12,9 +12,7 @@ int __cdecl sscanf(const char * __restrict__ _Src,const char * __restrict__ _For |
| 12 | __builtin_va_list __ap; | 12 | __builtin_va_list __ap; |
| 13 | int __ret; | 13 | int __ret; |
| 14 | __builtin_va_start(__ap, _Format); | 14 | __builtin_va_start(__ap, _Format); |
| 15 | __ret = __stdio_common_vsscanf(0, _Src, (size_t)-1, _Format, NULL, __ap); | 15 | __ret = __stdio_common_vsscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, _Src, (size_t)-1, _Format, NULL, __ap); |
| 16 | __builtin_va_end(__ap); | 16 | __builtin_va_end(__ap); |
| 17 | return __ret; | 17 | return __ret; |
| 18 | } | 18 | } |
| 19 | |||
| 20 | int __cdecl (*__MINGW_IMP_SYMBOL(sscanf))(const char *__restrict__, const char *__restrict__, ...) = sscanf; |
lib/libc/mingw/stdio/ucrt_swprintf.c created+29| ... | @@ -0,0 +1,29 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #undef __MSVCRT_VERSION__ | ||
| 8 | #define _UCRT | ||
| 9 | #include <stdio.h> | ||
| 10 | |||
| 11 | int __cdecl swprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,...) | ||
| 12 | { | ||
| 13 | __builtin_va_list __ap; | ||
| 14 | int __ret; | ||
| 15 | /* | ||
| 16 | * __stdio_common_vswprintf() for case _Dest == NULL and _Count == 0 and | ||
| 17 | * without _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR option, is | ||
| 18 | * executed in "standard snprintf behavior" and returns number of (wide) | ||
| 19 | * chars required to allocate. For all other cases it is executed in a way | ||
| 20 | * that returns negative value on error. But C95+ compliant swprintf() for | ||
| 21 | * case _Count == 0 returns negative value, so handle this case specially. | ||
| 22 | */ | ||
| 23 | if (_Dest == NULL && _Count == 0) | ||
| 24 | return -1; | ||
| 25 | __builtin_va_start(__ap, _Format); | ||
| 26 | __ret = __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Dest, _Count, _Format, NULL, __ap); | ||
| 27 | __builtin_va_end(__ap); | ||
| 28 | return __ret < 0 ? -1 : __ret; | ||
| 29 | } | ||
lib/libc/mingw/stdio/ucrt_swscanf.c created+18| ... | @@ -0,0 +1,18 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #undef __MSVCRT_VERSION__ | ||
| 8 | #define _UCRT | ||
| 9 | #include <stdio.h> | ||
| 10 | |||
| 11 | int __cdecl swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...) { | ||
| 12 | __builtin_va_list __ap; | ||
| 13 | int __ret; | ||
| 14 | __builtin_va_start(__ap, _Format); | ||
| 15 | __ret = __stdio_common_vswscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, _Src, (size_t)-1, _Format, NULL, __ap); | ||
| 16 | __builtin_va_end(__ap); | ||
| 17 | return __ret; | ||
| 18 | } | ||
lib/libc/mingw/stdio/ucrt_vfprintf.c-1| ... | @@ -12,4 +12,3 @@ int __cdecl vfprintf(FILE * __restrict__ _File,const char * __restrict__ _Format | ... | @@ -12,4 +12,3 @@ int __cdecl vfprintf(FILE * __restrict__ _File,const char * __restrict__ _Format |
| 12 | { | 12 | { |
| 13 | return __stdio_common_vfprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _File, _Format, NULL, _ArgList); | 13 | return __stdio_common_vfprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _File, _Format, NULL, _ArgList); |
| 14 | } | 14 | } |
| 15 | int __cdecl (*__MINGW_IMP_SYMBOL(vfprintf))(FILE *__restrict__, const char *__restrict__, va_list) = vfprintf; |
lib/libc/mingw/stdio/ucrt_vfscanf.c+1-2| ... | @@ -9,6 +9,5 @@ | ... | @@ -9,6 +9,5 @@ |
| 9 | #include <stdio.h> | 9 | #include <stdio.h> |
| 10 | 10 | ||
| 11 | int __cdecl vfscanf (FILE *__stream, const char *__format, __builtin_va_list __local_argv) { | 11 | int __cdecl vfscanf (FILE *__stream, const char *__format, __builtin_va_list __local_argv) { |
| 12 | return __stdio_common_vfscanf(0, __stream, __format, NULL, __local_argv); | 12 | return __stdio_common_vfscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, __stream, __format, NULL, __local_argv); |
| 13 | } | 13 | } |
| 14 | int __cdecl (*__MINGW_IMP_SYMBOL(vfscanf))(FILE *, const char *, __builtin_va_list) = vfscanf; |
lib/libc/mingw/stdio/ucrt_vfwprintf.c created+14| ... | @@ -0,0 +1,14 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #undef __MSVCRT_VERSION__ | ||
| 8 | #define _UCRT | ||
| 9 | #include <stdio.h> | ||
| 10 | |||
| 11 | int __cdecl vfwprintf(FILE * __restrict__ _File, const wchar_t * __restrict__ _Format, va_list _ArgList) | ||
| 12 | { | ||
| 13 | return __stdio_common_vfwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _File, _Format, NULL, _ArgList); | ||
| 14 | } | ||
lib/libc/mingw/stdio/ucrt_vfwscanf.c created+13| ... | @@ -0,0 +1,13 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #undef __MSVCRT_VERSION__ | ||
| 8 | #define _UCRT | ||
| 9 | #include <stdio.h> | ||
| 10 | |||
| 11 | int __cdecl vfwscanf (FILE *__stream, const wchar_t *__format, __builtin_va_list __local_argv) { | ||
| 12 | return __stdio_common_vfwscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, __stream, __format, NULL, __local_argv); | ||
| 13 | } | ||
lib/libc/mingw/stdio/ucrt_vprintf.c-1| ... | @@ -12,4 +12,3 @@ int __cdecl vprintf(const char * __restrict__ _Format,va_list _ArgList) | ... | @@ -12,4 +12,3 @@ int __cdecl vprintf(const char * __restrict__ _Format,va_list _ArgList) |
| 12 | { | 12 | { |
| 13 | return __stdio_common_vfprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, stdout, _Format, NULL, _ArgList); | 13 | return __stdio_common_vfprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, stdout, _Format, NULL, _ArgList); |
| 14 | } | 14 | } |
| 15 | int __cdecl (*__MINGW_IMP_SYMBOL(vprintf))(const char *__restrict__, va_list) = vprintf; |
lib/libc/mingw/stdio/ucrt_vscanf.c+1-2| ... | @@ -9,6 +9,5 @@ | ... | @@ -9,6 +9,5 @@ |
| 9 | #include <stdio.h> | 9 | #include <stdio.h> |
| 10 | 10 | ||
| 11 | int __cdecl vscanf(const char *__format, __builtin_va_list __local_argv) { | 11 | int __cdecl vscanf(const char *__format, __builtin_va_list __local_argv) { |
| 12 | return __stdio_common_vfscanf(0, stdin, __format, NULL, __local_argv); | 12 | return __stdio_common_vfscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, stdin, __format, NULL, __local_argv); |
| 13 | } | 13 | } |
| 14 | int __cdecl (*__MINGW_IMP_SYMBOL(vscanf))(const char *, __builtin_va_list) = vscanf; |
lib/libc/mingw/stdio/ucrt_vsnprintf.c-1| ... | @@ -12,4 +12,3 @@ int __cdecl vsnprintf (char * __restrict__ __stream, size_t __n, const char * __ | ... | @@ -12,4 +12,3 @@ int __cdecl vsnprintf (char * __restrict__ __stream, size_t __n, const char * __ |
| 12 | { | 12 | { |
| 13 | return __stdio_common_vsprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR, __stream, __n, __format, NULL, __local_argv); | 13 | return __stdio_common_vsprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR, __stream, __n, __format, NULL, __local_argv); |
| 14 | } | 14 | } |
| 15 | int __cdecl (*__MINGW_IMP_SYMBOL(vsnprintf))(char *__restrict__, size_t, const char *__restrict__, va_list) = vsnprintf; |
lib/libc/mingw/stdio/ucrt_vsnwprintf.c created+14| ... | @@ -0,0 +1,14 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #undef __MSVCRT_VERSION__ | ||
| 8 | #define _UCRT | ||
| 9 | #include <stdio.h> | ||
| 10 | |||
| 11 | int __cdecl vsnwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, va_list arg) | ||
| 12 | { | ||
| 13 | return __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR, s, n, format, NULL, arg); | ||
| 14 | } | ||
lib/libc/mingw/stdio/ucrt_vsprintf.c-1| ... | @@ -12,4 +12,3 @@ int __cdecl vsprintf(char * __restrict__ _Dest,const char * __restrict__ _Format | ... | @@ -12,4 +12,3 @@ int __cdecl vsprintf(char * __restrict__ _Dest,const char * __restrict__ _Format |
| 12 | { | 12 | { |
| 13 | return __stdio_common_vsprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR, _Dest, (size_t)-1, _Format, NULL, _Args); | 13 | return __stdio_common_vsprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR, _Dest, (size_t)-1, _Format, NULL, _Args); |
| 14 | } | 14 | } |
| 15 | int __cdecl (*__MINGW_IMP_SYMBOL(vsprintf))(char *__restrict__, const char *__restrict__, va_list) = vsprintf; |
lib/libc/mingw/stdio/ucrt_vsscanf.c+1-2| ... | @@ -9,6 +9,5 @@ | ... | @@ -9,6 +9,5 @@ |
| 9 | #include <stdio.h> | 9 | #include <stdio.h> |
| 10 | 10 | ||
| 11 | int __cdecl vsscanf (const char * __restrict__ __source, const char * __restrict__ __format, __builtin_va_list __local_argv) { | 11 | int __cdecl vsscanf (const char * __restrict__ __source, const char * __restrict__ __format, __builtin_va_list __local_argv) { |
| 12 | return __stdio_common_vsscanf(0, __source, (size_t)-1, __format, NULL, __local_argv); | 12 | return __stdio_common_vsscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, __source, (size_t)-1, __format, NULL, __local_argv); |
| 13 | } | 13 | } |
| 14 | int __cdecl (*__MINGW_IMP_SYMBOL(vsscanf))(const char *__restrict, const char *__restrict__, __builtin_va_list) = vsscanf; |
lib/libc/mingw/stdio/ucrt_vswprintf.c created+26| ... | @@ -0,0 +1,26 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #undef __MSVCRT_VERSION__ | ||
| 8 | #define _UCRT | ||
| 9 | #include <stdio.h> | ||
| 10 | |||
| 11 | int __cdecl vswprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args) | ||
| 12 | { | ||
| 13 | int __ret; | ||
| 14 | /* | ||
| 15 | * __stdio_common_vswprintf() for case _Dest == NULL and _Count == 0 and | ||
| 16 | * without _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR option, is | ||
| 17 | * executed in "standard snprintf behavior" and returns number of (wide) | ||
| 18 | * chars required to allocate. For all other cases it is executed in a way | ||
| 19 | * that returns negative value on error. But C95+ compliant vswprintf() for | ||
| 20 | * case _Count == 0 returns negative value, so handle this case specially. | ||
| 21 | */ | ||
| 22 | if (_Dest == NULL && _Count == 0) | ||
| 23 | return -1; | ||
| 24 | __ret = __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Dest, _Count, _Format, NULL, _Args); | ||
| 25 | return __ret < 0 ? -1 : __ret; | ||
| 26 | } | ||
lib/libc/mingw/stdio/ucrt_vwprintf.c created+14| ... | @@ -0,0 +1,14 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #undef __MSVCRT_VERSION__ | ||
| 8 | #define _UCRT | ||
| 9 | #include <stdio.h> | ||
| 10 | |||
| 11 | int __cdecl vwprintf(const wchar_t * __restrict__ _Format, va_list _ArgList) | ||
| 12 | { | ||
| 13 | return __stdio_common_vfwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, stdout, _Format, NULL, _ArgList); | ||
| 14 | } | ||
lib/libc/mingw/stdio/ucrt_vwscanf.c created+13| ... | @@ -0,0 +1,13 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #undef __MSVCRT_VERSION__ | ||
| 8 | #define _UCRT | ||
| 9 | #include <stdio.h> | ||
| 10 | |||
| 11 | int __cdecl vwscanf(const wchar_t *__format, __builtin_va_list __local_argv) { | ||
| 12 | return __stdio_common_vfwscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, stdin, __format, NULL, __local_argv); | ||
| 13 | } | ||
lib/libc/mingw/stdio/ucrt_wprintf.c created+23| ... | @@ -0,0 +1,23 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #undef __MSVCRT_VERSION__ | ||
| 8 | #define _UCRT | ||
| 9 | |||
| 10 | #include <stdarg.h> | ||
| 11 | #include <stdio.h> | ||
| 12 | |||
| 13 | int __cdecl wprintf(const wchar_t *fmt, ...); | ||
| 14 | |||
| 15 | int __cdecl wprintf(const wchar_t *fmt, ...) | ||
| 16 | { | ||
| 17 | va_list ap; | ||
| 18 | int ret; | ||
| 19 | va_start(ap, fmt); | ||
| 20 | ret = __stdio_common_vfwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, stdout, fmt, NULL, ap); | ||
| 21 | va_end(ap); | ||
| 22 | return ret; | ||
| 23 | } | ||
lib/libc/mingw/stdio/ucrt_wscanf.c created+18| ... | @@ -0,0 +1,18 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #undef __MSVCRT_VERSION__ | ||
| 8 | #define _UCRT | ||
| 9 | #include <stdio.h> | ||
| 10 | |||
| 11 | int __cdecl wscanf(const wchar_t * __restrict__ _Format,...) { | ||
| 12 | __builtin_va_list __ap; | ||
| 13 | int __ret; | ||
| 14 | __builtin_va_start(__ap, _Format); | ||
| 15 | __ret = __stdio_common_vfwscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, stdin, _Format, NULL, __ap); | ||
| 16 | __builtin_va_end(__ap); | ||
| 17 | return __ret; | ||
| 18 | } | ||
lib/libc/mingw/winpthreads/barrier.c+17-9| ... | @@ -20,12 +20,22 @@ | ... | @@ -20,12 +20,22 @@ |
| 20 | DEALINGS IN THE SOFTWARE. | 20 | DEALINGS IN THE SOFTWARE. |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #include <windows.h> | 23 | #ifdef HAVE_CONFIG_H |
| 24 | #include <stdio.h> | 24 | #include "config.h" |
| 25 | #endif | ||
| 26 | |||
| 27 | #include <assert.h> | ||
| 25 | #include <malloc.h> | 28 | #include <malloc.h> |
| 29 | #include <stdio.h> | ||
| 30 | |||
| 31 | #define WIN32_LEAN_AND_MEAN | ||
| 32 | #include <windows.h> | ||
| 33 | |||
| 34 | /* public header files */ | ||
| 26 | #include "pthread.h" | 35 | #include "pthread.h" |
| 36 | #include "semaphore.h" | ||
| 37 | /* internal header files */ | ||
| 27 | #include "barrier.h" | 38 | #include "barrier.h" |
| 28 | #include "ref.h" | ||
| 29 | #include "misc.h" | 39 | #include "misc.h" |
| 30 | 40 | ||
| 31 | static pthread_spinlock_t barrier_global = PTHREAD_SPINLOCK_INITIALIZER; | 41 | static pthread_spinlock_t barrier_global = PTHREAD_SPINLOCK_INITIALIZER; |
| ... | @@ -34,9 +44,7 @@ static WINPTHREADS_ATTRIBUTE((noinline)) int | ... | @@ -34,9 +44,7 @@ static WINPTHREADS_ATTRIBUTE((noinline)) int |
| 34 | barrier_unref(volatile pthread_barrier_t *barrier, int res) | 44 | barrier_unref(volatile pthread_barrier_t *barrier, int res) |
| 35 | { | 45 | { |
| 36 | pthread_spin_lock(&barrier_global); | 46 | pthread_spin_lock(&barrier_global); |
| 37 | #ifdef WINPTHREAD_DBG | ||
| 38 | assert((((barrier_t *)*barrier)->valid == LIFE_BARRIER) && (((barrier_t *)*barrier)->busy > 0)); | 47 | assert((((barrier_t *)*barrier)->valid == LIFE_BARRIER) && (((barrier_t *)*barrier)->busy > 0)); |
| 39 | #endif | ||
| 40 | ((barrier_t *)*barrier)->busy -= 1; | 48 | ((barrier_t *)*barrier)->busy -= 1; |
| 41 | pthread_spin_unlock(&barrier_global); | 49 | pthread_spin_unlock(&barrier_global); |
| 42 | return res; | 50 | return res; |
| ... | @@ -64,7 +72,7 @@ barrier_ref_destroy(volatile pthread_barrier_t *barrier, pthread_barrier_t *bDes | ... | @@ -64,7 +72,7 @@ barrier_ref_destroy(volatile pthread_barrier_t *barrier, pthread_barrier_t *bDes |
| 64 | 72 | ||
| 65 | *bDestroy = NULL; | 73 | *bDestroy = NULL; |
| 66 | pthread_spin_lock(&barrier_global); | 74 | pthread_spin_lock(&barrier_global); |
| 67 | 75 | ||
| 68 | if (!barrier || !*barrier || ((barrier_t *)*barrier)->valid != LIFE_BARRIER) r = EINVAL; | 76 | if (!barrier || !*barrier || ((barrier_t *)*barrier)->valid != LIFE_BARRIER) r = EINVAL; |
| 69 | else { | 77 | else { |
| 70 | barrier_t *b_ = (barrier_t *)*barrier; | 78 | barrier_t *b_ = (barrier_t *)*barrier; |
| ... | @@ -92,15 +100,15 @@ int pthread_barrier_destroy(pthread_barrier_t *b_) | ... | @@ -92,15 +100,15 @@ int pthread_barrier_destroy(pthread_barrier_t *b_) |
| 92 | pthread_barrier_t bDestroy; | 100 | pthread_barrier_t bDestroy; |
| 93 | barrier_t *b; | 101 | barrier_t *b; |
| 94 | int r; | 102 | int r; |
| 95 | 103 | ||
| 96 | while ((r = barrier_ref_destroy(b_,&bDestroy)) == EBUSY) | 104 | while ((r = barrier_ref_destroy(b_,&bDestroy)) == EBUSY) |
| 97 | Sleep(0); | 105 | Sleep(0); |
| 98 | 106 | ||
| 99 | if (r) | 107 | if (r) |
| 100 | return r; | 108 | return r; |
| 101 | 109 | ||
| 102 | b = (barrier_t *)bDestroy; | 110 | b = (barrier_t *)bDestroy; |
| 103 | 111 | ||
| 104 | pthread_mutex_lock(&b->m); | 112 | pthread_mutex_lock(&b->m); |
| 105 | 113 | ||
| 106 | if (sem_destroy(&b->sems[0]) != 0) | 114 | if (sem_destroy(&b->sems[0]) != 0) |
lib/libc/mingw/winpthreads/barrier.h-2| ... | @@ -34,8 +34,6 @@ | ... | @@ -34,8 +34,6 @@ |
| 34 | return EINVAL; \ | 34 | return EINVAL; \ |
| 35 | } while (0) | 35 | } while (0) |
| 36 | 36 | ||
| 37 | #include "semaphore.h" | ||
| 38 | |||
| 39 | typedef struct barrier_t barrier_t; | 37 | typedef struct barrier_t barrier_t; |
| 40 | struct barrier_t | 38 | struct barrier_t |
| 41 | { | 39 | { |
lib/libc/mingw/winpthreads/clock.c+112-15| ... | @@ -4,15 +4,23 @@ | ... | @@ -4,15 +4,23 @@ |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #ifdef HAVE_CONFIG_H | ||
| 8 | #include "config.h" | ||
| 9 | #endif | ||
| 10 | |||
| 11 | #include <assert.h> | ||
| 7 | #include <errno.h> | 12 | #include <errno.h> |
| 8 | #include <stdint.h> | 13 | #include <stdint.h> |
| 9 | #include <time.h> | 14 | #include <time.h> |
| 15 | |||
| 16 | #define WIN32_LEAN_AND_MEAN | ||
| 10 | #include <windows.h> | 17 | #include <windows.h> |
| 11 | #ifndef IN_WINPTHREAD | 18 | |
| 12 | #define IN_WINPTHREAD 1 | 19 | #define WINPTHREAD_CLOCK_DECL WINPTHREAD_API |
| 13 | #endif | 20 | |
| 14 | #include "pthread.h" | 21 | /* public header files */ |
| 15 | #include "pthread_time.h" | 22 | #include "pthread_time.h" |
| 23 | /* internal header files */ | ||
| 16 | #include "misc.h" | 24 | #include "misc.h" |
| 17 | 25 | ||
| 18 | #define POW10_7 10000000 | 26 | #define POW10_7 10000000 |
| ... | @@ -51,7 +59,7 @@ static WINPTHREADS_INLINE int lc_set_errno(int result) | ... | @@ -51,7 +59,7 @@ static WINPTHREADS_INLINE int lc_set_errno(int result) |
| 51 | * If the function fails, the return value is -1, | 59 | * If the function fails, the return value is -1, |
| 52 | * with errno set to indicate the error. | 60 | * with errno set to indicate the error. |
| 53 | */ | 61 | */ |
| 54 | int clock_getres(clockid_t clock_id, struct timespec *res) | 62 | static int __clock_getres(clockid_t clock_id, struct _timespec64 *res) |
| 55 | { | 63 | { |
| 56 | clockid_t id = clock_id; | 64 | clockid_t id = clock_id; |
| 57 | 65 | ||
| ... | @@ -113,7 +121,7 @@ int clock_getres(clockid_t clock_id, struct timespec *res) | ... | @@ -113,7 +121,7 @@ int clock_getres(clockid_t clock_id, struct timespec *res) |
| 113 | * If the function fails, the return value is -1, | 121 | * If the function fails, the return value is -1, |
| 114 | * with errno set to indicate the error. | 122 | * with errno set to indicate the error. |
| 115 | */ | 123 | */ |
| 116 | int clock_gettime(clockid_t clock_id, struct timespec *tp) | 124 | static int __clock_gettime(clockid_t clock_id, struct _timespec64 *tp) |
| 117 | { | 125 | { |
| 118 | unsigned __int64 t; | 126 | unsigned __int64 t; |
| 119 | LARGE_INTEGER pf, pc; | 127 | LARGE_INTEGER pf, pc; |
| ... | @@ -172,7 +180,7 @@ int clock_gettime(clockid_t clock_id, struct timespec *tp) | ... | @@ -172,7 +180,7 @@ int clock_gettime(clockid_t clock_id, struct timespec *tp) |
| 172 | return 0; | 180 | return 0; |
| 173 | } | 181 | } |
| 174 | 182 | ||
| 175 | case CLOCK_THREAD_CPUTIME_ID: | 183 | case CLOCK_THREAD_CPUTIME_ID: |
| 176 | { | 184 | { |
| 177 | if(0 == GetThreadTimes(GetCurrentThread(), &ct.ft, &et.ft, &kt.ft, &ut.ft)) | 185 | if(0 == GetThreadTimes(GetCurrentThread(), &ct.ft, &et.ft, &kt.ft, &ut.ft)) |
| 178 | return lc_set_errno(EINVAL); | 186 | return lc_set_errno(EINVAL); |
| ... | @@ -201,20 +209,20 @@ int clock_gettime(clockid_t clock_id, struct timespec *tp) | ... | @@ -201,20 +209,20 @@ int clock_gettime(clockid_t clock_id, struct timespec *tp) |
| 201 | * If the function fails, the return value is -1, | 209 | * If the function fails, the return value is -1, |
| 202 | * with errno set to indicate the error. | 210 | * with errno set to indicate the error. |
| 203 | */ | 211 | */ |
| 204 | int clock_nanosleep(clockid_t clock_id, int flags, | 212 | static int __clock_nanosleep(clockid_t clock_id, int flags, |
| 205 | const struct timespec *request, | 213 | const struct _timespec64 *request, |
| 206 | struct timespec *remain) | 214 | struct _timespec64 *remain) |
| 207 | { | 215 | { |
| 208 | struct timespec tp; | 216 | struct _timespec64 tp; |
| 209 | 217 | ||
| 210 | if (clock_id != CLOCK_REALTIME) | 218 | if (clock_id != CLOCK_REALTIME) |
| 211 | return lc_set_errno(EINVAL); | 219 | return lc_set_errno(EINVAL); |
| 212 | 220 | ||
| 213 | if (flags == 0) | 221 | if (flags == 0) |
| 214 | return nanosleep(request, remain); | 222 | return nanosleep64(request, remain); |
| 215 | 223 | ||
| 216 | /* TIMER_ABSTIME = 1 */ | 224 | /* TIMER_ABSTIME = 1 */ |
| 217 | clock_gettime(CLOCK_REALTIME, &tp); | 225 | __clock_gettime(CLOCK_REALTIME, &tp); |
| 218 | 226 | ||
| 219 | tp.tv_sec = request->tv_sec - tp.tv_sec; | 227 | tp.tv_sec = request->tv_sec - tp.tv_sec; |
| 220 | tp.tv_nsec = request->tv_nsec - tp.tv_nsec; | 228 | tp.tv_nsec = request->tv_nsec - tp.tv_nsec; |
| ... | @@ -223,7 +231,7 @@ int clock_nanosleep(clockid_t clock_id, int flags, | ... | @@ -223,7 +231,7 @@ int clock_nanosleep(clockid_t clock_id, int flags, |
| 223 | tp.tv_sec --; | 231 | tp.tv_sec --; |
| 224 | } | 232 | } |
| 225 | 233 | ||
| 226 | return nanosleep(&tp, remain); | 234 | return nanosleep64(&tp, remain); |
| 227 | } | 235 | } |
| 228 | 236 | ||
| 229 | /** | 237 | /** |
| ... | @@ -234,7 +242,7 @@ int clock_nanosleep(clockid_t clock_id, int flags, | ... | @@ -234,7 +242,7 @@ int clock_nanosleep(clockid_t clock_id, int flags, |
| 234 | * If the function fails, the return value is -1, | 242 | * If the function fails, the return value is -1, |
| 235 | * with errno set to indicate the error. | 243 | * with errno set to indicate the error. |
| 236 | */ | 244 | */ |
| 237 | int clock_settime(clockid_t clock_id, const struct timespec *tp) | 245 | static int __clock_settime(clockid_t clock_id, const struct _timespec64 *tp) |
| 238 | { | 246 | { |
| 239 | SYSTEMTIME st; | 247 | SYSTEMTIME st; |
| 240 | 248 | ||
| ... | @@ -255,3 +263,92 @@ int clock_settime(clockid_t clock_id, const struct timespec *tp) | ... | @@ -255,3 +263,92 @@ int clock_settime(clockid_t clock_id, const struct timespec *tp) |
| 255 | 263 | ||
| 256 | return 0; | 264 | return 0; |
| 257 | } | 265 | } |
| 266 | |||
| 267 | /** | ||
| 268 | * Versions to use with 64-bit time_t (struct _timespec64) | ||
| 269 | */ | ||
| 270 | |||
| 271 | int clock_getres64 (clockid_t clock_id, struct _timespec64 *tp) | ||
| 272 | { | ||
| 273 | return __clock_getres (clock_id, tp); | ||
| 274 | } | ||
| 275 | |||
| 276 | int clock_gettime64 (clockid_t clock_id, struct _timespec64 *tp) | ||
| 277 | { | ||
| 278 | return __clock_gettime (clock_id, tp); | ||
| 279 | } | ||
| 280 | |||
| 281 | int clock_settime64 (clockid_t clock_id, const struct _timespec64 *tp) | ||
| 282 | { | ||
| 283 | return __clock_settime (clock_id, tp); | ||
| 284 | } | ||
| 285 | |||
| 286 | int clock_nanosleep64 (clockid_t clock_id, int flags, | ||
| 287 | const struct _timespec64 *request, struct _timespec64 *remain) | ||
| 288 | { | ||
| 289 | return __clock_nanosleep (clock_id, flags, request, remain); | ||
| 290 | } | ||
| 291 | |||
| 292 | /** | ||
| 293 | * Versions to use with 32-bit time_t (struct _timespec32) | ||
| 294 | */ | ||
| 295 | |||
| 296 | int clock_getres32 (clockid_t clock_id, struct _timespec32 *tp) | ||
| 297 | { | ||
| 298 | struct _timespec64 tp64 = {0}; | ||
| 299 | |||
| 300 | if (__clock_getres (clock_id, &tp64) == -1) | ||
| 301 | return -1; | ||
| 302 | |||
| 303 | tp->tv_sec = (__time32_t) tp64.tv_sec; | ||
| 304 | tp->tv_nsec = tp64.tv_nsec; | ||
| 305 | |||
| 306 | return 0; | ||
| 307 | } | ||
| 308 | |||
| 309 | int clock_gettime32 (clockid_t clock_id, struct _timespec32 *tp) | ||
| 310 | { | ||
| 311 | struct _timespec64 tp64 = {0}; | ||
| 312 | |||
| 313 | if (__clock_gettime (clock_id, &tp64) == -1) | ||
| 314 | return -1; | ||
| 315 | |||
| 316 | if (tp64.tv_sec > INT_MAX) | ||
| 317 | { | ||
| 318 | _set_errno (EOVERFLOW); | ||
| 319 | return -1; | ||
| 320 | } | ||
| 321 | |||
| 322 | tp->tv_sec = (__time32_t) tp64.tv_sec; | ||
| 323 | tp->tv_nsec = tp64.tv_nsec; | ||
| 324 | |||
| 325 | return 0; | ||
| 326 | } | ||
| 327 | |||
| 328 | int clock_settime32 (clockid_t clock_id, const struct _timespec32 *tp) | ||
| 329 | { | ||
| 330 | struct _timespec64 tp64 = {.tv_sec = tp->tv_sec, .tv_nsec = tp->tv_nsec}; | ||
| 331 | return __clock_settime (clock_id, &tp64); | ||
| 332 | } | ||
| 333 | |||
| 334 | int clock_nanosleep32 (clockid_t clock_id, int flags, | ||
| 335 | const struct _timespec32 *request, struct _timespec32 *remain) | ||
| 336 | { | ||
| 337 | struct _timespec64 request64 = { | ||
| 338 | .tv_sec = request->tv_sec, | ||
| 339 | .tv_nsec = request->tv_nsec | ||
| 340 | }; | ||
| 341 | struct _timespec64 remain64 = {0}; | ||
| 342 | |||
| 343 | if (__clock_nanosleep (clock_id, flags, &request64, &remain64) == -1) | ||
| 344 | return -1; | ||
| 345 | |||
| 346 | assert (remain64.tv_sec <= INT_MAX); | ||
| 347 | |||
| 348 | if (remain != NULL) { | ||
| 349 | remain->tv_sec = (__time32_t)remain64.tv_sec; | ||
| 350 | remain->tv_nsec = remain64.tv_nsec; | ||
| 351 | } | ||
| 352 | |||
| 353 | return 0; | ||
| 354 | } |
lib/libc/mingw/winpthreads/cond.c+36-74| ... | @@ -24,17 +24,27 @@ | ... | @@ -24,17 +24,27 @@ |
| 24 | * Posix Condition Variables for Microsoft Windows. | 24 | * Posix Condition Variables for Microsoft Windows. |
| 25 | * 22-9-2010 Partly based on the ACE framework implementation. | 25 | * 22-9-2010 Partly based on the ACE framework implementation. |
| 26 | */ | 26 | */ |
| 27 | #include <windows.h> | 27 | |
| 28 | #include <stdio.h> | 28 | #ifdef HAVE_CONFIG_H |
| 29 | #include "config.h" | ||
| 30 | #endif | ||
| 31 | |||
| 29 | #include <malloc.h> | 32 | #include <malloc.h> |
| 33 | #include <stdio.h> | ||
| 30 | #include <time.h> | 34 | #include <time.h> |
| 35 | |||
| 36 | #define WIN32_LEAN_AND_MEAN | ||
| 37 | #include <windows.h> | ||
| 38 | |||
| 39 | #define WINPTHREAD_COND_DECL WINPTHREAD_API | ||
| 40 | |||
| 41 | /* public header files */ | ||
| 31 | #include "pthread.h" | 42 | #include "pthread.h" |
| 32 | #include "pthread_time.h" | 43 | #include "pthread_time.h" |
| 33 | #include "ref.h" | 44 | /* internal header files */ |
| 34 | #include "cond.h" | 45 | #include "cond.h" |
| 35 | #include "thread.h" | ||
| 36 | #include "misc.h" | 46 | #include "misc.h" |
| 37 | #include "winpthread_internal.h" | 47 | #include "thread.h" |
| 38 | 48 | ||
| 39 | #include "pthread_compat.h" | 49 | #include "pthread_compat.h" |
| 40 | 50 | ||
| ... | @@ -52,41 +62,13 @@ typedef struct sCondWaitHelper { | ... | @@ -52,41 +62,13 @@ typedef struct sCondWaitHelper { |
| 52 | 62 | ||
| 53 | int do_sema_b_wait_intern (HANDLE sema, int nointerrupt, DWORD timeout); | 63 | int do_sema_b_wait_intern (HANDLE sema, int nointerrupt, DWORD timeout); |
| 54 | 64 | ||
| 55 | #ifdef WINPTHREAD_DBG | ||
| 56 | static int print_state = 0; | ||
| 57 | static FILE *fo; | ||
| 58 | void cond_print_set(int state, FILE *f) | ||
| 59 | { | ||
| 60 | if (f) fo = f; | ||
| 61 | if (!fo) fo = stdout; | ||
| 62 | print_state = state; | ||
| 63 | } | ||
| 64 | |||
| 65 | void cond_print(volatile pthread_cond_t *c, char *txt) | ||
| 66 | { | ||
| 67 | if (!print_state) return; | ||
| 68 | cond_t *c_ = (cond_t *)*c; | ||
| 69 | if (c_ == NULL) { | ||
| 70 | fprintf(fo,"C%p %lu %s\n",(void *)*c,GetCurrentThreadId(),txt); | ||
| 71 | } else { | ||
| 72 | fprintf(fo,"C%p %lu V=%0X w=%ld %s\n", | ||
| 73 | (void *)*c, | ||
| 74 | GetCurrentThreadId(), | ||
| 75 | (int)c_->valid, | ||
| 76 | c_->waiters_count_, | ||
| 77 | txt | ||
| 78 | ); | ||
| 79 | } | ||
| 80 | } | ||
| 81 | #endif | ||
| 82 | |||
| 83 | static pthread_spinlock_t cond_locked = PTHREAD_SPINLOCK_INITIALIZER; | 65 | static pthread_spinlock_t cond_locked = PTHREAD_SPINLOCK_INITIALIZER; |
| 84 | 66 | ||
| 85 | static int | 67 | static int |
| 86 | cond_static_init (pthread_cond_t *c) | 68 | cond_static_init (pthread_cond_t *c) |
| 87 | { | 69 | { |
| 88 | int r = 0; | 70 | int r = 0; |
| 89 | 71 | ||
| 90 | pthread_spin_lock (&cond_locked); | 72 | pthread_spin_lock (&cond_locked); |
| 91 | if (c == NULL) | 73 | if (c == NULL) |
| 92 | r = EINVAL; | 74 | r = EINVAL; |
| ... | @@ -143,40 +125,6 @@ pthread_condattr_setclock(pthread_condattr_t *a, clockid_t clock_id) | ... | @@ -143,40 +125,6 @@ pthread_condattr_setclock(pthread_condattr_t *a, clockid_t clock_id) |
| 143 | return 0; | 125 | return 0; |
| 144 | } | 126 | } |
| 145 | 127 | ||
| 146 | int | ||
| 147 | __pthread_clock_nanosleep (clockid_t clock_id, int flags, const struct timespec *rqtp, | ||
| 148 | 			 struct timespec *rmtp) | ||
| 149 | { | ||
| 150 | unsigned long long tick, tick2; | ||
| 151 | unsigned long long delay; | ||
| 152 | DWORD dw; | ||
| 153 | |||
| 154 | if (clock_id != CLOCK_REALTIME | ||
| 155 | && clock_id != CLOCK_MONOTONIC | ||
| 156 | && clock_id != CLOCK_PROCESS_CPUTIME_ID) | ||
| 157 | return EINVAL; | ||
| 158 | if ((flags & TIMER_ABSTIME) != 0) | ||
| 159 | delay = _pthread_rel_time_in_ms (rqtp); | ||
| 160 | else | ||
| 161 | delay = _pthread_time_in_ms_from_timespec (rqtp); | ||
| 162 | do | ||
| 163 | { | ||
| 164 | dw = (DWORD) (delay >= 99999ULL ? 99999ULL : delay); | ||
| 165 | tick = _pthread_time_in_ms (); | ||
| 166 | pthread_delay_np_ms (dw); | ||
| 167 | tick2 = _pthread_time_in_ms (); | ||
| 168 | tick2 -= tick; | ||
| 169 | if (tick2 >= delay) | ||
| 170 | delay = 0; | ||
| 171 | else | ||
| 172 | delay -= tick2; | ||
| 173 | } | ||
| 174 | while (delay != 0ULL); | ||
| 175 | if (rmtp) | ||
| 176 | memset (rmtp, 0, sizeof (*rmtp)); | ||
| 177 | return 0; | ||
| 178 | } | ||
| 179 | |||
| 180 | int | 128 | int |
| 181 | pthread_condattr_setpshared (pthread_condattr_t *a, int s) | 129 | pthread_condattr_setpshared (pthread_condattr_t *a, int s) |
| 182 | { | 130 | { |
| ... | @@ -218,7 +166,7 @@ pthread_cond_init (pthread_cond_t *c, const pthread_condattr_t *a) | ... | @@ -218,7 +166,7 @@ pthread_cond_init (pthread_cond_t *c, const pthread_condattr_t *a) |
| 218 | _c->sema_b = CreateSemaphore (NULL, /* no security */ | 166 | _c->sema_b = CreateSemaphore (NULL, /* no security */ |
| 219 | 0, /* initially 0 */ | 167 | 0, /* initially 0 */ |
| 220 | 0x7fffffff, /* max count */ | 168 | 0x7fffffff, /* max count */ |
| 221 | NULL); | 169 | NULL); |
| 222 | if (_c->sema_q == NULL || _c->sema_b == NULL) { | 170 | if (_c->sema_q == NULL || _c->sema_b == NULL) { |
| 223 | if (_c->sema_q != NULL) | 171 | if (_c->sema_q != NULL) |
| 224 | 	CloseHandle (_c->sema_q); | 172 | 	CloseHandle (_c->sema_q); |
| ... | @@ -356,7 +304,7 @@ pthread_cond_broadcast (pthread_cond_t *c) | ... | @@ -356,7 +304,7 @@ pthread_cond_broadcast (pthread_cond_t *c) |
| 356 | { | 304 | { |
| 357 | cond_t *_c; | 305 | cond_t *_c; |
| 358 | int r; | 306 | int r; |
| 359 | int relCnt = 0; | 307 | int relCnt = 0; |
| 360 | 308 | ||
| 361 | if (!c || !*c) | 309 | if (!c || !*c) |
| 362 | return EINVAL; | 310 | return EINVAL; |
| ... | @@ -465,7 +413,7 @@ tryagain: | ... | @@ -465,7 +413,7 @@ tryagain: |
| 465 | } | 413 | } |
| 466 | 414 | ||
| 467 | static int | 415 | static int |
| 468 | pthread_cond_timedwait_impl (pthread_cond_t *c, pthread_mutex_t *external_mutex, const struct timespec *t, int rel) | 416 | pthread_cond_timedwait_impl (pthread_cond_t *c, pthread_mutex_t *external_mutex, const struct _timespec64 *t, int rel) |
| 469 | { | 417 | { |
| 470 | sCondWaitHelper ch; | 418 | sCondWaitHelper ch; |
| 471 | DWORD dwr; | 419 | DWORD dwr; |
| ... | @@ -531,17 +479,31 @@ tryagain: | ... | @@ -531,17 +479,31 @@ tryagain: |
| 531 | } | 479 | } |
| 532 | 480 | ||
| 533 | int | 481 | int |
| 534 | pthread_cond_timedwait(pthread_cond_t *c, pthread_mutex_t *m, const struct timespec *t) | 482 | pthread_cond_timedwait64(pthread_cond_t *c, pthread_mutex_t *m, const struct _timespec64 *t) |
| 535 | { | 483 | { |
| 536 | return pthread_cond_timedwait_impl(c, m, t, 0); | 484 | return pthread_cond_timedwait_impl(c, m, t, 0); |
| 537 | } | 485 | } |
| 538 | 486 | ||
| 539 | int | 487 | int |
| 540 | pthread_cond_timedwait_relative_np(pthread_cond_t *c, pthread_mutex_t *m, const struct timespec *t) | 488 | pthread_cond_timedwait32(pthread_cond_t *c, pthread_mutex_t *m, const struct _timespec32 *t) |
| 489 | { | ||
| 490 | struct _timespec64 t64 = {.tv_sec = t->tv_sec, .tv_nsec = t->tv_nsec}; | ||
| 491 | return pthread_cond_timedwait_impl(c, m, &t64, 0); | ||
| 492 | } | ||
| 493 | |||
| 494 | int | ||
| 495 | pthread_cond_timedwait64_relative_np(pthread_cond_t *c, pthread_mutex_t *m, const struct _timespec64 *t) | ||
| 541 | { | 496 | { |
| 542 | return pthread_cond_timedwait_impl(c, m, t, 1); | 497 | return pthread_cond_timedwait_impl(c, m, t, 1); |
| 543 | } | 498 | } |
| 544 | 499 | ||
| 500 | int | ||
| 501 | pthread_cond_timedwait32_relative_np(pthread_cond_t *c, pthread_mutex_t *m, const struct _timespec32 *t) | ||
| 502 | { | ||
| 503 | struct _timespec64 t64 = {.tv_sec = t->tv_sec, .tv_nsec = t->tv_nsec}; | ||
| 504 | return pthread_cond_timedwait_impl(c, m, &t64, 1); | ||
| 505 | } | ||
| 506 | |||
| 545 | static void | 507 | static void |
| 546 | cleanup_wait (void *arg) | 508 | cleanup_wait (void *arg) |
| 547 | { | 509 | { |
| ... | @@ -751,5 +713,5 @@ do_sema_b_release(HANDLE sema, LONG count,CRITICAL_SECTION *cs, LONG *val) | ... | @@ -751,5 +713,5 @@ do_sema_b_release(HANDLE sema, LONG count,CRITICAL_SECTION *cs, LONG *val) |
| 751 | } | 713 | } |
| 752 | InterlockedExchangeAdd(val, -count); | 714 | InterlockedExchangeAdd(val, -count); |
| 753 | LeaveCriticalSection(cs); | 715 | LeaveCriticalSection(cs); |
| 754 | return EINVAL; | 716 | return EINVAL; |
| 755 | } | 717 | } |
lib/libc/mingw/winpthreads/cond.h+1-7| ... | @@ -23,8 +23,6 @@ | ... | @@ -23,8 +23,6 @@ |
| 23 | #ifndef WIN_PTHREADS_COND_H | 23 | #ifndef WIN_PTHREADS_COND_H |
| 24 | #define WIN_PTHREADS_COND_H | 24 | #define WIN_PTHREADS_COND_H |
| 25 | 25 | ||
| 26 | #include <windows.h> | ||
| 27 | |||
| 28 | #define CHECK_COND(c) \ | 26 | #define CHECK_COND(c) \ |
| 29 | do { \ | 27 | do { \ |
| 30 | if (!(c) || !*c || (*c == PTHREAD_COND_INITIALIZER) \ | 28 | if (!(c) || !*c || (*c == PTHREAD_COND_INITIALIZER) \ |
| ... | @@ -40,7 +38,7 @@ | ... | @@ -40,7 +38,7 @@ |
| 40 | typedef struct cond_t cond_t; | 38 | typedef struct cond_t cond_t; |
| 41 | struct cond_t | 39 | struct cond_t |
| 42 | { | 40 | { |
| 43 | unsigned int valid; | 41 | unsigned int valid; |
| 44 | int busy; | 42 | int busy; |
| 45 | LONG waiters_count_; /* Number of waiting threads. */ | 43 | LONG waiters_count_; /* Number of waiting threads. */ |
| 46 | LONG waiters_count_unblock_; /* Number of waiting threads whitch can be unblocked. */ | 44 | LONG waiters_count_unblock_; /* Number of waiting threads whitch can be unblocked. */ |
| ... | @@ -56,8 +54,4 @@ struct cond_t | ... | @@ -56,8 +54,4 @@ struct cond_t |
| 56 | became signaled. */ | 54 | became signaled. */ |
| 57 | }; | 55 | }; |
| 58 | 56 | ||
| 59 | void cond_print_set(int state, FILE *f); | ||
| 60 | |||
| 61 | void cond_print(volatile pthread_cond_t *c, char *txt); | ||
| 62 | |||
| 63 | #endif | 57 | #endif |
lib/libc/mingw/winpthreads/misc.c+15-2| ... | @@ -20,8 +20,16 @@ | ... | @@ -20,8 +20,16 @@ |
| 20 | DEALINGS IN THE SOFTWARE. | 20 | DEALINGS IN THE SOFTWARE. |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #ifdef HAVE_CONFIG_H | ||
| 24 | #include "config.h" | ||
| 25 | #endif | ||
| 26 | |||
| 27 | #define WIN32_LEAN_AND_MEAN | ||
| 23 | #include <windows.h> | 28 | #include <windows.h> |
| 29 | |||
| 30 | /* public header files */ | ||
| 24 | #include "pthread.h" | 31 | #include "pthread.h" |
| 32 | /* internal header files */ | ||
| 25 | #include "misc.h" | 33 | #include "misc.h" |
| 26 | 34 | ||
| 27 | void (WINAPI *_pthread_get_system_time_best_as_file_time) (LPFILETIME) = NULL; | 35 | void (WINAPI *_pthread_get_system_time_best_as_file_time) (LPFILETIME) = NULL; |
| ... | @@ -29,6 +37,8 @@ static ULONGLONG (WINAPI *_pthread_get_tick_count_64) (VOID); | ... | @@ -29,6 +37,8 @@ static ULONGLONG (WINAPI *_pthread_get_tick_count_64) (VOID); |
| 29 | HRESULT (WINAPI *_pthread_set_thread_description) (HANDLE, PCWSTR) = NULL; | 37 | HRESULT (WINAPI *_pthread_set_thread_description) (HANDLE, PCWSTR) = NULL; |
| 30 | 38 | ||
| 31 | #if defined(__GNUC__) || defined(__clang__) | 39 | #if defined(__GNUC__) || defined(__clang__) |
| 40 | #pragma GCC diagnostic push | ||
| 41 | #pragma GCC diagnostic ignored "-Wprio-ctor-dtor" | ||
| 32 | __attribute__((constructor(0))) | 42 | __attribute__((constructor(0))) |
| 33 | #endif | 43 | #endif |
| 34 | static void winpthreads_init(void) | 44 | static void winpthreads_init(void) |
| ... | @@ -55,6 +65,9 @@ static void winpthreads_init(void) | ... | @@ -55,6 +65,9 @@ static void winpthreads_init(void) |
| 55 | (HRESULT (WINAPI *)(HANDLE, PCWSTR))(void*) GetProcAddress(mod, "SetThreadDescription"); | 65 | (HRESULT (WINAPI *)(HANDLE, PCWSTR))(void*) GetProcAddress(mod, "SetThreadDescription"); |
| 56 | } | 66 | } |
| 57 | } | 67 | } |
| 68 | #if defined(__GNUC__) || defined(__clang__) | ||
| 69 | #pragma GCC diagnostic pop | ||
| 70 | #endif | ||
| 58 | 71 | ||
| 59 | #if defined(_MSC_VER) && !defined(__clang__) | 72 | #if defined(_MSC_VER) && !defined(__clang__) |
| 60 | /* Force a reference to __xc_t to prevent whole program optimization | 73 | /* Force a reference to __xc_t to prevent whole program optimization |
| ... | @@ -82,7 +95,7 @@ unsigned long long _pthread_time_in_ms(void) | ... | @@ -82,7 +95,7 @@ unsigned long long _pthread_time_in_ms(void) |
| 82 | - 0x19DB1DED53E8000ULL) / 10000ULL; | 95 | - 0x19DB1DED53E8000ULL) / 10000ULL; |
| 83 | } | 96 | } |
| 84 | 97 | ||
| 85 | unsigned long long _pthread_time_in_ms_from_timespec(const struct timespec *ts) | 98 | unsigned long long _pthread_time_in_ms_from_timespec(const struct _timespec64 *ts) |
| 86 | { | 99 | { |
| 87 | unsigned long long t = (unsigned long long) ts->tv_sec * 1000LL; | 100 | unsigned long long t = (unsigned long long) ts->tv_sec * 1000LL; |
| 88 | /* The +999999 is here to ensure that the division always rounds up */ | 101 | /* The +999999 is here to ensure that the division always rounds up */ |
| ... | @@ -91,7 +104,7 @@ unsigned long long _pthread_time_in_ms_from_timespec(const struct timespec *ts) | ... | @@ -91,7 +104,7 @@ unsigned long long _pthread_time_in_ms_from_timespec(const struct timespec *ts) |
| 91 | return t; | 104 | return t; |
| 92 | } | 105 | } |
| 93 | 106 | ||
| 94 | unsigned long long _pthread_rel_time_in_ms(const struct timespec *ts) | 107 | unsigned long long _pthread_rel_time_in_ms(const struct _timespec64 *ts) |
| 95 | { | 108 | { |
| 96 | unsigned long long t1 = _pthread_time_in_ms_from_timespec(ts); | 109 | unsigned long long t1 = _pthread_time_in_ms_from_timespec(ts); |
| 97 | unsigned long long t2 = _pthread_time_in_ms(); | 110 | unsigned long long t2 = _pthread_time_in_ms(); |
lib/libc/mingw/winpthreads/misc.h+4-31| ... | @@ -23,37 +23,10 @@ | ... | @@ -23,37 +23,10 @@ |
| 23 | #ifndef WIN_PTHREADS_MISC_H | 23 | #ifndef WIN_PTHREADS_MISC_H |
| 24 | #define WIN_PTHREADS_MISC_H | 24 | #define WIN_PTHREADS_MISC_H |
| 25 | 25 | ||
| 26 | #include <limits.h> | ||
| 27 | /* public header files */ | ||
| 26 | #include "pthread_compat.h" | 28 | #include "pthread_compat.h" |
| 27 | 29 | ||
| 28 | #ifndef assert | ||
| 29 | |||
| 30 | #ifndef ASSERT_TRACE | ||
| 31 | # define ASSERT_TRACE 0 | ||
| 32 | #else | ||
| 33 | # undef ASSERT_TRACE | ||
| 34 | # define ASSERT_TRACE 0 | ||
| 35 | #endif | ||
| 36 | |||
| 37 | # define assert(e) \ | ||
| 38 | ((e) ? ((ASSERT_TRACE) ? fprintf(stderr, \ | ||
| 39 | "Assertion succeeded: (%s), file %s, line %d\n", \ | ||
| 40 | #e, __FILE__, (int) __LINE__), \ | ||
| 41 | fflush(stderr) : \ | ||
| 42 | 0) : \ | ||
| 43 | (fprintf(stderr, "Assertion failed: (%s), file %s, line %d\n", \ | ||
| 44 | #e, __FILE__, (int) __LINE__), exit(1), 0)) | ||
| 45 | |||
| 46 | # define fixme(e) \ | ||
| 47 | ((e) ? ((ASSERT_TRACE) ? fprintf(stderr, \ | ||
| 48 | "Assertion succeeded: (%s), file %s, line %d\n", \ | ||
| 49 | #e, __FILE__, (int) __LINE__), \ | ||
| 50 | fflush(stderr) : \ | ||
| 51 | 0) : \ | ||
| 52 | (fprintf(stderr, "FIXME: (%s), file %s, line %d\n", \ | ||
| 53 | #e, __FILE__, (int) __LINE__), 0, 0)) | ||
| 54 | |||
| 55 | #endif | ||
| 56 | |||
| 57 | #define PTR2INT(x)	((int)(uintptr_t)(x)) | 30 | #define PTR2INT(x)	((int)(uintptr_t)(x)) |
| 58 | 31 | ||
| 59 | #if SIZE_MAX>UINT_MAX | 32 | #if SIZE_MAX>UINT_MAX |
| ... | @@ -102,8 +75,8 @@ static WINPTHREADS_INLINE unsigned long dwMilliSecs(unsigned long long ms) | ... | @@ -102,8 +75,8 @@ static WINPTHREADS_INLINE unsigned long dwMilliSecs(unsigned long long ms) |
| 102 | } | 75 | } |
| 103 | 76 | ||
| 104 | unsigned long long _pthread_time_in_ms(void); | 77 | unsigned long long _pthread_time_in_ms(void); |
| 105 | unsigned long long _pthread_time_in_ms_from_timespec(const struct timespec *ts); | 78 | unsigned long long _pthread_time_in_ms_from_timespec(const struct _timespec64 *ts); |
| 106 | unsigned long long _pthread_rel_time_in_ms(const struct timespec *ts); | 79 | unsigned long long _pthread_rel_time_in_ms(const struct _timespec64 *ts); |
| 107 | unsigned long _pthread_wait_for_single_object (void *handle, unsigned long timeout); | 80 | unsigned long _pthread_wait_for_single_object (void *handle, unsigned long timeout); |
| 108 | unsigned long _pthread_wait_for_multiple_objects (unsigned long count, void **handles, unsigned int all, unsigned long timeout); | 81 | unsigned long _pthread_wait_for_multiple_objects (unsigned long count, void **handles, unsigned int all, unsigned long timeout); |
| 109 | 82 |
lib/libc/mingw/winpthreads/mutex.c+29-6| ... | @@ -21,11 +21,22 @@ | ... | @@ -21,11 +21,22 @@ |
| 21 | DEALINGS IN THE SOFTWARE. | 21 | DEALINGS IN THE SOFTWARE. |
| 22 | */ | 22 | */ |
| 23 | 23 | ||
| 24 | #include <windows.h> | 24 | #ifdef HAVE_CONFIG_H |
| 25 | #include <stdio.h> | 25 | #include "config.h" |
| 26 | #endif | ||
| 27 | |||
| 26 | #include <malloc.h> | 28 | #include <malloc.h> |
| 27 | #include <stdbool.h> | 29 | #include <stdbool.h> |
| 30 | #include <stdio.h> | ||
| 31 | |||
| 32 | #define WIN32_LEAN_AND_MEAN | ||
| 33 | #include <windows.h> | ||
| 34 | |||
| 35 | #define WINPTHREAD_MUTEX_DECL WINPTHREAD_API | ||
| 36 | |||
| 37 | /* public header files */ | ||
| 28 | #include "pthread.h" | 38 | #include "pthread.h" |
| 39 | /* internal header files */ | ||
| 29 | #include "misc.h" | 40 | #include "misc.h" |
| 30 | 41 | ||
| 31 | typedef enum { | 42 | typedef enum { |
| ... | @@ -184,7 +195,8 @@ pthread_mutex_lock (pthread_mutex_t *m) | ... | @@ -184,7 +195,8 @@ pthread_mutex_lock (pthread_mutex_t *m) |
| 184 | return pthread_mutex_lock_intern (m, INFINITE); | 195 | return pthread_mutex_lock_intern (m, INFINITE); |
| 185 | } | 196 | } |
| 186 | 197 | ||
| 187 | int pthread_mutex_timedlock(pthread_mutex_t *m, const struct timespec *ts) | 198 | /* Internal version which always uses `struct _timespec64`. */ |
| 199 | static int __pthread_mutex_timedlock(pthread_mutex_t *m, const struct _timespec64 *ts) | ||
| 188 | { | 200 | { |
| 189 | unsigned long long patience; | 201 | unsigned long long patience; |
| 190 | if (ts != NULL) { | 202 | if (ts != NULL) { |
| ... | @@ -199,8 +211,19 @@ int pthread_mutex_timedlock(pthread_mutex_t *m, const struct timespec *ts) | ... | @@ -199,8 +211,19 @@ int pthread_mutex_timedlock(pthread_mutex_t *m, const struct timespec *ts) |
| 199 | return pthread_mutex_lock_intern(m, patience); | 211 | return pthread_mutex_lock_intern(m, patience); |
| 200 | } | 212 | } |
| 201 | 213 | ||
| 214 | int pthread_mutex_timedlock64(pthread_mutex_t *m, const struct _timespec64 *ts) | ||
| 215 | { | ||
| 216 | return __pthread_mutex_timedlock (m, ts); | ||
| 217 | } | ||
| 218 | |||
| 219 | int pthread_mutex_timedlock32(pthread_mutex_t *m, const struct _timespec32 *ts) | ||
| 220 | { | ||
| 221 | struct _timespec64 ts64 = {.tv_sec = ts->tv_sec, .tv_nsec = ts->tv_nsec}; | ||
| 222 | return __pthread_mutex_timedlock (m, &ts64); | ||
| 223 | } | ||
| 224 | |||
| 202 | int pthread_mutex_unlock(pthread_mutex_t *m) | 225 | int pthread_mutex_unlock(pthread_mutex_t *m) |
| 203 | { | 226 | { |
| 204 | /* Here m might an initialiser of an error-checking or recursive mutex, in | 227 | /* Here m might an initialiser of an error-checking or recursive mutex, in |
| 205 | which case the behaviour is well-defined, so we can't skip this check. */ | 228 | which case the behaviour is well-defined, so we can't skip this check. */ |
| 206 | mutex_impl_t *mi = mutex_impl(m); | 229 | mutex_impl_t *mi = mutex_impl(m); |
| ... | @@ -305,9 +328,9 @@ int pthread_mutexattr_gettype(const pthread_mutexattr_t *a, int *type) | ... | @@ -305,9 +328,9 @@ int pthread_mutexattr_gettype(const pthread_mutexattr_t *a, int *type) |
| 305 | { | 328 | { |
| 306 | if (!a || !type) | 329 | if (!a || !type) |
| 307 | return EINVAL; | 330 | return EINVAL; |
| 308 | 	 | 331 | |
| 309 | *type = *a & 3; | 332 | *type = *a & 3; |
| 310 | 333 | ||
| 311 | return 0; | 334 | return 0; |
| 312 | } | 335 | } |
| 313 | 336 |
lib/libc/mingw/winpthreads/nanosleep.c+41-3| ... | @@ -4,12 +4,24 @@ | ... | @@ -4,12 +4,24 @@ |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #ifdef HAVE_CONFIG_H | ||
| 8 | #include "config.h" | ||
| 9 | #endif | ||
| 10 | |||
| 11 | #include <assert.h> | ||
| 7 | #include <errno.h> | 12 | #include <errno.h> |
| 8 | #include <time.h> | 13 | #include <time.h> |
| 14 | |||
| 15 | #define WIN32_LEAN_AND_MEAN | ||
| 9 | #include <windows.h> | 16 | #include <windows.h> |
| 17 | |||
| 18 | #define WINPTHREAD_NANOSLEEP_DECL WINPTHREAD_API | ||
| 19 | |||
| 20 | /* public header files */ | ||
| 10 | #include "pthread.h" | 21 | #include "pthread.h" |
| 11 | #include "pthread_time.h" | 22 | #include "pthread_time.h" |
| 12 | #include "winpthread_internal.h" | 23 | /* internal header files */ |
| 24 | #include "thread.h" | ||
| 13 | 25 | ||
| 14 | #define POW10_3 1000 | 26 | #define POW10_3 1000 |
| 15 | #define POW10_4 10000 | 27 | #define POW10_4 10000 |
| ... | @@ -25,7 +37,7 @@ | ... | @@ -25,7 +37,7 @@ |
| 25 | * If the function fails, the return value is -1, | 37 | * If the function fails, the return value is -1, |
| 26 | * with errno set to indicate the error. | 38 | * with errno set to indicate the error. |
| 27 | */ | 39 | */ |
| 28 | int nanosleep(const struct timespec *request, struct timespec *remain) | 40 | static int __nanosleep(const struct _timespec64 *request, struct _timespec64 *remain) |
| 29 | { | 41 | { |
| 30 | unsigned long ms, rc = 0; | 42 | unsigned long ms, rc = 0; |
| 31 | unsigned __int64 u64, want, real; | 43 | unsigned __int64 u64, want, real; |
| ... | @@ -48,7 +60,7 @@ int nanosleep(const struct timespec *request, struct timespec *remain) | ... | @@ -48,7 +60,7 @@ int nanosleep(const struct timespec *request, struct timespec *remain) |
| 48 | else ms = (unsigned long) u64; | 60 | else ms = (unsigned long) u64; |
| 49 | 61 | ||
| 50 | u64 -= ms; | 62 | u64 -= ms; |
| 51 | rc = pthread_delay_np_ms(ms); | 63 | rc = _pthread_delay_np_ms(ms); |
| 52 | } | 64 | } |
| 53 | 65 | ||
| 54 | if (rc != 0) { /* WAIT_IO_COMPLETION (192) */ | 66 | if (rc != 0) { /* WAIT_IO_COMPLETION (192) */ |
| ... | @@ -69,3 +81,29 @@ int nanosleep(const struct timespec *request, struct timespec *remain) | ... | @@ -69,3 +81,29 @@ int nanosleep(const struct timespec *request, struct timespec *remain) |
| 69 | 81 | ||
| 70 | return 0; | 82 | return 0; |
| 71 | } | 83 | } |
| 84 | |||
| 85 | int nanosleep64(const struct _timespec64 *request, struct _timespec64 *remain) | ||
| 86 | { | ||
| 87 | return __nanosleep (request, remain); | ||
| 88 | } | ||
| 89 | |||
| 90 | int nanosleep32(const struct _timespec32 *request, struct _timespec32 *remain) | ||
| 91 | { | ||
| 92 | struct _timespec64 request64 = { | ||
| 93 | .tv_sec = request->tv_sec, | ||
| 94 | .tv_nsec = request->tv_nsec | ||
| 95 | }; | ||
| 96 | struct _timespec64 remain64 = {0}; | ||
| 97 | |||
| 98 | if (__nanosleep (&request64, &remain64) == -1) | ||
| 99 | return -1; | ||
| 100 | |||
| 101 | assert (remain64.tv_sec <= INT_MAX); | ||
| 102 | |||
| 103 | if (remain != NULL) { | ||
| 104 | remain->tv_sec = (__time32_t)remain64.tv_sec; | ||
| 105 | remain->tv_nsec = remain64.tv_nsec; | ||
| 106 | } | ||
| 107 | |||
| 108 | return 0; | ||
| 109 | } |
lib/libc/mingw/winpthreads/ref.c deleted-34| ... | @@ -1,34 +0,0 @@ | ||
| 1 | /* | ||
| 2 | Copyright (c) 2011-2016 mingw-w64 project | ||
| 3 | |||
| 4 | Permission is hereby granted, free of charge, to any person obtaining a | ||
| 5 | copy of this software and associated documentation files (the "Software"), | ||
| 6 | to deal in the Software without restriction, including without limitation | ||
| 7 | the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
| 8 | and/or sell copies of the Software, and to permit persons to whom the | ||
| 9 | Software is furnished to do so, subject to the following conditions: | ||
| 10 | |||
| 11 | The above copyright notice and this permission notice shall be included in | ||
| 12 | all copies or substantial portions of the Software. | ||
| 13 | |||
| 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
| 19 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | ||
| 20 | DEALINGS IN THE SOFTWARE. | ||
| 21 | */ | ||
| 22 | |||
| 23 | #include <windows.h> | ||
| 24 | #include <winternl.h> | ||
| 25 | #include <stdio.h> | ||
| 26 | #include "pthread.h" | ||
| 27 | #include "semaphore.h" | ||
| 28 | #include "rwlock.h" | ||
| 29 | #include "cond.h" | ||
| 30 | #include "barrier.h" | ||
| 31 | #include "sem.h" | ||
| 32 | #include "ref.h" | ||
| 33 | #include "misc.h" | ||
| 34 | |||
lib/libc/mingw/winpthreads/ref.h deleted-29| ... | @@ -1,29 +0,0 @@ | ||
| 1 | /* | ||
| 2 | Copyright (c) 2011-2016 mingw-w64 project | ||
| 3 | |||
| 4 | Permission is hereby granted, free of charge, to any person obtaining a | ||
| 5 | copy of this software and associated documentation files (the "Software"), | ||
| 6 | to deal in the Software without restriction, including without limitation | ||
| 7 | the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
| 8 | and/or sell copies of the Software, and to permit persons to whom the | ||
| 9 | Software is furnished to do so, subject to the following conditions: | ||
| 10 | |||
| 11 | The above copyright notice and this permission notice shall be included in | ||
| 12 | all copies or substantial portions of the Software. | ||
| 13 | |||
| 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
| 19 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | ||
| 20 | DEALINGS IN THE SOFTWARE. | ||
| 21 | */ | ||
| 22 | |||
| 23 | #ifndef WIN_PTHREADS_REF_H | ||
| 24 | #define WIN_PTHREADS_REF_H | ||
| 25 | #include "pthread.h" | ||
| 26 | #include "semaphore.h" | ||
| 27 | |||
| 28 | #endif | ||
| 29 | |||
lib/libc/mingw/winpthreads/rwlock.c+57-48| ... | @@ -20,14 +20,25 @@ | ... | @@ -20,14 +20,25 @@ |
| 20 | DEALINGS IN THE SOFTWARE. | 20 | DEALINGS IN THE SOFTWARE. |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #include <windows.h> | 23 | #ifdef HAVE_CONFIG_H |
| 24 | #include <stdio.h> | 24 | #include "config.h" |
| 25 | #endif | ||
| 26 | |||
| 27 | #include <assert.h> | ||
| 25 | #include <malloc.h> | 28 | #include <malloc.h> |
| 29 | #include <stdio.h> | ||
| 30 | |||
| 31 | #define WIN32_LEAN_AND_MEAN | ||
| 32 | #include <windows.h> | ||
| 33 | |||
| 34 | #define WINPTHREAD_RWLOCK_DECL WINPTHREAD_API | ||
| 35 | |||
| 36 | /* public header files */ | ||
| 26 | #include "pthread.h" | 37 | #include "pthread.h" |
| 27 | #include "thread.h" | 38 | /* internal header files */ |
| 28 | #include "ref.h" | ||
| 29 | #include "rwlock.h" | ||
| 30 | #include "misc.h" | 39 | #include "misc.h" |
| 40 | #include "rwlock.h" | ||
| 41 | #include "thread.h" | ||
| 31 | 42 | ||
| 32 | static pthread_spinlock_t rwl_global = PTHREAD_SPINLOCK_INITIALIZER; | 43 | static pthread_spinlock_t rwl_global = PTHREAD_SPINLOCK_INITIALIZER; |
| 33 | 44 | ||
| ... | @@ -36,9 +47,7 @@ static WINPTHREADS_ATTRIBUTE((noinline)) int rwlock_static_init(pthread_rwlock_t | ... | @@ -36,9 +47,7 @@ static WINPTHREADS_ATTRIBUTE((noinline)) int rwlock_static_init(pthread_rwlock_t |
| 36 | static WINPTHREADS_ATTRIBUTE((noinline)) int rwl_unref(volatile pthread_rwlock_t *rwl, int res) | 47 | static WINPTHREADS_ATTRIBUTE((noinline)) int rwl_unref(volatile pthread_rwlock_t *rwl, int res) |
| 37 | { | 48 | { |
| 38 | pthread_spin_lock(&rwl_global); | 49 | pthread_spin_lock(&rwl_global); |
| 39 | #ifdef WINPTHREAD_DBG | ||
| 40 | assert((((rwlock_t *)*rwl)->valid == LIFE_RWLOCK) && (((rwlock_t *)*rwl)->busy > 0)); | 50 | assert((((rwlock_t *)*rwl)->valid == LIFE_RWLOCK) && (((rwlock_t *)*rwl)->busy > 0)); |
| 41 | #endif | ||
| 42 | ((rwlock_t *)*rwl)->busy--; | 51 | ((rwlock_t *)*rwl)->busy--; |
| 43 | pthread_spin_unlock(&rwl_global); | 52 | pthread_spin_unlock(&rwl_global); |
| 44 | return res; | 53 | return res; |
| ... | @@ -87,7 +96,7 @@ static WINPTHREADS_ATTRIBUTE((noinline)) int rwl_ref_destroy(pthread_rwlock_t *r | ... | @@ -87,7 +96,7 @@ static WINPTHREADS_ATTRIBUTE((noinline)) int rwl_ref_destroy(pthread_rwlock_t *r |
| 87 | 96 | ||
| 88 | *rDestroy = (pthread_rwlock_t)NULL; | 97 | *rDestroy = (pthread_rwlock_t)NULL; |
| 89 | pthread_spin_lock(&rwl_global); | 98 | pthread_spin_lock(&rwl_global); |
| 90 | 99 | ||
| 91 | if (!rwl || !*rwl) r = EINVAL; | 100 | if (!rwl || !*rwl) r = EINVAL; |
| 92 | else { | 101 | else { |
| 93 | rwlock_t *r_ = (rwlock_t *)*rwl; | 102 | rwlock_t *r_ = (rwlock_t *)*rwl; |
| ... | @@ -128,30 +137,6 @@ static int rwlock_free_both_locks(rwlock_t *rwlock, int last_fail) | ... | @@ -128,30 +137,6 @@ static int rwlock_free_both_locks(rwlock_t *rwlock, int last_fail) |
| 128 | return ret; | 137 | return ret; |
| 129 | } | 138 | } |
| 130 | 139 | ||
| 131 | #ifdef WINPTHREAD_DBG | ||
| 132 | static int print_state = 0; | ||
| 133 | void rwl_print_set(int state) | ||
| 134 | { | ||
| 135 | print_state = state; | ||
| 136 | } | ||
| 137 | |||
| 138 | void rwl_print(volatile pthread_rwlock_t *rwl, char *txt) | ||
| 139 | { | ||
| 140 | if (!print_state) return; | ||
| 141 | rwlock_t *r = (rwlock_t *)*rwl; | ||
| 142 | if (r == NULL) { | ||
| 143 | printf("RWL%p %lu %s\n",(void *)*rwl,GetCurrentThreadId(),txt); | ||
| 144 | } else { | ||
| 145 | printf("RWL%p %lu V=%0X B=%d r=%ld w=%ld L=%p %s\n", | ||
| 146 | (void *)*rwl, | ||
| 147 | GetCurrentThreadId(), | ||
| 148 | (int)r->valid, | ||
| 149 | (int)r->busy, | ||
| 150 | 0L,0L,NULL,txt); | ||
| 151 | } | ||
| 152 | } | ||
| 153 | #endif | ||
| 154 | |||
| 155 | static pthread_spinlock_t cond_locked = PTHREAD_SPINLOCK_INITIALIZER; | 140 | static pthread_spinlock_t cond_locked = PTHREAD_SPINLOCK_INITIALIZER; |
| 156 | 141 | ||
| 157 | static WINPTHREADS_ATTRIBUTE((noinline)) int rwlock_static_init(pthread_rwlock_t *rw) | 142 | static WINPTHREADS_ATTRIBUTE((noinline)) int rwlock_static_init(pthread_rwlock_t *rw) |
| ... | @@ -165,7 +150,7 @@ static WINPTHREADS_ATTRIBUTE((noinline)) int rwlock_static_init(pthread_rwlock_t | ... | @@ -165,7 +150,7 @@ static WINPTHREADS_ATTRIBUTE((noinline)) int rwlock_static_init(pthread_rwlock_t |
| 165 | } | 150 | } |
| 166 | r = pthread_rwlock_init (rw, NULL); | 151 | r = pthread_rwlock_init (rw, NULL); |
| 167 | pthread_spin_unlock(&cond_locked); | 152 | pthread_spin_unlock(&cond_locked); |
| 168 | 153 | ||
| 169 | return r; | 154 | return r; |
| 170 | } | 155 | } |
| 171 | 156 | ||
| ... | @@ -178,7 +163,7 @@ int pthread_rwlock_init (pthread_rwlock_t *rwlock_, const pthread_rwlockattr_t * | ... | @@ -178,7 +163,7 @@ int pthread_rwlock_init (pthread_rwlock_t *rwlock_, const pthread_rwlockattr_t * |
| 178 | return EINVAL; | 163 | return EINVAL; |
| 179 | *rwlock_ = (pthread_rwlock_t)NULL; | 164 | *rwlock_ = (pthread_rwlock_t)NULL; |
| 180 | if ((rwlock = calloc(1, sizeof(*rwlock))) == NULL) | 165 | if ((rwlock = calloc(1, sizeof(*rwlock))) == NULL) |
| 181 | return ENOMEM; | 166 | return ENOMEM; |
| 182 | rwlock->valid = DEAD_RWLOCK; | 167 | rwlock->valid = DEAD_RWLOCK; |
| 183 | 168 | ||
| 184 | rwlock->nex_count = rwlock->nsh_count = rwlock->ncomplete = 0; | 169 | rwlock->nex_count = rwlock->nsh_count = rwlock->ncomplete = 0; |
| ... | @@ -203,18 +188,18 @@ int pthread_rwlock_init (pthread_rwlock_t *rwlock_, const pthread_rwlockattr_t * | ... | @@ -203,18 +188,18 @@ int pthread_rwlock_init (pthread_rwlock_t *rwlock_, const pthread_rwlockattr_t * |
| 203 | rwlock->valid = LIFE_RWLOCK; | 188 | rwlock->valid = LIFE_RWLOCK; |
| 204 | *rwlock_ = (pthread_rwlock_t)rwlock; | 189 | *rwlock_ = (pthread_rwlock_t)rwlock; |
| 205 | return r; | 190 | return r; |
| 206 | } | 191 | } |
| 207 | 192 | ||
| 208 | int pthread_rwlock_destroy (pthread_rwlock_t *rwlock_) | 193 | int pthread_rwlock_destroy (pthread_rwlock_t *rwlock_) |
| 209 | { | 194 | { |
| 210 | rwlock_t *rwlock; | 195 | rwlock_t *rwlock; |
| 211 | pthread_rwlock_t rDestroy; | 196 | pthread_rwlock_t rDestroy; |
| 212 | int r, r2; | 197 | int r, r2; |
| 213 | 198 | ||
| 214 | pthread_spin_lock(&cond_locked); | 199 | pthread_spin_lock(&cond_locked); |
| 215 | r = rwl_ref_destroy(rwlock_,&rDestroy); | 200 | r = rwl_ref_destroy(rwlock_,&rDestroy); |
| 216 | pthread_spin_unlock(&cond_locked); | 201 | pthread_spin_unlock(&cond_locked); |
| 217 | 202 | ||
| 218 | if(r) return r; | 203 | if(r) return r; |
| 219 | if(!rDestroy) return 0; /* destroyed a (still) static initialized rwl */ | 204 | if(!rDestroy) return 0; /* destroyed a (still) static initialized rwl */ |
| 220 | 205 | ||
| ... | @@ -245,7 +230,7 @@ int pthread_rwlock_destroy (pthread_rwlock_t *rwlock_) | ... | @@ -245,7 +230,7 @@ int pthread_rwlock_destroy (pthread_rwlock_t *rwlock_) |
| 245 | rwlock->valid = DEAD_RWLOCK; | 230 | rwlock->valid = DEAD_RWLOCK; |
| 246 | free((void *)rDestroy); | 231 | free((void *)rDestroy); |
| 247 | return 0; | 232 | return 0; |
| 248 | } | 233 | } |
| 249 | 234 | ||
| 250 | int pthread_rwlock_rdlock (pthread_rwlock_t *rwlock_) | 235 | int pthread_rwlock_rdlock (pthread_rwlock_t *rwlock_) |
| 251 | { | 236 | { |
| ... | @@ -279,7 +264,8 @@ int pthread_rwlock_rdlock (pthread_rwlock_t *rwlock_) | ... | @@ -279,7 +264,8 @@ int pthread_rwlock_rdlock (pthread_rwlock_t *rwlock_) |
| 279 | return rwl_unref(rwlock_, ret); | 264 | return rwl_unref(rwlock_, ret); |
| 280 | } | 265 | } |
| 281 | 266 | ||
| 282 | int pthread_rwlock_timedrdlock (pthread_rwlock_t *rwlock_, const struct timespec *ts) | 267 | /* Internal version which always uses `struct _timespec64`. */ |
| 268 | static int __pthread_rwlock_timedrdlock (pthread_rwlock_t *rwlock_, const struct _timespec64 *ts) | ||
| 283 | { | 269 | { |
| 284 | rwlock_t *rwlock; | 270 | rwlock_t *rwlock; |
| 285 | int ret; | 271 | int ret; |
| ... | @@ -290,12 +276,12 @@ int pthread_rwlock_timedrdlock (pthread_rwlock_t *rwlock_, const struct timespec | ... | @@ -290,12 +276,12 @@ int pthread_rwlock_timedrdlock (pthread_rwlock_t *rwlock_, const struct timespec |
| 290 | if(ret != 0) return ret; | 276 | if(ret != 0) return ret; |
| 291 | 277 | ||
| 292 | rwlock = (rwlock_t *)*rwlock_; | 278 | rwlock = (rwlock_t *)*rwlock_; |
| 293 | if ((ret = pthread_mutex_timedlock (&rwlock->mex, ts)) != 0) | 279 | if ((ret = pthread_mutex_timedlock64 (&rwlock->mex, ts)) != 0) |
| 294 | return rwl_unref(rwlock_, ret); | 280 | return rwl_unref(rwlock_, ret); |
| 295 | InterlockedIncrement(&rwlock->nsh_count); | 281 | InterlockedIncrement(&rwlock->nsh_count); |
| 296 | if (rwlock->nsh_count == INT_MAX) | 282 | if (rwlock->nsh_count == INT_MAX) |
| 297 | { | 283 | { |
| 298 | ret = pthread_mutex_timedlock(&rwlock->mcomplete, ts); | 284 | ret = pthread_mutex_timedlock64(&rwlock->mcomplete, ts); |
| 299 | if (ret != 0) | 285 | if (ret != 0) |
| 300 | { | 286 | { |
| 301 | if (ret == ETIMEDOUT) | 287 | if (ret == ETIMEDOUT) |
| ... | @@ -312,6 +298,17 @@ int pthread_rwlock_timedrdlock (pthread_rwlock_t *rwlock_, const struct timespec | ... | @@ -312,6 +298,17 @@ int pthread_rwlock_timedrdlock (pthread_rwlock_t *rwlock_, const struct timespec |
| 312 | return rwl_unref(rwlock_, ret); | 298 | return rwl_unref(rwlock_, ret); |
| 313 | } | 299 | } |
| 314 | 300 | ||
| 301 | int pthread_rwlock_timedrdlock64(pthread_rwlock_t *l, const struct _timespec64 *ts) | ||
| 302 | { | ||
| 303 | return __pthread_rwlock_timedrdlock (l, ts); | ||
| 304 | } | ||
| 305 | |||
| 306 | int pthread_rwlock_timedrdlock32(pthread_rwlock_t *l, const struct _timespec32 *ts) | ||
| 307 | { | ||
| 308 | struct _timespec64 ts64 = {.tv_sec = ts->tv_sec, .tv_nsec = ts->tv_nsec}; | ||
| 309 | return __pthread_rwlock_timedrdlock (l, &ts64); | ||
| 310 | } | ||
| 311 | |||
| 315 | int pthread_rwlock_tryrdlock (pthread_rwlock_t *rwlock_) | 312 | int pthread_rwlock_tryrdlock (pthread_rwlock_t *rwlock_) |
| 316 | { | 313 | { |
| 317 | rwlock_t *rwlock; | 314 | rwlock_t *rwlock; |
| ... | @@ -340,7 +337,7 @@ int pthread_rwlock_tryrdlock (pthread_rwlock_t *rwlock_) | ... | @@ -340,7 +337,7 @@ int pthread_rwlock_tryrdlock (pthread_rwlock_t *rwlock_) |
| 340 | } | 337 | } |
| 341 | ret = pthread_mutex_unlock(&rwlock->mex); | 338 | ret = pthread_mutex_unlock(&rwlock->mex); |
| 342 | return rwl_unref(rwlock_,ret); | 339 | return rwl_unref(rwlock_,ret); |
| 343 | } | 340 | } |
| 344 | 341 | ||
| 345 | int pthread_rwlock_trywrlock (pthread_rwlock_t *rwlock_) | 342 | int pthread_rwlock_trywrlock (pthread_rwlock_t *rwlock_) |
| 346 | { | 343 | { |
| ... | @@ -378,7 +375,7 @@ int pthread_rwlock_trywrlock (pthread_rwlock_t *rwlock_) | ... | @@ -378,7 +375,7 @@ int pthread_rwlock_trywrlock (pthread_rwlock_t *rwlock_) |
| 378 | } | 375 | } |
| 379 | rwlock->nex_count = 1; | 376 | rwlock->nex_count = 1; |
| 380 | return rwl_unref(rwlock_, 0); | 377 | return rwl_unref(rwlock_, 0); |
| 381 | } | 378 | } |
| 382 | 379 | ||
| 383 | int pthread_rwlock_unlock (pthread_rwlock_t *rwlock_) | 380 | int pthread_rwlock_unlock (pthread_rwlock_t *rwlock_) |
| 384 | { | 381 | { |
| ... | @@ -409,7 +406,7 @@ int pthread_rwlock_unlock (pthread_rwlock_t *rwlock_) | ... | @@ -409,7 +406,7 @@ int pthread_rwlock_unlock (pthread_rwlock_t *rwlock_) |
| 409 | ret = rwlock_free_both_locks(rwlock, 0); | 406 | ret = rwlock_free_both_locks(rwlock, 0); |
| 410 | } | 407 | } |
| 411 | return rwl_unref(rwlock_, ret); | 408 | return rwl_unref(rwlock_, ret); |
| 412 | } | 409 | } |
| 413 | 410 | ||
| 414 | static void st_cancelwrite (void *arg) | 411 | static void st_cancelwrite (void *arg) |
| 415 | { | 412 | { |
| ... | @@ -459,7 +456,8 @@ int pthread_rwlock_wrlock (pthread_rwlock_t *rwlock_) | ... | @@ -459,7 +456,8 @@ int pthread_rwlock_wrlock (pthread_rwlock_t *rwlock_) |
| 459 | return rwl_unref(rwlock_,ret); | 456 | return rwl_unref(rwlock_,ret); |
| 460 | } | 457 | } |
| 461 | 458 | ||
| 462 | int pthread_rwlock_timedwrlock (pthread_rwlock_t *rwlock_, const struct timespec *ts) | 459 | /* Internal version which always uses `struct _timespec64`. */ |
| 460 | static int __pthread_rwlock_timedwrlock (pthread_rwlock_t *rwlock_, const struct _timespec64 *ts) | ||
| 463 | { | 461 | { |
| 464 | int ret; | 462 | int ret; |
| 465 | rwlock_t *rwlock; | 463 | rwlock_t *rwlock; |
| ... | @@ -471,10 +469,10 @@ int pthread_rwlock_timedwrlock (pthread_rwlock_t *rwlock_, const struct timespec | ... | @@ -471,10 +469,10 @@ int pthread_rwlock_timedwrlock (pthread_rwlock_t *rwlock_, const struct timespec |
| 471 | return ret; | 469 | return ret; |
| 472 | rwlock = (rwlock_t *)*rwlock_; | 470 | rwlock = (rwlock_t *)*rwlock_; |
| 473 | 471 | ||
| 474 | ret = pthread_mutex_timedlock(&rwlock->mex, ts); | 472 | ret = pthread_mutex_timedlock64(&rwlock->mex, ts); |
| 475 | if (ret != 0) | 473 | if (ret != 0) |
| 476 | return rwl_unref(rwlock_,ret); | 474 | return rwl_unref(rwlock_,ret); |
| 477 | ret = pthread_mutex_timedlock (&rwlock->mcomplete, ts); | 475 | ret = pthread_mutex_timedlock64(&rwlock->mcomplete, ts); |
| 478 | if (ret != 0) | 476 | if (ret != 0) |
| 479 | { | 477 | { |
| 480 | pthread_mutex_unlock(&rwlock->mex); | 478 | pthread_mutex_unlock(&rwlock->mex); |
| ... | @@ -492,7 +490,7 @@ int pthread_rwlock_timedwrlock (pthread_rwlock_t *rwlock_, const struct timespec | ... | @@ -492,7 +490,7 @@ int pthread_rwlock_timedwrlock (pthread_rwlock_t *rwlock_, const struct timespec |
| 492 | rwlock->ncomplete = -rwlock->nsh_count; | 490 | rwlock->ncomplete = -rwlock->nsh_count; |
| 493 | pthread_cleanup_push(st_cancelwrite, (void *) rwlock); | 491 | pthread_cleanup_push(st_cancelwrite, (void *) rwlock); |
| 494 | do { | 492 | do { |
| 495 | 	ret = pthread_cond_timedwait(&rwlock->ccomplete, &rwlock->mcomplete, ts); | 493 | 	ret = pthread_cond_timedwait64(&rwlock->ccomplete, &rwlock->mcomplete, ts); |
| 496 | } while (rwlock->ncomplete < 0 && !ret); | 494 | } while (rwlock->ncomplete < 0 && !ret); |
| 497 | pthread_cleanup_pop(!ret ? 0 : 1); | 495 | pthread_cleanup_pop(!ret ? 0 : 1); |
| 498 | 496 | ||
| ... | @@ -505,6 +503,17 @@ int pthread_rwlock_timedwrlock (pthread_rwlock_t *rwlock_, const struct timespec | ... | @@ -505,6 +503,17 @@ int pthread_rwlock_timedwrlock (pthread_rwlock_t *rwlock_, const struct timespec |
| 505 | return rwl_unref(rwlock_,ret); | 503 | return rwl_unref(rwlock_,ret); |
| 506 | } | 504 | } |
| 507 | 505 | ||
| 506 | int pthread_rwlock_timedwrlock64(pthread_rwlock_t *rwlock, const struct _timespec64 *ts) | ||
| 507 | { | ||
| 508 | return __pthread_rwlock_timedwrlock (rwlock, ts); | ||
| 509 | } | ||
| 510 | |||
| 511 | int pthread_rwlock_timedwrlock32(pthread_rwlock_t *rwlock, const struct _timespec32 *ts) | ||
| 512 | { | ||
| 513 | struct _timespec64 ts64 = {.tv_sec = ts->tv_sec, .tv_nsec = ts->tv_nsec}; | ||
| 514 | return __pthread_rwlock_timedwrlock (rwlock, &ts64); | ||
| 515 | } | ||
| 516 | |||
| 508 | int pthread_rwlockattr_destroy(pthread_rwlockattr_t *a) | 517 | int pthread_rwlockattr_destroy(pthread_rwlockattr_t *a) |
| 509 | { | 518 | { |
| 510 | if (!a) | 519 | if (!a) |
lib/libc/mingw/winpthreads/rwlock.h-3| ... | @@ -43,7 +43,4 @@ struct rwlock_t { | ... | @@ -43,7 +43,4 @@ struct rwlock_t { |
| 43 | #define RWL_SET	0x01 | 43 | #define RWL_SET	0x01 |
| 44 | #define RWL_TRY	0x02 | 44 | #define RWL_TRY	0x02 |
| 45 | 45 | ||
| 46 | void rwl_print(volatile pthread_rwlock_t *rwl, char *txt); | ||
| 47 | void rwl_print_set(int state); | ||
| 48 | |||
| 49 | #endif | 46 | #endif |
lib/libc/mingw/winpthreads/sched.c+11-3| ... | @@ -20,12 +20,20 @@ | ... | @@ -20,12 +20,20 @@ |
| 20 | DEALINGS IN THE SOFTWARE. | 20 | DEALINGS IN THE SOFTWARE. |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #include <windows.h> | 23 | #ifdef HAVE_CONFIG_H |
| 24 | #include "config.h" | ||
| 25 | #endif | ||
| 26 | |||
| 24 | #include <stdio.h> | 27 | #include <stdio.h> |
| 25 | #include "pthread.h" | ||
| 26 | #include "thread.h" | ||
| 27 | 28 | ||
| 29 | #define WIN32_LEAN_AND_MEAN | ||
| 30 | #include <windows.h> | ||
| 31 | |||
| 32 | /* public header files */ | ||
| 33 | #include "pthread.h" | ||
| 34 | /* internal header files */ | ||
| 28 | #include "misc.h" | 35 | #include "misc.h" |
| 36 | #include "thread.h" | ||
| 29 | 37 | ||
| 30 | int sched_get_priority_min(int pol) | 38 | int sched_get_priority_min(int pol) |
| 31 | { | 39 | { |
lib/libc/mingw/winpthreads/sem.c+28-8| ... | @@ -20,15 +20,23 @@ | ... | @@ -20,15 +20,23 @@ |
| 20 | DEALINGS IN THE SOFTWARE. | 20 | DEALINGS IN THE SOFTWARE. |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #include <windows.h> | 23 | #ifdef HAVE_CONFIG_H |
| 24 | #include <stdio.h> | 24 | #include "config.h" |
| 25 | #endif | ||
| 26 | |||
| 25 | #include <malloc.h> | 27 | #include <malloc.h> |
| 28 | #include <stdio.h> | ||
| 29 | |||
| 30 | #define WIN32_LEAN_AND_MEAN | ||
| 31 | #include <windows.h> | ||
| 32 | |||
| 33 | /* public header files */ | ||
| 26 | #include "pthread.h" | 34 | #include "pthread.h" |
| 27 | #include "thread.h" | ||
| 28 | #include "misc.h" | ||
| 29 | #include "semaphore.h" | 35 | #include "semaphore.h" |
| 36 | /* internal header files */ | ||
| 37 | #include "misc.h" | ||
| 30 | #include "sem.h" | 38 | #include "sem.h" |
| 31 | #include "ref.h" | 39 | #include "thread.h" |
| 32 | 40 | ||
| 33 | int do_sema_b_wait_intern (HANDLE sema, int nointerrupt, DWORD timeout); | 41 | int do_sema_b_wait_intern (HANDLE sema, int nointerrupt, DWORD timeout); |
| 34 | 42 | ||
| ... | @@ -212,8 +220,9 @@ sem_wait (sem_t *sem) | ... | @@ -212,8 +220,9 @@ sem_wait (sem_t *sem) |
| 212 | return sem_result (ret); | 220 | return sem_result (ret); |
| 213 | } | 221 | } |
| 214 | 222 | ||
| 215 | int | 223 | /* Internal version which always uses `struct _timespec64`. */ |
| 216 | sem_timedwait (sem_t *sem, const struct timespec *t) | 224 | static int |
| 225 | __sem_timedwait (sem_t *sem, const struct _timespec64 *t) | ||
| 217 | { | 226 | { |
| 218 | int cur_v, ret = 0; | 227 | int cur_v, ret = 0; |
| 219 | DWORD dwr; | 228 | DWORD dwr; |
| ... | @@ -251,6 +260,17 @@ sem_timedwait (sem_t *sem, const struct timespec *t) | ... | @@ -251,6 +260,17 @@ sem_timedwait (sem_t *sem, const struct timespec *t) |
| 251 | return sem_result (ret); | 260 | return sem_result (ret); |
| 252 | } | 261 | } |
| 253 | 262 | ||
| 263 | int sem_timedwait64(sem_t *sem, const struct _timespec64 *t) | ||
| 264 | { | ||
| 265 | return __sem_timedwait (sem, t); | ||
| 266 | } | ||
| 267 | |||
| 268 | int sem_timedwait32(sem_t *sem, const struct _timespec32 *t) | ||
| 269 | { | ||
| 270 | struct _timespec64 t64 = {.tv_sec = t->tv_sec, .tv_nsec = t->tv_nsec}; | ||
| 271 | return __sem_timedwait (sem, &t64); | ||
| 272 | } | ||
| 273 | |||
| 254 | int | 274 | int |
| 255 | sem_post (sem_t *sem) | 275 | sem_post (sem_t *sem) |
| 256 | { | 276 | { |
| ... | @@ -350,5 +370,5 @@ sem_getvalue (sem_t *sem, int *sval) | ... | @@ -350,5 +370,5 @@ sem_getvalue (sem_t *sem, int *sval) |
| 350 | 370 | ||
| 351 | *sval = (int) sv->value; | 371 | *sval = (int) sv->value; |
| 352 | pthread_mutex_unlock (&sv->vlock); | 372 | pthread_mutex_unlock (&sv->vlock); |
| 353 | return 0; | 373 | return 0; |
| 354 | } | 374 | } |
lib/libc/mingw/winpthreads/sem.h-2| ... | @@ -23,8 +23,6 @@ | ... | @@ -23,8 +23,6 @@ |
| 23 | #ifndef WIN_SEM | 23 | #ifndef WIN_SEM |
| 24 | #define WIN_SEM | 24 | #define WIN_SEM |
| 25 | 25 | ||
| 26 | #include <windows.h> | ||
| 27 | |||
| 28 | #define LIFE_SEM 0xBAB1F00D | 26 | #define LIFE_SEM 0xBAB1F00D |
| 29 | #define DEAD_SEM 0xDEADBEEF | 27 | #define DEAD_SEM 0xDEADBEEF |
| 30 | 28 |
lib/libc/mingw/winpthreads/spinlock.c+9-1| ... | @@ -21,8 +21,16 @@ | ... | @@ -21,8 +21,16 @@ |
| 21 | DEALINGS IN THE SOFTWARE. | 21 | DEALINGS IN THE SOFTWARE. |
| 22 | */ | 22 | */ |
| 23 | 23 | ||
| 24 | #ifdef HAVE_CONFIG_H | ||
| 25 | #include "config.h" | ||
| 26 | #endif | ||
| 27 | |||
| 28 | #define WIN32_LEAN_AND_MEAN | ||
| 24 | #include <windows.h> | 29 | #include <windows.h> |
| 30 | |||
| 31 | /* public header files */ | ||
| 25 | #include "pthread.h" | 32 | #include "pthread.h" |
| 33 | /* internal header files */ | ||
| 26 | #include "misc.h" | 34 | #include "misc.h" |
| 27 | 35 | ||
| 28 | /* We use the pthread_spinlock_t itself as a lock: | 36 | /* We use the pthread_spinlock_t itself as a lock: |
| ... | @@ -56,7 +64,7 @@ pthread_spin_lock (pthread_spinlock_t *lock) | ... | @@ -56,7 +64,7 @@ pthread_spin_lock (pthread_spinlock_t *lock) |
| 56 | } while (*lk == 0); | 64 | } while (*lk == 0); |
| 57 | return 0; | 65 | return 0; |
| 58 | } | 66 | } |
| 59 | 67 | ||
| 60 | int | 68 | int |
| 61 | pthread_spin_trylock (pthread_spinlock_t *lock) | 69 | pthread_spin_trylock (pthread_spinlock_t *lock) |
| 62 | { | 70 | { |
lib/libc/mingw/winpthreads/thread.c+55-57| ... | @@ -20,16 +20,27 @@ | ... | @@ -20,16 +20,27 @@ |
| 20 | DEALINGS IN THE SOFTWARE. | 20 | DEALINGS IN THE SOFTWARE. |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #include <windows.h> | 23 | #ifdef HAVE_CONFIG_H |
| 24 | #include <strsafe.h> | 24 | #include "config.h" |
| 25 | #include <stdio.h> | 25 | #endif |
| 26 | #include <stdlib.h> | 26 | |
| 27 | #include <malloc.h> | 27 | #include <malloc.h> |
| 28 | #include <signal.h> | 28 | #include <signal.h> |
| 29 | #include <stdio.h> | ||
| 30 | #include <stdlib.h> | ||
| 31 | #include <wchar.h> | ||
| 32 | |||
| 33 | #define WIN32_LEAN_AND_MEAN | ||
| 34 | #include <windows.h> | ||
| 35 | #include <strsafe.h> | ||
| 36 | |||
| 37 | #define WINPTHREAD_THREAD_DECL WINPTHREAD_API | ||
| 38 | |||
| 39 | /* public header files */ | ||
| 29 | #include "pthread.h" | 40 | #include "pthread.h" |
| 30 | #include "thread.h" | 41 | /* internal header files */ |
| 31 | #include "misc.h" | 42 | #include "misc.h" |
| 32 | #include "winpthread_internal.h" | 43 | #include "thread.h" |
| 33 | 44 | ||
| 34 | static _pthread_v *__pthread_self_lite (void); | 45 | static _pthread_v *__pthread_self_lite (void); |
| 35 | 46 | ||
| ... | @@ -537,34 +548,6 @@ WINPTHREADS_ATTRIBUTE((WINPTHREADS_SECTION(".CRT$XLF"))) | ... | @@ -537,34 +548,6 @@ WINPTHREADS_ATTRIBUTE((WINPTHREADS_SECTION(".CRT$XLF"))) |
| 537 | extern const PIMAGE_TLS_CALLBACK __xl_f; | 548 | extern const PIMAGE_TLS_CALLBACK __xl_f; |
| 538 | const PIMAGE_TLS_CALLBACK __xl_f = __dyn_tls_pthread; | 549 | const PIMAGE_TLS_CALLBACK __xl_f = __dyn_tls_pthread; |
| 539 | 550 | ||
| 540 | |||
| 541 | #ifdef WINPTHREAD_DBG | ||
| 542 | static int print_state = 0; | ||
| 543 | void thread_print_set (int state) | ||
| 544 | { | ||
| 545 | print_state = state; | ||
| 546 | } | ||
| 547 | |||
| 548 | void | ||
| 549 | thread_print (volatile pthread_t t, char *txt) | ||
| 550 | { | ||
| 551 | if (!print_state) | ||
| 552 | return; | ||
| 553 | if (!t) | ||
| 554 | printf("T%p %lu %s\n",NULL,GetCurrentThreadId(),txt); | ||
| 555 | else | ||
| 556 | { | ||
| 557 | 	printf("T%p %lu V=%0X H=%p %s\n", | ||
| 558 | 	 (void *) __pth_gpointer_locked (t), | ||
| 559 | 	 GetCurrentThreadId(), | ||
| 560 | 	 (__pth_gpointer_locked (t))->valid, | ||
| 561 | 	 (__pth_gpointer_locked (t))->h, | ||
| 562 | 	 txt | ||
| 563 | 	 ); | ||
| 564 | } | ||
| 565 | } | ||
| 566 | #endif | ||
| 567 | |||
| 568 | /* Internal collect-once structure. */ | 551 | /* Internal collect-once structure. */ |
| 569 | typedef struct collect_once_t { | 552 | typedef struct collect_once_t { |
| 570 | pthread_once_t *o; | 553 | pthread_once_t *o; |
| ... | @@ -677,8 +660,8 @@ pthread_timechange_handler_np(void *dummy) | ... | @@ -677,8 +660,8 @@ pthread_timechange_handler_np(void *dummy) |
| 677 | 660 | ||
| 678 | /* Compatibility routine for pthread-win32. It waits for ellapse of | 661 | /* Compatibility routine for pthread-win32. It waits for ellapse of |
| 679 | interval and additionally checks for possible thread-cancelation. */ | 662 | interval and additionally checks for possible thread-cancelation. */ |
| 680 | int | 663 | static int |
| 681 | pthread_delay_np (const struct timespec *interval) | 664 | __pthread_delay_np (const struct _timespec64 *interval) |
| 682 | { | 665 | { |
| 683 | DWORD to = (!interval ? 0 : dwMilliSecs (_pthread_time_in_ms_from_timespec (interval))); | 666 | DWORD to = (!interval ? 0 : dwMilliSecs (_pthread_time_in_ms_from_timespec (interval))); |
| 684 | struct _pthread_v *s = __pthread_self_lite (); | 667 | struct _pthread_v *s = __pthread_self_lite (); |
| ... | @@ -699,10 +682,21 @@ pthread_delay_np (const struct timespec *interval) | ... | @@ -699,10 +682,21 @@ pthread_delay_np (const struct timespec *interval) |
| 699 | return 0; | 682 | return 0; |
| 700 | } | 683 | } |
| 701 | 684 | ||
| 702 | int pthread_delay_np_ms (DWORD to); | 685 | int |
| 686 | pthread_delay64_np (const struct _timespec64 *interval) | ||
| 687 | { | ||
| 688 | return __pthread_delay_np(interval); | ||
| 689 | } | ||
| 690 | |||
| 691 | int | ||
| 692 | pthread_delay32_np (const struct _timespec32 *interval) | ||
| 693 | { | ||
| 694 | struct _timespec64 interval64 = {.tv_sec = interval->tv_sec, .tv_nsec = interval->tv_nsec}; | ||
| 695 | return __pthread_delay_np(&interval64); | ||
| 696 | } | ||
| 703 | 697 | ||
| 704 | int | 698 | int |
| 705 | pthread_delay_np_ms (DWORD to) | 699 | _pthread_delay_np_ms (DWORD to) |
| 706 | { | 700 | { |
| 707 | struct _pthread_v *s = __pthread_self_lite (); | 701 | struct _pthread_v *s = __pthread_self_lite (); |
| 708 | 702 | ||
| ... | @@ -725,7 +719,7 @@ pthread_delay_np_ms (DWORD to) | ... | @@ -725,7 +719,7 @@ pthread_delay_np_ms (DWORD to) |
| 725 | /* Compatibility routine for pthread-win32. It returns the | 719 | /* Compatibility routine for pthread-win32. It returns the |
| 726 | amount of available CPUs on system. */ | 720 | amount of available CPUs on system. */ |
| 727 | int | 721 | int |
| 728 | pthread_num_processors_np(void) | 722 | pthread_num_processors_np(void) |
| 729 | { | 723 | { |
| 730 | int r = 0; | 724 | int r = 0; |
| 731 | DWORD_PTR ProcessAffinityMask, SystemAffinityMask; | 725 | DWORD_PTR ProcessAffinityMask, SystemAffinityMask; |
| ... | @@ -742,10 +736,10 @@ pthread_num_processors_np(void) | ... | @@ -742,10 +736,10 @@ pthread_num_processors_np(void) |
| 742 | /* Compatiblity routine for pthread-win32. Allows to set amount of used | 736 | /* Compatiblity routine for pthread-win32. Allows to set amount of used |
| 743 | CPUs for process. */ | 737 | CPUs for process. */ |
| 744 | int | 738 | int |
| 745 | pthread_set_num_processors_np(int n) | 739 | pthread_set_num_processors_np(int n) |
| 746 | { | 740 | { |
| 747 | DWORD_PTR ProcessAffinityMask, ProcessNewAffinityMask = 0, SystemAffinityMask; | 741 | DWORD_PTR ProcessAffinityMask, ProcessNewAffinityMask = 0, SystemAffinityMask; |
| 748 | int r = 0; | 742 | int r = 0; |
| 749 | /* need at least 1 */ | 743 | /* need at least 1 */ |
| 750 | n = n ? n : 1; | 744 | n = n ? n : 1; |
| 751 | if (GetProcessAffinityMask (GetCurrentProcess (), &ProcessAffinityMask, &SystemAffinityMask)) | 745 | if (GetProcessAffinityMask (GetCurrentProcess (), &ProcessAffinityMask, &SystemAffinityMask)) |
| ... | @@ -878,7 +872,7 @@ pthread_key_delete (pthread_key_t key) | ... | @@ -878,7 +872,7 @@ pthread_key_delete (pthread_key_t key) |
| 878 | return EINVAL; | 872 | return EINVAL; |
| 879 | 873 | ||
| 880 | pthread_rwlock_wrlock (&_pthread_key_lock); | 874 | pthread_rwlock_wrlock (&_pthread_key_lock); |
| 881 | 875 | ||
| 882 | _pthread_key_dest[key] = NULL; | 876 | _pthread_key_dest[key] = NULL; |
| 883 | 877 | ||
| 884 | /* Start next search from our location */ | 878 | /* Start next search from our location */ |
| ... | @@ -910,7 +904,7 @@ pthread_setspecific (pthread_key_t key, const void *value) | ... | @@ -910,7 +904,7 @@ pthread_setspecific (pthread_key_t key, const void *value) |
| 910 | { | 904 | { |
| 911 | DWORD lasterr = GetLastError (); | 905 | DWORD lasterr = GetLastError (); |
| 912 | _pthread_v *t = __pthread_self_lite (); | 906 | _pthread_v *t = __pthread_self_lite (); |
| 913 | 907 | ||
| 914 | pthread_spin_lock (&t->spin_keys); | 908 | pthread_spin_lock (&t->spin_keys); |
| 915 | 909 | ||
| 916 | if (key >= t->keymax) | 910 | if (key >= t->keymax) |
| ... | @@ -1522,7 +1516,7 @@ void _fpreset (void); | ... | @@ -1522,7 +1516,7 @@ void _fpreset (void); |
| 1522 | 1516 | ||
| 1523 | #if defined(__i386__) | 1517 | #if defined(__i386__) |
| 1524 | /* Align ESP on 16-byte boundaries. */ | 1518 | /* Align ESP on 16-byte boundaries. */ |
| 1525 | # if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2) | 1519 | # if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)) |
| 1526 | __attribute__((force_align_arg_pointer)) | 1520 | __attribute__((force_align_arg_pointer)) |
| 1527 | # endif | 1521 | # endif |
| 1528 | #endif | 1522 | #endif |
| ... | @@ -1553,17 +1547,7 @@ pthread_create_wrapper (void *args) | ... | @@ -1553,17 +1547,7 @@ pthread_create_wrapper (void *args) |
| 1553 | if (tv->func) | 1547 | if (tv->func) |
| 1554 | trslt = (intptr_t) tv->func(tv->ret_arg); | 1548 | trslt = (intptr_t) tv->func(tv->ret_arg); |
| 1555 | #ifdef __SEH__ | 1549 | #ifdef __SEH__ |
| 1556 | 	asm ("\tnop\n\t.tl_end: nop\n" | 1550 | asm ("\tnop\n\t.tl_end: nop\n"); |
| 1557 | #ifdef __arm__ | ||
| 1558 | 	 "\t.seh_handler __C_specific_handler, %except\n" | ||
| 1559 | #else | ||
| 1560 | 	 "\t.seh_handler __C_specific_handler, @except\n" | ||
| 1561 | #endif | ||
| 1562 | 	 "\t.seh_handlerdata\n" | ||
| 1563 | 	 "\t.long 1\n" | ||
| 1564 | 	 "\t.rva .tl_start, .tl_end, _gnu_exception_handler ,.tl_end\n" | ||
| 1565 | 	 "\t.text" | ||
| 1566 | 	 ); | ||
| 1567 | #endif | 1551 | #endif |
| 1568 | pthread_mutex_lock (&mtx_pthr_locked); | 1552 | pthread_mutex_lock (&mtx_pthr_locked); |
| 1569 | tv->ret_arg = (void*) trslt; | 1553 | tv->ret_arg = (void*) trslt; |
| ... | @@ -1601,6 +1585,19 @@ pthread_create_wrapper (void *args) | ... | @@ -1601,6 +1585,19 @@ pthread_create_wrapper (void *args) |
| 1601 | Sleep (0); | 1585 | Sleep (0); |
| 1602 | _endthreadex (rslt); | 1586 | _endthreadex (rslt); |
| 1603 | return rslt; | 1587 | return rslt; |
| 1588 | |||
| 1589 | #if defined(__SEH__) | ||
| 1590 | asm( | ||
| 1591 | #ifdef __arm__ | ||
| 1592 | "\t.seh_handler __C_specific_handler, %except\n" | ||
| 1593 | #else | ||
| 1594 | "\t.seh_handler __C_specific_handler, @except\n" | ||
| 1595 | #endif | ||
| 1596 | "\t.seh_handlerdata\n" | ||
| 1597 | "\t.long 1\n" | ||
| 1598 | "\t.rva .tl_start, .tl_end, _gnu_exception_handler ,.tl_end\n" | ||
| 1599 | "\t.text\n"); | ||
| 1600 | #endif | ||
| 1604 | } | 1601 | } |
| 1605 | 1602 | ||
| 1606 | int | 1603 | int |
| ... | @@ -1881,13 +1878,14 @@ pthread_setname_np (pthread_t thread, const char *name) | ... | @@ -1881,13 +1878,14 @@ pthread_setname_np (pthread_t thread, const char *name) |
| 1881 | 1878 | ||
| 1882 | if (_pthread_set_thread_description != NULL) | 1879 | if (_pthread_set_thread_description != NULL) |
| 1883 | { | 1880 | { |
| 1884 | size_t required_size = mbstowcs(NULL, name, 0); | 1881 | mbstate_t mbs = {0}; |
| 1882 | size_t required_size = mbsrtowcs(NULL, &name, 0, &mbs); | ||
| 1885 | if (required_size != (size_t)-1) | 1883 | if (required_size != (size_t)-1) |
| 1886 | { | 1884 | { |
| 1887 | wchar_t *wname = malloc((required_size + 1) * sizeof(wchar_t)); | 1885 | wchar_t *wname = malloc((required_size + 1) * sizeof(wchar_t)); |
| 1888 | if (wname != NULL) | 1886 | if (wname != NULL) |
| 1889 | { | 1887 | { |
| 1890 | mbstowcs(wname, name, required_size + 1); | 1888 | mbsrtowcs(wname, &name, required_size + 1, &mbs); |
| 1891 | _pthread_set_thread_description(tv->h, wname); | 1889 | _pthread_set_thread_description(tv->h, wname); |
| 1892 | free(wname); | 1890 | free(wname); |
| 1893 | } | 1891 | } |
lib/libc/mingw/winpthreads/thread.h+2-5| ... | @@ -23,8 +23,8 @@ | ... | @@ -23,8 +23,8 @@ |
| 23 | #ifndef WIN_PTHREAD_H | 23 | #ifndef WIN_PTHREAD_H |
| 24 | #define WIN_PTHREAD_H | 24 | #define WIN_PTHREAD_H |
| 25 | 25 | ||
| 26 | #include <windows.h> | ||
| 27 | #include <setjmp.h> | 26 | #include <setjmp.h> |
| 27 | /* internal header files */ | ||
| 28 | #include "rwlock.h" | 28 | #include "rwlock.h" |
| 29 | 29 | ||
| 30 | #define LIFE_THREAD 0xBAB1F00D | 30 | #define LIFE_THREAD 0xBAB1F00D |
| ... | @@ -69,11 +69,8 @@ typedef struct __pthread_idlist { | ... | @@ -69,11 +69,8 @@ typedef struct __pthread_idlist { |
| 69 | 69 | ||
| 70 | int _pthread_tryjoin(pthread_t t, void **res); | 70 | int _pthread_tryjoin(pthread_t t, void **res); |
| 71 | void _pthread_setnobreak(int); | 71 | void _pthread_setnobreak(int); |
| 72 | #ifdef WINPTHREAD_DBG | ||
| 73 | void thread_print_set(int state); | ||
| 74 | void thread_print(volatile pthread_t t, char *txt); | ||
| 75 | #endif | ||
| 76 | int __pthread_shallcancel(void); | 72 | int __pthread_shallcancel(void); |
| 77 | WINPTHREAD_API struct _pthread_v * __pth_gpointer_locked (pthread_t id); | 73 | WINPTHREAD_API struct _pthread_v * __pth_gpointer_locked (pthread_t id); |
| 74 | int _pthread_delay_np_ms (DWORD to); | ||
| 78 | 75 | ||
| 79 | #endif | 76 | #endif |
lib/libc/mingw/winpthreads/winpthread_internal.h deleted-27| ... | @@ -1,27 +0,0 @@ | ||
| 1 | /* | ||
| 2 | Copyright (c) 2011-2016 mingw-w64 project | ||
| 3 | |||
| 4 | Permission is hereby granted, free of charge, to any person obtaining a | ||
| 5 | copy of this software and associated documentation files (the "Software"), | ||
| 6 | to deal in the Software without restriction, including without limitation | ||
| 7 | the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
| 8 | and/or sell copies of the Software, and to permit persons to whom the | ||
| 9 | Software is furnished to do so, subject to the following conditions: | ||
| 10 | |||
| 11 | The above copyright notice and this permission notice shall be included in | ||
| 12 | all copies or substantial portions of the Software. | ||
| 13 | |||
| 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
| 19 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | ||
| 20 | DEALINGS IN THE SOFTWARE. | ||
| 21 | */ | ||
| 22 | |||
| 23 | #ifndef WINPTHREAD_INTERNAL_H | ||
| 24 | #define WINPTHREAD_INTERNAL_H | ||
| 25 | WINPTHREAD_API struct _pthread_v * __pth_gpointer_locked (pthread_t id); | ||
| 26 | int pthread_delay_np_ms (DWORD to); | ||
| 27 | #endif /*WINPTHREAD_INTERNAL_H*/ | ||
src/libs/mingw.zig+29-20| ... | @@ -154,7 +154,8 @@ pub fn buildCrtFile(comp: *Compilation, crt_file: CrtFile, prog_node: std.Progre | ... | @@ -154,7 +154,8 @@ pub fn buildCrtFile(comp: *Compilation, crt_file: CrtFile, prog_node: std.Progre |
| 154 | try addCcArgs(comp, arena, &winpthreads_args); | 154 | try addCcArgs(comp, arena, &winpthreads_args); |
| 155 | try winpthreads_args.appendSlice(&[_][]const u8{ | 155 | try winpthreads_args.appendSlice(&[_][]const u8{ |
| 156 | "-DIN_WINPTHREAD", | 156 | "-DIN_WINPTHREAD", |
| 157 | "-DWIN32_LEAN_AND_MEAN", | 157 | // winpthreads incorrectly assumes that Clang has `-Wprio-ctor-dtor`. |
| 158 | "-Wno-unknown-warning-option", | ||
| 158 | }); | 159 | }); |
| 159 | 160 | ||
| 160 | switch (comp.compilerRtOptMode()) { | 161 | switch (comp.compilerRtOptMode()) { |
| ... | @@ -294,18 +295,12 @@ pub fn buildImportLib(comp: *Compilation, lib_name: []const u8) !void { | ... | @@ -294,18 +295,12 @@ pub fn buildImportLib(comp: *Compilation, lib_name: []const u8) !void { |
| 294 | "o", &digest, final_def_basename, | 295 | "o", &digest, final_def_basename, |
| 295 | }); | 296 | }); |
| 296 | 297 | ||
| 297 | const target_defines = switch (target.cpu.arch) { | ||
| 298 | .thumb => "#define DEF_ARM32\n", | ||
| 299 | .aarch64 => "#define DEF_ARM64\n", | ||
| 300 | .x86 => "#define DEF_I386\n", | ||
| 301 | .x86_64 => "#define DEF_X64\n", | ||
| 302 | else => unreachable, | ||
| 303 | }; | ||
| 304 | |||
| 305 | const aro = @import("aro"); | 298 | const aro = @import("aro"); |
| 306 | var aro_comp = aro.Compilation.init(gpa, std.fs.cwd()); | 299 | var aro_comp = aro.Compilation.init(gpa, std.fs.cwd()); |
| 307 | defer aro_comp.deinit(); | 300 | defer aro_comp.deinit(); |
| 308 | 301 | ||
| 302 | aro_comp.target = target; | ||
| 303 | |||
| 309 | const include_dir = try comp.dirs.zig_lib.join(arena, &.{ "libc", "mingw", "def-include" }); | 304 | const include_dir = try comp.dirs.zig_lib.join(arena, &.{ "libc", "mingw", "def-include" }); |
| 310 | 305 | ||
| 311 | if (comp.verbose_cc) print: { | 306 | if (comp.verbose_cc) print: { |
| ... | @@ -320,7 +315,6 @@ pub fn buildImportLib(comp: *Compilation, lib_name: []const u8) !void { | ... | @@ -320,7 +315,6 @@ pub fn buildImportLib(comp: *Compilation, lib_name: []const u8) !void { |
| 320 | try aro_comp.include_dirs.append(gpa, include_dir); | 315 | try aro_comp.include_dirs.append(gpa, include_dir); |
| 321 | 316 | ||
| 322 | const builtin_macros = try aro_comp.generateBuiltinMacros(.include_system_defines); | 317 | const builtin_macros = try aro_comp.generateBuiltinMacros(.include_system_defines); |
| 323 | const user_macros = try aro_comp.addSourceFromBuffer("<command line>", target_defines); | ||
| 324 | const def_file_source = try aro_comp.addSourceFromPath(def_file_path); | 318 | const def_file_source = try aro_comp.addSourceFromPath(def_file_path); |
| 325 | 319 | ||
| 326 | var pp = aro.Preprocessor.init(&aro_comp); | 320 | var pp = aro.Preprocessor.init(&aro_comp); |
| ... | @@ -328,7 +322,7 @@ pub fn buildImportLib(comp: *Compilation, lib_name: []const u8) !void { | ... | @@ -328,7 +322,7 @@ pub fn buildImportLib(comp: *Compilation, lib_name: []const u8) !void { |
| 328 | pp.linemarkers = .none; | 322 | pp.linemarkers = .none; |
| 329 | pp.preserve_whitespace = true; | 323 | pp.preserve_whitespace = true; |
| 330 | 324 | ||
| 331 | try pp.preprocessSources(&.{ def_file_source, builtin_macros, user_macros }); | 325 | try pp.preprocessSources(&.{ def_file_source, builtin_macros }); |
| 332 | 326 | ||
| 333 | for (aro_comp.diagnostics.list.items) |diagnostic| { | 327 | for (aro_comp.diagnostics.list.items) |diagnostic| { |
| 334 | if (diagnostic.kind == .@"fatal error" or diagnostic.kind == .@"error") { | 328 | if (diagnostic.kind == .@"fatal error" or diagnostic.kind == .@"error") { |
| ... | @@ -485,7 +479,6 @@ const mingw32_generic_src = [_][]const u8{ | ... | @@ -485,7 +479,6 @@ const mingw32_generic_src = [_][]const u8{ |
| 485 | "crt" ++ path.sep_str ++ "pesect.c", | 479 | "crt" ++ path.sep_str ++ "pesect.c", |
| 486 | "crt" ++ path.sep_str ++ "udllargc.c", | 480 | "crt" ++ path.sep_str ++ "udllargc.c", |
| 487 | "crt" ++ path.sep_str ++ "xthdloc.c", | 481 | "crt" ++ path.sep_str ++ "xthdloc.c", |
| 488 | "crt" ++ path.sep_str ++ "CRT_fp10.c", | ||
| 489 | "crt" ++ path.sep_str ++ "mingw_helpers.c", | 482 | "crt" ++ path.sep_str ++ "mingw_helpers.c", |
| 490 | "crt" ++ path.sep_str ++ "pseudo-reloc.c", | 483 | "crt" ++ path.sep_str ++ "pseudo-reloc.c", |
| 491 | "crt" ++ path.sep_str ++ "udll_argv.c", | 484 | "crt" ++ path.sep_str ++ "udll_argv.c", |
| ... | @@ -609,7 +602,6 @@ const mingw32_generic_src = [_][]const u8{ | ... | @@ -609,7 +602,6 @@ const mingw32_generic_src = [_][]const u8{ |
| 609 | "misc" ++ path.sep_str ++ "delayimp.c", | 602 | "misc" ++ path.sep_str ++ "delayimp.c", |
| 610 | "misc" ++ path.sep_str ++ "dirent.c", | 603 | "misc" ++ path.sep_str ++ "dirent.c", |
| 611 | "misc" ++ path.sep_str ++ "dirname.c", | 604 | "misc" ++ path.sep_str ++ "dirname.c", |
| 612 | "misc" ++ path.sep_str ++ "dllentrypoint.c", | ||
| 613 | "misc" ++ path.sep_str ++ "dllmain.c", | 605 | "misc" ++ path.sep_str ++ "dllmain.c", |
| 614 | "misc" ++ path.sep_str ++ "feclearexcept.c", | 606 | "misc" ++ path.sep_str ++ "feclearexcept.c", |
| 615 | "misc" ++ path.sep_str ++ "fegetenv.c", | 607 | "misc" ++ path.sep_str ++ "fegetenv.c", |
| ... | @@ -621,10 +613,14 @@ const mingw32_generic_src = [_][]const u8{ | ... | @@ -621,10 +613,14 @@ const mingw32_generic_src = [_][]const u8{ |
| 621 | "misc" ++ path.sep_str ++ "fesetexceptflag.c", | 613 | "misc" ++ path.sep_str ++ "fesetexceptflag.c", |
| 622 | "misc" ++ path.sep_str ++ "fesetround.c", | 614 | "misc" ++ path.sep_str ++ "fesetround.c", |
| 623 | "misc" ++ path.sep_str ++ "fetestexcept.c", | 615 | "misc" ++ path.sep_str ++ "fetestexcept.c", |
| 616 | "misc" ++ path.sep_str ++ "mingw_controlfp.c", | ||
| 617 | "misc" ++ path.sep_str ++ "mingw_setfp.c", | ||
| 624 | "misc" ++ path.sep_str ++ "feupdateenv.c", | 618 | "misc" ++ path.sep_str ++ "feupdateenv.c", |
| 625 | "misc" ++ path.sep_str ++ "ftruncate.c", | 619 | "misc" ++ path.sep_str ++ "ftruncate.c", |
| 626 | "misc" ++ path.sep_str ++ "ftw.c", | 620 | "misc" ++ path.sep_str ++ "ftw32.c", |
| 621 | "misc" ++ path.sep_str ++ "ftw32i64.c", | ||
| 627 | "misc" ++ path.sep_str ++ "ftw64.c", | 622 | "misc" ++ path.sep_str ++ "ftw64.c", |
| 623 | "misc" ++ path.sep_str ++ "ftw64i32.c", | ||
| 628 | "misc" ++ path.sep_str ++ "fwide.c", | 624 | "misc" ++ path.sep_str ++ "fwide.c", |
| 629 | "misc" ++ path.sep_str ++ "getlogin.c", | 625 | "misc" ++ path.sep_str ++ "getlogin.c", |
| 630 | "misc" ++ path.sep_str ++ "getopt.c", | 626 | "misc" ++ path.sep_str ++ "getopt.c", |
| ... | @@ -669,12 +665,12 @@ const mingw32_generic_src = [_][]const u8{ | ... | @@ -669,12 +665,12 @@ const mingw32_generic_src = [_][]const u8{ |
| 669 | "stdio" ++ path.sep_str ++ "_findfirst64i32.c", | 665 | "stdio" ++ path.sep_str ++ "_findfirst64i32.c", |
| 670 | "stdio" ++ path.sep_str ++ "_findnext64i32.c", | 666 | "stdio" ++ path.sep_str ++ "_findnext64i32.c", |
| 671 | "stdio" ++ path.sep_str ++ "_fstat64i32.c", | 667 | "stdio" ++ path.sep_str ++ "_fstat64i32.c", |
| 672 | "stdio" ++ path.sep_str ++ "_stat.c", | ||
| 673 | "stdio" ++ path.sep_str ++ "_stat64i32.c", | 668 | "stdio" ++ path.sep_str ++ "_stat64i32.c", |
| 674 | "stdio" ++ path.sep_str ++ "_wfindfirst64i32.c", | 669 | "stdio" ++ path.sep_str ++ "_wfindfirst64i32.c", |
| 675 | "stdio" ++ path.sep_str ++ "_wfindnext64i32.c", | 670 | "stdio" ++ path.sep_str ++ "_wfindnext64i32.c", |
| 676 | "stdio" ++ path.sep_str ++ "_wstat.c", | ||
| 677 | "stdio" ++ path.sep_str ++ "_wstat64i32.c", | 671 | "stdio" ++ path.sep_str ++ "_wstat64i32.c", |
| 672 | "stdio" ++ path.sep_str ++ "__mingw_fix_stat_path.c", | ||
| 673 | "stdio" ++ path.sep_str ++ "__mingw_fix_wstat_path.c", | ||
| 678 | "stdio" ++ path.sep_str ++ "asprintf.c", | 674 | "stdio" ++ path.sep_str ++ "asprintf.c", |
| 679 | "stdio" ++ path.sep_str ++ "fopen64.c", | 675 | "stdio" ++ path.sep_str ++ "fopen64.c", |
| 680 | "stdio" ++ path.sep_str ++ "fseeko32.c", | 676 | "stdio" ++ path.sep_str ++ "fseeko32.c", |
| ... | @@ -749,23 +745,36 @@ const mingw32_generic_src = [_][]const u8{ | ... | @@ -749,23 +745,36 @@ const mingw32_generic_src = [_][]const u8{ |
| 749 | "stdio" ++ path.sep_str ++ "ucrt__vscprintf.c", | 745 | "stdio" ++ path.sep_str ++ "ucrt__vscprintf.c", |
| 750 | "stdio" ++ path.sep_str ++ "ucrt__vsnprintf.c", | 746 | "stdio" ++ path.sep_str ++ "ucrt__vsnprintf.c", |
| 751 | "stdio" ++ path.sep_str ++ "ucrt__vsnwprintf.c", | 747 | "stdio" ++ path.sep_str ++ "ucrt__vsnwprintf.c", |
| 748 | "stdio" ++ path.sep_str ++ "ucrt___local_stdio_printf_options.c", | ||
| 749 | "stdio" ++ path.sep_str ++ "ucrt___local_stdio_scanf_options.c", | ||
| 752 | "stdio" ++ path.sep_str ++ "ucrt_fprintf.c", | 750 | "stdio" ++ path.sep_str ++ "ucrt_fprintf.c", |
| 753 | "stdio" ++ path.sep_str ++ "ucrt_fscanf.c", | 751 | "stdio" ++ path.sep_str ++ "ucrt_fscanf.c", |
| 754 | "stdio" ++ path.sep_str ++ "ucrt_fwprintf.c", | 752 | "stdio" ++ path.sep_str ++ "ucrt_fwprintf.c", |
| 755 | "stdio" ++ path.sep_str ++ "ucrt_ms_fprintf.c", | 753 | "stdio" ++ path.sep_str ++ "ucrt_fwscanf.c", |
| 756 | "stdio" ++ path.sep_str ++ "ucrt_ms_fwprintf.c", | 754 | "stdio" ++ path.sep_str ++ "ucrt_ms_fwprintf.c", |
| 757 | "stdio" ++ path.sep_str ++ "ucrt_printf.c", | 755 | "stdio" ++ path.sep_str ++ "ucrt_printf.c", |
| 758 | "stdio" ++ path.sep_str ++ "ucrt_scanf.c", | 756 | "stdio" ++ path.sep_str ++ "ucrt_scanf.c", |
| 759 | "stdio" ++ path.sep_str ++ "ucrt_snprintf.c", | 757 | "stdio" ++ path.sep_str ++ "ucrt_snprintf.c", |
| 758 | "stdio" ++ path.sep_str ++ "ucrt_snwprintf.c", | ||
| 760 | "stdio" ++ path.sep_str ++ "ucrt_sprintf.c", | 759 | "stdio" ++ path.sep_str ++ "ucrt_sprintf.c", |
| 761 | "stdio" ++ path.sep_str ++ "ucrt_sscanf.c", | 760 | "stdio" ++ path.sep_str ++ "ucrt_sscanf.c", |
| 761 | "stdio" ++ path.sep_str ++ "ucrt_swscanf.c", | ||
| 762 | "stdio" ++ path.sep_str ++ "ucrt_swprintf.c", | ||
| 762 | "stdio" ++ path.sep_str ++ "ucrt_vfprintf.c", | 763 | "stdio" ++ path.sep_str ++ "ucrt_vfprintf.c", |
| 763 | "stdio" ++ path.sep_str ++ "ucrt_vfscanf.c", | 764 | "stdio" ++ path.sep_str ++ "ucrt_vfscanf.c", |
| 765 | "stdio" ++ path.sep_str ++ "ucrt_vfwscanf.c", | ||
| 766 | "stdio" ++ path.sep_str ++ "ucrt_vfwprintf.c", | ||
| 764 | "stdio" ++ path.sep_str ++ "ucrt_vprintf.c", | 767 | "stdio" ++ path.sep_str ++ "ucrt_vprintf.c", |
| 765 | "stdio" ++ path.sep_str ++ "ucrt_vscanf.c", | 768 | "stdio" ++ path.sep_str ++ "ucrt_vscanf.c", |
| 766 | "stdio" ++ path.sep_str ++ "ucrt_vsnprintf.c", | 769 | "stdio" ++ path.sep_str ++ "ucrt_vsnprintf.c", |
| 770 | "stdio" ++ path.sep_str ++ "ucrt_vsnwprintf.c", | ||
| 767 | "stdio" ++ path.sep_str ++ "ucrt_vsprintf.c", | 771 | "stdio" ++ path.sep_str ++ "ucrt_vsprintf.c", |
| 772 | "stdio" ++ path.sep_str ++ "ucrt_vswprintf.c", | ||
| 768 | "stdio" ++ path.sep_str ++ "ucrt_vsscanf.c", | 773 | "stdio" ++ path.sep_str ++ "ucrt_vsscanf.c", |
| 774 | "stdio" ++ path.sep_str ++ "ucrt_vwscanf.c", | ||
| 775 | "stdio" ++ path.sep_str ++ "ucrt_wscanf.c", | ||
| 776 | "stdio" ++ path.sep_str ++ "ucrt_vwprintf.c", | ||
| 777 | "stdio" ++ path.sep_str ++ "ucrt_wprintf.c", | ||
| 769 | "string" ++ path.sep_str ++ "ucrt__wcstok.c", | 778 | "string" ++ path.sep_str ++ "ucrt__wcstok.c", |
| 770 | // uuid | 779 | // uuid |
| 771 | "libsrc" ++ path.sep_str ++ "ativscp-uuid.c", | 780 | "libsrc" ++ path.sep_str ++ "ativscp-uuid.c", |
| ... | @@ -889,6 +898,8 @@ const mingw32_generic_src = [_][]const u8{ | ... | @@ -889,6 +898,8 @@ const mingw32_generic_src = [_][]const u8{ |
| 889 | }; | 898 | }; |
| 890 | 899 | ||
| 891 | const mingw32_x86_src = [_][]const u8{ | 900 | const mingw32_x86_src = [_][]const u8{ |
| 901 | // mingw32 | ||
| 902 | "crt" ++ path.sep_str ++ "CRT_fp10.c", | ||
| 892 | // mingwex | 903 | // mingwex |
| 893 | "math" ++ path.sep_str ++ "cbrtl.c", | 904 | "math" ++ path.sep_str ++ "cbrtl.c", |
| 894 | "math" ++ path.sep_str ++ "erfl.c", | 905 | "math" ++ path.sep_str ++ "erfl.c", |
| ... | @@ -971,11 +982,11 @@ const mingw32_x86_32_src = [_][]const u8{ | ... | @@ -971,11 +982,11 @@ const mingw32_x86_32_src = [_][]const u8{ |
| 971 | const mingw32_arm_src = [_][]const u8{ | 982 | const mingw32_arm_src = [_][]const u8{ |
| 972 | // mingwex | 983 | // mingwex |
| 973 | "math" ++ path.sep_str ++ "arm-common" ++ path.sep_str ++ "ldexpl.c", | 984 | "math" ++ path.sep_str ++ "arm-common" ++ path.sep_str ++ "ldexpl.c", |
| 985 | "math" ++ path.sep_str ++ "arm-common" ++ path.sep_str ++ "sincosl.c", | ||
| 974 | }; | 986 | }; |
| 975 | 987 | ||
| 976 | const mingw32_arm32_src = [_][]const u8{ | 988 | const mingw32_arm32_src = [_][]const u8{ |
| 977 | // mingwex | 989 | // mingwex |
| 978 | "math" ++ path.sep_str ++ "arm" ++ path.sep_str ++ "_chgsignl.S", | ||
| 979 | "math" ++ path.sep_str ++ "arm" ++ path.sep_str ++ "s_rint.c", | 990 | "math" ++ path.sep_str ++ "arm" ++ path.sep_str ++ "s_rint.c", |
| 980 | "math" ++ path.sep_str ++ "arm" ++ path.sep_str ++ "s_rintf.c", | 991 | "math" ++ path.sep_str ++ "arm" ++ path.sep_str ++ "s_rintf.c", |
| 981 | "math" ++ path.sep_str ++ "arm" ++ path.sep_str ++ "sincos.S", | 992 | "math" ++ path.sep_str ++ "arm" ++ path.sep_str ++ "sincos.S", |
| ... | @@ -983,7 +994,6 @@ const mingw32_arm32_src = [_][]const u8{ | ... | @@ -983,7 +994,6 @@ const mingw32_arm32_src = [_][]const u8{ |
| 983 | 994 | ||
| 984 | const mingw32_arm64_src = [_][]const u8{ | 995 | const mingw32_arm64_src = [_][]const u8{ |
| 985 | // mingwex | 996 | // mingwex |
| 986 | "math" ++ path.sep_str ++ "arm64" ++ path.sep_str ++ "_chgsignl.S", | ||
| 987 | "math" ++ path.sep_str ++ "arm64" ++ path.sep_str ++ "rint.c", | 997 | "math" ++ path.sep_str ++ "arm64" ++ path.sep_str ++ "rint.c", |
| 988 | "math" ++ path.sep_str ++ "arm64" ++ path.sep_str ++ "rintf.c", | 998 | "math" ++ path.sep_str ++ "arm64" ++ path.sep_str ++ "rintf.c", |
| 989 | "math" ++ path.sep_str ++ "arm64" ++ path.sep_str ++ "sincos.S", | 999 | "math" ++ path.sep_str ++ "arm64" ++ path.sep_str ++ "sincos.S", |
| ... | @@ -997,7 +1007,6 @@ const mingw32_winpthreads_src = [_][]const u8{ | ... | @@ -997,7 +1007,6 @@ const mingw32_winpthreads_src = [_][]const u8{ |
| 997 | "winpthreads" ++ path.sep_str ++ "misc.c", | 1007 | "winpthreads" ++ path.sep_str ++ "misc.c", |
| 998 | "winpthreads" ++ path.sep_str ++ "mutex.c", | 1008 | "winpthreads" ++ path.sep_str ++ "mutex.c", |
| 999 | "winpthreads" ++ path.sep_str ++ "nanosleep.c", | 1009 | "winpthreads" ++ path.sep_str ++ "nanosleep.c", |
| 1000 | "winpthreads" ++ path.sep_str ++ "ref.c", | ||
| 1001 | "winpthreads" ++ path.sep_str ++ "rwlock.c", | 1010 | "winpthreads" ++ path.sep_str ++ "rwlock.c", |
| 1002 | "winpthreads" ++ path.sep_str ++ "sched.c", | 1011 | "winpthreads" ++ path.sep_str ++ "sched.c", |
| 1003 | "winpthreads" ++ path.sep_str ++ "sem.c", | 1012 | "winpthreads" ++ path.sep_str ++ "sem.c", |
src/zig_llvm.cpp+7-5| ... | @@ -484,20 +484,22 @@ bool ZigLLVMWriteImportLibrary(const char *def_path, unsigned int coff_machine, | ... | @@ -484,20 +484,22 @@ bool ZigLLVMWriteImportLibrary(const char *def_path, unsigned int coff_machine, |
| 484 | } | 484 | } |
| 485 | } | 485 | } |
| 486 | 486 | ||
| 487 | if (machine == COFF::IMAGE_FILE_MACHINE_I386 && kill_at) { | 487 | if (kill_at) { |
| 488 | for (object::COFFShortExport& E : def->Exports) { | 488 | for (object::COFFShortExport& E : def->Exports) { |
| 489 | if (!E.ImportName.empty() || (!E.Name.empty() && E.Name[0] == '?')) | 489 | if (!E.ImportName.empty() || (!E.Name.empty() && E.Name[0] == '?')) |
| 490 | continue; | 490 | continue; |
| 491 | E.SymbolName = E.Name; | 491 | if (machine == COFF::IMAGE_FILE_MACHINE_I386) { |
| 492 | // By making sure E.SymbolName != E.Name for decorated symbols, | ||
| 493 | // writeImportLibrary writes these symbols with the type | ||
| 494 | // IMPORT_NAME_UNDECORATE. | ||
| 495 | E.SymbolName = E.Name; | ||
| 496 | } | ||
| 492 | // Trim off the trailing decoration. Symbols will always have a | 497 | // Trim off the trailing decoration. Symbols will always have a |
| 493 | // starting prefix here (either _ for cdecl/stdcall, @ for fastcall | 498 | // starting prefix here (either _ for cdecl/stdcall, @ for fastcall |
| 494 | // or ? for C++ functions). Vectorcall functions won't have any | 499 | // or ? for C++ functions). Vectorcall functions won't have any |
| 495 | // fixed prefix, but the function base name will still be at least | 500 | // fixed prefix, but the function base name will still be at least |
| 496 | // one char. | 501 | // one char. |
| 497 | E.Name = E.Name.substr(0, E.Name.find('@', 1)); | 502 | E.Name = E.Name.substr(0, E.Name.find('@', 1)); |
| 498 | // By making sure E.SymbolName != E.Name for decorated symbols, | ||
| 499 | // writeImportLibrary writes these symbols with the type | ||
| 500 | // IMPORT_NAME_UNDECORATE. | ||
| 501 | } | 503 | } |
| 502 | } | 504 | } |
| 503 | 505 |