| author | |
| committer | |
| log | e118484c098264fa930f25f19d66e90c8de269aa |
| tree | dbd93100dc5d40502e5d99aa645e488ead07722c |
| parent | efd6f190fd829d89c71e2592b48945a1bacae107 |
| signature |
310 files changed, 5748 insertions(+), 2492 deletions(-)
lib/libc/include/any-windows-any/_mingw.h+12-26| ... | @@ -622,17 +622,17 @@ __MINGW_INTRIN_INLINE void __cdecl __debugbreak(void) | ... | @@ -622,17 +622,17 @@ __MINGW_INTRIN_INLINE void __cdecl __debugbreak(void) |
| 622 | #define __MINGW_FASTFAIL_IMPL 1 | 622 | #define __MINGW_FASTFAIL_IMPL 1 |
| 623 | #endif | 623 | #endif |
| 624 | #if __MINGW_FASTFAIL_IMPL == 1 | 624 | #if __MINGW_FASTFAIL_IMPL == 1 |
| 625 | void __cdecl __MINGW_ATTRIB_NORETURN __fastfail(unsigned int code); | 625 | void __cdecl __MINGW_ATTRIB_NORETURN __fastfail(unsigned int _Code); |
| 626 | __MINGW_INTRIN_INLINE void __cdecl __MINGW_ATTRIB_NORETURN __fastfail(unsigned int code) | 626 | __MINGW_INTRIN_INLINE void __cdecl __MINGW_ATTRIB_NORETURN __fastfail(unsigned int _Code) |
| 627 | { | 627 | { |
| 628 | #if defined(__aarch64__) || defined(__arm64ec__) | 628 | #if defined(__aarch64__) || defined(__arm64ec__) |
| 629 | register unsigned int w0 __asm__("w0") = code; | 629 | register unsigned int __w0 __asm__("w0") = _Code; |
| 630 | __asm__ __volatile__("brk #0xf003"::"r"(w0)); | 630 | __asm__ __volatile__("brk #0xf003"::"r"(__w0)); |
| 631 | #elif defined(__i386__) || defined(__x86_64__) | 631 | #elif defined(__i386__) || defined(__x86_64__) |
| 632 | __asm__ __volatile__("int {$}0x29"::"c"(code)); | 632 | __asm__ __volatile__("int {$}0x29"::"c"(_Code)); |
| 633 | #elif defined(__arm__) | 633 | #elif defined(__arm__) |
| 634 | register unsigned int r0 __asm__("r0") = code; | 634 | register unsigned int __r0 __asm__("r0") = _Code; |
| 635 | __asm__ __volatile__("udf #0xfb"::"r"(r0)); | 635 | __asm__ __volatile__("udf #0xfb"::"r"(__r0)); |
| 636 | #else | 636 | #else |
| 637 | __asm__ __volatile__("unimplemented"); | 637 | __asm__ __volatile__("unimplemented"); |
| 638 | #endif | 638 | #endif |
| ... | @@ -647,13 +647,13 @@ __MINGW_INTRIN_INLINE void __cdecl __MINGW_ATTRIB_NORETURN __fastfail(unsigned i | ... | @@ -647,13 +647,13 @@ __MINGW_INTRIN_INLINE void __cdecl __MINGW_ATTRIB_NORETURN __fastfail(unsigned i |
| 647 | #endif | 647 | #endif |
| 648 | #if __MINGW_PREFETCH_IMPL == 1 | 648 | #if __MINGW_PREFETCH_IMPL == 1 |
| 649 | #if defined(__arm__) || defined(__aarch64__) || defined(__arm64ec__) | 649 | #if defined(__arm__) || defined(__aarch64__) || defined(__arm64ec__) |
| 650 | void __cdecl __prefetch(const void *addr); | 650 | void __cdecl __prefetch(const void *_Addr); |
| 651 | __MINGW_INTRIN_INLINE void __cdecl __prefetch(const void *addr) | 651 | __MINGW_INTRIN_INLINE void __cdecl __prefetch(const void *_Addr) |
| 652 | { | 652 | { |
| 653 | #if defined(__arm__) | 653 | #if defined(__arm__) |
| 654 | __asm__ __volatile__("pld [%0]"::"r"(addr)); | 654 | __asm__ __volatile__("pld [%0]"::"r"(_Addr)); |
| 655 | #elif defined(__aarch64__) || defined(__arm64ec__) | 655 | #elif defined(__aarch64__) || defined(__arm64ec__) |
| 656 | __asm__ __volatile__("prfm pldl1keep, [%0]"::"r"(addr)); | 656 | __asm__ __volatile__("prfm pldl1keep, [%0]"::"r"(_Addr)); |
| 657 | #endif | 657 | #endif |
| 658 | } | 658 | } |
| 659 | #endif /* defined(__arm__) || defined(__aarch64__) */ | 659 | #endif /* defined(__arm__) || defined(__aarch64__) */ |
| ... | @@ -668,21 +668,7 @@ const char *__mingw_get_crt_info (void); | ... | @@ -668,21 +668,7 @@ const char *__mingw_get_crt_info (void); |
| 668 | } | 668 | } |
| 669 | #endif | 669 | #endif |
| 670 | 670 | ||
| 671 | #endif /* _INC__MINGW_H */ | ||
| 672 | |||
| 673 | #ifndef MINGW_SDK_INIT | ||
| 674 | #define MINGW_SDK_INIT | ||
| 675 | |||
| 676 | /* for backward compatibility */ | ||
| 677 | #ifndef MINGW_HAS_SECURE_API | ||
| 678 | #define MINGW_HAS_SECURE_API 1 | ||
| 679 | #endif | ||
| 680 | |||
| 681 | #define __STDC_SECURE_LIB__ 200411L | 671 | #define __STDC_SECURE_LIB__ 200411L |
| 682 | #define __GOT_SECURE_LIB__ __STDC_SECURE_LIB__ | 672 | #define __GOT_SECURE_LIB__ __STDC_SECURE_LIB__ |
| 683 | 673 | ||
| 684 | #ifndef __WIDL__ | 674 | #endif /* _INC__MINGW_H */ |
| 685 | #include "sdks/_mingw_ddk.h" | ||
| 686 | #endif | ||
| 687 | |||
| 688 | #endif /* MINGW_SDK_INIT */ |
lib/libc/include/any-windows-any/_mingw_mac.h+1-1| ... | @@ -14,7 +14,7 @@ | ... | @@ -14,7 +14,7 @@ |
| 14 | #define __MINGW64_STRINGIFY(x) \ | 14 | #define __MINGW64_STRINGIFY(x) \ |
| 15 | __STRINGIFY(x) | 15 | __STRINGIFY(x) |
| 16 | 16 | ||
| 17 | #define __MINGW64_VERSION_MAJOR 13 | 17 | #define __MINGW64_VERSION_MAJOR 15 |
| 18 | #define __MINGW64_VERSION_MINOR 0 | 18 | #define __MINGW64_VERSION_MINOR 0 |
| 19 | #define __MINGW64_VERSION_BUGFIX 0 | 19 | #define __MINGW64_VERSION_BUGFIX 0 |
| 20 | 20 |
lib/libc/include/any-windows-any/_mingw_stat64.h+7| ... | @@ -3,6 +3,12 @@ | ... | @@ -3,6 +3,12 @@ |
| 3 | /* __stat64 is needed for compatibility with msvc */ | 3 | /* __stat64 is needed for compatibility with msvc */ |
| 4 | #define __stat64 _stat64 | 4 | #define __stat64 _stat64 |
| 5 | 5 | ||
| 6 | /* | ||
| 7 | * To prevent ABI issues, the mingw-w64 runtime should not call the | ||
| 8 | * _fstat, _fstati64, _stat, _stati64, _wstat and _wstati64 functions. | ||
| 9 | * Instead it should call the fixed-size variants. | ||
| 10 | */ | ||
| 11 | #ifndef _CRTBLD | ||
| 6 | #ifdef _USE_32BIT_TIME_T | 12 | #ifdef _USE_32BIT_TIME_T |
| 7 | #define _fstat _fstat32 | 13 | #define _fstat _fstat32 |
| 8 | #define _fstati64 _fstat32i64 | 14 | #define _fstati64 _fstat32i64 |
| ... | @@ -18,6 +24,7 @@ | ... | @@ -18,6 +24,7 @@ |
| 18 | #define _wstat _wstat64i32 | 24 | #define _wstat _wstat64i32 |
| 19 | #define _wstati64 _wstat64 | 25 | #define _wstati64 _wstat64 |
| 20 | #endif /* _USE_32BIT_TIME_T */ | 26 | #endif /* _USE_32BIT_TIME_T */ |
| 27 | #endif /* _CRTBLD */ | ||
| 21 | 28 | ||
| 22 | struct _stat32 { | 29 | struct _stat32 { |
| 23 | _dev_t st_dev; | 30 | _dev_t st_dev; |
lib/libc/include/any-windows-any/activation.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/activation.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/activaut.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/activdbg.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/activdbg100.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/activprof.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/activscp.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/adhoc.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/alg.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/alg.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/amstream.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/amstream.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/amvideo.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/assert.h+2-3| ... | @@ -21,8 +21,8 @@ | ... | @@ -21,8 +21,8 @@ |
| 21 | extern "C" { | 21 | extern "C" { |
| 22 | #endif | 22 | #endif |
| 23 | 23 | ||
| 24 | _CRTIMP void __cdecl __MINGW_ATTRIB_NORETURN _wassert(const wchar_t *_Message,const wchar_t *_File,unsigned _Line); | 24 | _CRTIMP void __cdecl _wassert(const wchar_t *_Message,const wchar_t *_File,unsigned _Line); |
| 25 | _CRTIMP void __cdecl __MINGW_ATTRIB_NORETURN _assert (const char *_Message, const char *_File, unsigned _Line); | 25 | void __cdecl _assert (const char *_Message, const char *_File, unsigned _Line); |
| 26 | 26 | ||
| 27 | #ifdef __cplusplus | 27 | #ifdef __cplusplus |
| 28 | } | 28 | } |
| ... | @@ -53,4 +53,3 @@ _CRTIMP void __cdecl __MINGW_ATTRIB_NORETURN _assert (const char *_Message, cons | ... | @@ -53,4 +53,3 @@ _CRTIMP void __cdecl __MINGW_ATTRIB_NORETURN _assert (const char *_Message, cons |
| 53 | (_assert(#_Expression,__FILE__,__LINE__),0)) | 53 | (_assert(#_Expression,__FILE__,__LINE__),0)) |
| 54 | #endif /* _UNICODE||UNICODE */ | 54 | #endif /* _UNICODE||UNICODE */ |
| 55 | #endif /* !defined (NDEBUG) */ | 55 | #endif /* !defined (NDEBUG) */ |
| 56 |
lib/libc/include/any-windows-any/asyncinfo.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/asyncinfo.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/audioclient.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/audioclient.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/audioendpoints.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/audiopolicy.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/austream.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/bdaiface.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/bdaiface.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/bits.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/bits.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/bits1_5.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/bits2_0.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/bits2_5.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/bits3_0.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/bits5_0.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/cfgmgr32.h+2-2| ... | @@ -37,8 +37,8 @@ extern "C" { | ... | @@ -37,8 +37,8 @@ extern "C" { |
| 37 | #define MAX_IRQS 7 | 37 | #define MAX_IRQS 7 |
| 38 | #define MAX_DMA_CHANNELS 7 | 38 | #define MAX_DMA_CHANNELS 7 |
| 39 | 39 | ||
| 40 | #define DWORD_MAX 0xFFFFFFFF | 40 | #define DWORD_MAX __MSABI_LONG(0xffffffffu) |
| 41 | #define DWORDLONG_MAX 0xFFFFFFFFFFFFFFFF | 41 | #define DWORDLONG_MAX 0xffffffffffffffffull |
| 42 | 42 | ||
| 43 | #define CONFIGMG_VERSION 0x0400 | 43 | #define CONFIGMG_VERSION 0x0400 |
| 44 | 44 |
lib/libc/include/any-windows-any/comadmin.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/comadmin.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/comcat.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/comcat.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/commoncontrols.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/commoncontrols.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/comutil.h+45-2| ... | @@ -8,6 +8,7 @@ | ... | @@ -8,6 +8,7 @@ |
| 8 | 8 | ||
| 9 | #include <ole2.h> | 9 | #include <ole2.h> |
| 10 | #include <stdio.h> | 10 | #include <stdio.h> |
| 11 | #include <new> | ||
| 11 | 12 | ||
| 12 | #ifndef _COM_ASSERT | 13 | #ifndef _COM_ASSERT |
| 13 | #define _COM_ASSERT(x) ((void)0) | 14 | #define _COM_ASSERT(x) ((void)0) |
| ... | @@ -51,8 +52,50 @@ namespace _com_util { | ... | @@ -51,8 +52,50 @@ namespace _com_util { |
| 51 | } | 52 | } |
| 52 | 53 | ||
| 53 | namespace _com_util { | 54 | namespace _com_util { |
| 54 | BSTR WINAPI ConvertStringToBSTR(const char *pSrc); | 55 | inline BSTR WINAPI ConvertStringToBSTR(const char *pSrc){ |
| 55 | char *WINAPI ConvertBSTRToString(BSTR pSrc); | 56 | int wcSize; |
| 57 | BSTR bstr; | ||
| 58 | if(!pSrc) return NULL; | ||
| 59 | wcSize=::MultiByteToWideChar(CP_ACP,0,pSrc,-1,NULL,0); | ||
| 60 | if (wcSize==0) { | ||
| 61 | _com_issue_error(HRESULT_FROM_WIN32(GetLastError())); | ||
| 62 | return NULL; | ||
| 63 | } | ||
| 64 | bstr=::SysAllocStringLen(NULL,wcSize-1); | ||
| 65 | if(!bstr) { | ||
| 66 | _com_issue_error(E_OUTOFMEMORY); | ||
| 67 | return NULL; | ||
| 68 | } | ||
| 69 | if(::MultiByteToWideChar(CP_ACP,0,pSrc,-1,bstr,wcSize)==0) { | ||
| 70 | DWORD err = ::GetLastError(); | ||
| 71 | ::SysFreeString(bstr); | ||
| 72 | _com_issue_error(HRESULT_FROM_WIN32(err)); | ||
| 73 | return NULL; | ||
| 74 | } | ||
| 75 | return bstr; | ||
| 76 | } | ||
| 77 | inline char *WINAPI ConvertBSTRToString(BSTR pSrc){ | ||
| 78 | int mbSize; | ||
| 79 | char *str; | ||
| 80 | if(!pSrc) return NULL; | ||
| 81 | mbSize = ::WideCharToMultiByte(CP_ACP,0,pSrc,-1,NULL,0,NULL,NULL); | ||
| 82 | if (mbSize==0) { | ||
| 83 | _com_issue_error(HRESULT_FROM_WIN32(::GetLastError())); | ||
| 84 | return NULL; | ||
| 85 | } | ||
| 86 | str=new(::std::nothrow) char[mbSize]; | ||
| 87 | if(!str) { | ||
| 88 | _com_issue_error(E_OUTOFMEMORY); | ||
| 89 | return NULL; | ||
| 90 | } | ||
| 91 | if(::WideCharToMultiByte(CP_ACP,0,pSrc,-1,str,mbSize,NULL,NULL)==0) { | ||
| 92 | DWORD err = ::GetLastError(); | ||
| 93 | delete[] str; | ||
| 94 | _com_issue_error(HRESULT_FROM_WIN32(err)); | ||
| 95 | return NULL; | ||
| 96 | } | ||
| 97 | return str; | ||
| 98 | } | ||
| 56 | } | 99 | } |
| 57 | 100 | ||
| 58 | class _bstr_t { | 101 | class _bstr_t { |
lib/libc/include/any-windows-any/conio.h+69-185| ... | @@ -8,17 +8,53 @@ | ... | @@ -8,17 +8,53 @@ |
| 8 | 8 | ||
| 9 | #include <crtdefs.h> | 9 | #include <crtdefs.h> |
| 10 | #include <corecrt_stdio_config.h> | 10 | #include <corecrt_stdio_config.h> |
| 11 | #include <corecrt_wconio.h> | ||
| 11 | #include <stddef.h> | 12 | #include <stddef.h> |
| 12 | 13 | ||
| 13 | #ifdef __cplusplus | 14 | #ifdef __cplusplus |
| 14 | extern "C" { | 15 | extern "C" { |
| 15 | #endif | 16 | #endif |
| 16 | 17 | ||
| 17 | _CRTIMP char *_cgets(char *_Buffer) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 18 | /** |
| 19 | * Functions to read/write strings from/to console. | ||
| 20 | */ | ||
| 21 | |||
| 22 | _CRTIMP char *__cdecl _cgets(char *_Buffer) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | ||
| 18 | _CRTIMP int __cdecl _cputs(const char *_Str); | 23 | _CRTIMP int __cdecl _cputs(const char *_Str); |
| 24 | |||
| 25 | #ifndef	NO_OLDNAMES | ||
| 26 | char *__cdecl cgets(char *_Buffer) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 27 | int __cdecl cputs(const char *_Str) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 28 | #endif | ||
| 29 | |||
| 30 | /** | ||
| 31 | * Functions to read/write single characters from/to console. | ||
| 32 | */ | ||
| 33 | |||
| 34 | _CRTIMP int __cdecl _kbhit(void); | ||
| 19 | _CRTIMP int __cdecl _getch(void); | 35 | _CRTIMP int __cdecl _getch(void); |
| 20 | _CRTIMP int __cdecl _getche(void); | 36 | _CRTIMP int __cdecl _getche(void); |
| 21 | _CRTIMP int __cdecl _kbhit(void); | 37 | _CRTIMP int __cdecl _putch(int _Ch); |
| 38 | _CRTIMP int __cdecl _ungetch(int _Ch); | ||
| 39 | |||
| 40 | #ifndef	NO_OLDNAMES | ||
| 41 | int __cdecl kbhit(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 42 | int __cdecl getch(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 43 | int __cdecl getche(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 44 | int __cdecl putch(int _Ch) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 45 | int __cdecl ungetch(int _Ch) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 46 | #endif | ||
| 47 | |||
| 48 | #if __MSVCRT_VERSION__ >= 0x800 | ||
| 49 | _CRTIMP int __cdecl _getch_nolock(void); | ||
| 50 | _CRTIMP int __cdecl _getche_nolock(void); | ||
| 51 | _CRTIMP int __cdecl _putch_nolock(int _Ch); | ||
| 52 | _CRTIMP int __cdecl _ungetch_nolock(int _Ch); | ||
| 53 | #endif | ||
| 54 | |||
| 55 | /** | ||
| 56 | * Formatted console I/O functions. | ||
| 57 | */ | ||
| 22 | 58 | ||
| 23 | #ifdef _UCRT | 59 | #ifdef _UCRT |
| 24 | int __cdecl __conio_common_vcprintf(unsigned __int64 _Options, const char *_Format, _locale_t _Locale, va_list _ArgList); | 60 | int __cdecl __conio_common_vcprintf(unsigned __int64 _Options, const char *_Format, _locale_t _Locale, va_list _ArgList); |
| ... | @@ -59,7 +95,6 @@ extern "C" { | ... | @@ -59,7 +95,6 @@ extern "C" { |
| 59 | __builtin_va_end(_ArgList); | 95 | __builtin_va_end(_ArgList); |
| 60 | return _Ret; | 96 | return _Ret; |
| 61 | } | 97 | } |
| 62 | |||
| 63 | __mingw_ovr int __cdecl _vcprintf_p(const char * __restrict__ _Format,va_list _ArgList) | 98 | __mingw_ovr int __cdecl _vcprintf_p(const char * __restrict__ _Format,va_list _ArgList) |
| 64 | { | 99 | { |
| 65 | return __conio_common_vcprintf_p(0, _Format, NULL, _ArgList); | 100 | return __conio_common_vcprintf_p(0, _Format, NULL, _ArgList); |
| ... | @@ -99,153 +134,7 @@ extern "C" { | ... | @@ -99,153 +134,7 @@ extern "C" { |
| 99 | __builtin_va_end(_ArgList); | 134 | __builtin_va_end(_ArgList); |
| 100 | return _Ret; | 135 | return _Ret; |
| 101 | } | 136 | } |
| 102 | #else | ||
| 103 | _CRTIMP int __cdecl _cprintf(const char * __restrict__ _Format,...); | ||
| 104 | _CRTIMP int __cdecl _cscanf(const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | ||
| 105 | _CRTIMP int __cdecl _cscanf_l(const char * __restrict__ _Format,_locale_t _Locale,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | ||
| 106 | |||
| 107 | _CRTIMP int __cdecl _vcprintf(const char * __restrict__ _Format,va_list _ArgList); | ||
| 108 | _CRTIMP int __cdecl _cprintf_p(const char * __restrict__ _Format,...); | ||
| 109 | _CRTIMP int __cdecl _vcprintf_p(const char * __restrict__ _Format,va_list _ArgList); | ||
| 110 | _CRTIMP int __cdecl _cprintf_l(const char * __restrict__ _Format,_locale_t _Locale,...); | ||
| 111 | _CRTIMP int __cdecl _vcprintf_l(const char * __restrict__ _Format,_locale_t _Locale,va_list _ArgList); | ||
| 112 | _CRTIMP int __cdecl _cprintf_p_l(const char * __restrict__ _Format,_locale_t _Locale,...); | ||
| 113 | _CRTIMP int __cdecl _vcprintf_p_l(const char * __restrict__ _Format,_locale_t _Locale,va_list _ArgList); | ||
| 114 | #endif | ||
| 115 | |||
| 116 | #if defined(_X86_) && !defined(__x86_64) | ||
| 117 | int __cdecl _inp(unsigned short); | ||
| 118 | unsigned short __cdecl _inpw(unsigned short); | ||
| 119 | unsigned long __cdecl _inpd(unsigned short); | ||
| 120 | int __cdecl _outp(unsigned short,int); | ||
| 121 | unsigned short __cdecl _outpw(unsigned short,unsigned short); | ||
| 122 | unsigned long __cdecl _outpd(unsigned short,unsigned long); | ||
| 123 | #endif | ||
| 124 | |||
| 125 | _CRTIMP int __cdecl _putch(int _Ch); | ||
| 126 | _CRTIMP int __cdecl _ungetch(int _Ch); | ||
| 127 | #if __MSVCRT_VERSION__ >= 0x800 | ||
| 128 | _CRTIMP int __cdecl _getch_nolock(void); | ||
| 129 | _CRTIMP int __cdecl _getche_nolock(void); | ||
| 130 | _CRTIMP int __cdecl _putch_nolock(int _Ch); | ||
| 131 | _CRTIMP int __cdecl _ungetch_nolock(int _Ch); | ||
| 132 | #endif | ||
| 133 | |||
| 134 | #ifndef _WCONIO_DEFINED | ||
| 135 | #define _WCONIO_DEFINED | ||
| 136 | |||
| 137 | #ifndef WEOF | ||
| 138 | #define WEOF (wint_t)(0xFFFF) | ||
| 139 | #endif | ||
| 140 | |||
| 141 | _CRTIMP wchar_t *_cgetws(wchar_t *_Buffer) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | ||
| 142 | _CRTIMP wint_t __cdecl _getwch(void); | ||
| 143 | _CRTIMP wint_t __cdecl _getwche(void); | ||
| 144 | _CRTIMP wint_t __cdecl _putwch(wchar_t _WCh); | ||
| 145 | _CRTIMP wint_t __cdecl _ungetwch(wint_t _WCh); | ||
| 146 | _CRTIMP int __cdecl _cputws(const wchar_t *_String); | ||
| 147 | #ifdef _UCRT | ||
| 148 | int __cdecl __conio_common_vcwprintf(unsigned __int64 _Options, const wchar_t *_Format, _locale_t _Locale, va_list _ArgList); | ||
| 149 | int __cdecl __conio_common_vcwprintf_p(unsigned __int64 _Options, const wchar_t *_Format, _locale_t _Locale, va_list _ArgList); | ||
| 150 | int __cdecl __conio_common_vcwprintf_s(unsigned __int64 _Options, const wchar_t *_Format, _locale_t _Locale, va_list _ArgList); | ||
| 151 | int __cdecl __conio_common_vcwscanf(unsigned __int64 _Options, const wchar_t *_Format, _locale_t _Locale, va_list _ArgList); | ||
| 152 | |||
| 153 | __mingw_ovr int __cdecl _vcwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList) | ||
| 154 | { | ||
| 155 | return __conio_common_vcwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Format, NULL, _ArgList); | ||
| 156 | } | ||
| 157 | __mingw_ovr int __cdecl _cwprintf(const wchar_t * __restrict__ _Format,...) | ||
| 158 | { | ||
| 159 | __builtin_va_list _ArgList; | ||
| 160 | int _Ret; | ||
| 161 | __builtin_va_start(_ArgList, _Format); | ||
| 162 | _Ret = _vcwprintf(_Format, _ArgList); | ||
| 163 | __builtin_va_end(_ArgList); | ||
| 164 | return _Ret; | ||
| 165 | } | ||
| 166 | __mingw_ovr __MINGW_ATTRIB_DEPRECATED_SEC_WARN | ||
| 167 | int __cdecl _cwscanf(const wchar_t * __restrict__ _Format,...) | ||
| 168 | { | ||
| 169 | __builtin_va_list _ArgList; | ||
| 170 | int _Ret; | ||
| 171 | __builtin_va_start(_ArgList, _Format); | ||
| 172 | _Ret = __conio_common_vcwscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, _Format, NULL, _ArgList); | ||
| 173 | __builtin_va_end(_ArgList); | ||
| 174 | return _Ret; | ||
| 175 | } | ||
| 176 | __mingw_ovr __MINGW_ATTRIB_DEPRECATED_SEC_WARN | ||
| 177 | int __cdecl _cwscanf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...) | ||
| 178 | { | ||
| 179 | __builtin_va_list _ArgList; | ||
| 180 | int _Ret; | ||
| 181 | __builtin_va_start(_ArgList, _Locale); | ||
| 182 | _Ret = __conio_common_vcwscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, _Format, _Locale, _ArgList); | ||
| 183 | __builtin_va_end(_ArgList); | ||
| 184 | return _Ret; | ||
| 185 | } | ||
| 186 | __mingw_ovr int __cdecl _vcwprintf_p(const wchar_t * __restrict__ _Format,va_list _ArgList) | ||
| 187 | { | ||
| 188 | return __conio_common_vcwprintf_p(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Format, NULL, _ArgList); | ||
| 189 | } | ||
| 190 | __mingw_ovr int __cdecl _cwprintf_p(const wchar_t * __restrict__ _Format,...) | ||
| 191 | { | ||
| 192 | __builtin_va_list _ArgList; | ||
| 193 | int _Ret; | ||
| 194 | __builtin_va_start(_ArgList, _Format); | ||
| 195 | _Ret = _vcwprintf_p(_Format, _ArgList); | ||
| 196 | __builtin_va_end(_ArgList); | ||
| 197 | return _Ret; | ||
| 198 | } | ||
| 199 | __mingw_ovr int __cdecl _vcwprintf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList) | ||
| 200 | { | ||
| 201 | return __conio_common_vcwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Format, _Locale, _ArgList); | ||
| 202 | } | ||
| 203 | __mingw_ovr int __cdecl _cwprintf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...) | ||
| 204 | { | ||
| 205 | __builtin_va_list _ArgList; | ||
| 206 | int _Ret; | ||
| 207 | __builtin_va_start(_ArgList, _Locale); | ||
| 208 | _Ret = _vcwprintf_l(_Format, _Locale, _ArgList); | ||
| 209 | __builtin_va_end(_ArgList); | ||
| 210 | return _Ret; | ||
| 211 | } | ||
| 212 | __mingw_ovr int __cdecl _vcwprintf_p_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList) | ||
| 213 | { | ||
| 214 | return __conio_common_vcwprintf_p(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Format, _Locale, _ArgList); | ||
| 215 | } | ||
| 216 | __mingw_ovr int __cdecl _cwprintf_p_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...) | ||
| 217 | { | ||
| 218 | __builtin_va_list _ArgList; | ||
| 219 | int _Ret; | ||
| 220 | __builtin_va_start(_ArgList, _Locale); | ||
| 221 | _Ret = _vcwprintf_p_l(_Format, _Locale, _ArgList); | ||
| 222 | __builtin_va_end(_ArgList); | ||
| 223 | return _Ret; | ||
| 224 | } | ||
| 225 | #else | ||
| 226 | _CRTIMP int __cdecl _cwprintf(const wchar_t * __restrict__ _Format,...); | ||
| 227 | _CRTIMP int __cdecl _cwscanf(const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | ||
| 228 | _CRTIMP int __cdecl _cwscanf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | ||
| 229 | _CRTIMP int __cdecl _vcwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList); | ||
| 230 | _CRTIMP int __cdecl _cwprintf_p(const wchar_t * __restrict__ _Format,...); | ||
| 231 | _CRTIMP int __cdecl _vcwprintf_p(const wchar_t * __restrict__ _Format,va_list _ArgList); | ||
| 232 | _CRTIMP int __cdecl _cwprintf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...); | ||
| 233 | _CRTIMP int __cdecl _vcwprintf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList); | ||
| 234 | _CRTIMP int __cdecl _cwprintf_p_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...); | ||
| 235 | _CRTIMP int __cdecl _vcwprintf_p_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList); | ||
| 236 | #endif | ||
| 237 | #if __MSVCRT_VERSION__ >= 0x800 | ||
| 238 | _CRTIMP wint_t __cdecl _putwch_nolock(wchar_t _WCh); | ||
| 239 | _CRTIMP wint_t __cdecl _getwch_nolock(void); | ||
| 240 | _CRTIMP wint_t __cdecl _getwche_nolock(void); | ||
| 241 | _CRTIMP wint_t __cdecl _ungetwch_nolock(wint_t _WCh); | ||
| 242 | #endif | ||
| 243 | #endif | ||
| 244 | |||
| 245 | #ifndef	NO_OLDNAMES | 137 | #ifndef	NO_OLDNAMES |
| 246 | char *__cdecl cgets(char *_Buffer) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 247 | |||
| 248 | #ifdef _UCRT | ||
| 249 | __mingw_ovr int __cdecl cprintf(const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_MSVC2005 | 138 | __mingw_ovr int __cdecl cprintf(const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_MSVC2005 |
| 250 | { | 139 | { |
| 251 | __builtin_va_list _ArgList; | 140 | __builtin_va_list _ArgList; |
| ... | @@ -264,49 +153,44 @@ extern "C" { | ... | @@ -264,49 +153,44 @@ extern "C" { |
| 264 | __builtin_va_end(_ArgList); | 153 | __builtin_va_end(_ArgList); |
| 265 | return _Ret; | 154 | return _Ret; |
| 266 | } | 155 | } |
| 267 | #else | 156 | #endif /* NO_OLDNAMES */ |
| 157 | #else /* !_UCRT */ | ||
| 158 | _CRTIMP int __cdecl _cprintf(const char * __restrict__ _Format,...); | ||
| 159 | _CRTIMP int __cdecl _cprintf_l(const char * __restrict__ _Format,_locale_t _Locale,...); | ||
| 160 | _CRTIMP int __cdecl _cprintf_p(const char * __restrict__ _Format,...); | ||
| 161 | _CRTIMP int __cdecl _cprintf_p_l(const char * __restrict__ _Format,_locale_t _Locale,...); | ||
| 162 | _CRTIMP int __cdecl _vcprintf(const char * __restrict__ _Format,va_list _ArgList); | ||
| 163 | _CRTIMP int __cdecl _vcprintf_l(const char * __restrict__ _Format,_locale_t _Locale,va_list _ArgList); | ||
| 164 | _CRTIMP int __cdecl _vcprintf_p(const char * __restrict__ _Format,va_list _ArgList); | ||
| 165 | _CRTIMP int __cdecl _vcprintf_p_l(const char * __restrict__ _Format,_locale_t _Locale,va_list _ArgList); | ||
| 166 | _CRTIMP int __cdecl _cscanf(const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | ||
| 167 | _CRTIMP int __cdecl _cscanf_l(const char * __restrict__ _Format,_locale_t _Locale,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | ||
| 168 | #ifndef	NO_OLDNAMES | ||
| 268 | int __cdecl cprintf(const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 169 | int __cdecl cprintf(const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 269 | int __cdecl cscanf(const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 170 | int __cdecl cscanf(const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 270 | #endif | 171 | #endif /* NO_OLDNAMES */ |
| 271 | int __cdecl cputs(const char *_Str) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 172 | #endif /* _UCRT */ |
| 272 | int __cdecl getch(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 173 | |
| 273 | int __cdecl getche(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 174 | /** |
| 274 | int __cdecl kbhit(void) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 175 | * Port I/O functions. |
| 275 | int __cdecl putch(int _Ch) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 176 | * |
| 276 | int __cdecl ungetch(int _Ch) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 177 | * These functions were removed from CRT in msvcr80.dll. |
| 178 | * They are still available in i386 system versions of msvcrt.dll. | ||
| 179 | */ | ||
| 277 | 180 | ||
| 278 | #if (defined(_X86_) && !defined(__x86_64)) | 181 | #if (__MSVCRT_VERSION__ >= 0x0400 && __MSVCRT_VERSION__ < 0x0800) && defined(_M_IX86) |
| 182 | int __cdecl _inp(unsigned short); | ||
| 183 | unsigned short __cdecl _inpw(unsigned short); | ||
| 184 | unsigned long __cdecl _inpd(unsigned short); | ||
| 185 | int __cdecl _outp(unsigned short,int); | ||
| 186 | unsigned short __cdecl _outpw(unsigned short,unsigned short); | ||
| 187 | unsigned long __cdecl _outpd(unsigned short,unsigned long); | ||
| 188 | #ifndef	NO_OLDNAMES | ||
| 279 | int __cdecl inp(unsigned short) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 189 | int __cdecl inp(unsigned short) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 280 | unsigned short __cdecl inpw(unsigned short) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 190 | unsigned short __cdecl inpw(unsigned short) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 281 | int __cdecl outp(unsigned short,int) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 191 | int __cdecl outp(unsigned short,int) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 282 | unsigned short __cdecl outpw(unsigned short,unsigned short) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 192 | unsigned short __cdecl outpw(unsigned short,unsigned short) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 283 | #endif | 193 | #endif /* NO_OLDNAMES */ |
| 284 | |||
| 285 | /* __cpuid moved to intrin.h per msdn */ | ||
| 286 | /* __inbyte moved to intrin.h per msdn */ | ||
| 287 | /* __inbytestring moved to intrin.h per msdn */ | ||
| 288 | /* __indword moved to intrin.h per msdn */ | ||
| 289 | /* __indwordstring moved to intrin.h per msdn */ | ||
| 290 | /* __inword moved to intrin.h per msdn */ | ||
| 291 | /* __inwordstring moved to intrin.h per msdn */ | ||
| 292 | /* __outbyte moved to intrin.h per msdn */ | ||
| 293 | /* __outbytestring moved to intrin.h per msdn */ | ||
| 294 | /* __outdword moved to intrin.h per msdn */ | ||
| 295 | /* __outdwordstring moved to intrin.h per msdn */ | ||
| 296 | /* __outword moved to intrin.h per msdn */ | ||
| 297 | /* __outwordstring moved to intrin.h per msdn */ | ||
| 298 | /* __readcr0 moved to intrin.h per msdn */ | ||
| 299 | /* __readcr2 moved to intrin.h per msdn */ | ||
| 300 | /* __readcr3 moved to intrin.h per msdn */ | ||
| 301 | /* __readcr4 moved to intrin.h per msdn */ | ||
| 302 | /* __readcr8 moved to intrin.h per msdn */ | ||
| 303 | /* __readmsr moved to intrin.h per msdn */ | ||
| 304 | /* __writecr0 moved to intrin.h per msdn */ | ||
| 305 | /* __writecr2 moved to intrin.h per msdn */ | ||
| 306 | /* __writecr3 moved to intrin.h per msdn */ | ||
| 307 | /* __writecr4 moved to intrin.h per msdn */ | ||
| 308 | /* __writecr8 moved to intrin.h per msdn */ | ||
| 309 | /* __writemsr moved to intrin.h per msdn */ | ||
| 310 | #endif | 194 | #endif |
| 311 | 195 | ||
| 312 | #ifdef __cplusplus | 196 | #ifdef __cplusplus |
lib/libc/include/any-windows-any/control.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/control.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/corecrt.h+7-35| ... | @@ -151,6 +151,13 @@ typedef __time64_t time_t; | ... | @@ -151,6 +151,13 @@ typedef __time64_t time_t; |
| 151 | #endif | 151 | #endif |
| 152 | #endif | 152 | #endif |
| 153 | 153 | ||
| 154 | #ifdef _DEBUG | ||
| 155 | _CRTIMP void __cdecl _invalid_parameter(const wchar_t *expression, const wchar_t *function_name, const wchar_t *file_name, unsigned int line_number, __UINTPTR_TYPE__ reserved); | ||
| 156 | #endif | ||
| 157 | _CRTIMP void __cdecl _invalid_parameter_noinfo(void); | ||
| 158 | _CRTIMP __MINGW_ATTRIB_NORETURN void __cdecl _invalid_parameter_noinfo_noreturn(void); | ||
| 159 | _CRTIMP __MINGW_ATTRIB_NORETURN void __cdecl _invoke_watson(const wchar_t *expression, const wchar_t *function_name, const wchar_t *file_name, unsigned int line_number, __UINTPTR_TYPE__ reserved); | ||
| 160 | |||
| 154 | #if defined(__cplusplus) && _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES | 161 | #if defined(__cplusplus) && _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES |
| 155 | 162 | ||
| 156 | #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(__ret,__func,__dsttype,__dst) \ | 163 | #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(__ret,__func,__dsttype,__dst) \ |
| ... | @@ -447,41 +454,6 @@ typedef struct tagLC_ID { | ... | @@ -447,41 +454,6 @@ typedef struct tagLC_ID { |
| 447 | } LC_ID,*LPLC_ID; | 454 | } LC_ID,*LPLC_ID; |
| 448 | #endif /* _TAGLC_ID_DEFINED */ | 455 | #endif /* _TAGLC_ID_DEFINED */ |
| 449 | 456 | ||
| 450 | #ifndef _THREADLOCALEINFO | ||
| 451 | #define _THREADLOCALEINFO | ||
| 452 | typedef struct threadlocaleinfostruct { | ||
| 453 | #ifdef _UCRT | ||
| 454 | const unsigned short *_locale_pctype; | ||
| 455 | int _locale_mb_cur_max; | ||
| 456 | unsigned int _locale_lc_codepage; | ||
| 457 | #else | ||
| 458 | int refcount; | ||
| 459 | unsigned int lc_codepage; | ||
| 460 | unsigned int lc_collate_cp; | ||
| 461 | unsigned long lc_handle[6]; | ||
| 462 | LC_ID lc_id[6]; | ||
| 463 | struct { | ||
| 464 | char *locale; | ||
| 465 | wchar_t *wlocale; | ||
| 466 | int *refcount; | ||
| 467 | int *wrefcount; | ||
| 468 | } lc_category[6]; | ||
| 469 | int lc_clike; | ||
| 470 | int mb_cur_max; | ||
| 471 | int *lconv_intl_refcount; | ||
| 472 | int *lconv_num_refcount; | ||
| 473 | int *lconv_mon_refcount; | ||
| 474 | struct lconv *lconv; | ||
| 475 | int *ctype1_refcount; | ||
| 476 | unsigned short *ctype1; | ||
| 477 | const unsigned short *pctype; | ||
| 478 | const unsigned char *pclmap; | ||
| 479 | const unsigned char *pcumap; | ||
| 480 | struct __lc_time_data *lc_time_curr; | ||
| 481 | #endif | ||
| 482 | } threadlocinfo; | ||
| 483 | #endif /* _THREADLOCALEINFO */ | ||
| 484 | |||
| 485 | #ifndef __crt_typefix | 457 | #ifndef __crt_typefix |
| 486 | #define __crt_typefix(ctype) | 458 | #define __crt_typefix(ctype) |
| 487 | #endif | 459 | #endif |
lib/libc/include/any-windows-any/corecrt_memory.h created+57| ... | @@ -0,0 +1,57 @@ | ||
| 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_MEMORY | ||
| 7 | #define _INC_CORECRT_MEMORY | ||
| 8 | |||
| 9 | #include <crtdefs.h> | ||
| 10 | |||
| 11 | #if defined(__LIBMSVCRT__) | ||
| 12 | /* When building mingw-w64, this should be blank. */ | ||
| 13 | #define _SECIMP | ||
| 14 | #else | ||
| 15 | #ifndef _SECIMP | ||
| 16 | #define _SECIMP __declspec(dllimport) | ||
| 17 | #endif /* _SECIMP */ | ||
| 18 | #endif /* defined(__LIBMSVCRT__) */ | ||
| 19 | |||
| 20 | #ifdef __cplusplus | ||
| 21 | extern "C" { | ||
| 22 | #endif | ||
| 23 | |||
| 24 | #ifndef _CONST_RETURN | ||
| 25 | #define _CONST_RETURN | ||
| 26 | #endif | ||
| 27 | |||
| 28 | #define _WConst_return _CONST_RETURN | ||
| 29 | |||
| 30 | #ifndef _CRT_MEMORY_DEFINED | ||
| 31 | #define _CRT_MEMORY_DEFINED | ||
| 32 | _CRTIMP void *__cdecl _memccpy(void *_Dst,const void *_Src,int _Val,size_t _MaxCount); | ||
| 33 | #if !defined(__STRICT_ANSI__) || defined(_GNU_SOURCE) || __STDC_VERSION__ + 0 >= 202311L || _XOPEN_SOURCE + 0 >= 600 | ||
| 34 | void * __cdecl memccpy(void *_Dst,const void *_Src,int _Val,size_t _Size); | ||
| 35 | #endif | ||
| 36 | _CONST_RETURN void *__cdecl memchr(const void *_Buf ,int _Val,size_t _MaxCount); | ||
| 37 | _CRTIMP int __cdecl _memicmp(const void *_Buf1,const void *_Buf2,size_t _Size); | ||
| 38 | _CRTIMP int __cdecl _memicmp_l(const void *_Buf1,const void *_Buf2,size_t _Size,_locale_t _Locale); | ||
| 39 | int __cdecl memcmp(const void *_Buf1,const void *_Buf2,size_t _Size); | ||
| 40 | void * __cdecl memcpy(void * __restrict__ _Dst,const void * __restrict__ _Src,size_t _Size) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | ||
| 41 | _SECIMP errno_t __cdecl memcpy_s (void *_dest,size_t _numberOfElements,const void *_src,size_t _count); | ||
| 42 | void * __cdecl mempcpy (void *_Dst, const void *_Src, size_t _Size); | ||
| 43 | void * __cdecl memset(void *_Dst,int _Val,size_t _Size); | ||
| 44 | #if !defined(__STRICT_ANSI__) || __STDC_VERSION__ + 0 >= 202311L | ||
| 45 | void * __cdecl memset_explicit(void *_Dst,int _Val,size_t _Size); | ||
| 46 | #endif | ||
| 47 | |||
| 48 | #ifndef	NO_OLDNAMES | ||
| 49 | void * __cdecl memccpy(void *_Dst,const void *_Src,int _Val,size_t _Size) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 50 | int __cdecl memicmp(const void *_Buf1,const void *_Buf2,size_t _Size) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 51 | #endif | ||
| 52 | #endif | ||
| 53 | |||
| 54 | #ifdef __cplusplus | ||
| 55 | } | ||
| 56 | #endif | ||
| 57 | #endif | ||
lib/libc/include/any-windows-any/corecrt_stdio_config.h+2-2| ... | @@ -13,8 +13,8 @@ | ... | @@ -13,8 +13,8 @@ |
| 13 | extern "C" { | 13 | extern "C" { |
| 14 | #endif | 14 | #endif |
| 15 | 15 | ||
| 16 | unsigned __int64* __local_stdio_printf_options(void); | 16 | unsigned __int64* __cdecl __local_stdio_printf_options(void); |
| 17 | unsigned __int64* __local_stdio_scanf_options(void); | 17 | unsigned __int64* __cdecl __local_stdio_scanf_options(void); |
| 18 | 18 | ||
| 19 | #define _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION 0x0001ULL | 19 | #define _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION 0x0001ULL |
| 20 | #define _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR 0x0002ULL | 20 | #define _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR 0x0002ULL |
lib/libc/include/any-windows-any/corecrt_wconio.h created+146| ... | @@ -0,0 +1,146 @@ | ||
| 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 | #ifndef _INC_CORECRT_WCONIO | ||
| 8 | #define _INC_CORECRT_WCONIO | ||
| 9 | |||
| 10 | #include <corecrt.h> | ||
| 11 | #include <corecrt_stdio_config.h> | ||
| 12 | #include <stddef.h> | ||
| 13 | |||
| 14 | #ifdef __cplusplus | ||
| 15 | extern "C" { | ||
| 16 | #endif | ||
| 17 | |||
| 18 | #ifndef WEOF | ||
| 19 | #define WEOF (wint_t)(0xFFFF) | ||
| 20 | #endif | ||
| 21 | |||
| 22 | /** | ||
| 23 | * Functions to read/write strings from/to console. | ||
| 24 | */ | ||
| 25 | |||
| 26 | _CRTIMP wchar_t *__cdecl _cgetws(wchar_t *_Buffer) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | ||
| 27 | _CRTIMP int __cdecl _cputws(const wchar_t *_String); | ||
| 28 | |||
| 29 | /** | ||
| 30 | * Functions to read/write single characters from/to console. | ||
| 31 | */ | ||
| 32 | |||
| 33 | _CRTIMP wint_t __cdecl _getwch(void); | ||
| 34 | _CRTIMP wint_t __cdecl _getwche(void); | ||
| 35 | _CRTIMP wint_t __cdecl _putwch(wchar_t _WCh); | ||
| 36 | _CRTIMP wint_t __cdecl _ungetwch(wint_t _WCh); | ||
| 37 | |||
| 38 | #if __MSVCRT_VERSION__ >= 0x800 | ||
| 39 | _CRTIMP wint_t __cdecl _getwch_nolock(void); | ||
| 40 | _CRTIMP wint_t __cdecl _getwche_nolock(void); | ||
| 41 | _CRTIMP wint_t __cdecl _putwch_nolock(wchar_t _WCh); | ||
| 42 | _CRTIMP wint_t __cdecl _ungetwch_nolock(wint_t _WCh); | ||
| 43 | #endif | ||
| 44 | |||
| 45 | /** | ||
| 46 | * Formatted console I/O functions. | ||
| 47 | */ | ||
| 48 | |||
| 49 | #ifdef _UCRT | ||
| 50 | int __cdecl __conio_common_vcwprintf(unsigned __int64 _Options, const wchar_t *_Format, _locale_t _Locale, va_list _ArgList); | ||
| 51 | int __cdecl __conio_common_vcwprintf_p(unsigned __int64 _Options, const wchar_t *_Format, _locale_t _Locale, va_list _ArgList); | ||
| 52 | int __cdecl __conio_common_vcwprintf_s(unsigned __int64 _Options, const wchar_t *_Format, _locale_t _Locale, va_list _ArgList); | ||
| 53 | int __cdecl __conio_common_vcwscanf(unsigned __int64 _Options, const wchar_t *_Format, _locale_t _Locale, va_list _ArgList); | ||
| 54 | |||
| 55 | __mingw_ovr int __cdecl _vcwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList) | ||
| 56 | { | ||
| 57 | return __conio_common_vcwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Format, NULL, _ArgList); | ||
| 58 | } | ||
| 59 | __mingw_ovr int __cdecl _cwprintf(const wchar_t * __restrict__ _Format,...) | ||
| 60 | { | ||
| 61 | __builtin_va_list _ArgList; | ||
| 62 | int _Ret; | ||
| 63 | __builtin_va_start(_ArgList, _Format); | ||
| 64 | _Ret = _vcwprintf(_Format, _ArgList); | ||
| 65 | __builtin_va_end(_ArgList); | ||
| 66 | return _Ret; | ||
| 67 | } | ||
| 68 | __mingw_ovr __MINGW_ATTRIB_DEPRECATED_SEC_WARN | ||
| 69 | int __cdecl _cwscanf(const wchar_t * __restrict__ _Format,...) | ||
| 70 | { | ||
| 71 | __builtin_va_list _ArgList; | ||
| 72 | int _Ret; | ||
| 73 | __builtin_va_start(_ArgList, _Format); | ||
| 74 | _Ret = __conio_common_vcwscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, _Format, NULL, _ArgList); | ||
| 75 | __builtin_va_end(_ArgList); | ||
| 76 | return _Ret; | ||
| 77 | } | ||
| 78 | __mingw_ovr __MINGW_ATTRIB_DEPRECATED_SEC_WARN | ||
| 79 | int __cdecl _cwscanf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...) | ||
| 80 | { | ||
| 81 | __builtin_va_list _ArgList; | ||
| 82 | int _Ret; | ||
| 83 | __builtin_va_start(_ArgList, _Locale); | ||
| 84 | _Ret = __conio_common_vcwscanf(_CRT_INTERNAL_LOCAL_SCANF_OPTIONS, _Format, _Locale, _ArgList); | ||
| 85 | __builtin_va_end(_ArgList); | ||
| 86 | return _Ret; | ||
| 87 | } | ||
| 88 | __mingw_ovr int __cdecl _vcwprintf_p(const wchar_t * __restrict__ _Format,va_list _ArgList) | ||
| 89 | { | ||
| 90 | return __conio_common_vcwprintf_p(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Format, NULL, _ArgList); | ||
| 91 | } | ||
| 92 | __mingw_ovr int __cdecl _cwprintf_p(const wchar_t * __restrict__ _Format,...) | ||
| 93 | { | ||
| 94 | __builtin_va_list _ArgList; | ||
| 95 | int _Ret; | ||
| 96 | __builtin_va_start(_ArgList, _Format); | ||
| 97 | _Ret = _vcwprintf_p(_Format, _ArgList); | ||
| 98 | __builtin_va_end(_ArgList); | ||
| 99 | return _Ret; | ||
| 100 | } | ||
| 101 | __mingw_ovr int __cdecl _vcwprintf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList) | ||
| 102 | { | ||
| 103 | return __conio_common_vcwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Format, _Locale, _ArgList); | ||
| 104 | } | ||
| 105 | __mingw_ovr int __cdecl _cwprintf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...) | ||
| 106 | { | ||
| 107 | __builtin_va_list _ArgList; | ||
| 108 | int _Ret; | ||
| 109 | __builtin_va_start(_ArgList, _Locale); | ||
| 110 | _Ret = _vcwprintf_l(_Format, _Locale, _ArgList); | ||
| 111 | __builtin_va_end(_ArgList); | ||
| 112 | return _Ret; | ||
| 113 | } | ||
| 114 | __mingw_ovr int __cdecl _vcwprintf_p_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList) | ||
| 115 | { | ||
| 116 | return __conio_common_vcwprintf_p(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Format, _Locale, _ArgList); | ||
| 117 | } | ||
| 118 | __mingw_ovr int __cdecl _cwprintf_p_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...) | ||
| 119 | { | ||
| 120 | __builtin_va_list _ArgList; | ||
| 121 | int _Ret; | ||
| 122 | __builtin_va_start(_ArgList, _Locale); | ||
| 123 | _Ret = _vcwprintf_p_l(_Format, _Locale, _ArgList); | ||
| 124 | __builtin_va_end(_ArgList); | ||
| 125 | return _Ret; | ||
| 126 | } | ||
| 127 | #else /* !_UCRT */ | ||
| 128 | _CRTIMP int __cdecl _cwprintf(const wchar_t * __restrict__ _Format,...); | ||
| 129 | _CRTIMP int __cdecl _cwprintf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...); | ||
| 130 | _CRTIMP int __cdecl _cwprintf_p(const wchar_t * __restrict__ _Format,...); | ||
| 131 | _CRTIMP int __cdecl _cwprintf_p_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...); | ||
| 132 | _CRTIMP int __cdecl _vcwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList); | ||
| 133 | _CRTIMP int __cdecl _vcwprintf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList); | ||
| 134 | _CRTIMP int __cdecl _vcwprintf_p(const wchar_t * __restrict__ _Format,va_list _ArgList); | ||
| 135 | _CRTIMP int __cdecl _vcwprintf_p_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList); | ||
| 136 | _CRTIMP int __cdecl _cwscanf(const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | ||
| 137 | _CRTIMP int __cdecl _cwscanf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | ||
| 138 | #endif /* _UCRT */ | ||
| 139 | |||
| 140 | #ifdef __cplusplus | ||
| 141 | } | ||
| 142 | #endif | ||
| 143 | |||
| 144 | #include <sec_api/wconio_s.h> | ||
| 145 | |||
| 146 | #endif /* _INC_CORECRT_WCONIO */ | ||
lib/libc/include/any-windows-any/corecrt_wctype.h+124-105| ... | @@ -12,45 +12,31 @@ | ... | @@ -12,45 +12,31 @@ |
| 12 | extern "C" { | 12 | extern "C" { |
| 13 | #endif | 13 | #endif |
| 14 | 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 | 15 | #ifndef WEOF |
| 22 | #define WEOF (wint_t)(0xFFFF) | 16 | #define WEOF (wint_t)(0xFFFF) |
| 23 | #endif | 17 | #endif |
| 24 | 18 | ||
| 25 | #ifndef _CRT_CTYPEDATA_DEFINED | ||
| 26 | #define _CRT_CTYPEDATA_DEFINED | ||
| 27 | #ifndef _CTYPE_DISABLE_MACROS | 19 | #ifndef _CTYPE_DISABLE_MACROS |
| 20 | _CRTIMP const unsigned short* __cdecl __pctype_func(void); | ||
| 21 | _CRTIMP const wctype_t * __cdecl __pwctype_func(void); | ||
| 28 | 22 | ||
| 29 | #ifndef __PCTYPE_FUNC | 23 | #ifndef __PCTYPE_FUNC |
| 30 | #define __PCTYPE_FUNC __pctype_func() | 24 | #define __PCTYPE_FUNC __pctype_func() |
| 31 | _CRTIMP const unsigned short* __pctype_func(void); | ||
| 32 | #endif | 25 | #endif |
| 33 | 26 | ||
| 34 | #ifndef _pctype | 27 | #ifndef _pctype |
| 35 | #define _pctype (__pctype_func()) | 28 | #define _pctype (__pctype_func()) |
| 36 | #endif | 29 | #endif |
| 37 | 30 | ||
| 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 | 31 | #ifndef _pwctype |
| 51 | #define _pwctype (__pwctype_func()) | 32 | #define _pwctype (__pwctype_func()) |
| 52 | #endif | 33 | #endif |
| 53 | #endif | 34 | #endif /* !_CTYPE_DISABLE_MACROS */ |
| 35 | |||
| 36 | #if __MSVCRT_VERSION__ >= 0x0600 | ||
| 37 | #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP | ||
| 38 | extern _CRTIMP const unsigned short *_wctype; | ||
| 39 | #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */ | ||
| 54 | #endif | 40 | #endif |
| 55 | 41 | ||
| 56 | #define _UPPER 0x1 | 42 | #define _UPPER 0x1 |
| ... | @@ -66,95 +52,128 @@ extern "C" { | ... | @@ -66,95 +52,128 @@ extern "C" { |
| 66 | #define _LEADBYTE 0x8000 | 52 | #define _LEADBYTE 0x8000 |
| 67 | #define _ALPHA (0x0100|_UPPER|_LOWER) | 53 | #define _ALPHA (0x0100|_UPPER|_LOWER) |
| 68 | 54 | ||
| 69 | #ifndef _WCTYPE_DEFINED | 55 | /** |
| 70 | #define _WCTYPE_DEFINED | 56 | * Standard C functions. |
| 71 | 57 | */ | |
| 72 | _CRTIMP int __cdecl iswalpha(wint_t _C); | 58 | |
| 73 | _CRTIMP int __cdecl iswupper(wint_t _C); | 59 | _CRTIMP int __cdecl iswctype(wint_t _C,wctype_t _Type); |
| 74 | _CRTIMP int __cdecl iswlower(wint_t _C); | 60 | |
| 75 | _CRTIMP int __cdecl iswdigit(wint_t _C); | 61 | _CRTIMP int __cdecl iswalnum(wint_t _C); |
| 76 | _CRTIMP int __cdecl iswxdigit(wint_t _C); | 62 | _CRTIMP int __cdecl iswalpha(wint_t _C); |
| 77 | _CRTIMP int __cdecl iswspace(wint_t _C); | 63 | _CRTIMP int __cdecl iswblank(wint_t _C); |
| 78 | _CRTIMP int __cdecl iswpunct(wint_t _C); | 64 | _CRTIMP int __cdecl iswcntrl(wint_t _C); |
| 79 | _CRTIMP int __cdecl iswalnum(wint_t _C); | 65 | _CRTIMP int __cdecl iswdigit(wint_t _C); |
| 80 | _CRTIMP int __cdecl iswprint(wint_t _C); | 66 | _CRTIMP int __cdecl iswgraph(wint_t _C); |
| 81 | _CRTIMP int __cdecl iswgraph(wint_t _C); | 67 | _CRTIMP int __cdecl iswlower(wint_t _C); |
| 82 | _CRTIMP int __cdecl iswcntrl(wint_t _C); | 68 | _CRTIMP int __cdecl iswprint(wint_t _C); |
| 83 | _CRTIMP int __cdecl iswascii(wint_t _C); | 69 | _CRTIMP int __cdecl iswpunct(wint_t _C); |
| 84 | #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP | 70 | _CRTIMP int __cdecl iswspace(wint_t _C); |
| 85 | _CRTIMP int __cdecl isleadbyte(int _C); | 71 | _CRTIMP int __cdecl iswupper(wint_t _C); |
| 86 | #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */ | 72 | _CRTIMP int __cdecl iswxdigit(wint_t _C); |
| 87 | _CRTIMP wint_t __cdecl towupper(wint_t _C); | 73 | |
| 88 | _CRTIMP wint_t __cdecl towlower(wint_t _C); | 74 | _CRTIMP wint_t __cdecl towlower(wint_t _C); |
| 89 | _CRTIMP int __cdecl iswctype(wint_t _C,wctype_t _Type); | 75 | _CRTIMP wint_t __cdecl towupper(wint_t _C); |
| 90 | _CRTIMP int __cdecl __iswcsymf(wint_t _C); | 76 | |
| 91 | _CRTIMP int __cdecl __iswcsym(wint_t _C); | 77 | #if !defined(_CTYPE_DISABLE_MACROS) && !defined(__cplusplus) |
| 92 | _CRTIMP int __cdecl iswblank(wint_t _C); | 78 | #define iswalnum(_c) (iswctype(_c,_ALPHA|_DIGIT)) |
| 93 | #if __MSVCRT_VERSION__ >= 0x800 || (__MSVCRT_VERSION__ == 0x600 && _WIN32_WINNT >= 0x0600) | 79 | #define iswalpha(_c) (iswctype(_c,_ALPHA)) |
| 94 | /* These are available since msvcr80.dll (__MSVCRT_VERSION__ >= 0x800), and in | 80 | #define iswblank(_c) (iswctype(_c,_BLANK)) |
| 95 | * msvcrt.dll (__MSVCRT_VERSION__ == 0x600) since Vista (_WIN32_WINNT >= 0x0600). */ | 81 | #define iswcntrl(_c) (iswctype(_c,_CONTROL)) |
| 96 | _CRTIMP int __cdecl _iswalpha_l(wint_t _C,_locale_t _Locale); | 82 | #define iswdigit(_c) (iswctype(_c,_DIGIT)) |
| 97 | _CRTIMP int __cdecl _iswupper_l(wint_t _C,_locale_t _Locale); | 83 | #define iswgraph(_c) (iswctype(_c,_PUNCT|_ALPHA|_DIGIT)) |
| 98 | _CRTIMP int __cdecl _iswlower_l(wint_t _C,_locale_t _Locale); | 84 | #define iswlower(_c) (iswctype(_c,_LOWER)) |
| 99 | _CRTIMP int __cdecl _iswdigit_l(wint_t _C,_locale_t _Locale); | 85 | #define iswprint(_c) (iswctype(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT)) |
| 100 | _CRTIMP int __cdecl _iswxdigit_l(wint_t _C,_locale_t _Locale); | 86 | #define iswpunct(_c) (iswctype(_c,_PUNCT)) |
| 101 | _CRTIMP int __cdecl _iswspace_l(wint_t _C,_locale_t _Locale); | 87 | #define iswspace(_c) (iswctype(_c,_SPACE)) |
| 102 | _CRTIMP int __cdecl _iswpunct_l(wint_t _C,_locale_t _Locale); | 88 | #define iswupper(_c) (iswctype(_c,_UPPER)) |
| 103 | _CRTIMP int __cdecl _iswalnum_l(wint_t _C,_locale_t _Locale); | 89 | #define iswxdigit(_c) (iswctype(_c,_HEX)) |
| 104 | _CRTIMP int __cdecl _iswprint_l(wint_t _C,_locale_t _Locale); | 90 | #endif /* !_CTYPE_DISABLE_MACROS && !__cplusplus */ |
| 105 | _CRTIMP int __cdecl _iswgraph_l(wint_t _C,_locale_t _Locale); | 91 | |
| 106 | _CRTIMP int __cdecl _iswcntrl_l(wint_t _C,_locale_t _Locale); | 92 | /** |
| 107 | _CRTIMP wint_t __cdecl _towupper_l(wint_t _C,_locale_t _Locale); | 93 | * Locale-specific versions of Standard C functions. |
| 108 | _CRTIMP wint_t __cdecl _towlower_l(wint_t _C,_locale_t _Locale); | 94 | * |
| 109 | # ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP | 95 | * They are available since msvcr80.dll. |
| 110 | _CRTIMP int __cdecl _isleadbyte_l(int _C,_locale_t _Locale); | 96 | */ |
| 111 | # endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */ | 97 | |
| 112 | _CRTIMP int __cdecl _iswctype_l(wint_t _C,wctype_t _Type,_locale_t _Locale); | 98 | /* These are also available in msvcrt.dll since Windows Vista. */ |
| 113 | _CRTIMP int __cdecl _iswblank_l(wint_t _C,_locale_t _Locale); | 99 | #if __MSVCRT_VERSION__ >= 0x0800 || (__MSVCRT_VERSION__ == 0x0600 && _WIN32_WINNT >= 0x0600) |
| 114 | #endif | 100 | _CRTIMP int __cdecl _iswctype_l(wint_t _C,wctype_t _Type,_locale_t _Locale); |
| 115 | #if __MSVCRT_VERSION__ >= 0x800 | 101 | |
| 116 | /* These are only available since msvcr80.dll, never in msvcrt.dll. */ | 102 | _CRTIMP int __cdecl _iswalnum_l(wint_t _C,_locale_t _Locale); |
| 117 | _CRTIMP int __cdecl _iswcsymf_l(wint_t _C,_locale_t _Locale); | 103 | _CRTIMP int __cdecl _iswalpha_l(wint_t _C,_locale_t _Locale); |
| 118 | _CRTIMP int __cdecl _iswcsym_l(wint_t _C,_locale_t _Locale); | 104 | _CRTIMP int __cdecl _iswblank_l(wint_t _C,_locale_t _Locale); |
| 105 | _CRTIMP int __cdecl _iswcntrl_l(wint_t _C,_locale_t _Locale); | ||
| 106 | _CRTIMP int __cdecl _iswdigit_l(wint_t _C,_locale_t _Locale); | ||
| 107 | _CRTIMP int __cdecl _iswgraph_l(wint_t _C,_locale_t _Locale); | ||
| 108 | _CRTIMP int __cdecl _iswlower_l(wint_t _C,_locale_t _Locale); | ||
| 109 | _CRTIMP int __cdecl _iswprint_l(wint_t _C,_locale_t _Locale); | ||
| 110 | _CRTIMP int __cdecl _iswpunct_l(wint_t _C,_locale_t _Locale); | ||
| 111 | _CRTIMP int __cdecl _iswspace_l(wint_t _C,_locale_t _Locale); | ||
| 112 | _CRTIMP int __cdecl _iswupper_l(wint_t _C,_locale_t _Locale); | ||
| 113 | _CRTIMP int __cdecl _iswxdigit_l(wint_t _C,_locale_t _Locale); | ||
| 114 | |||
| 115 | _CRTIMP wint_t __cdecl _towlower_l(wint_t _C,_locale_t _Locale); | ||
| 116 | _CRTIMP wint_t __cdecl _towupper_l(wint_t _C,_locale_t _Locale); | ||
| 117 | |||
| 118 | #if !defined(_CTYPE_DISABLE_MACROS) && !defined(__cplusplus) | ||
| 119 | #define _iswalnum_l(_c,_p) (_iswctype_l(_c,_ALPHA|_DIGIT,_p)) | ||
| 120 | #define _iswalpha_l(_c,_p) (_iswctype_l(_c,_ALPHA,_p)) | ||
| 121 | #define _iswblank_l(_c,_p) (((_c) == '\t') || _iswctype_l(_c,_BLANK,_p)) | ||
| 122 | #define _iswcntrl_l(_c,_p) (_iswctype_l(_c,_CONTROL,_p)) | ||
| 123 | #define _iswdigit_l(_c,_p) (_iswctype_l(_c,_DIGIT,_p)) | ||
| 124 | #define _iswgraph_l(_c,_p) (_iswctype_l(_c,_PUNCT|_ALPHA|_DIGIT,_p)) | ||
| 125 | #define _iswlower_l(_c,_p) (_iswctype_l(_c,_LOWER,_p)) | ||
| 126 | #define _iswprint_l(_c,_p) (_iswctype_l(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT,_p)) | ||
| 127 | #define _iswpunct_l(_c,_p) (_iswctype_l(_c,_PUNCT,_p)) | ||
| 128 | #define _iswspace_l(_c,_p) (_iswctype_l(_c,_SPACE,_p)) | ||
| 129 | #define _iswupper_l(_c,_p) (_iswctype_l(_c,_UPPER,_p)) | ||
| 130 | #define _iswxdigit_l(_c,_p) (_iswctype_l(_c,_HEX,_p)) | ||
| 131 | #endif /* !_CTYPE_DISABLE_MACROS && !__cplusplus */ | ||
| 119 | #endif | 132 | #endif |
| 133 | |||
| 134 | /** | ||
| 135 | * Microsoft-specific functions. | ||
| 136 | */ | ||
| 137 | |||
| 138 | _CRTIMP int __cdecl __iswcsym(wint_t _C); | ||
| 139 | _CRTIMP int __cdecl __iswcsymf(wint_t _C); | ||
| 140 | _CRTIMP int __cdecl iswascii(wint_t _C); | ||
| 141 | |||
| 142 | /* These are only available for Desktop applications. */ | ||
| 120 | #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP | 143 | #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP |
| 121 | _CRTIMP int __cdecl is_wctype(wint_t _C,wctype_t _Type); | 144 | _CRTIMP int __cdecl is_wctype(wint_t _C,wctype_t _Type); |
| 145 | _CRTIMP int __cdecl isleadbyte(int _C); | ||
| 122 | #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */ | 146 | #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */ |
| 123 | #endif | ||
| 124 | 147 | ||
| 125 | #ifndef _WCTYPE_INLINE_DEFINED | 148 | #if !defined(_CTYPE_DISABLE_MACROS) && !defined(__cplusplus) |
| 126 | #define _WCTYPE_INLINE_DEFINED | 149 | #define __iswcsym(_c) (iswalnum(_c) || ((_c)=='_')) |
| 150 | #define __iswcsymf(_c) (iswalpha(_c) || ((_c)=='_')) | ||
| 151 | #define iswascii(_c) ((unsigned)(_c) < 0x80) | ||
| 152 | #endif /* !_CTYPE_DISABLE_MACROS && !__cplusplus */ | ||
| 127 | 153 | ||
| 128 | #undef _CRT_WCTYPE_NOINLINE | 154 | /** |
| 129 | #ifndef __cplusplus | 155 | * Locale-specific versions of Microsoft functions. |
| 130 | #define iswalpha(_c) (iswctype(_c,_ALPHA)) | 156 | * |
| 131 | #define iswupper(_c) (iswctype(_c,_UPPER)) | 157 | * They are available since msvcr80.dll. |
| 132 | #define iswlower(_c) (iswctype(_c,_LOWER)) | 158 | */ |
| 133 | #define iswdigit(_c) (iswctype(_c,_DIGIT)) | 159 | |
| 134 | #define iswxdigit(_c) (iswctype(_c,_HEX)) | 160 | /* These are only available since msvcr80.dll, never in msvcrt.dll. */ |
| 135 | #define iswspace(_c) (iswctype(_c,_SPACE)) | 161 | #if __MSVCRT_VERSION__ >= 0x0800 |
| 136 | #define iswpunct(_c) (iswctype(_c,_PUNCT)) | 162 | _CRTIMP int __cdecl _iswcsym_l(wint_t _C,_locale_t _Locale); |
| 137 | #define iswalnum(_c) (iswctype(_c,_ALPHA|_DIGIT)) | 163 | _CRTIMP int __cdecl _iswcsymf_l(wint_t _C,_locale_t _Locale); |
| 138 | #define iswprint(_c) (iswctype(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT)) | 164 | |
| 139 | #define iswgraph(_c) (iswctype(_c,_PUNCT|_ALPHA|_DIGIT)) | 165 | #if !defined(_CTYPE_DISABLE_MACROS) && !defined(__cplusplus) |
| 140 | #define iswcntrl(_c) (iswctype(_c,_CONTROL)) | 166 | #define _iswcsym_l(_c,_p) (_iswalnum_l(_c,_p) || ((_c)=='_')) |
| 141 | #define iswascii(_c) ((unsigned)(_c) < 0x80) | 167 | #define _iswcsymf_l(_c,_p) (_iswalpha_l(_c,_p) || ((_c)=='_')) |
| 142 | #define iswblank(_c) (((_c) == '\t') || iswctype(_c,_BLANK)) | 168 | #endif /* !_CTYPE_DISABLE_MACROS && !__cplusplus */ |
| 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 | 169 | #endif |
| 170 | |||
| 171 | /* These are also available in msvcrt.dll since Windows Vista. */ | ||
| 172 | #if __MSVCRT_VERSION__ >= 0x0800 || (__MSVCRT_VERSION__ == 0x0600 && _WIN32_WINNT >= 0x0600) | ||
| 173 | /* These are only available for Desktop applications. */ | ||
| 174 | #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP | ||
| 175 | _CRTIMP int __cdecl _isleadbyte_l(int _C,_locale_t _Locale); | ||
| 176 | #endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */ | ||
| 158 | #endif | 177 | #endif |
| 159 | 178 | ||
| 160 | #ifdef __cplusplus | 179 | #ifdef __cplusplus |
lib/libc/include/any-windows-any/credentialprovider.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/credentialprovider.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/ctfutb.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/ctfutb.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/ctxtcall.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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+110-102| ... | @@ -12,122 +12,130 @@ | ... | @@ -12,122 +12,130 @@ |
| 12 | extern "C" { | 12 | extern "C" { |
| 13 | #endif | 13 | #endif |
| 14 | 14 | ||
| 15 | #ifndef WEOF | 15 | /** |
| 16 | #define WEOF (wint_t)(0xFFFF) | 16 | * Standard C functions. |
| 17 | #endif | 17 | */ |
| 18 | 18 | ||
| 19 | /* CRT stuff */ | 19 | _CRTIMP int __cdecl isalnum(int _C); |
| 20 | #if 1 | 20 | _CRTIMP int __cdecl isalpha(int _C); |
| 21 | extern const unsigned char __newclmap[]; | 21 | _CRTIMP int __cdecl isblank(int _C); |
| 22 | extern const unsigned char __newcumap[]; | 22 | _CRTIMP int __cdecl iscntrl(int _C); |
| 23 | extern pthreadlocinfo __ptlocinfo; | 23 | _CRTIMP int __cdecl isdigit(int _C); |
| 24 | extern pthreadmbcinfo __ptmbcinfo; | 24 | _CRTIMP int __cdecl isgraph(int _C); |
| 25 | extern int __globallocalestatus; | 25 | _CRTIMP int __cdecl islower(int _C); |
| 26 | extern int __locale_changed; | 26 | _CRTIMP int __cdecl isprint(int _C); |
| 27 | extern struct threadlocaleinfostruct __initiallocinfo; | 27 | _CRTIMP int __cdecl ispunct(int _C); |
| 28 | extern _locale_tstruct __initiallocalestructinfo; | 28 | _CRTIMP int __cdecl isspace(int _C); |
| 29 | pthreadlocinfo __cdecl __updatetlocinfo(void); | 29 | _CRTIMP int __cdecl isupper(int _C); |
| 30 | pthreadmbcinfo __cdecl __updatetmbcinfo(void); | 30 | _CRTIMP int __cdecl isxdigit(int _C); |
| 31 | #endif | ||
| 32 | 31 | ||
| 33 | #ifndef _CTYPE_DEFINED | 32 | _CRTIMP int __cdecl tolower(int _C); |
| 34 | #define _CTYPE_DEFINED | 33 | _CRTIMP int __cdecl toupper(int _C); |
| 35 | |||
| 36 | _CRTIMP int __cdecl isalpha(int _C); | ||
| 37 | _CRTIMP int __cdecl isupper(int _C); | ||
| 38 | _CRTIMP int __cdecl islower(int _C); | ||
| 39 | _CRTIMP int __cdecl isdigit(int _C); | ||
| 40 | _CRTIMP int __cdecl isxdigit(int _C); | ||
| 41 | _CRTIMP int __cdecl isspace(int _C); | ||
| 42 | _CRTIMP int __cdecl ispunct(int _C); | ||
| 43 | _CRTIMP int __cdecl isalnum(int _C); | ||
| 44 | _CRTIMP int __cdecl isprint(int _C); | ||
| 45 | _CRTIMP int __cdecl isgraph(int _C); | ||
| 46 | _CRTIMP int __cdecl iscntrl(int _C); | ||
| 47 | _CRTIMP int __cdecl toupper(int _C); | ||
| 48 | _CRTIMP int __cdecl _toupper(int _C); | ||
| 49 | _CRTIMP int __cdecl tolower(int _C); | ||
| 50 | _CRTIMP int __cdecl _tolower(int _C); | ||
| 51 | _CRTIMP int __cdecl _tolower_l(int _C,_locale_t _Locale); | ||
| 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); | ||
| 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); | ||
| 68 | _CRTIMP int __cdecl __isascii(int _C); | ||
| 69 | _CRTIMP int __cdecl __toascii(int _C); | ||
| 70 | _CRTIMP int __cdecl __iscsymf(int _C); | ||
| 71 | _CRTIMP int __cdecl __iscsym(int _C); | ||
| 72 | #endif | ||
| 73 | 34 | ||
| 74 | #ifndef _CTYPE_DISABLE_MACROS | 35 | /** |
| 36 | * Locale-specific versions of Standard C functions. | ||
| 37 | * | ||
| 38 | * They are available since msvcr80.dll. | ||
| 39 | */ | ||
| 75 | 40 | ||
| 76 | #ifndef MB_CUR_MAX | 41 | /* These are also available in msvcrt.dll since Windows Vista. */ |
| 77 | #define MB_CUR_MAX ___mb_cur_max_func() | 42 | #if __MSVCRT_VERSION__ >= 0x0800 || (__MSVCRT_VERSION__ == 0x0600 && _WIN32_WINNT >= 0x0600) |
| 78 | #ifndef __mb_cur_max | 43 | _CRTIMP int __cdecl _isalnum_l(int _C,_locale_t _Locale); |
| 79 | #define __mb_cur_max	(___mb_cur_max_func()) | 44 | _CRTIMP int __cdecl _isalpha_l(int _C,_locale_t _Locale); |
| 80 | #endif | 45 | _CRTIMP int __cdecl _isblank_l(int _C,_locale_t _Locale); |
| 81 | _CRTIMP int __cdecl ___mb_cur_max_func(void); | 46 | _CRTIMP int __cdecl _iscntrl_l(int _C,_locale_t _Locale); |
| 82 | #endif | 47 | _CRTIMP int __cdecl _isdigit_l(int _C,_locale_t _Locale); |
| 48 | _CRTIMP int __cdecl _isgraph_l(int _C,_locale_t _Locale); | ||
| 49 | _CRTIMP int __cdecl _islower_l(int _C,_locale_t _Locale); | ||
| 50 | _CRTIMP int __cdecl _isprint_l(int _C,_locale_t _Locale); | ||
| 51 | _CRTIMP int __cdecl _ispunct_l(int _C,_locale_t _Locale); | ||
| 52 | _CRTIMP int __cdecl _isspace_l(int _C,_locale_t _Locale); | ||
| 53 | _CRTIMP int __cdecl _isupper_l(int _C,_locale_t _Locale); | ||
| 54 | _CRTIMP int __cdecl _isxdigit_l(int _C,_locale_t _Locale); | ||
| 83 | 55 | ||
| 84 | #define __chvalidchk(a,b) (__PCTYPE_FUNC[(unsigned char)(a)] & (b)) | 56 | _CRTIMP int __cdecl _tolower_l(int _C,_locale_t _Locale); |
| 85 | #ifdef _UCRT | 57 | _CRTIMP int __cdecl _toupper_l(int _C,_locale_t _Locale); |
| 86 | #define _chvalidchk_l(_Char,_Flag,_Locale) (!_Locale ? __chvalidchk(_Char,_Flag) : ((_locale_t)_Locale)->locinfo->_locale_pctype[(unsigned char)(_Char)] & (_Flag)) | ||
| 87 | #define _ischartype_l(_Char,_Flag,_Locale) (((_Locale)!=NULL && (((_locale_t)(_Locale))->locinfo->_locale_mb_cur_max) > 1) ? _isctype_l(_Char,(_Flag),_Locale) : _chvalidchk_l(_Char,_Flag,_Locale)) | ||
| 88 | #else | ||
| 89 | #define _chvalidchk_l(_Char,_Flag,_Locale) (!_Locale ? __chvalidchk(_Char,_Flag) : ((_locale_t)_Locale)->locinfo->pctype[(unsigned char)(_Char)] & (_Flag)) | ||
| 90 | #define _ischartype_l(_Char,_Flag,_Locale) (((_Locale)!=NULL && (((_locale_t)(_Locale))->locinfo->mb_cur_max) > 1) ? _isctype_l(_Char,(_Flag),_Locale) : _chvalidchk_l(_Char,_Flag,_Locale)) | ||
| 91 | #endif | 58 | #endif |
| 92 | #define _isalpha_l(_Char,_Locale) _ischartype_l(_Char,_ALPHA,_Locale) | 59 | |
| 93 | #define _isupper_l(_Char,_Locale) _ischartype_l(_Char,_UPPER,_Locale) | 60 | /** |
| 94 | #define _islower_l(_Char,_Locale) _ischartype_l(_Char,_LOWER,_Locale) | 61 | * POSIX functions. |
| 95 | #define _isdigit_l(_Char,_Locale) _ischartype_l(_Char,_DIGIT,_Locale) | 62 | */ |
| 96 | #define _isxdigit_l(_Char,_Locale) _ischartype_l(_Char,_HEX,_Locale) | 63 | |
| 97 | #define _isspace_l(_Char,_Locale) _ischartype_l(_Char,_SPACE,_Locale) | 64 | _CRTIMP int __cdecl __isascii(int _C); |
| 98 | #define _ispunct_l(_Char,_Locale) _ischartype_l(_Char,_PUNCT,_Locale) | 65 | _CRTIMP int __cdecl __toascii(int _C); |
| 99 | #define _isalnum_l(_Char,_Locale) _ischartype_l(_Char,_ALPHA|_DIGIT,_Locale) | 66 | _CRTIMP int __cdecl _tolower(int _C); |
| 100 | #define _isprint_l(_Char,_Locale) _ischartype_l(_Char,_BLANK|_PUNCT|_ALPHA|_DIGIT,_Locale) | 67 | _CRTIMP int __cdecl _toupper(int _C); |
| 101 | #define _isgraph_l(_Char,_Locale) _ischartype_l(_Char,_PUNCT|_ALPHA|_DIGIT,_Locale) | 68 | |
| 102 | #define _iscntrl_l(_Char,_Locale) _ischartype_l(_Char,_CONTROL,_Locale) | 69 | #if !defined(_CTYPE_DISABLE_MACROS) && !defined(__cplusplus) |
| 103 | #define _isblank_l(_Char,_Locale) (((_Char) == '\t') || _ischartype_l(_Char,_BLANK,_Locale)) | ||
| 104 | #define _tolower(_Char) ((_Char)-'A'+'a') | ||
| 105 | #define _toupper(_Char) ((_Char)-'a'+'A') | ||
| 106 | #define __isascii(_Char) ((unsigned)(_Char) < 0x80) | 70 | #define __isascii(_Char) ((unsigned)(_Char) < 0x80) |
| 107 | #define __toascii(_Char) ((_Char) & 0x7f) | 71 | #define __toascii(_Char) ((_Char) & 0x7f) |
| 108 | 72 | #define _tolower(_Char) ((_Char)-'A'+'a') | |
| 109 | #define __iscsymf(_c) (isalpha(_c) || ((_c)=='_')) | 73 | #define _toupper(_Char) ((_Char)-'a'+'A') |
| 110 | #define __iscsym(_c) (isalnum(_c) || ((_c)=='_')) | 74 | #endif /* !_CTYPE_DISABLE_MACROS && !__cplusplus */ |
| 111 | #define __iswcsymf(_c) (iswalpha(_c) || ((_c)=='_')) | ||
| 112 | #define __iswcsym(_c) (iswalnum(_c) || ((_c)=='_')) | ||
| 113 | #define _iscsymf_l(_c,_p) (_isalpha_l(_c,_p) || ((_c)=='_')) | ||
| 114 | #define _iscsym_l(_c,_p) (_isalnum_l(_c,_p) || ((_c)=='_')) | ||
| 115 | #define _iswcsymf_l(_c,_p) (_iswalpha_l(_c,_p) || ((_c)=='_')) | ||
| 116 | #define _iswcsym_l(_c,_p) (_iswalnum_l(_c,_p) || ((_c)=='_')) | ||
| 117 | #endif | ||
| 118 | 75 | ||
| 119 | #ifndef	NO_OLDNAMES | 76 | #ifndef	NO_OLDNAMES |
| 120 | #ifndef _CTYPE_DEFINED | 77 | #if !defined(_CTYPE_DISABLE_MACROS) && !defined(__cplusplus) |
| 121 | _CRTIMP int __cdecl isascii(int _C) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 122 | _CRTIMP int __cdecl toascii(int _C) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 123 | _CRTIMP int __cdecl iscsymf(int _C) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 124 | _CRTIMP int __cdecl iscsym(int _C) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 125 | #else | ||
| 126 | #define isascii __isascii | 78 | #define isascii __isascii |
| 127 | #define toascii __toascii | 79 | #define toascii __toascii |
| 128 | #define iscsymf __iscsymf | 80 | #else |
| 81 | _CRTIMP int __cdecl isascii(int _C) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 82 | _CRTIMP int __cdecl toascii(int _C) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 83 | #endif /* !_CTYPE_DISABLE_MACROS && !__cplusplus */ | ||
| 84 | #endif /* !NO_OLDNAMES */ | ||
| 85 | |||
| 86 | /** | ||
| 87 | * Microsoft-specific functions. | ||
| 88 | */ | ||
| 89 | |||
| 90 | _CRTIMP int __cdecl _isctype(int _C,int _Type); | ||
| 91 | |||
| 92 | _CRTIMP int __cdecl __iscsym(int _C); | ||
| 93 | _CRTIMP int __cdecl __iscsymf(int _C); | ||
| 94 | |||
| 95 | #if !defined(_CTYPE_DISABLE_MACROS) && !defined(__cplusplus) | ||
| 96 | #define __iscsym(_c) (isalnum(_c) || ((_c)=='_')) | ||
| 97 | #define __iscsymf(_c) (isalpha(_c) || ((_c)=='_')) | ||
| 98 | #endif /* !_CTYPE_DISABLE_MACROS && !__cplusplus */ | ||
| 99 | |||
| 100 | #ifndef	NO_OLDNAMES | ||
| 101 | #if !defined(_CTYPE_DISABLE_MACROS) && !defined(__cplusplus) | ||
| 129 | #define iscsym __iscsym | 102 | #define iscsym __iscsym |
| 103 | #define iscsymf __iscsymf | ||
| 104 | #else | ||
| 105 | _CRTIMP int __cdecl iscsym(int _C) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 106 | _CRTIMP int __cdecl iscsymf(int _C) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 107 | #endif /* !_CTYPE_DISABLE_MACROS && !__cplusplus */ | ||
| 108 | #endif /* !NO_OLDNAMES */ | ||
| 109 | |||
| 110 | /** | ||
| 111 | * Locale-specific versions of Microsoft functions. | ||
| 112 | * | ||
| 113 | * They are available since msvcr80.dll. | ||
| 114 | */ | ||
| 115 | |||
| 116 | /** | ||
| 117 | * _iscsym_l and _iscsymf_l are only available as macros in Microsoft headers. | ||
| 118 | * | ||
| 119 | * We do not expose those macros under following conditions: | ||
| 120 | * | ||
| 121 | * - when _CTYPE_DISABLE_MACROS is defined; this is what Microsoft headers do | ||
| 122 | * - for C++ compilations; this avoids possible clashes with class member names | ||
| 123 | * | ||
| 124 | * To make them available under above conditions, we provide them as externals. | ||
| 125 | */ | ||
| 126 | #if __MSVCRT_VERSION__ >= 0x0800 | ||
| 127 | int __cdecl _iscsym_l(wint_t _C, _locale_t _Locale); | ||
| 128 | int __cdecl _iscsymf_l(wint_t _C, _locale_t _Locale); | ||
| 129 | |||
| 130 | #if !defined(_CTYPE_DISABLE_MACROS) && !defined(__cplusplus) | ||
| 131 | #define _iscsym_l(_c,_p) (_isalnum_l(_c,_p) || ((_c)=='_')) | ||
| 132 | #define _iscsymf_l(_c,_p) (_isalpha_l(_c,_p) || ((_c)=='_')) | ||
| 133 | #endif /* !_CTYPE_DISABLE_MACROS && !__cplusplus */ | ||
| 130 | #endif | 134 | #endif |
| 135 | |||
| 136 | /* These are also available in msvcrt.dll since Windows Vista. */ | ||
| 137 | #if __MSVCRT_VERSION__ >= 0x0800 || (__MSVCRT_VERSION__ == 0x0600 && _WIN32_WINNT >= 0x0600) | ||
| 138 | _CRTIMP int __cdecl _isctype_l(int _C,int _Type,_locale_t _Locale); | ||
| 131 | #endif | 139 | #endif |
| 132 | 140 | ||
| 133 | #ifdef __cplusplus | 141 | #ifdef __cplusplus |
lib/libc/include/any-windows-any/d3d10.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/d3d10.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/d3d10_1.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/d3d10effect.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/d3d10sdklayers.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/d3d10shader.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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+21-8| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/d3d11.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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__ |
| ... | @@ -1265,34 +1265,47 @@ typedef enum D3D11_FILTER_TYPE { | ... | @@ -1265,34 +1265,47 @@ typedef enum D3D11_FILTER_TYPE { |
| 1265 | D3D11_FILTER_TYPE_POINT = 0, | 1265 | D3D11_FILTER_TYPE_POINT = 0, |
| 1266 | D3D11_FILTER_TYPE_LINEAR = 1 | 1266 | D3D11_FILTER_TYPE_LINEAR = 1 |
| 1267 | } D3D11_FILTER_TYPE; | 1267 | } D3D11_FILTER_TYPE; |
| 1268 | typedef enum D3D11_FILTER_REDUCTION_TYPE { | ||
| 1269 | D3D11_FILTER_REDUCTION_TYPE_STANDARD = 0x0, | ||
| 1270 | D3D11_FILTER_REDUCTION_TYPE_COMPARISON = 0x1, | ||
| 1271 | D3D11_FILTER_REDUCTION_TYPE_MINIMUM = 0x2, | ||
| 1272 | D3D11_FILTER_REDUCTION_TYPE_MAXIMUM = 0x3 | ||
| 1273 | } D3D11_FILTER_REDUCTION_TYPE; | ||
| 1274 | #define D3D11_FILTER_REDUCTION_TYPE_SHIFT (7) | ||
| 1275 | |||
| 1268 | #define D3D11_MIN_FILTER_SHIFT (4) | 1276 | #define D3D11_MIN_FILTER_SHIFT (4) |
| 1269 | 1277 | ||
| 1270 | #define D3D11_MAG_FILTER_SHIFT (2) | 1278 | #define D3D11_MAG_FILTER_SHIFT (2) |
| 1271 | 1279 | ||
| 1272 | #define D3D11_MIP_FILTER_SHIFT (0) | 1280 | #define D3D11_MIP_FILTER_SHIFT (0) |
| 1273 | 1281 | ||
| 1282 | #define D3D11_FILTER_REDUCTION_TYPE_MASK (0x3) | ||
| 1283 | |||
| 1274 | #define D3D11_FILTER_TYPE_MASK (0x3) | 1284 | #define D3D11_FILTER_TYPE_MASK (0x3) |
| 1275 | 1285 | ||
| 1276 | #define D3D11_COMPARISON_FILTERING_BIT (0x80) | 1286 | #define D3D11_COMPARISON_FILTERING_BIT (0x80) |
| 1277 | 1287 | ||
| 1278 | #define D3D11_ANISOTROPIC_FILTERING_BIT (0x40) | 1288 | #define D3D11_ANISOTROPIC_FILTERING_BIT (0x40) |
| 1279 | 1289 | ||
| 1280 | #define D3D11_ENCODE_BASIC_FILTER(min, mag, mip, bComparison) \ | 1290 | #define D3D11_ENCODE_BASIC_FILTER(min, mag, mip, reduction_mode) \ |
| 1281 | ((D3D11_FILTER)(((bComparison) ? D3D11_COMPARISON_FILTERING_BIT : 0 ) | \ | 1291 | ((D3D11_FILTER)((((min)&D3D11_FILTER_TYPE_MASK) << D3D11_MIN_FILTER_SHIFT) | \ |
| 1282 | (((min)&D3D11_FILTER_TYPE_MASK) << D3D11_MIN_FILTER_SHIFT) | \ | ||
| 1283 | (((mag)&D3D11_FILTER_TYPE_MASK) << D3D11_MAG_FILTER_SHIFT) | \ | 1292 | (((mag)&D3D11_FILTER_TYPE_MASK) << D3D11_MAG_FILTER_SHIFT) | \ |
| 1284 | (((mip)&D3D11_FILTER_TYPE_MASK) << D3D11_MIP_FILTER_SHIFT))) | 1293 | (((mip)&D3D11_FILTER_TYPE_MASK) << D3D11_MIP_FILTER_SHIFT) | \ |
| 1285 | #define D3D11_ENCODE_ANISOTROPIC_FILTER(bComparison) \ | 1294 | (((reduction_mode)&D3D11_FILTER_REDUCTION_TYPE_MASK) << D3D11_FILTER_REDUCTION_TYPE_SHIFT))) |
| 1295 | #define D3D11_ENCODE_ANISOTROPIC_FILTER(reduction_mode) \ | ||
| 1286 | ((D3D11_FILTER)(D3D11_ANISOTROPIC_FILTERING_BIT | \ | 1296 | ((D3D11_FILTER)(D3D11_ANISOTROPIC_FILTERING_BIT | \ |
| 1287 | D3D11_ENCODE_BASIC_FILTER(D3D11_FILTER_TYPE_LINEAR,D3D11_FILTER_TYPE_LINEAR, \ | 1297 | D3D11_ENCODE_BASIC_FILTER(D3D11_FILTER_TYPE_LINEAR,D3D11_FILTER_TYPE_LINEAR, \ |
| 1288 | D3D11_FILTER_TYPE_LINEAR,bComparison))) | 1298 | D3D11_FILTER_TYPE_LINEAR,reduction_mode))) |
| 1289 | #define D3D11_DECODE_MIN_FILTER(d3d11Filter) \ | 1299 | #define D3D11_DECODE_MIN_FILTER(d3d11Filter) \ |
| 1290 | ((D3D11_FILTER_TYPE)(((d3d11Filter) >> D3D11_MIN_FILTER_SHIFT) & D3D11_FILTER_TYPE_MASK)) | 1300 | ((D3D11_FILTER_TYPE)(((d3d11Filter) >> D3D11_MIN_FILTER_SHIFT) & D3D11_FILTER_TYPE_MASK)) |
| 1291 | #define D3D11_DECODE_MAG_FILTER(d3d11Filter) \ | 1301 | #define D3D11_DECODE_MAG_FILTER(d3d11Filter) \ |
| 1292 | ((D3D11_FILTER_TYPE)(((d3d11Filter) >> D3D11_MAG_FILTER_SHIFT) & D3D11_FILTER_TYPE_MASK)) | 1302 | ((D3D11_FILTER_TYPE)(((d3d11Filter) >> D3D11_MAG_FILTER_SHIFT) & D3D11_FILTER_TYPE_MASK)) |
| 1293 | #define D3D11_DECODE_MIP_FILTER(d3d11Filter) \ | 1303 | #define D3D11_DECODE_MIP_FILTER(d3d11Filter) \ |
| 1294 | ((D3D11_FILTER_TYPE)(((d3d11Filter) >> D3D11_MIP_FILTER_SHIFT) & D3D11_FILTER_TYPE_MASK)) | 1304 | ((D3D11_FILTER_TYPE)(((d3d11Filter) >> D3D11_MIP_FILTER_SHIFT) & D3D11_FILTER_TYPE_MASK)) |
| 1295 | #define D3D11_DECODE_IS_COMPARISON_FILTER(d3d11Filter) ((d3d11Filter) & D3D11_COMPARISON_FILTERING_BIT) | 1305 | #define D3D11_DECODE_FILTER_REDUCTION(filter) \ |
| 1306 | ((D3D11_FILTER_REDUCTION_TYPE)(((filter) >> D3D11_FILTER_REDUCTION_TYPE_SHIFT) & D3D11_FILTER_REDUCTION_TYPE_MASK)) | ||
| 1307 | #define D3D11_DECODE_IS_COMPARISON_FILTER(filter) \ | ||
| 1308 | (D3D11_DECODE_FILTER_REDUCTION(filter) == D3D11_FILTER_REDUCTION_TYPE_COMPARISON) | ||
| 1296 | #define D3D11_DECODE_IS_ANISOTROPIC_FILTER(d3d11Filter) \ | 1309 | #define D3D11_DECODE_IS_ANISOTROPIC_FILTER(d3d11Filter) \ |
| 1297 | (((d3d11Filter) & D3D11_ANISOTROPIC_FILTERING_BIT ) \ | 1310 | (((d3d11Filter) & D3D11_ANISOTROPIC_FILTERING_BIT ) \ |
| 1298 | && (D3D11_FILTER_TYPE_LINEAR == D3D11_DECODE_MIN_FILTER(d3d11Filter)) \ | 1311 | && (D3D11_FILTER_TYPE_LINEAR == D3D11_DECODE_MIN_FILTER(d3d11Filter)) \ |
lib/libc/include/any-windows-any/d3d11_1.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/d3d11_1.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/d3d11_2.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/d3d11_3.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/d3d11_4.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/d3d11on12.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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+2-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/d3d11sdklayers.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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__ |
| ... | @@ -1229,6 +1229,7 @@ typedef enum D3D11_RLDO_FLAGS { | ... | @@ -1229,6 +1229,7 @@ typedef enum D3D11_RLDO_FLAGS { |
| 1229 | D3D11_RLDO_SUMMARY = 1, | 1229 | D3D11_RLDO_SUMMARY = 1, |
| 1230 | D3D11_RLDO_DETAIL = 2 | 1230 | D3D11_RLDO_DETAIL = 2 |
| 1231 | } D3D11_RLDO_FLAGS; | 1231 | } D3D11_RLDO_FLAGS; |
| 1232 | DEFINE_ENUM_FLAG_OPERATORS(D3D11_RLDO_FLAGS) | ||
| 1232 | typedef struct D3D11_MESSAGE { | 1233 | typedef struct D3D11_MESSAGE { |
| 1233 | D3D11_MESSAGE_CATEGORY Category; | 1234 | D3D11_MESSAGE_CATEGORY Category; |
| 1234 | D3D11_MESSAGE_SEVERITY Severity; | 1235 | D3D11_MESSAGE_SEVERITY Severity; |
lib/libc/include/any-windows-any/d3d11shader.h+48| ... | @@ -151,6 +151,22 @@ typedef struct _D3D11_SIGNATURE_PARAMETER_DESC | ... | @@ -151,6 +151,22 @@ typedef struct _D3D11_SIGNATURE_PARAMETER_DESC |
| 151 | #endif | 151 | #endif |
| 152 | } D3D11_SIGNATURE_PARAMETER_DESC; | 152 | } D3D11_SIGNATURE_PARAMETER_DESC; |
| 153 | 153 | ||
| 154 | typedef struct _D3D11_PARAMETER_DESC | ||
| 155 | { | ||
| 156 | LPCSTR Name; | ||
| 157 | LPCSTR SemanticName; | ||
| 158 | D3D_SHADER_VARIABLE_TYPE Type; | ||
| 159 | D3D_SHADER_VARIABLE_CLASS Class; | ||
| 160 | UINT Rows; | ||
| 161 | UINT Columns; | ||
| 162 | D3D_INTERPOLATION_MODE InterpolationMode; | ||
| 163 | D3D_PARAMETER_FLAGS Flags; | ||
| 164 | UINT FirstInRegister; | ||
| 165 | UINT FirstInComponent; | ||
| 166 | UINT FirstOutRegister; | ||
| 167 | UINT FirstOutComponent; | ||
| 168 | } D3D11_PARAMETER_DESC; | ||
| 169 | |||
| 154 | DEFINE_GUID(IID_ID3D11ShaderReflectionType, 0x6e6ffa6a, 0x9bae, 0x4613, 0xa5, 0x1e, 0x91, 0x65, 0x2d, 0x50, 0x8c, 0x21); | 170 | DEFINE_GUID(IID_ID3D11ShaderReflectionType, 0x6e6ffa6a, 0x9bae, 0x4613, 0xa5, 0x1e, 0x91, 0x65, 0x2d, 0x50, 0x8c, 0x21); |
| 155 | 171 | ||
| 156 | #define INTERFACE ID3D11ShaderReflectionType | 172 | #define INTERFACE ID3D11ShaderReflectionType |
| ... | @@ -288,4 +304,36 @@ DECLARE_INTERFACE_(ID3D11Linker, IUnknown) | ... | @@ -288,4 +304,36 @@ DECLARE_INTERFACE_(ID3D11Linker, IUnknown) |
| 288 | }; | 304 | }; |
| 289 | #undef INTERFACE | 305 | #undef INTERFACE |
| 290 | 306 | ||
| 307 | DEFINE_GUID(IID_ID3D11LinkingNode, 0xd80dd70c, 0x8d2f, 0x4751, 0x94, 0xa1, 0x3, 0xc7, 0x9b, 0x35, 0x56, 0xdb); | ||
| 308 | |||
| 309 | #define INTERFACE ID3D11LinkingNode | ||
| 310 | DECLARE_INTERFACE_(ID3D11LinkingNode, IUnknown) | ||
| 311 | { | ||
| 312 | STDMETHOD(QueryInterface)(THIS_ REFIID iid, void **out) PURE; | ||
| 313 | STDMETHOD_(ULONG, AddRef)(THIS) PURE; | ||
| 314 | STDMETHOD_(ULONG, Release)(THIS) PURE; | ||
| 315 | }; | ||
| 316 | #undef INTERFACE | ||
| 317 | |||
| 318 | DEFINE_GUID(IID_ID3D11FunctionLinkingGraph, 0x54133220, 0x1ce8, 0x43d3, 0x82, 0x36, 0x98, 0x55, 0xc5, 0xce, 0xec, 0xff); | ||
| 319 | |||
| 320 | #define INTERFACE ID3D11FunctionLinkingGraph | ||
| 321 | DECLARE_INTERFACE_(ID3D11FunctionLinkingGraph, IUnknown) | ||
| 322 | { | ||
| 323 | STDMETHOD(QueryInterface)(THIS_ REFIID iid, void **out) PURE; | ||
| 324 | STDMETHOD_(ULONG, AddRef)(THIS) PURE; | ||
| 325 | STDMETHOD_(ULONG, Release)(THIS) PURE; | ||
| 326 | |||
| 327 | /* ID3D11FunctionLinkingGraph methods */ | ||
| 328 | STDMETHOD(CreateModuleInstance)(THIS_ ID3D11ModuleInstance **instance, ID3DBlob **error) PURE; | ||
| 329 | STDMETHOD(SetInputSignature)(THIS_ const D3D11_PARAMETER_DESC *parameter_desc, UINT parameter_count, ID3D11LinkingNode **input_node) PURE; | ||
| 330 | STDMETHOD(SetOutputSignature)(THIS_ const D3D11_PARAMETER_DESC *parameter_desc, UINT parameter_count, ID3D11LinkingNode **output_node) PURE; | ||
| 331 | STDMETHOD(CallFunction)(THIS_ LPCSTR _namespace, ID3D11Module *module, LPCSTR function_name, ID3D11LinkingNode **call_node) PURE; | ||
| 332 | STDMETHOD(PassValue)(THIS_ ID3D11LinkingNode *src_node, INT src_parameter_index, ID3D11LinkingNode *dst_node, INT dst_parameter_index) PURE; | ||
| 333 | STDMETHOD(PassValueWithSwizzle)(THIS_ ID3D11LinkingNode *src_node, INT src_parameter_index, LPCSTR src_swizzle, ID3D11LinkingNode *dst_node, INT dst_parameter_index,LPCSTR dst_swizzle) PURE; | ||
| 334 | STDMETHOD(GetLastError)(THIS_ ID3DBlob **error) PURE; | ||
| 335 | STDMETHOD(GenerateHlsl)(THIS_ UINT flags, ID3DBlob **buffer) PURE; | ||
| 336 | }; | ||
| 337 | #undef INTERFACE | ||
| 338 | |||
| 291 | #endif | 339 | #endif |
lib/libc/include/any-windows-any/d3d12.h+463-3| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/d3d12.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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__ |
| ... | @@ -466,6 +466,30 @@ interface ID3D12SDKConfiguration; | ... | @@ -466,6 +466,30 @@ interface ID3D12SDKConfiguration; |
| 466 | #endif /* __cplusplus */ | 466 | #endif /* __cplusplus */ |
| 467 | #endif | 467 | #endif |
| 468 | 468 | ||
| 469 | #ifndef __ID3D12SDKConfiguration1_FWD_DEFINED__ | ||
| 470 | #define __ID3D12SDKConfiguration1_FWD_DEFINED__ | ||
| 471 | typedef interface ID3D12SDKConfiguration1 ID3D12SDKConfiguration1; | ||
| 472 | #ifdef __cplusplus | ||
| 473 | interface ID3D12SDKConfiguration1; | ||
| 474 | #endif /* __cplusplus */ | ||
| 475 | #endif | ||
| 476 | |||
| 477 | #ifndef __ID3D12DeviceFactory_FWD_DEFINED__ | ||
| 478 | #define __ID3D12DeviceFactory_FWD_DEFINED__ | ||
| 479 | typedef interface ID3D12DeviceFactory ID3D12DeviceFactory; | ||
| 480 | #ifdef __cplusplus | ||
| 481 | interface ID3D12DeviceFactory; | ||
| 482 | #endif /* __cplusplus */ | ||
| 483 | #endif | ||
| 484 | |||
| 485 | #ifndef __ID3D12DeviceConfiguration_FWD_DEFINED__ | ||
| 486 | #define __ID3D12DeviceConfiguration_FWD_DEFINED__ | ||
| 487 | typedef interface ID3D12DeviceConfiguration ID3D12DeviceConfiguration; | ||
| 488 | #ifdef __cplusplus | ||
| 489 | interface ID3D12DeviceConfiguration; | ||
| 490 | #endif /* __cplusplus */ | ||
| 491 | #endif | ||
| 492 | |||
| 469 | #ifndef __ID3D12GraphicsCommandList5_FWD_DEFINED__ | 493 | #ifndef __ID3D12GraphicsCommandList5_FWD_DEFINED__ |
| 470 | #define __ID3D12GraphicsCommandList5_FWD_DEFINED__ | 494 | #define __ID3D12GraphicsCommandList5_FWD_DEFINED__ |
| 471 | typedef interface ID3D12GraphicsCommandList5 ID3D12GraphicsCommandList5; | 495 | typedef interface ID3D12GraphicsCommandList5 ID3D12GraphicsCommandList5; |
| ... | @@ -1266,6 +1290,16 @@ extern "C" { | ... | @@ -1266,6 +1290,16 @@ extern "C" { |
| 1266 | 1290 | ||
| 1267 | #define D3D12_VIDEO_DECODE_STATUS_MACROBLOCKS_AFFECTED_UNKNOWN (0xffffffff) | 1291 | #define D3D12_VIDEO_DECODE_STATUS_MACROBLOCKS_AFFECTED_UNKNOWN (0xffffffff) |
| 1268 | 1292 | ||
| 1293 | #define D3D12_VIDEO_ENCODER_AV1_INVALID_DPB_RESOURCE_INDEX (0xff) | ||
| 1294 | |||
| 1295 | #define D3D12_VIDEO_ENCODER_AV1_MAX_TILE_COLS (64) | ||
| 1296 | |||
| 1297 | #define D3D12_VIDEO_ENCODER_AV1_MAX_TILE_ROWS (64) | ||
| 1298 | |||
| 1299 | #define D3D12_VIDEO_ENCODER_AV1_SUPERRES_DENOM_MIN (9) | ||
| 1300 | |||
| 1301 | #define D3D12_VIDEO_ENCODER_AV1_SUPERRES_NUM (8) | ||
| 1302 | |||
| 1269 | #define D3D12_VIDEO_PROCESS_MAX_FILTERS (32) | 1303 | #define D3D12_VIDEO_PROCESS_MAX_FILTERS (32) |
| 1270 | 1304 | ||
| 1271 | #define D3D12_VIDEO_PROCESS_STEREO_VIEWS (2) | 1305 | #define D3D12_VIDEO_PROCESS_STEREO_VIEWS (2) |
| ... | @@ -18215,7 +18249,9 @@ typedef enum D3D12_RENDER_PASS_FLAGS { | ... | @@ -18215,7 +18249,9 @@ typedef enum D3D12_RENDER_PASS_FLAGS { |
| 18215 | D3D12_RENDER_PASS_FLAG_NONE = 0x0, | 18249 | D3D12_RENDER_PASS_FLAG_NONE = 0x0, |
| 18216 | D3D12_RENDER_PASS_FLAG_ALLOW_UAV_WRITES = 0x1, | 18250 | D3D12_RENDER_PASS_FLAG_ALLOW_UAV_WRITES = 0x1, |
| 18217 | D3D12_RENDER_PASS_FLAG_SUSPENDING_PASS = 0x2, | 18251 | D3D12_RENDER_PASS_FLAG_SUSPENDING_PASS = 0x2, |
| 18218 | D3D12_RENDER_PASS_FLAG_RESUMING_PASS = 0x4 | 18252 | D3D12_RENDER_PASS_FLAG_RESUMING_PASS = 0x4, |
| 18253 | D3D12_RENDER_PASS_FLAG_BIND_READ_ONLY_DEPTH = 0x8, | ||
| 18254 | D3D12_RENDER_PASS_FLAG_BIND_READ_ONLY_STENCIL = 0x10 | ||
| 18219 | } D3D12_RENDER_PASS_FLAGS; | 18255 | } D3D12_RENDER_PASS_FLAGS; |
| 18220 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_RENDER_PASS_FLAGS); | 18256 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_RENDER_PASS_FLAGS); |
| 18221 | /***************************************************************************** | 18257 | /***************************************************************************** |
| ... | @@ -19272,7 +19308,7 @@ typedef enum D3D12_BARRIER_SYNC { | ... | @@ -19272,7 +19308,7 @@ typedef enum D3D12_BARRIER_SYNC { |
| 19272 | D3D12_BARRIER_SYNC_NONE = 0x0, | 19308 | D3D12_BARRIER_SYNC_NONE = 0x0, |
| 19273 | D3D12_BARRIER_SYNC_ALL = 0x1, | 19309 | D3D12_BARRIER_SYNC_ALL = 0x1, |
| 19274 | D3D12_BARRIER_SYNC_DRAW = 0x2, | 19310 | D3D12_BARRIER_SYNC_DRAW = 0x2, |
| 19275 | D3D12_BARRIER_SYNC_INPUT_ASSEMBLER = 0x4, | 19311 | D3D12_BARRIER_SYNC_INDEX_INPUT = 0x4, |
| 19276 | D3D12_BARRIER_SYNC_VERTEX_SHADING = 0x8, | 19312 | D3D12_BARRIER_SYNC_VERTEX_SHADING = 0x8, |
| 19277 | D3D12_BARRIER_SYNC_PIXEL_SHADING = 0x10, | 19313 | D3D12_BARRIER_SYNC_PIXEL_SHADING = 0x10, |
| 19278 | D3D12_BARRIER_SYNC_DEPTH_STENCIL = 0x20, | 19314 | D3D12_BARRIER_SYNC_DEPTH_STENCIL = 0x20, |
| ... | @@ -19286,6 +19322,7 @@ typedef enum D3D12_BARRIER_SYNC { | ... | @@ -19286,6 +19322,7 @@ typedef enum D3D12_BARRIER_SYNC { |
| 19286 | D3D12_BARRIER_SYNC_ALL_SHADING = 0x1000, | 19322 | D3D12_BARRIER_SYNC_ALL_SHADING = 0x1000, |
| 19287 | D3D12_BARRIER_SYNC_NON_PIXEL_SHADING = 0x2000, | 19323 | D3D12_BARRIER_SYNC_NON_PIXEL_SHADING = 0x2000, |
| 19288 | D3D12_BARRIER_SYNC_EMIT_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO = 0x4000, | 19324 | D3D12_BARRIER_SYNC_EMIT_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO = 0x4000, |
| 19325 | D3D12_BARRIER_SYNC_CLEAR_UNORDERED_ACCESS_VIEW = 0x8000, | ||
| 19289 | D3D12_BARRIER_SYNC_VIDEO_DECODE = 0x100000, | 19326 | D3D12_BARRIER_SYNC_VIDEO_DECODE = 0x100000, |
| 19290 | D3D12_BARRIER_SYNC_VIDEO_PROCESS = 0x200000, | 19327 | D3D12_BARRIER_SYNC_VIDEO_PROCESS = 0x200000, |
| 19291 | D3D12_BARRIER_SYNC_VIDEO_ENCODE = 0x400000, | 19328 | D3D12_BARRIER_SYNC_VIDEO_ENCODE = 0x400000, |
| ... | @@ -21701,6 +21738,429 @@ static inline HRESULT ID3D12SDKConfiguration_SetSDKVersion(ID3D12SDKConfiguratio | ... | @@ -21701,6 +21738,429 @@ static inline HRESULT ID3D12SDKConfiguration_SetSDKVersion(ID3D12SDKConfiguratio |
| 21701 | 21738 | ||
| 21702 | #endif /* __ID3D12SDKConfiguration_INTERFACE_DEFINED__ */ | 21739 | #endif /* __ID3D12SDKConfiguration_INTERFACE_DEFINED__ */ |
| 21703 | 21740 | ||
| 21741 | /***************************************************************************** | ||
| 21742 | * ID3D12SDKConfiguration1 interface | ||
| 21743 | */ | ||
| 21744 | #ifndef __ID3D12SDKConfiguration1_INTERFACE_DEFINED__ | ||
| 21745 | #define __ID3D12SDKConfiguration1_INTERFACE_DEFINED__ | ||
| 21746 | |||
| 21747 | DEFINE_GUID(IID_ID3D12SDKConfiguration1, 0x8aaf9303, 0xad25, 0x48b9, 0x9a,0x57, 0xd9,0xc3,0x7e,0x00,0x9d,0x9f); | ||
| 21748 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 21749 | MIDL_INTERFACE("8aaf9303-ad25-48b9-9a57-d9c37e009d9f") | ||
| 21750 | ID3D12SDKConfiguration1 : public ID3D12SDKConfiguration | ||
| 21751 | { | ||
| 21752 | virtual HRESULT STDMETHODCALLTYPE CreateDeviceFactory( | ||
| 21753 | UINT sdk_version, | ||
| 21754 | const char *sdk_path, | ||
| 21755 | REFIID riid, | ||
| 21756 | void **ppv) = 0; | ||
| 21757 | |||
| 21758 | virtual void STDMETHODCALLTYPE FreeUnusedSDKs( | ||
| 21759 | ) = 0; | ||
| 21760 | |||
| 21761 | }; | ||
| 21762 | #ifdef __CRT_UUID_DECL | ||
| 21763 | __CRT_UUID_DECL(ID3D12SDKConfiguration1, 0x8aaf9303, 0xad25, 0x48b9, 0x9a,0x57, 0xd9,0xc3,0x7e,0x00,0x9d,0x9f) | ||
| 21764 | #endif | ||
| 21765 | #else | ||
| 21766 | typedef struct ID3D12SDKConfiguration1Vtbl { | ||
| 21767 | BEGIN_INTERFACE | ||
| 21768 | |||
| 21769 | /*** IUnknown methods ***/ | ||
| 21770 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 21771 | ID3D12SDKConfiguration1 *This, | ||
| 21772 | REFIID riid, | ||
| 21773 | void **ppvObject); | ||
| 21774 | |||
| 21775 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 21776 | ID3D12SDKConfiguration1 *This); | ||
| 21777 | |||
| 21778 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 21779 | ID3D12SDKConfiguration1 *This); | ||
| 21780 | |||
| 21781 | /*** ID3D12SDKConfiguration methods ***/ | ||
| 21782 | HRESULT (STDMETHODCALLTYPE *SetSDKVersion)( | ||
| 21783 | ID3D12SDKConfiguration1 *This, | ||
| 21784 | UINT version, | ||
| 21785 | const char *path); | ||
| 21786 | |||
| 21787 | /*** ID3D12SDKConfiguration1 methods ***/ | ||
| 21788 | HRESULT (STDMETHODCALLTYPE *CreateDeviceFactory)( | ||
| 21789 | ID3D12SDKConfiguration1 *This, | ||
| 21790 | UINT sdk_version, | ||
| 21791 | const char *sdk_path, | ||
| 21792 | REFIID riid, | ||
| 21793 | void **ppv); | ||
| 21794 | |||
| 21795 | void (STDMETHODCALLTYPE *FreeUnusedSDKs)( | ||
| 21796 | ID3D12SDKConfiguration1 *This); | ||
| 21797 | |||
| 21798 | END_INTERFACE | ||
| 21799 | } ID3D12SDKConfiguration1Vtbl; | ||
| 21800 | |||
| 21801 | interface ID3D12SDKConfiguration1 { | ||
| 21802 | CONST_VTBL ID3D12SDKConfiguration1Vtbl* lpVtbl; | ||
| 21803 | }; | ||
| 21804 | |||
| 21805 | #ifdef COBJMACROS | ||
| 21806 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 21807 | /*** IUnknown methods ***/ | ||
| 21808 | #define ID3D12SDKConfiguration1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 21809 | #define ID3D12SDKConfiguration1_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 21810 | #define ID3D12SDKConfiguration1_Release(This) (This)->lpVtbl->Release(This) | ||
| 21811 | /*** ID3D12SDKConfiguration methods ***/ | ||
| 21812 | #define ID3D12SDKConfiguration1_SetSDKVersion(This,version,path) (This)->lpVtbl->SetSDKVersion(This,version,path) | ||
| 21813 | /*** ID3D12SDKConfiguration1 methods ***/ | ||
| 21814 | #define ID3D12SDKConfiguration1_CreateDeviceFactory(This,sdk_version,sdk_path,riid,ppv) (This)->lpVtbl->CreateDeviceFactory(This,sdk_version,sdk_path,riid,ppv) | ||
| 21815 | #define ID3D12SDKConfiguration1_FreeUnusedSDKs(This) (This)->lpVtbl->FreeUnusedSDKs(This) | ||
| 21816 | #else | ||
| 21817 | /*** IUnknown methods ***/ | ||
| 21818 | static inline HRESULT ID3D12SDKConfiguration1_QueryInterface(ID3D12SDKConfiguration1* This,REFIID riid,void **ppvObject) { | ||
| 21819 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 21820 | } | ||
| 21821 | static inline ULONG ID3D12SDKConfiguration1_AddRef(ID3D12SDKConfiguration1* This) { | ||
| 21822 | return This->lpVtbl->AddRef(This); | ||
| 21823 | } | ||
| 21824 | static inline ULONG ID3D12SDKConfiguration1_Release(ID3D12SDKConfiguration1* This) { | ||
| 21825 | return This->lpVtbl->Release(This); | ||
| 21826 | } | ||
| 21827 | /*** ID3D12SDKConfiguration methods ***/ | ||
| 21828 | static inline HRESULT ID3D12SDKConfiguration1_SetSDKVersion(ID3D12SDKConfiguration1* This,UINT version,const char *path) { | ||
| 21829 | return This->lpVtbl->SetSDKVersion(This,version,path); | ||
| 21830 | } | ||
| 21831 | /*** ID3D12SDKConfiguration1 methods ***/ | ||
| 21832 | static inline HRESULT ID3D12SDKConfiguration1_CreateDeviceFactory(ID3D12SDKConfiguration1* This,UINT sdk_version,const char *sdk_path,REFIID riid,void **ppv) { | ||
| 21833 | return This->lpVtbl->CreateDeviceFactory(This,sdk_version,sdk_path,riid,ppv); | ||
| 21834 | } | ||
| 21835 | static inline void ID3D12SDKConfiguration1_FreeUnusedSDKs(ID3D12SDKConfiguration1* This) { | ||
| 21836 | This->lpVtbl->FreeUnusedSDKs(This); | ||
| 21837 | } | ||
| 21838 | #endif | ||
| 21839 | #endif | ||
| 21840 | |||
| 21841 | #endif | ||
| 21842 | |||
| 21843 | |||
| 21844 | #endif /* __ID3D12SDKConfiguration1_INTERFACE_DEFINED__ */ | ||
| 21845 | |||
| 21846 | typedef enum D3D12_DEVICE_FACTORY_FLAGS { | ||
| 21847 | D3D12_DEVICE_FACTORY_FLAG_NONE = 0, | ||
| 21848 | D3D12_DEVICE_FACTORY_FLAG_ALLOW_RETURNING_EXISTING_DEVICE = 0x1, | ||
| 21849 | D3D12_DEVICE_FACTORY_FLAG_ALLOW_RETURNING_INCOMPATIBLE_EXISTING_DEVICE = 0x2, | ||
| 21850 | D3D12_DEVICE_FACTORY_FLAG_DISALLOW_STORING_NEW_DEVICE_AS_SINGLETON = 0x4 | ||
| 21851 | } D3D12_DEVICE_FACTORY_FLAGS; | ||
| 21852 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_DEVICE_FACTORY_FLAGS) | ||
| 21853 | /***************************************************************************** | ||
| 21854 | * ID3D12DeviceFactory interface | ||
| 21855 | */ | ||
| 21856 | #ifndef __ID3D12DeviceFactory_INTERFACE_DEFINED__ | ||
| 21857 | #define __ID3D12DeviceFactory_INTERFACE_DEFINED__ | ||
| 21858 | |||
| 21859 | DEFINE_GUID(IID_ID3D12DeviceFactory, 0x61f307d3, 0xd34e, 0x4e7c, 0x83,0x74, 0x3b,0xa4,0xde,0x23,0xcc,0xcb); | ||
| 21860 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 21861 | MIDL_INTERFACE("61f307d3-d34e-4e7c-8374-3ba4de23cccb") | ||
| 21862 | ID3D12DeviceFactory : public IUnknown | ||
| 21863 | { | ||
| 21864 | virtual HRESULT STDMETHODCALLTYPE InitializeFromGlobalState( | ||
| 21865 | ) = 0; | ||
| 21866 | |||
| 21867 | virtual HRESULT STDMETHODCALLTYPE ApplyToGlobalState( | ||
| 21868 | ) = 0; | ||
| 21869 | |||
| 21870 | virtual HRESULT STDMETHODCALLTYPE SetFlags( | ||
| 21871 | D3D12_DEVICE_FACTORY_FLAGS flags) = 0; | ||
| 21872 | |||
| 21873 | virtual D3D12_DEVICE_FACTORY_FLAGS STDMETHODCALLTYPE GetFlags( | ||
| 21874 | ) = 0; | ||
| 21875 | |||
| 21876 | virtual HRESULT STDMETHODCALLTYPE GetConfigurationInterface( | ||
| 21877 | REFCLSID clsid, | ||
| 21878 | REFIID iid, | ||
| 21879 | void **ppv) = 0; | ||
| 21880 | |||
| 21881 | virtual HRESULT STDMETHODCALLTYPE EnableExperimentalFeatures( | ||
| 21882 | UINT num_features, | ||
| 21883 | const IID *iids, | ||
| 21884 | void *configuration_structs, | ||
| 21885 | UINT *configuration_struct_sizes) = 0; | ||
| 21886 | |||
| 21887 | virtual HRESULT STDMETHODCALLTYPE CreateDevice( | ||
| 21888 | IUnknown *adapter, | ||
| 21889 | D3D_FEATURE_LEVEL feature_level, | ||
| 21890 | REFIID riid, | ||
| 21891 | void **ppv_device) = 0; | ||
| 21892 | |||
| 21893 | }; | ||
| 21894 | #ifdef __CRT_UUID_DECL | ||
| 21895 | __CRT_UUID_DECL(ID3D12DeviceFactory, 0x61f307d3, 0xd34e, 0x4e7c, 0x83,0x74, 0x3b,0xa4,0xde,0x23,0xcc,0xcb) | ||
| 21896 | #endif | ||
| 21897 | #else | ||
| 21898 | typedef struct ID3D12DeviceFactoryVtbl { | ||
| 21899 | BEGIN_INTERFACE | ||
| 21900 | |||
| 21901 | /*** IUnknown methods ***/ | ||
| 21902 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 21903 | ID3D12DeviceFactory *This, | ||
| 21904 | REFIID riid, | ||
| 21905 | void **ppvObject); | ||
| 21906 | |||
| 21907 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 21908 | ID3D12DeviceFactory *This); | ||
| 21909 | |||
| 21910 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 21911 | ID3D12DeviceFactory *This); | ||
| 21912 | |||
| 21913 | /*** ID3D12DeviceFactory methods ***/ | ||
| 21914 | HRESULT (STDMETHODCALLTYPE *InitializeFromGlobalState)( | ||
| 21915 | ID3D12DeviceFactory *This); | ||
| 21916 | |||
| 21917 | HRESULT (STDMETHODCALLTYPE *ApplyToGlobalState)( | ||
| 21918 | ID3D12DeviceFactory *This); | ||
| 21919 | |||
| 21920 | HRESULT (STDMETHODCALLTYPE *SetFlags)( | ||
| 21921 | ID3D12DeviceFactory *This, | ||
| 21922 | D3D12_DEVICE_FACTORY_FLAGS flags); | ||
| 21923 | |||
| 21924 | D3D12_DEVICE_FACTORY_FLAGS (STDMETHODCALLTYPE *GetFlags)( | ||
| 21925 | ID3D12DeviceFactory *This); | ||
| 21926 | |||
| 21927 | HRESULT (STDMETHODCALLTYPE *GetConfigurationInterface)( | ||
| 21928 | ID3D12DeviceFactory *This, | ||
| 21929 | REFCLSID clsid, | ||
| 21930 | REFIID iid, | ||
| 21931 | void **ppv); | ||
| 21932 | |||
| 21933 | HRESULT (STDMETHODCALLTYPE *EnableExperimentalFeatures)( | ||
| 21934 | ID3D12DeviceFactory *This, | ||
| 21935 | UINT num_features, | ||
| 21936 | const IID *iids, | ||
| 21937 | void *configuration_structs, | ||
| 21938 | UINT *configuration_struct_sizes); | ||
| 21939 | |||
| 21940 | HRESULT (STDMETHODCALLTYPE *CreateDevice)( | ||
| 21941 | ID3D12DeviceFactory *This, | ||
| 21942 | IUnknown *adapter, | ||
| 21943 | D3D_FEATURE_LEVEL feature_level, | ||
| 21944 | REFIID riid, | ||
| 21945 | void **ppv_device); | ||
| 21946 | |||
| 21947 | END_INTERFACE | ||
| 21948 | } ID3D12DeviceFactoryVtbl; | ||
| 21949 | |||
| 21950 | interface ID3D12DeviceFactory { | ||
| 21951 | CONST_VTBL ID3D12DeviceFactoryVtbl* lpVtbl; | ||
| 21952 | }; | ||
| 21953 | |||
| 21954 | #ifdef COBJMACROS | ||
| 21955 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 21956 | /*** IUnknown methods ***/ | ||
| 21957 | #define ID3D12DeviceFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 21958 | #define ID3D12DeviceFactory_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 21959 | #define ID3D12DeviceFactory_Release(This) (This)->lpVtbl->Release(This) | ||
| 21960 | /*** ID3D12DeviceFactory methods ***/ | ||
| 21961 | #define ID3D12DeviceFactory_InitializeFromGlobalState(This) (This)->lpVtbl->InitializeFromGlobalState(This) | ||
| 21962 | #define ID3D12DeviceFactory_ApplyToGlobalState(This) (This)->lpVtbl->ApplyToGlobalState(This) | ||
| 21963 | #define ID3D12DeviceFactory_SetFlags(This,flags) (This)->lpVtbl->SetFlags(This,flags) | ||
| 21964 | #define ID3D12DeviceFactory_GetFlags(This) (This)->lpVtbl->GetFlags(This) | ||
| 21965 | #define ID3D12DeviceFactory_GetConfigurationInterface(This,clsid,iid,ppv) (This)->lpVtbl->GetConfigurationInterface(This,clsid,iid,ppv) | ||
| 21966 | #define ID3D12DeviceFactory_EnableExperimentalFeatures(This,num_features,iids,configuration_structs,configuration_struct_sizes) (This)->lpVtbl->EnableExperimentalFeatures(This,num_features,iids,configuration_structs,configuration_struct_sizes) | ||
| 21967 | #define ID3D12DeviceFactory_CreateDevice(This,adapter,feature_level,riid,ppv_device) (This)->lpVtbl->CreateDevice(This,adapter,feature_level,riid,ppv_device) | ||
| 21968 | #else | ||
| 21969 | /*** IUnknown methods ***/ | ||
| 21970 | static inline HRESULT ID3D12DeviceFactory_QueryInterface(ID3D12DeviceFactory* This,REFIID riid,void **ppvObject) { | ||
| 21971 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 21972 | } | ||
| 21973 | static inline ULONG ID3D12DeviceFactory_AddRef(ID3D12DeviceFactory* This) { | ||
| 21974 | return This->lpVtbl->AddRef(This); | ||
| 21975 | } | ||
| 21976 | static inline ULONG ID3D12DeviceFactory_Release(ID3D12DeviceFactory* This) { | ||
| 21977 | return This->lpVtbl->Release(This); | ||
| 21978 | } | ||
| 21979 | /*** ID3D12DeviceFactory methods ***/ | ||
| 21980 | static inline HRESULT ID3D12DeviceFactory_InitializeFromGlobalState(ID3D12DeviceFactory* This) { | ||
| 21981 | return This->lpVtbl->InitializeFromGlobalState(This); | ||
| 21982 | } | ||
| 21983 | static inline HRESULT ID3D12DeviceFactory_ApplyToGlobalState(ID3D12DeviceFactory* This) { | ||
| 21984 | return This->lpVtbl->ApplyToGlobalState(This); | ||
| 21985 | } | ||
| 21986 | static inline HRESULT ID3D12DeviceFactory_SetFlags(ID3D12DeviceFactory* This,D3D12_DEVICE_FACTORY_FLAGS flags) { | ||
| 21987 | return This->lpVtbl->SetFlags(This,flags); | ||
| 21988 | } | ||
| 21989 | static inline D3D12_DEVICE_FACTORY_FLAGS ID3D12DeviceFactory_GetFlags(ID3D12DeviceFactory* This) { | ||
| 21990 | return This->lpVtbl->GetFlags(This); | ||
| 21991 | } | ||
| 21992 | static inline HRESULT ID3D12DeviceFactory_GetConfigurationInterface(ID3D12DeviceFactory* This,REFCLSID clsid,REFIID iid,void **ppv) { | ||
| 21993 | return This->lpVtbl->GetConfigurationInterface(This,clsid,iid,ppv); | ||
| 21994 | } | ||
| 21995 | static inline HRESULT ID3D12DeviceFactory_EnableExperimentalFeatures(ID3D12DeviceFactory* This,UINT num_features,const IID *iids,void *configuration_structs,UINT *configuration_struct_sizes) { | ||
| 21996 | return This->lpVtbl->EnableExperimentalFeatures(This,num_features,iids,configuration_structs,configuration_struct_sizes); | ||
| 21997 | } | ||
| 21998 | static inline HRESULT ID3D12DeviceFactory_CreateDevice(ID3D12DeviceFactory* This,IUnknown *adapter,D3D_FEATURE_LEVEL feature_level,REFIID riid,void **ppv_device) { | ||
| 21999 | return This->lpVtbl->CreateDevice(This,adapter,feature_level,riid,ppv_device); | ||
| 22000 | } | ||
| 22001 | #endif | ||
| 22002 | #endif | ||
| 22003 | |||
| 22004 | #endif | ||
| 22005 | |||
| 22006 | |||
| 22007 | #endif /* __ID3D12DeviceFactory_INTERFACE_DEFINED__ */ | ||
| 22008 | |||
| 22009 | typedef enum D3D12_DEVICE_FLAGS { | ||
| 22010 | D3D12_DEVICE_FLAG_NONE = 0, | ||
| 22011 | D3D12_DEVICE_FLAG_DEBUG_LAYER_ENABLED = 0x1, | ||
| 22012 | D3D12_DEVICE_FLAG_GPU_BASED_VALIDATION_ENABLED = 0x2, | ||
| 22013 | D3D12_DEVICE_FLAG_SYNCHRONIZED_COMMAND_QUEUE_VALIDATION_DISABLED = 0x4, | ||
| 22014 | D3D12_DEVICE_FLAG_DRED_AUTO_BREADCRUMBS_ENABLED = 0x8, | ||
| 22015 | D3D12_DEVICE_FLAG_DRED_PAGE_FAULT_REPORTING_ENABLED = 0x10, | ||
| 22016 | D3D12_DEVICE_FLAG_DRED_WATSON_REPORTING_ENABLED = 0x20, | ||
| 22017 | D3D12_DEVICE_FLAG_DRED_BREADCRUMB_CONTEXT_ENABLED = 0x40, | ||
| 22018 | D3D12_DEVICE_FLAG_DRED_USE_MARKERS_ONLY_BREADCRUMBS = 0x80, | ||
| 22019 | D3D12_DEVICE_FLAG_SHADER_INSTRUMENTATION_ENABLED = 0x100, | ||
| 22020 | D3D12_DEVICE_FLAG_AUTO_DEBUG_NAME_ENABLED = 0x200, | ||
| 22021 | D3D12_DEVICE_FLAG_FORCE_LEGACY_STATE_VALIDATION = 0x400 | ||
| 22022 | } D3D12_DEVICE_FLAGS; | ||
| 22023 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_DEVICE_FLAGS) | ||
| 22024 | typedef struct D3D12_DEVICE_CONFIGURATION_DESC { | ||
| 22025 | D3D12_DEVICE_FLAGS Flags; | ||
| 22026 | UINT GpuBasedValidationFlags; | ||
| 22027 | UINT SDKVersion; | ||
| 22028 | UINT NumEnabledExperimentalFeatures; | ||
| 22029 | } D3D12_DEVICE_CONFIGURATION_DESC; | ||
| 22030 | /***************************************************************************** | ||
| 22031 | * ID3D12DeviceConfiguration interface | ||
| 22032 | */ | ||
| 22033 | #ifndef __ID3D12DeviceConfiguration_INTERFACE_DEFINED__ | ||
| 22034 | #define __ID3D12DeviceConfiguration_INTERFACE_DEFINED__ | ||
| 22035 | |||
| 22036 | DEFINE_GUID(IID_ID3D12DeviceConfiguration, 0x78dbf87b, 0xf766, 0x422b, 0xa6,0x1c, 0xc8,0xc4,0x46,0xbd,0xb9,0xad); | ||
| 22037 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 22038 | MIDL_INTERFACE("78dbf87b-f766-422b-a61c-c8c446bdb9ad") | ||
| 22039 | ID3D12DeviceConfiguration : public IUnknown | ||
| 22040 | { | ||
| 22041 | #ifdef WIDL_EXPLICIT_AGGREGATE_RETURNS | ||
| 22042 | virtual D3D12_DEVICE_CONFIGURATION_DESC* STDMETHODCALLTYPE GetDesc( | ||
| 22043 | D3D12_DEVICE_CONFIGURATION_DESC *__ret) = 0; | ||
| 22044 | D3D12_DEVICE_CONFIGURATION_DESC STDMETHODCALLTYPE GetDesc( | ||
| 22045 | ) | ||
| 22046 | { | ||
| 22047 | D3D12_DEVICE_CONFIGURATION_DESC __ret; | ||
| 22048 | return *GetDesc(&__ret); | ||
| 22049 | } | ||
| 22050 | #else | ||
| 22051 | virtual D3D12_DEVICE_CONFIGURATION_DESC STDMETHODCALLTYPE GetDesc( | ||
| 22052 | ) = 0; | ||
| 22053 | #endif | ||
| 22054 | |||
| 22055 | virtual HRESULT STDMETHODCALLTYPE GetEnabledExperimentalFeatures( | ||
| 22056 | GUID *guids, | ||
| 22057 | UINT num_guids) = 0; | ||
| 22058 | |||
| 22059 | virtual HRESULT STDMETHODCALLTYPE SerializeVersionedRootSignature( | ||
| 22060 | const D3D12_VERSIONED_ROOT_SIGNATURE_DESC *desc, | ||
| 22061 | ID3DBlob **result, | ||
| 22062 | ID3DBlob **error) = 0; | ||
| 22063 | |||
| 22064 | virtual HRESULT STDMETHODCALLTYPE CreateVersionedRootSignatureDeserializer( | ||
| 22065 | const void *blob, | ||
| 22066 | SIZE_T size, | ||
| 22067 | REFIID riid, | ||
| 22068 | void **deserializer) = 0; | ||
| 22069 | |||
| 22070 | }; | ||
| 22071 | #ifdef __CRT_UUID_DECL | ||
| 22072 | __CRT_UUID_DECL(ID3D12DeviceConfiguration, 0x78dbf87b, 0xf766, 0x422b, 0xa6,0x1c, 0xc8,0xc4,0x46,0xbd,0xb9,0xad) | ||
| 22073 | #endif | ||
| 22074 | #else | ||
| 22075 | typedef struct ID3D12DeviceConfigurationVtbl { | ||
| 22076 | BEGIN_INTERFACE | ||
| 22077 | |||
| 22078 | /*** IUnknown methods ***/ | ||
| 22079 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 22080 | ID3D12DeviceConfiguration *This, | ||
| 22081 | REFIID riid, | ||
| 22082 | void **ppvObject); | ||
| 22083 | |||
| 22084 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 22085 | ID3D12DeviceConfiguration *This); | ||
| 22086 | |||
| 22087 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 22088 | ID3D12DeviceConfiguration *This); | ||
| 22089 | |||
| 22090 | /*** ID3D12DeviceConfiguration methods ***/ | ||
| 22091 | D3D12_DEVICE_CONFIGURATION_DESC * (STDMETHODCALLTYPE *GetDesc)( | ||
| 22092 | ID3D12DeviceConfiguration *This, | ||
| 22093 | D3D12_DEVICE_CONFIGURATION_DESC *__ret); | ||
| 22094 | |||
| 22095 | HRESULT (STDMETHODCALLTYPE *GetEnabledExperimentalFeatures)( | ||
| 22096 | ID3D12DeviceConfiguration *This, | ||
| 22097 | GUID *guids, | ||
| 22098 | UINT num_guids); | ||
| 22099 | |||
| 22100 | HRESULT (STDMETHODCALLTYPE *SerializeVersionedRootSignature)( | ||
| 22101 | ID3D12DeviceConfiguration *This, | ||
| 22102 | const D3D12_VERSIONED_ROOT_SIGNATURE_DESC *desc, | ||
| 22103 | ID3DBlob **result, | ||
| 22104 | ID3DBlob **error); | ||
| 22105 | |||
| 22106 | HRESULT (STDMETHODCALLTYPE *CreateVersionedRootSignatureDeserializer)( | ||
| 22107 | ID3D12DeviceConfiguration *This, | ||
| 22108 | const void *blob, | ||
| 22109 | SIZE_T size, | ||
| 22110 | REFIID riid, | ||
| 22111 | void **deserializer); | ||
| 22112 | |||
| 22113 | END_INTERFACE | ||
| 22114 | } ID3D12DeviceConfigurationVtbl; | ||
| 22115 | |||
| 22116 | interface ID3D12DeviceConfiguration { | ||
| 22117 | CONST_VTBL ID3D12DeviceConfigurationVtbl* lpVtbl; | ||
| 22118 | }; | ||
| 22119 | |||
| 22120 | #ifdef COBJMACROS | ||
| 22121 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 22122 | /*** IUnknown methods ***/ | ||
| 22123 | #define ID3D12DeviceConfiguration_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 22124 | #define ID3D12DeviceConfiguration_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 22125 | #define ID3D12DeviceConfiguration_Release(This) (This)->lpVtbl->Release(This) | ||
| 22126 | /*** ID3D12DeviceConfiguration methods ***/ | ||
| 22127 | #define ID3D12DeviceConfiguration_GetDesc(This) ID3D12DeviceConfiguration_GetDesc_define_WIDL_C_INLINE_WRAPPERS_for_aggregate_return_support | ||
| 22128 | #define ID3D12DeviceConfiguration_GetEnabledExperimentalFeatures(This,guids,num_guids) (This)->lpVtbl->GetEnabledExperimentalFeatures(This,guids,num_guids) | ||
| 22129 | #define ID3D12DeviceConfiguration_SerializeVersionedRootSignature(This,desc,result,error) (This)->lpVtbl->SerializeVersionedRootSignature(This,desc,result,error) | ||
| 22130 | #define ID3D12DeviceConfiguration_CreateVersionedRootSignatureDeserializer(This,blob,size,riid,deserializer) (This)->lpVtbl->CreateVersionedRootSignatureDeserializer(This,blob,size,riid,deserializer) | ||
| 22131 | #else | ||
| 22132 | /*** IUnknown methods ***/ | ||
| 22133 | static inline HRESULT ID3D12DeviceConfiguration_QueryInterface(ID3D12DeviceConfiguration* This,REFIID riid,void **ppvObject) { | ||
| 22134 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 22135 | } | ||
| 22136 | static inline ULONG ID3D12DeviceConfiguration_AddRef(ID3D12DeviceConfiguration* This) { | ||
| 22137 | return This->lpVtbl->AddRef(This); | ||
| 22138 | } | ||
| 22139 | static inline ULONG ID3D12DeviceConfiguration_Release(ID3D12DeviceConfiguration* This) { | ||
| 22140 | return This->lpVtbl->Release(This); | ||
| 22141 | } | ||
| 22142 | /*** ID3D12DeviceConfiguration methods ***/ | ||
| 22143 | static inline D3D12_DEVICE_CONFIGURATION_DESC ID3D12DeviceConfiguration_GetDesc(ID3D12DeviceConfiguration* This) { | ||
| 22144 | D3D12_DEVICE_CONFIGURATION_DESC __ret; | ||
| 22145 | return *This->lpVtbl->GetDesc(This,&__ret); | ||
| 22146 | } | ||
| 22147 | static inline HRESULT ID3D12DeviceConfiguration_GetEnabledExperimentalFeatures(ID3D12DeviceConfiguration* This,GUID *guids,UINT num_guids) { | ||
| 22148 | return This->lpVtbl->GetEnabledExperimentalFeatures(This,guids,num_guids); | ||
| 22149 | } | ||
| 22150 | static inline HRESULT ID3D12DeviceConfiguration_SerializeVersionedRootSignature(ID3D12DeviceConfiguration* This,const D3D12_VERSIONED_ROOT_SIGNATURE_DESC *desc,ID3DBlob **result,ID3DBlob **error) { | ||
| 22151 | return This->lpVtbl->SerializeVersionedRootSignature(This,desc,result,error); | ||
| 22152 | } | ||
| 22153 | static inline HRESULT ID3D12DeviceConfiguration_CreateVersionedRootSignatureDeserializer(ID3D12DeviceConfiguration* This,const void *blob,SIZE_T size,REFIID riid,void **deserializer) { | ||
| 22154 | return This->lpVtbl->CreateVersionedRootSignatureDeserializer(This,blob,size,riid,deserializer); | ||
| 22155 | } | ||
| 22156 | #endif | ||
| 22157 | #endif | ||
| 22158 | |||
| 22159 | #endif | ||
| 22160 | |||
| 22161 | |||
| 22162 | #endif /* __ID3D12DeviceConfiguration_INTERFACE_DEFINED__ */ | ||
| 22163 | |||
| 21704 | typedef enum D3D12_AXIS_SHADING_RATE { | 22164 | typedef enum D3D12_AXIS_SHADING_RATE { |
| 21705 | D3D12_AXIS_SHADING_RATE_1X = 0x0, | 22165 | D3D12_AXIS_SHADING_RATE_1X = 0x0, |
| 21706 | D3D12_AXIS_SHADING_RATE_2X = 0x1, | 22166 | D3D12_AXIS_SHADING_RATE_2X = 0x1, |
lib/libc/include/any-windows-any/d3d12sdklayers.h+3-2| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/d3d12sdklayers.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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__ |
| ... | @@ -989,7 +989,8 @@ typedef enum D3D12_MESSAGE_ID { | ... | @@ -989,7 +989,8 @@ typedef enum D3D12_MESSAGE_ID { |
| 989 | D3D12_MESSAGE_ID_CREATE_ROOT_SIGNATURE_UNBOUNDED_STATIC_DESCRIPTORS = 0x4fd, | 989 | D3D12_MESSAGE_ID_CREATE_ROOT_SIGNATURE_UNBOUNDED_STATIC_DESCRIPTORS = 0x4fd, |
| 990 | D3D12_MESSAGE_ID_CREATEAMPLIFICATIONSHADER_INVALIDSHADERBYTECODE = 0x4fe, | 990 | D3D12_MESSAGE_ID_CREATEAMPLIFICATIONSHADER_INVALIDSHADERBYTECODE = 0x4fe, |
| 991 | D3D12_MESSAGE_ID_CREATEAMPLIFICATIONSHADER_OUTOFMEMORY = 0x4ff, | 991 | D3D12_MESSAGE_ID_CREATEAMPLIFICATIONSHADER_OUTOFMEMORY = 0x4ff, |
| 992 | D3D12_MESSAGE_ID_D3D12_MESSAGES_END = 0x500 | 992 | D3D12_MESSAGE_ID_INCOMPATIBLE_BARRIER_LAYOUT = 0x536, |
| 993 | D3D12_MESSAGE_ID_D3D12_MESSAGES_END = 0x537 | ||
| 993 | } D3D12_MESSAGE_ID; | 994 | } D3D12_MESSAGE_ID; |
| 994 | typedef enum D3D12_GPU_BASED_VALIDATION_SHADER_PATCH_MODE { | 995 | typedef enum D3D12_GPU_BASED_VALIDATION_SHADER_PATCH_MODE { |
| 995 | D3D12_GPU_BASED_VALIDATION_SHADER_PATCH_MODE_NONE = 0x0, | 996 | D3D12_GPU_BASED_VALIDATION_SHADER_PATCH_MODE_NONE = 0x0, |
lib/libc/include/any-windows-any/d3d12shader.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/d3d12shader.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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+1111-4| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/d3d12video.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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__ |
| ... | @@ -42,6 +42,14 @@ interface ID3D12VideoDecoder; | ... | @@ -42,6 +42,14 @@ interface ID3D12VideoDecoder; |
| 42 | #endif /* __cplusplus */ | 42 | #endif /* __cplusplus */ |
| 43 | #endif | 43 | #endif |
| 44 | 44 | ||
| 45 | #ifndef __ID3D12VideoProcessor_FWD_DEFINED__ | ||
| 46 | #define __ID3D12VideoProcessor_FWD_DEFINED__ | ||
| 47 | typedef interface ID3D12VideoProcessor ID3D12VideoProcessor; | ||
| 48 | #ifdef __cplusplus | ||
| 49 | interface ID3D12VideoProcessor; | ||
| 50 | #endif /* __cplusplus */ | ||
| 51 | #endif | ||
| 52 | |||
| 45 | #ifndef __ID3D12VideoDecodeCommandList_FWD_DEFINED__ | 53 | #ifndef __ID3D12VideoDecodeCommandList_FWD_DEFINED__ |
| 46 | #define __ID3D12VideoDecodeCommandList_FWD_DEFINED__ | 54 | #define __ID3D12VideoDecodeCommandList_FWD_DEFINED__ |
| 47 | typedef interface ID3D12VideoDecodeCommandList ID3D12VideoDecodeCommandList; | 55 | typedef interface ID3D12VideoDecodeCommandList ID3D12VideoDecodeCommandList; |
| ... | @@ -50,6 +58,14 @@ interface ID3D12VideoDecodeCommandList; | ... | @@ -50,6 +58,14 @@ interface ID3D12VideoDecodeCommandList; |
| 50 | #endif /* __cplusplus */ | 58 | #endif /* __cplusplus */ |
| 51 | #endif | 59 | #endif |
| 52 | 60 | ||
| 61 | #ifndef __ID3D12VideoProcessCommandList_FWD_DEFINED__ | ||
| 62 | #define __ID3D12VideoProcessCommandList_FWD_DEFINED__ | ||
| 63 | typedef interface ID3D12VideoProcessCommandList ID3D12VideoProcessCommandList; | ||
| 64 | #ifdef __cplusplus | ||
| 65 | interface ID3D12VideoProcessCommandList; | ||
| 66 | #endif /* __cplusplus */ | ||
| 67 | #endif | ||
| 68 | |||
| 53 | #ifndef __ID3D12VideoDecodeCommandList1_FWD_DEFINED__ | 69 | #ifndef __ID3D12VideoDecodeCommandList1_FWD_DEFINED__ |
| 54 | #define __ID3D12VideoDecodeCommandList1_FWD_DEFINED__ | 70 | #define __ID3D12VideoDecodeCommandList1_FWD_DEFINED__ |
| 55 | typedef interface ID3D12VideoDecodeCommandList1 ID3D12VideoDecodeCommandList1; | 71 | typedef interface ID3D12VideoDecodeCommandList1 ID3D12VideoDecodeCommandList1; |
| ... | @@ -169,6 +185,15 @@ typedef enum D3D12_VIDEO_FRAME_STEREO_FORMAT { | ... | @@ -169,6 +185,15 @@ typedef enum D3D12_VIDEO_FRAME_STEREO_FORMAT { |
| 169 | D3D12_VIDEO_FRAME_STEREO_FORMAT_VERTICAL = 3, | 185 | D3D12_VIDEO_FRAME_STEREO_FORMAT_VERTICAL = 3, |
| 170 | D3D12_VIDEO_FRAME_STEREO_FORMAT_SEPARATE = 4 | 186 | D3D12_VIDEO_FRAME_STEREO_FORMAT_SEPARATE = 4 |
| 171 | } D3D12_VIDEO_FRAME_STEREO_FORMAT; | 187 | } D3D12_VIDEO_FRAME_STEREO_FORMAT; |
| 188 | typedef struct D3D12_VIDEO_FORMAT { | ||
| 189 | DXGI_FORMAT Format; | ||
| 190 | DXGI_COLOR_SPACE_TYPE ColorSpace; | ||
| 191 | } D3D12_VIDEO_FORMAT; | ||
| 192 | typedef struct D3D12_VIDEO_SAMPLE { | ||
| 193 | UINT Width; | ||
| 194 | UINT Height; | ||
| 195 | D3D12_VIDEO_FORMAT Format; | ||
| 196 | } D3D12_VIDEO_SAMPLE; | ||
| 172 | typedef enum D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE { | 197 | typedef enum D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE { |
| 173 | D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE_NONE = 0, | 198 | D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE_NONE = 0, |
| 174 | D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE_FIELD_BASED = 1 | 199 | D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE_FIELD_BASED = 1 |
| ... | @@ -213,7 +238,9 @@ typedef enum D3D12_FEATURE_VIDEO { | ... | @@ -213,7 +238,9 @@ typedef enum D3D12_FEATURE_VIDEO { |
| 213 | D3D12_FEATURE_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT = 42, | 238 | D3D12_FEATURE_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT = 42, |
| 214 | D3D12_FEATURE_VIDEO_ENCODER_SUPPORT = 43, | 239 | D3D12_FEATURE_VIDEO_ENCODER_SUPPORT = 43, |
| 215 | D3D12_FEATURE_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT = 44, | 240 | D3D12_FEATURE_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT = 44, |
| 216 | D3D12_FEATURE_VIDEO_ENCODER_RESOURCE_REQUIREMENTS = 45 | 241 | D3D12_FEATURE_VIDEO_ENCODER_RESOURCE_REQUIREMENTS = 45, |
| 242 | D3D12_FEATURE_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG = 46, | ||
| 243 | D3D12_FEATURE_VIDEO_ENCODER_SUPPORT1 = 47 | ||
| 217 | } D3D12_FEATURE_VIDEO; | 244 | } D3D12_FEATURE_VIDEO; |
| 218 | typedef enum D3D12_BITSTREAM_ENCRYPTION_TYPE { | 245 | typedef enum D3D12_BITSTREAM_ENCRYPTION_TYPE { |
| 219 | D3D12_BITSTREAM_ENCRYPTION_TYPE_NONE = 0 | 246 | D3D12_BITSTREAM_ENCRYPTION_TYPE_NONE = 0 |
| ... | @@ -271,6 +298,10 @@ typedef enum D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { | ... | @@ -271,6 +298,10 @@ typedef enum D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { |
| 271 | D3D12_VIDEO_PROCESS_DEINTERLACE_FLAG_CUSTOM = 0x80000000 | 298 | D3D12_VIDEO_PROCESS_DEINTERLACE_FLAG_CUSTOM = 0x80000000 |
| 272 | } D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS; | 299 | } D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS; |
| 273 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS ); | 300 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS ); |
| 301 | typedef struct D3D12_VIDEO_PROCESS_ALPHA_BLENDING { | ||
| 302 | WINBOOL Enable; | ||
| 303 | FLOAT Alpha; | ||
| 304 | } D3D12_VIDEO_PROCESS_ALPHA_BLENDING; | ||
| 274 | typedef struct D3D12_VIDEO_PROCESS_LUMA_KEY { | 305 | typedef struct D3D12_VIDEO_PROCESS_LUMA_KEY { |
| 275 | WINBOOL Enable; | 306 | WINBOOL Enable; |
| 276 | FLOAT Lower; | 307 | FLOAT Lower; |
| ... | @@ -761,6 +792,16 @@ typedef struct D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT { | ... | @@ -761,6 +792,16 @@ typedef struct D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT { |
| 761 | D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS ConfigurationFlags; | 792 | D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS ConfigurationFlags; |
| 762 | D3D12_VIDEO_DECODE_TIER DecodeTier; | 793 | D3D12_VIDEO_DECODE_TIER DecodeTier; |
| 763 | } D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT; | 794 | } D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT; |
| 795 | typedef enum D3D12_VIDEO_SCALE_SUPPORT_FLAGS { | ||
| 796 | D3D12_VIDEO_SCALE_SUPPORT_FLAG_NONE = 0x0, | ||
| 797 | D3D12_VIDEO_SCALE_SUPPORT_FLAG_POW2_ONLY = 0x1, | ||
| 798 | D3D12_VIDEO_SCALE_SUPPORT_FLAG_EVEN_DIMENSIONS_ONLY = 0x2 | ||
| 799 | } D3D12_VIDEO_SCALE_SUPPORT_FLAGS; | ||
| 800 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_SCALE_SUPPORT_FLAGS) | ||
| 801 | typedef struct D3D12_VIDEO_SCALE_SUPPORT { | ||
| 802 | D3D12_VIDEO_SIZE_RANGE OutputSizeRange; | ||
| 803 | D3D12_VIDEO_SCALE_SUPPORT_FLAGS Flags; | ||
| 804 | } D3D12_VIDEO_SCALE_SUPPORT; | ||
| 764 | typedef struct D3D12_VIDEO_DECODE_FRAME_ARGUMENT { | 805 | typedef struct D3D12_VIDEO_DECODE_FRAME_ARGUMENT { |
| 765 | D3D12_VIDEO_DECODE_ARGUMENT_TYPE Type; | 806 | D3D12_VIDEO_DECODE_ARGUMENT_TYPE Type; |
| 766 | UINT Size; | 807 | UINT Size; |
| ... | @@ -796,6 +837,286 @@ typedef struct D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS { | ... | @@ -796,6 +837,286 @@ typedef struct D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS { |
| 796 | UINT OutputSubresource; | 837 | UINT OutputSubresource; |
| 797 | D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS ConversionArguments; | 838 | D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS ConversionArguments; |
| 798 | } D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS; | 839 | } D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS; |
| 840 | /***************************************************************************** | ||
| 841 | * ID3D12VideoProcessor interface | ||
| 842 | */ | ||
| 843 | #ifndef __ID3D12VideoProcessor_INTERFACE_DEFINED__ | ||
| 844 | #define __ID3D12VideoProcessor_INTERFACE_DEFINED__ | ||
| 845 | |||
| 846 | DEFINE_GUID(IID_ID3D12VideoProcessor, 0x304fdb32, 0xbede, 0x410a, 0x85,0x45, 0x94,0x3a,0xc6,0xa4,0x61,0x38); | ||
| 847 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 848 | MIDL_INTERFACE("304fdb32-bede-410a-8545-943ac6a46138") | ||
| 849 | ID3D12VideoProcessor : public ID3D12Pageable | ||
| 850 | { | ||
| 851 | virtual UINT STDMETHODCALLTYPE GetNodeMask( | ||
| 852 | ) = 0; | ||
| 853 | |||
| 854 | virtual UINT STDMETHODCALLTYPE GetNumInputStreamDescs( | ||
| 855 | ) = 0; | ||
| 856 | |||
| 857 | virtual HRESULT STDMETHODCALLTYPE GetInputStreamDescs( | ||
| 858 | UINT num_input_stream_descs, | ||
| 859 | D3D12_VIDEO_PROCESS_INPUT_STREAM_DESC *input_stream_descs) = 0; | ||
| 860 | |||
| 861 | #ifdef WIDL_EXPLICIT_AGGREGATE_RETURNS | ||
| 862 | virtual D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC* STDMETHODCALLTYPE GetOutputStreamDesc( | ||
| 863 | D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC *__ret) = 0; | ||
| 864 | D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC STDMETHODCALLTYPE GetOutputStreamDesc( | ||
| 865 | ) | ||
| 866 | { | ||
| 867 | D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC __ret; | ||
| 868 | return *GetOutputStreamDesc(&__ret); | ||
| 869 | } | ||
| 870 | #else | ||
| 871 | virtual D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC STDMETHODCALLTYPE GetOutputStreamDesc( | ||
| 872 | ) = 0; | ||
| 873 | #endif | ||
| 874 | |||
| 875 | }; | ||
| 876 | #ifdef __CRT_UUID_DECL | ||
| 877 | __CRT_UUID_DECL(ID3D12VideoProcessor, 0x304fdb32, 0xbede, 0x410a, 0x85,0x45, 0x94,0x3a,0xc6,0xa4,0x61,0x38) | ||
| 878 | #endif | ||
| 879 | #else | ||
| 880 | typedef struct ID3D12VideoProcessorVtbl { | ||
| 881 | BEGIN_INTERFACE | ||
| 882 | |||
| 883 | /*** IUnknown methods ***/ | ||
| 884 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 885 | ID3D12VideoProcessor *This, | ||
| 886 | REFIID riid, | ||
| 887 | void **ppvObject); | ||
| 888 | |||
| 889 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 890 | ID3D12VideoProcessor *This); | ||
| 891 | |||
| 892 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 893 | ID3D12VideoProcessor *This); | ||
| 894 | |||
| 895 | /*** ID3D12Object methods ***/ | ||
| 896 | HRESULT (STDMETHODCALLTYPE *GetPrivateData)( | ||
| 897 | ID3D12VideoProcessor *This, | ||
| 898 | REFGUID guid, | ||
| 899 | UINT *data_size, | ||
| 900 | void *data); | ||
| 901 | |||
| 902 | HRESULT (STDMETHODCALLTYPE *SetPrivateData)( | ||
| 903 | ID3D12VideoProcessor *This, | ||
| 904 | REFGUID guid, | ||
| 905 | UINT data_size, | ||
| 906 | const void *data); | ||
| 907 | |||
| 908 | HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( | ||
| 909 | ID3D12VideoProcessor *This, | ||
| 910 | REFGUID guid, | ||
| 911 | const IUnknown *data); | ||
| 912 | |||
| 913 | HRESULT (STDMETHODCALLTYPE *SetName)( | ||
| 914 | ID3D12VideoProcessor *This, | ||
| 915 | const WCHAR *name); | ||
| 916 | |||
| 917 | /*** ID3D12DeviceChild methods ***/ | ||
| 918 | HRESULT (STDMETHODCALLTYPE *GetDevice)( | ||
| 919 | ID3D12VideoProcessor *This, | ||
| 920 | REFIID riid, | ||
| 921 | void **device); | ||
| 922 | |||
| 923 | /*** ID3D12VideoProcessor methods ***/ | ||
| 924 | UINT (STDMETHODCALLTYPE *GetNodeMask)( | ||
| 925 | ID3D12VideoProcessor *This); | ||
| 926 | |||
| 927 | UINT (STDMETHODCALLTYPE *GetNumInputStreamDescs)( | ||
| 928 | ID3D12VideoProcessor *This); | ||
| 929 | |||
| 930 | HRESULT (STDMETHODCALLTYPE *GetInputStreamDescs)( | ||
| 931 | ID3D12VideoProcessor *This, | ||
| 932 | UINT num_input_stream_descs, | ||
| 933 | D3D12_VIDEO_PROCESS_INPUT_STREAM_DESC *input_stream_descs); | ||
| 934 | |||
| 935 | D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC * (STDMETHODCALLTYPE *GetOutputStreamDesc)( | ||
| 936 | ID3D12VideoProcessor *This, | ||
| 937 | D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC *__ret); | ||
| 938 | |||
| 939 | END_INTERFACE | ||
| 940 | } ID3D12VideoProcessorVtbl; | ||
| 941 | |||
| 942 | interface ID3D12VideoProcessor { | ||
| 943 | CONST_VTBL ID3D12VideoProcessorVtbl* lpVtbl; | ||
| 944 | }; | ||
| 945 | |||
| 946 | #ifdef COBJMACROS | ||
| 947 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 948 | /*** IUnknown methods ***/ | ||
| 949 | #define ID3D12VideoProcessor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 950 | #define ID3D12VideoProcessor_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 951 | #define ID3D12VideoProcessor_Release(This) (This)->lpVtbl->Release(This) | ||
| 952 | /*** ID3D12Object methods ***/ | ||
| 953 | #define ID3D12VideoProcessor_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) | ||
| 954 | #define ID3D12VideoProcessor_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) | ||
| 955 | #define ID3D12VideoProcessor_SetPrivateDataInterface(This,guid,data) (This)->lpVtbl->SetPrivateDataInterface(This,guid,data) | ||
| 956 | #define ID3D12VideoProcessor_SetName(This,name) (This)->lpVtbl->SetName(This,name) | ||
| 957 | /*** ID3D12DeviceChild methods ***/ | ||
| 958 | #define ID3D12VideoProcessor_GetDevice(This,riid,device) (This)->lpVtbl->GetDevice(This,riid,device) | ||
| 959 | /*** ID3D12VideoProcessor methods ***/ | ||
| 960 | #define ID3D12VideoProcessor_GetNodeMask(This) (This)->lpVtbl->GetNodeMask(This) | ||
| 961 | #define ID3D12VideoProcessor_GetNumInputStreamDescs(This) (This)->lpVtbl->GetNumInputStreamDescs(This) | ||
| 962 | #define ID3D12VideoProcessor_GetInputStreamDescs(This,num_input_stream_descs,input_stream_descs) (This)->lpVtbl->GetInputStreamDescs(This,num_input_stream_descs,input_stream_descs) | ||
| 963 | #define ID3D12VideoProcessor_GetOutputStreamDesc(This) ID3D12VideoProcessor_GetOutputStreamDesc_define_WIDL_C_INLINE_WRAPPERS_for_aggregate_return_support | ||
| 964 | #else | ||
| 965 | /*** IUnknown methods ***/ | ||
| 966 | static inline HRESULT ID3D12VideoProcessor_QueryInterface(ID3D12VideoProcessor* This,REFIID riid,void **ppvObject) { | ||
| 967 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 968 | } | ||
| 969 | static inline ULONG ID3D12VideoProcessor_AddRef(ID3D12VideoProcessor* This) { | ||
| 970 | return This->lpVtbl->AddRef(This); | ||
| 971 | } | ||
| 972 | static inline ULONG ID3D12VideoProcessor_Release(ID3D12VideoProcessor* This) { | ||
| 973 | return This->lpVtbl->Release(This); | ||
| 974 | } | ||
| 975 | /*** ID3D12Object methods ***/ | ||
| 976 | static inline HRESULT ID3D12VideoProcessor_GetPrivateData(ID3D12VideoProcessor* This,REFGUID guid,UINT *data_size,void *data) { | ||
| 977 | return This->lpVtbl->GetPrivateData(This,guid,data_size,data); | ||
| 978 | } | ||
| 979 | static inline HRESULT ID3D12VideoProcessor_SetPrivateData(ID3D12VideoProcessor* This,REFGUID guid,UINT data_size,const void *data) { | ||
| 980 | return This->lpVtbl->SetPrivateData(This,guid,data_size,data); | ||
| 981 | } | ||
| 982 | static inline HRESULT ID3D12VideoProcessor_SetPrivateDataInterface(ID3D12VideoProcessor* This,REFGUID guid,const IUnknown *data) { | ||
| 983 | return This->lpVtbl->SetPrivateDataInterface(This,guid,data); | ||
| 984 | } | ||
| 985 | static inline HRESULT ID3D12VideoProcessor_SetName(ID3D12VideoProcessor* This,const WCHAR *name) { | ||
| 986 | return This->lpVtbl->SetName(This,name); | ||
| 987 | } | ||
| 988 | /*** ID3D12DeviceChild methods ***/ | ||
| 989 | static inline HRESULT ID3D12VideoProcessor_GetDevice(ID3D12VideoProcessor* This,REFIID riid,void **device) { | ||
| 990 | return This->lpVtbl->GetDevice(This,riid,device); | ||
| 991 | } | ||
| 992 | /*** ID3D12VideoProcessor methods ***/ | ||
| 993 | static inline UINT ID3D12VideoProcessor_GetNodeMask(ID3D12VideoProcessor* This) { | ||
| 994 | return This->lpVtbl->GetNodeMask(This); | ||
| 995 | } | ||
| 996 | static inline UINT ID3D12VideoProcessor_GetNumInputStreamDescs(ID3D12VideoProcessor* This) { | ||
| 997 | return This->lpVtbl->GetNumInputStreamDescs(This); | ||
| 998 | } | ||
| 999 | static inline HRESULT ID3D12VideoProcessor_GetInputStreamDescs(ID3D12VideoProcessor* This,UINT num_input_stream_descs,D3D12_VIDEO_PROCESS_INPUT_STREAM_DESC *input_stream_descs) { | ||
| 1000 | return This->lpVtbl->GetInputStreamDescs(This,num_input_stream_descs,input_stream_descs); | ||
| 1001 | } | ||
| 1002 | static inline D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC ID3D12VideoProcessor_GetOutputStreamDesc(ID3D12VideoProcessor* This) { | ||
| 1003 | D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC __ret; | ||
| 1004 | return *This->lpVtbl->GetOutputStreamDesc(This,&__ret); | ||
| 1005 | } | ||
| 1006 | #endif | ||
| 1007 | #endif | ||
| 1008 | |||
| 1009 | #endif | ||
| 1010 | |||
| 1011 | |||
| 1012 | #endif /* __ID3D12VideoProcessor_INTERFACE_DEFINED__ */ | ||
| 1013 | |||
| 1014 | typedef enum D3D12_VIDEO_PROCESS_FEATURE_FLAGS { | ||
| 1015 | D3D12_VIDEO_PROCESS_FEATURE_FLAG_NONE = 0x0, | ||
| 1016 | D3D12_VIDEO_PROCESS_FEATURE_FLAG_ALPHA_FILL = 0x1, | ||
| 1017 | D3D12_VIDEO_PROCESS_FEATURE_FLAG_LUMA_KEY = 0x2, | ||
| 1018 | D3D12_VIDEO_PROCESS_FEATURE_FLAG_STEREO = 0x4, | ||
| 1019 | D3D12_VIDEO_PROCESS_FEATURE_FLAG_ROTATION = 0x8, | ||
| 1020 | D3D12_VIDEO_PROCESS_FEATURE_FLAG_FLIP = 0x10, | ||
| 1021 | D3D12_VIDEO_PROCESS_FEATURE_FLAG_ALPHA_BLENDING = 0x20, | ||
| 1022 | D3D12_VIDEO_PROCESS_FEATURE_FLAG_PIXEL_ASPECT_RATIO = 0x40 | ||
| 1023 | } D3D12_VIDEO_PROCESS_FEATURE_FLAGS; | ||
| 1024 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FEATURE_FLAGS) | ||
| 1025 | typedef enum D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { | ||
| 1026 | D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAG_NONE = 0x0, | ||
| 1027 | D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAG_DENOISE = 0x1, | ||
| 1028 | D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAG_DERINGING = 0x2, | ||
| 1029 | D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAG_EDGE_ENHANCEMENT = 0x4, | ||
| 1030 | D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAG_COLOR_CORRECTION = 0x8, | ||
| 1031 | D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAG_FLESH_TONE_MAPPING = 0x10, | ||
| 1032 | D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAG_IMAGE_STABILIZATION = 0x20, | ||
| 1033 | D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAG_SUPER_RESOLUTION = 0x40, | ||
| 1034 | D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAG_ANAMORPHIC_SCALING = 0x80, | ||
| 1035 | D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAG_CUSTOM = 0x80000000 | ||
| 1036 | } D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS; | ||
| 1037 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS) | ||
| 1038 | typedef enum D3D12_VIDEO_PROCESS_ORIENTATION { | ||
| 1039 | D3D12_VIDEO_PROCESS_ORIENTATION_DEFAULT = 0, | ||
| 1040 | D3D12_VIDEO_PROCESS_ORIENTATION_FLIP_HORIZONTAL = 1, | ||
| 1041 | D3D12_VIDEO_PROCESS_ORIENTATION_CLOCKWISE_90 = 2, | ||
| 1042 | D3D12_VIDEO_PROCESS_ORIENTATION_CLOCKWISE_90_FLIP_HORIZONTAL = 3, | ||
| 1043 | D3D12_VIDEO_PROCESS_ORIENTATION_CLOCKWISE_180 = 4, | ||
| 1044 | D3D12_VIDEO_PROCESS_ORIENTATION_FLIP_VERTICAL = 5, | ||
| 1045 | D3D12_VIDEO_PROCESS_ORIENTATION_CLOCKWISE_270 = 6, | ||
| 1046 | D3D12_VIDEO_PROCESS_ORIENTATION_CLOCKWISE_270_FLIP_HORIZONTAL = 7 | ||
| 1047 | } D3D12_VIDEO_PROCESS_ORIENTATION; | ||
| 1048 | typedef enum D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { | ||
| 1049 | D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAG_NONE = 0x0, | ||
| 1050 | D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAG_FRAME_DISCONTINUITY = 0x1, | ||
| 1051 | D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAG_FRAME_REPEAT = 0x2 | ||
| 1052 | } D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS; | ||
| 1053 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS) | ||
| 1054 | typedef struct D3D12_VIDEO_PROCESS_FILTER_RANGE { | ||
| 1055 | INT Minimum; | ||
| 1056 | INT Maximum; | ||
| 1057 | INT Default; | ||
| 1058 | FLOAT Multiplier; | ||
| 1059 | } D3D12_VIDEO_PROCESS_FILTER_RANGE; | ||
| 1060 | typedef enum D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { | ||
| 1061 | D3D12_VIDEO_PROCESS_SUPPORT_FLAG_NONE = 0x0, | ||
| 1062 | D3D12_VIDEO_PROCESS_SUPPORT_FLAG_SUPPORTED = 0x1 | ||
| 1063 | } D3D12_VIDEO_PROCESS_SUPPORT_FLAGS; | ||
| 1064 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_SUPPORT_FLAGS) | ||
| 1065 | typedef struct D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT { | ||
| 1066 | UINT NodeIndex; | ||
| 1067 | D3D12_VIDEO_SAMPLE InputSample; | ||
| 1068 | D3D12_VIDEO_FIELD_TYPE InputFieldType; | ||
| 1069 | D3D12_VIDEO_FRAME_STEREO_FORMAT InputStereoFormat; | ||
| 1070 | DXGI_RATIONAL InputFrameRate; | ||
| 1071 | D3D12_VIDEO_FORMAT OutputFormat; | ||
| 1072 | D3D12_VIDEO_FRAME_STEREO_FORMAT OutputStereoFormat; | ||
| 1073 | DXGI_RATIONAL OutputFrameRate; | ||
| 1074 | D3D12_VIDEO_PROCESS_SUPPORT_FLAGS SupportFlags; | ||
| 1075 | D3D12_VIDEO_SCALE_SUPPORT ScaleSupport; | ||
| 1076 | D3D12_VIDEO_PROCESS_FEATURE_FLAGS FeatureSupport; | ||
| 1077 | D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS DeinterlaceSupport; | ||
| 1078 | D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS AutoProcessingSupport; | ||
| 1079 | D3D12_VIDEO_PROCESS_FILTER_FLAGS FilterSupport; | ||
| 1080 | D3D12_VIDEO_PROCESS_FILTER_RANGE FilterRangeSupport[32]; | ||
| 1081 | } D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT; | ||
| 1082 | typedef struct D3D12_VIDEO_PROCESS_REFERENCE_SET { | ||
| 1083 | UINT NumPastFrames; | ||
| 1084 | ID3D12Resource **ppPastFrames; | ||
| 1085 | UINT *pPastSubresources; | ||
| 1086 | UINT NumFutureFrames; | ||
| 1087 | ID3D12Resource **ppFutureFrames; | ||
| 1088 | UINT *pFutureSubresources; | ||
| 1089 | } D3D12_VIDEO_PROCESS_REFERENCE_SET; | ||
| 1090 | typedef struct D3D12_VIDEO_PROCESS_TRANSFORM { | ||
| 1091 | D3D12_RECT SourceRectangle; | ||
| 1092 | D3D12_RECT DestinationRectangle; | ||
| 1093 | D3D12_VIDEO_PROCESS_ORIENTATION Orientation; | ||
| 1094 | } D3D12_VIDEO_PROCESS_TRANSFORM; | ||
| 1095 | typedef struct D3D12_VIDEO_PROCESS_INPUT_STREAM_RATE { | ||
| 1096 | UINT OutputIndex; | ||
| 1097 | UINT InputFrameOrField; | ||
| 1098 | } D3D12_VIDEO_PROCESS_INPUT_STREAM_RATE; | ||
| 1099 | typedef struct D3D12_VIDEO_PROCESS_INPUT_STREAM { | ||
| 1100 | ID3D12Resource *pTexture2D; | ||
| 1101 | UINT Subresource; | ||
| 1102 | D3D12_VIDEO_PROCESS_REFERENCE_SET ReferenceSet; | ||
| 1103 | } D3D12_VIDEO_PROCESS_INPUT_STREAM; | ||
| 1104 | typedef struct D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS { | ||
| 1105 | D3D12_VIDEO_PROCESS_INPUT_STREAM InputStream[2]; | ||
| 1106 | D3D12_VIDEO_PROCESS_TRANSFORM Transform; | ||
| 1107 | D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS Flags; | ||
| 1108 | D3D12_VIDEO_PROCESS_INPUT_STREAM_RATE RateInfo; | ||
| 1109 | INT FilterLevels[32]; | ||
| 1110 | D3D12_VIDEO_PROCESS_ALPHA_BLENDING AlphaBlending; | ||
| 1111 | } D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS; | ||
| 1112 | typedef struct D3D12_VIDEO_PROCESS_OUTPUT_STREAM { | ||
| 1113 | ID3D12Resource *pTexture2D; | ||
| 1114 | UINT Subresource; | ||
| 1115 | } D3D12_VIDEO_PROCESS_OUTPUT_STREAM; | ||
| 1116 | typedef struct D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS { | ||
| 1117 | D3D12_VIDEO_PROCESS_OUTPUT_STREAM OutputStream[2]; | ||
| 1118 | D3D12_RECT TargetRectangle; | ||
| 1119 | } D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS; | ||
| 799 | /***************************************************************************** | 1120 | /***************************************************************************** |
| 800 | * ID3D12VideoDecodeCommandList interface | 1121 | * ID3D12VideoDecodeCommandList interface |
| 801 | */ | 1122 | */ |
| ... | @@ -1117,6 +1438,329 @@ static inline void ID3D12VideoDecodeCommandList_WriteBufferImmediate(ID3D12Video | ... | @@ -1117,6 +1438,329 @@ static inline void ID3D12VideoDecodeCommandList_WriteBufferImmediate(ID3D12Video |
| 1117 | 1438 | ||
| 1118 | #endif /* __ID3D12VideoDecodeCommandList_INTERFACE_DEFINED__ */ | 1439 | #endif /* __ID3D12VideoDecodeCommandList_INTERFACE_DEFINED__ */ |
| 1119 | 1440 | ||
| 1441 | /***************************************************************************** | ||
| 1442 | * ID3D12VideoProcessCommandList interface | ||
| 1443 | */ | ||
| 1444 | #ifndef __ID3D12VideoProcessCommandList_INTERFACE_DEFINED__ | ||
| 1445 | #define __ID3D12VideoProcessCommandList_INTERFACE_DEFINED__ | ||
| 1446 | |||
| 1447 | DEFINE_GUID(IID_ID3D12VideoProcessCommandList, 0xaeb2543a, 0x167f, 0x4682, 0xac,0xc8, 0xd1,0x59,0xed,0x4a,0x62,0x09); | ||
| 1448 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 1449 | MIDL_INTERFACE("aeb2543a-167f-4682-acc8-d159ed4a6209") | ||
| 1450 | ID3D12VideoProcessCommandList : public ID3D12CommandList | ||
| 1451 | { | ||
| 1452 | virtual HRESULT STDMETHODCALLTYPE Close( | ||
| 1453 | ) = 0; | ||
| 1454 | |||
| 1455 | virtual HRESULT STDMETHODCALLTYPE Reset( | ||
| 1456 | ID3D12CommandAllocator *allocator) = 0; | ||
| 1457 | |||
| 1458 | virtual void STDMETHODCALLTYPE ClearState( | ||
| 1459 | ) = 0; | ||
| 1460 | |||
| 1461 | virtual void STDMETHODCALLTYPE ResourceBarrier( | ||
| 1462 | UINT num_barriers, | ||
| 1463 | const D3D12_RESOURCE_BARRIER *barriers) = 0; | ||
| 1464 | |||
| 1465 | virtual void STDMETHODCALLTYPE DiscardResource( | ||
| 1466 | ID3D12Resource *resource, | ||
| 1467 | const D3D12_DISCARD_REGION *region) = 0; | ||
| 1468 | |||
| 1469 | virtual void STDMETHODCALLTYPE BeginQuery( | ||
| 1470 | ID3D12QueryHeap *query_heap, | ||
| 1471 | D3D12_QUERY_TYPE type, | ||
| 1472 | UINT index) = 0; | ||
| 1473 | |||
| 1474 | virtual void STDMETHODCALLTYPE EndQuery( | ||
| 1475 | ID3D12QueryHeap *query_heap, | ||
| 1476 | D3D12_QUERY_TYPE type, | ||
| 1477 | UINT index) = 0; | ||
| 1478 | |||
| 1479 | virtual void STDMETHODCALLTYPE ResolveQueryData( | ||
| 1480 | ID3D12QueryHeap *query_heap, | ||
| 1481 | D3D12_QUERY_TYPE type, | ||
| 1482 | UINT start_index, | ||
| 1483 | UINT num_queries, | ||
| 1484 | ID3D12Resource *destination_buffer, | ||
| 1485 | UINT64 aligned_destination_buffer_offset) = 0; | ||
| 1486 | |||
| 1487 | virtual void STDMETHODCALLTYPE SetPredication( | ||
| 1488 | ID3D12Resource *buffer, | ||
| 1489 | UINT64 aligned_buffer_offset, | ||
| 1490 | D3D12_PREDICATION_OP operation) = 0; | ||
| 1491 | |||
| 1492 | virtual void STDMETHODCALLTYPE SetMarker( | ||
| 1493 | UINT metadata, | ||
| 1494 | const void *data, | ||
| 1495 | UINT size) = 0; | ||
| 1496 | |||
| 1497 | virtual void STDMETHODCALLTYPE BeginEvent( | ||
| 1498 | UINT metadata, | ||
| 1499 | const void *data, | ||
| 1500 | UINT size) = 0; | ||
| 1501 | |||
| 1502 | virtual void STDMETHODCALLTYPE EndEvent( | ||
| 1503 | ) = 0; | ||
| 1504 | |||
| 1505 | virtual void STDMETHODCALLTYPE ProcessFrames( | ||
| 1506 | ID3D12VideoProcessor *video_processor, | ||
| 1507 | const D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS *output_arguments, | ||
| 1508 | UINT num_input_streams, | ||
| 1509 | const D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS *input_arguments) = 0; | ||
| 1510 | |||
| 1511 | virtual void STDMETHODCALLTYPE WriteBufferImmediate( | ||
| 1512 | UINT count, | ||
| 1513 | const D3D12_WRITEBUFFERIMMEDIATE_PARAMETER *params, | ||
| 1514 | const D3D12_WRITEBUFFERIMMEDIATE_MODE *modes) = 0; | ||
| 1515 | |||
| 1516 | }; | ||
| 1517 | #ifdef __CRT_UUID_DECL | ||
| 1518 | __CRT_UUID_DECL(ID3D12VideoProcessCommandList, 0xaeb2543a, 0x167f, 0x4682, 0xac,0xc8, 0xd1,0x59,0xed,0x4a,0x62,0x09) | ||
| 1519 | #endif | ||
| 1520 | #else | ||
| 1521 | typedef struct ID3D12VideoProcessCommandListVtbl { | ||
| 1522 | BEGIN_INTERFACE | ||
| 1523 | |||
| 1524 | /*** IUnknown methods ***/ | ||
| 1525 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 1526 | ID3D12VideoProcessCommandList *This, | ||
| 1527 | REFIID riid, | ||
| 1528 | void **ppvObject); | ||
| 1529 | |||
| 1530 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 1531 | ID3D12VideoProcessCommandList *This); | ||
| 1532 | |||
| 1533 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 1534 | ID3D12VideoProcessCommandList *This); | ||
| 1535 | |||
| 1536 | /*** ID3D12Object methods ***/ | ||
| 1537 | HRESULT (STDMETHODCALLTYPE *GetPrivateData)( | ||
| 1538 | ID3D12VideoProcessCommandList *This, | ||
| 1539 | REFGUID guid, | ||
| 1540 | UINT *data_size, | ||
| 1541 | void *data); | ||
| 1542 | |||
| 1543 | HRESULT (STDMETHODCALLTYPE *SetPrivateData)( | ||
| 1544 | ID3D12VideoProcessCommandList *This, | ||
| 1545 | REFGUID guid, | ||
| 1546 | UINT data_size, | ||
| 1547 | const void *data); | ||
| 1548 | |||
| 1549 | HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)( | ||
| 1550 | ID3D12VideoProcessCommandList *This, | ||
| 1551 | REFGUID guid, | ||
| 1552 | const IUnknown *data); | ||
| 1553 | |||
| 1554 | HRESULT (STDMETHODCALLTYPE *SetName)( | ||
| 1555 | ID3D12VideoProcessCommandList *This, | ||
| 1556 | const WCHAR *name); | ||
| 1557 | |||
| 1558 | /*** ID3D12DeviceChild methods ***/ | ||
| 1559 | HRESULT (STDMETHODCALLTYPE *GetDevice)( | ||
| 1560 | ID3D12VideoProcessCommandList *This, | ||
| 1561 | REFIID riid, | ||
| 1562 | void **device); | ||
| 1563 | |||
| 1564 | /*** ID3D12CommandList methods ***/ | ||
| 1565 | D3D12_COMMAND_LIST_TYPE (STDMETHODCALLTYPE *GetType)( | ||
| 1566 | ID3D12VideoProcessCommandList *This); | ||
| 1567 | |||
| 1568 | /*** ID3D12VideoProcessCommandList methods ***/ | ||
| 1569 | HRESULT (STDMETHODCALLTYPE *Close)( | ||
| 1570 | ID3D12VideoProcessCommandList *This); | ||
| 1571 | |||
| 1572 | HRESULT (STDMETHODCALLTYPE *Reset)( | ||
| 1573 | ID3D12VideoProcessCommandList *This, | ||
| 1574 | ID3D12CommandAllocator *allocator); | ||
| 1575 | |||
| 1576 | void (STDMETHODCALLTYPE *ClearState)( | ||
| 1577 | ID3D12VideoProcessCommandList *This); | ||
| 1578 | |||
| 1579 | void (STDMETHODCALLTYPE *ResourceBarrier)( | ||
| 1580 | ID3D12VideoProcessCommandList *This, | ||
| 1581 | UINT num_barriers, | ||
| 1582 | const D3D12_RESOURCE_BARRIER *barriers); | ||
| 1583 | |||
| 1584 | void (STDMETHODCALLTYPE *DiscardResource)( | ||
| 1585 | ID3D12VideoProcessCommandList *This, | ||
| 1586 | ID3D12Resource *resource, | ||
| 1587 | const D3D12_DISCARD_REGION *region); | ||
| 1588 | |||
| 1589 | void (STDMETHODCALLTYPE *BeginQuery)( | ||
| 1590 | ID3D12VideoProcessCommandList *This, | ||
| 1591 | ID3D12QueryHeap *query_heap, | ||
| 1592 | D3D12_QUERY_TYPE type, | ||
| 1593 | UINT index); | ||
| 1594 | |||
| 1595 | void (STDMETHODCALLTYPE *EndQuery)( | ||
| 1596 | ID3D12VideoProcessCommandList *This, | ||
| 1597 | ID3D12QueryHeap *query_heap, | ||
| 1598 | D3D12_QUERY_TYPE type, | ||
| 1599 | UINT index); | ||
| 1600 | |||
| 1601 | void (STDMETHODCALLTYPE *ResolveQueryData)( | ||
| 1602 | ID3D12VideoProcessCommandList *This, | ||
| 1603 | ID3D12QueryHeap *query_heap, | ||
| 1604 | D3D12_QUERY_TYPE type, | ||
| 1605 | UINT start_index, | ||
| 1606 | UINT num_queries, | ||
| 1607 | ID3D12Resource *destination_buffer, | ||
| 1608 | UINT64 aligned_destination_buffer_offset); | ||
| 1609 | |||
| 1610 | void (STDMETHODCALLTYPE *SetPredication)( | ||
| 1611 | ID3D12VideoProcessCommandList *This, | ||
| 1612 | ID3D12Resource *buffer, | ||
| 1613 | UINT64 aligned_buffer_offset, | ||
| 1614 | D3D12_PREDICATION_OP operation); | ||
| 1615 | |||
| 1616 | void (STDMETHODCALLTYPE *SetMarker)( | ||
| 1617 | ID3D12VideoProcessCommandList *This, | ||
| 1618 | UINT metadata, | ||
| 1619 | const void *data, | ||
| 1620 | UINT size); | ||
| 1621 | |||
| 1622 | void (STDMETHODCALLTYPE *BeginEvent)( | ||
| 1623 | ID3D12VideoProcessCommandList *This, | ||
| 1624 | UINT metadata, | ||
| 1625 | const void *data, | ||
| 1626 | UINT size); | ||
| 1627 | |||
| 1628 | void (STDMETHODCALLTYPE *EndEvent)( | ||
| 1629 | ID3D12VideoProcessCommandList *This); | ||
| 1630 | |||
| 1631 | void (STDMETHODCALLTYPE *ProcessFrames)( | ||
| 1632 | ID3D12VideoProcessCommandList *This, | ||
| 1633 | ID3D12VideoProcessor *video_processor, | ||
| 1634 | const D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS *output_arguments, | ||
| 1635 | UINT num_input_streams, | ||
| 1636 | const D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS *input_arguments); | ||
| 1637 | |||
| 1638 | void (STDMETHODCALLTYPE *WriteBufferImmediate)( | ||
| 1639 | ID3D12VideoProcessCommandList *This, | ||
| 1640 | UINT count, | ||
| 1641 | const D3D12_WRITEBUFFERIMMEDIATE_PARAMETER *params, | ||
| 1642 | const D3D12_WRITEBUFFERIMMEDIATE_MODE *modes); | ||
| 1643 | |||
| 1644 | END_INTERFACE | ||
| 1645 | } ID3D12VideoProcessCommandListVtbl; | ||
| 1646 | |||
| 1647 | interface ID3D12VideoProcessCommandList { | ||
| 1648 | CONST_VTBL ID3D12VideoProcessCommandListVtbl* lpVtbl; | ||
| 1649 | }; | ||
| 1650 | |||
| 1651 | #ifdef COBJMACROS | ||
| 1652 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 1653 | /*** IUnknown methods ***/ | ||
| 1654 | #define ID3D12VideoProcessCommandList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 1655 | #define ID3D12VideoProcessCommandList_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 1656 | #define ID3D12VideoProcessCommandList_Release(This) (This)->lpVtbl->Release(This) | ||
| 1657 | /*** ID3D12Object methods ***/ | ||
| 1658 | #define ID3D12VideoProcessCommandList_GetPrivateData(This,guid,data_size,data) (This)->lpVtbl->GetPrivateData(This,guid,data_size,data) | ||
| 1659 | #define ID3D12VideoProcessCommandList_SetPrivateData(This,guid,data_size,data) (This)->lpVtbl->SetPrivateData(This,guid,data_size,data) | ||
| 1660 | #define ID3D12VideoProcessCommandList_SetPrivateDataInterface(This,guid,data) (This)->lpVtbl->SetPrivateDataInterface(This,guid,data) | ||
| 1661 | #define ID3D12VideoProcessCommandList_SetName(This,name) (This)->lpVtbl->SetName(This,name) | ||
| 1662 | /*** ID3D12DeviceChild methods ***/ | ||
| 1663 | #define ID3D12VideoProcessCommandList_GetDevice(This,riid,device) (This)->lpVtbl->GetDevice(This,riid,device) | ||
| 1664 | /*** ID3D12CommandList methods ***/ | ||
| 1665 | #define ID3D12VideoProcessCommandList_GetType(This) (This)->lpVtbl->GetType(This) | ||
| 1666 | /*** ID3D12VideoProcessCommandList methods ***/ | ||
| 1667 | #define ID3D12VideoProcessCommandList_Close(This) (This)->lpVtbl->Close(This) | ||
| 1668 | #define ID3D12VideoProcessCommandList_Reset(This,allocator) (This)->lpVtbl->Reset(This,allocator) | ||
| 1669 | #define ID3D12VideoProcessCommandList_ClearState(This) (This)->lpVtbl->ClearState(This) | ||
| 1670 | #define ID3D12VideoProcessCommandList_ResourceBarrier(This,num_barriers,barriers) (This)->lpVtbl->ResourceBarrier(This,num_barriers,barriers) | ||
| 1671 | #define ID3D12VideoProcessCommandList_DiscardResource(This,resource,region) (This)->lpVtbl->DiscardResource(This,resource,region) | ||
| 1672 | #define ID3D12VideoProcessCommandList_BeginQuery(This,query_heap,type,index) (This)->lpVtbl->BeginQuery(This,query_heap,type,index) | ||
| 1673 | #define ID3D12VideoProcessCommandList_EndQuery(This,query_heap,type,index) (This)->lpVtbl->EndQuery(This,query_heap,type,index) | ||
| 1674 | #define ID3D12VideoProcessCommandList_ResolveQueryData(This,query_heap,type,start_index,num_queries,destination_buffer,aligned_destination_buffer_offset) (This)->lpVtbl->ResolveQueryData(This,query_heap,type,start_index,num_queries,destination_buffer,aligned_destination_buffer_offset) | ||
| 1675 | #define ID3D12VideoProcessCommandList_SetPredication(This,buffer,aligned_buffer_offset,operation) (This)->lpVtbl->SetPredication(This,buffer,aligned_buffer_offset,operation) | ||
| 1676 | #define ID3D12VideoProcessCommandList_SetMarker(This,metadata,data,size) (This)->lpVtbl->SetMarker(This,metadata,data,size) | ||
| 1677 | #define ID3D12VideoProcessCommandList_BeginEvent(This,metadata,data,size) (This)->lpVtbl->BeginEvent(This,metadata,data,size) | ||
| 1678 | #define ID3D12VideoProcessCommandList_EndEvent(This) (This)->lpVtbl->EndEvent(This) | ||
| 1679 | #define ID3D12VideoProcessCommandList_ProcessFrames(This,video_processor,output_arguments,num_input_streams,input_arguments) (This)->lpVtbl->ProcessFrames(This,video_processor,output_arguments,num_input_streams,input_arguments) | ||
| 1680 | #define ID3D12VideoProcessCommandList_WriteBufferImmediate(This,count,params,modes) (This)->lpVtbl->WriteBufferImmediate(This,count,params,modes) | ||
| 1681 | #else | ||
| 1682 | /*** IUnknown methods ***/ | ||
| 1683 | static inline HRESULT ID3D12VideoProcessCommandList_QueryInterface(ID3D12VideoProcessCommandList* This,REFIID riid,void **ppvObject) { | ||
| 1684 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 1685 | } | ||
| 1686 | static inline ULONG ID3D12VideoProcessCommandList_AddRef(ID3D12VideoProcessCommandList* This) { | ||
| 1687 | return This->lpVtbl->AddRef(This); | ||
| 1688 | } | ||
| 1689 | static inline ULONG ID3D12VideoProcessCommandList_Release(ID3D12VideoProcessCommandList* This) { | ||
| 1690 | return This->lpVtbl->Release(This); | ||
| 1691 | } | ||
| 1692 | /*** ID3D12Object methods ***/ | ||
| 1693 | static inline HRESULT ID3D12VideoProcessCommandList_GetPrivateData(ID3D12VideoProcessCommandList* This,REFGUID guid,UINT *data_size,void *data) { | ||
| 1694 | return This->lpVtbl->GetPrivateData(This,guid,data_size,data); | ||
| 1695 | } | ||
| 1696 | static inline HRESULT ID3D12VideoProcessCommandList_SetPrivateData(ID3D12VideoProcessCommandList* This,REFGUID guid,UINT data_size,const void *data) { | ||
| 1697 | return This->lpVtbl->SetPrivateData(This,guid,data_size,data); | ||
| 1698 | } | ||
| 1699 | static inline HRESULT ID3D12VideoProcessCommandList_SetPrivateDataInterface(ID3D12VideoProcessCommandList* This,REFGUID guid,const IUnknown *data) { | ||
| 1700 | return This->lpVtbl->SetPrivateDataInterface(This,guid,data); | ||
| 1701 | } | ||
| 1702 | static inline HRESULT ID3D12VideoProcessCommandList_SetName(ID3D12VideoProcessCommandList* This,const WCHAR *name) { | ||
| 1703 | return This->lpVtbl->SetName(This,name); | ||
| 1704 | } | ||
| 1705 | /*** ID3D12DeviceChild methods ***/ | ||
| 1706 | static inline HRESULT ID3D12VideoProcessCommandList_GetDevice(ID3D12VideoProcessCommandList* This,REFIID riid,void **device) { | ||
| 1707 | return This->lpVtbl->GetDevice(This,riid,device); | ||
| 1708 | } | ||
| 1709 | /*** ID3D12CommandList methods ***/ | ||
| 1710 | static inline D3D12_COMMAND_LIST_TYPE ID3D12VideoProcessCommandList_GetType(ID3D12VideoProcessCommandList* This) { | ||
| 1711 | return This->lpVtbl->GetType(This); | ||
| 1712 | } | ||
| 1713 | /*** ID3D12VideoProcessCommandList methods ***/ | ||
| 1714 | static inline HRESULT ID3D12VideoProcessCommandList_Close(ID3D12VideoProcessCommandList* This) { | ||
| 1715 | return This->lpVtbl->Close(This); | ||
| 1716 | } | ||
| 1717 | static inline HRESULT ID3D12VideoProcessCommandList_Reset(ID3D12VideoProcessCommandList* This,ID3D12CommandAllocator *allocator) { | ||
| 1718 | return This->lpVtbl->Reset(This,allocator); | ||
| 1719 | } | ||
| 1720 | static inline void ID3D12VideoProcessCommandList_ClearState(ID3D12VideoProcessCommandList* This) { | ||
| 1721 | This->lpVtbl->ClearState(This); | ||
| 1722 | } | ||
| 1723 | static inline void ID3D12VideoProcessCommandList_ResourceBarrier(ID3D12VideoProcessCommandList* This,UINT num_barriers,const D3D12_RESOURCE_BARRIER *barriers) { | ||
| 1724 | This->lpVtbl->ResourceBarrier(This,num_barriers,barriers); | ||
| 1725 | } | ||
| 1726 | static inline void ID3D12VideoProcessCommandList_DiscardResource(ID3D12VideoProcessCommandList* This,ID3D12Resource *resource,const D3D12_DISCARD_REGION *region) { | ||
| 1727 | This->lpVtbl->DiscardResource(This,resource,region); | ||
| 1728 | } | ||
| 1729 | static inline void ID3D12VideoProcessCommandList_BeginQuery(ID3D12VideoProcessCommandList* This,ID3D12QueryHeap *query_heap,D3D12_QUERY_TYPE type,UINT index) { | ||
| 1730 | This->lpVtbl->BeginQuery(This,query_heap,type,index); | ||
| 1731 | } | ||
| 1732 | static inline void ID3D12VideoProcessCommandList_EndQuery(ID3D12VideoProcessCommandList* This,ID3D12QueryHeap *query_heap,D3D12_QUERY_TYPE type,UINT index) { | ||
| 1733 | This->lpVtbl->EndQuery(This,query_heap,type,index); | ||
| 1734 | } | ||
| 1735 | static inline void ID3D12VideoProcessCommandList_ResolveQueryData(ID3D12VideoProcessCommandList* This,ID3D12QueryHeap *query_heap,D3D12_QUERY_TYPE type,UINT start_index,UINT num_queries,ID3D12Resource *destination_buffer,UINT64 aligned_destination_buffer_offset) { | ||
| 1736 | This->lpVtbl->ResolveQueryData(This,query_heap,type,start_index,num_queries,destination_buffer,aligned_destination_buffer_offset); | ||
| 1737 | } | ||
| 1738 | static inline void ID3D12VideoProcessCommandList_SetPredication(ID3D12VideoProcessCommandList* This,ID3D12Resource *buffer,UINT64 aligned_buffer_offset,D3D12_PREDICATION_OP operation) { | ||
| 1739 | This->lpVtbl->SetPredication(This,buffer,aligned_buffer_offset,operation); | ||
| 1740 | } | ||
| 1741 | static inline void ID3D12VideoProcessCommandList_SetMarker(ID3D12VideoProcessCommandList* This,UINT metadata,const void *data,UINT size) { | ||
| 1742 | This->lpVtbl->SetMarker(This,metadata,data,size); | ||
| 1743 | } | ||
| 1744 | static inline void ID3D12VideoProcessCommandList_BeginEvent(ID3D12VideoProcessCommandList* This,UINT metadata,const void *data,UINT size) { | ||
| 1745 | This->lpVtbl->BeginEvent(This,metadata,data,size); | ||
| 1746 | } | ||
| 1747 | static inline void ID3D12VideoProcessCommandList_EndEvent(ID3D12VideoProcessCommandList* This) { | ||
| 1748 | This->lpVtbl->EndEvent(This); | ||
| 1749 | } | ||
| 1750 | static inline void ID3D12VideoProcessCommandList_ProcessFrames(ID3D12VideoProcessCommandList* This,ID3D12VideoProcessor *video_processor,const D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS *output_arguments,UINT num_input_streams,const D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS *input_arguments) { | ||
| 1751 | This->lpVtbl->ProcessFrames(This,video_processor,output_arguments,num_input_streams,input_arguments); | ||
| 1752 | } | ||
| 1753 | static inline void ID3D12VideoProcessCommandList_WriteBufferImmediate(ID3D12VideoProcessCommandList* This,UINT count,const D3D12_WRITEBUFFERIMMEDIATE_PARAMETER *params,const D3D12_WRITEBUFFERIMMEDIATE_MODE *modes) { | ||
| 1754 | This->lpVtbl->WriteBufferImmediate(This,count,params,modes); | ||
| 1755 | } | ||
| 1756 | #endif | ||
| 1757 | #endif | ||
| 1758 | |||
| 1759 | #endif | ||
| 1760 | |||
| 1761 | |||
| 1762 | #endif /* __ID3D12VideoProcessCommandList_INTERFACE_DEFINED__ */ | ||
| 1763 | |||
| 1120 | typedef struct D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM { | 1764 | typedef struct D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM { |
| 1121 | UINT64 Offset; | 1765 | UINT64 Offset; |
| 1122 | ID3D12Resource *pBuffer; | 1766 | ID3D12Resource *pBuffer; |
| ... | @@ -1416,15 +2060,33 @@ typedef enum D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE { | ... | @@ -1416,15 +2060,33 @@ typedef enum D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE { |
| 1416 | D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_8X8 = 0, | 2060 | D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_8X8 = 0, |
| 1417 | D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_16X16 = 1 | 2061 | D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_16X16 = 1 |
| 1418 | } D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE; | 2062 | } D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE; |
| 2063 | typedef enum D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { | ||
| 2064 | D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAG_NONE = 0, | ||
| 2065 | D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAG_8X8 = 1 << D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_8X8, | ||
| 2066 | D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAG_16X16 = 1 << D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_16X16 | ||
| 2067 | } D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS; | ||
| 2068 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS) | ||
| 1419 | typedef enum D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION { | 2069 | typedef enum D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION { |
| 1420 | D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_QUARTER_PEL = 0 | 2070 | D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_QUARTER_PEL = 0 |
| 1421 | } D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION; | 2071 | } D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION; |
| 2072 | typedef enum D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { | ||
| 2073 | D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAG_NONE = 0, | ||
| 2074 | D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAG_QUARTER_PEL = 1 << D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_QUARTER_PEL | ||
| 2075 | } D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS; | ||
| 2076 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS) | ||
| 1422 | typedef struct D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT { | 2077 | typedef struct D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT { |
| 1423 | UINT NodeIndex; | 2078 | UINT NodeIndex; |
| 1424 | WINBOOL VideoDecodeSupport; | 2079 | WINBOOL VideoDecodeSupport; |
| 1425 | WINBOOL VideoProcessSupport; | 2080 | WINBOOL VideoProcessSupport; |
| 1426 | WINBOOL VideoEncodeSupport; | 2081 | WINBOOL VideoEncodeSupport; |
| 1427 | } D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT; | 2082 | } D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT; |
| 2083 | typedef struct D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR { | ||
| 2084 | UINT NodeIndex; | ||
| 2085 | DXGI_FORMAT InputFormat; | ||
| 2086 | D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS BlockSizeFlags; | ||
| 2087 | D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS PrecisionFlags; | ||
| 2088 | D3D12_VIDEO_SIZE_RANGE SizeRange; | ||
| 2089 | } D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR; | ||
| 1428 | typedef struct D3D12_VIDEO_MOTION_ESTIMATOR_DESC { | 2090 | typedef struct D3D12_VIDEO_MOTION_ESTIMATOR_DESC { |
| 1429 | UINT NodeMask; | 2091 | UINT NodeMask; |
| 1430 | DXGI_FORMAT InputFormat; | 2092 | DXGI_FORMAT InputFormat; |
| ... | @@ -2983,6 +3645,362 @@ DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_AV1_PROFILE1, 0x6936ff0f, 0x45b1, 0x4163, | ... | @@ -2983,6 +3645,362 @@ DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_AV1_PROFILE1, 0x6936ff0f, 0x45b1, 0x4163, |
| 2983 | DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_AV1_PROFILE2, 0x0c5f2aa1, 0xe541, 0x4089, 0xbb, 0x7b, 0x98, 0x11, 0x0a, 0x19, 0xd7, 0xc8); | 3645 | DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_AV1_PROFILE2, 0x0c5f2aa1, 0xe541, 0x4089, 0xbb, 0x7b, 0x98, 0x11, 0x0a, 0x19, 0xd7, 0xc8); |
| 2984 | DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_AV1_12BIT_PROFILE2, 0x17127009, 0xa00f, 0x4ce1, 0x99, 0x4e, 0xbf, 0x40, 0x81, 0xf6, 0xf3, 0xf0); | 3646 | DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_AV1_12BIT_PROFILE2, 0x17127009, 0xa00f, 0x4ce1, 0x99, 0x4e, 0xbf, 0x40, 0x81, 0xf6, 0xf3, 0xf0); |
| 2985 | DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_AV1_12BIT_PROFILE2_420, 0x2d80bed6, 0x9cac, 0x4835, 0x9e, 0x91, 0x32, 0x7b, 0xbc, 0x4f, 0x9e, 0xe8); | 3647 | DEFINE_GUID(D3D12_VIDEO_DECODE_PROFILE_AV1_12BIT_PROFILE2_420, 0x2d80bed6, 0x9cac, 0x4835, 0x9e, 0x91, 0x32, 0x7b, 0xbc, 0x4f, 0x9e, 0xe8); |
| 3648 | typedef enum D3D12_VIDEO_ENCODER_AV1_PROFILE { | ||
| 3649 | D3D12_VIDEO_ENCODER_AV1_PROFILE_MAIN = 0, | ||
| 3650 | D3D12_VIDEO_ENCODER_AV1_PROFILE_HIGH = 1, | ||
| 3651 | D3D12_VIDEO_ENCODER_AV1_PROFILE_PROFESSIONAL = 2 | ||
| 3652 | } D3D12_VIDEO_ENCODER_AV1_PROFILE; | ||
| 3653 | typedef enum D3D12_VIDEO_ENCODER_AV1_LEVELS { | ||
| 3654 | D3D12_VIDEO_ENCODER_AV1_LEVELS_2_0 = 0, | ||
| 3655 | D3D12_VIDEO_ENCODER_AV1_LEVELS_2_1 = 1, | ||
| 3656 | D3D12_VIDEO_ENCODER_AV1_LEVELS_2_2 = 2, | ||
| 3657 | D3D12_VIDEO_ENCODER_AV1_LEVELS_2_3 = 3, | ||
| 3658 | D3D12_VIDEO_ENCODER_AV1_LEVELS_3_0 = 4, | ||
| 3659 | D3D12_VIDEO_ENCODER_AV1_LEVELS_3_1 = 5, | ||
| 3660 | D3D12_VIDEO_ENCODER_AV1_LEVELS_3_2 = 6, | ||
| 3661 | D3D12_VIDEO_ENCODER_AV1_LEVELS_3_3 = 7, | ||
| 3662 | D3D12_VIDEO_ENCODER_AV1_LEVELS_4_0 = 8, | ||
| 3663 | D3D12_VIDEO_ENCODER_AV1_LEVELS_4_1 = 9, | ||
| 3664 | D3D12_VIDEO_ENCODER_AV1_LEVELS_4_2 = 10, | ||
| 3665 | D3D12_VIDEO_ENCODER_AV1_LEVELS_4_3 = 11, | ||
| 3666 | D3D12_VIDEO_ENCODER_AV1_LEVELS_5_0 = 12, | ||
| 3667 | D3D12_VIDEO_ENCODER_AV1_LEVELS_5_1 = 13, | ||
| 3668 | D3D12_VIDEO_ENCODER_AV1_LEVELS_5_2 = 14, | ||
| 3669 | D3D12_VIDEO_ENCODER_AV1_LEVELS_5_3 = 15, | ||
| 3670 | D3D12_VIDEO_ENCODER_AV1_LEVELS_6_0 = 16, | ||
| 3671 | D3D12_VIDEO_ENCODER_AV1_LEVELS_6_1 = 17, | ||
| 3672 | D3D12_VIDEO_ENCODER_AV1_LEVELS_6_2 = 18, | ||
| 3673 | D3D12_VIDEO_ENCODER_AV1_LEVELS_6_3 = 19, | ||
| 3674 | D3D12_VIDEO_ENCODER_AV1_LEVELS_7_0 = 20, | ||
| 3675 | D3D12_VIDEO_ENCODER_AV1_LEVELS_7_1 = 21, | ||
| 3676 | D3D12_VIDEO_ENCODER_AV1_LEVELS_7_2 = 22, | ||
| 3677 | D3D12_VIDEO_ENCODER_AV1_LEVELS_7_3 = 23 | ||
| 3678 | } D3D12_VIDEO_ENCODER_AV1_LEVELS; | ||
| 3679 | typedef enum D3D12_VIDEO_ENCODER_AV1_TIER { | ||
| 3680 | D3D12_VIDEO_ENCODER_AV1_TIER_MAIN = 0, | ||
| 3681 | D3D12_VIDEO_ENCODER_AV1_TIER_HIGH = 1 | ||
| 3682 | } D3D12_VIDEO_ENCODER_AV1_TIER; | ||
| 3683 | typedef struct D3D12_VIDEO_ENCODER_AV1_LEVEL_TIER_CONSTRAINTS { | ||
| 3684 | D3D12_VIDEO_ENCODER_AV1_LEVELS Level; | ||
| 3685 | D3D12_VIDEO_ENCODER_AV1_TIER Tier; | ||
| 3686 | } D3D12_VIDEO_ENCODER_AV1_LEVEL_TIER_CONSTRAINTS; | ||
| 3687 | typedef enum D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS { | ||
| 3688 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_NONE = 0x0, | ||
| 3689 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_128x128_SUPERBLOCK = 0x1, | ||
| 3690 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_FILTER_INTRA = 0x2, | ||
| 3691 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_INTRA_EDGE_FILTER = 0x4, | ||
| 3692 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_INTERINTRA_COMPOUND = 0x8, | ||
| 3693 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_MASKED_COMPOUND = 0x10, | ||
| 3694 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_WARPED_MOTION = 0x20, | ||
| 3695 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_DUAL_FILTER = 0x40, | ||
| 3696 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_JNT_COMP = 0x80, | ||
| 3697 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_FORCED_INTEGER_MOTION_VECTORS = 0x100, | ||
| 3698 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_SUPER_RESOLUTION = 0x200, | ||
| 3699 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_LOOP_RESTORATION_FILTER = 0x400, | ||
| 3700 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_PALETTE_ENCODING = 0x800, | ||
| 3701 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_CDEF_FILTERING = 0x1000, | ||
| 3702 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_INTRA_BLOCK_COPY = 0x2000, | ||
| 3703 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_FRAME_REFERENCE_MOTION_VECTORS = 0x4000, | ||
| 3704 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_ORDER_HINT_TOOLS = 0x8000, | ||
| 3705 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_AUTO_SEGMENTATION = 0x10000, | ||
| 3706 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_CUSTOM_SEGMENTATION = 0x20000, | ||
| 3707 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_LOOP_FILTER_DELTAS = 0x40000, | ||
| 3708 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_QUANTIZATION_DELTAS = 0x80000, | ||
| 3709 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_QUANTIZATION_MATRIX = 0x100000, | ||
| 3710 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_REDUCED_TX_SET = 0x200000, | ||
| 3711 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_MOTION_MODE_SWITCHABLE = 0x400000, | ||
| 3712 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_ALLOW_HIGH_PRECISION_MV = 0x800000, | ||
| 3713 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_SKIP_MODE_PRESENT = 0x1000000, | ||
| 3714 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_DELTA_LF_PARAMS = 0x2000000 | ||
| 3715 | } D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS; | ||
| 3716 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS) | ||
| 3717 | typedef enum D3D12_VIDEO_ENCODER_AV1_TX_MODE { | ||
| 3718 | D3D12_VIDEO_ENCODER_AV1_TX_MODE_ONLY4x4 = 0, | ||
| 3719 | D3D12_VIDEO_ENCODER_AV1_TX_MODE_LARGEST = 1, | ||
| 3720 | D3D12_VIDEO_ENCODER_AV1_TX_MODE_SELECT = 2 | ||
| 3721 | } D3D12_VIDEO_ENCODER_AV1_TX_MODE; | ||
| 3722 | typedef enum D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS { | ||
| 3723 | D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAG_NONE = 0x0, | ||
| 3724 | D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAG_ONLY4x4 = 1 << D3D12_VIDEO_ENCODER_AV1_TX_MODE_ONLY4x4, | ||
| 3725 | D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAG_LARGEST = 1 << D3D12_VIDEO_ENCODER_AV1_TX_MODE_LARGEST, | ||
| 3726 | D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAG_SELECT = 1 << D3D12_VIDEO_ENCODER_AV1_TX_MODE_SELECT | ||
| 3727 | } D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS; | ||
| 3728 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS) | ||
| 3729 | typedef enum D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS { | ||
| 3730 | D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_EIGHTTAP = 0, | ||
| 3731 | D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_EIGHTTAP_SMOOTH = 1, | ||
| 3732 | D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_EIGHTTAP_SHARP = 2, | ||
| 3733 | D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_BILINEAR = 3, | ||
| 3734 | D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_SWITCHABLE = 4 | ||
| 3735 | } D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS; | ||
| 3736 | typedef enum D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS { | ||
| 3737 | D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAG_NONE = 0x0, | ||
| 3738 | D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAG_EIGHTTAP = 1 << D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_EIGHTTAP, | ||
| 3739 | D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAG_EIGHTTAP_SMOOTH = 1 << D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_EIGHTTAP_SMOOTH, | ||
| 3740 | D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAG_EIGHTTAP_SHARP = 1 << D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_EIGHTTAP_SHARP, | ||
| 3741 | D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAG_BILINEAR = 1 << D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_BILINEAR, | ||
| 3742 | D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAG_SWITCHABLE = 1 << D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_SWITCHABLE | ||
| 3743 | } D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS; | ||
| 3744 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS) | ||
| 3745 | typedef enum D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE { | ||
| 3746 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE_4x4 = 0, | ||
| 3747 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE_8x8 = 1, | ||
| 3748 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE_16x16 = 2, | ||
| 3749 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE_32x32 = 3, | ||
| 3750 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE_64x64 = 4 | ||
| 3751 | } D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE; | ||
| 3752 | typedef enum D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE { | ||
| 3753 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_DISABLED = 0, | ||
| 3754 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_Q = 1, | ||
| 3755 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_LF_Y_V = 2, | ||
| 3756 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_LF_Y_H = 3, | ||
| 3757 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_LF_U = 4, | ||
| 3758 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_LF_V = 5, | ||
| 3759 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_REF_FRAME = 6, | ||
| 3760 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_SKIP = 7, | ||
| 3761 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_GLOBALMV = 8 | ||
| 3762 | } D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE; | ||
| 3763 | typedef enum D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS { | ||
| 3764 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_NONE = 0, | ||
| 3765 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_DISABLED = 1 << D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_DISABLED, | ||
| 3766 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_ALT_Q = 1 << D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_Q, | ||
| 3767 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_ALT_LF_Y_V = 1 << D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_LF_Y_V, | ||
| 3768 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_ALT_LF_Y_H = 1 << D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_LF_Y_H, | ||
| 3769 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_ALT_LF_U = 1 << D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_LF_U, | ||
| 3770 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_ALT_LF_V = 1 << D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_LF_V, | ||
| 3771 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_REF_FRAME = 1 << D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_REF_FRAME, | ||
| 3772 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_ALT_SKIP = 1 << D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_SKIP, | ||
| 3773 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_ALT_GLOBALMV = 1 << D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_GLOBALMV | ||
| 3774 | } D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS; | ||
| 3775 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS) | ||
| 3776 | typedef enum D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE { | ||
| 3777 | D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE_DISABLED = 0, | ||
| 3778 | D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE_SWITCHABLE = 1, | ||
| 3779 | D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE_WIENER = 2, | ||
| 3780 | D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE_SGRPROJ = 3 | ||
| 3781 | } D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE; | ||
| 3782 | typedef enum D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE { | ||
| 3783 | D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE_DISABLED = 0, | ||
| 3784 | D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE_32x32 = 1, | ||
| 3785 | D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE_64x64 = 2, | ||
| 3786 | D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE_128x128 = 3, | ||
| 3787 | D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE_256x256 = 4 | ||
| 3788 | } D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE; | ||
| 3789 | typedef enum D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS { | ||
| 3790 | D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAG_NOT_SUPPORTED = 0x0, | ||
| 3791 | D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAG_32x32 = 0x1, | ||
| 3792 | D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAG_64x64 = 0x2, | ||
| 3793 | D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAG_128x128 = 0x4, | ||
| 3794 | D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAG_256x256 = 0x8 | ||
| 3795 | } D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS; | ||
| 3796 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS) | ||
| 3797 | typedef enum D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION { | ||
| 3798 | D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_IDENTITY = 0, | ||
| 3799 | D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_TRANSLATION = 1, | ||
| 3800 | D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_ROTZOOM = 2, | ||
| 3801 | D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_AFFINE = 3 | ||
| 3802 | } D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION; | ||
| 3803 | typedef enum D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS { | ||
| 3804 | D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAG_NONE = 0, | ||
| 3805 | D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAG_IDENTITY = 1 << D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_IDENTITY, | ||
| 3806 | D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAG_TRANSLATION = 1 << D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_TRANSLATION, | ||
| 3807 | D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAG_ROTZOOM = 1 << D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_ROTZOOM, | ||
| 3808 | D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAG_AFFINE = 1 << D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_AFFINE | ||
| 3809 | } D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS; | ||
| 3810 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS) | ||
| 3811 | typedef enum D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS { | ||
| 3812 | D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_NONE = 0, | ||
| 3813 | D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_QUANTIZATION = 0x1, | ||
| 3814 | D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_QUANTIZATION_DELTA = 0x2, | ||
| 3815 | D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_LOOP_FILTER = 0x4, | ||
| 3816 | D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_LOOP_FILTER_DELTA = 0x8, | ||
| 3817 | D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_CDEF_DATA = 0x10, | ||
| 3818 | D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_CONTEXT_UPDATE_TILE_ID = 0x20, | ||
| 3819 | D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_COMPOUND_PREDICTION_MODE = 0x40, | ||
| 3820 | D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_PRIMARY_REF_FRAME = 0x80, | ||
| 3821 | D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_REFERENCE_INDICES = 0x100 | ||
| 3822 | } D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS; | ||
| 3823 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS) | ||
| 3824 | typedef struct D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION_SUPPORT { | ||
| 3825 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS SupportedFeatureFlags; | ||
| 3826 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS RequiredFeatureFlags; | ||
| 3827 | D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS SupportedInterpolationFilters; | ||
| 3828 | D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS SupportedRestorationParams[3][3]; | ||
| 3829 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS SupportedSegmentationModes; | ||
| 3830 | D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS SupportedTxModes[4]; | ||
| 3831 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE SegmentationBlockSize; | ||
| 3832 | D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS PostEncodeValuesFlags; | ||
| 3833 | UINT MaxTemporalLayers; | ||
| 3834 | UINT MaxSpatialLayers; | ||
| 3835 | } D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION_SUPPORT; | ||
| 3836 | typedef enum D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE { | ||
| 3837 | D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_KEY_FRAME = 0, | ||
| 3838 | D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_INTER_FRAME = 1, | ||
| 3839 | D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_INTRA_ONLY_FRAME = 2, | ||
| 3840 | D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_SWITCH_FRAME = 3 | ||
| 3841 | } D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE; | ||
| 3842 | typedef enum D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS { | ||
| 3843 | D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAG_NONE = 0x0, | ||
| 3844 | D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAG_KEY_FRAME = 1 << D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_KEY_FRAME, | ||
| 3845 | D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAG_INTER_FRAME = 1 << D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_INTER_FRAME, | ||
| 3846 | D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAG_INTRA_ONLY_FRAME = 1 << D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_INTRA_ONLY_FRAME, | ||
| 3847 | D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAG_SWITCH_FRAME = 1 << D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_SWITCH_FRAME | ||
| 3848 | } D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS; | ||
| 3849 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS) | ||
| 3850 | typedef enum D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE { | ||
| 3851 | D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE_SINGLE_REFERENCE = 0, | ||
| 3852 | D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE_COMPOUND_REFERENCE = 1 | ||
| 3853 | } D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE; | ||
| 3854 | typedef struct D3D12_VIDEO_ENCODER_CODEC_AV1_PICTURE_CONTROL_SUPPORT { | ||
| 3855 | D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE PredictionMode; | ||
| 3856 | UINT MaxUniqueReferencesPerFrame; | ||
| 3857 | D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS SupportedFrameTypes; | ||
| 3858 | D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS SupportedReferenceWarpedMotionFlags; | ||
| 3859 | } D3D12_VIDEO_ENCODER_CODEC_AV1_PICTURE_CONTROL_SUPPORT; | ||
| 3860 | typedef struct D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION { | ||
| 3861 | D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS FeatureFlags; | ||
| 3862 | UINT OrderHintBitsMinus1; | ||
| 3863 | } D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION; | ||
| 3864 | typedef struct D3D12_VIDEO_ENCODER_AV1_SEQUENCE_STRUCTURE { | ||
| 3865 | UINT IntraDistance; | ||
| 3866 | UINT InterFramePeriod; | ||
| 3867 | } D3D12_VIDEO_ENCODER_AV1_SEQUENCE_STRUCTURE; | ||
| 3868 | typedef struct D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_WARPED_MOTION_INFO { | ||
| 3869 | D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION TransformationType; | ||
| 3870 | INT TransformationMatrix[8]; | ||
| 3871 | WINBOOL InvalidAffineSet; | ||
| 3872 | } D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_WARPED_MOTION_INFO; | ||
| 3873 | typedef struct D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_DESCRIPTOR { | ||
| 3874 | UINT ReconstructedPictureResourceIndex; | ||
| 3875 | UINT TemporalLayerIndexPlus1; | ||
| 3876 | UINT SpatialLayerIndexPlus1; | ||
| 3877 | D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE FrameType; | ||
| 3878 | D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_WARPED_MOTION_INFO WarpedMotionInfo; | ||
| 3879 | UINT OrderHint; | ||
| 3880 | UINT PictureIndex; | ||
| 3881 | } D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_DESCRIPTOR; | ||
| 3882 | typedef enum D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS { | ||
| 3883 | D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_NONE = 0x0, | ||
| 3884 | D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_ENABLE_ERROR_RESILIENT_MODE = 0x1, | ||
| 3885 | D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_DISABLE_CDF_UPDATE = 0x2, | ||
| 3886 | D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_ENABLE_PALETTE_ENCODING = 0x4, | ||
| 3887 | D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_ENABLE_SKIP_MODE = 0x8, | ||
| 3888 | D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_FRAME_REFERENCE_MOTION_VECTORS = 0x10, | ||
| 3889 | D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_FORCE_INTEGER_MOTION_VECTORS = 0x20, | ||
| 3890 | D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_ALLOW_INTRA_BLOCK_COPY = 0x40, | ||
| 3891 | D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_USE_SUPER_RESOLUTION = 0x80, | ||
| 3892 | D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_DISABLE_FRAME_END_UPDATE_CDF = 0x100, | ||
| 3893 | D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_ENABLE_FRAME_SEGMENTATION_AUTO = 0x200, | ||
| 3894 | D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_ENABLE_FRAME_SEGMENTATION_CUSTOM = 0x400, | ||
| 3895 | D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_ENABLE_WARPED_MOTION = 0x800, | ||
| 3896 | D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_REDUCED_TX_SET = 0x1000, | ||
| 3897 | D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_MOTION_MODE_SWITCHABLE = 0x2000, | ||
| 3898 | D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_ALLOW_HIGH_PRECISION_MV = 0x4000 | ||
| 3899 | } D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS; | ||
| 3900 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS) | ||
| 3901 | typedef struct D3D12_VIDEO_ENCODER_AV1_RESTORATION_CONFIG { | ||
| 3902 | D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE FrameRestorationType[3]; | ||
| 3903 | D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE LoopRestorationPixelSize[3]; | ||
| 3904 | } D3D12_VIDEO_ENCODER_AV1_RESTORATION_CONFIG; | ||
| 3905 | typedef struct D3D12_VIDEO_ENCODER_AV1_SEGMENT_DATA { | ||
| 3906 | UINT64 EnabledFeatures; | ||
| 3907 | INT64 FeatureValue[8]; | ||
| 3908 | } D3D12_VIDEO_ENCODER_AV1_SEGMENT_DATA; | ||
| 3909 | typedef struct D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_CONFIG { | ||
| 3910 | UINT64 UpdateMap; | ||
| 3911 | UINT64 TemporalUpdate; | ||
| 3912 | UINT64 UpdateData; | ||
| 3913 | UINT64 NumSegments; | ||
| 3914 | D3D12_VIDEO_ENCODER_AV1_SEGMENT_DATA SegmentsData[8]; | ||
| 3915 | } D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_CONFIG; | ||
| 3916 | typedef struct D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MAP { | ||
| 3917 | UINT SegmentsMapByteSize; | ||
| 3918 | UINT8 *pSegmentsMap; | ||
| 3919 | } D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MAP; | ||
| 3920 | typedef struct D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_CONFIG { | ||
| 3921 | UINT64 LoopFilterLevel[2]; | ||
| 3922 | UINT64 LoopFilterLevelU; | ||
| 3923 | UINT64 LoopFilterLevelV; | ||
| 3924 | UINT64 LoopFilterSharpnessLevel; | ||
| 3925 | UINT64 LoopFilterDeltaEnabled; | ||
| 3926 | UINT64 UpdateRefDelta; | ||
| 3927 | INT64 RefDeltas[8]; | ||
| 3928 | UINT64 UpdateModeDelta; | ||
| 3929 | INT64 ModeDeltas[2]; | ||
| 3930 | } D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_CONFIG; | ||
| 3931 | typedef struct D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_DELTA_CONFIG { | ||
| 3932 | UINT64 DeltaLFPresent; | ||
| 3933 | UINT64 DeltaLFMulti; | ||
| 3934 | UINT64 DeltaLFRes; | ||
| 3935 | } D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_DELTA_CONFIG; | ||
| 3936 | typedef struct D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_CONFIG { | ||
| 3937 | UINT64 BaseQIndex; | ||
| 3938 | INT64 YDCDeltaQ; | ||
| 3939 | INT64 UDCDeltaQ; | ||
| 3940 | INT64 UACDeltaQ; | ||
| 3941 | INT64 VDCDeltaQ; | ||
| 3942 | INT64 VACDeltaQ; | ||
| 3943 | UINT64 UsingQMatrix; | ||
| 3944 | UINT64 QMY; | ||
| 3945 | UINT64 QMU; | ||
| 3946 | UINT64 QMV; | ||
| 3947 | } D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_CONFIG; | ||
| 3948 | typedef struct D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_DELTA_CONFIG { | ||
| 3949 | UINT64 DeltaQPresent; | ||
| 3950 | UINT64 DeltaQRes; | ||
| 3951 | } D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_DELTA_CONFIG; | ||
| 3952 | typedef struct D3D12_VIDEO_ENCODER_AV1_CDEF_CONFIG { | ||
| 3953 | UINT64 CdefBits; | ||
| 3954 | UINT64 CdefDampingMinus3; | ||
| 3955 | UINT64 CdefYPriStrength[8]; | ||
| 3956 | UINT64 CdefUVPriStrength[8]; | ||
| 3957 | UINT64 CdefYSecStrength[8]; | ||
| 3958 | UINT64 CdefUVSecStrength[8]; | ||
| 3959 | } D3D12_VIDEO_ENCODER_AV1_CDEF_CONFIG; | ||
| 3960 | typedef struct D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA { | ||
| 3961 | D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS Flags; | ||
| 3962 | D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE FrameType; | ||
| 3963 | D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE CompoundPredictionType; | ||
| 3964 | D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS InterpolationFilter; | ||
| 3965 | D3D12_VIDEO_ENCODER_AV1_RESTORATION_CONFIG FrameRestorationConfig; | ||
| 3966 | D3D12_VIDEO_ENCODER_AV1_TX_MODE TxMode; | ||
| 3967 | UINT SuperResDenominator; | ||
| 3968 | UINT OrderHint; | ||
| 3969 | UINT PictureIndex; | ||
| 3970 | UINT TemporalLayerIndexPlus1; | ||
| 3971 | UINT SpatialLayerIndexPlus1; | ||
| 3972 | D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_DESCRIPTOR ReferenceFramesReconPictureDescriptors[8]; | ||
| 3973 | UINT ReferenceIndices[7]; | ||
| 3974 | UINT PrimaryRefFrame; | ||
| 3975 | UINT RefreshFrameFlags; | ||
| 3976 | D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_CONFIG LoopFilter; | ||
| 3977 | D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_DELTA_CONFIG LoopFilterDelta; | ||
| 3978 | D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_CONFIG Quantization; | ||
| 3979 | D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_DELTA_CONFIG QuantizationDelta; | ||
| 3980 | D3D12_VIDEO_ENCODER_AV1_CDEF_CONFIG CDEF; | ||
| 3981 | UINT QPMapValuesCount; | ||
| 3982 | INT16 *pRateControlQPMap; | ||
| 3983 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_CONFIG CustomSegmentation; | ||
| 3984 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MAP CustomSegmentsMap; | ||
| 3985 | } D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA; | ||
| 3986 | typedef struct D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_TILES { | ||
| 3987 | UINT64 RowCount; | ||
| 3988 | UINT64 ColCount; | ||
| 3989 | UINT64 RowHeights[64]; | ||
| 3990 | UINT64 ColWidths[64]; | ||
| 3991 | UINT64 ContextUpdateTileId; | ||
| 3992 | } D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_TILES; | ||
| 3993 | typedef struct D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES { | ||
| 3994 | UINT64 CompoundPredictionType; | ||
| 3995 | D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_CONFIG LoopFilter; | ||
| 3996 | D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_DELTA_CONFIG LoopFilterDelta; | ||
| 3997 | D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_CONFIG Quantization; | ||
| 3998 | D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_DELTA_CONFIG QuantizationDelta; | ||
| 3999 | D3D12_VIDEO_ENCODER_AV1_CDEF_CONFIG CDEF; | ||
| 4000 | D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_CONFIG SegmentationConfig; | ||
| 4001 | UINT64 PrimaryRefFrame; | ||
| 4002 | UINT64 ReferenceIndices[7]; | ||
| 4003 | } D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES; | ||
| 2986 | typedef enum D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE { | 4004 | typedef enum D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE { |
| 2987 | D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE_ABSOLUTE_QP_MAP = 0, | 4005 | D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE_ABSOLUTE_QP_MAP = 0, |
| 2988 | D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE_CQP = 1, | 4006 | D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE_CQP = 1, |
| ... | @@ -3050,7 +4068,8 @@ typedef struct D3D12_VIDEO_ENCODER_RATE_CONTROL { | ... | @@ -3050,7 +4068,8 @@ typedef struct D3D12_VIDEO_ENCODER_RATE_CONTROL { |
| 3050 | } D3D12_VIDEO_ENCODER_RATE_CONTROL; | 4068 | } D3D12_VIDEO_ENCODER_RATE_CONTROL; |
| 3051 | typedef enum D3D12_VIDEO_ENCODER_CODEC { | 4069 | typedef enum D3D12_VIDEO_ENCODER_CODEC { |
| 3052 | D3D12_VIDEO_ENCODER_CODEC_H264 = 0, | 4070 | D3D12_VIDEO_ENCODER_CODEC_H264 = 0, |
| 3053 | D3D12_VIDEO_ENCODER_CODEC_HEVC = 1 | 4071 | D3D12_VIDEO_ENCODER_CODEC_HEVC = 1, |
| 4072 | D3D12_VIDEO_ENCODER_CODEC_AV1 = 2 | ||
| 3054 | } D3D12_VIDEO_ENCODER_CODEC; | 4073 | } D3D12_VIDEO_ENCODER_CODEC; |
| 3055 | typedef enum D3D12_VIDEO_ENCODER_PROFILE_H264 { | 4074 | typedef enum D3D12_VIDEO_ENCODER_PROFILE_H264 { |
| 3056 | D3D12_VIDEO_ENCODER_PROFILE_H264_MAIN = 0, | 4075 | D3D12_VIDEO_ENCODER_PROFILE_H264_MAIN = 0, |
| ... | @@ -3066,6 +4085,7 @@ typedef struct D3D12_VIDEO_ENCODER_PROFILE_DESC { | ... | @@ -3066,6 +4085,7 @@ typedef struct D3D12_VIDEO_ENCODER_PROFILE_DESC { |
| 3066 | __C89_NAMELESS union { | 4085 | __C89_NAMELESS union { |
| 3067 | D3D12_VIDEO_ENCODER_PROFILE_H264 *pH264Profile; | 4086 | D3D12_VIDEO_ENCODER_PROFILE_H264 *pH264Profile; |
| 3068 | D3D12_VIDEO_ENCODER_PROFILE_HEVC *pHEVCProfile; | 4087 | D3D12_VIDEO_ENCODER_PROFILE_HEVC *pHEVCProfile; |
| 4088 | D3D12_VIDEO_ENCODER_AV1_PROFILE *pAV1Profile; | ||
| 3069 | } __C89_NAMELESSUNIONNAME; | 4089 | } __C89_NAMELESSUNIONNAME; |
| 3070 | } D3D12_VIDEO_ENCODER_PROFILE_DESC; | 4090 | } D3D12_VIDEO_ENCODER_PROFILE_DESC; |
| 3071 | typedef enum D3D12_VIDEO_ENCODER_LEVELS_H264 { | 4091 | typedef enum D3D12_VIDEO_ENCODER_LEVELS_H264 { |
| ... | @@ -3118,6 +4138,7 @@ typedef struct D3D12_VIDEO_ENCODER_LEVEL_SETTING { | ... | @@ -3118,6 +4138,7 @@ typedef struct D3D12_VIDEO_ENCODER_LEVEL_SETTING { |
| 3118 | __C89_NAMELESS union { | 4138 | __C89_NAMELESS union { |
| 3119 | D3D12_VIDEO_ENCODER_LEVELS_H264 *pH264LevelSetting; | 4139 | D3D12_VIDEO_ENCODER_LEVELS_H264 *pH264LevelSetting; |
| 3120 | D3D12_VIDEO_ENCODER_LEVEL_TIER_CONSTRAINTS_HEVC *pHEVCLevelSetting; | 4140 | D3D12_VIDEO_ENCODER_LEVEL_TIER_CONSTRAINTS_HEVC *pHEVCLevelSetting; |
| 4141 | D3D12_VIDEO_ENCODER_AV1_LEVEL_TIER_CONSTRAINTS *pAV1LevelSetting; | ||
| 3121 | } __C89_NAMELESSUNIONNAME; | 4142 | } __C89_NAMELESSUNIONNAME; |
| 3122 | } D3D12_VIDEO_ENCODER_LEVEL_SETTING; | 4143 | } D3D12_VIDEO_ENCODER_LEVEL_SETTING; |
| 3123 | typedef struct D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC { | 4144 | typedef struct D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC { |
| ... | @@ -3134,6 +4155,14 @@ typedef enum D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE { | ... | @@ -3134,6 +4155,14 @@ typedef enum D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE { |
| 3134 | D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE_NONE = 0, | 4155 | D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE_NONE = 0, |
| 3135 | D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE_ROW_BASED = 1 | 4156 | D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE_ROW_BASED = 1 |
| 3136 | } D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE; | 4157 | } D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE; |
| 4158 | typedef struct D3D12_FEATURE_DATA_VIDEO_ENCODER_INTRA_REFRESH_MODE { | ||
| 4159 | UINT NodeIndex; | ||
| 4160 | D3D12_VIDEO_ENCODER_CODEC Codec; | ||
| 4161 | D3D12_VIDEO_ENCODER_PROFILE_DESC Profile; | ||
| 4162 | D3D12_VIDEO_ENCODER_LEVEL_SETTING Level; | ||
| 4163 | D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE IntraRefreshMode; | ||
| 4164 | WINBOOL IsSupported; | ||
| 4165 | } D3D12_FEATURE_DATA_VIDEO_ENCODER_INTRA_REFRESH_MODE; | ||
| 3137 | typedef enum D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE { | 4166 | typedef enum D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE { |
| 3138 | D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE_FULL_FRAME = 0, | 4167 | D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE_FULL_FRAME = 0, |
| 3139 | D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE_BYTES_PER_SUBREGION = 1, | 4168 | D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE_BYTES_PER_SUBREGION = 1, |
| ... | @@ -3223,11 +4252,36 @@ typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC { | ... | @@ -3223,11 +4252,36 @@ typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC { |
| 3223 | UCHAR max_transform_hierarchy_depth_inter; | 4252 | UCHAR max_transform_hierarchy_depth_inter; |
| 3224 | UCHAR max_transform_hierarchy_depth_intra; | 4253 | UCHAR max_transform_hierarchy_depth_intra; |
| 3225 | } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC; | 4254 | } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC; |
| 4255 | typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS1 { | ||
| 4256 | D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAG1_NONE = 0x0, | ||
| 4257 | D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAG1_SEPARATE_COLOUR_PLANE_SUPPORT = 0x1, | ||
| 4258 | D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAG1_SEPARATE_COLOUR_PLANE_REQUIRED = 0x2 | ||
| 4259 | } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS1; | ||
| 4260 | DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS1) | ||
| 4261 | typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC1 { | ||
| 4262 | D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS SupportFlags; | ||
| 4263 | D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE MinLumaCodingUnitSize; | ||
| 4264 | D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE MaxLumaCodingUnitSize; | ||
| 4265 | D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_TUSIZE MinLumaTransformUnitSize; | ||
| 4266 | D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_TUSIZE MaxLumaTransformUnitSize; | ||
| 4267 | UCHAR max_transform_hierarchy_depth_inter; | ||
| 4268 | UCHAR max_transform_hierarchy_depth_intra; | ||
| 4269 | UINT allowed_diff_cu_chroma_qp_offset_depth_values; | ||
| 4270 | UINT allowed_log2_sao_offset_scale_luma_values; | ||
| 4271 | UINT allowed_log2_sao_offset_scale_chroma_values; | ||
| 4272 | UINT allowed_log2_max_transform_skip_block_size_minus2_values; | ||
| 4273 | UINT allowed_chroma_qp_offset_list_len_minus1_values; | ||
| 4274 | UINT allowed_cb_qp_offset_list_values[6]; | ||
| 4275 | UINT allowed_cr_qp_offset_list_values[6]; | ||
| 4276 | D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS1 SupportFlags1; | ||
| 4277 | } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC1; | ||
| 3226 | typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT { | 4278 | typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT { |
| 3227 | UINT DataSize; | 4279 | UINT DataSize; |
| 3228 | __C89_NAMELESS union { | 4280 | __C89_NAMELESS union { |
| 3229 | D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264 *pH264Support; | 4281 | D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264 *pH264Support; |
| 3230 | D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC *pHEVCSupport; | 4282 | D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC *pHEVCSupport; |
| 4283 | D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC1 *pHEVCSupport1; | ||
| 4284 | D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION_SUPPORT *pAV1Support; | ||
| 3231 | } __C89_NAMELESSUNIONNAME; | 4285 | } __C89_NAMELESSUNIONNAME; |
| 3232 | } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT; | 4286 | } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT; |
| 3233 | typedef struct D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT { | 4287 | typedef struct D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT { |
| ... | @@ -3256,6 +4310,7 @@ typedef struct D3D12_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT { | ... | @@ -3256,6 +4310,7 @@ typedef struct D3D12_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT { |
| 3256 | __C89_NAMELESS union { | 4310 | __C89_NAMELESS union { |
| 3257 | D3D12_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT_H264 *pH264Support; | 4311 | D3D12_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT_H264 *pH264Support; |
| 3258 | D3D12_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT_HEVC *pHEVCSupport; | 4312 | D3D12_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT_HEVC *pHEVCSupport; |
| 4313 | D3D12_VIDEO_ENCODER_CODEC_AV1_PICTURE_CONTROL_SUPPORT *pAV1Support; | ||
| 3259 | } __C89_NAMELESSUNIONNAME; | 4314 | } __C89_NAMELESSUNIONNAME; |
| 3260 | } D3D12_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT; | 4315 | } D3D12_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT; |
| 3261 | typedef struct D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT { | 4316 | typedef struct D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT { |
| ... | @@ -3325,6 +4380,7 @@ typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION { | ... | @@ -3325,6 +4380,7 @@ typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION { |
| 3325 | __C89_NAMELESS union { | 4380 | __C89_NAMELESS union { |
| 3326 | D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264 *pH264Config; | 4381 | D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264 *pH264Config; |
| 3327 | D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC *pHEVCConfig; | 4382 | D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC *pHEVCConfig; |
| 4383 | D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION *pAV1Config; | ||
| 3328 | } __C89_NAMELESSUNIONNAME; | 4384 | } __C89_NAMELESSUNIONNAME; |
| 3329 | } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION; | 4385 | } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION; |
| 3330 | typedef struct D3D12_VIDEO_ENCODER_INTRA_REFRESH { | 4386 | typedef struct D3D12_VIDEO_ENCODER_INTRA_REFRESH { |
| ... | @@ -3335,7 +4391,8 @@ typedef enum D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE { | ... | @@ -3335,7 +4391,8 @@ typedef enum D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE { |
| 3335 | D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE_MAXIMUM = 0, | 4391 | D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE_MAXIMUM = 0, |
| 3336 | D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE_FULL_PIXEL = 1, | 4392 | D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE_FULL_PIXEL = 1, |
| 3337 | D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE_HALF_PIXEL = 2, | 4393 | D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE_HALF_PIXEL = 2, |
| 3338 | D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE_QUARTER_PIXEL = 3 | 4394 | D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE_QUARTER_PIXEL = 3, |
| 4395 | D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE_EIGHTH_PIXEL = 4 | ||
| 3339 | } D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE; | 4396 | } D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE; |
| 3340 | typedef struct D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS { | 4397 | typedef struct D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS { |
| 3341 | UINT MaxSubregionsNumber; | 4398 | UINT MaxSubregionsNumber; |
| ... | @@ -3373,6 +4430,7 @@ typedef struct D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE { | ... | @@ -3373,6 +4430,7 @@ typedef struct D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE { |
| 3373 | __C89_NAMELESS union { | 4430 | __C89_NAMELESS union { |
| 3374 | D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE_H264 *pH264GroupOfPictures; | 4431 | D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE_H264 *pH264GroupOfPictures; |
| 3375 | D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE_HEVC *pHEVCGroupOfPictures; | 4432 | D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE_HEVC *pHEVCGroupOfPictures; |
| 4433 | D3D12_VIDEO_ENCODER_AV1_SEQUENCE_STRUCTURE *pAV1SequenceStructure; | ||
| 3376 | } __C89_NAMELESSUNIONNAME; | 4434 | } __C89_NAMELESSUNIONNAME; |
| 3377 | } D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE; | 4435 | } D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE; |
| 3378 | typedef struct D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT { | 4436 | typedef struct D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT { |
| ... | @@ -4123,11 +5181,39 @@ typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC { | ... | @@ -4123,11 +5181,39 @@ typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC { |
| 4123 | UINT QPMapValuesCount; | 5181 | UINT QPMapValuesCount; |
| 4124 | INT8 *pRateControlQPMap; | 5182 | INT8 *pRateControlQPMap; |
| 4125 | } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC; | 5183 | } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC; |
| 5184 | typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC1 { | ||
| 5185 | D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS Flags; | ||
| 5186 | D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC FrameType; | ||
| 5187 | UINT slice_pic_parameter_set_id; | ||
| 5188 | UINT PictureOrderCountNumber; | ||
| 5189 | UINT TemporalLayerIndex; | ||
| 5190 | UINT List0ReferenceFramesCount; | ||
| 5191 | UINT *pList0ReferenceFrames; | ||
| 5192 | UINT List1ReferenceFramesCount; | ||
| 5193 | UINT *pList1ReferenceFrames; | ||
| 5194 | UINT ReferenceFramesReconPictureDescriptorsCount; | ||
| 5195 | D3D12_VIDEO_ENCODER_REFERENCE_PICTURE_DESCRIPTOR_HEVC *pReferenceFramesReconPictureDescriptors; | ||
| 5196 | UINT List0RefPicModificationsCount; | ||
| 5197 | UINT *pList0RefPicModifications; | ||
| 5198 | UINT List1RefPicModificationsCount; | ||
| 5199 | UINT *pList1RefPicModifications; | ||
| 5200 | UINT QPMapValuesCount; | ||
| 5201 | INT8 *pRateControlQPMap; | ||
| 5202 | UCHAR diff_cu_chroma_qp_offset_depth; | ||
| 5203 | UCHAR log2_sao_offset_scale_luma; | ||
| 5204 | UCHAR log2_sao_offset_scale_chroma; | ||
| 5205 | UCHAR log2_max_transform_skip_block_size_minus2; | ||
| 5206 | UCHAR chroma_qp_offset_list_len_minus1; | ||
| 5207 | CHAR cb_qp_offset_list[6]; | ||
| 5208 | CHAR cr_qp_offset_list[6]; | ||
| 5209 | } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC1; | ||
| 4126 | typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA { | 5210 | typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA { |
| 4127 | UINT DataSize; | 5211 | UINT DataSize; |
| 4128 | __C89_NAMELESS union { | 5212 | __C89_NAMELESS union { |
| 4129 | D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264 *pH264PicData; | 5213 | D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264 *pH264PicData; |
| 4130 | D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC *pHEVCPicData; | 5214 | D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC *pHEVCPicData; |
| 5215 | D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC1 *pHEVCPicData1; | ||
| 5216 | D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA *pAV1PicData; | ||
| 4131 | } __C89_NAMELESSUNIONNAME; | 5217 | } __C89_NAMELESSUNIONNAME; |
| 4132 | } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA; | 5218 | } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA; |
| 4133 | typedef struct D3D12_VIDEO_ENCODE_REFERENCE_FRAMES { | 5219 | typedef struct D3D12_VIDEO_ENCODE_REFERENCE_FRAMES { |
| ... | @@ -4168,8 +5254,29 @@ typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA { | ... | @@ -4168,8 +5254,29 @@ typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA { |
| 4168 | __C89_NAMELESS union { | 5254 | __C89_NAMELESS union { |
| 4169 | const D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_SLICES *pSlicesPartition_H264; | 5255 | const D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_SLICES *pSlicesPartition_H264; |
| 4170 | const D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_SLICES *pSlicesPartition_HEVC; | 5256 | const D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_SLICES *pSlicesPartition_HEVC; |
| 5257 | const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_TILES *pTilesPartition_AV1; | ||
| 4171 | } __C89_NAMELESSUNIONNAME; | 5258 | } __C89_NAMELESSUNIONNAME; |
| 4172 | } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA; | 5259 | } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA; |
| 5260 | typedef struct D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT1 { | ||
| 5261 | UINT NodeIndex; | ||
| 5262 | D3D12_VIDEO_ENCODER_CODEC Codec; | ||
| 5263 | DXGI_FORMAT InputFormat; | ||
| 5264 | D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION CodecConfiguration; | ||
| 5265 | D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE CodecGopSequence; | ||
| 5266 | D3D12_VIDEO_ENCODER_RATE_CONTROL RateControl; | ||
| 5267 | D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE IntraRefresh; | ||
| 5268 | D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE SubregionFrameEncoding; | ||
| 5269 | UINT ResolutionsListCount; | ||
| 5270 | const D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC *pResolutionList; | ||
| 5271 | UINT MaxReferenceFramesInDPB; | ||
| 5272 | D3D12_VIDEO_ENCODER_VALIDATION_FLAGS ValidationFlags; | ||
| 5273 | D3D12_VIDEO_ENCODER_SUPPORT_FLAGS SupportFlags; | ||
| 5274 | D3D12_VIDEO_ENCODER_PROFILE_DESC SuggestedProfile; | ||
| 5275 | D3D12_VIDEO_ENCODER_LEVEL_SETTING SuggestedLevel; | ||
| 5276 | D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS *pResolutionDependentSupport; | ||
| 5277 | D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA SubregionFrameEncodingData; | ||
| 5278 | UINT MaxQualityVsSpeed; | ||
| 5279 | } D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT1; | ||
| 4173 | typedef struct D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_DESC { | 5280 | typedef struct D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_DESC { |
| 4174 | D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS Flags; | 5281 | D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS Flags; |
| 4175 | D3D12_VIDEO_ENCODER_INTRA_REFRESH IntraRefreshConfig; | 5282 | D3D12_VIDEO_ENCODER_INTRA_REFRESH IntraRefreshConfig; |
lib/libc/include/any-windows-any/d3dcommon.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/d3dcommon.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/d3dcompiler.h+1| ... | @@ -154,6 +154,7 @@ typedef HRESULT (WINAPI *pD3DPreprocess)(const void *data, SIZE_T size, const ch | ... | @@ -154,6 +154,7 @@ typedef HRESULT (WINAPI *pD3DPreprocess)(const void *data, SIZE_T size, const ch |
| 154 | const D3D_SHADER_MACRO *defines, ID3DInclude *include, | 154 | const D3D_SHADER_MACRO *defines, ID3DInclude *include, |
| 155 | ID3DBlob **shader, ID3DBlob **error_messages); | 155 | ID3DBlob **shader, ID3DBlob **error_messages); |
| 156 | 156 | ||
| 157 | HRESULT WINAPI D3DCreateFunctionLinkingGraph(UINT flags, ID3D11FunctionLinkingGraph **graph); | ||
| 157 | HRESULT WINAPI D3DCreateLinker(ID3D11Linker **linker); | 158 | HRESULT WINAPI D3DCreateLinker(ID3D11Linker **linker); |
| 158 | HRESULT WINAPI D3DLoadModule(const void *data, SIZE_T size, ID3D11Module **module); | 159 | HRESULT WINAPI D3DLoadModule(const void *data, SIZE_T size, ID3D11Module **module); |
| 159 | 160 |
lib/libc/include/any-windows-any/dbgprop.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/dbgprop.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/dcommon.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/dcomp.h+62| ... | @@ -667,6 +667,68 @@ DECLARE_INTERFACE_IID_(IDCompositionDevice3, IDCompositionDevice2, "0987CB06-F91 | ... | @@ -667,6 +667,68 @@ DECLARE_INTERFACE_IID_(IDCompositionDevice3, IDCompositionDevice2, "0987CB06-F91 |
| 667 | __CRT_UUID_DECL(IDCompositionDevice3,0x0987cb06,0xf916,0x48bf,0x8d,0x35,0xce,0x76,0x41,0x78,0x1b,0xd9); | 667 | __CRT_UUID_DECL(IDCompositionDevice3,0x0987cb06,0xf916,0x48bf,0x8d,0x35,0xce,0x76,0x41,0x78,0x1b,0xd9); |
| 668 | #endif | 668 | #endif |
| 669 | 669 | ||
| 670 | #if (NTDDI_VERSION >= NTDDI_WIN10_NI) | ||
| 671 | |||
| 672 | #undef INTERFACE | ||
| 673 | #define INTERFACE IDCompositionTexture | ||
| 674 | DECLARE_INTERFACE_IID_(IDCompositionTexture, IUnknown, "929BB1AA-725F-433B-ABD7-273075A835F2") | ||
| 675 | { | ||
| 676 | STDMETHOD(SetSourceRect)(THIS_ const D2D_RECT_U &sourceRect) PURE; | ||
| 677 | STDMETHOD(SetColorSpace)(THIS_ DXGI_COLOR_SPACE_TYPE colorSpace) PURE; | ||
| 678 | STDMETHOD(SetAlphaMode)(THIS_ DXGI_ALPHA_MODE alphaMode) PURE; | ||
| 679 | STDMETHOD(GetAvailableFence)(THIS_ UINT64 *fenceValue, REFIID iid, void **availableFence) PURE; | ||
| 680 | }; | ||
| 681 | |||
| 682 | #ifdef __CRT_UUID_DECL | ||
| 683 | __CRT_UUID_DECL(IDCompositionTexture, 0x929bb1aa, 0x725f, 0x433b, 0xab, 0xd7, 0x27, 0x30, 0x75, 0xa8, 0x35, 0xf2); | ||
| 684 | #endif | ||
| 685 | |||
| 686 | #undef INTERFACE | ||
| 687 | #define INTERFACE IDCompositionDevice4 | ||
| 688 | DECLARE_INTERFACE_IID_(IDCompositionDevice4, IDCompositionDevice3, "85FC5CCA-2DA6-494C-86B6-4A775C049B8A") | ||
| 689 | { | ||
| 690 | STDMETHOD(CheckCompositionTextureSupport)(THIS_ IUnknown *renderingDevice, WINBOOL *supportsCompositionTextures) PURE; | ||
| 691 | STDMETHOD(CreateCompositionTexture)(THIS_ IUnknown *d3dTexture, IDCompositionTexture **compositionTexture) PURE; | ||
| 692 | }; | ||
| 693 | |||
| 694 | #ifdef __CRT_UUID_DECL | ||
| 695 | __CRT_UUID_DECL(IDCompositionDevice4, 0x85fc5cca, 0x2da6, 0x494c, 0x86, 0xb6, 0x4a, 0x77, 0x5c, 0x04, 0x9b, 0x8a); | ||
| 696 | #endif | ||
| 697 | |||
| 698 | #endif /* (NTDDI_VERSION >= NTDDI_WIN10_NI) */ | ||
| 699 | |||
| 700 | #if (NTDDI_VERSION >= NTDDI_WIN11_GE) | ||
| 701 | |||
| 702 | #undef INTERFACE | ||
| 703 | #define INTERFACE IDCompositionDynamicTexture | ||
| 704 | DECLARE_INTERFACE_IID_(IDCompositionDynamicTexture, IUnknown, "A1DE1D3F-6405-447F-8E95-1383A34B0277") | ||
| 705 | { | ||
| 706 | #if defined(_MSC_VER) && defined(__cplusplus) | ||
| 707 | STDMETHOD(SetTexture)(THIS_ IDCompositionTexture *pTexture) PURE; | ||
| 708 | STDMETHOD(SetTexture)(THIS_ IDCompositionTexture *pTexture, const D2D_RECT_L *pRects, size_t rectCount) PURE; | ||
| 709 | #else | ||
| 710 | STDMETHOD(SetTexture)(THIS_ IDCompositionTexture *pTexture, const D2D_RECT_L *pRects, size_t rectCount) PURE; | ||
| 711 | STDMETHOD(SetTexture)(THIS_ IDCompositionTexture *pTexture) PURE; | ||
| 712 | #endif | ||
| 713 | }; | ||
| 714 | |||
| 715 | #ifdef __CRT_UUID_DECL | ||
| 716 | __CRT_UUID_DECL(IDCompositionDynamicTexture, 0xa1de1d3f, 0x6405, 0x447f, 0x8e, 0x95, 0x13, 0x83, 0xa3, 0x4b, 0x02, 0x77); | ||
| 717 | #endif | ||
| 718 | |||
| 719 | #undef INTERFACE | ||
| 720 | #define INTERFACE IDCompositionDevice5 | ||
| 721 | DECLARE_INTERFACE_IID_(IDCompositionDevice5, IDCompositionDevice4, "2C6BEBFE-A603-472F-AF34-D2443356E61B") | ||
| 722 | { | ||
| 723 | STDMETHOD(CreateDynamicTexture)(THIS_ IDCompositionDynamicTexture **compositionDynamicTexture) PURE; | ||
| 724 | }; | ||
| 725 | |||
| 726 | #ifdef __CRT_UUID_DECL | ||
| 727 | __CRT_UUID_DECL(IDCompositionDevice5, 0x2c6bebfe, 0xa603, 0x472f, 0xaf, 0x34, 0xd2, 0x44, 0x33, 0x56, 0xe6, 0x1b); | ||
| 728 | #endif | ||
| 729 | |||
| 730 | #endif /* (NTDDI_VERSION >= NTDDI_WIN11_GE) */ | ||
| 731 | |||
| 670 | #endif /* WINAPI_PARTITION_DESKTOP */ | 732 | #endif /* WINAPI_PARTITION_DESKTOP */ |
| 671 | 733 | ||
| 672 | #if (_WIN32_WINNT >= 0x0A00) | 734 | #if (_WIN32_WINNT >= 0x0A00) |
lib/libc/include/any-windows-any/dcompanimation.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/dcompanimation.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/ddk/ntddk.h+15| ... | @@ -1161,6 +1161,21 @@ typedef struct _FILE_DISPOSITION_INFORMATION { | ... | @@ -1161,6 +1161,21 @@ typedef struct _FILE_DISPOSITION_INFORMATION { |
| 1161 | BOOLEAN DeleteFile; | 1161 | BOOLEAN DeleteFile; |
| 1162 | } FILE_DISPOSITION_INFORMATION, *PFILE_DISPOSITION_INFORMATION; | 1162 | } FILE_DISPOSITION_INFORMATION, *PFILE_DISPOSITION_INFORMATION; |
| 1163 | 1163 | ||
| 1164 | #if (_WIN32_WINNT >= _WIN32_WINNT_WIN10_RS1) | ||
| 1165 | #define FILE_DISPOSITION_DO_NOT_DELETE 0x00000000 | ||
| 1166 | #define FILE_DISPOSITION_DELETE 0x00000001 | ||
| 1167 | #define FILE_DISPOSITION_POSIX_SEMANTICS 0x00000002 | ||
| 1168 | #define FILE_DISPOSITION_FORCE_IMAGE_SECTION_CHECK 0x00000004 | ||
| 1169 | #define FILE_DISPOSITION_ON_CLOSE 0x00000008 | ||
| 1170 | #if (_WIN32_WINNT >= _WIN32_WINNT_WIN10_RS5) | ||
| 1171 | #define FILE_DISPOSITION_IGNORE_READONLY_ATTRIBUTE 0x00000010 | ||
| 1172 | #endif | ||
| 1173 | |||
| 1174 | typedef struct _FILE_DISPOSITION_INFORMATION_EX { | ||
| 1175 | ULONG Flags; | ||
| 1176 | } FILE_DISPOSITION_INFORMATION_EX, *PFILE_DISPOSITION_INFORMATION_EX; | ||
| 1177 | #endif | ||
| 1178 | |||
| 1164 | typedef struct _FILE_END_OF_FILE_INFORMATION { | 1179 | typedef struct _FILE_END_OF_FILE_INFORMATION { |
| 1165 | LARGE_INTEGER EndOfFile; | 1180 | LARGE_INTEGER EndOfFile; |
| 1166 | } FILE_END_OF_FILE_INFORMATION, *PFILE_END_OF_FILE_INFORMATION; | 1181 | } FILE_END_OF_FILE_INFORMATION, *PFILE_END_OF_FILE_INFORMATION; |
lib/libc/include/any-windows-any/ddk/wdm.h-45| ... | @@ -195,51 +195,6 @@ inline int IsEqualGUIDAligned(REFGUID guid1, REFGUID guid2) | ... | @@ -195,51 +195,6 @@ inline int IsEqualGUIDAligned(REFGUID guid1, REFGUID guid2) |
| 195 | /****************************************************************************** | 195 | /****************************************************************************** |
| 196 | * INTERLOCKED Functions * | 196 | * INTERLOCKED Functions * |
| 197 | ******************************************************************************/ | 197 | ******************************************************************************/ |
| 198 | // | ||
| 199 | // Intrinsics (note: taken from our winnt.h) | ||
| 200 | // FIXME: 64-bit | ||
| 201 | // | ||
| 202 | #if defined(__GNUC__) | ||
| 203 | |||
| 204 | static __inline__ BOOLEAN | ||
| 205 | InterlockedBitTestAndSet( | ||
| 206 | IN LONG volatile *Base, | ||
| 207 | IN LONG Bit) | ||
| 208 | { | ||
| 209 | #if defined(_M_IX86) | ||
| 210 | LONG OldBit; | ||
| 211 | __asm__ __volatile__("lock " | ||
| 212 | "btsl %2,%1\n\t" | ||
| 213 | "sbbl %0,%0\n\t" | ||
| 214 | :"=r" (OldBit),"+m" (*Base) | ||
| 215 | :"Ir" (Bit) | ||
| 216 | : "memory"); | ||
| 217 | return OldBit; | ||
| 218 | #else | ||
| 219 | return (_InterlockedOr(Base, 1 << Bit) >> Bit) & 1; | ||
| 220 | #endif | ||
| 221 | } | ||
| 222 | |||
| 223 | static __inline__ BOOLEAN | ||
| 224 | InterlockedBitTestAndReset( | ||
| 225 | IN LONG volatile *Base, | ||
| 226 | IN LONG Bit) | ||
| 227 | { | ||
| 228 | #if defined(_M_IX86) | ||
| 229 | LONG OldBit; | ||
| 230 | __asm__ __volatile__("lock " | ||
| 231 | "btrl %2,%1\n\t" | ||
| 232 | "sbbl %0,%0\n\t" | ||
| 233 | :"=r" (OldBit),"+m" (*Base) | ||
| 234 | :"Ir" (Bit) | ||
| 235 | : "memory"); | ||
| 236 | return OldBit; | ||
| 237 | #else | ||
| 238 | return (_InterlockedAnd(Base, ~(1 << Bit)) >> Bit) & 1; | ||
| 239 | #endif | ||
| 240 | } | ||
| 241 | |||
| 242 | #endif /* defined(__GNUC__) */ | ||
| 243 | 198 | ||
| 244 | #define BitScanForward _BitScanForward | 199 | #define BitScanForward _BitScanForward |
| 245 | #define BitScanReverse _BitScanReverse | 200 | #define BitScanReverse _BitScanReverse |
lib/libc/include/any-windows-any/ddstream.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/ddstream.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/devicetopology.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/dimm.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/dinputd.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/directmanipulation.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/dirent.h+10-2| ... | @@ -38,7 +38,11 @@ struct dirent | ... | @@ -38,7 +38,11 @@ struct dirent |
| 38 | typedef struct | 38 | typedef struct |
| 39 | { | 39 | { |
| 40 | 	/* disk transfer area for this dir */ | 40 | 	/* disk transfer area for this dir */ |
| 41 | 	struct _finddata_t	dd_dta; | 41 | #ifdef _WIN64 |
| 42 | 	struct _finddata64i32_t	dd_dta; | ||
| 43 | #else | ||
| 44 | 	struct _finddata32_t	dd_dta; | ||
| 45 | #endif | ||
| 42 | 46 | ||
| 43 | 	/* dirent struct to return from dir (NOTE: this makes this thread | 47 | 	/* dirent struct to return from dir (NOTE: this makes this thread |
| 44 | 	 * safe as long as only one thread uses a particular DIR struct at | 48 | 	 * safe as long as only one thread uses a particular DIR struct at |
| ... | @@ -85,7 +89,11 @@ struct _wdirent | ... | @@ -85,7 +89,11 @@ struct _wdirent |
| 85 | typedef struct | 89 | typedef struct |
| 86 | { | 90 | { |
| 87 | 	/* disk transfer area for this dir */ | 91 | 	/* disk transfer area for this dir */ |
| 88 | 	struct _wfinddata_t	dd_dta; | 92 | #ifdef _WIN64 |
| 93 | 	struct _wfinddata64i32_t	dd_dta; | ||
| 94 | #else | ||
| 95 | 	struct _wfinddata32_t	dd_dta; | ||
| 96 | #endif | ||
| 89 | 97 | ||
| 90 | 	/* dirent struct to return from dir (NOTE: this makes this thread | 98 | 	/* dirent struct to return from dir (NOTE: this makes this thread |
| 91 | 	 * safe as long as only one thread uses a particular DIR struct at | 99 | 	 * safe as long as only one thread uses a particular DIR struct at |
lib/libc/include/any-windows-any/dispex.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/dispex.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/dmodshow.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/dmusicf.h+10-3| ... | @@ -429,7 +429,7 @@ struct _DMUS_IO_SEQ_ITEM { | ... | @@ -429,7 +429,7 @@ struct _DMUS_IO_SEQ_ITEM { |
| 429 | 	MUSIC_TIME mtTime; | 429 | 	MUSIC_TIME mtTime; |
| 430 | 	MUSIC_TIME mtDuration; | 430 | 	MUSIC_TIME mtDuration; |
| 431 | 	DWORD dwPChannel; | 431 | 	DWORD dwPChannel; |
| 432 | 	short nOffset; | 432 | 	short nOffset; |
| 433 | 	BYTE bStatus; | 433 | 	BYTE bStatus; |
| 434 | 	BYTE bByte1; | 434 | 	BYTE bByte1; |
| 435 | 	BYTE bByte2; | 435 | 	BYTE bByte2; |
| ... | @@ -489,7 +489,7 @@ struct _DMUS_IO_TIMESIG { | ... | @@ -489,7 +489,7 @@ struct _DMUS_IO_TIMESIG { |
| 489 | 489 | ||
| 490 | struct _DMUS_IO_STYLE { | 490 | struct _DMUS_IO_STYLE { |
| 491 | 	DMUS_IO_TIMESIG timeSig; | 491 | 	DMUS_IO_TIMESIG timeSig; |
| 492 | 	double dblTempo; | 492 | 	double dblTempo; |
| 493 | }; | 493 | }; |
| 494 | 494 | ||
| 495 | struct _DMUS_IO_VERSION { | 495 | struct _DMUS_IO_VERSION { |
| ... | @@ -503,6 +503,7 @@ struct _DMUS_IO_PATTERN { | ... | @@ -503,6 +503,7 @@ struct _DMUS_IO_PATTERN { |
| 503 | 	BYTE bGrooveTop; | 503 | 	BYTE bGrooveTop; |
| 504 | 	WORD wEmbellishment; | 504 | 	WORD wEmbellishment; |
| 505 | 	WORD wNbrMeasures; | 505 | 	WORD wNbrMeasures; |
| 506 | /* DX8 */ | ||
| 506 | 	BYTE bDestGrooveBottom; | 507 | 	BYTE bDestGrooveBottom; |
| 507 | 	BYTE bDestGrooveTop; | 508 | 	BYTE bDestGrooveTop; |
| 508 | 	DWORD dwFlags; | 509 | 	DWORD dwFlags; |
| ... | @@ -516,6 +517,7 @@ struct _DMUS_IO_STYLEPART { | ... | @@ -516,6 +517,7 @@ struct _DMUS_IO_STYLEPART { |
| 516 | 	BYTE bPlayModeFlags; | 517 | 	BYTE bPlayModeFlags; |
| 517 | 	BYTE bInvertUpper; | 518 | 	BYTE bInvertUpper; |
| 518 | 	BYTE bInvertLower; | 519 | 	BYTE bInvertLower; |
| 520 | 	/* DX8 */ | ||
| 519 | 	BYTE bPad[3]; | 521 | 	BYTE bPad[3]; |
| 520 | 	DWORD dwFlags; | 522 | 	DWORD dwFlags; |
| 521 | }; | 523 | }; |
| ... | @@ -527,8 +529,9 @@ struct _DMUS_IO_PARTREF { | ... | @@ -527,8 +529,9 @@ struct _DMUS_IO_PARTREF { |
| 527 | 	BYTE bSubChordLevel; | 529 | 	BYTE bSubChordLevel; |
| 528 | 	BYTE bPriority; | 530 | 	BYTE bPriority; |
| 529 | 	BYTE bRandomVariation; | 531 | 	BYTE bRandomVariation; |
| 532 | 	/* DX8 */ | ||
| 530 | 	WORD wPad; | 533 | 	WORD wPad; |
| 531 | 	DWORD dwPChannel; | 534 | 	DWORD dwPChannel; /* Replaces wLogicalPartID */ |
| 532 | }; | 535 | }; |
| 533 | 536 | ||
| 534 | 537 | ||
| ... | @@ -600,6 +603,7 @@ struct _DMUS_IO_CHORD { | ... | @@ -600,6 +603,7 @@ struct _DMUS_IO_CHORD { |
| 600 | 	MUSIC_TIME mtTime; | 603 | 	MUSIC_TIME mtTime; |
| 601 | 	WORD wMeasure; | 604 | 	WORD wMeasure; |
| 602 | 	BYTE bBeat; | 605 | 	BYTE bBeat; |
| 606 | /* DX8 */ | ||
| 603 | 	BYTE bFlags; | 607 | 	BYTE bFlags; |
| 604 | }; | 608 | }; |
| 605 | 609 | ||
| ... | @@ -619,6 +623,7 @@ struct _DMUS_IO_COMMAND { | ... | @@ -619,6 +623,7 @@ struct _DMUS_IO_COMMAND { |
| 619 | 	BYTE bCommand; | 623 | 	BYTE bCommand; |
| 620 | 	BYTE bGrooveLevel; | 624 | 	BYTE bGrooveLevel; |
| 621 | 	BYTE bGrooveRange; | 625 | 	BYTE bGrooveRange; |
| 626 | /* DX8 */ | ||
| 622 | 	BYTE bRepeatMode; | 627 | 	BYTE bRepeatMode; |
| 623 | }; | 628 | }; |
| 624 | 629 | ||
| ... | @@ -673,6 +678,7 @@ struct _DMUS_IO_INSTRUMENT { | ... | @@ -673,6 +678,7 @@ struct _DMUS_IO_INSTRUMENT { |
| 673 | 	BYTE bVolume; | 678 | 	BYTE bVolume; |
| 674 | 	short nTranspose; | 679 | 	short nTranspose; |
| 675 | 	DWORD dwChannelPriority; | 680 | 	DWORD dwChannelPriority; |
| 681 | /* DX8 */ | ||
| 676 | 	short nPitchBendRange; | 682 | 	short nPitchBendRange; |
| 677 | }; | 683 | }; |
| 678 | 684 | ||
| ... | @@ -707,6 +713,7 @@ struct _DMUS_IO_WAVE_ITEM_HEADER { | ... | @@ -707,6 +713,7 @@ struct _DMUS_IO_WAVE_ITEM_HEADER { |
| 707 | 	DWORD dwLoopStart; | 713 | 	DWORD dwLoopStart; |
| 708 | 	DWORD dwLoopEnd; | 714 | 	DWORD dwLoopEnd; |
| 709 | 	DWORD dwFlags; | 715 | 	DWORD dwFlags; |
| 716 | /* DX9 */ | ||
| 710 | 	WORD wVolumeRange; | 717 | 	WORD wVolumeRange; |
| 711 | 	WORD wPitchRange; | 718 | 	WORD wPitchRange; |
| 712 | }; | 719 | }; |
lib/libc/include/any-windows-any/docobj.h+2-2| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/docobj.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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__ |
| ... | @@ -1713,7 +1713,7 @@ static inline HRESULT IProtectedModeMenuServices_LoadMenuID(IProtectedModeMenuSe | ... | @@ -1713,7 +1713,7 @@ static inline HRESULT IProtectedModeMenuServices_LoadMenuID(IProtectedModeMenuSe |
| 1713 | 1713 | ||
| 1714 | #endif | 1714 | #endif |
| 1715 | #endif | 1715 | #endif |
| 1716 | #if WINAPI_FAMILY_ONE_PARTITION(WINAPI_FAMILY_DESKTOP_APP, WINAPI_PARTITION_APP) | 1716 | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) && !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) |
| 1717 | typedef struct tagPAGESET { } PAGESET; | 1717 | typedef struct tagPAGESET { } PAGESET; |
| 1718 | #endif | 1718 | #endif |
| 1719 | /* Begin additional prototypes for all interfaces */ | 1719 | /* Begin additional prototypes for all interfaces */ |
lib/libc/include/any-windows-any/docobjectservice.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/docobjectservice.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/documenttarget.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/downloadmgr.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/drmexternals.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/drmexternals.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/dvdif.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/dwrite.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/dwrite.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/dwrite_1.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/dwrite_2.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/dwrite_3.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/dxgi.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/dxgi1_2.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/dxgi1_3.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/dxgi1_4.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/dxgi1_5.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/dxgi1_6.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/dxgicommon.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/dxgidebug.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/dxgiformat.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/dxgitype.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/dxva2api.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/dxva2api.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/dxvahd.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/emi.h created+83| ... | @@ -0,0 +1,83 @@ | ||
| 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 | #ifndef _EMI_ | ||
| 8 | #define _EMI_ | ||
| 9 | |||
| 10 | #if (NTDDI_VERSION >= NTDDI_WINBLUE) | ||
| 11 | |||
| 12 | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) | ||
| 13 | |||
| 14 | DEFINE_GUID(GUID_DEVICE_ENERGY_METER, 0x45bd8344, 0x7ed6, 0x49cf, 0xa4, 0x40, 0xc2, 0x76, 0xc9, 0x33, 0xb0, 0x53); | ||
| 15 | |||
| 16 | #define IOCTL_EMI_GET_VERSION CTL_CODE(FILE_DEVICE_UNKNOWN, 0, METHOD_BUFFERED, FILE_READ_ACCESS) | ||
| 17 | #define IOCTL_EMI_GET_METADATA_SIZE CTL_CODE(FILE_DEVICE_UNKNOWN, 1, METHOD_BUFFERED, FILE_READ_ACCESS) | ||
| 18 | #define IOCTL_EMI_GET_METADATA CTL_CODE(FILE_DEVICE_UNKNOWN, 2, METHOD_BUFFERED, FILE_READ_ACCESS) | ||
| 19 | #define IOCTL_EMI_GET_MEASUREMENT CTL_CODE(FILE_DEVICE_UNKNOWN, 3, METHOD_BUFFERED, FILE_READ_ACCESS) | ||
| 20 | |||
| 21 | #define EMI_NAME_MAX 16 | ||
| 22 | |||
| 23 | #define EMI_VERSION_V1 1 | ||
| 24 | #define EMI_VERSION_V2 2 | ||
| 25 | |||
| 26 | typedef enum { | ||
| 27 | EmiMeasurementUnitPicowattHours | ||
| 28 | } EMI_MEASUREMENT_UNIT; | ||
| 29 | |||
| 30 | typedef struct { | ||
| 31 | USHORT EmiVersion; | ||
| 32 | } EMI_VERSION; | ||
| 33 | |||
| 34 | typedef struct { | ||
| 35 | ULONG MetadataSize; | ||
| 36 | } EMI_METADATA_SIZE; | ||
| 37 | |||
| 38 | typedef struct { | ||
| 39 | ULONGLONG AbsoluteEnergy; | ||
| 40 | ULONGLONG AbsoluteTime; | ||
| 41 | } EMI_CHANNEL_MEASUREMENT_DATA; | ||
| 42 | |||
| 43 | typedef struct { | ||
| 44 | EMI_MEASUREMENT_UNIT MeasurementUnit; | ||
| 45 | WCHAR HardwareOEM[EMI_NAME_MAX]; | ||
| 46 | WCHAR HardwareModel[EMI_NAME_MAX]; | ||
| 47 | USHORT HardwareRevision; | ||
| 48 | USHORT MeteredHardwareNameSize; | ||
| 49 | WCHAR MeteredHardwareName[ANYSIZE_ARRAY]; | ||
| 50 | } EMI_METADATA_V1; | ||
| 51 | |||
| 52 | typedef EMI_CHANNEL_MEASUREMENT_DATA EMI_MEASUREMENT_DATA_V1; | ||
| 53 | |||
| 54 | typedef EMI_METADATA_V1 EMI_METADATA; | ||
| 55 | typedef EMI_MEASUREMENT_DATA_V1 EMI_MEASUREMENT_DATA; | ||
| 56 | |||
| 57 | typedef struct { | ||
| 58 | EMI_MEASUREMENT_UNIT MeasurementUnit; | ||
| 59 | USHORT ChannelNameSize; | ||
| 60 | WCHAR ChannelName[ANYSIZE_ARRAY]; | ||
| 61 | } EMI_CHANNEL_V2; | ||
| 62 | |||
| 63 | typedef struct { | ||
| 64 | WCHAR HardwareOEM[EMI_NAME_MAX]; | ||
| 65 | WCHAR HardwareModel[EMI_NAME_MAX]; | ||
| 66 | USHORT HardwareRevision; | ||
| 67 | USHORT ChannelCount; | ||
| 68 | EMI_CHANNEL_V2 Channels[ANYSIZE_ARRAY]; | ||
| 69 | } EMI_METADATA_V2; | ||
| 70 | |||
| 71 | typedef struct { | ||
| 72 | EMI_CHANNEL_MEASUREMENT_DATA ChannelData[ANYSIZE_ARRAY]; | ||
| 73 | } EMI_MEASUREMENT_DATA_V2; | ||
| 74 | |||
| 75 | #define EMI_CHANNEL_V2_LENGTH(_ChannelNameSize) (FIELD_OFFSET(EMI_CHANNEL_V2, ChannelName) + (_ChannelNameSize)) | ||
| 76 | |||
| 77 | #define EMI_CHANNEL_V2_NEXT_CHANNEL(_Channel) ((EMI_CHANNEL_V2 *)((PUCHAR)(_Channel) + EMI_CHANNEL_V2_LENGTH((_Channel)->ChannelNameSize))) | ||
| 78 | |||
| 79 | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ | ||
| 80 | |||
| 81 | #endif /* (NTDDI_VERSION >= NTDDI_WINBLUE) */ | ||
| 82 | |||
| 83 | #endif /* _EMI_ */ | ||
lib/libc/include/any-windows-any/endpointvolume.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/endpointvolume.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/errno.h+2-2| ... | @@ -17,8 +17,8 @@ extern "C" { | ... | @@ -17,8 +17,8 @@ extern "C" { |
| 17 | _CRTIMP extern int *__cdecl _errno(void); | 17 | _CRTIMP extern int *__cdecl _errno(void); |
| 18 | #define errno (*_errno()) | 18 | #define errno (*_errno()) |
| 19 | 19 | ||
| 20 | errno_t __cdecl _set_errno(int _Value); | 20 | _CRTIMP errno_t __cdecl _set_errno(int _Value); |
| 21 | errno_t __cdecl _get_errno(int *_Value); | 21 | _CRTIMP errno_t __cdecl _get_errno(int *_Value); |
| 22 | #endif /* _CRT_ERRNO_DEFINED */ | 22 | #endif /* _CRT_ERRNO_DEFINED */ |
| 23 | 23 | ||
| 24 | #define EPERM 1 | 24 | #define EPERM 1 |
lib/libc/include/any-windows-any/esent.h+2| ... | @@ -2559,10 +2559,12 @@ JET_ERR JET_API JetOpenTableW( | ... | @@ -2559,10 +2559,12 @@ JET_ERR JET_API JetOpenTableW( |
| 2559 | 2559 | ||
| 2560 | #define JetOpenTable __MINGW_NAME_AW(JetOpenTable) | 2560 | #define JetOpenTable __MINGW_NAME_AW(JetOpenTable) |
| 2561 | 2561 | ||
| 2562 | #if (JET_VERSION >= 0x0600) | ||
| 2562 | JET_ERR JET_API JetOpenTemporaryTable( | 2563 | JET_ERR JET_API JetOpenTemporaryTable( |
| 2563 | JET_SESID sesid, | 2564 | JET_SESID sesid, |
| 2564 | JET_OPENTEMPORARYTABLE* popentemporarytable | 2565 | JET_OPENTEMPORARYTABLE* popentemporarytable |
| 2565 | ); | 2566 | ); |
| 2567 | #endif /*(JET_VERSION >= 0x0600)*/ | ||
| 2566 | 2568 | ||
| 2567 | JET_ERR JET_API JetOpenTempTable( | 2569 | JET_ERR JET_API JetOpenTempTable( |
| 2568 | JET_SESID sesid, | 2570 | JET_SESID sesid, |
lib/libc/include/any-windows-any/evr.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/evr.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/evr9.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/excpt.h+6-8| ... | @@ -16,14 +16,12 @@ extern "C" { | ... | @@ -16,14 +16,12 @@ extern "C" { |
| 16 | 16 | ||
| 17 | struct _EXCEPTION_POINTERS; | 17 | struct _EXCEPTION_POINTERS; |
| 18 | 18 | ||
| 19 | #ifndef EXCEPTION_DISPOSITION | 19 | typedef enum _EXCEPTION_DISPOSITION { |
| 20 | #define EXCEPTION_DISPOSITION int | 20 | ExceptionContinueExecution = 0, |
| 21 | #endif | 21 | ExceptionContinueSearch = 1, |
| 22 | #define ExceptionContinueExecution 0 | 22 | ExceptionNestedException = 2, |
| 23 | #define ExceptionContinueSearch 1 | 23 | ExceptionCollidedUnwind = 3 |
| 24 | #define ExceptionNestedException 2 | 24 | } EXCEPTION_DISPOSITION; |
| 25 | #define ExceptionCollidedUnwind 3 | ||
| 26 | #define ExceptionExecuteHandler 4 | ||
| 27 | 25 | ||
| 28 | #if (defined(_X86_) && !defined(__x86_64)) | 26 | #if (defined(_X86_) && !defined(__x86_64)) |
| 29 | struct _EXCEPTION_RECORD; | 27 | struct _EXCEPTION_RECORD; |
lib/libc/include/any-windows-any/exdisp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/exdisp.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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+16-10| ... | @@ -81,23 +81,29 @@ extern const fenv_t __mingw_fe_pc53_env; | ... | @@ -81,23 +81,29 @@ extern const fenv_t __mingw_fe_pc53_env; |
| 81 | /*TODO: Some of these could be inlined */ | 81 | /*TODO: Some of these could be inlined */ |
| 82 | /* 7.6.2 Exception */ | 82 | /* 7.6.2 Exception */ |
| 83 | 83 | ||
| 84 | extern int __cdecl feclearexcept (int); | 84 | extern int __cdecl feclearexcept (int _Flags); |
| 85 | extern int __cdecl fegetexceptflag (fexcept_t * flagp, int excepts); | 85 | extern int __cdecl fegetexceptflag (fexcept_t * _Flagp, int _Excepts); |
| 86 | extern int __cdecl feraiseexcept (int excepts ); | 86 | extern int __cdecl feraiseexcept (int _Excepts); |
| 87 | extern int __cdecl fesetexceptflag (const fexcept_t *, int); | 87 | extern int __cdecl fesetexceptflag (const fexcept_t * _Flagp, int _Excepts); |
| 88 | extern int __cdecl fetestexcept (int excepts); | 88 | extern int __cdecl fetestexcept (int _Excepts); |
| 89 | 89 | ||
| 90 | /* 7.6.3 Rounding */ | 90 | /* 7.6.3 Rounding */ |
| 91 | 91 | ||
| 92 | extern int __cdecl fegetround (void); | 92 | extern int __cdecl fegetround (void); |
| 93 | extern int __cdecl fesetround (int mode); | 93 | extern int __cdecl fesetround (int _Mode); |
| 94 | 94 | ||
| 95 | /* 7.6.4 Environment */ | 95 | /* 7.6.4 Environment */ |
| 96 | 96 | ||
| 97 | extern int __cdecl fegetenv(fenv_t * envp); | 97 | extern int __cdecl fegetenv(fenv_t * _Envp); |
| 98 | extern int __cdecl fesetenv(const fenv_t * ); | 98 | extern int __cdecl fesetenv(const fenv_t * _Envp); |
| 99 | extern int __cdecl feupdateenv(const fenv_t *); | 99 | extern int __cdecl feupdateenv(const fenv_t * _Envp); |
| 100 | extern int __cdecl feholdexcept(fenv_t *); | 100 | extern int __cdecl feholdexcept(fenv_t * _Envp); |
| 101 | |||
| 102 | #ifdef _GNU_SOURCE | ||
| 103 | extern int __cdecl feenableexcept(int _Excepts); | ||
| 104 | extern int __cdecl fedisableexcept(int _Excepts); | ||
| 105 | extern int __cdecl fegetexcept(void); | ||
| 106 | #endif | ||
| 101 | 107 | ||
| 102 | #ifdef __cplusplus | 108 | #ifdef __cplusplus |
| 103 | } | 109 | } |
lib/libc/include/any-windows-any/filter.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/filter.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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+2| ... | @@ -243,6 +243,8 @@ | ... | @@ -243,6 +243,8 @@ |
| 243 | #define _FPE_STACKOVERFLOW	0x8a | 243 | #define _FPE_STACKOVERFLOW	0x8a |
| 244 | #define _FPE_STACKUNDERFLOW	0x8b | 244 | #define _FPE_STACKUNDERFLOW	0x8b |
| 245 | #define _FPE_EXPLICITGEN	0x8c /* raise( SIGFPE ); */ | 245 | #define _FPE_EXPLICITGEN	0x8c /* raise( SIGFPE ); */ |
| 246 | #define _FPE_MULTIPLE_TRAPS	0x8d | ||
| 247 | #define _FPE_MULTIPLE_FAULTS	0x8e | ||
| 246 | 248 | ||
| 247 | #ifndef	__STRICT_ANSI__ | 249 | #ifndef	__STRICT_ANSI__ |
| 248 | #define CW_DEFAULT _CW_DEFAULT | 250 | #define CW_DEFAULT _CW_DEFAULT |
lib/libc/include/any-windows-any/fsrm.h+435-435| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/fsrm.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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__ |
| ... | @@ -306,6 +306,421 @@ interface IFsrmExportImport; | ... | @@ -306,6 +306,421 @@ interface IFsrmExportImport; |
| 306 | 306 | ||
| 307 | #define FSRM_DISPID_ADR (FSRM_DISPID_FEATURE_GENERAL | 0x800000) | 307 | #define FSRM_DISPID_ADR (FSRM_DISPID_FEATURE_GENERAL | 0x800000) |
| 308 | 308 | ||
| 309 | /***************************************************************************** | ||
| 310 | * IFsrmCollection interface | ||
| 311 | */ | ||
| 312 | #ifndef __IFsrmCollection_INTERFACE_DEFINED__ | ||
| 313 | #define __IFsrmCollection_INTERFACE_DEFINED__ | ||
| 314 | |||
| 315 | DEFINE_GUID(IID_IFsrmCollection, 0xf76fbf3b, 0x8ddd, 0x4b42, 0xb0,0x5a, 0xcb,0x1c,0x3f,0xf1,0xfe,0xe8); | ||
| 316 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 317 | MIDL_INTERFACE("f76fbf3b-8ddd-4b42-b05a-cb1c3ff1fee8") | ||
| 318 | IFsrmCollection : public IDispatch | ||
| 319 | { | ||
| 320 | virtual HRESULT STDMETHODCALLTYPE get__NewEnum( | ||
| 321 | IUnknown **unknown) = 0; | ||
| 322 | |||
| 323 | virtual HRESULT STDMETHODCALLTYPE get_Item( | ||
| 324 | LONG index, | ||
| 325 | VARIANT *item) = 0; | ||
| 326 | |||
| 327 | virtual HRESULT STDMETHODCALLTYPE get_Count( | ||
| 328 | LONG *count) = 0; | ||
| 329 | |||
| 330 | virtual HRESULT STDMETHODCALLTYPE get_State( | ||
| 331 | FsrmCollectionState *state) = 0; | ||
| 332 | |||
| 333 | virtual HRESULT STDMETHODCALLTYPE Cancel( | ||
| 334 | ) = 0; | ||
| 335 | |||
| 336 | virtual HRESULT STDMETHODCALLTYPE WaitForCompletion( | ||
| 337 | LONG waitSeconds, | ||
| 338 | VARIANT_BOOL *completed) = 0; | ||
| 339 | |||
| 340 | virtual HRESULT STDMETHODCALLTYPE GetById( | ||
| 341 | FSRM_OBJECT_ID id, | ||
| 342 | VARIANT *entry) = 0; | ||
| 343 | |||
| 344 | }; | ||
| 345 | #ifdef __CRT_UUID_DECL | ||
| 346 | __CRT_UUID_DECL(IFsrmCollection, 0xf76fbf3b, 0x8ddd, 0x4b42, 0xb0,0x5a, 0xcb,0x1c,0x3f,0xf1,0xfe,0xe8) | ||
| 347 | #endif | ||
| 348 | #else | ||
| 349 | typedef struct IFsrmCollectionVtbl { | ||
| 350 | BEGIN_INTERFACE | ||
| 351 | |||
| 352 | /*** IUnknown methods ***/ | ||
| 353 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 354 | IFsrmCollection *This, | ||
| 355 | REFIID riid, | ||
| 356 | void **ppvObject); | ||
| 357 | |||
| 358 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 359 | IFsrmCollection *This); | ||
| 360 | |||
| 361 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 362 | IFsrmCollection *This); | ||
| 363 | |||
| 364 | /*** IDispatch methods ***/ | ||
| 365 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( | ||
| 366 | IFsrmCollection *This, | ||
| 367 | UINT *pctinfo); | ||
| 368 | |||
| 369 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( | ||
| 370 | IFsrmCollection *This, | ||
| 371 | UINT iTInfo, | ||
| 372 | LCID lcid, | ||
| 373 | ITypeInfo **ppTInfo); | ||
| 374 | |||
| 375 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( | ||
| 376 | IFsrmCollection *This, | ||
| 377 | REFIID riid, | ||
| 378 | LPOLESTR *rgszNames, | ||
| 379 | UINT cNames, | ||
| 380 | LCID lcid, | ||
| 381 | DISPID *rgDispId); | ||
| 382 | |||
| 383 | HRESULT (STDMETHODCALLTYPE *Invoke)( | ||
| 384 | IFsrmCollection *This, | ||
| 385 | DISPID dispIdMember, | ||
| 386 | REFIID riid, | ||
| 387 | LCID lcid, | ||
| 388 | WORD wFlags, | ||
| 389 | DISPPARAMS *pDispParams, | ||
| 390 | VARIANT *pVarResult, | ||
| 391 | EXCEPINFO *pExcepInfo, | ||
| 392 | UINT *puArgErr); | ||
| 393 | |||
| 394 | /*** IFsrmCollection methods ***/ | ||
| 395 | HRESULT (STDMETHODCALLTYPE *get__NewEnum)( | ||
| 396 | IFsrmCollection *This, | ||
| 397 | IUnknown **unknown); | ||
| 398 | |||
| 399 | HRESULT (STDMETHODCALLTYPE *get_Item)( | ||
| 400 | IFsrmCollection *This, | ||
| 401 | LONG index, | ||
| 402 | VARIANT *item); | ||
| 403 | |||
| 404 | HRESULT (STDMETHODCALLTYPE *get_Count)( | ||
| 405 | IFsrmCollection *This, | ||
| 406 | LONG *count); | ||
| 407 | |||
| 408 | HRESULT (STDMETHODCALLTYPE *get_State)( | ||
| 409 | IFsrmCollection *This, | ||
| 410 | FsrmCollectionState *state); | ||
| 411 | |||
| 412 | HRESULT (STDMETHODCALLTYPE *Cancel)( | ||
| 413 | IFsrmCollection *This); | ||
| 414 | |||
| 415 | HRESULT (STDMETHODCALLTYPE *WaitForCompletion)( | ||
| 416 | IFsrmCollection *This, | ||
| 417 | LONG waitSeconds, | ||
| 418 | VARIANT_BOOL *completed); | ||
| 419 | |||
| 420 | HRESULT (STDMETHODCALLTYPE *GetById)( | ||
| 421 | IFsrmCollection *This, | ||
| 422 | FSRM_OBJECT_ID id, | ||
| 423 | VARIANT *entry); | ||
| 424 | |||
| 425 | END_INTERFACE | ||
| 426 | } IFsrmCollectionVtbl; | ||
| 427 | |||
| 428 | interface IFsrmCollection { | ||
| 429 | CONST_VTBL IFsrmCollectionVtbl* lpVtbl; | ||
| 430 | }; | ||
| 431 | |||
| 432 | #ifdef COBJMACROS | ||
| 433 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 434 | /*** IUnknown methods ***/ | ||
| 435 | #define IFsrmCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 436 | #define IFsrmCollection_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 437 | #define IFsrmCollection_Release(This) (This)->lpVtbl->Release(This) | ||
| 438 | /*** IDispatch methods ***/ | ||
| 439 | #define IFsrmCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) | ||
| 440 | #define IFsrmCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) | ||
| 441 | #define IFsrmCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) | ||
| 442 | #define IFsrmCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) | ||
| 443 | /*** IFsrmCollection methods ***/ | ||
| 444 | #define IFsrmCollection_get__NewEnum(This,unknown) (This)->lpVtbl->get__NewEnum(This,unknown) | ||
| 445 | #define IFsrmCollection_get_Item(This,index,item) (This)->lpVtbl->get_Item(This,index,item) | ||
| 446 | #define IFsrmCollection_get_Count(This,count) (This)->lpVtbl->get_Count(This,count) | ||
| 447 | #define IFsrmCollection_get_State(This,state) (This)->lpVtbl->get_State(This,state) | ||
| 448 | #define IFsrmCollection_Cancel(This) (This)->lpVtbl->Cancel(This) | ||
| 449 | #define IFsrmCollection_WaitForCompletion(This,waitSeconds,completed) (This)->lpVtbl->WaitForCompletion(This,waitSeconds,completed) | ||
| 450 | #define IFsrmCollection_GetById(This,id,entry) (This)->lpVtbl->GetById(This,id,entry) | ||
| 451 | #else | ||
| 452 | /*** IUnknown methods ***/ | ||
| 453 | static inline HRESULT IFsrmCollection_QueryInterface(IFsrmCollection* This,REFIID riid,void **ppvObject) { | ||
| 454 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 455 | } | ||
| 456 | static inline ULONG IFsrmCollection_AddRef(IFsrmCollection* This) { | ||
| 457 | return This->lpVtbl->AddRef(This); | ||
| 458 | } | ||
| 459 | static inline ULONG IFsrmCollection_Release(IFsrmCollection* This) { | ||
| 460 | return This->lpVtbl->Release(This); | ||
| 461 | } | ||
| 462 | /*** IDispatch methods ***/ | ||
| 463 | static inline HRESULT IFsrmCollection_GetTypeInfoCount(IFsrmCollection* This,UINT *pctinfo) { | ||
| 464 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo); | ||
| 465 | } | ||
| 466 | static inline HRESULT IFsrmCollection_GetTypeInfo(IFsrmCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { | ||
| 467 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); | ||
| 468 | } | ||
| 469 | static inline HRESULT IFsrmCollection_GetIDsOfNames(IFsrmCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { | ||
| 470 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); | ||
| 471 | } | ||
| 472 | static inline HRESULT IFsrmCollection_Invoke(IFsrmCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { | ||
| 473 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); | ||
| 474 | } | ||
| 475 | /*** IFsrmCollection methods ***/ | ||
| 476 | static inline HRESULT IFsrmCollection_get__NewEnum(IFsrmCollection* This,IUnknown **unknown) { | ||
| 477 | return This->lpVtbl->get__NewEnum(This,unknown); | ||
| 478 | } | ||
| 479 | static inline HRESULT IFsrmCollection_get_Item(IFsrmCollection* This,LONG index,VARIANT *item) { | ||
| 480 | return This->lpVtbl->get_Item(This,index,item); | ||
| 481 | } | ||
| 482 | static inline HRESULT IFsrmCollection_get_Count(IFsrmCollection* This,LONG *count) { | ||
| 483 | return This->lpVtbl->get_Count(This,count); | ||
| 484 | } | ||
| 485 | static inline HRESULT IFsrmCollection_get_State(IFsrmCollection* This,FsrmCollectionState *state) { | ||
| 486 | return This->lpVtbl->get_State(This,state); | ||
| 487 | } | ||
| 488 | static inline HRESULT IFsrmCollection_Cancel(IFsrmCollection* This) { | ||
| 489 | return This->lpVtbl->Cancel(This); | ||
| 490 | } | ||
| 491 | static inline HRESULT IFsrmCollection_WaitForCompletion(IFsrmCollection* This,LONG waitSeconds,VARIANT_BOOL *completed) { | ||
| 492 | return This->lpVtbl->WaitForCompletion(This,waitSeconds,completed); | ||
| 493 | } | ||
| 494 | static inline HRESULT IFsrmCollection_GetById(IFsrmCollection* This,FSRM_OBJECT_ID id,VARIANT *entry) { | ||
| 495 | return This->lpVtbl->GetById(This,id,entry); | ||
| 496 | } | ||
| 497 | #endif | ||
| 498 | #endif | ||
| 499 | |||
| 500 | #endif | ||
| 501 | |||
| 502 | |||
| 503 | #endif /* __IFsrmCollection_INTERFACE_DEFINED__ */ | ||
| 504 | |||
| 505 | /***************************************************************************** | ||
| 506 | * IFsrmMutableCollection interface | ||
| 507 | */ | ||
| 508 | #ifndef __IFsrmMutableCollection_INTERFACE_DEFINED__ | ||
| 509 | #define __IFsrmMutableCollection_INTERFACE_DEFINED__ | ||
| 510 | |||
| 511 | DEFINE_GUID(IID_IFsrmMutableCollection, 0x1bb617b8, 0x3886, 0x49dc, 0xaf,0x82, 0xa6,0xc9,0x0f,0xa3,0x5d,0xda); | ||
| 512 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 513 | MIDL_INTERFACE("1bb617b8-3886-49dc-af82-a6c90fa35dda") | ||
| 514 | IFsrmMutableCollection : public IFsrmCollection | ||
| 515 | { | ||
| 516 | virtual HRESULT STDMETHODCALLTYPE Add( | ||
| 517 | VARIANT item) = 0; | ||
| 518 | |||
| 519 | virtual HRESULT STDMETHODCALLTYPE Remove( | ||
| 520 | LONG index) = 0; | ||
| 521 | |||
| 522 | virtual HRESULT STDMETHODCALLTYPE RemoveById( | ||
| 523 | FSRM_OBJECT_ID id) = 0; | ||
| 524 | |||
| 525 | virtual HRESULT STDMETHODCALLTYPE Clone( | ||
| 526 | IFsrmMutableCollection **collection) = 0; | ||
| 527 | |||
| 528 | }; | ||
| 529 | #ifdef __CRT_UUID_DECL | ||
| 530 | __CRT_UUID_DECL(IFsrmMutableCollection, 0x1bb617b8, 0x3886, 0x49dc, 0xaf,0x82, 0xa6,0xc9,0x0f,0xa3,0x5d,0xda) | ||
| 531 | #endif | ||
| 532 | #else | ||
| 533 | typedef struct IFsrmMutableCollectionVtbl { | ||
| 534 | BEGIN_INTERFACE | ||
| 535 | |||
| 536 | /*** IUnknown methods ***/ | ||
| 537 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 538 | IFsrmMutableCollection *This, | ||
| 539 | REFIID riid, | ||
| 540 | void **ppvObject); | ||
| 541 | |||
| 542 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 543 | IFsrmMutableCollection *This); | ||
| 544 | |||
| 545 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 546 | IFsrmMutableCollection *This); | ||
| 547 | |||
| 548 | /*** IDispatch methods ***/ | ||
| 549 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( | ||
| 550 | IFsrmMutableCollection *This, | ||
| 551 | UINT *pctinfo); | ||
| 552 | |||
| 553 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( | ||
| 554 | IFsrmMutableCollection *This, | ||
| 555 | UINT iTInfo, | ||
| 556 | LCID lcid, | ||
| 557 | ITypeInfo **ppTInfo); | ||
| 558 | |||
| 559 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( | ||
| 560 | IFsrmMutableCollection *This, | ||
| 561 | REFIID riid, | ||
| 562 | LPOLESTR *rgszNames, | ||
| 563 | UINT cNames, | ||
| 564 | LCID lcid, | ||
| 565 | DISPID *rgDispId); | ||
| 566 | |||
| 567 | HRESULT (STDMETHODCALLTYPE *Invoke)( | ||
| 568 | IFsrmMutableCollection *This, | ||
| 569 | DISPID dispIdMember, | ||
| 570 | REFIID riid, | ||
| 571 | LCID lcid, | ||
| 572 | WORD wFlags, | ||
| 573 | DISPPARAMS *pDispParams, | ||
| 574 | VARIANT *pVarResult, | ||
| 575 | EXCEPINFO *pExcepInfo, | ||
| 576 | UINT *puArgErr); | ||
| 577 | |||
| 578 | /*** IFsrmCollection methods ***/ | ||
| 579 | HRESULT (STDMETHODCALLTYPE *get__NewEnum)( | ||
| 580 | IFsrmMutableCollection *This, | ||
| 581 | IUnknown **unknown); | ||
| 582 | |||
| 583 | HRESULT (STDMETHODCALLTYPE *get_Item)( | ||
| 584 | IFsrmMutableCollection *This, | ||
| 585 | LONG index, | ||
| 586 | VARIANT *item); | ||
| 587 | |||
| 588 | HRESULT (STDMETHODCALLTYPE *get_Count)( | ||
| 589 | IFsrmMutableCollection *This, | ||
| 590 | LONG *count); | ||
| 591 | |||
| 592 | HRESULT (STDMETHODCALLTYPE *get_State)( | ||
| 593 | IFsrmMutableCollection *This, | ||
| 594 | FsrmCollectionState *state); | ||
| 595 | |||
| 596 | HRESULT (STDMETHODCALLTYPE *Cancel)( | ||
| 597 | IFsrmMutableCollection *This); | ||
| 598 | |||
| 599 | HRESULT (STDMETHODCALLTYPE *WaitForCompletion)( | ||
| 600 | IFsrmMutableCollection *This, | ||
| 601 | LONG waitSeconds, | ||
| 602 | VARIANT_BOOL *completed); | ||
| 603 | |||
| 604 | HRESULT (STDMETHODCALLTYPE *GetById)( | ||
| 605 | IFsrmMutableCollection *This, | ||
| 606 | FSRM_OBJECT_ID id, | ||
| 607 | VARIANT *entry); | ||
| 608 | |||
| 609 | /*** IFsrmMutableCollection methods ***/ | ||
| 610 | HRESULT (STDMETHODCALLTYPE *Add)( | ||
| 611 | IFsrmMutableCollection *This, | ||
| 612 | VARIANT item); | ||
| 613 | |||
| 614 | HRESULT (STDMETHODCALLTYPE *Remove)( | ||
| 615 | IFsrmMutableCollection *This, | ||
| 616 | LONG index); | ||
| 617 | |||
| 618 | HRESULT (STDMETHODCALLTYPE *RemoveById)( | ||
| 619 | IFsrmMutableCollection *This, | ||
| 620 | FSRM_OBJECT_ID id); | ||
| 621 | |||
| 622 | HRESULT (STDMETHODCALLTYPE *Clone)( | ||
| 623 | IFsrmMutableCollection *This, | ||
| 624 | IFsrmMutableCollection **collection); | ||
| 625 | |||
| 626 | END_INTERFACE | ||
| 627 | } IFsrmMutableCollectionVtbl; | ||
| 628 | |||
| 629 | interface IFsrmMutableCollection { | ||
| 630 | CONST_VTBL IFsrmMutableCollectionVtbl* lpVtbl; | ||
| 631 | }; | ||
| 632 | |||
| 633 | #ifdef COBJMACROS | ||
| 634 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 635 | /*** IUnknown methods ***/ | ||
| 636 | #define IFsrmMutableCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 637 | #define IFsrmMutableCollection_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 638 | #define IFsrmMutableCollection_Release(This) (This)->lpVtbl->Release(This) | ||
| 639 | /*** IDispatch methods ***/ | ||
| 640 | #define IFsrmMutableCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) | ||
| 641 | #define IFsrmMutableCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) | ||
| 642 | #define IFsrmMutableCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) | ||
| 643 | #define IFsrmMutableCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) | ||
| 644 | /*** IFsrmCollection methods ***/ | ||
| 645 | #define IFsrmMutableCollection_get__NewEnum(This,unknown) (This)->lpVtbl->get__NewEnum(This,unknown) | ||
| 646 | #define IFsrmMutableCollection_get_Item(This,index,item) (This)->lpVtbl->get_Item(This,index,item) | ||
| 647 | #define IFsrmMutableCollection_get_Count(This,count) (This)->lpVtbl->get_Count(This,count) | ||
| 648 | #define IFsrmMutableCollection_get_State(This,state) (This)->lpVtbl->get_State(This,state) | ||
| 649 | #define IFsrmMutableCollection_Cancel(This) (This)->lpVtbl->Cancel(This) | ||
| 650 | #define IFsrmMutableCollection_WaitForCompletion(This,waitSeconds,completed) (This)->lpVtbl->WaitForCompletion(This,waitSeconds,completed) | ||
| 651 | #define IFsrmMutableCollection_GetById(This,id,entry) (This)->lpVtbl->GetById(This,id,entry) | ||
| 652 | /*** IFsrmMutableCollection methods ***/ | ||
| 653 | #define IFsrmMutableCollection_Add(This,item) (This)->lpVtbl->Add(This,item) | ||
| 654 | #define IFsrmMutableCollection_Remove(This,index) (This)->lpVtbl->Remove(This,index) | ||
| 655 | #define IFsrmMutableCollection_RemoveById(This,id) (This)->lpVtbl->RemoveById(This,id) | ||
| 656 | #define IFsrmMutableCollection_Clone(This,collection) (This)->lpVtbl->Clone(This,collection) | ||
| 657 | #else | ||
| 658 | /*** IUnknown methods ***/ | ||
| 659 | static inline HRESULT IFsrmMutableCollection_QueryInterface(IFsrmMutableCollection* This,REFIID riid,void **ppvObject) { | ||
| 660 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 661 | } | ||
| 662 | static inline ULONG IFsrmMutableCollection_AddRef(IFsrmMutableCollection* This) { | ||
| 663 | return This->lpVtbl->AddRef(This); | ||
| 664 | } | ||
| 665 | static inline ULONG IFsrmMutableCollection_Release(IFsrmMutableCollection* This) { | ||
| 666 | return This->lpVtbl->Release(This); | ||
| 667 | } | ||
| 668 | /*** IDispatch methods ***/ | ||
| 669 | static inline HRESULT IFsrmMutableCollection_GetTypeInfoCount(IFsrmMutableCollection* This,UINT *pctinfo) { | ||
| 670 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo); | ||
| 671 | } | ||
| 672 | static inline HRESULT IFsrmMutableCollection_GetTypeInfo(IFsrmMutableCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { | ||
| 673 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); | ||
| 674 | } | ||
| 675 | static inline HRESULT IFsrmMutableCollection_GetIDsOfNames(IFsrmMutableCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { | ||
| 676 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); | ||
| 677 | } | ||
| 678 | static inline HRESULT IFsrmMutableCollection_Invoke(IFsrmMutableCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { | ||
| 679 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); | ||
| 680 | } | ||
| 681 | /*** IFsrmCollection methods ***/ | ||
| 682 | static inline HRESULT IFsrmMutableCollection_get__NewEnum(IFsrmMutableCollection* This,IUnknown **unknown) { | ||
| 683 | return This->lpVtbl->get__NewEnum(This,unknown); | ||
| 684 | } | ||
| 685 | static inline HRESULT IFsrmMutableCollection_get_Item(IFsrmMutableCollection* This,LONG index,VARIANT *item) { | ||
| 686 | return This->lpVtbl->get_Item(This,index,item); | ||
| 687 | } | ||
| 688 | static inline HRESULT IFsrmMutableCollection_get_Count(IFsrmMutableCollection* This,LONG *count) { | ||
| 689 | return This->lpVtbl->get_Count(This,count); | ||
| 690 | } | ||
| 691 | static inline HRESULT IFsrmMutableCollection_get_State(IFsrmMutableCollection* This,FsrmCollectionState *state) { | ||
| 692 | return This->lpVtbl->get_State(This,state); | ||
| 693 | } | ||
| 694 | static inline HRESULT IFsrmMutableCollection_Cancel(IFsrmMutableCollection* This) { | ||
| 695 | return This->lpVtbl->Cancel(This); | ||
| 696 | } | ||
| 697 | static inline HRESULT IFsrmMutableCollection_WaitForCompletion(IFsrmMutableCollection* This,LONG waitSeconds,VARIANT_BOOL *completed) { | ||
| 698 | return This->lpVtbl->WaitForCompletion(This,waitSeconds,completed); | ||
| 699 | } | ||
| 700 | static inline HRESULT IFsrmMutableCollection_GetById(IFsrmMutableCollection* This,FSRM_OBJECT_ID id,VARIANT *entry) { | ||
| 701 | return This->lpVtbl->GetById(This,id,entry); | ||
| 702 | } | ||
| 703 | /*** IFsrmMutableCollection methods ***/ | ||
| 704 | static inline HRESULT IFsrmMutableCollection_Add(IFsrmMutableCollection* This,VARIANT item) { | ||
| 705 | return This->lpVtbl->Add(This,item); | ||
| 706 | } | ||
| 707 | static inline HRESULT IFsrmMutableCollection_Remove(IFsrmMutableCollection* This,LONG index) { | ||
| 708 | return This->lpVtbl->Remove(This,index); | ||
| 709 | } | ||
| 710 | static inline HRESULT IFsrmMutableCollection_RemoveById(IFsrmMutableCollection* This,FSRM_OBJECT_ID id) { | ||
| 711 | return This->lpVtbl->RemoveById(This,id); | ||
| 712 | } | ||
| 713 | static inline HRESULT IFsrmMutableCollection_Clone(IFsrmMutableCollection* This,IFsrmMutableCollection **collection) { | ||
| 714 | return This->lpVtbl->Clone(This,collection); | ||
| 715 | } | ||
| 716 | #endif | ||
| 717 | #endif | ||
| 718 | |||
| 719 | #endif | ||
| 720 | |||
| 721 | |||
| 722 | #endif /* __IFsrmMutableCollection_INTERFACE_DEFINED__ */ | ||
| 723 | |||
| 309 | /***************************************************************************** | 724 | /***************************************************************************** |
| 310 | * IFsrmCommittableCollection interface | 725 | * IFsrmCommittableCollection interface |
| 311 | */ | 726 | */ |
| ... | @@ -1509,228 +1924,32 @@ static inline HRESULT IFsrmActionReport_Invoke(IFsrmActionReport* This,DISPID di | ... | @@ -1509,228 +1924,32 @@ static inline HRESULT IFsrmActionReport_Invoke(IFsrmActionReport* This,DISPID di |
| 1509 | } | 1924 | } |
| 1510 | /*** IFsrmAction methods ***/ | 1925 | /*** IFsrmAction methods ***/ |
| 1511 | static inline HRESULT IFsrmActionReport_get_Id(IFsrmActionReport* This,FSRM_OBJECT_ID *id) { | 1926 | static inline HRESULT IFsrmActionReport_get_Id(IFsrmActionReport* This,FSRM_OBJECT_ID *id) { |
| 1512 | return This->lpVtbl->get_Id(This,id); | 1927 | return This->lpVtbl->get_Id(This,id); |
| 1513 | } | ||
| 1514 | static inline HRESULT IFsrmActionReport_get_ActionType(IFsrmActionReport* This,FsrmActionType *actionType) { | ||
| 1515 | return This->lpVtbl->get_ActionType(This,actionType); | ||
| 1516 | } | ||
| 1517 | static inline HRESULT IFsrmActionReport_get_RunLimitInterval(IFsrmActionReport* This,LONG *minutes) { | ||
| 1518 | return This->lpVtbl->get_RunLimitInterval(This,minutes); | ||
| 1519 | } | ||
| 1520 | static inline HRESULT IFsrmActionReport_put_RunLimitInterval(IFsrmActionReport* This,LONG minutes) { | ||
| 1521 | return This->lpVtbl->put_RunLimitInterval(This,minutes); | ||
| 1522 | } | ||
| 1523 | static inline HRESULT IFsrmActionReport_Delete(IFsrmActionReport* This) { | ||
| 1524 | return This->lpVtbl->Delete(This); | ||
| 1525 | } | ||
| 1526 | /*** IFsrmActionReport methods ***/ | ||
| 1527 | static inline HRESULT IFsrmActionReport_get_ReportTypes(IFsrmActionReport* This,SAFEARRAY **reportTypes) { | ||
| 1528 | return This->lpVtbl->get_ReportTypes(This,reportTypes); | ||
| 1529 | } | ||
| 1530 | static inline HRESULT IFsrmActionReport_put_ReportTypes(IFsrmActionReport* This,SAFEARRAY *reportTypes) { | ||
| 1531 | return This->lpVtbl->put_ReportTypes(This,reportTypes); | ||
| 1532 | } | ||
| 1533 | static inline HRESULT IFsrmActionReport_get_MailTo(IFsrmActionReport* This,BSTR *mailTo) { | ||
| 1534 | return This->lpVtbl->get_MailTo(This,mailTo); | ||
| 1535 | } | ||
| 1536 | static inline HRESULT IFsrmActionReport_put_MailTo(IFsrmActionReport* This,BSTR mailTo) { | ||
| 1537 | return This->lpVtbl->put_MailTo(This,mailTo); | ||
| 1538 | } | ||
| 1539 | #endif | ||
| 1540 | #endif | ||
| 1541 | |||
| 1542 | #endif | ||
| 1543 | |||
| 1544 | |||
| 1545 | #endif /* __IFsrmActionReport_INTERFACE_DEFINED__ */ | ||
| 1546 | |||
| 1547 | /***************************************************************************** | ||
| 1548 | * IFsrmCollection interface | ||
| 1549 | */ | ||
| 1550 | #ifndef __IFsrmCollection_INTERFACE_DEFINED__ | ||
| 1551 | #define __IFsrmCollection_INTERFACE_DEFINED__ | ||
| 1552 | |||
| 1553 | DEFINE_GUID(IID_IFsrmCollection, 0xf76fbf3b, 0x8ddd, 0x4b42, 0xb0,0x5a, 0xcb,0x1c,0x3f,0xf1,0xfe,0xe8); | ||
| 1554 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 1555 | MIDL_INTERFACE("f76fbf3b-8ddd-4b42-b05a-cb1c3ff1fee8") | ||
| 1556 | IFsrmCollection : public IDispatch | ||
| 1557 | { | ||
| 1558 | virtual HRESULT STDMETHODCALLTYPE get__NewEnum( | ||
| 1559 | IUnknown **unknown) = 0; | ||
| 1560 | |||
| 1561 | virtual HRESULT STDMETHODCALLTYPE get_Item( | ||
| 1562 | LONG index, | ||
| 1563 | VARIANT *item) = 0; | ||
| 1564 | |||
| 1565 | virtual HRESULT STDMETHODCALLTYPE get_Count( | ||
| 1566 | LONG *count) = 0; | ||
| 1567 | |||
| 1568 | virtual HRESULT STDMETHODCALLTYPE get_State( | ||
| 1569 | FsrmCollectionState *state) = 0; | ||
| 1570 | |||
| 1571 | virtual HRESULT STDMETHODCALLTYPE Cancel( | ||
| 1572 | ) = 0; | ||
| 1573 | |||
| 1574 | virtual HRESULT STDMETHODCALLTYPE WaitForCompletion( | ||
| 1575 | LONG waitSeconds, | ||
| 1576 | VARIANT_BOOL *completed) = 0; | ||
| 1577 | |||
| 1578 | virtual HRESULT STDMETHODCALLTYPE GetById( | ||
| 1579 | FSRM_OBJECT_ID id, | ||
| 1580 | VARIANT *entry) = 0; | ||
| 1581 | |||
| 1582 | }; | ||
| 1583 | #ifdef __CRT_UUID_DECL | ||
| 1584 | __CRT_UUID_DECL(IFsrmCollection, 0xf76fbf3b, 0x8ddd, 0x4b42, 0xb0,0x5a, 0xcb,0x1c,0x3f,0xf1,0xfe,0xe8) | ||
| 1585 | #endif | ||
| 1586 | #else | ||
| 1587 | typedef struct IFsrmCollectionVtbl { | ||
| 1588 | BEGIN_INTERFACE | ||
| 1589 | |||
| 1590 | /*** IUnknown methods ***/ | ||
| 1591 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 1592 | IFsrmCollection *This, | ||
| 1593 | REFIID riid, | ||
| 1594 | void **ppvObject); | ||
| 1595 | |||
| 1596 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 1597 | IFsrmCollection *This); | ||
| 1598 | |||
| 1599 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 1600 | IFsrmCollection *This); | ||
| 1601 | |||
| 1602 | /*** IDispatch methods ***/ | ||
| 1603 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( | ||
| 1604 | IFsrmCollection *This, | ||
| 1605 | UINT *pctinfo); | ||
| 1606 | |||
| 1607 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( | ||
| 1608 | IFsrmCollection *This, | ||
| 1609 | UINT iTInfo, | ||
| 1610 | LCID lcid, | ||
| 1611 | ITypeInfo **ppTInfo); | ||
| 1612 | |||
| 1613 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( | ||
| 1614 | IFsrmCollection *This, | ||
| 1615 | REFIID riid, | ||
| 1616 | LPOLESTR *rgszNames, | ||
| 1617 | UINT cNames, | ||
| 1618 | LCID lcid, | ||
| 1619 | DISPID *rgDispId); | ||
| 1620 | |||
| 1621 | HRESULT (STDMETHODCALLTYPE *Invoke)( | ||
| 1622 | IFsrmCollection *This, | ||
| 1623 | DISPID dispIdMember, | ||
| 1624 | REFIID riid, | ||
| 1625 | LCID lcid, | ||
| 1626 | WORD wFlags, | ||
| 1627 | DISPPARAMS *pDispParams, | ||
| 1628 | VARIANT *pVarResult, | ||
| 1629 | EXCEPINFO *pExcepInfo, | ||
| 1630 | UINT *puArgErr); | ||
| 1631 | |||
| 1632 | /*** IFsrmCollection methods ***/ | ||
| 1633 | HRESULT (STDMETHODCALLTYPE *get__NewEnum)( | ||
| 1634 | IFsrmCollection *This, | ||
| 1635 | IUnknown **unknown); | ||
| 1636 | |||
| 1637 | HRESULT (STDMETHODCALLTYPE *get_Item)( | ||
| 1638 | IFsrmCollection *This, | ||
| 1639 | LONG index, | ||
| 1640 | VARIANT *item); | ||
| 1641 | |||
| 1642 | HRESULT (STDMETHODCALLTYPE *get_Count)( | ||
| 1643 | IFsrmCollection *This, | ||
| 1644 | LONG *count); | ||
| 1645 | |||
| 1646 | HRESULT (STDMETHODCALLTYPE *get_State)( | ||
| 1647 | IFsrmCollection *This, | ||
| 1648 | FsrmCollectionState *state); | ||
| 1649 | |||
| 1650 | HRESULT (STDMETHODCALLTYPE *Cancel)( | ||
| 1651 | IFsrmCollection *This); | ||
| 1652 | |||
| 1653 | HRESULT (STDMETHODCALLTYPE *WaitForCompletion)( | ||
| 1654 | IFsrmCollection *This, | ||
| 1655 | LONG waitSeconds, | ||
| 1656 | VARIANT_BOOL *completed); | ||
| 1657 | |||
| 1658 | HRESULT (STDMETHODCALLTYPE *GetById)( | ||
| 1659 | IFsrmCollection *This, | ||
| 1660 | FSRM_OBJECT_ID id, | ||
| 1661 | VARIANT *entry); | ||
| 1662 | |||
| 1663 | END_INTERFACE | ||
| 1664 | } IFsrmCollectionVtbl; | ||
| 1665 | |||
| 1666 | interface IFsrmCollection { | ||
| 1667 | CONST_VTBL IFsrmCollectionVtbl* lpVtbl; | ||
| 1668 | }; | ||
| 1669 | |||
| 1670 | #ifdef COBJMACROS | ||
| 1671 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 1672 | /*** IUnknown methods ***/ | ||
| 1673 | #define IFsrmCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 1674 | #define IFsrmCollection_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 1675 | #define IFsrmCollection_Release(This) (This)->lpVtbl->Release(This) | ||
| 1676 | /*** IDispatch methods ***/ | ||
| 1677 | #define IFsrmCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) | ||
| 1678 | #define IFsrmCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) | ||
| 1679 | #define IFsrmCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) | ||
| 1680 | #define IFsrmCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) | ||
| 1681 | /*** IFsrmCollection methods ***/ | ||
| 1682 | #define IFsrmCollection_get__NewEnum(This,unknown) (This)->lpVtbl->get__NewEnum(This,unknown) | ||
| 1683 | #define IFsrmCollection_get_Item(This,index,item) (This)->lpVtbl->get_Item(This,index,item) | ||
| 1684 | #define IFsrmCollection_get_Count(This,count) (This)->lpVtbl->get_Count(This,count) | ||
| 1685 | #define IFsrmCollection_get_State(This,state) (This)->lpVtbl->get_State(This,state) | ||
| 1686 | #define IFsrmCollection_Cancel(This) (This)->lpVtbl->Cancel(This) | ||
| 1687 | #define IFsrmCollection_WaitForCompletion(This,waitSeconds,completed) (This)->lpVtbl->WaitForCompletion(This,waitSeconds,completed) | ||
| 1688 | #define IFsrmCollection_GetById(This,id,entry) (This)->lpVtbl->GetById(This,id,entry) | ||
| 1689 | #else | ||
| 1690 | /*** IUnknown methods ***/ | ||
| 1691 | static inline HRESULT IFsrmCollection_QueryInterface(IFsrmCollection* This,REFIID riid,void **ppvObject) { | ||
| 1692 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 1693 | } | ||
| 1694 | static inline ULONG IFsrmCollection_AddRef(IFsrmCollection* This) { | ||
| 1695 | return This->lpVtbl->AddRef(This); | ||
| 1696 | } | ||
| 1697 | static inline ULONG IFsrmCollection_Release(IFsrmCollection* This) { | ||
| 1698 | return This->lpVtbl->Release(This); | ||
| 1699 | } | ||
| 1700 | /*** IDispatch methods ***/ | ||
| 1701 | static inline HRESULT IFsrmCollection_GetTypeInfoCount(IFsrmCollection* This,UINT *pctinfo) { | ||
| 1702 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo); | ||
| 1703 | } | ||
| 1704 | static inline HRESULT IFsrmCollection_GetTypeInfo(IFsrmCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { | ||
| 1705 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); | ||
| 1706 | } | ||
| 1707 | static inline HRESULT IFsrmCollection_GetIDsOfNames(IFsrmCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { | ||
| 1708 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); | ||
| 1709 | } | 1928 | } |
| 1710 | static inline HRESULT IFsrmCollection_Invoke(IFsrmCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { | 1929 | static inline HRESULT IFsrmActionReport_get_ActionType(IFsrmActionReport* This,FsrmActionType *actionType) { |
| 1711 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); | 1930 | return This->lpVtbl->get_ActionType(This,actionType); |
| 1712 | } | 1931 | } |
| 1713 | /*** IFsrmCollection methods ***/ | 1932 | static inline HRESULT IFsrmActionReport_get_RunLimitInterval(IFsrmActionReport* This,LONG *minutes) { |
| 1714 | static inline HRESULT IFsrmCollection_get__NewEnum(IFsrmCollection* This,IUnknown **unknown) { | 1933 | return This->lpVtbl->get_RunLimitInterval(This,minutes); |
| 1715 | return This->lpVtbl->get__NewEnum(This,unknown); | ||
| 1716 | } | 1934 | } |
| 1717 | static inline HRESULT IFsrmCollection_get_Item(IFsrmCollection* This,LONG index,VARIANT *item) { | 1935 | static inline HRESULT IFsrmActionReport_put_RunLimitInterval(IFsrmActionReport* This,LONG minutes) { |
| 1718 | return This->lpVtbl->get_Item(This,index,item); | 1936 | return This->lpVtbl->put_RunLimitInterval(This,minutes); |
| 1719 | } | 1937 | } |
| 1720 | static inline HRESULT IFsrmCollection_get_Count(IFsrmCollection* This,LONG *count) { | 1938 | static inline HRESULT IFsrmActionReport_Delete(IFsrmActionReport* This) { |
| 1721 | return This->lpVtbl->get_Count(This,count); | 1939 | return This->lpVtbl->Delete(This); |
| 1722 | } | 1940 | } |
| 1723 | static inline HRESULT IFsrmCollection_get_State(IFsrmCollection* This,FsrmCollectionState *state) { | 1941 | /*** IFsrmActionReport methods ***/ |
| 1724 | return This->lpVtbl->get_State(This,state); | 1942 | static inline HRESULT IFsrmActionReport_get_ReportTypes(IFsrmActionReport* This,SAFEARRAY **reportTypes) { |
| 1943 | return This->lpVtbl->get_ReportTypes(This,reportTypes); | ||
| 1725 | } | 1944 | } |
| 1726 | static inline HRESULT IFsrmCollection_Cancel(IFsrmCollection* This) { | 1945 | static inline HRESULT IFsrmActionReport_put_ReportTypes(IFsrmActionReport* This,SAFEARRAY *reportTypes) { |
| 1727 | return This->lpVtbl->Cancel(This); | 1946 | return This->lpVtbl->put_ReportTypes(This,reportTypes); |
| 1728 | } | 1947 | } |
| 1729 | static inline HRESULT IFsrmCollection_WaitForCompletion(IFsrmCollection* This,LONG waitSeconds,VARIANT_BOOL *completed) { | 1948 | static inline HRESULT IFsrmActionReport_get_MailTo(IFsrmActionReport* This,BSTR *mailTo) { |
| 1730 | return This->lpVtbl->WaitForCompletion(This,waitSeconds,completed); | 1949 | return This->lpVtbl->get_MailTo(This,mailTo); |
| 1731 | } | 1950 | } |
| 1732 | static inline HRESULT IFsrmCollection_GetById(IFsrmCollection* This,FSRM_OBJECT_ID id,VARIANT *entry) { | 1951 | static inline HRESULT IFsrmActionReport_put_MailTo(IFsrmActionReport* This,BSTR mailTo) { |
| 1733 | return This->lpVtbl->GetById(This,id,entry); | 1952 | return This->lpVtbl->put_MailTo(This,mailTo); |
| 1734 | } | 1953 | } |
| 1735 | #endif | 1954 | #endif |
| 1736 | #endif | 1955 | #endif |
| ... | @@ -1738,7 +1957,7 @@ static inline HRESULT IFsrmCollection_GetById(IFsrmCollection* This,FSRM_OBJECT_ | ... | @@ -1738,7 +1957,7 @@ static inline HRESULT IFsrmCollection_GetById(IFsrmCollection* This,FSRM_OBJECT_ |
| 1738 | #endif | 1957 | #endif |
| 1739 | 1958 | ||
| 1740 | 1959 | ||
| 1741 | #endif /* __IFsrmCollection_INTERFACE_DEFINED__ */ | 1960 | #endif /* __IFsrmActionReport_INTERFACE_DEFINED__ */ |
| 1742 | 1961 | ||
| 1743 | /***************************************************************************** | 1962 | /***************************************************************************** |
| 1744 | * IFsrmDerivedObjectsResult interface | 1963 | * IFsrmDerivedObjectsResult interface |
| ... | @@ -3244,225 +3463,6 @@ static inline HRESULT IFsrmActionEmail2_put_AttachmentFileListSize(IFsrmActionEm | ... | @@ -3244,225 +3463,6 @@ static inline HRESULT IFsrmActionEmail2_put_AttachmentFileListSize(IFsrmActionEm |
| 3244 | 3463 | ||
| 3245 | #endif /* __IFsrmActionEmail2_INTERFACE_DEFINED__ */ | 3464 | #endif /* __IFsrmActionEmail2_INTERFACE_DEFINED__ */ |
| 3246 | 3465 | ||
| 3247 | /***************************************************************************** | ||
| 3248 | * IFsrmMutableCollection interface | ||
| 3249 | */ | ||
| 3250 | #ifndef __IFsrmMutableCollection_INTERFACE_DEFINED__ | ||
| 3251 | #define __IFsrmMutableCollection_INTERFACE_DEFINED__ | ||
| 3252 | |||
| 3253 | DEFINE_GUID(IID_IFsrmMutableCollection, 0x1bb617b8, 0x3886, 0x49dc, 0xaf,0x82, 0xa6,0xc9,0x0f,0xa3,0x5d,0xda); | ||
| 3254 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 3255 | MIDL_INTERFACE("1bb617b8-3886-49dc-af82-a6c90fa35dda") | ||
| 3256 | IFsrmMutableCollection : public IFsrmCollection | ||
| 3257 | { | ||
| 3258 | virtual HRESULT STDMETHODCALLTYPE Add( | ||
| 3259 | VARIANT item) = 0; | ||
| 3260 | |||
| 3261 | virtual HRESULT STDMETHODCALLTYPE Remove( | ||
| 3262 | LONG index) = 0; | ||
| 3263 | |||
| 3264 | virtual HRESULT STDMETHODCALLTYPE RemoveById( | ||
| 3265 | FSRM_OBJECT_ID id) = 0; | ||
| 3266 | |||
| 3267 | virtual HRESULT STDMETHODCALLTYPE Clone( | ||
| 3268 | IFsrmMutableCollection **collection) = 0; | ||
| 3269 | |||
| 3270 | }; | ||
| 3271 | #ifdef __CRT_UUID_DECL | ||
| 3272 | __CRT_UUID_DECL(IFsrmMutableCollection, 0x1bb617b8, 0x3886, 0x49dc, 0xaf,0x82, 0xa6,0xc9,0x0f,0xa3,0x5d,0xda) | ||
| 3273 | #endif | ||
| 3274 | #else | ||
| 3275 | typedef struct IFsrmMutableCollectionVtbl { | ||
| 3276 | BEGIN_INTERFACE | ||
| 3277 | |||
| 3278 | /*** IUnknown methods ***/ | ||
| 3279 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 3280 | IFsrmMutableCollection *This, | ||
| 3281 | REFIID riid, | ||
| 3282 | void **ppvObject); | ||
| 3283 | |||
| 3284 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 3285 | IFsrmMutableCollection *This); | ||
| 3286 | |||
| 3287 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 3288 | IFsrmMutableCollection *This); | ||
| 3289 | |||
| 3290 | /*** IDispatch methods ***/ | ||
| 3291 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( | ||
| 3292 | IFsrmMutableCollection *This, | ||
| 3293 | UINT *pctinfo); | ||
| 3294 | |||
| 3295 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( | ||
| 3296 | IFsrmMutableCollection *This, | ||
| 3297 | UINT iTInfo, | ||
| 3298 | LCID lcid, | ||
| 3299 | ITypeInfo **ppTInfo); | ||
| 3300 | |||
| 3301 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( | ||
| 3302 | IFsrmMutableCollection *This, | ||
| 3303 | REFIID riid, | ||
| 3304 | LPOLESTR *rgszNames, | ||
| 3305 | UINT cNames, | ||
| 3306 | LCID lcid, | ||
| 3307 | DISPID *rgDispId); | ||
| 3308 | |||
| 3309 | HRESULT (STDMETHODCALLTYPE *Invoke)( | ||
| 3310 | IFsrmMutableCollection *This, | ||
| 3311 | DISPID dispIdMember, | ||
| 3312 | REFIID riid, | ||
| 3313 | LCID lcid, | ||
| 3314 | WORD wFlags, | ||
| 3315 | DISPPARAMS *pDispParams, | ||
| 3316 | VARIANT *pVarResult, | ||
| 3317 | EXCEPINFO *pExcepInfo, | ||
| 3318 | UINT *puArgErr); | ||
| 3319 | |||
| 3320 | /*** IFsrmCollection methods ***/ | ||
| 3321 | HRESULT (STDMETHODCALLTYPE *get__NewEnum)( | ||
| 3322 | IFsrmMutableCollection *This, | ||
| 3323 | IUnknown **unknown); | ||
| 3324 | |||
| 3325 | HRESULT (STDMETHODCALLTYPE *get_Item)( | ||
| 3326 | IFsrmMutableCollection *This, | ||
| 3327 | LONG index, | ||
| 3328 | VARIANT *item); | ||
| 3329 | |||
| 3330 | HRESULT (STDMETHODCALLTYPE *get_Count)( | ||
| 3331 | IFsrmMutableCollection *This, | ||
| 3332 | LONG *count); | ||
| 3333 | |||
| 3334 | HRESULT (STDMETHODCALLTYPE *get_State)( | ||
| 3335 | IFsrmMutableCollection *This, | ||
| 3336 | FsrmCollectionState *state); | ||
| 3337 | |||
| 3338 | HRESULT (STDMETHODCALLTYPE *Cancel)( | ||
| 3339 | IFsrmMutableCollection *This); | ||
| 3340 | |||
| 3341 | HRESULT (STDMETHODCALLTYPE *WaitForCompletion)( | ||
| 3342 | IFsrmMutableCollection *This, | ||
| 3343 | LONG waitSeconds, | ||
| 3344 | VARIANT_BOOL *completed); | ||
| 3345 | |||
| 3346 | HRESULT (STDMETHODCALLTYPE *GetById)( | ||
| 3347 | IFsrmMutableCollection *This, | ||
| 3348 | FSRM_OBJECT_ID id, | ||
| 3349 | VARIANT *entry); | ||
| 3350 | |||
| 3351 | /*** IFsrmMutableCollection methods ***/ | ||
| 3352 | HRESULT (STDMETHODCALLTYPE *Add)( | ||
| 3353 | IFsrmMutableCollection *This, | ||
| 3354 | VARIANT item); | ||
| 3355 | |||
| 3356 | HRESULT (STDMETHODCALLTYPE *Remove)( | ||
| 3357 | IFsrmMutableCollection *This, | ||
| 3358 | LONG index); | ||
| 3359 | |||
| 3360 | HRESULT (STDMETHODCALLTYPE *RemoveById)( | ||
| 3361 | IFsrmMutableCollection *This, | ||
| 3362 | FSRM_OBJECT_ID id); | ||
| 3363 | |||
| 3364 | HRESULT (STDMETHODCALLTYPE *Clone)( | ||
| 3365 | IFsrmMutableCollection *This, | ||
| 3366 | IFsrmMutableCollection **collection); | ||
| 3367 | |||
| 3368 | END_INTERFACE | ||
| 3369 | } IFsrmMutableCollectionVtbl; | ||
| 3370 | |||
| 3371 | interface IFsrmMutableCollection { | ||
| 3372 | CONST_VTBL IFsrmMutableCollectionVtbl* lpVtbl; | ||
| 3373 | }; | ||
| 3374 | |||
| 3375 | #ifdef COBJMACROS | ||
| 3376 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 3377 | /*** IUnknown methods ***/ | ||
| 3378 | #define IFsrmMutableCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 3379 | #define IFsrmMutableCollection_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 3380 | #define IFsrmMutableCollection_Release(This) (This)->lpVtbl->Release(This) | ||
| 3381 | /*** IDispatch methods ***/ | ||
| 3382 | #define IFsrmMutableCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) | ||
| 3383 | #define IFsrmMutableCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) | ||
| 3384 | #define IFsrmMutableCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) | ||
| 3385 | #define IFsrmMutableCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) | ||
| 3386 | /*** IFsrmCollection methods ***/ | ||
| 3387 | #define IFsrmMutableCollection_get__NewEnum(This,unknown) (This)->lpVtbl->get__NewEnum(This,unknown) | ||
| 3388 | #define IFsrmMutableCollection_get_Item(This,index,item) (This)->lpVtbl->get_Item(This,index,item) | ||
| 3389 | #define IFsrmMutableCollection_get_Count(This,count) (This)->lpVtbl->get_Count(This,count) | ||
| 3390 | #define IFsrmMutableCollection_get_State(This,state) (This)->lpVtbl->get_State(This,state) | ||
| 3391 | #define IFsrmMutableCollection_Cancel(This) (This)->lpVtbl->Cancel(This) | ||
| 3392 | #define IFsrmMutableCollection_WaitForCompletion(This,waitSeconds,completed) (This)->lpVtbl->WaitForCompletion(This,waitSeconds,completed) | ||
| 3393 | #define IFsrmMutableCollection_GetById(This,id,entry) (This)->lpVtbl->GetById(This,id,entry) | ||
| 3394 | /*** IFsrmMutableCollection methods ***/ | ||
| 3395 | #define IFsrmMutableCollection_Add(This,item) (This)->lpVtbl->Add(This,item) | ||
| 3396 | #define IFsrmMutableCollection_Remove(This,index) (This)->lpVtbl->Remove(This,index) | ||
| 3397 | #define IFsrmMutableCollection_RemoveById(This,id) (This)->lpVtbl->RemoveById(This,id) | ||
| 3398 | #define IFsrmMutableCollection_Clone(This,collection) (This)->lpVtbl->Clone(This,collection) | ||
| 3399 | #else | ||
| 3400 | /*** IUnknown methods ***/ | ||
| 3401 | static inline HRESULT IFsrmMutableCollection_QueryInterface(IFsrmMutableCollection* This,REFIID riid,void **ppvObject) { | ||
| 3402 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 3403 | } | ||
| 3404 | static inline ULONG IFsrmMutableCollection_AddRef(IFsrmMutableCollection* This) { | ||
| 3405 | return This->lpVtbl->AddRef(This); | ||
| 3406 | } | ||
| 3407 | static inline ULONG IFsrmMutableCollection_Release(IFsrmMutableCollection* This) { | ||
| 3408 | return This->lpVtbl->Release(This); | ||
| 3409 | } | ||
| 3410 | /*** IDispatch methods ***/ | ||
| 3411 | static inline HRESULT IFsrmMutableCollection_GetTypeInfoCount(IFsrmMutableCollection* This,UINT *pctinfo) { | ||
| 3412 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo); | ||
| 3413 | } | ||
| 3414 | static inline HRESULT IFsrmMutableCollection_GetTypeInfo(IFsrmMutableCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { | ||
| 3415 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); | ||
| 3416 | } | ||
| 3417 | static inline HRESULT IFsrmMutableCollection_GetIDsOfNames(IFsrmMutableCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { | ||
| 3418 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); | ||
| 3419 | } | ||
| 3420 | static inline HRESULT IFsrmMutableCollection_Invoke(IFsrmMutableCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { | ||
| 3421 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); | ||
| 3422 | } | ||
| 3423 | /*** IFsrmCollection methods ***/ | ||
| 3424 | static inline HRESULT IFsrmMutableCollection_get__NewEnum(IFsrmMutableCollection* This,IUnknown **unknown) { | ||
| 3425 | return This->lpVtbl->get__NewEnum(This,unknown); | ||
| 3426 | } | ||
| 3427 | static inline HRESULT IFsrmMutableCollection_get_Item(IFsrmMutableCollection* This,LONG index,VARIANT *item) { | ||
| 3428 | return This->lpVtbl->get_Item(This,index,item); | ||
| 3429 | } | ||
| 3430 | static inline HRESULT IFsrmMutableCollection_get_Count(IFsrmMutableCollection* This,LONG *count) { | ||
| 3431 | return This->lpVtbl->get_Count(This,count); | ||
| 3432 | } | ||
| 3433 | static inline HRESULT IFsrmMutableCollection_get_State(IFsrmMutableCollection* This,FsrmCollectionState *state) { | ||
| 3434 | return This->lpVtbl->get_State(This,state); | ||
| 3435 | } | ||
| 3436 | static inline HRESULT IFsrmMutableCollection_Cancel(IFsrmMutableCollection* This) { | ||
| 3437 | return This->lpVtbl->Cancel(This); | ||
| 3438 | } | ||
| 3439 | static inline HRESULT IFsrmMutableCollection_WaitForCompletion(IFsrmMutableCollection* This,LONG waitSeconds,VARIANT_BOOL *completed) { | ||
| 3440 | return This->lpVtbl->WaitForCompletion(This,waitSeconds,completed); | ||
| 3441 | } | ||
| 3442 | static inline HRESULT IFsrmMutableCollection_GetById(IFsrmMutableCollection* This,FSRM_OBJECT_ID id,VARIANT *entry) { | ||
| 3443 | return This->lpVtbl->GetById(This,id,entry); | ||
| 3444 | } | ||
| 3445 | /*** IFsrmMutableCollection methods ***/ | ||
| 3446 | static inline HRESULT IFsrmMutableCollection_Add(IFsrmMutableCollection* This,VARIANT item) { | ||
| 3447 | return This->lpVtbl->Add(This,item); | ||
| 3448 | } | ||
| 3449 | static inline HRESULT IFsrmMutableCollection_Remove(IFsrmMutableCollection* This,LONG index) { | ||
| 3450 | return This->lpVtbl->Remove(This,index); | ||
| 3451 | } | ||
| 3452 | static inline HRESULT IFsrmMutableCollection_RemoveById(IFsrmMutableCollection* This,FSRM_OBJECT_ID id) { | ||
| 3453 | return This->lpVtbl->RemoveById(This,id); | ||
| 3454 | } | ||
| 3455 | static inline HRESULT IFsrmMutableCollection_Clone(IFsrmMutableCollection* This,IFsrmMutableCollection **collection) { | ||
| 3456 | return This->lpVtbl->Clone(This,collection); | ||
| 3457 | } | ||
| 3458 | #endif | ||
| 3459 | #endif | ||
| 3460 | |||
| 3461 | #endif | ||
| 3462 | |||
| 3463 | |||
| 3464 | #endif /* __IFsrmMutableCollection_INTERFACE_DEFINED__ */ | ||
| 3465 | |||
| 3466 | #endif | 3466 | #endif |
| 3467 | /* Begin additional prototypes for all interfaces */ | 3467 | /* Begin additional prototypes for all interfaces */ |
| 3468 | 3468 |
lib/libc/include/any-windows-any/fsrmenums.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/fsrmenums.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/fsrmquota.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/fsrmreports.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/fsrmscreen.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/fusion.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/fusion.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/fwptypes.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/heapapi.h+11-11| ... | @@ -15,18 +15,7 @@ extern "C" { | ... | @@ -15,18 +15,7 @@ extern "C" { |
| 15 | #endif | 15 | #endif |
| 16 | 16 | ||
| 17 | #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) | 17 | #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) |
| 18 | typedef struct _HEAP_SUMMARY { | ||
| 19 | DWORD cb; | ||
| 20 | SIZE_T cbAllocated; | ||
| 21 | SIZE_T cbCommitted; | ||
| 22 | SIZE_T cbReserved; | ||
| 23 | SIZE_T cbMaxReserve; | ||
| 24 | } HEAP_SUMMARY,*PHEAP_SUMMARY; | ||
| 25 | |||
| 26 | typedef PHEAP_SUMMARY LPHEAP_SUMMARY; | ||
| 27 | |||
| 28 | WINBASEAPI WINBOOL WINAPI HeapValidate (HANDLE hHeap, DWORD dwFlags, LPCVOID lpMem); | 18 | WINBASEAPI WINBOOL WINAPI HeapValidate (HANDLE hHeap, DWORD dwFlags, LPCVOID lpMem); |
| 29 | WINBOOL WINAPI HeapSummary (HANDLE hHeap, DWORD dwFlags, LPHEAP_SUMMARY lpSummary); | ||
| 30 | #endif | 19 | #endif |
| 31 | 20 | ||
| 32 | #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) || NTDDI_VERSION >= NTDDI_WIN10_19H1 | 21 | #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) || NTDDI_VERSION >= NTDDI_WIN10_19H1 |
| ... | @@ -41,6 +30,17 @@ extern "C" { | ... | @@ -41,6 +30,17 @@ extern "C" { |
| 41 | #endif | 30 | #endif |
| 42 | 31 | ||
| 43 | #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP) | 32 | #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP) |
| 33 | typedef struct _HEAP_SUMMARY { | ||
| 34 | DWORD cb; | ||
| 35 | SIZE_T cbAllocated; | ||
| 36 | SIZE_T cbCommitted; | ||
| 37 | SIZE_T cbReserved; | ||
| 38 | SIZE_T cbMaxReserve; | ||
| 39 | } HEAP_SUMMARY,*PHEAP_SUMMARY; | ||
| 40 | |||
| 41 | typedef PHEAP_SUMMARY LPHEAP_SUMMARY; | ||
| 42 | |||
| 43 | WINBOOL WINAPI HeapSummary (HANDLE hHeap, DWORD dwFlags, LPHEAP_SUMMARY lpSummary); | ||
| 44 | WINBASEAPI HANDLE WINAPI HeapCreate (DWORD flOptions, SIZE_T dwInitialSize, SIZE_T dwMaximumSize); | 44 | WINBASEAPI HANDLE WINAPI HeapCreate (DWORD flOptions, SIZE_T dwInitialSize, SIZE_T dwMaximumSize); |
| 45 | WINBASEAPI SIZE_T WINAPI HeapCompact (HANDLE hHeap, DWORD dwFlags); | 45 | WINBASEAPI SIZE_T WINAPI HeapCompact (HANDLE hHeap, DWORD dwFlags); |
| 46 | WINBASEAPI WINBOOL WINAPI HeapDestroy (HANDLE hHeap); | 46 | WINBASEAPI WINBOOL WINAPI HeapDestroy (HANDLE hHeap); |
lib/libc/include/any-windows-any/hstring.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/hstring.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/httprequest.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 from include/httprequest.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/icftypes.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/icftypes.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/icodecapi.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/iketypes.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/iketypes.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/inputpaneinterop.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/inputscope.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/inspectable.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/intrin.h+2-1| ... | @@ -521,7 +521,8 @@ extern "C" { | ... | @@ -521,7 +521,8 @@ extern "C" { |
| 521 | __MACHINEIA64(void __rum(int)) | 521 | __MACHINEIA64(void __rum(int)) |
| 522 | #ifndef __CYGWIN__ | 522 | #ifndef __CYGWIN__ |
| 523 | #ifndef USE_NO_MINGW_SETJMP_TWO_ARGS | 523 | #ifndef USE_NO_MINGW_SETJMP_TWO_ARGS |
| 524 | __MACHINE(int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) _setjmp(jmp_buf,void *)) | 524 | __MACHINEIA32(int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) _setjmp(jmp_buf)) |
| 525 | __MACHINEX64(int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) _setjmp(jmp_buf,void *)) | ||
| 525 | __MACHINEIA64(int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) _setjmpex(jmp_buf,void *)) | 526 | __MACHINEIA64(int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) _setjmpex(jmp_buf,void *)) |
| 526 | __MACHINEX64(int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) _setjmpex(jmp_buf,void *)) | 527 | __MACHINEX64(int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) _setjmpex(jmp_buf,void *)) |
| 527 | #else | 528 | #else |
lib/libc/include/any-windows-any/intsafe.h+117-50| ... | @@ -11,9 +11,76 @@ | ... | @@ -11,9 +11,76 @@ |
| 11 | 11 | ||
| 12 | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) | 12 | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) |
| 13 | 13 | ||
| 14 | #include <_mingw.h> | ||
| 14 | #include <wtypesbase.h> | 15 | #include <wtypesbase.h> |
| 15 | #include <specstrings.h> | 16 | #include <specstrings.h> |
| 16 | 17 | ||
| 18 | #define INT8_MIN (-128) | ||
| 19 | #define INT8_MAX 127 | ||
| 20 | #define UINT8_MAX 255 | ||
| 21 | #define BYTE_MAX 255 | ||
| 22 | #define INT16_MIN (-32768) | ||
| 23 | #define INT16_MAX 32767 | ||
| 24 | #define SHORT_MIN (-32768) | ||
| 25 | #define SHORT_MAX 32767 | ||
| 26 | #define UINT16_MAX 65535 | ||
| 27 | #define USHORT_MAX 65535 | ||
| 28 | #define WORD_MAX 65535 | ||
| 29 | #define INT32_MIN (-0x7fffffff - 1) | ||
| 30 | #define INT32_MAX 0x7fffffff | ||
| 31 | #define INT_MIN (-0x7fffffff - 1) | ||
| 32 | #define INT_MAX 0x7fffffff | ||
| 33 | #define UINT32_MAX 0xffffffffu | ||
| 34 | #define UINT_MAX 0xffffffffu | ||
| 35 | #define DWORD_MAX __MSABI_LONG(0xffffffffu) | ||
| 36 | #define INT64_MIN (-0x7fffffffffffffff - 1) | ||
| 37 | #define INT64_MAX 0x7fffffffffffffff | ||
| 38 | #define LONGLONG_MIN (-0x7fffffffffffffffll - 1) | ||
| 39 | #define LONG64_MIN (-0x7fffffffffffffffll - 1) | ||
| 40 | #define LONGLONG_MAX 0x7fffffffffffffffll | ||
| 41 | #define LONG64_MAX 0x7fffffffffffffffll | ||
| 42 | #define UINT64_MAX 0xffffffffffffffffu | ||
| 43 | #define ULONGLONG_MAX 0xffffffffffffffffull | ||
| 44 | #define ULONG64_MAX 0xffffffffffffffffull | ||
| 45 | #define DWORDLONG_MAX 0xffffffffffffffffull | ||
| 46 | #define DWORD64_MAX 0xffffffffffffffffull | ||
| 47 | |||
| 48 | #ifdef __LP64__ | ||
| 49 | #define LONG_MIN (-0x7fffffffffffffff - 1) | ||
| 50 | #define LONG_MAX 0x7fffffffffffffff | ||
| 51 | #define ULONG_MAX 0xffffffffffffffffu | ||
| 52 | #else | ||
| 53 | #define LONG_MIN (-0x7fffffffl - 1) | ||
| 54 | #define LONG_MAX 0x7fffffffl | ||
| 55 | #define ULONG_MAX 0xfffffffful | ||
| 56 | #endif | ||
| 57 | |||
| 58 | #ifdef _WIN64 | ||
| 59 | #define PTRDIFF_T_MIN (-0x7fffffffffffffff - 1) | ||
| 60 | #define PTRDIFF_T_MAX 0x7fffffffffffffff | ||
| 61 | #define SIZE_T_MAX 0xffffffffffffffffu | ||
| 62 | #define INT_PTR_MIN (-0x7fffffffffffffffll - 1) | ||
| 63 | #define INT_PTR_MAX 0x7fffffffffffffffll | ||
| 64 | #define UINT_PTR_MAX 0xffffffffffffffffull | ||
| 65 | #define LONG_PTR_MIN (-0x7fffffffffffffffll - 1) | ||
| 66 | #define LONG_PTR_MAX 0x7fffffffffffffffll | ||
| 67 | #define ULONG_PTR_MAX 0xffffffffffffffffull | ||
| 68 | #else | ||
| 69 | #define PTRDIFF_T_MIN (-0x7fffffff - 1) | ||
| 70 | #define PTRDIFF_T_MAX 0x7fffffff | ||
| 71 | #define SIZE_T_MAX 0xffffffffu | ||
| 72 | #define INT_PTR_MIN (-0x7fffffff - 1) | ||
| 73 | #define INT_PTR_MAX 0x7fffffff | ||
| 74 | #define UINT_PTR_MAX 0xffffffffu | ||
| 75 | #define LONG_PTR_MIN (-0x7fffffffl - 1) | ||
| 76 | #define LONG_PTR_MAX 0x7fffffffl | ||
| 77 | #define ULONG_PTR_MAX 0xfffffffful | ||
| 78 | #endif | ||
| 79 | #define SSIZE_T_MIN LONG_PTR_MIN | ||
| 80 | #define SSIZE_T_MAX LONG_PTR_MAX | ||
| 81 | #define _SIZE_T_MAX ULONG_PTR_MAX | ||
| 82 | #define DWORD_PTR_MAX ULONG_PTR_MAX | ||
| 83 | |||
| 17 | #define INTSAFE_E_ARITHMETIC_OVERFLOW ((HRESULT)0x80070216) | 84 | #define INTSAFE_E_ARITHMETIC_OVERFLOW ((HRESULT)0x80070216) |
| 18 | 85 | ||
| 19 | #ifndef S_OK | 86 | #ifndef S_OK |
| ... | @@ -424,7 +491,7 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) | ... | @@ -424,7 +491,7 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) |
| 424 | #define Int8ToULong64 Int8ToULongLong | 491 | #define Int8ToULong64 Int8ToULongLong |
| 425 | #define Int8ToDWord64 Int8ToULongLong | 492 | #define Int8ToDWord64 Int8ToULongLong |
| 426 | #define Int8ToUInt64 Int8ToULongLong | 493 | #define Int8ToUInt64 Int8ToULongLong |
| 427 | #define Int8ToSizeT Int8ToUIntPtr | 494 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(Int8ToSizeT, INT8, size_t) |
| 428 | #define Int8ToSIZET Int8ToULongPtr | 495 | #define Int8ToSIZET Int8ToULongPtr |
| 429 | #define ShortToUInt16 ShortToUShort | 496 | #define ShortToUInt16 ShortToUShort |
| 430 | #define ShortToUInt32 ShortToUInt | 497 | #define ShortToUInt32 ShortToUInt |
| ... | @@ -433,7 +500,7 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) | ... | @@ -433,7 +500,7 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) |
| 433 | #define ShortToULong64 ShortToULongLong | 500 | #define ShortToULong64 ShortToULongLong |
| 434 | #define ShortToDWord64 ShortToULongLong | 501 | #define ShortToDWord64 ShortToULongLong |
| 435 | #define ShortToUInt64 ShortToULongLong | 502 | #define ShortToUInt64 ShortToULongLong |
| 436 | #define ShortToSizeT ShortToUIntPtr | 503 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(ShortToSizeT, SHORT, size_t) |
| 437 | #define ShortToSIZET ShortToULongPtr | 504 | #define ShortToSIZET ShortToULongPtr |
| 438 | #define Int16ToChar ShortToChar | 505 | #define Int16ToChar ShortToChar |
| 439 | #define Int16ToInt8 ShortToInt8 | 506 | #define Int16ToInt8 ShortToInt8 |
| ... | @@ -455,7 +522,7 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) | ... | @@ -455,7 +522,7 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) |
| 455 | #define Int16ToULong64 ShortToULongLong | 522 | #define Int16ToULong64 ShortToULongLong |
| 456 | #define Int16ToDWord64 ShortToULongLong | 523 | #define Int16ToDWord64 ShortToULongLong |
| 457 | #define Int16ToUInt64 ShortToULongLong | 524 | #define Int16ToUInt64 ShortToULongLong |
| 458 | #define Int16ToSizeT ShortToUIntPtr | 525 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(Int16ToSizeT, INT16, size_t) |
| 459 | #define Int16ToSIZET ShortToULongPtr | 526 | #define Int16ToSIZET ShortToULongPtr |
| 460 | #define UShortToInt16 UShortToShort | 527 | #define UShortToInt16 UShortToShort |
| 461 | #define UInt16ToChar UShortToChar | 528 | #define UInt16ToChar UShortToChar |
| ... | @@ -497,7 +564,7 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) | ... | @@ -497,7 +564,7 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) |
| 497 | #define Int32ToULong64 IntToULongLong | 564 | #define Int32ToULong64 IntToULongLong |
| 498 | #define Int32ToDWord64 IntToULongLong | 565 | #define Int32ToDWord64 IntToULongLong |
| 499 | #define Int32ToUInt64 IntToULongLong | 566 | #define Int32ToUInt64 IntToULongLong |
| 500 | #define Int32ToSizeT IntToUIntPtr | 567 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(Int32ToSizeT, INT32, size_t) |
| 501 | #define Int32ToSIZET IntToULongPtr | 568 | #define Int32ToSIZET IntToULongPtr |
| 502 | #define IntPtrToByte IntPtrToUInt8 | 569 | #define IntPtrToByte IntPtrToUInt8 |
| 503 | #define IntPtrToInt16 IntPtrToShort | 570 | #define IntPtrToInt16 IntPtrToShort |
| ... | @@ -535,7 +602,7 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) | ... | @@ -535,7 +602,7 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) |
| 535 | #define UIntPtrToInt32 UIntPtrToInt | 602 | #define UIntPtrToInt32 UIntPtrToInt |
| 536 | #define UIntPtrToUInt32 UIntPtrToUInt | 603 | #define UIntPtrToUInt32 UIntPtrToUInt |
| 537 | #define UIntPtrToLong64 UIntPtrToLongLong | 604 | #define UIntPtrToLong64 UIntPtrToLongLong |
| 538 | #define UIntPtrToPtrdiffT UIntPtrToIntPtr | 605 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(UIntPtrToPtrdiffT, UINT_PTR, ptrdiff_t) |
| 539 | #define LongToInt16 LongToShort | 606 | #define LongToInt16 LongToShort |
| 540 | #define LongToUInt16 LongToUShort | 607 | #define LongToUInt16 LongToUShort |
| 541 | #define LongToInt32 LongToInt | 608 | #define LongToInt32 LongToInt |
| ... | @@ -601,8 +668,8 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) | ... | @@ -601,8 +668,8 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) |
| 601 | #define LongLongToULong64 LongLongToULongLong | 668 | #define LongLongToULong64 LongLongToULongLong |
| 602 | #define LongLongToDWord64 LongLongToULongLong | 669 | #define LongLongToDWord64 LongLongToULongLong |
| 603 | #define LongLongToUInt64 LongLongToULongLong | 670 | #define LongLongToUInt64 LongLongToULongLong |
| 604 | #define LongLongToPtrdiffT LongLongToIntPtr | 671 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(LongLongToPtrdiffT, LONGLONG, ptrdiff_t) |
| 605 | #define LongLongToSizeT LongLongToUIntPtr | 672 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(LongLongToSizeT, LONGLONG, size_t) |
| 606 | #define LongLongToSSIZET LongLongToLongPtr | 673 | #define LongLongToSSIZET LongLongToLongPtr |
| 607 | #define LongLongToSIZET LongLongToULongPtr | 674 | #define LongLongToSIZET LongLongToULongPtr |
| 608 | #define Long64ToChar LongLongToChar | 675 | #define Long64ToChar LongLongToChar |
| ... | @@ -628,8 +695,8 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) | ... | @@ -628,8 +695,8 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) |
| 628 | #define Long64ToDWord LongLongToULong | 695 | #define Long64ToDWord LongLongToULong |
| 629 | #define Long64ToDWordPtr LongLongToULongPtr | 696 | #define Long64ToDWordPtr LongLongToULongPtr |
| 630 | #define Long64ToULongLong LongLongToULongLong | 697 | #define Long64ToULongLong LongLongToULongLong |
| 631 | #define Long64ToPtrdiffT LongLongToIntPtr | 698 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(Long64ToPtrdiffT, LONG64, ptrdiff_t) |
| 632 | #define Long64ToSizeT LongLongToUIntPtr | 699 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(Long64ToSizeT, LONG64, size_t) |
| 633 | #define Long64ToSSIZET LongLongToLongPtr | 700 | #define Long64ToSSIZET LongLongToLongPtr |
| 634 | #define Long64ToSIZET LongLongToULongPtr | 701 | #define Long64ToSIZET LongLongToULongPtr |
| 635 | #define Int64ToChar LongLongToChar | 702 | #define Int64ToChar LongLongToChar |
| ... | @@ -682,8 +749,8 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) | ... | @@ -682,8 +749,8 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) |
| 682 | #define DWordLongToLongLong ULongLongToLongLong | 749 | #define DWordLongToLongLong ULongLongToLongLong |
| 683 | #define DWordLongToLong64 ULongLongToLongLong | 750 | #define DWordLongToLong64 ULongLongToLongLong |
| 684 | #define DWordLongToInt64 ULongLongToLongLong | 751 | #define DWordLongToInt64 ULongLongToLongLong |
| 685 | #define DWordLongToPtrdiffT ULongLongToIntPtr | 752 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(DWordLongToPtrdiffT, DWORDLONG, ptrdiff_t) |
| 686 | #define DWordLongToSizeT ULongLongToUIntPtr | 753 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(DWordLongToSizeT, DWORDLONG, size_t) |
| 687 | #define DWordLongToSSIZET ULongLongToLongPtr | 754 | #define DWordLongToSSIZET ULongLongToLongPtr |
| 688 | #define DWordLongToSIZET ULongLongToULongPtr | 755 | #define DWordLongToSIZET ULongLongToULongPtr |
| 689 | #define ULong64ToChar ULongLongToChar | 756 | #define ULong64ToChar ULongLongToChar |
| ... | @@ -711,8 +778,8 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) | ... | @@ -711,8 +778,8 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) |
| 711 | #define ULong64ToLongLong ULongLongToLongLong | 778 | #define ULong64ToLongLong ULongLongToLongLong |
| 712 | #define ULong64ToLong64 ULongLongToLongLong | 779 | #define ULong64ToLong64 ULongLongToLongLong |
| 713 | #define ULong64ToInt64 ULongLongToLongLong | 780 | #define ULong64ToInt64 ULongLongToLongLong |
| 714 | #define ULong64ToPtrdiffT ULongLongToIntPtr | 781 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(ULong64ToPtrdiffT, ULONG64, ptrdiff_t) |
| 715 | #define ULong64ToSizeT ULongLongToUIntPtr | 782 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(ULong64ToSizeT, ULONG64, size_t) |
| 716 | #define ULong64ToSSIZET ULongLongToLongPtr | 783 | #define ULong64ToSSIZET ULongLongToLongPtr |
| 717 | #define ULong64ToSIZET ULongLongToULongPtr | 784 | #define ULong64ToSIZET ULongLongToULongPtr |
| 718 | #define DWord64ToChar ULongLongToChar | 785 | #define DWord64ToChar ULongLongToChar |
| ... | @@ -740,8 +807,8 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) | ... | @@ -740,8 +807,8 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) |
| 740 | #define DWord64ToLongLong ULongLongToLongLong | 807 | #define DWord64ToLongLong ULongLongToLongLong |
| 741 | #define DWord64ToLong64 ULongLongToLongLong | 808 | #define DWord64ToLong64 ULongLongToLongLong |
| 742 | #define DWord64ToInt64 ULongLongToLongLong | 809 | #define DWord64ToInt64 ULongLongToLongLong |
| 743 | #define DWord64ToPtrdiffT ULongLongToIntPtr | 810 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(DWord64ToPtrdiffT, DWORD64, ptrdiff_t) |
| 744 | #define DWord64ToSizeT ULongLongToUIntPtr | 811 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(DWord64ToSizeT, DWORD64, size_t) |
| 745 | #define DWord64ToSSIZET ULongLongToLongPtr | 812 | #define DWord64ToSSIZET ULongLongToLongPtr |
| 746 | #define DWord64ToSIZET ULongLongToULongPtr | 813 | #define DWord64ToSIZET ULongLongToULongPtr |
| 747 | #define UInt64ToChar ULongLongToChar | 814 | #define UInt64ToChar ULongLongToChar |
| ... | @@ -769,42 +836,42 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) | ... | @@ -769,42 +836,42 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) |
| 769 | #define UInt64ToLongLong ULongLongToLongLong | 836 | #define UInt64ToLongLong ULongLongToLongLong |
| 770 | #define UInt64ToLong64 ULongLongToLongLong | 837 | #define UInt64ToLong64 ULongLongToLongLong |
| 771 | #define UInt64ToInt64 ULongLongToLongLong | 838 | #define UInt64ToInt64 ULongLongToLongLong |
| 772 | #define UInt64ToPtrdiffT ULongLongToIntPtr | 839 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(UInt64ToPtrdiffT, UINT64, ptrdiff_t) |
| 773 | #define UInt64ToSizeT ULongLongToUIntPtr | 840 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(UInt64ToSizeT, UINT64, size_t) |
| 774 | #define UInt64ToSSIZET ULongLongToLongPtr | 841 | #define UInt64ToSSIZET ULongLongToLongPtr |
| 775 | #define UInt64ToSIZET ULongLongToULongPtr | 842 | #define UInt64ToSIZET ULongLongToULongPtr |
| 776 | #define PtrdiffTToChar IntPtrToChar | 843 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV_CHAR(PtrdiffTToChar, ptrdiff_t, CHAR) |
| 777 | #define PtrdiffTToInt8 IntPtrToInt8 | 844 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV_UCHAR(PtrdiffTToUChar, ptrdiff_t, UCHAR) |
| 778 | #define PtrdiffTToUChar IntPtrToUChar | 845 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(PtrdiffTToInt8, ptrdiff_t, INT8) |
| 779 | #define PtrdiffTToUInt8 IntPtrToUInt8 | 846 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(PtrdiffTToUInt8, ptrdiff_t, UINT8) |
| 780 | #define PtrdiffTToByte IntPtrToUInt8 | 847 | #define PtrdiffTToByte PtrdiffTToUInt8 |
| 781 | #define PtrdiffTToShort IntPtrToShort | 848 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(PtrdiffTToInt16, ptrdiff_t, INT16) |
| 782 | #define PtrdiffTToInt16 IntPtrToShort | 849 | #define PtrdiffTToShort PtrdiffTToInt16 |
| 783 | #define PtrdiffTToUShort IntPtrToUShort | 850 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(PtrdiffTToUInt16, ptrdiff_t, UINT16) |
| 784 | #define PtrdiffTToUInt16 IntPtrToUShort | 851 | #define PtrdiffTToUShort PtrdiffTToUInt16 |
| 785 | #define PtrdiffTToWord IntPtrToUShort | 852 | #define PtrdiffTToWord PtrdiffTToUInt16 |
| 786 | #define PtrdiffTToInt32 IntPtrToInt | 853 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(PtrdiffTToInt32, ptrdiff_t, INT32) |
| 787 | #define PtrdiffTToUInt32 IntPtrToUInt | 854 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(PtrdiffTToUInt32, ptrdiff_t, UINT32) |
| 788 | #define PtrdiffTToLongPtr IntPtrToLongPtr | 855 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(PtrdiffTToLongPtr, ptrdiff_t, LONG_PTR) |
| 789 | #define PtrdiffTToULongLong IntPtrToULongLong | 856 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(PtrdiffTToULongLong, ptrdiff_t, ULONGLONG) |
| 790 | #define PtrdiffTToDWordLong IntPtrToULongLong | 857 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(PtrdiffTToDWordLong, ptrdiff_t, DWORDLONG) |
| 791 | #define PtrdiffTToULong64 IntPtrToULongLong | 858 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(PtrdiffTToULong64, ptrdiff_t, ULONG64) |
| 792 | #define PtrdiffTToDWord64 IntPtrToULongLong | 859 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(PtrdiffTToDWord64, ptrdiff_t, DWORD64) |
| 793 | #define PtrdiffTToUInt64 IntPtrToULongLong | 860 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(PtrdiffTToUInt64, ptrdiff_t, UINT64) |
| 794 | #define PtrdiffTToSIZET IntPtrToULongPtr | 861 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(PtrdiffTToSIZET, ptrdiff_t, SIZE_T) |
| 795 | #define SizeTToInt8 UIntPtrToInt8 | 862 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV_CHAR(SizeTToChar, size_t, CHAR) |
| 796 | #define SizeTToUChar UIntPtrToUChar | 863 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV_UCHAR(SizeTToUChar, size_t, UCHAR) |
| 797 | #define SizeTToChar UIntPtrToChar | 864 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(SizeTToInt8, size_t, INT8) |
| 798 | #define SizeTToUInt8 UIntPtrToUInt8 | 865 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(SizeTToUInt8, size_t, UINT8) |
| 799 | #define SizeTToByte UIntPtrToUInt8 | 866 | #define SizeTToByte SizeTToUInt8 |
| 800 | #define SizeTToShort UIntPtrToShort | 867 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(SizeTToInt16, size_t, INT16) |
| 801 | #define SizeTToInt16 UIntPtrToShort | 868 | #define SizeTToShort SizeTToInt16 |
| 802 | #define SizeTToUShort UIntPtrToUShort | 869 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(SizeTToUInt16, size_t, UINT16) |
| 803 | #define SizeTToUInt16 UIntPtrToUShort | 870 | #define SizeTToUShort SizeTToUInt16 |
| 804 | #define SizeTToWord UIntPtrToUShort | 871 | #define SizeTToWord SizeTToUInt16 |
| 805 | #define SizeTToInt32 UIntPtrToInt | 872 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(SizeTToInt32, size_t, INT32) |
| 806 | #define SizeTToLongLong UIntPtrToLongLong | 873 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(SizeTToLongLong, size_t, LONGLONG) |
| 807 | #define SizeTToLong64 UIntPtrToLongLong | 874 | #define SizeTToLong64 SizeTToLongLong |
| 808 | #define SSIZETToInt8 LongPtrToInt8 | 875 | #define SSIZETToInt8 LongPtrToInt8 |
| 809 | #define SSIZETToUChar LongPtrToUChar | 876 | #define SSIZETToUChar LongPtrToUChar |
| 810 | #define SSIZETToChar LongPtrToChar | 877 | #define SSIZETToChar LongPtrToChar |
| ... | @@ -846,7 +913,7 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) | ... | @@ -846,7 +913,7 @@ __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(LongLongMult, LONGLONG, mul) |
| 846 | #define SIZETToLongLong ULongPtrToLongLong | 913 | #define SIZETToLongLong ULongPtrToLongLong |
| 847 | #define SIZETToLong64 ULongPtrToLongLong | 914 | #define SIZETToLong64 ULongPtrToLongLong |
| 848 | #define SIZETToInt64 ULongPtrToLongLong | 915 | #define SIZETToInt64 ULongPtrToLongLong |
| 849 | #define SIZETToPtrdiffT ULongPtrToIntPtr | 916 | __MINGW_INTSAFE_API __MINGW_INTSAFE_CONV(SIZETToPtrdiffT, SIZE_T, ptrdiff_t) |
| 850 | #define SIZETToSSIZET ULongPtrToLongPtr | 917 | #define SIZETToSSIZET ULongPtrToLongPtr |
| 851 | 918 | ||
| 852 | #define UInt16Add UShortAdd | 919 | #define UInt16Add UShortAdd |
lib/libc/include/any-windows-any/io.h+23-51| ... | @@ -76,6 +76,11 @@ _CRTIMP char* __cdecl _getcwd (char*, int); | ... | @@ -76,6 +76,11 @@ _CRTIMP char* __cdecl _getcwd (char*, int); |
| 76 | char name[260]; | 76 | char name[260]; |
| 77 | }; | 77 | }; |
| 78 | 78 | ||
| 79 | /* | ||
| 80 | * To prevent ABI issues, the mingw-w64 runtime should not call these | ||
| 81 | * functions. Instead it should call the fixed-size variants. | ||
| 82 | */ | ||
| 83 | #ifndef _CRTBLD | ||
| 79 | #ifdef _USE_32BIT_TIME_T | 84 | #ifdef _USE_32BIT_TIME_T |
| 80 | #define _finddata_t _finddata32_t | 85 | #define _finddata_t _finddata32_t |
| 81 | #define _finddatai64_t _finddata32i64_t | 86 | #define _finddatai64_t _finddata32i64_t |
| ... | @@ -93,6 +98,7 @@ _CRTIMP char* __cdecl _getcwd (char*, int); | ... | @@ -93,6 +98,7 @@ _CRTIMP char* __cdecl _getcwd (char*, int); |
| 93 | #define _findfirsti64 _findfirst64 | 98 | #define _findfirsti64 _findfirst64 |
| 94 | #define _findnexti64 _findnext64 | 99 | #define _findnexti64 _findnext64 |
| 95 | #endif /* _USE_32BIT_TIME_T */ | 100 | #endif /* _USE_32BIT_TIME_T */ |
| 101 | #endif /* _CRTBLD */ | ||
| 96 | 102 | ||
| 97 | #define _FINDDATA_T_DEFINED | 103 | #define _FINDDATA_T_DEFINED |
| 98 | #endif /* _FINDDATA_T_DEFINED */ | 104 | #endif /* _FINDDATA_T_DEFINED */ |
| ... | @@ -135,14 +141,19 @@ _CRTIMP char* __cdecl _getcwd (char*, int); | ... | @@ -135,14 +141,19 @@ _CRTIMP char* __cdecl _getcwd (char*, int); |
| 135 | wchar_t name[260]; | 141 | wchar_t name[260]; |
| 136 | }; | 142 | }; |
| 137 | 143 | ||
| 144 | /* | ||
| 145 | * To prevent ABI issues, the mingw-w64 runtime should not call these | ||
| 146 | * functions. Instead it should call the fixed-size variants. | ||
| 147 | */ | ||
| 148 | #ifndef _CRTBLD | ||
| 138 | #ifdef _USE_32BIT_TIME_T | 149 | #ifdef _USE_32BIT_TIME_T |
| 139 | #define _wfinddata_t _wfinddata32_t | 150 | #define _wfinddata_t _wfinddata32_t |
| 140 | #define _wfinddatai64_t _wfinddata32i64_t | 151 | #define _wfinddatai64_t _wfinddata32i64_t |
| 141 | 152 | ||
| 142 | #define _wfindfirst _wfindfirst32 | 153 | #define _wfindfirst _wfindfirst32 |
| 143 | #define _wfindnext _wfindnext32 | 154 | #define _wfindnext _wfindnext32 |
| 144 | #define _wfindfirst32i64 _wfindfirsti64 | 155 | #define _wfindfirsti64 _wfindfirst32i64 |
| 145 | #define _wfindnext32i64 _wfindnexti64 | 156 | #define _wfindnexti64 _wfindnext32i64 |
| 146 | #else | 157 | #else |
| 147 | #define _wfinddata_t _wfinddata64i32_t | 158 | #define _wfinddata_t _wfinddata64i32_t |
| 148 | #define _wfinddatai64_t _wfinddata64_t | 159 | #define _wfinddatai64_t _wfinddata64_t |
| ... | @@ -152,6 +163,7 @@ _CRTIMP char* __cdecl _getcwd (char*, int); | ... | @@ -152,6 +163,7 @@ _CRTIMP char* __cdecl _getcwd (char*, int); |
| 152 | #define _wfindfirsti64 _wfindfirst64 | 163 | #define _wfindfirsti64 _wfindfirst64 |
| 153 | #define _wfindnexti64 _wfindnext64 | 164 | #define _wfindnexti64 _wfindnext64 |
| 154 | #endif /* _USE_32BIT_TIME_T */ | 165 | #endif /* _USE_32BIT_TIME_T */ |
| 166 | #endif /* _CRTBLD */ | ||
| 155 | 167 | ||
| 156 | #define _WFINDDATA_T_DEFINED | 168 | #define _WFINDDATA_T_DEFINED |
| 157 | #endif /* _WFINDDATA_T_DEFINED */ | 169 | #endif /* _WFINDDATA_T_DEFINED */ |
| ... | @@ -237,49 +249,10 @@ _CRTIMP char* __cdecl _getcwd (char*, int); | ... | @@ -237,49 +249,10 @@ _CRTIMP char* __cdecl _getcwd (char*, int); |
| 237 | __MINGW_EXTENSION _CRTIMP __int64 __cdecl _filelengthi64(int _FileHandle); | 249 | __MINGW_EXTENSION _CRTIMP __int64 __cdecl _filelengthi64(int _FileHandle); |
| 238 | _CRTIMP intptr_t __cdecl _findfirst32i64(const char *_Filename,struct _finddata32i64_t *_FindData); | 250 | _CRTIMP intptr_t __cdecl _findfirst32i64(const char *_Filename,struct _finddata32i64_t *_FindData); |
| 239 | _CRTIMP intptr_t __cdecl _findfirst64(const char *_Filename,struct __finddata64_t *_FindData); | 251 | _CRTIMP intptr_t __cdecl _findfirst64(const char *_Filename,struct __finddata64_t *_FindData); |
| 240 | #ifdef __cplusplus | 252 | _CRTIMP intptr_t __cdecl _findfirst64i32(const char *_Filename,struct _finddata64i32_t *_FindData); |
| 241 | #include <string.h> | ||
| 242 | #endif | ||
| 243 | intptr_t __cdecl _findfirst64i32(const char *_Filename,struct _finddata64i32_t *_FindData); | ||
| 244 | #ifndef __CRT__NO_INLINE | ||
| 245 | __CRT_INLINE intptr_t __cdecl _findfirst64i32(const char *_Filename,struct _finddata64i32_t *_FindData) | ||
| 246 | { | ||
| 247 | struct __finddata64_t fd; | ||
| 248 | intptr_t ret = _findfirst64(_Filename,&fd); | ||
| 249 | if (ret == -1) { | ||
| 250 | memset(_FindData,0,sizeof(struct _finddata64i32_t)); | ||
| 251 | return -1; | ||
| 252 | } | ||
| 253 | _FindData->attrib=fd.attrib; | ||
| 254 | _FindData->time_create=fd.time_create; | ||
| 255 | _FindData->time_access=fd.time_access; | ||
| 256 | _FindData->time_write=fd.time_write; | ||
| 257 | _FindData->size=(_fsize_t) fd.size; | ||
| 258 | strncpy(_FindData->name,fd.name,260); | ||
| 259 | return ret; | ||
| 260 | } | ||
| 261 | #endif /* __CRT__NO_INLINE */ | ||
| 262 | _CRTIMP int __cdecl _findnext32i64(intptr_t _FindHandle,struct _finddata32i64_t *_FindData); | 253 | _CRTIMP int __cdecl _findnext32i64(intptr_t _FindHandle,struct _finddata32i64_t *_FindData); |
| 263 | _CRTIMP int __cdecl _findnext64(intptr_t _FindHandle,struct __finddata64_t *_FindData); | 254 | _CRTIMP int __cdecl _findnext64(intptr_t _FindHandle,struct __finddata64_t *_FindData); |
| 264 | int __cdecl _findnext64i32(intptr_t _FindHandle,struct _finddata64i32_t *_FindData); | 255 | _CRTIMP int __cdecl _findnext64i32(intptr_t _FindHandle,struct _finddata64i32_t *_FindData); |
| 265 | #ifndef __CRT__NO_INLINE | ||
| 266 | __CRT_INLINE int __cdecl _findnext64i32(intptr_t _FindHandle,struct _finddata64i32_t *_FindData) | ||
| 267 | { | ||
| 268 | struct __finddata64_t fd; | ||
| 269 | int __ret = _findnext64(_FindHandle,&fd); | ||
| 270 | if (__ret == -1) { | ||
| 271 | memset(_FindData,0,sizeof(struct _finddata64i32_t)); | ||
| 272 | return -1; | ||
| 273 | } | ||
| 274 | _FindData->attrib=fd.attrib; | ||
| 275 | _FindData->time_create=fd.time_create; | ||
| 276 | _FindData->time_access=fd.time_access; | ||
| 277 | _FindData->time_write=fd.time_write; | ||
| 278 | _FindData->size=(_fsize_t) fd.size; | ||
| 279 | strncpy(_FindData->name,fd.name,260); | ||
| 280 | return __ret; | ||
| 281 | } | ||
| 282 | #endif /* __CRT__NO_INLINE */ | ||
| 283 | __MINGW_EXTENSION __int64 __cdecl _lseeki64(int _FileHandle,__int64 _Offset,int _Origin); | 256 | __MINGW_EXTENSION __int64 __cdecl _lseeki64(int _FileHandle,__int64 _Offset,int _Origin); |
| 284 | __MINGW_EXTENSION __int64 __cdecl _telli64(int _FileHandle); | 257 | __MINGW_EXTENSION __int64 __cdecl _telli64(int _FileHandle); |
| 285 | 258 | ||
| ... | @@ -344,15 +317,21 @@ _CRTIMP char* __cdecl _getcwd (char*, int); | ... | @@ -344,15 +317,21 @@ _CRTIMP char* __cdecl _getcwd (char*, int); |
| 344 | int __cdecl chsize(int _FileHandle,long _Size) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 317 | int __cdecl chsize(int _FileHandle,long _Size) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 345 | int __cdecl close(int _FileHandle) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 318 | int __cdecl close(int _FileHandle) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 346 | int __cdecl creat(const char *_Filename,int _PermissionMode) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 319 | int __cdecl creat(const char *_Filename,int _PermissionMode) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 320 | int __cdecl creat64(const char *_Filename,int _PermissionMode); | ||
| 347 | int __cdecl dup(int _FileHandle) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 321 | int __cdecl dup(int _FileHandle) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 348 | int __cdecl dup2(int _FileHandleSrc,int _FileHandleDst) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 322 | int __cdecl dup2(int _FileHandleSrc,int _FileHandleDst) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 349 | int __cdecl eof(int _FileHandle) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 323 | int __cdecl eof(int _FileHandle) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 350 | long __cdecl filelength(int _FileHandle) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 324 | long __cdecl filelength(int _FileHandle) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 351 | int __cdecl isatty(int _FileHandle) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 325 | int __cdecl isatty(int _FileHandle) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 352 | int __cdecl locking(int _FileHandle,int _LockMode,long _NumOfBytes) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 326 | int __cdecl locking(int _FileHandle,int _LockMode,long _NumOfBytes) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 353 | long __cdecl lseek(int _FileHandle,long _Offset,int _Origin) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 327 | off_t __cdecl lseek(int _FileHandle,off_t _Offset,int _Origin) |
| 328 | #if (defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)) | ||
| 329 | __MINGW_ASM_CALL(lseek64) | ||
| 330 | #endif | ||
| 331 | __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 354 | char *__cdecl mktemp(char *_TemplateName) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 332 | char *__cdecl mktemp(char *_TemplateName) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 355 | int __cdecl open(const char *_Filename,int _OpenFlag,...) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 333 | int __cdecl open(const char *_Filename,int _OpenFlag,...) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 334 | int __cdecl open64(const char *_Filename,int _OpenFlag,...); | ||
| 356 | int __cdecl read(int _FileHandle,void *_DstBuf,unsigned int _MaxCharCount) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 335 | int __cdecl read(int _FileHandle,void *_DstBuf,unsigned int _MaxCharCount) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 357 | int __cdecl setmode(int _FileHandle,int _Mode) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 336 | int __cdecl setmode(int _FileHandle,int _Mode) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 358 | int __cdecl sopen(const char *_Filename,int _OpenFlag,int _ShareFlag,...) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 337 | int __cdecl sopen(const char *_Filename,int _OpenFlag,int _ShareFlag,...) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| ... | @@ -361,13 +340,6 @@ _CRTIMP char* __cdecl _getcwd (char*, int); | ... | @@ -361,13 +340,6 @@ _CRTIMP char* __cdecl _getcwd (char*, int); |
| 361 | int __cdecl write(int _Filehandle,const void *_Buf,unsigned int _MaxCharCount) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 340 | int __cdecl write(int _Filehandle,const void *_Buf,unsigned int _MaxCharCount) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 362 | #endif | 341 | #endif |
| 363 | 342 | ||
| 364 | #ifndef _FILE_OFFSET_BITS_SET_LSEEK | ||
| 365 | #define _FILE_OFFSET_BITS_SET_LSEEK | ||
| 366 | #if (defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)) | ||
| 367 | #define lseek lseek64 | ||
| 368 | #endif /* (defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)) */ | ||
| 369 | #endif /* _FILE_OFFSET_BITS_SET_LSEEK */ | ||
| 370 | |||
| 371 | #ifdef _POSIX | 343 | #ifdef _POSIX |
| 372 | 344 | ||
| 373 | /* Misc stuff */ | 345 | /* Misc stuff */ |
lib/libc/include/any-windows-any/iwscapi.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/iwscapi.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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+11-5| ... | @@ -86,18 +86,24 @@ extern "C" { | ... | @@ -86,18 +86,24 @@ extern "C" { |
| 86 | 86 | ||
| 87 | #endif | 87 | #endif |
| 88 | 88 | ||
| 89 | int __cdecl _configthreadlocale(int _Flag); | 89 | _CRTIMP int __cdecl _configthreadlocale(int _Flag); |
| 90 | char *__cdecl setlocale(int _Category,const char *_Locale); | 90 | _CRTIMP char *__cdecl setlocale(int _Category,const char *_Locale); |
| 91 | _CRTIMP struct lconv *__cdecl localeconv(void); | 91 | _CRTIMP struct lconv *__cdecl localeconv(void); |
| 92 | _CRTIMP _locale_t __cdecl _get_current_locale(void); | 92 | _CRTIMP _locale_t __cdecl _get_current_locale(void); |
| 93 | _CRTIMP _locale_t __cdecl _create_locale(int _Category,const char *_Locale); | 93 | _CRTIMP _locale_t __cdecl _create_locale(int _Category,const char *_Locale); |
| 94 | _CRTIMP void __cdecl _free_locale(_locale_t _Locale); | 94 | _CRTIMP void __cdecl _free_locale(_locale_t _Locale); |
| 95 | _locale_t __cdecl __get_current_locale(void); | 95 | _CRTIMP _locale_t __cdecl __get_current_locale(void); |
| 96 | _locale_t __cdecl __create_locale(int _Category,const char *_Locale); | 96 | _CRTIMP _locale_t __cdecl __create_locale(int _Category,const char *_Locale); |
| 97 | void __cdecl __free_locale(_locale_t _Locale); | 97 | _CRTIMP void __cdecl __free_locale(_locale_t _Locale); |
| 98 | 98 | ||
| 99 | _CRTIMP unsigned int __cdecl ___lc_codepage_func(void); | 99 | _CRTIMP unsigned int __cdecl ___lc_codepage_func(void); |
| 100 | 100 | ||
| 101 | /* Get the code page that the CRT currently uses for filenames. */ | ||
| 102 | unsigned int __cdecl __mingw_filename_cp(void); | ||
| 103 | |||
| 104 | /* Variant of _isleadbyte_l() function which takes codepage (instead of locale_t). */ | ||
| 105 | int __cdecl __mingw_isleadbyte_cp(int c, unsigned int cp); | ||
| 106 | |||
| 101 | #ifndef _WLOCALE_DEFINED | 107 | #ifndef _WLOCALE_DEFINED |
| 102 | #define _WLOCALE_DEFINED | 108 | #define _WLOCALE_DEFINED |
| 103 | _CRTIMP wchar_t *__cdecl _wsetlocale(int _Category,const wchar_t *_Locale); | 109 | _CRTIMP wchar_t *__cdecl _wsetlocale(int _Category,const wchar_t *_Locale); |
lib/libc/include/any-windows-any/locationapi.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/locationapi.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/math.h+55-6| ... | @@ -168,6 +168,17 @@ extern "C" { | ... | @@ -168,6 +168,17 @@ extern "C" { |
| 168 | #define __setusermatherr __mingw_setusermatherr | 168 | #define __setusermatherr __mingw_setusermatherr |
| 169 | #endif | 169 | #endif |
| 170 | 170 | ||
| 171 | #define MATH_ERRNO 1 | ||
| 172 | #define MATH_ERREXCEPT 2 | ||
| 173 | |||
| 174 | #if defined __FAST_MATH__ /* no error handling. */ | ||
| 175 | # define math_errhandling 0 | ||
| 176 | #elif defined __NO_MATH_ERRNO__ /* errno is not used; only exceptions. */ | ||
| 177 | # define math_errhandling MATH_ERREXCEPT | ||
| 178 | #else | ||
| 179 | # define math_errhandling (MATH_ERRNO | MATH_ERREXCEPT) | ||
| 180 | #endif | ||
| 181 | |||
| 171 | double __cdecl sin(double _X); | 182 | double __cdecl sin(double _X); |
| 172 | double __cdecl cos(double _X); | 183 | double __cdecl cos(double _X); |
| 173 | double __cdecl tan(double _X); | 184 | double __cdecl tan(double _X); |
| ... | @@ -484,13 +495,13 @@ __fin))) | ... | @@ -484,13 +495,13 @@ __fin))) |
| 484 | #define fpclassify(x) \ | 495 | #define fpclassify(x) \ |
| 485 | __mingw_choose_expr ( \ | 496 | __mingw_choose_expr ( \ |
| 486 | __mingw_types_compatible_p (__typeof__ (x), double), \ | 497 | __mingw_types_compatible_p (__typeof__ (x), double), \ |
| 487 | __fpclassify(x), \ | 498 | __fpclassify((double)(x)), \ |
| 488 | __mingw_choose_expr ( \ | 499 | __mingw_choose_expr ( \ |
| 489 | __mingw_types_compatible_p (__typeof__ (x), float), \ | 500 | __mingw_types_compatible_p (__typeof__ (x), float), \ |
| 490 | __fpclassifyf(x), \ | 501 | __fpclassifyf((float)(x)), \ |
| 491 | __mingw_choose_expr ( \ | 502 | __mingw_choose_expr ( \ |
| 492 | __mingw_types_compatible_p (__typeof__ (x), long double), \ | 503 | __mingw_types_compatible_p (__typeof__ (x), long double), \ |
| 493 | __fpclassifyl(x), \ | 504 | __fpclassifyl((long double)(x)), \ |
| 494 | __dfp_expansion(__fpclassify,(__builtin_trap(),0),x)))) | 505 | __dfp_expansion(__fpclassify,(__builtin_trap(),0),x)))) |
| 495 | 506 | ||
| 496 | 507 | ||
| ... | @@ -687,6 +698,44 @@ __mingw_choose_expr ( \ | ... | @@ -687,6 +698,44 @@ __mingw_choose_expr ( \ |
| 687 | #endif | 698 | #endif |
| 688 | extern long double __cdecl tanhl(long double); | 699 | extern long double __cdecl tanhl(long double); |
| 689 | 700 | ||
| 701 | #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) \ | ||
| 702 | || defined(_CRTBLD) | ||
| 703 | /* 7.12.4.8 */ | ||
| 704 | double __cdecl acospi(double _X); | ||
| 705 | float __cdecl acospif(float _X); | ||
| 706 | long double __cdecl acospil(long double _X); | ||
| 707 | |||
| 708 | /* 7.12.4.9 */ | ||
| 709 | double __cdecl asinpi(double _X); | ||
| 710 | float __cdecl asinpif(float _X); | ||
| 711 | long double __cdecl asinpil(long double _X); | ||
| 712 | |||
| 713 | /* 7.12.4.10 */ | ||
| 714 | double __cdecl atanpi(double _X); | ||
| 715 | float __cdecl atanpif(float _X); | ||
| 716 | long double __cdecl atanpil(long double _X); | ||
| 717 | |||
| 718 | /* 7.12.4.11 */ | ||
| 719 | double __cdecl atan2pi(double _Y, double _X); | ||
| 720 | float __cdecl atan2pif(float _Y, float _X); | ||
| 721 | long double __cdecl atan2pil(long double _Y, long double _X); | ||
| 722 | |||
| 723 | /* 7.12.4.12 */ | ||
| 724 | double __cdecl cospi(double _X); | ||
| 725 | float __cdecl cospif(float _X); | ||
| 726 | long double __cdecl cospil(long double _X); | ||
| 727 | |||
| 728 | /* 7.12.4.13 */ | ||
| 729 | double __cdecl sinpi(double _X); | ||
| 730 | float __cdecl sinpif(float _X); | ||
| 731 | long double __cdecl sinpil(long double _X); | ||
| 732 | |||
| 733 | /* 7.12.4.14 */ | ||
| 734 | double __cdecl tanpi(double _X); | ||
| 735 | float __cdecl tanpif(float _X); | ||
| 736 | long double __cdecl tanpil(long double _X); | ||
| 737 | #endif | ||
| 738 | |||
| 690 | /* Inverse hyperbolic trig functions */ | 739 | /* Inverse hyperbolic trig functions */ |
| 691 | /* 7.12.5.1 */ | 740 | /* 7.12.5.1 */ |
| 692 | extern double __cdecl acosh (double); | 741 | extern double __cdecl acosh (double); |
| ... | @@ -1154,9 +1203,9 @@ _Decimal128 __cdecl atand128(_Decimal128 _X); | ... | @@ -1154,9 +1203,9 @@ _Decimal128 __cdecl atand128(_Decimal128 _X); |
| 1154 | _Decimal32 __cdecl atand32(_Decimal32 _X); | 1203 | _Decimal32 __cdecl atand32(_Decimal32 _X); |
| 1155 | 1204 | ||
| 1156 | /* http://h21007.www2.hp.com/portal/download/files/unprot/fp/manpages/atan2d64.3m.htm */ | 1205 | /* http://h21007.www2.hp.com/portal/download/files/unprot/fp/manpages/atan2d64.3m.htm */ |
| 1157 | _Decimal64 __cdecl atan2d64(_Decimal64 _X, _Decimal64 _Y); | 1206 | _Decimal64 __cdecl atan2d64(_Decimal64 _Y, _Decimal64 _X); |
| 1158 | _Decimal128 __cdecl atan2d128(_Decimal128 _X, _Decimal128 _Y); | 1207 | _Decimal128 __cdecl atan2d128(_Decimal128 _Y, _Decimal128 _X); |
| 1159 | _Decimal32 __cdecl atan2d32(_Decimal32 _X, _Decimal32 _Y); | 1208 | _Decimal32 __cdecl atan2d32(_Decimal32 _Y, _Decimal32 _X); |
| 1160 | 1209 | ||
| 1161 | /*** hyperbolics ***/ | 1210 | /*** hyperbolics ***/ |
| 1162 | /* http://h21007.www2.hp.com/portal/download/files/unprot/fp/manpages/coshd64.3m.htm */ | 1211 | /* http://h21007.www2.hp.com/portal/download/files/unprot/fp/manpages/coshd64.3m.htm */ |
lib/libc/include/any-windows-any/mbctype.h+11-7| ... | @@ -23,12 +23,6 @@ extern "C" { | ... | @@ -23,12 +23,6 @@ extern "C" { |
| 23 | #define _mbcasemap (__p__mbcasemap()) | 23 | #define _mbcasemap (__p__mbcasemap()) |
| 24 | #endif | 24 | #endif |
| 25 | 25 | ||
| 26 | extern pthreadmbcinfo __ptmbcinfo; | ||
| 27 | extern int __globallocalestatus; | ||
| 28 | extern int __locale_changed; | ||
| 29 | extern struct threadmbcinfostruct __initialmbcinfo; | ||
| 30 | pthreadmbcinfo __cdecl __updatetmbcinfo(void); | ||
| 31 | |||
| 32 | #define _MS 0x01 | 26 | #define _MS 0x01 |
| 33 | #define _MP 0x02 | 27 | #define _MP 0x02 |
| 34 | #define _M1 0x04 | 28 | #define _M1 0x04 |
| ... | @@ -48,22 +42,32 @@ extern "C" { | ... | @@ -48,22 +42,32 @@ extern "C" { |
| 48 | #define _MB_CP_OEM -2 | 42 | #define _MB_CP_OEM -2 |
| 49 | #define _MB_CP_ANSI -3 | 43 | #define _MB_CP_ANSI -3 |
| 50 | #define _MB_CP_LOCALE -4 | 44 | #define _MB_CP_LOCALE -4 |
| 45 | #ifdef _UCRT | ||
| 46 | #define _MB_CP_UTF8 65001 | ||
| 47 | #endif | ||
| 51 | 48 | ||
| 52 | #ifndef _MBCTYPE_DEFINED | 49 | #ifndef _MBCTYPE_DEFINED |
| 53 | #define _MBCTYPE_DEFINED | 50 | #define _MBCTYPE_DEFINED |
| 54 | 51 | #if __MSVCRT_VERSION__ >= 0x0200 | |
| 55 | _CRTIMP int __cdecl _setmbcp(int _CodePage); | 52 | _CRTIMP int __cdecl _setmbcp(int _CodePage); |
| 56 | _CRTIMP int __cdecl _getmbcp(void); | 53 | _CRTIMP int __cdecl _getmbcp(void); |
| 54 | #endif | ||
| 57 | _CRTIMP int __cdecl _ismbbkalnum(unsigned int _C); | 55 | _CRTIMP int __cdecl _ismbbkalnum(unsigned int _C); |
| 58 | _CRTIMP int __cdecl _ismbbkalnum_l(unsigned int _C,_locale_t _Locale); | 56 | _CRTIMP int __cdecl _ismbbkalnum_l(unsigned int _C,_locale_t _Locale); |
| 59 | _CRTIMP int __cdecl _ismbbkana(unsigned int _C); | 57 | _CRTIMP int __cdecl _ismbbkana(unsigned int _C); |
| 60 | _CRTIMP int __cdecl _ismbbkana_l(unsigned int _C,_locale_t _Locale); | 58 | _CRTIMP int __cdecl _ismbbkana_l(unsigned int _C,_locale_t _Locale); |
| 61 | _CRTIMP int __cdecl _ismbbkpunct(unsigned int _C); | 59 | _CRTIMP int __cdecl _ismbbkpunct(unsigned int _C); |
| 62 | _CRTIMP int __cdecl _ismbbkpunct_l(unsigned int _C,_locale_t _Locale); | 60 | _CRTIMP int __cdecl _ismbbkpunct_l(unsigned int _C,_locale_t _Locale); |
| 61 | #if __MSVCRT_VERSION__ >= 0x0200 | ||
| 63 | _CRTIMP int __cdecl _ismbbkprint(unsigned int _C); | 62 | _CRTIMP int __cdecl _ismbbkprint(unsigned int _C); |
| 64 | _CRTIMP int __cdecl _ismbbkprint_l(unsigned int _C,_locale_t _Locale); | 63 | _CRTIMP int __cdecl _ismbbkprint_l(unsigned int _C,_locale_t _Locale); |
| 64 | #endif | ||
| 65 | _CRTIMP int __cdecl _ismbbalpha(unsigned int _C); | 65 | _CRTIMP int __cdecl _ismbbalpha(unsigned int _C); |
| 66 | _CRTIMP int __cdecl _ismbbalpha_l(unsigned int _C,_locale_t _Locale); | 66 | _CRTIMP int __cdecl _ismbbalpha_l(unsigned int _C,_locale_t _Locale); |
| 67 | #if __MSVCRT_VERSION__ >= 0x0C00 | ||
| 68 | _CRTIMP int __cdecl _ismbbblank(unsigned int _C); | ||
| 69 | _CRTIMP int __cdecl _ismbbblank_l(unsigned int _C,_locale_t _Locale); | ||
| 70 | #endif | ||
| 67 | _CRTIMP int __cdecl _ismbbpunct(unsigned int _C); | 71 | _CRTIMP int __cdecl _ismbbpunct(unsigned int _C); |
| 68 | _CRTIMP int __cdecl _ismbbpunct_l(unsigned int _C,_locale_t _Locale); | 72 | _CRTIMP int __cdecl _ismbbpunct_l(unsigned int _C,_locale_t _Locale); |
| 69 | _CRTIMP int __cdecl _ismbbalnum(unsigned int _C); | 73 | _CRTIMP int __cdecl _ismbbalnum(unsigned int _C); |
lib/libc/include/any-windows-any/mbstring.h+34-4| ... | @@ -16,6 +16,9 @@ extern "C" { | ... | @@ -16,6 +16,9 @@ extern "C" { |
| 16 | 16 | ||
| 17 | #ifndef _FILE_DEFINED | 17 | #ifndef _FILE_DEFINED |
| 18 | struct _iobuf { | 18 | struct _iobuf { |
| 19 | #ifdef _UCRT | ||
| 20 | void *_Placeholder; | ||
| 21 | #else | ||
| 19 | char *_ptr; | 22 | char *_ptr; |
| 20 | int _cnt; | 23 | int _cnt; |
| 21 | char *_base; | 24 | char *_base; |
| ... | @@ -24,6 +27,7 @@ extern "C" { | ... | @@ -24,6 +27,7 @@ extern "C" { |
| 24 | int _charbuf; | 27 | int _charbuf; |
| 25 | int _bufsiz; | 28 | int _bufsiz; |
| 26 | char *_tmpfname; | 29 | char *_tmpfname; |
| 30 | #endif | ||
| 27 | }; | 31 | }; |
| 28 | typedef struct _iobuf FILE; | 32 | typedef struct _iobuf FILE; |
| 29 | #define _FILE_DEFINED | 33 | #define _FILE_DEFINED |
| ... | @@ -47,46 +51,58 @@ extern "C" { | ... | @@ -47,46 +51,58 @@ extern "C" { |
| 47 | _CRTIMP unsigned int __cdecl _mbctombb_l(unsigned int _Ch,_locale_t _Locale); | 51 | _CRTIMP unsigned int __cdecl _mbctombb_l(unsigned int _Ch,_locale_t _Locale); |
| 48 | _CRTIMP int __cdecl _mbsbtype(const unsigned char *_Str,size_t _Pos); | 52 | _CRTIMP int __cdecl _mbsbtype(const unsigned char *_Str,size_t _Pos); |
| 49 | _CRTIMP int __cdecl _mbsbtype_l(const unsigned char *_Str,size_t _Pos,_locale_t _Locale); | 53 | _CRTIMP int __cdecl _mbsbtype_l(const unsigned char *_Str,size_t _Pos,_locale_t _Locale); |
| 54 | #if __MSVCRT_VERSION__ < 0x0800 | ||
| 50 | _CRTIMP unsigned char *__cdecl _mbscat(unsigned char *_Dest,const unsigned char *_Source); | 55 | _CRTIMP unsigned char *__cdecl _mbscat(unsigned char *_Dest,const unsigned char *_Source); |
| 51 | _CRTIMP unsigned char *_mbscat_l(unsigned char *_Dest,const unsigned char *_Source,_locale_t _Locale); | 56 | #endif |
| 52 | _CRTIMP _CONST_RETURN unsigned char *__cdecl _mbschr(const unsigned char *_Str,unsigned int _Ch); | 57 | _CRTIMP _CONST_RETURN unsigned char *__cdecl _mbschr(const unsigned char *_Str,unsigned int _Ch); |
| 53 | _CRTIMP _CONST_RETURN unsigned char *__cdecl _mbschr_l(const unsigned char *_Str,unsigned int _Ch,_locale_t _Locale); | 58 | _CRTIMP _CONST_RETURN unsigned char *__cdecl _mbschr_l(const unsigned char *_Str,unsigned int _Ch,_locale_t _Locale); |
| 54 | _CRTIMP int __cdecl _mbscmp(const unsigned char *_Str1,const unsigned char *_Str2); | 59 | _CRTIMP int __cdecl _mbscmp(const unsigned char *_Str1,const unsigned char *_Str2); |
| 55 | _CRTIMP int __cdecl _mbscmp_l(const unsigned char *_Str1,const unsigned char *_Str2,_locale_t _Locale); | 60 | _CRTIMP int __cdecl _mbscmp_l(const unsigned char *_Str1,const unsigned char *_Str2,_locale_t _Locale); |
| 61 | #if __MSVCRT_VERSION__ >= 0x0200 | ||
| 56 | _CRTIMP int __cdecl _mbscoll(const unsigned char *_Str1,const unsigned char *_Str2); | 62 | _CRTIMP int __cdecl _mbscoll(const unsigned char *_Str1,const unsigned char *_Str2); |
| 57 | _CRTIMP int __cdecl _mbscoll_l(const unsigned char *_Str1,const unsigned char *_Str2,_locale_t _Locale); | 63 | _CRTIMP int __cdecl _mbscoll_l(const unsigned char *_Str1,const unsigned char *_Str2,_locale_t _Locale); |
| 64 | #endif | ||
| 65 | #if __MSVCRT_VERSION__ < 0x0800 | ||
| 58 | _CRTIMP unsigned char *__cdecl _mbscpy(unsigned char *_Dest,const unsigned char *_Source); | 66 | _CRTIMP unsigned char *__cdecl _mbscpy(unsigned char *_Dest,const unsigned char *_Source); |
| 59 | _CRTIMP unsigned char *_mbscpy_l(unsigned char *_Dest,const unsigned char *_Source,_locale_t _Locale); | 67 | #endif |
| 60 | _CRTIMP size_t __cdecl _mbscspn(const unsigned char *_Str,const unsigned char *_Control); | 68 | _CRTIMP size_t __cdecl _mbscspn(const unsigned char *_Str,const unsigned char *_Control); |
| 61 | _CRTIMP size_t __cdecl _mbscspn_l(const unsigned char *_Str,const unsigned char *_Control,_locale_t _Locale); | 69 | _CRTIMP size_t __cdecl _mbscspn_l(const unsigned char *_Str,const unsigned char *_Control,_locale_t _Locale); |
| 62 | _CRTIMP unsigned char *__cdecl _mbsdec(const unsigned char *_Start,const unsigned char *_Pos); | 70 | _CRTIMP unsigned char *__cdecl _mbsdec(const unsigned char *_Start,const unsigned char *_Pos); |
| 63 | _CRTIMP unsigned char *__cdecl _mbsdec_l(const unsigned char *_Start,const unsigned char *_Pos,_locale_t _Locale); | 71 | _CRTIMP unsigned char *__cdecl _mbsdec_l(const unsigned char *_Start,const unsigned char *_Pos,_locale_t _Locale); |
| 64 | _CRTIMP int __cdecl _mbsicmp(const unsigned char *_Str1,const unsigned char *_Str2); | 72 | _CRTIMP int __cdecl _mbsicmp(const unsigned char *_Str1,const unsigned char *_Str2); |
| 65 | _CRTIMP int __cdecl _mbsicmp_l(const unsigned char *_Str1,const unsigned char *_Str2,_locale_t _Locale); | 73 | _CRTIMP int __cdecl _mbsicmp_l(const unsigned char *_Str1,const unsigned char *_Str2,_locale_t _Locale); |
| 74 | #if __MSVCRT_VERSION__ >= 0x0200 | ||
| 66 | _CRTIMP int __cdecl _mbsicoll(const unsigned char *_Str1,const unsigned char *_Str2); | 75 | _CRTIMP int __cdecl _mbsicoll(const unsigned char *_Str1,const unsigned char *_Str2); |
| 67 | _CRTIMP int __cdecl _mbsicoll_l(const unsigned char *_Str1,const unsigned char *_Str2,_locale_t _Locale); | 76 | _CRTIMP int __cdecl _mbsicoll_l(const unsigned char *_Str1,const unsigned char *_Str2,_locale_t _Locale); |
| 77 | #endif | ||
| 68 | _CRTIMP unsigned char *__cdecl _mbsinc(const unsigned char *_Ptr); | 78 | _CRTIMP unsigned char *__cdecl _mbsinc(const unsigned char *_Ptr); |
| 69 | _CRTIMP unsigned char *__cdecl _mbsinc_l(const unsigned char *_Ptr,_locale_t _Locale); | 79 | _CRTIMP unsigned char *__cdecl _mbsinc_l(const unsigned char *_Ptr,_locale_t _Locale); |
| 70 | _CRTIMP size_t __cdecl _mbslen(const unsigned char *_Str); | 80 | _CRTIMP size_t __cdecl _mbslen(const unsigned char *_Str); |
| 71 | _CRTIMP size_t __cdecl _mbslen_l(const unsigned char *_Str,_locale_t _Locale); | 81 | _CRTIMP size_t __cdecl _mbslen_l(const unsigned char *_Str,_locale_t _Locale); |
| 82 | #if __MSVCRT_VERSION__ >= 0x0800 | ||
| 72 | _CRTIMP size_t __cdecl _mbsnlen(const unsigned char *_Str,size_t _MaxCount); | 83 | _CRTIMP size_t __cdecl _mbsnlen(const unsigned char *_Str,size_t _MaxCount); |
| 73 | _CRTIMP size_t __cdecl _mbsnlen_l(const unsigned char *_Str,size_t _MaxCount,_locale_t _Locale); | 84 | _CRTIMP size_t __cdecl _mbsnlen_l(const unsigned char *_Str,size_t _MaxCount,_locale_t _Locale); |
| 85 | #endif | ||
| 74 | _CRTIMP unsigned char *__cdecl _mbslwr(unsigned char *_String); | 86 | _CRTIMP unsigned char *__cdecl _mbslwr(unsigned char *_String); |
| 75 | _CRTIMP unsigned char *_mbslwr_l(unsigned char *_String,_locale_t _Locale); | 87 | _CRTIMP unsigned char *__cdecl _mbslwr_l(unsigned char *_String,_locale_t _Locale); |
| 76 | _CRTIMP unsigned char *__cdecl _mbsnbcat(unsigned char *_Dest,const unsigned char *_Source,size_t _Count) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 88 | _CRTIMP unsigned char *__cdecl _mbsnbcat(unsigned char *_Dest,const unsigned char *_Source,size_t _Count) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 77 | _CRTIMP unsigned char *__cdecl _mbsnbcat_l(unsigned char *_Dest,const unsigned char *_Source,size_t _Count,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 89 | _CRTIMP unsigned char *__cdecl _mbsnbcat_l(unsigned char *_Dest,const unsigned char *_Source,size_t _Count,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 78 | _CRTIMP int __cdecl _mbsnbcmp(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount); | 90 | _CRTIMP int __cdecl _mbsnbcmp(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount); |
| 79 | _CRTIMP int __cdecl _mbsnbcmp_l(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount,_locale_t _Locale); | 91 | _CRTIMP int __cdecl _mbsnbcmp_l(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount,_locale_t _Locale); |
| 92 | #if __MSVCRT_VERSION__ >= 0x0200 | ||
| 80 | _CRTIMP int __cdecl _mbsnbcoll(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount); | 93 | _CRTIMP int __cdecl _mbsnbcoll(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount); |
| 81 | _CRTIMP int __cdecl _mbsnbcoll_l(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount,_locale_t _Locale); | 94 | _CRTIMP int __cdecl _mbsnbcoll_l(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount,_locale_t _Locale); |
| 95 | #endif | ||
| 82 | _CRTIMP size_t __cdecl _mbsnbcnt(const unsigned char *_Str,size_t _MaxCount); | 96 | _CRTIMP size_t __cdecl _mbsnbcnt(const unsigned char *_Str,size_t _MaxCount); |
| 83 | _CRTIMP size_t __cdecl _mbsnbcnt_l(const unsigned char *_Str,size_t _MaxCount,_locale_t _Locale); | 97 | _CRTIMP size_t __cdecl _mbsnbcnt_l(const unsigned char *_Str,size_t _MaxCount,_locale_t _Locale); |
| 84 | _CRTIMP unsigned char *__cdecl _mbsnbcpy(unsigned char *_Dest,const unsigned char *_Source,size_t _Count) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 98 | _CRTIMP unsigned char *__cdecl _mbsnbcpy(unsigned char *_Dest,const unsigned char *_Source,size_t _Count) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 85 | _CRTIMP unsigned char *__cdecl _mbsnbcpy_l(unsigned char *_Dest,const unsigned char *_Source,size_t _Count,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 99 | _CRTIMP unsigned char *__cdecl _mbsnbcpy_l(unsigned char *_Dest,const unsigned char *_Source,size_t _Count,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 86 | _CRTIMP int __cdecl _mbsnbicmp(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount); | 100 | _CRTIMP int __cdecl _mbsnbicmp(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount); |
| 87 | _CRTIMP int __cdecl _mbsnbicmp_l(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount,_locale_t _Locale); | 101 | _CRTIMP int __cdecl _mbsnbicmp_l(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount,_locale_t _Locale); |
| 102 | #if __MSVCRT_VERSION__ >= 0x0200 | ||
| 88 | _CRTIMP int __cdecl _mbsnbicoll(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount); | 103 | _CRTIMP int __cdecl _mbsnbicoll(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount); |
| 89 | _CRTIMP int __cdecl _mbsnbicoll_l(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount,_locale_t _Locale); | 104 | _CRTIMP int __cdecl _mbsnbicoll_l(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount,_locale_t _Locale); |
| 105 | #endif | ||
| 90 | _CRTIMP unsigned char *__cdecl _mbsnbset(unsigned char *_Str,unsigned int _Ch,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 106 | _CRTIMP unsigned char *__cdecl _mbsnbset(unsigned char *_Str,unsigned int _Ch,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 91 | _CRTIMP unsigned char *__cdecl _mbsnbset_l(unsigned char *_Str,unsigned int _Ch,size_t _MaxCount,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 107 | _CRTIMP unsigned char *__cdecl _mbsnbset_l(unsigned char *_Str,unsigned int _Ch,size_t _MaxCount,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 92 | _CRTIMP unsigned char *__cdecl _mbsncat(unsigned char *_Dest,const unsigned char *_Source,size_t _Count) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 108 | _CRTIMP unsigned char *__cdecl _mbsncat(unsigned char *_Dest,const unsigned char *_Source,size_t _Count) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| ... | @@ -95,16 +111,20 @@ extern "C" { | ... | @@ -95,16 +111,20 @@ extern "C" { |
| 95 | _CRTIMP size_t __cdecl _mbsnccnt_l(const unsigned char *_Str,size_t _MaxCount,_locale_t _Locale); | 111 | _CRTIMP size_t __cdecl _mbsnccnt_l(const unsigned char *_Str,size_t _MaxCount,_locale_t _Locale); |
| 96 | _CRTIMP int __cdecl _mbsncmp(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount); | 112 | _CRTIMP int __cdecl _mbsncmp(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount); |
| 97 | _CRTIMP int __cdecl _mbsncmp_l(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount,_locale_t _Locale); | 113 | _CRTIMP int __cdecl _mbsncmp_l(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount,_locale_t _Locale); |
| 114 | #if __MSVCRT_VERSION__ >= 0x0200 | ||
| 98 | _CRTIMP int __cdecl _mbsncoll(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount); | 115 | _CRTIMP int __cdecl _mbsncoll(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount); |
| 99 | _CRTIMP int __cdecl _mbsncoll_l(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount,_locale_t _Locale); | 116 | _CRTIMP int __cdecl _mbsncoll_l(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount,_locale_t _Locale); |
| 117 | #endif | ||
| 100 | _CRTIMP unsigned char *__cdecl _mbsncpy(unsigned char *_Dest,const unsigned char *_Source,size_t _Count) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 118 | _CRTIMP unsigned char *__cdecl _mbsncpy(unsigned char *_Dest,const unsigned char *_Source,size_t _Count) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 101 | _CRTIMP unsigned char *__cdecl _mbsncpy_l(unsigned char *_Dest,const unsigned char *_Source,size_t _Count,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 119 | _CRTIMP unsigned char *__cdecl _mbsncpy_l(unsigned char *_Dest,const unsigned char *_Source,size_t _Count,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 102 | _CRTIMP unsigned int __cdecl _mbsnextc (const unsigned char *_Str); | 120 | _CRTIMP unsigned int __cdecl _mbsnextc (const unsigned char *_Str); |
| 103 | _CRTIMP unsigned int __cdecl _mbsnextc_l(const unsigned char *_Str,_locale_t _Locale); | 121 | _CRTIMP unsigned int __cdecl _mbsnextc_l(const unsigned char *_Str,_locale_t _Locale); |
| 104 | _CRTIMP int __cdecl _mbsnicmp(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount); | 122 | _CRTIMP int __cdecl _mbsnicmp(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount); |
| 105 | _CRTIMP int __cdecl _mbsnicmp_l(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount,_locale_t _Locale); | 123 | _CRTIMP int __cdecl _mbsnicmp_l(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount,_locale_t _Locale); |
| 124 | #if __MSVCRT_VERSION__ >= 0x0200 | ||
| 106 | _CRTIMP int __cdecl _mbsnicoll(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount); | 125 | _CRTIMP int __cdecl _mbsnicoll(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount); |
| 107 | _CRTIMP int __cdecl _mbsnicoll_l(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount,_locale_t _Locale); | 126 | _CRTIMP int __cdecl _mbsnicoll_l(const unsigned char *_Str1,const unsigned char *_Str2,size_t _MaxCount,_locale_t _Locale); |
| 127 | #endif | ||
| 108 | _CRTIMP unsigned char *__cdecl _mbsninc(const unsigned char *_Str,size_t _Count); | 128 | _CRTIMP unsigned char *__cdecl _mbsninc(const unsigned char *_Str,size_t _Count); |
| 109 | _CRTIMP unsigned char *__cdecl _mbsninc_l(const unsigned char *_Str,size_t _Count,_locale_t _Locale); | 129 | _CRTIMP unsigned char *__cdecl _mbsninc_l(const unsigned char *_Str,size_t _Count,_locale_t _Locale); |
| 110 | _CRTIMP unsigned char *__cdecl _mbsnset(unsigned char *_Dst,unsigned int _Val,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 130 | _CRTIMP unsigned char *__cdecl _mbsnset(unsigned char *_Dst,unsigned int _Val,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| ... | @@ -126,7 +146,7 @@ extern "C" { | ... | @@ -126,7 +146,7 @@ extern "C" { |
| 126 | _CRTIMP unsigned char *__cdecl _mbstok(unsigned char *_Str,const unsigned char *_Delim) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 146 | _CRTIMP unsigned char *__cdecl _mbstok(unsigned char *_Str,const unsigned char *_Delim) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 127 | _CRTIMP unsigned char *__cdecl _mbstok_l(unsigned char *_Str,const unsigned char *_Delim,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 147 | _CRTIMP unsigned char *__cdecl _mbstok_l(unsigned char *_Str,const unsigned char *_Delim,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 128 | _CRTIMP unsigned char *__cdecl _mbsupr(unsigned char *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 148 | _CRTIMP unsigned char *__cdecl _mbsupr(unsigned char *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 129 | _CRTIMP unsigned char *_mbsupr_l(unsigned char *_String,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 149 | _CRTIMP unsigned char *__cdecl _mbsupr_l(unsigned char *_String,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 130 | _CRTIMP size_t __cdecl _mbclen(const unsigned char *_Str); | 150 | _CRTIMP size_t __cdecl _mbclen(const unsigned char *_Str); |
| 131 | _CRTIMP size_t __cdecl _mbclen_l(const unsigned char *_Str,_locale_t _Locale); | 151 | _CRTIMP size_t __cdecl _mbclen_l(const unsigned char *_Str,_locale_t _Locale); |
| 132 | _CRTIMP void __cdecl _mbccpy(unsigned char *_Dst,const unsigned char *_Src) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 152 | _CRTIMP void __cdecl _mbccpy(unsigned char *_Dst,const unsigned char *_Src) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| ... | @@ -149,22 +169,32 @@ extern "C" { | ... | @@ -149,22 +169,32 @@ extern "C" { |
| 149 | #endif | 169 | #endif |
| 150 | #endif | 170 | #endif |
| 151 | 171 | ||
| 172 | #if __MSVCRT_VERSION__ >= 0x0200 | ||
| 152 | _CRTIMP int __cdecl _ismbcalnum(unsigned int _Ch); | 173 | _CRTIMP int __cdecl _ismbcalnum(unsigned int _Ch); |
| 153 | _CRTIMP int __cdecl _ismbcalnum_l(unsigned int _Ch,_locale_t _Locale); | 174 | _CRTIMP int __cdecl _ismbcalnum_l(unsigned int _Ch,_locale_t _Locale); |
| 175 | #endif | ||
| 154 | _CRTIMP int __cdecl _ismbcalpha(unsigned int _Ch); | 176 | _CRTIMP int __cdecl _ismbcalpha(unsigned int _Ch); |
| 155 | _CRTIMP int __cdecl _ismbcalpha_l(unsigned int _Ch,_locale_t _Locale); | 177 | _CRTIMP int __cdecl _ismbcalpha_l(unsigned int _Ch,_locale_t _Locale); |
| 178 | #if __MSVCRT_VERSION__ >= 0x0C00 | ||
| 179 | _CRTIMP int __cdecl _ismbcblank(unsigned int _Ch); | ||
| 180 | _CRTIMP int __cdecl _ismbcblank_l(unsigned int _Ch,_locale_t _Locale); | ||
| 181 | #endif | ||
| 156 | _CRTIMP int __cdecl _ismbcdigit(unsigned int _Ch); | 182 | _CRTIMP int __cdecl _ismbcdigit(unsigned int _Ch); |
| 157 | _CRTIMP int __cdecl _ismbcdigit_l(unsigned int _Ch,_locale_t _Locale); | 183 | _CRTIMP int __cdecl _ismbcdigit_l(unsigned int _Ch,_locale_t _Locale); |
| 184 | #if __MSVCRT_VERSION__ >= 0x0200 | ||
| 158 | _CRTIMP int __cdecl _ismbcgraph(unsigned int _Ch); | 185 | _CRTIMP int __cdecl _ismbcgraph(unsigned int _Ch); |
| 159 | _CRTIMP int __cdecl _ismbcgraph_l(unsigned int _Ch,_locale_t _Locale); | 186 | _CRTIMP int __cdecl _ismbcgraph_l(unsigned int _Ch,_locale_t _Locale); |
| 187 | #endif | ||
| 160 | _CRTIMP int __cdecl _ismbclegal(unsigned int _Ch); | 188 | _CRTIMP int __cdecl _ismbclegal(unsigned int _Ch); |
| 161 | _CRTIMP int __cdecl _ismbclegal_l(unsigned int _Ch,_locale_t _Locale); | 189 | _CRTIMP int __cdecl _ismbclegal_l(unsigned int _Ch,_locale_t _Locale); |
| 162 | _CRTIMP int __cdecl _ismbclower(unsigned int _Ch); | 190 | _CRTIMP int __cdecl _ismbclower(unsigned int _Ch); |
| 163 | _CRTIMP int __cdecl _ismbclower_l(unsigned int _Ch,_locale_t _Locale); | 191 | _CRTIMP int __cdecl _ismbclower_l(unsigned int _Ch,_locale_t _Locale); |
| 164 | _CRTIMP int __cdecl _ismbcprint(unsigned int _Ch); | 192 | _CRTIMP int __cdecl _ismbcprint(unsigned int _Ch); |
| 165 | _CRTIMP int __cdecl _ismbcprint_l(unsigned int _Ch,_locale_t _Locale); | 193 | _CRTIMP int __cdecl _ismbcprint_l(unsigned int _Ch,_locale_t _Locale); |
| 194 | #if __MSVCRT_VERSION__ >= 0x0200 | ||
| 166 | _CRTIMP int __cdecl _ismbcpunct(unsigned int _Ch); | 195 | _CRTIMP int __cdecl _ismbcpunct(unsigned int _Ch); |
| 167 | _CRTIMP int __cdecl _ismbcpunct_l(unsigned int _Ch,_locale_t _Locale); | 196 | _CRTIMP int __cdecl _ismbcpunct_l(unsigned int _Ch,_locale_t _Locale); |
| 197 | #endif | ||
| 168 | _CRTIMP int __cdecl _ismbcspace(unsigned int _Ch); | 198 | _CRTIMP int __cdecl _ismbcspace(unsigned int _Ch); |
| 169 | _CRTIMP int __cdecl _ismbcspace_l(unsigned int _Ch,_locale_t _Locale); | 199 | _CRTIMP int __cdecl _ismbcspace_l(unsigned int _Ch,_locale_t _Locale); |
| 170 | _CRTIMP int __cdecl _ismbcupper(unsigned int _Ch); | 200 | _CRTIMP int __cdecl _ismbcupper(unsigned int _Ch); |
lib/libc/include/any-windows-any/mediaobj.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/mediaobj.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/medparam.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/memory.h+1-41| ... | @@ -6,46 +6,6 @@ | ... | @@ -6,46 +6,6 @@ |
| 6 | #ifndef _INC_MEMORY | 6 | #ifndef _INC_MEMORY |
| 7 | #define _INC_MEMORY | 7 | #define _INC_MEMORY |
| 8 | 8 | ||
| 9 | #include <crtdefs.h> | 9 | #include <corecrt_memory.h> |
| 10 | 10 | ||
| 11 | #if defined(__LIBMSVCRT__) | ||
| 12 | /* When building mingw-w64, this should be blank. */ | ||
| 13 | #define _SECIMP | ||
| 14 | #else | ||
| 15 | #ifndef _SECIMP | ||
| 16 | #define _SECIMP __declspec(dllimport) | ||
| 17 | #endif /* _SECIMP */ | ||
| 18 | #endif /* defined(__LIBMSVCRT__) */ | ||
| 19 | |||
| 20 | #ifdef __cplusplus | ||
| 21 | extern "C" { | ||
| 22 | #endif | ||
| 23 | |||
| 24 | #ifndef _CONST_RETURN | ||
| 25 | #define _CONST_RETURN | ||
| 26 | #endif | ||
| 27 | |||
| 28 | #define _WConst_return _CONST_RETURN | ||
| 29 | |||
| 30 | #ifndef _CRT_MEMORY_DEFINED | ||
| 31 | #define _CRT_MEMORY_DEFINED | ||
| 32 | _CRTIMP void *__cdecl _memccpy(void *_Dst,const void *_Src,int _Val,size_t _MaxCount); | ||
| 33 | _CONST_RETURN void *__cdecl memchr(const void *_Buf ,int _Val,size_t _MaxCount); | ||
| 34 | _CRTIMP int __cdecl _memicmp(const void *_Buf1,const void *_Buf2,size_t _Size); | ||
| 35 | _CRTIMP int __cdecl _memicmp_l(const void *_Buf1,const void *_Buf2,size_t _Size,_locale_t _Locale); | ||
| 36 | int __cdecl memcmp(const void *_Buf1,const void *_Buf2,size_t _Size); | ||
| 37 | void * __cdecl memcpy(void * __restrict__ _Dst,const void * __restrict__ _Src,size_t _Size) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | ||
| 38 | _SECIMP errno_t __cdecl memcpy_s (void *_dest,size_t _numberOfElements,const void *_src,size_t _count); | ||
| 39 | void * __cdecl mempcpy (void *_Dst, const void *_Src, size_t _Size); | ||
| 40 | void * __cdecl memset(void *_Dst,int _Val,size_t _Size); | ||
| 41 | |||
| 42 | #ifndef	NO_OLDNAMES | ||
| 43 | void * __cdecl memccpy(void *_Dst,const void *_Src,int _Val,size_t _Size) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 44 | int __cdecl memicmp(const void *_Buf1,const void *_Buf2,size_t _Size) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 45 | #endif | ||
| 46 | #endif | ||
| 47 | |||
| 48 | #ifdef __cplusplus | ||
| 49 | } | ||
| 50 | #endif | ||
| 51 | #endif | 11 | #endif |
lib/libc/include/any-windows-any/mfcaptureengine.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/mfcaptureengine.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/mfd3d12.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/mfidl.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/mfmediacapture.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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+1581-149| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/mfmediaengine.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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__ |
| ... | @@ -66,6 +66,46 @@ interface IMFMediaEngineClassFactory; | ... | @@ -66,6 +66,46 @@ interface IMFMediaEngineClassFactory; |
| 66 | #endif /* __cplusplus */ | 66 | #endif /* __cplusplus */ |
| 67 | #endif | 67 | #endif |
| 68 | 68 | ||
| 69 | #ifndef __IMFMediaSourceExtensionNotify_FWD_DEFINED__ | ||
| 70 | #define __IMFMediaSourceExtensionNotify_FWD_DEFINED__ | ||
| 71 | typedef interface IMFMediaSourceExtensionNotify IMFMediaSourceExtensionNotify; | ||
| 72 | #ifdef __cplusplus | ||
| 73 | interface IMFMediaSourceExtensionNotify; | ||
| 74 | #endif /* __cplusplus */ | ||
| 75 | #endif | ||
| 76 | |||
| 77 | #ifndef __IMFSourceBufferNotify_FWD_DEFINED__ | ||
| 78 | #define __IMFSourceBufferNotify_FWD_DEFINED__ | ||
| 79 | typedef interface IMFSourceBufferNotify IMFSourceBufferNotify; | ||
| 80 | #ifdef __cplusplus | ||
| 81 | interface IMFSourceBufferNotify; | ||
| 82 | #endif /* __cplusplus */ | ||
| 83 | #endif | ||
| 84 | |||
| 85 | #ifndef __IMFSourceBuffer_FWD_DEFINED__ | ||
| 86 | #define __IMFSourceBuffer_FWD_DEFINED__ | ||
| 87 | typedef interface IMFSourceBuffer IMFSourceBuffer; | ||
| 88 | #ifdef __cplusplus | ||
| 89 | interface IMFSourceBuffer; | ||
| 90 | #endif /* __cplusplus */ | ||
| 91 | #endif | ||
| 92 | |||
| 93 | #ifndef __IMFSourceBufferList_FWD_DEFINED__ | ||
| 94 | #define __IMFSourceBufferList_FWD_DEFINED__ | ||
| 95 | typedef interface IMFSourceBufferList IMFSourceBufferList; | ||
| 96 | #ifdef __cplusplus | ||
| 97 | interface IMFSourceBufferList; | ||
| 98 | #endif /* __cplusplus */ | ||
| 99 | #endif | ||
| 100 | |||
| 101 | #ifndef __IMFMediaSourceExtension_FWD_DEFINED__ | ||
| 102 | #define __IMFMediaSourceExtension_FWD_DEFINED__ | ||
| 103 | typedef interface IMFMediaSourceExtension IMFMediaSourceExtension; | ||
| 104 | #ifdef __cplusplus | ||
| 105 | interface IMFMediaSourceExtension; | ||
| 106 | #endif /* __cplusplus */ | ||
| 107 | #endif | ||
| 108 | |||
| 69 | #ifndef __IMFMediaEngineNotify_FWD_DEFINED__ | 109 | #ifndef __IMFMediaEngineNotify_FWD_DEFINED__ |
| 70 | #define __IMFMediaEngineNotify_FWD_DEFINED__ | 110 | #define __IMFMediaEngineNotify_FWD_DEFINED__ |
| 71 | typedef interface IMFMediaEngineNotify IMFMediaEngineNotify; | 111 | typedef interface IMFMediaEngineNotify IMFMediaEngineNotify; |
| ... | @@ -90,6 +130,54 @@ interface IMFMediaEngineExtension; | ... | @@ -90,6 +130,54 @@ interface IMFMediaEngineExtension; |
| 90 | #endif /* __cplusplus */ | 130 | #endif /* __cplusplus */ |
| 91 | #endif | 131 | #endif |
| 92 | 132 | ||
| 133 | #ifndef __IMFMediaKeySessionNotify_FWD_DEFINED__ | ||
| 134 | #define __IMFMediaKeySessionNotify_FWD_DEFINED__ | ||
| 135 | typedef interface IMFMediaKeySessionNotify IMFMediaKeySessionNotify; | ||
| 136 | #ifdef __cplusplus | ||
| 137 | interface IMFMediaKeySessionNotify; | ||
| 138 | #endif /* __cplusplus */ | ||
| 139 | #endif | ||
| 140 | |||
| 141 | #ifndef __IMFMediaKeySession_FWD_DEFINED__ | ||
| 142 | #define __IMFMediaKeySession_FWD_DEFINED__ | ||
| 143 | typedef interface IMFMediaKeySession IMFMediaKeySession; | ||
| 144 | #ifdef __cplusplus | ||
| 145 | interface IMFMediaKeySession; | ||
| 146 | #endif /* __cplusplus */ | ||
| 147 | #endif | ||
| 148 | |||
| 149 | #ifndef __IMFCdmSuspendNotify_FWD_DEFINED__ | ||
| 150 | #define __IMFCdmSuspendNotify_FWD_DEFINED__ | ||
| 151 | typedef interface IMFCdmSuspendNotify IMFCdmSuspendNotify; | ||
| 152 | #ifdef __cplusplus | ||
| 153 | interface IMFCdmSuspendNotify; | ||
| 154 | #endif /* __cplusplus */ | ||
| 155 | #endif | ||
| 156 | |||
| 157 | #ifndef __IMFMediaKeys_FWD_DEFINED__ | ||
| 158 | #define __IMFMediaKeys_FWD_DEFINED__ | ||
| 159 | typedef interface IMFMediaKeys IMFMediaKeys; | ||
| 160 | #ifdef __cplusplus | ||
| 161 | interface IMFMediaKeys; | ||
| 162 | #endif /* __cplusplus */ | ||
| 163 | #endif | ||
| 164 | |||
| 165 | #ifndef __IMFMediaEngineClassFactoryEx_FWD_DEFINED__ | ||
| 166 | #define __IMFMediaEngineClassFactoryEx_FWD_DEFINED__ | ||
| 167 | typedef interface IMFMediaEngineClassFactoryEx IMFMediaEngineClassFactoryEx; | ||
| 168 | #ifdef __cplusplus | ||
| 169 | interface IMFMediaEngineClassFactoryEx; | ||
| 170 | #endif /* __cplusplus */ | ||
| 171 | #endif | ||
| 172 | |||
| 173 | #ifndef __IMFMediaEngineClassFactory2_FWD_DEFINED__ | ||
| 174 | #define __IMFMediaEngineClassFactory2_FWD_DEFINED__ | ||
| 175 | typedef interface IMFMediaEngineClassFactory2 IMFMediaEngineClassFactory2; | ||
| 176 | #ifdef __cplusplus | ||
| 177 | interface IMFMediaEngineClassFactory2; | ||
| 178 | #endif /* __cplusplus */ | ||
| 179 | #endif | ||
| 180 | |||
| 93 | /* Headers for imported files */ | 181 | /* Headers for imported files */ |
| 94 | 182 | ||
| 95 | #include <mfidl.h> | 183 | #include <mfidl.h> |
| ... | @@ -2062,77 +2150,92 @@ static inline HRESULT IMFMediaEngineClassFactory_CreateError(IMFMediaEngineClass | ... | @@ -2062,77 +2150,92 @@ static inline HRESULT IMFMediaEngineClassFactory_CreateError(IMFMediaEngineClass |
| 2062 | #endif /* __IMFMediaEngineClassFactory_INTERFACE_DEFINED__ */ | 2150 | #endif /* __IMFMediaEngineClassFactory_INTERFACE_DEFINED__ */ |
| 2063 | 2151 | ||
| 2064 | /***************************************************************************** | 2152 | /***************************************************************************** |
| 2065 | * IMFMediaEngineNotify interface | 2153 | * IMFMediaSourceExtensionNotify interface |
| 2066 | */ | 2154 | */ |
| 2067 | #ifndef __IMFMediaEngineNotify_INTERFACE_DEFINED__ | 2155 | #ifndef __IMFMediaSourceExtensionNotify_INTERFACE_DEFINED__ |
| 2068 | #define __IMFMediaEngineNotify_INTERFACE_DEFINED__ | 2156 | #define __IMFMediaSourceExtensionNotify_INTERFACE_DEFINED__ |
| 2069 | 2157 | ||
| 2070 | DEFINE_GUID(IID_IMFMediaEngineNotify, 0xfee7c112, 0xe776, 0x42b5, 0x9b,0xbf, 0x00,0x48,0x52,0x4e,0x2b,0xd5); | 2158 | DEFINE_GUID(IID_IMFMediaSourceExtensionNotify, 0xa7901327, 0x05dd, 0x4469, 0xa7,0xb7, 0x0e,0x01,0x97,0x9e,0x36,0x1d); |
| 2071 | #if defined(__cplusplus) && !defined(CINTERFACE) | 2159 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 2072 | MIDL_INTERFACE("fee7c112-e776-42b5-9bbf-0048524e2bd5") | 2160 | MIDL_INTERFACE("a7901327-05dd-4469-a7b7-0e01979e361d") |
| 2073 | IMFMediaEngineNotify : public IUnknown | 2161 | IMFMediaSourceExtensionNotify : public IUnknown |
| 2074 | { | 2162 | { |
| 2075 | virtual HRESULT STDMETHODCALLTYPE EventNotify( | 2163 | virtual void STDMETHODCALLTYPE OnSourceOpen( |
| 2076 | DWORD event, | 2164 | ) = 0; |
| 2077 | DWORD_PTR param1, | 2165 | |
| 2078 | DWORD param2) = 0; | 2166 | virtual void STDMETHODCALLTYPE OnSourceEnded( |
| 2167 | ) = 0; | ||
| 2168 | |||
| 2169 | virtual void STDMETHODCALLTYPE OnSourceClose( | ||
| 2170 | ) = 0; | ||
| 2079 | 2171 | ||
| 2080 | }; | 2172 | }; |
| 2081 | #ifdef __CRT_UUID_DECL | 2173 | #ifdef __CRT_UUID_DECL |
| 2082 | __CRT_UUID_DECL(IMFMediaEngineNotify, 0xfee7c112, 0xe776, 0x42b5, 0x9b,0xbf, 0x00,0x48,0x52,0x4e,0x2b,0xd5) | 2174 | __CRT_UUID_DECL(IMFMediaSourceExtensionNotify, 0xa7901327, 0x05dd, 0x4469, 0xa7,0xb7, 0x0e,0x01,0x97,0x9e,0x36,0x1d) |
| 2083 | #endif | 2175 | #endif |
| 2084 | #else | 2176 | #else |
| 2085 | typedef struct IMFMediaEngineNotifyVtbl { | 2177 | typedef struct IMFMediaSourceExtensionNotifyVtbl { |
| 2086 | BEGIN_INTERFACE | 2178 | BEGIN_INTERFACE |
| 2087 | 2179 | ||
| 2088 | /*** IUnknown methods ***/ | 2180 | /*** IUnknown methods ***/ |
| 2089 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | 2181 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 2090 | IMFMediaEngineNotify *This, | 2182 | IMFMediaSourceExtensionNotify *This, |
| 2091 | REFIID riid, | 2183 | REFIID riid, |
| 2092 | void **ppvObject); | 2184 | void **ppvObject); |
| 2093 | 2185 | ||
| 2094 | ULONG (STDMETHODCALLTYPE *AddRef)( | 2186 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 2095 | IMFMediaEngineNotify *This); | 2187 | IMFMediaSourceExtensionNotify *This); |
| 2096 | 2188 | ||
| 2097 | ULONG (STDMETHODCALLTYPE *Release)( | 2189 | ULONG (STDMETHODCALLTYPE *Release)( |
| 2098 | IMFMediaEngineNotify *This); | 2190 | IMFMediaSourceExtensionNotify *This); |
| 2099 | 2191 | ||
| 2100 | /*** IMFMediaEngineNotify methods ***/ | 2192 | /*** IMFMediaSourceExtensionNotify methods ***/ |
| 2101 | HRESULT (STDMETHODCALLTYPE *EventNotify)( | 2193 | void (STDMETHODCALLTYPE *OnSourceOpen)( |
| 2102 | IMFMediaEngineNotify *This, | 2194 | IMFMediaSourceExtensionNotify *This); |
| 2103 | DWORD event, | 2195 | |
| 2104 | DWORD_PTR param1, | 2196 | void (STDMETHODCALLTYPE *OnSourceEnded)( |
| 2105 | DWORD param2); | 2197 | IMFMediaSourceExtensionNotify *This); |
| 2198 | |||
| 2199 | void (STDMETHODCALLTYPE *OnSourceClose)( | ||
| 2200 | IMFMediaSourceExtensionNotify *This); | ||
| 2106 | 2201 | ||
| 2107 | END_INTERFACE | 2202 | END_INTERFACE |
| 2108 | } IMFMediaEngineNotifyVtbl; | 2203 | } IMFMediaSourceExtensionNotifyVtbl; |
| 2109 | 2204 | ||
| 2110 | interface IMFMediaEngineNotify { | 2205 | interface IMFMediaSourceExtensionNotify { |
| 2111 | CONST_VTBL IMFMediaEngineNotifyVtbl* lpVtbl; | 2206 | CONST_VTBL IMFMediaSourceExtensionNotifyVtbl* lpVtbl; |
| 2112 | }; | 2207 | }; |
| 2113 | 2208 | ||
| 2114 | #ifdef COBJMACROS | 2209 | #ifdef COBJMACROS |
| 2115 | #ifndef WIDL_C_INLINE_WRAPPERS | 2210 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 2116 | /*** IUnknown methods ***/ | 2211 | /*** IUnknown methods ***/ |
| 2117 | #define IMFMediaEngineNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | 2212 | #define IMFMediaSourceExtensionNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 2118 | #define IMFMediaEngineNotify_AddRef(This) (This)->lpVtbl->AddRef(This) | 2213 | #define IMFMediaSourceExtensionNotify_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 2119 | #define IMFMediaEngineNotify_Release(This) (This)->lpVtbl->Release(This) | 2214 | #define IMFMediaSourceExtensionNotify_Release(This) (This)->lpVtbl->Release(This) |
| 2120 | /*** IMFMediaEngineNotify methods ***/ | 2215 | /*** IMFMediaSourceExtensionNotify methods ***/ |
| 2121 | #define IMFMediaEngineNotify_EventNotify(This,event,param1,param2) (This)->lpVtbl->EventNotify(This,event,param1,param2) | 2216 | #define IMFMediaSourceExtensionNotify_OnSourceOpen(This) (This)->lpVtbl->OnSourceOpen(This) |
| 2217 | #define IMFMediaSourceExtensionNotify_OnSourceEnded(This) (This)->lpVtbl->OnSourceEnded(This) | ||
| 2218 | #define IMFMediaSourceExtensionNotify_OnSourceClose(This) (This)->lpVtbl->OnSourceClose(This) | ||
| 2122 | #else | 2219 | #else |
| 2123 | /*** IUnknown methods ***/ | 2220 | /*** IUnknown methods ***/ |
| 2124 | static inline HRESULT IMFMediaEngineNotify_QueryInterface(IMFMediaEngineNotify* This,REFIID riid,void **ppvObject) { | 2221 | static inline HRESULT IMFMediaSourceExtensionNotify_QueryInterface(IMFMediaSourceExtensionNotify* This,REFIID riid,void **ppvObject) { |
| 2125 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | 2222 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 2126 | } | 2223 | } |
| 2127 | static inline ULONG IMFMediaEngineNotify_AddRef(IMFMediaEngineNotify* This) { | 2224 | static inline ULONG IMFMediaSourceExtensionNotify_AddRef(IMFMediaSourceExtensionNotify* This) { |
| 2128 | return This->lpVtbl->AddRef(This); | 2225 | return This->lpVtbl->AddRef(This); |
| 2129 | } | 2226 | } |
| 2130 | static inline ULONG IMFMediaEngineNotify_Release(IMFMediaEngineNotify* This) { | 2227 | static inline ULONG IMFMediaSourceExtensionNotify_Release(IMFMediaSourceExtensionNotify* This) { |
| 2131 | return This->lpVtbl->Release(This); | 2228 | return This->lpVtbl->Release(This); |
| 2132 | } | 2229 | } |
| 2133 | /*** IMFMediaEngineNotify methods ***/ | 2230 | /*** IMFMediaSourceExtensionNotify methods ***/ |
| 2134 | static inline HRESULT IMFMediaEngineNotify_EventNotify(IMFMediaEngineNotify* This,DWORD event,DWORD_PTR param1,DWORD param2) { | 2231 | static inline void IMFMediaSourceExtensionNotify_OnSourceOpen(IMFMediaSourceExtensionNotify* This) { |
| 2135 | return This->lpVtbl->EventNotify(This,event,param1,param2); | 2232 | This->lpVtbl->OnSourceOpen(This); |
| 2233 | } | ||
| 2234 | static inline void IMFMediaSourceExtensionNotify_OnSourceEnded(IMFMediaSourceExtensionNotify* This) { | ||
| 2235 | This->lpVtbl->OnSourceEnded(This); | ||
| 2236 | } | ||
| 2237 | static inline void IMFMediaSourceExtensionNotify_OnSourceClose(IMFMediaSourceExtensionNotify* This) { | ||
| 2238 | This->lpVtbl->OnSourceClose(This); | ||
| 2136 | } | 2239 | } |
| 2137 | #endif | 2240 | #endif |
| 2138 | #endif | 2241 | #endif |
| ... | @@ -2140,87 +2243,116 @@ static inline HRESULT IMFMediaEngineNotify_EventNotify(IMFMediaEngineNotify* Thi | ... | @@ -2140,87 +2243,116 @@ static inline HRESULT IMFMediaEngineNotify_EventNotify(IMFMediaEngineNotify* Thi |
| 2140 | #endif | 2243 | #endif |
| 2141 | 2244 | ||
| 2142 | 2245 | ||
| 2143 | #endif /* __IMFMediaEngineNotify_INTERFACE_DEFINED__ */ | 2246 | #endif /* __IMFMediaSourceExtensionNotify_INTERFACE_DEFINED__ */ |
| 2144 | 2247 | ||
| 2145 | /***************************************************************************** | 2248 | /***************************************************************************** |
| 2146 | * IMFMediaEngineAudioEndpointId interface | 2249 | * IMFSourceBufferNotify interface |
| 2147 | */ | 2250 | */ |
| 2148 | #ifndef __IMFMediaEngineAudioEndpointId_INTERFACE_DEFINED__ | 2251 | #ifndef __IMFSourceBufferNotify_INTERFACE_DEFINED__ |
| 2149 | #define __IMFMediaEngineAudioEndpointId_INTERFACE_DEFINED__ | 2252 | #define __IMFSourceBufferNotify_INTERFACE_DEFINED__ |
| 2150 | 2253 | ||
| 2151 | DEFINE_GUID(IID_IMFMediaEngineAudioEndpointId, 0x7a3bac98, 0x0e76, 0x49fb, 0x8c,0x20, 0x8a,0x86,0xfd,0x98,0xea,0xf2); | 2254 | DEFINE_GUID(IID_IMFSourceBufferNotify, 0x87e47623, 0x2ceb, 0x45d6, 0x9b,0x88, 0xd8,0x52,0x0c,0x4d,0xcb,0xbc); |
| 2152 | #if defined(__cplusplus) && !defined(CINTERFACE) | 2255 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 2153 | MIDL_INTERFACE("7a3bac98-0e76-49fb-8c20-8a86fd98eaf2") | 2256 | MIDL_INTERFACE("87e47623-2ceb-45d6-9b88-d8520c4dcbbc") |
| 2154 | IMFMediaEngineAudioEndpointId : public IUnknown | 2257 | IMFSourceBufferNotify : public IUnknown |
| 2155 | { | 2258 | { |
| 2156 | virtual HRESULT STDMETHODCALLTYPE SetAudioEndpointId( | 2259 | virtual void STDMETHODCALLTYPE OnUpdateStart( |
| 2157 | LPCWSTR id) = 0; | 2260 | ) = 0; |
| 2158 | 2261 | ||
| 2159 | virtual HRESULT STDMETHODCALLTYPE GetAudioEndpointId( | 2262 | virtual void STDMETHODCALLTYPE OnAbort( |
| 2160 | LPWSTR *id) = 0; | 2263 | ) = 0; |
| 2264 | |||
| 2265 | virtual void STDMETHODCALLTYPE OnError( | ||
| 2266 | HRESULT hr) = 0; | ||
| 2267 | |||
| 2268 | virtual void STDMETHODCALLTYPE OnUpdate( | ||
| 2269 | ) = 0; | ||
| 2270 | |||
| 2271 | virtual void STDMETHODCALLTYPE OnUpdateEnd( | ||
| 2272 | ) = 0; | ||
| 2161 | 2273 | ||
| 2162 | }; | 2274 | }; |
| 2163 | #ifdef __CRT_UUID_DECL | 2275 | #ifdef __CRT_UUID_DECL |
| 2164 | __CRT_UUID_DECL(IMFMediaEngineAudioEndpointId, 0x7a3bac98, 0x0e76, 0x49fb, 0x8c,0x20, 0x8a,0x86,0xfd,0x98,0xea,0xf2) | 2276 | __CRT_UUID_DECL(IMFSourceBufferNotify, 0x87e47623, 0x2ceb, 0x45d6, 0x9b,0x88, 0xd8,0x52,0x0c,0x4d,0xcb,0xbc) |
| 2165 | #endif | 2277 | #endif |
| 2166 | #else | 2278 | #else |
| 2167 | typedef struct IMFMediaEngineAudioEndpointIdVtbl { | 2279 | typedef struct IMFSourceBufferNotifyVtbl { |
| 2168 | BEGIN_INTERFACE | 2280 | BEGIN_INTERFACE |
| 2169 | 2281 | ||
| 2170 | /*** IUnknown methods ***/ | 2282 | /*** IUnknown methods ***/ |
| 2171 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | 2283 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 2172 | IMFMediaEngineAudioEndpointId *This, | 2284 | IMFSourceBufferNotify *This, |
| 2173 | REFIID riid, | 2285 | REFIID riid, |
| 2174 | void **ppvObject); | 2286 | void **ppvObject); |
| 2175 | 2287 | ||
| 2176 | ULONG (STDMETHODCALLTYPE *AddRef)( | 2288 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 2177 | IMFMediaEngineAudioEndpointId *This); | 2289 | IMFSourceBufferNotify *This); |
| 2178 | 2290 | ||
| 2179 | ULONG (STDMETHODCALLTYPE *Release)( | 2291 | ULONG (STDMETHODCALLTYPE *Release)( |
| 2180 | IMFMediaEngineAudioEndpointId *This); | 2292 | IMFSourceBufferNotify *This); |
| 2181 | 2293 | ||
| 2182 | /*** IMFMediaEngineAudioEndpointId methods ***/ | 2294 | /*** IMFSourceBufferNotify methods ***/ |
| 2183 | HRESULT (STDMETHODCALLTYPE *SetAudioEndpointId)( | 2295 | void (STDMETHODCALLTYPE *OnUpdateStart)( |
| 2184 | IMFMediaEngineAudioEndpointId *This, | 2296 | IMFSourceBufferNotify *This); |
| 2185 | LPCWSTR id); | ||
| 2186 | 2297 | ||
| 2187 | HRESULT (STDMETHODCALLTYPE *GetAudioEndpointId)( | 2298 | void (STDMETHODCALLTYPE *OnAbort)( |
| 2188 | IMFMediaEngineAudioEndpointId *This, | 2299 | IMFSourceBufferNotify *This); |
| 2189 | LPWSTR *id); | 2300 | |
| 2301 | void (STDMETHODCALLTYPE *OnError)( | ||
| 2302 | IMFSourceBufferNotify *This, | ||
| 2303 | HRESULT hr); | ||
| 2304 | |||
| 2305 | void (STDMETHODCALLTYPE *OnUpdate)( | ||
| 2306 | IMFSourceBufferNotify *This); | ||
| 2307 | |||
| 2308 | void (STDMETHODCALLTYPE *OnUpdateEnd)( | ||
| 2309 | IMFSourceBufferNotify *This); | ||
| 2190 | 2310 | ||
| 2191 | END_INTERFACE | 2311 | END_INTERFACE |
| 2192 | } IMFMediaEngineAudioEndpointIdVtbl; | 2312 | } IMFSourceBufferNotifyVtbl; |
| 2193 | 2313 | ||
| 2194 | interface IMFMediaEngineAudioEndpointId { | 2314 | interface IMFSourceBufferNotify { |
| 2195 | CONST_VTBL IMFMediaEngineAudioEndpointIdVtbl* lpVtbl; | 2315 | CONST_VTBL IMFSourceBufferNotifyVtbl* lpVtbl; |
| 2196 | }; | 2316 | }; |
| 2197 | 2317 | ||
| 2198 | #ifdef COBJMACROS | 2318 | #ifdef COBJMACROS |
| 2199 | #ifndef WIDL_C_INLINE_WRAPPERS | 2319 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 2200 | /*** IUnknown methods ***/ | 2320 | /*** IUnknown methods ***/ |
| 2201 | #define IMFMediaEngineAudioEndpointId_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | 2321 | #define IMFSourceBufferNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 2202 | #define IMFMediaEngineAudioEndpointId_AddRef(This) (This)->lpVtbl->AddRef(This) | 2322 | #define IMFSourceBufferNotify_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 2203 | #define IMFMediaEngineAudioEndpointId_Release(This) (This)->lpVtbl->Release(This) | 2323 | #define IMFSourceBufferNotify_Release(This) (This)->lpVtbl->Release(This) |
| 2204 | /*** IMFMediaEngineAudioEndpointId methods ***/ | 2324 | /*** IMFSourceBufferNotify methods ***/ |
| 2205 | #define IMFMediaEngineAudioEndpointId_SetAudioEndpointId(This,id) (This)->lpVtbl->SetAudioEndpointId(This,id) | 2325 | #define IMFSourceBufferNotify_OnUpdateStart(This) (This)->lpVtbl->OnUpdateStart(This) |
| 2206 | #define IMFMediaEngineAudioEndpointId_GetAudioEndpointId(This,id) (This)->lpVtbl->GetAudioEndpointId(This,id) | 2326 | #define IMFSourceBufferNotify_OnAbort(This) (This)->lpVtbl->OnAbort(This) |
| 2327 | #define IMFSourceBufferNotify_OnError(This,hr) (This)->lpVtbl->OnError(This,hr) | ||
| 2328 | #define IMFSourceBufferNotify_OnUpdate(This) (This)->lpVtbl->OnUpdate(This) | ||
| 2329 | #define IMFSourceBufferNotify_OnUpdateEnd(This) (This)->lpVtbl->OnUpdateEnd(This) | ||
| 2207 | #else | 2330 | #else |
| 2208 | /*** IUnknown methods ***/ | 2331 | /*** IUnknown methods ***/ |
| 2209 | static inline HRESULT IMFMediaEngineAudioEndpointId_QueryInterface(IMFMediaEngineAudioEndpointId* This,REFIID riid,void **ppvObject) { | 2332 | static inline HRESULT IMFSourceBufferNotify_QueryInterface(IMFSourceBufferNotify* This,REFIID riid,void **ppvObject) { |
| 2210 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | 2333 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 2211 | } | 2334 | } |
| 2212 | static inline ULONG IMFMediaEngineAudioEndpointId_AddRef(IMFMediaEngineAudioEndpointId* This) { | 2335 | static inline ULONG IMFSourceBufferNotify_AddRef(IMFSourceBufferNotify* This) { |
| 2213 | return This->lpVtbl->AddRef(This); | 2336 | return This->lpVtbl->AddRef(This); |
| 2214 | } | 2337 | } |
| 2215 | static inline ULONG IMFMediaEngineAudioEndpointId_Release(IMFMediaEngineAudioEndpointId* This) { | 2338 | static inline ULONG IMFSourceBufferNotify_Release(IMFSourceBufferNotify* This) { |
| 2216 | return This->lpVtbl->Release(This); | 2339 | return This->lpVtbl->Release(This); |
| 2217 | } | 2340 | } |
| 2218 | /*** IMFMediaEngineAudioEndpointId methods ***/ | 2341 | /*** IMFSourceBufferNotify methods ***/ |
| 2219 | static inline HRESULT IMFMediaEngineAudioEndpointId_SetAudioEndpointId(IMFMediaEngineAudioEndpointId* This,LPCWSTR id) { | 2342 | static inline void IMFSourceBufferNotify_OnUpdateStart(IMFSourceBufferNotify* This) { |
| 2220 | return This->lpVtbl->SetAudioEndpointId(This,id); | 2343 | This->lpVtbl->OnUpdateStart(This); |
| 2221 | } | 2344 | } |
| 2222 | static inline HRESULT IMFMediaEngineAudioEndpointId_GetAudioEndpointId(IMFMediaEngineAudioEndpointId* This,LPWSTR *id) { | 2345 | static inline void IMFSourceBufferNotify_OnAbort(IMFSourceBufferNotify* This) { |
| 2223 | return This->lpVtbl->GetAudioEndpointId(This,id); | 2346 | This->lpVtbl->OnAbort(This); |
| 2347 | } | ||
| 2348 | static inline void IMFSourceBufferNotify_OnError(IMFSourceBufferNotify* This,HRESULT hr) { | ||
| 2349 | This->lpVtbl->OnError(This,hr); | ||
| 2350 | } | ||
| 2351 | static inline void IMFSourceBufferNotify_OnUpdate(IMFSourceBufferNotify* This) { | ||
| 2352 | This->lpVtbl->OnUpdate(This); | ||
| 2353 | } | ||
| 2354 | static inline void IMFSourceBufferNotify_OnUpdateEnd(IMFSourceBufferNotify* This) { | ||
| 2355 | This->lpVtbl->OnUpdateEnd(This); | ||
| 2224 | } | 2356 | } |
| 2225 | #endif | 2357 | #endif |
| 2226 | #endif | 2358 | #endif |
| ... | @@ -2228,125 +2360,198 @@ static inline HRESULT IMFMediaEngineAudioEndpointId_GetAudioEndpointId(IMFMediaE | ... | @@ -2228,125 +2360,198 @@ static inline HRESULT IMFMediaEngineAudioEndpointId_GetAudioEndpointId(IMFMediaE |
| 2228 | #endif | 2360 | #endif |
| 2229 | 2361 | ||
| 2230 | 2362 | ||
| 2231 | #endif /* __IMFMediaEngineAudioEndpointId_INTERFACE_DEFINED__ */ | 2363 | #endif /* __IMFSourceBufferNotify_INTERFACE_DEFINED__ */ |
| 2232 | 2364 | ||
| 2233 | /***************************************************************************** | 2365 | /***************************************************************************** |
| 2234 | * IMFMediaEngineExtension interface | 2366 | * IMFSourceBuffer interface |
| 2235 | */ | 2367 | */ |
| 2236 | #ifndef __IMFMediaEngineExtension_INTERFACE_DEFINED__ | 2368 | #ifndef __IMFSourceBuffer_INTERFACE_DEFINED__ |
| 2237 | #define __IMFMediaEngineExtension_INTERFACE_DEFINED__ | 2369 | #define __IMFSourceBuffer_INTERFACE_DEFINED__ |
| 2238 | 2370 | ||
| 2239 | DEFINE_GUID(IID_IMFMediaEngineExtension, 0x2f69d622, 0x20b5, 0x41e9, 0xaf,0xdf, 0x89,0xce,0xd1,0xdd,0xa0,0x4e); | 2371 | DEFINE_GUID(IID_IMFSourceBuffer, 0xe2cd3a4b, 0xaf25, 0x4d3d, 0x91,0x10, 0xda,0x0e,0x6f,0x8e,0xe8,0x77); |
| 2240 | #if defined(__cplusplus) && !defined(CINTERFACE) | 2372 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 2241 | MIDL_INTERFACE("2f69d622-20b5-41e9-afdf-89ced1dda04e") | 2373 | MIDL_INTERFACE("e2cd3a4b-af25-4d3d-9110-da0e6f8ee877") |
| 2242 | IMFMediaEngineExtension : public IUnknown | 2374 | IMFSourceBuffer : public IUnknown |
| 2243 | { | 2375 | { |
| 2244 | virtual HRESULT STDMETHODCALLTYPE CanPlayType( | 2376 | virtual WINBOOL STDMETHODCALLTYPE GetUpdating( |
| 2245 | WINBOOL audio_only, | 2377 | ) = 0; |
| 2246 | BSTR mime_type, | ||
| 2247 | MF_MEDIA_ENGINE_CANPLAY *answer) = 0; | ||
| 2248 | 2378 | ||
| 2249 | virtual HRESULT STDMETHODCALLTYPE BeginCreateObject( | 2379 | virtual HRESULT STDMETHODCALLTYPE GetBuffered( |
| 2250 | BSTR url, | 2380 | IMFMediaTimeRange **buffered) = 0; |
| 2251 | IMFByteStream *bytestream, | ||
| 2252 | MF_OBJECT_TYPE type, | ||
| 2253 | IUnknown **cancel_cookie, | ||
| 2254 | IMFAsyncCallback *callback, | ||
| 2255 | IUnknown *state) = 0; | ||
| 2256 | 2381 | ||
| 2257 | virtual HRESULT STDMETHODCALLTYPE CancelObjectCreation( | 2382 | virtual double STDMETHODCALLTYPE GetTimeStampOffset( |
| 2258 | IUnknown *cancel_cookie) = 0; | 2383 | ) = 0; |
| 2259 | 2384 | ||
| 2260 | virtual HRESULT STDMETHODCALLTYPE EndCreateObject( | 2385 | virtual HRESULT STDMETHODCALLTYPE SetTimeStampOffset( |
| 2261 | IMFAsyncResult *result, | 2386 | double offset) = 0; |
| 2262 | IUnknown **object) = 0; | 2387 | |
| 2388 | virtual double STDMETHODCALLTYPE GetAppendWindowStart( | ||
| 2389 | ) = 0; | ||
| 2390 | |||
| 2391 | virtual HRESULT STDMETHODCALLTYPE SetAppendWindowStart( | ||
| 2392 | double time) = 0; | ||
| 2393 | |||
| 2394 | virtual double STDMETHODCALLTYPE GetAppendWindowEnd( | ||
| 2395 | ) = 0; | ||
| 2396 | |||
| 2397 | virtual HRESULT STDMETHODCALLTYPE SetAppendWindowEnd( | ||
| 2398 | double time) = 0; | ||
| 2399 | |||
| 2400 | virtual HRESULT STDMETHODCALLTYPE Append( | ||
| 2401 | const BYTE *data, | ||
| 2402 | DWORD len) = 0; | ||
| 2403 | |||
| 2404 | virtual HRESULT STDMETHODCALLTYPE AppendByteStream( | ||
| 2405 | IMFByteStream *stream, | ||
| 2406 | DWORDLONG *max_len) = 0; | ||
| 2407 | |||
| 2408 | virtual HRESULT STDMETHODCALLTYPE Abort( | ||
| 2409 | ) = 0; | ||
| 2410 | |||
| 2411 | virtual HRESULT STDMETHODCALLTYPE Remove( | ||
| 2412 | double start, | ||
| 2413 | double end) = 0; | ||
| 2263 | 2414 | ||
| 2264 | }; | 2415 | }; |
| 2265 | #ifdef __CRT_UUID_DECL | 2416 | #ifdef __CRT_UUID_DECL |
| 2266 | __CRT_UUID_DECL(IMFMediaEngineExtension, 0x2f69d622, 0x20b5, 0x41e9, 0xaf,0xdf, 0x89,0xce,0xd1,0xdd,0xa0,0x4e) | 2417 | __CRT_UUID_DECL(IMFSourceBuffer, 0xe2cd3a4b, 0xaf25, 0x4d3d, 0x91,0x10, 0xda,0x0e,0x6f,0x8e,0xe8,0x77) |
| 2267 | #endif | 2418 | #endif |
| 2268 | #else | 2419 | #else |
| 2269 | typedef struct IMFMediaEngineExtensionVtbl { | 2420 | typedef struct IMFSourceBufferVtbl { |
| 2270 | BEGIN_INTERFACE | 2421 | BEGIN_INTERFACE |
| 2271 | 2422 | ||
| 2272 | /*** IUnknown methods ***/ | 2423 | /*** IUnknown methods ***/ |
| 2273 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | 2424 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 2274 | IMFMediaEngineExtension *This, | 2425 | IMFSourceBuffer *This, |
| 2275 | REFIID riid, | 2426 | REFIID riid, |
| 2276 | void **ppvObject); | 2427 | void **ppvObject); |
| 2277 | 2428 | ||
| 2278 | ULONG (STDMETHODCALLTYPE *AddRef)( | 2429 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 2279 | IMFMediaEngineExtension *This); | 2430 | IMFSourceBuffer *This); |
| 2280 | 2431 | ||
| 2281 | ULONG (STDMETHODCALLTYPE *Release)( | 2432 | ULONG (STDMETHODCALLTYPE *Release)( |
| 2282 | IMFMediaEngineExtension *This); | 2433 | IMFSourceBuffer *This); |
| 2283 | 2434 | ||
| 2284 | /*** IMFMediaEngineExtension methods ***/ | 2435 | /*** IMFSourceBuffer methods ***/ |
| 2285 | HRESULT (STDMETHODCALLTYPE *CanPlayType)( | 2436 | WINBOOL (STDMETHODCALLTYPE *GetUpdating)( |
| 2286 | IMFMediaEngineExtension *This, | 2437 | IMFSourceBuffer *This); |
| 2287 | WINBOOL audio_only, | ||
| 2288 | BSTR mime_type, | ||
| 2289 | MF_MEDIA_ENGINE_CANPLAY *answer); | ||
| 2290 | 2438 | ||
| 2291 | HRESULT (STDMETHODCALLTYPE *BeginCreateObject)( | 2439 | HRESULT (STDMETHODCALLTYPE *GetBuffered)( |
| 2292 | IMFMediaEngineExtension *This, | 2440 | IMFSourceBuffer *This, |
| 2293 | BSTR url, | 2441 | IMFMediaTimeRange **buffered); |
| 2294 | IMFByteStream *bytestream, | ||
| 2295 | MF_OBJECT_TYPE type, | ||
| 2296 | IUnknown **cancel_cookie, | ||
| 2297 | IMFAsyncCallback *callback, | ||
| 2298 | IUnknown *state); | ||
| 2299 | 2442 | ||
| 2300 | HRESULT (STDMETHODCALLTYPE *CancelObjectCreation)( | 2443 | double (STDMETHODCALLTYPE *GetTimeStampOffset)( |
| 2301 | IMFMediaEngineExtension *This, | 2444 | IMFSourceBuffer *This); |
| 2302 | IUnknown *cancel_cookie); | ||
| 2303 | 2445 | ||
| 2304 | HRESULT (STDMETHODCALLTYPE *EndCreateObject)( | 2446 | HRESULT (STDMETHODCALLTYPE *SetTimeStampOffset)( |
| 2305 | IMFMediaEngineExtension *This, | 2447 | IMFSourceBuffer *This, |
| 2306 | IMFAsyncResult *result, | 2448 | double offset); |
| 2307 | IUnknown **object); | 2449 | |
| 2450 | double (STDMETHODCALLTYPE *GetAppendWindowStart)( | ||
| 2451 | IMFSourceBuffer *This); | ||
| 2452 | |||
| 2453 | HRESULT (STDMETHODCALLTYPE *SetAppendWindowStart)( | ||
| 2454 | IMFSourceBuffer *This, | ||
| 2455 | double time); | ||
| 2456 | |||
| 2457 | double (STDMETHODCALLTYPE *GetAppendWindowEnd)( | ||
| 2458 | IMFSourceBuffer *This); | ||
| 2459 | |||
| 2460 | HRESULT (STDMETHODCALLTYPE *SetAppendWindowEnd)( | ||
| 2461 | IMFSourceBuffer *This, | ||
| 2462 | double time); | ||
| 2463 | |||
| 2464 | HRESULT (STDMETHODCALLTYPE *Append)( | ||
| 2465 | IMFSourceBuffer *This, | ||
| 2466 | const BYTE *data, | ||
| 2467 | DWORD len); | ||
| 2468 | |||
| 2469 | HRESULT (STDMETHODCALLTYPE *AppendByteStream)( | ||
| 2470 | IMFSourceBuffer *This, | ||
| 2471 | IMFByteStream *stream, | ||
| 2472 | DWORDLONG *max_len); | ||
| 2473 | |||
| 2474 | HRESULT (STDMETHODCALLTYPE *Abort)( | ||
| 2475 | IMFSourceBuffer *This); | ||
| 2476 | |||
| 2477 | HRESULT (STDMETHODCALLTYPE *Remove)( | ||
| 2478 | IMFSourceBuffer *This, | ||
| 2479 | double start, | ||
| 2480 | double end); | ||
| 2308 | 2481 | ||
| 2309 | END_INTERFACE | 2482 | END_INTERFACE |
| 2310 | } IMFMediaEngineExtensionVtbl; | 2483 | } IMFSourceBufferVtbl; |
| 2311 | 2484 | ||
| 2312 | interface IMFMediaEngineExtension { | 2485 | interface IMFSourceBuffer { |
| 2313 | CONST_VTBL IMFMediaEngineExtensionVtbl* lpVtbl; | 2486 | CONST_VTBL IMFSourceBufferVtbl* lpVtbl; |
| 2314 | }; | 2487 | }; |
| 2315 | 2488 | ||
| 2316 | #ifdef COBJMACROS | 2489 | #ifdef COBJMACROS |
| 2317 | #ifndef WIDL_C_INLINE_WRAPPERS | 2490 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 2318 | /*** IUnknown methods ***/ | 2491 | /*** IUnknown methods ***/ |
| 2319 | #define IMFMediaEngineExtension_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | 2492 | #define IMFSourceBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 2320 | #define IMFMediaEngineExtension_AddRef(This) (This)->lpVtbl->AddRef(This) | 2493 | #define IMFSourceBuffer_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 2321 | #define IMFMediaEngineExtension_Release(This) (This)->lpVtbl->Release(This) | 2494 | #define IMFSourceBuffer_Release(This) (This)->lpVtbl->Release(This) |
| 2322 | /*** IMFMediaEngineExtension methods ***/ | 2495 | /*** IMFSourceBuffer methods ***/ |
| 2323 | #define IMFMediaEngineExtension_CanPlayType(This,audio_only,mime_type,answer) (This)->lpVtbl->CanPlayType(This,audio_only,mime_type,answer) | 2496 | #define IMFSourceBuffer_GetUpdating(This) (This)->lpVtbl->GetUpdating(This) |
| 2324 | #define IMFMediaEngineExtension_BeginCreateObject(This,url,bytestream,type,cancel_cookie,callback,state) (This)->lpVtbl->BeginCreateObject(This,url,bytestream,type,cancel_cookie,callback,state) | 2497 | #define IMFSourceBuffer_GetBuffered(This,buffered) (This)->lpVtbl->GetBuffered(This,buffered) |
| 2325 | #define IMFMediaEngineExtension_CancelObjectCreation(This,cancel_cookie) (This)->lpVtbl->CancelObjectCreation(This,cancel_cookie) | 2498 | #define IMFSourceBuffer_GetTimeStampOffset(This) (This)->lpVtbl->GetTimeStampOffset(This) |
| 2326 | #define IMFMediaEngineExtension_EndCreateObject(This,result,object) (This)->lpVtbl->EndCreateObject(This,result,object) | 2499 | #define IMFSourceBuffer_SetTimeStampOffset(This,offset) (This)->lpVtbl->SetTimeStampOffset(This,offset) |
| 2500 | #define IMFSourceBuffer_GetAppendWindowStart(This) (This)->lpVtbl->GetAppendWindowStart(This) | ||
| 2501 | #define IMFSourceBuffer_SetAppendWindowStart(This,time) (This)->lpVtbl->SetAppendWindowStart(This,time) | ||
| 2502 | #define IMFSourceBuffer_GetAppendWindowEnd(This) (This)->lpVtbl->GetAppendWindowEnd(This) | ||
| 2503 | #define IMFSourceBuffer_SetAppendWindowEnd(This,time) (This)->lpVtbl->SetAppendWindowEnd(This,time) | ||
| 2504 | #define IMFSourceBuffer_Append(This,data,len) (This)->lpVtbl->Append(This,data,len) | ||
| 2505 | #define IMFSourceBuffer_AppendByteStream(This,stream,max_len) (This)->lpVtbl->AppendByteStream(This,stream,max_len) | ||
| 2506 | #define IMFSourceBuffer_Abort(This) (This)->lpVtbl->Abort(This) | ||
| 2507 | #define IMFSourceBuffer_Remove(This,start,end) (This)->lpVtbl->Remove(This,start,end) | ||
| 2327 | #else | 2508 | #else |
| 2328 | /*** IUnknown methods ***/ | 2509 | /*** IUnknown methods ***/ |
| 2329 | static inline HRESULT IMFMediaEngineExtension_QueryInterface(IMFMediaEngineExtension* This,REFIID riid,void **ppvObject) { | 2510 | static inline HRESULT IMFSourceBuffer_QueryInterface(IMFSourceBuffer* This,REFIID riid,void **ppvObject) { |
| 2330 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | 2511 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 2331 | } | 2512 | } |
| 2332 | static inline ULONG IMFMediaEngineExtension_AddRef(IMFMediaEngineExtension* This) { | 2513 | static inline ULONG IMFSourceBuffer_AddRef(IMFSourceBuffer* This) { |
| 2333 | return This->lpVtbl->AddRef(This); | 2514 | return This->lpVtbl->AddRef(This); |
| 2334 | } | 2515 | } |
| 2335 | static inline ULONG IMFMediaEngineExtension_Release(IMFMediaEngineExtension* This) { | 2516 | static inline ULONG IMFSourceBuffer_Release(IMFSourceBuffer* This) { |
| 2336 | return This->lpVtbl->Release(This); | 2517 | return This->lpVtbl->Release(This); |
| 2337 | } | 2518 | } |
| 2338 | /*** IMFMediaEngineExtension methods ***/ | 2519 | /*** IMFSourceBuffer methods ***/ |
| 2339 | static inline HRESULT IMFMediaEngineExtension_CanPlayType(IMFMediaEngineExtension* This,WINBOOL audio_only,BSTR mime_type,MF_MEDIA_ENGINE_CANPLAY *answer) { | 2520 | static inline WINBOOL IMFSourceBuffer_GetUpdating(IMFSourceBuffer* This) { |
| 2340 | return This->lpVtbl->CanPlayType(This,audio_only,mime_type,answer); | 2521 | return This->lpVtbl->GetUpdating(This); |
| 2341 | } | 2522 | } |
| 2342 | static inline HRESULT IMFMediaEngineExtension_BeginCreateObject(IMFMediaEngineExtension* This,BSTR url,IMFByteStream *bytestream,MF_OBJECT_TYPE type,IUnknown **cancel_cookie,IMFAsyncCallback *callback,IUnknown *state) { | 2523 | static inline HRESULT IMFSourceBuffer_GetBuffered(IMFSourceBuffer* This,IMFMediaTimeRange **buffered) { |
| 2343 | return This->lpVtbl->BeginCreateObject(This,url,bytestream,type,cancel_cookie,callback,state); | 2524 | return This->lpVtbl->GetBuffered(This,buffered); |
| 2344 | } | 2525 | } |
| 2345 | static inline HRESULT IMFMediaEngineExtension_CancelObjectCreation(IMFMediaEngineExtension* This,IUnknown *cancel_cookie) { | 2526 | static inline double IMFSourceBuffer_GetTimeStampOffset(IMFSourceBuffer* This) { |
| 2346 | return This->lpVtbl->CancelObjectCreation(This,cancel_cookie); | 2527 | return This->lpVtbl->GetTimeStampOffset(This); |
| 2347 | } | 2528 | } |
| 2348 | static inline HRESULT IMFMediaEngineExtension_EndCreateObject(IMFMediaEngineExtension* This,IMFAsyncResult *result,IUnknown **object) { | 2529 | static inline HRESULT IMFSourceBuffer_SetTimeStampOffset(IMFSourceBuffer* This,double offset) { |
| 2349 | return This->lpVtbl->EndCreateObject(This,result,object); | 2530 | return This->lpVtbl->SetTimeStampOffset(This,offset); |
| 2531 | } | ||
| 2532 | static inline double IMFSourceBuffer_GetAppendWindowStart(IMFSourceBuffer* This) { | ||
| 2533 | return This->lpVtbl->GetAppendWindowStart(This); | ||
| 2534 | } | ||
| 2535 | static inline HRESULT IMFSourceBuffer_SetAppendWindowStart(IMFSourceBuffer* This,double time) { | ||
| 2536 | return This->lpVtbl->SetAppendWindowStart(This,time); | ||
| 2537 | } | ||
| 2538 | static inline double IMFSourceBuffer_GetAppendWindowEnd(IMFSourceBuffer* This) { | ||
| 2539 | return This->lpVtbl->GetAppendWindowEnd(This); | ||
| 2540 | } | ||
| 2541 | static inline HRESULT IMFSourceBuffer_SetAppendWindowEnd(IMFSourceBuffer* This,double time) { | ||
| 2542 | return This->lpVtbl->SetAppendWindowEnd(This,time); | ||
| 2543 | } | ||
| 2544 | static inline HRESULT IMFSourceBuffer_Append(IMFSourceBuffer* This,const BYTE *data,DWORD len) { | ||
| 2545 | return This->lpVtbl->Append(This,data,len); | ||
| 2546 | } | ||
| 2547 | static inline HRESULT IMFSourceBuffer_AppendByteStream(IMFSourceBuffer* This,IMFByteStream *stream,DWORDLONG *max_len) { | ||
| 2548 | return This->lpVtbl->AppendByteStream(This,stream,max_len); | ||
| 2549 | } | ||
| 2550 | static inline HRESULT IMFSourceBuffer_Abort(IMFSourceBuffer* This) { | ||
| 2551 | return This->lpVtbl->Abort(This); | ||
| 2552 | } | ||
| 2553 | static inline HRESULT IMFSourceBuffer_Remove(IMFSourceBuffer* This,double start,double end) { | ||
| 2554 | return This->lpVtbl->Remove(This,start,end); | ||
| 2350 | } | 2555 | } |
| 2351 | #endif | 2556 | #endif |
| 2352 | #endif | 2557 | #endif |
| ... | @@ -2354,7 +2559,1234 @@ static inline HRESULT IMFMediaEngineExtension_EndCreateObject(IMFMediaEngineExte | ... | @@ -2354,7 +2559,1234 @@ static inline HRESULT IMFMediaEngineExtension_EndCreateObject(IMFMediaEngineExte |
| 2354 | #endif | 2559 | #endif |
| 2355 | 2560 | ||
| 2356 | 2561 | ||
| 2357 | #endif /* __IMFMediaEngineExtension_INTERFACE_DEFINED__ */ | 2562 | #endif /* __IMFSourceBuffer_INTERFACE_DEFINED__ */ |
| 2563 | |||
| 2564 | /***************************************************************************** | ||
| 2565 | * IMFSourceBufferList interface | ||
| 2566 | */ | ||
| 2567 | #ifndef __IMFSourceBufferList_INTERFACE_DEFINED__ | ||
| 2568 | #define __IMFSourceBufferList_INTERFACE_DEFINED__ | ||
| 2569 | |||
| 2570 | DEFINE_GUID(IID_IMFSourceBufferList, 0x249981f8, 0x8325, 0x41f3, 0xb8,0x0c, 0x3b,0x9e,0x3a,0xad,0x0c,0xbe); | ||
| 2571 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 2572 | MIDL_INTERFACE("249981f8-8325-41f3-b80c-3b9e3aad0cbe") | ||
| 2573 | IMFSourceBufferList : public IUnknown | ||
| 2574 | { | ||
| 2575 | virtual DWORD STDMETHODCALLTYPE GetLength( | ||
| 2576 | ) = 0; | ||
| 2577 | |||
| 2578 | virtual IMFSourceBuffer * STDMETHODCALLTYPE GetSourceBuffer( | ||
| 2579 | DWORD index) = 0; | ||
| 2580 | |||
| 2581 | }; | ||
| 2582 | #ifdef __CRT_UUID_DECL | ||
| 2583 | __CRT_UUID_DECL(IMFSourceBufferList, 0x249981f8, 0x8325, 0x41f3, 0xb8,0x0c, 0x3b,0x9e,0x3a,0xad,0x0c,0xbe) | ||
| 2584 | #endif | ||
| 2585 | #else | ||
| 2586 | typedef struct IMFSourceBufferListVtbl { | ||
| 2587 | BEGIN_INTERFACE | ||
| 2588 | |||
| 2589 | /*** IUnknown methods ***/ | ||
| 2590 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 2591 | IMFSourceBufferList *This, | ||
| 2592 | REFIID riid, | ||
| 2593 | void **ppvObject); | ||
| 2594 | |||
| 2595 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 2596 | IMFSourceBufferList *This); | ||
| 2597 | |||
| 2598 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 2599 | IMFSourceBufferList *This); | ||
| 2600 | |||
| 2601 | /*** IMFSourceBufferList methods ***/ | ||
| 2602 | DWORD (STDMETHODCALLTYPE *GetLength)( | ||
| 2603 | IMFSourceBufferList *This); | ||
| 2604 | |||
| 2605 | IMFSourceBuffer * (STDMETHODCALLTYPE *GetSourceBuffer)( | ||
| 2606 | IMFSourceBufferList *This, | ||
| 2607 | DWORD index); | ||
| 2608 | |||
| 2609 | END_INTERFACE | ||
| 2610 | } IMFSourceBufferListVtbl; | ||
| 2611 | |||
| 2612 | interface IMFSourceBufferList { | ||
| 2613 | CONST_VTBL IMFSourceBufferListVtbl* lpVtbl; | ||
| 2614 | }; | ||
| 2615 | |||
| 2616 | #ifdef COBJMACROS | ||
| 2617 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 2618 | /*** IUnknown methods ***/ | ||
| 2619 | #define IMFSourceBufferList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 2620 | #define IMFSourceBufferList_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 2621 | #define IMFSourceBufferList_Release(This) (This)->lpVtbl->Release(This) | ||
| 2622 | /*** IMFSourceBufferList methods ***/ | ||
| 2623 | #define IMFSourceBufferList_GetLength(This) (This)->lpVtbl->GetLength(This) | ||
| 2624 | #define IMFSourceBufferList_GetSourceBuffer(This,index) (This)->lpVtbl->GetSourceBuffer(This,index) | ||
| 2625 | #else | ||
| 2626 | /*** IUnknown methods ***/ | ||
| 2627 | static inline HRESULT IMFSourceBufferList_QueryInterface(IMFSourceBufferList* This,REFIID riid,void **ppvObject) { | ||
| 2628 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 2629 | } | ||
| 2630 | static inline ULONG IMFSourceBufferList_AddRef(IMFSourceBufferList* This) { | ||
| 2631 | return This->lpVtbl->AddRef(This); | ||
| 2632 | } | ||
| 2633 | static inline ULONG IMFSourceBufferList_Release(IMFSourceBufferList* This) { | ||
| 2634 | return This->lpVtbl->Release(This); | ||
| 2635 | } | ||
| 2636 | /*** IMFSourceBufferList methods ***/ | ||
| 2637 | static inline DWORD IMFSourceBufferList_GetLength(IMFSourceBufferList* This) { | ||
| 2638 | return This->lpVtbl->GetLength(This); | ||
| 2639 | } | ||
| 2640 | static inline IMFSourceBuffer * IMFSourceBufferList_GetSourceBuffer(IMFSourceBufferList* This,DWORD index) { | ||
| 2641 | return This->lpVtbl->GetSourceBuffer(This,index); | ||
| 2642 | } | ||
| 2643 | #endif | ||
| 2644 | #endif | ||
| 2645 | |||
| 2646 | #endif | ||
| 2647 | |||
| 2648 | |||
| 2649 | #endif /* __IMFSourceBufferList_INTERFACE_DEFINED__ */ | ||
| 2650 | |||
| 2651 | typedef enum MF_MSE_READY { | ||
| 2652 | MF_MSE_READY_CLOSED = 1, | ||
| 2653 | MF_MSE_READY_OPEN = 2, | ||
| 2654 | MF_MSE_READY_ENDED = 3 | ||
| 2655 | } MF_MSE_READY; | ||
| 2656 | typedef enum MF_MSE_ERROR { | ||
| 2657 | MF_MSE_ERROR_NOERROR = 0, | ||
| 2658 | MF_MSE_ERROR_NETWORK = 1, | ||
| 2659 | MF_MSE_ERROR_DECODE = 2, | ||
| 2660 | MF_MSE_ERROR_UNKNOWN_ERROR = 3 | ||
| 2661 | } MF_MSE_ERROR; | ||
| 2662 | /***************************************************************************** | ||
| 2663 | * IMFMediaSourceExtension interface | ||
| 2664 | */ | ||
| 2665 | #ifndef __IMFMediaSourceExtension_INTERFACE_DEFINED__ | ||
| 2666 | #define __IMFMediaSourceExtension_INTERFACE_DEFINED__ | ||
| 2667 | |||
| 2668 | DEFINE_GUID(IID_IMFMediaSourceExtension, 0xe467b94e, 0xa713, 0x4562, 0xa8,0x02, 0x81,0x6a,0x42,0xe9,0x00,0x8a); | ||
| 2669 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 2670 | MIDL_INTERFACE("e467b94e-a713-4562-a802-816a42e9008a") | ||
| 2671 | IMFMediaSourceExtension : public IUnknown | ||
| 2672 | { | ||
| 2673 | virtual IMFSourceBufferList * STDMETHODCALLTYPE GetSourceBuffers( | ||
| 2674 | ) = 0; | ||
| 2675 | |||
| 2676 | virtual IMFSourceBufferList * STDMETHODCALLTYPE GetActiveSourceBuffers( | ||
| 2677 | ) = 0; | ||
| 2678 | |||
| 2679 | virtual MF_MSE_READY STDMETHODCALLTYPE GetReadyState( | ||
| 2680 | ) = 0; | ||
| 2681 | |||
| 2682 | virtual double STDMETHODCALLTYPE GetDuration( | ||
| 2683 | ) = 0; | ||
| 2684 | |||
| 2685 | virtual HRESULT STDMETHODCALLTYPE SetDuration( | ||
| 2686 | double duration) = 0; | ||
| 2687 | |||
| 2688 | virtual HRESULT STDMETHODCALLTYPE AddSourceBuffer( | ||
| 2689 | BSTR type, | ||
| 2690 | IMFSourceBufferNotify *notify, | ||
| 2691 | IMFSourceBuffer **source_buffer) = 0; | ||
| 2692 | |||
| 2693 | virtual HRESULT STDMETHODCALLTYPE RemoveSourceBuffer( | ||
| 2694 | IMFSourceBuffer *source_buffer) = 0; | ||
| 2695 | |||
| 2696 | virtual HRESULT STDMETHODCALLTYPE SetEndOfStream( | ||
| 2697 | MF_MSE_ERROR error) = 0; | ||
| 2698 | |||
| 2699 | virtual WINBOOL STDMETHODCALLTYPE IsTypeSupported( | ||
| 2700 | BSTR type) = 0; | ||
| 2701 | |||
| 2702 | virtual IMFSourceBuffer * STDMETHODCALLTYPE GetSourceBuffer( | ||
| 2703 | DWORD stream_index) = 0; | ||
| 2704 | |||
| 2705 | }; | ||
| 2706 | #ifdef __CRT_UUID_DECL | ||
| 2707 | __CRT_UUID_DECL(IMFMediaSourceExtension, 0xe467b94e, 0xa713, 0x4562, 0xa8,0x02, 0x81,0x6a,0x42,0xe9,0x00,0x8a) | ||
| 2708 | #endif | ||
| 2709 | #else | ||
| 2710 | typedef struct IMFMediaSourceExtensionVtbl { | ||
| 2711 | BEGIN_INTERFACE | ||
| 2712 | |||
| 2713 | /*** IUnknown methods ***/ | ||
| 2714 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 2715 | IMFMediaSourceExtension *This, | ||
| 2716 | REFIID riid, | ||
| 2717 | void **ppvObject); | ||
| 2718 | |||
| 2719 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 2720 | IMFMediaSourceExtension *This); | ||
| 2721 | |||
| 2722 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 2723 | IMFMediaSourceExtension *This); | ||
| 2724 | |||
| 2725 | /*** IMFMediaSourceExtension methods ***/ | ||
| 2726 | IMFSourceBufferList * (STDMETHODCALLTYPE *GetSourceBuffers)( | ||
| 2727 | IMFMediaSourceExtension *This); | ||
| 2728 | |||
| 2729 | IMFSourceBufferList * (STDMETHODCALLTYPE *GetActiveSourceBuffers)( | ||
| 2730 | IMFMediaSourceExtension *This); | ||
| 2731 | |||
| 2732 | MF_MSE_READY (STDMETHODCALLTYPE *GetReadyState)( | ||
| 2733 | IMFMediaSourceExtension *This); | ||
| 2734 | |||
| 2735 | double (STDMETHODCALLTYPE *GetDuration)( | ||
| 2736 | IMFMediaSourceExtension *This); | ||
| 2737 | |||
| 2738 | HRESULT (STDMETHODCALLTYPE *SetDuration)( | ||
| 2739 | IMFMediaSourceExtension *This, | ||
| 2740 | double duration); | ||
| 2741 | |||
| 2742 | HRESULT (STDMETHODCALLTYPE *AddSourceBuffer)( | ||
| 2743 | IMFMediaSourceExtension *This, | ||
| 2744 | BSTR type, | ||
| 2745 | IMFSourceBufferNotify *notify, | ||
| 2746 | IMFSourceBuffer **source_buffer); | ||
| 2747 | |||
| 2748 | HRESULT (STDMETHODCALLTYPE *RemoveSourceBuffer)( | ||
| 2749 | IMFMediaSourceExtension *This, | ||
| 2750 | IMFSourceBuffer *source_buffer); | ||
| 2751 | |||
| 2752 | HRESULT (STDMETHODCALLTYPE *SetEndOfStream)( | ||
| 2753 | IMFMediaSourceExtension *This, | ||
| 2754 | MF_MSE_ERROR error); | ||
| 2755 | |||
| 2756 | WINBOOL (STDMETHODCALLTYPE *IsTypeSupported)( | ||
| 2757 | IMFMediaSourceExtension *This, | ||
| 2758 | BSTR type); | ||
| 2759 | |||
| 2760 | IMFSourceBuffer * (STDMETHODCALLTYPE *GetSourceBuffer)( | ||
| 2761 | IMFMediaSourceExtension *This, | ||
| 2762 | DWORD stream_index); | ||
| 2763 | |||
| 2764 | END_INTERFACE | ||
| 2765 | } IMFMediaSourceExtensionVtbl; | ||
| 2766 | |||
| 2767 | interface IMFMediaSourceExtension { | ||
| 2768 | CONST_VTBL IMFMediaSourceExtensionVtbl* lpVtbl; | ||
| 2769 | }; | ||
| 2770 | |||
| 2771 | #ifdef COBJMACROS | ||
| 2772 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 2773 | /*** IUnknown methods ***/ | ||
| 2774 | #define IMFMediaSourceExtension_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 2775 | #define IMFMediaSourceExtension_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 2776 | #define IMFMediaSourceExtension_Release(This) (This)->lpVtbl->Release(This) | ||
| 2777 | /*** IMFMediaSourceExtension methods ***/ | ||
| 2778 | #define IMFMediaSourceExtension_GetSourceBuffers(This) (This)->lpVtbl->GetSourceBuffers(This) | ||
| 2779 | #define IMFMediaSourceExtension_GetActiveSourceBuffers(This) (This)->lpVtbl->GetActiveSourceBuffers(This) | ||
| 2780 | #define IMFMediaSourceExtension_GetReadyState(This) (This)->lpVtbl->GetReadyState(This) | ||
| 2781 | #define IMFMediaSourceExtension_GetDuration(This) (This)->lpVtbl->GetDuration(This) | ||
| 2782 | #define IMFMediaSourceExtension_SetDuration(This,duration) (This)->lpVtbl->SetDuration(This,duration) | ||
| 2783 | #define IMFMediaSourceExtension_AddSourceBuffer(This,type,notify,source_buffer) (This)->lpVtbl->AddSourceBuffer(This,type,notify,source_buffer) | ||
| 2784 | #define IMFMediaSourceExtension_RemoveSourceBuffer(This,source_buffer) (This)->lpVtbl->RemoveSourceBuffer(This,source_buffer) | ||
| 2785 | #define IMFMediaSourceExtension_SetEndOfStream(This,error) (This)->lpVtbl->SetEndOfStream(This,error) | ||
| 2786 | #define IMFMediaSourceExtension_IsTypeSupported(This,type) (This)->lpVtbl->IsTypeSupported(This,type) | ||
| 2787 | #define IMFMediaSourceExtension_GetSourceBuffer(This,stream_index) (This)->lpVtbl->GetSourceBuffer(This,stream_index) | ||
| 2788 | #else | ||
| 2789 | /*** IUnknown methods ***/ | ||
| 2790 | static inline HRESULT IMFMediaSourceExtension_QueryInterface(IMFMediaSourceExtension* This,REFIID riid,void **ppvObject) { | ||
| 2791 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 2792 | } | ||
| 2793 | static inline ULONG IMFMediaSourceExtension_AddRef(IMFMediaSourceExtension* This) { | ||
| 2794 | return This->lpVtbl->AddRef(This); | ||
| 2795 | } | ||
| 2796 | static inline ULONG IMFMediaSourceExtension_Release(IMFMediaSourceExtension* This) { | ||
| 2797 | return This->lpVtbl->Release(This); | ||
| 2798 | } | ||
| 2799 | /*** IMFMediaSourceExtension methods ***/ | ||
| 2800 | static inline IMFSourceBufferList * IMFMediaSourceExtension_GetSourceBuffers(IMFMediaSourceExtension* This) { | ||
| 2801 | return This->lpVtbl->GetSourceBuffers(This); | ||
| 2802 | } | ||
| 2803 | static inline IMFSourceBufferList * IMFMediaSourceExtension_GetActiveSourceBuffers(IMFMediaSourceExtension* This) { | ||
| 2804 | return This->lpVtbl->GetActiveSourceBuffers(This); | ||
| 2805 | } | ||
| 2806 | static inline MF_MSE_READY IMFMediaSourceExtension_GetReadyState(IMFMediaSourceExtension* This) { | ||
| 2807 | return This->lpVtbl->GetReadyState(This); | ||
| 2808 | } | ||
| 2809 | static inline double IMFMediaSourceExtension_GetDuration(IMFMediaSourceExtension* This) { | ||
| 2810 | return This->lpVtbl->GetDuration(This); | ||
| 2811 | } | ||
| 2812 | static inline HRESULT IMFMediaSourceExtension_SetDuration(IMFMediaSourceExtension* This,double duration) { | ||
| 2813 | return This->lpVtbl->SetDuration(This,duration); | ||
| 2814 | } | ||
| 2815 | static inline HRESULT IMFMediaSourceExtension_AddSourceBuffer(IMFMediaSourceExtension* This,BSTR type,IMFSourceBufferNotify *notify,IMFSourceBuffer **source_buffer) { | ||
| 2816 | return This->lpVtbl->AddSourceBuffer(This,type,notify,source_buffer); | ||
| 2817 | } | ||
| 2818 | static inline HRESULT IMFMediaSourceExtension_RemoveSourceBuffer(IMFMediaSourceExtension* This,IMFSourceBuffer *source_buffer) { | ||
| 2819 | return This->lpVtbl->RemoveSourceBuffer(This,source_buffer); | ||
| 2820 | } | ||
| 2821 | static inline HRESULT IMFMediaSourceExtension_SetEndOfStream(IMFMediaSourceExtension* This,MF_MSE_ERROR error) { | ||
| 2822 | return This->lpVtbl->SetEndOfStream(This,error); | ||
| 2823 | } | ||
| 2824 | static inline WINBOOL IMFMediaSourceExtension_IsTypeSupported(IMFMediaSourceExtension* This,BSTR type) { | ||
| 2825 | return This->lpVtbl->IsTypeSupported(This,type); | ||
| 2826 | } | ||
| 2827 | static inline IMFSourceBuffer * IMFMediaSourceExtension_GetSourceBuffer(IMFMediaSourceExtension* This,DWORD stream_index) { | ||
| 2828 | return This->lpVtbl->GetSourceBuffer(This,stream_index); | ||
| 2829 | } | ||
| 2830 | #endif | ||
| 2831 | #endif | ||
| 2832 | |||
| 2833 | #endif | ||
| 2834 | |||
| 2835 | |||
| 2836 | #endif /* __IMFMediaSourceExtension_INTERFACE_DEFINED__ */ | ||
| 2837 | |||
| 2838 | /***************************************************************************** | ||
| 2839 | * IMFMediaEngineNotify interface | ||
| 2840 | */ | ||
| 2841 | #ifndef __IMFMediaEngineNotify_INTERFACE_DEFINED__ | ||
| 2842 | #define __IMFMediaEngineNotify_INTERFACE_DEFINED__ | ||
| 2843 | |||
| 2844 | DEFINE_GUID(IID_IMFMediaEngineNotify, 0xfee7c112, 0xe776, 0x42b5, 0x9b,0xbf, 0x00,0x48,0x52,0x4e,0x2b,0xd5); | ||
| 2845 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 2846 | MIDL_INTERFACE("fee7c112-e776-42b5-9bbf-0048524e2bd5") | ||
| 2847 | IMFMediaEngineNotify : public IUnknown | ||
| 2848 | { | ||
| 2849 | virtual HRESULT STDMETHODCALLTYPE EventNotify( | ||
| 2850 | DWORD event, | ||
| 2851 | DWORD_PTR param1, | ||
| 2852 | DWORD param2) = 0; | ||
| 2853 | |||
| 2854 | }; | ||
| 2855 | #ifdef __CRT_UUID_DECL | ||
| 2856 | __CRT_UUID_DECL(IMFMediaEngineNotify, 0xfee7c112, 0xe776, 0x42b5, 0x9b,0xbf, 0x00,0x48,0x52,0x4e,0x2b,0xd5) | ||
| 2857 | #endif | ||
| 2858 | #else | ||
| 2859 | typedef struct IMFMediaEngineNotifyVtbl { | ||
| 2860 | BEGIN_INTERFACE | ||
| 2861 | |||
| 2862 | /*** IUnknown methods ***/ | ||
| 2863 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 2864 | IMFMediaEngineNotify *This, | ||
| 2865 | REFIID riid, | ||
| 2866 | void **ppvObject); | ||
| 2867 | |||
| 2868 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 2869 | IMFMediaEngineNotify *This); | ||
| 2870 | |||
| 2871 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 2872 | IMFMediaEngineNotify *This); | ||
| 2873 | |||
| 2874 | /*** IMFMediaEngineNotify methods ***/ | ||
| 2875 | HRESULT (STDMETHODCALLTYPE *EventNotify)( | ||
| 2876 | IMFMediaEngineNotify *This, | ||
| 2877 | DWORD event, | ||
| 2878 | DWORD_PTR param1, | ||
| 2879 | DWORD param2); | ||
| 2880 | |||
| 2881 | END_INTERFACE | ||
| 2882 | } IMFMediaEngineNotifyVtbl; | ||
| 2883 | |||
| 2884 | interface IMFMediaEngineNotify { | ||
| 2885 | CONST_VTBL IMFMediaEngineNotifyVtbl* lpVtbl; | ||
| 2886 | }; | ||
| 2887 | |||
| 2888 | #ifdef COBJMACROS | ||
| 2889 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 2890 | /*** IUnknown methods ***/ | ||
| 2891 | #define IMFMediaEngineNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 2892 | #define IMFMediaEngineNotify_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 2893 | #define IMFMediaEngineNotify_Release(This) (This)->lpVtbl->Release(This) | ||
| 2894 | /*** IMFMediaEngineNotify methods ***/ | ||
| 2895 | #define IMFMediaEngineNotify_EventNotify(This,event,param1,param2) (This)->lpVtbl->EventNotify(This,event,param1,param2) | ||
| 2896 | #else | ||
| 2897 | /*** IUnknown methods ***/ | ||
| 2898 | static inline HRESULT IMFMediaEngineNotify_QueryInterface(IMFMediaEngineNotify* This,REFIID riid,void **ppvObject) { | ||
| 2899 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 2900 | } | ||
| 2901 | static inline ULONG IMFMediaEngineNotify_AddRef(IMFMediaEngineNotify* This) { | ||
| 2902 | return This->lpVtbl->AddRef(This); | ||
| 2903 | } | ||
| 2904 | static inline ULONG IMFMediaEngineNotify_Release(IMFMediaEngineNotify* This) { | ||
| 2905 | return This->lpVtbl->Release(This); | ||
| 2906 | } | ||
| 2907 | /*** IMFMediaEngineNotify methods ***/ | ||
| 2908 | static inline HRESULT IMFMediaEngineNotify_EventNotify(IMFMediaEngineNotify* This,DWORD event,DWORD_PTR param1,DWORD param2) { | ||
| 2909 | return This->lpVtbl->EventNotify(This,event,param1,param2); | ||
| 2910 | } | ||
| 2911 | #endif | ||
| 2912 | #endif | ||
| 2913 | |||
| 2914 | #endif | ||
| 2915 | |||
| 2916 | |||
| 2917 | #endif /* __IMFMediaEngineNotify_INTERFACE_DEFINED__ */ | ||
| 2918 | |||
| 2919 | /***************************************************************************** | ||
| 2920 | * IMFMediaEngineAudioEndpointId interface | ||
| 2921 | */ | ||
| 2922 | #ifndef __IMFMediaEngineAudioEndpointId_INTERFACE_DEFINED__ | ||
| 2923 | #define __IMFMediaEngineAudioEndpointId_INTERFACE_DEFINED__ | ||
| 2924 | |||
| 2925 | DEFINE_GUID(IID_IMFMediaEngineAudioEndpointId, 0x7a3bac98, 0x0e76, 0x49fb, 0x8c,0x20, 0x8a,0x86,0xfd,0x98,0xea,0xf2); | ||
| 2926 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 2927 | MIDL_INTERFACE("7a3bac98-0e76-49fb-8c20-8a86fd98eaf2") | ||
| 2928 | IMFMediaEngineAudioEndpointId : public IUnknown | ||
| 2929 | { | ||
| 2930 | virtual HRESULT STDMETHODCALLTYPE SetAudioEndpointId( | ||
| 2931 | LPCWSTR id) = 0; | ||
| 2932 | |||
| 2933 | virtual HRESULT STDMETHODCALLTYPE GetAudioEndpointId( | ||
| 2934 | LPWSTR *id) = 0; | ||
| 2935 | |||
| 2936 | }; | ||
| 2937 | #ifdef __CRT_UUID_DECL | ||
| 2938 | __CRT_UUID_DECL(IMFMediaEngineAudioEndpointId, 0x7a3bac98, 0x0e76, 0x49fb, 0x8c,0x20, 0x8a,0x86,0xfd,0x98,0xea,0xf2) | ||
| 2939 | #endif | ||
| 2940 | #else | ||
| 2941 | typedef struct IMFMediaEngineAudioEndpointIdVtbl { | ||
| 2942 | BEGIN_INTERFACE | ||
| 2943 | |||
| 2944 | /*** IUnknown methods ***/ | ||
| 2945 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 2946 | IMFMediaEngineAudioEndpointId *This, | ||
| 2947 | REFIID riid, | ||
| 2948 | void **ppvObject); | ||
| 2949 | |||
| 2950 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 2951 | IMFMediaEngineAudioEndpointId *This); | ||
| 2952 | |||
| 2953 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 2954 | IMFMediaEngineAudioEndpointId *This); | ||
| 2955 | |||
| 2956 | /*** IMFMediaEngineAudioEndpointId methods ***/ | ||
| 2957 | HRESULT (STDMETHODCALLTYPE *SetAudioEndpointId)( | ||
| 2958 | IMFMediaEngineAudioEndpointId *This, | ||
| 2959 | LPCWSTR id); | ||
| 2960 | |||
| 2961 | HRESULT (STDMETHODCALLTYPE *GetAudioEndpointId)( | ||
| 2962 | IMFMediaEngineAudioEndpointId *This, | ||
| 2963 | LPWSTR *id); | ||
| 2964 | |||
| 2965 | END_INTERFACE | ||
| 2966 | } IMFMediaEngineAudioEndpointIdVtbl; | ||
| 2967 | |||
| 2968 | interface IMFMediaEngineAudioEndpointId { | ||
| 2969 | CONST_VTBL IMFMediaEngineAudioEndpointIdVtbl* lpVtbl; | ||
| 2970 | }; | ||
| 2971 | |||
| 2972 | #ifdef COBJMACROS | ||
| 2973 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 2974 | /*** IUnknown methods ***/ | ||
| 2975 | #define IMFMediaEngineAudioEndpointId_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 2976 | #define IMFMediaEngineAudioEndpointId_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 2977 | #define IMFMediaEngineAudioEndpointId_Release(This) (This)->lpVtbl->Release(This) | ||
| 2978 | /*** IMFMediaEngineAudioEndpointId methods ***/ | ||
| 2979 | #define IMFMediaEngineAudioEndpointId_SetAudioEndpointId(This,id) (This)->lpVtbl->SetAudioEndpointId(This,id) | ||
| 2980 | #define IMFMediaEngineAudioEndpointId_GetAudioEndpointId(This,id) (This)->lpVtbl->GetAudioEndpointId(This,id) | ||
| 2981 | #else | ||
| 2982 | /*** IUnknown methods ***/ | ||
| 2983 | static inline HRESULT IMFMediaEngineAudioEndpointId_QueryInterface(IMFMediaEngineAudioEndpointId* This,REFIID riid,void **ppvObject) { | ||
| 2984 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 2985 | } | ||
| 2986 | static inline ULONG IMFMediaEngineAudioEndpointId_AddRef(IMFMediaEngineAudioEndpointId* This) { | ||
| 2987 | return This->lpVtbl->AddRef(This); | ||
| 2988 | } | ||
| 2989 | static inline ULONG IMFMediaEngineAudioEndpointId_Release(IMFMediaEngineAudioEndpointId* This) { | ||
| 2990 | return This->lpVtbl->Release(This); | ||
| 2991 | } | ||
| 2992 | /*** IMFMediaEngineAudioEndpointId methods ***/ | ||
| 2993 | static inline HRESULT IMFMediaEngineAudioEndpointId_SetAudioEndpointId(IMFMediaEngineAudioEndpointId* This,LPCWSTR id) { | ||
| 2994 | return This->lpVtbl->SetAudioEndpointId(This,id); | ||
| 2995 | } | ||
| 2996 | static inline HRESULT IMFMediaEngineAudioEndpointId_GetAudioEndpointId(IMFMediaEngineAudioEndpointId* This,LPWSTR *id) { | ||
| 2997 | return This->lpVtbl->GetAudioEndpointId(This,id); | ||
| 2998 | } | ||
| 2999 | #endif | ||
| 3000 | #endif | ||
| 3001 | |||
| 3002 | #endif | ||
| 3003 | |||
| 3004 | |||
| 3005 | #endif /* __IMFMediaEngineAudioEndpointId_INTERFACE_DEFINED__ */ | ||
| 3006 | |||
| 3007 | /***************************************************************************** | ||
| 3008 | * IMFMediaEngineExtension interface | ||
| 3009 | */ | ||
| 3010 | #ifndef __IMFMediaEngineExtension_INTERFACE_DEFINED__ | ||
| 3011 | #define __IMFMediaEngineExtension_INTERFACE_DEFINED__ | ||
| 3012 | |||
| 3013 | DEFINE_GUID(IID_IMFMediaEngineExtension, 0x2f69d622, 0x20b5, 0x41e9, 0xaf,0xdf, 0x89,0xce,0xd1,0xdd,0xa0,0x4e); | ||
| 3014 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 3015 | MIDL_INTERFACE("2f69d622-20b5-41e9-afdf-89ced1dda04e") | ||
| 3016 | IMFMediaEngineExtension : public IUnknown | ||
| 3017 | { | ||
| 3018 | virtual HRESULT STDMETHODCALLTYPE CanPlayType( | ||
| 3019 | WINBOOL audio_only, | ||
| 3020 | BSTR mime_type, | ||
| 3021 | MF_MEDIA_ENGINE_CANPLAY *answer) = 0; | ||
| 3022 | |||
| 3023 | virtual HRESULT STDMETHODCALLTYPE BeginCreateObject( | ||
| 3024 | BSTR url, | ||
| 3025 | IMFByteStream *bytestream, | ||
| 3026 | MF_OBJECT_TYPE type, | ||
| 3027 | IUnknown **cancel_cookie, | ||
| 3028 | IMFAsyncCallback *callback, | ||
| 3029 | IUnknown *state) = 0; | ||
| 3030 | |||
| 3031 | virtual HRESULT STDMETHODCALLTYPE CancelObjectCreation( | ||
| 3032 | IUnknown *cancel_cookie) = 0; | ||
| 3033 | |||
| 3034 | virtual HRESULT STDMETHODCALLTYPE EndCreateObject( | ||
| 3035 | IMFAsyncResult *result, | ||
| 3036 | IUnknown **object) = 0; | ||
| 3037 | |||
| 3038 | }; | ||
| 3039 | #ifdef __CRT_UUID_DECL | ||
| 3040 | __CRT_UUID_DECL(IMFMediaEngineExtension, 0x2f69d622, 0x20b5, 0x41e9, 0xaf,0xdf, 0x89,0xce,0xd1,0xdd,0xa0,0x4e) | ||
| 3041 | #endif | ||
| 3042 | #else | ||
| 3043 | typedef struct IMFMediaEngineExtensionVtbl { | ||
| 3044 | BEGIN_INTERFACE | ||
| 3045 | |||
| 3046 | /*** IUnknown methods ***/ | ||
| 3047 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 3048 | IMFMediaEngineExtension *This, | ||
| 3049 | REFIID riid, | ||
| 3050 | void **ppvObject); | ||
| 3051 | |||
| 3052 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 3053 | IMFMediaEngineExtension *This); | ||
| 3054 | |||
| 3055 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 3056 | IMFMediaEngineExtension *This); | ||
| 3057 | |||
| 3058 | /*** IMFMediaEngineExtension methods ***/ | ||
| 3059 | HRESULT (STDMETHODCALLTYPE *CanPlayType)( | ||
| 3060 | IMFMediaEngineExtension *This, | ||
| 3061 | WINBOOL audio_only, | ||
| 3062 | BSTR mime_type, | ||
| 3063 | MF_MEDIA_ENGINE_CANPLAY *answer); | ||
| 3064 | |||
| 3065 | HRESULT (STDMETHODCALLTYPE *BeginCreateObject)( | ||
| 3066 | IMFMediaEngineExtension *This, | ||
| 3067 | BSTR url, | ||
| 3068 | IMFByteStream *bytestream, | ||
| 3069 | MF_OBJECT_TYPE type, | ||
| 3070 | IUnknown **cancel_cookie, | ||
| 3071 | IMFAsyncCallback *callback, | ||
| 3072 | IUnknown *state); | ||
| 3073 | |||
| 3074 | HRESULT (STDMETHODCALLTYPE *CancelObjectCreation)( | ||
| 3075 | IMFMediaEngineExtension *This, | ||
| 3076 | IUnknown *cancel_cookie); | ||
| 3077 | |||
| 3078 | HRESULT (STDMETHODCALLTYPE *EndCreateObject)( | ||
| 3079 | IMFMediaEngineExtension *This, | ||
| 3080 | IMFAsyncResult *result, | ||
| 3081 | IUnknown **object); | ||
| 3082 | |||
| 3083 | END_INTERFACE | ||
| 3084 | } IMFMediaEngineExtensionVtbl; | ||
| 3085 | |||
| 3086 | interface IMFMediaEngineExtension { | ||
| 3087 | CONST_VTBL IMFMediaEngineExtensionVtbl* lpVtbl; | ||
| 3088 | }; | ||
| 3089 | |||
| 3090 | #ifdef COBJMACROS | ||
| 3091 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 3092 | /*** IUnknown methods ***/ | ||
| 3093 | #define IMFMediaEngineExtension_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 3094 | #define IMFMediaEngineExtension_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 3095 | #define IMFMediaEngineExtension_Release(This) (This)->lpVtbl->Release(This) | ||
| 3096 | /*** IMFMediaEngineExtension methods ***/ | ||
| 3097 | #define IMFMediaEngineExtension_CanPlayType(This,audio_only,mime_type,answer) (This)->lpVtbl->CanPlayType(This,audio_only,mime_type,answer) | ||
| 3098 | #define IMFMediaEngineExtension_BeginCreateObject(This,url,bytestream,type,cancel_cookie,callback,state) (This)->lpVtbl->BeginCreateObject(This,url,bytestream,type,cancel_cookie,callback,state) | ||
| 3099 | #define IMFMediaEngineExtension_CancelObjectCreation(This,cancel_cookie) (This)->lpVtbl->CancelObjectCreation(This,cancel_cookie) | ||
| 3100 | #define IMFMediaEngineExtension_EndCreateObject(This,result,object) (This)->lpVtbl->EndCreateObject(This,result,object) | ||
| 3101 | #else | ||
| 3102 | /*** IUnknown methods ***/ | ||
| 3103 | static inline HRESULT IMFMediaEngineExtension_QueryInterface(IMFMediaEngineExtension* This,REFIID riid,void **ppvObject) { | ||
| 3104 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 3105 | } | ||
| 3106 | static inline ULONG IMFMediaEngineExtension_AddRef(IMFMediaEngineExtension* This) { | ||
| 3107 | return This->lpVtbl->AddRef(This); | ||
| 3108 | } | ||
| 3109 | static inline ULONG IMFMediaEngineExtension_Release(IMFMediaEngineExtension* This) { | ||
| 3110 | return This->lpVtbl->Release(This); | ||
| 3111 | } | ||
| 3112 | /*** IMFMediaEngineExtension methods ***/ | ||
| 3113 | static inline HRESULT IMFMediaEngineExtension_CanPlayType(IMFMediaEngineExtension* This,WINBOOL audio_only,BSTR mime_type,MF_MEDIA_ENGINE_CANPLAY *answer) { | ||
| 3114 | return This->lpVtbl->CanPlayType(This,audio_only,mime_type,answer); | ||
| 3115 | } | ||
| 3116 | static inline HRESULT IMFMediaEngineExtension_BeginCreateObject(IMFMediaEngineExtension* This,BSTR url,IMFByteStream *bytestream,MF_OBJECT_TYPE type,IUnknown **cancel_cookie,IMFAsyncCallback *callback,IUnknown *state) { | ||
| 3117 | return This->lpVtbl->BeginCreateObject(This,url,bytestream,type,cancel_cookie,callback,state); | ||
| 3118 | } | ||
| 3119 | static inline HRESULT IMFMediaEngineExtension_CancelObjectCreation(IMFMediaEngineExtension* This,IUnknown *cancel_cookie) { | ||
| 3120 | return This->lpVtbl->CancelObjectCreation(This,cancel_cookie); | ||
| 3121 | } | ||
| 3122 | static inline HRESULT IMFMediaEngineExtension_EndCreateObject(IMFMediaEngineExtension* This,IMFAsyncResult *result,IUnknown **object) { | ||
| 3123 | return This->lpVtbl->EndCreateObject(This,result,object); | ||
| 3124 | } | ||
| 3125 | #endif | ||
| 3126 | #endif | ||
| 3127 | |||
| 3128 | #endif | ||
| 3129 | |||
| 3130 | |||
| 3131 | #endif /* __IMFMediaEngineExtension_INTERFACE_DEFINED__ */ | ||
| 3132 | |||
| 3133 | /***************************************************************************** | ||
| 3134 | * IMFMediaKeySessionNotify interface | ||
| 3135 | */ | ||
| 3136 | #ifndef __IMFMediaKeySessionNotify_INTERFACE_DEFINED__ | ||
| 3137 | #define __IMFMediaKeySessionNotify_INTERFACE_DEFINED__ | ||
| 3138 | |||
| 3139 | DEFINE_GUID(IID_IMFMediaKeySessionNotify, 0x6a0083f9, 0x8947, 0x4c1d, 0x9c,0xe0, 0xcd,0xee,0x22,0xb2,0x31,0x35); | ||
| 3140 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 3141 | MIDL_INTERFACE("6a0083f9-8947-4c1d-9ce0-cdee22b23135") | ||
| 3142 | IMFMediaKeySessionNotify : public IUnknown | ||
| 3143 | { | ||
| 3144 | virtual void STDMETHODCALLTYPE KeyMessage( | ||
| 3145 | BSTR destination_url, | ||
| 3146 | const BYTE *message, | ||
| 3147 | DWORD message_len) = 0; | ||
| 3148 | |||
| 3149 | virtual void STDMETHODCALLTYPE KeyAdded( | ||
| 3150 | ) = 0; | ||
| 3151 | |||
| 3152 | virtual void STDMETHODCALLTYPE KeyError( | ||
| 3153 | USHORT code, | ||
| 3154 | DWORD system_code) = 0; | ||
| 3155 | |||
| 3156 | }; | ||
| 3157 | #ifdef __CRT_UUID_DECL | ||
| 3158 | __CRT_UUID_DECL(IMFMediaKeySessionNotify, 0x6a0083f9, 0x8947, 0x4c1d, 0x9c,0xe0, 0xcd,0xee,0x22,0xb2,0x31,0x35) | ||
| 3159 | #endif | ||
| 3160 | #else | ||
| 3161 | typedef struct IMFMediaKeySessionNotifyVtbl { | ||
| 3162 | BEGIN_INTERFACE | ||
| 3163 | |||
| 3164 | /*** IUnknown methods ***/ | ||
| 3165 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 3166 | IMFMediaKeySessionNotify *This, | ||
| 3167 | REFIID riid, | ||
| 3168 | void **ppvObject); | ||
| 3169 | |||
| 3170 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 3171 | IMFMediaKeySessionNotify *This); | ||
| 3172 | |||
| 3173 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 3174 | IMFMediaKeySessionNotify *This); | ||
| 3175 | |||
| 3176 | /*** IMFMediaKeySessionNotify methods ***/ | ||
| 3177 | void (STDMETHODCALLTYPE *KeyMessage)( | ||
| 3178 | IMFMediaKeySessionNotify *This, | ||
| 3179 | BSTR destination_url, | ||
| 3180 | const BYTE *message, | ||
| 3181 | DWORD message_len); | ||
| 3182 | |||
| 3183 | void (STDMETHODCALLTYPE *KeyAdded)( | ||
| 3184 | IMFMediaKeySessionNotify *This); | ||
| 3185 | |||
| 3186 | void (STDMETHODCALLTYPE *KeyError)( | ||
| 3187 | IMFMediaKeySessionNotify *This, | ||
| 3188 | USHORT code, | ||
| 3189 | DWORD system_code); | ||
| 3190 | |||
| 3191 | END_INTERFACE | ||
| 3192 | } IMFMediaKeySessionNotifyVtbl; | ||
| 3193 | |||
| 3194 | interface IMFMediaKeySessionNotify { | ||
| 3195 | CONST_VTBL IMFMediaKeySessionNotifyVtbl* lpVtbl; | ||
| 3196 | }; | ||
| 3197 | |||
| 3198 | #ifdef COBJMACROS | ||
| 3199 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 3200 | /*** IUnknown methods ***/ | ||
| 3201 | #define IMFMediaKeySessionNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 3202 | #define IMFMediaKeySessionNotify_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 3203 | #define IMFMediaKeySessionNotify_Release(This) (This)->lpVtbl->Release(This) | ||
| 3204 | /*** IMFMediaKeySessionNotify methods ***/ | ||
| 3205 | #define IMFMediaKeySessionNotify_KeyMessage(This,destination_url,message,message_len) (This)->lpVtbl->KeyMessage(This,destination_url,message,message_len) | ||
| 3206 | #define IMFMediaKeySessionNotify_KeyAdded(This) (This)->lpVtbl->KeyAdded(This) | ||
| 3207 | #define IMFMediaKeySessionNotify_KeyError(This,code,system_code) (This)->lpVtbl->KeyError(This,code,system_code) | ||
| 3208 | #else | ||
| 3209 | /*** IUnknown methods ***/ | ||
| 3210 | static inline HRESULT IMFMediaKeySessionNotify_QueryInterface(IMFMediaKeySessionNotify* This,REFIID riid,void **ppvObject) { | ||
| 3211 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 3212 | } | ||
| 3213 | static inline ULONG IMFMediaKeySessionNotify_AddRef(IMFMediaKeySessionNotify* This) { | ||
| 3214 | return This->lpVtbl->AddRef(This); | ||
| 3215 | } | ||
| 3216 | static inline ULONG IMFMediaKeySessionNotify_Release(IMFMediaKeySessionNotify* This) { | ||
| 3217 | return This->lpVtbl->Release(This); | ||
| 3218 | } | ||
| 3219 | /*** IMFMediaKeySessionNotify methods ***/ | ||
| 3220 | static inline void IMFMediaKeySessionNotify_KeyMessage(IMFMediaKeySessionNotify* This,BSTR destination_url,const BYTE *message,DWORD message_len) { | ||
| 3221 | This->lpVtbl->KeyMessage(This,destination_url,message,message_len); | ||
| 3222 | } | ||
| 3223 | static inline void IMFMediaKeySessionNotify_KeyAdded(IMFMediaKeySessionNotify* This) { | ||
| 3224 | This->lpVtbl->KeyAdded(This); | ||
| 3225 | } | ||
| 3226 | static inline void IMFMediaKeySessionNotify_KeyError(IMFMediaKeySessionNotify* This,USHORT code,DWORD system_code) { | ||
| 3227 | This->lpVtbl->KeyError(This,code,system_code); | ||
| 3228 | } | ||
| 3229 | #endif | ||
| 3230 | #endif | ||
| 3231 | |||
| 3232 | #endif | ||
| 3233 | |||
| 3234 | |||
| 3235 | #endif /* __IMFMediaKeySessionNotify_INTERFACE_DEFINED__ */ | ||
| 3236 | |||
| 3237 | /***************************************************************************** | ||
| 3238 | * IMFMediaKeySession interface | ||
| 3239 | */ | ||
| 3240 | #ifndef __IMFMediaKeySession_INTERFACE_DEFINED__ | ||
| 3241 | #define __IMFMediaKeySession_INTERFACE_DEFINED__ | ||
| 3242 | |||
| 3243 | DEFINE_GUID(IID_IMFMediaKeySession, 0x24fa67d5, 0xd1d0, 0x4dc5, 0x99,0x5c, 0xc0,0xef,0xdc,0x19,0x1f,0xb5); | ||
| 3244 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 3245 | MIDL_INTERFACE("24fa67d5-d1d0-4dc5-995c-c0efdc191fb5") | ||
| 3246 | IMFMediaKeySession : public IUnknown | ||
| 3247 | { | ||
| 3248 | virtual HRESULT STDMETHODCALLTYPE GetError( | ||
| 3249 | USHORT *code, | ||
| 3250 | DWORD *system_code) = 0; | ||
| 3251 | |||
| 3252 | virtual HRESULT STDMETHODCALLTYPE get_KeySystem( | ||
| 3253 | BSTR *key_system) = 0; | ||
| 3254 | |||
| 3255 | virtual HRESULT STDMETHODCALLTYPE get_SessionId( | ||
| 3256 | BSTR *session_id) = 0; | ||
| 3257 | |||
| 3258 | virtual HRESULT STDMETHODCALLTYPE Update( | ||
| 3259 | const BYTE *key, | ||
| 3260 | DWORD key_len) = 0; | ||
| 3261 | |||
| 3262 | virtual HRESULT STDMETHODCALLTYPE Close( | ||
| 3263 | ) = 0; | ||
| 3264 | |||
| 3265 | }; | ||
| 3266 | #ifdef __CRT_UUID_DECL | ||
| 3267 | __CRT_UUID_DECL(IMFMediaKeySession, 0x24fa67d5, 0xd1d0, 0x4dc5, 0x99,0x5c, 0xc0,0xef,0xdc,0x19,0x1f,0xb5) | ||
| 3268 | #endif | ||
| 3269 | #else | ||
| 3270 | typedef struct IMFMediaKeySessionVtbl { | ||
| 3271 | BEGIN_INTERFACE | ||
| 3272 | |||
| 3273 | /*** IUnknown methods ***/ | ||
| 3274 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 3275 | IMFMediaKeySession *This, | ||
| 3276 | REFIID riid, | ||
| 3277 | void **ppvObject); | ||
| 3278 | |||
| 3279 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 3280 | IMFMediaKeySession *This); | ||
| 3281 | |||
| 3282 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 3283 | IMFMediaKeySession *This); | ||
| 3284 | |||
| 3285 | /*** IMFMediaKeySession methods ***/ | ||
| 3286 | HRESULT (STDMETHODCALLTYPE *GetError)( | ||
| 3287 | IMFMediaKeySession *This, | ||
| 3288 | USHORT *code, | ||
| 3289 | DWORD *system_code); | ||
| 3290 | |||
| 3291 | HRESULT (STDMETHODCALLTYPE *get_KeySystem)( | ||
| 3292 | IMFMediaKeySession *This, | ||
| 3293 | BSTR *key_system); | ||
| 3294 | |||
| 3295 | HRESULT (STDMETHODCALLTYPE *get_SessionId)( | ||
| 3296 | IMFMediaKeySession *This, | ||
| 3297 | BSTR *session_id); | ||
| 3298 | |||
| 3299 | HRESULT (STDMETHODCALLTYPE *Update)( | ||
| 3300 | IMFMediaKeySession *This, | ||
| 3301 | const BYTE *key, | ||
| 3302 | DWORD key_len); | ||
| 3303 | |||
| 3304 | HRESULT (STDMETHODCALLTYPE *Close)( | ||
| 3305 | IMFMediaKeySession *This); | ||
| 3306 | |||
| 3307 | END_INTERFACE | ||
| 3308 | } IMFMediaKeySessionVtbl; | ||
| 3309 | |||
| 3310 | interface IMFMediaKeySession { | ||
| 3311 | CONST_VTBL IMFMediaKeySessionVtbl* lpVtbl; | ||
| 3312 | }; | ||
| 3313 | |||
| 3314 | #ifdef COBJMACROS | ||
| 3315 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 3316 | /*** IUnknown methods ***/ | ||
| 3317 | #define IMFMediaKeySession_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 3318 | #define IMFMediaKeySession_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 3319 | #define IMFMediaKeySession_Release(This) (This)->lpVtbl->Release(This) | ||
| 3320 | /*** IMFMediaKeySession methods ***/ | ||
| 3321 | #define IMFMediaKeySession_GetError(This,code,system_code) (This)->lpVtbl->GetError(This,code,system_code) | ||
| 3322 | #define IMFMediaKeySession_get_KeySystem(This,key_system) (This)->lpVtbl->get_KeySystem(This,key_system) | ||
| 3323 | #define IMFMediaKeySession_get_SessionId(This,session_id) (This)->lpVtbl->get_SessionId(This,session_id) | ||
| 3324 | #define IMFMediaKeySession_Update(This,key,key_len) (This)->lpVtbl->Update(This,key,key_len) | ||
| 3325 | #define IMFMediaKeySession_Close(This) (This)->lpVtbl->Close(This) | ||
| 3326 | #else | ||
| 3327 | /*** IUnknown methods ***/ | ||
| 3328 | static inline HRESULT IMFMediaKeySession_QueryInterface(IMFMediaKeySession* This,REFIID riid,void **ppvObject) { | ||
| 3329 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 3330 | } | ||
| 3331 | static inline ULONG IMFMediaKeySession_AddRef(IMFMediaKeySession* This) { | ||
| 3332 | return This->lpVtbl->AddRef(This); | ||
| 3333 | } | ||
| 3334 | static inline ULONG IMFMediaKeySession_Release(IMFMediaKeySession* This) { | ||
| 3335 | return This->lpVtbl->Release(This); | ||
| 3336 | } | ||
| 3337 | /*** IMFMediaKeySession methods ***/ | ||
| 3338 | static inline HRESULT IMFMediaKeySession_GetError(IMFMediaKeySession* This,USHORT *code,DWORD *system_code) { | ||
| 3339 | return This->lpVtbl->GetError(This,code,system_code); | ||
| 3340 | } | ||
| 3341 | static inline HRESULT IMFMediaKeySession_get_KeySystem(IMFMediaKeySession* This,BSTR *key_system) { | ||
| 3342 | return This->lpVtbl->get_KeySystem(This,key_system); | ||
| 3343 | } | ||
| 3344 | static inline HRESULT IMFMediaKeySession_get_SessionId(IMFMediaKeySession* This,BSTR *session_id) { | ||
| 3345 | return This->lpVtbl->get_SessionId(This,session_id); | ||
| 3346 | } | ||
| 3347 | static inline HRESULT IMFMediaKeySession_Update(IMFMediaKeySession* This,const BYTE *key,DWORD key_len) { | ||
| 3348 | return This->lpVtbl->Update(This,key,key_len); | ||
| 3349 | } | ||
| 3350 | static inline HRESULT IMFMediaKeySession_Close(IMFMediaKeySession* This) { | ||
| 3351 | return This->lpVtbl->Close(This); | ||
| 3352 | } | ||
| 3353 | #endif | ||
| 3354 | #endif | ||
| 3355 | |||
| 3356 | #endif | ||
| 3357 | |||
| 3358 | |||
| 3359 | #endif /* __IMFMediaKeySession_INTERFACE_DEFINED__ */ | ||
| 3360 | |||
| 3361 | /***************************************************************************** | ||
| 3362 | * IMFCdmSuspendNotify interface | ||
| 3363 | */ | ||
| 3364 | #ifndef __IMFCdmSuspendNotify_INTERFACE_DEFINED__ | ||
| 3365 | #define __IMFCdmSuspendNotify_INTERFACE_DEFINED__ | ||
| 3366 | |||
| 3367 | DEFINE_GUID(IID_IMFCdmSuspendNotify, 0x7a5645d2, 0x43bd, 0x47fd, 0x87,0xb7, 0xdc,0xd2,0x4c,0xc7,0xd6,0x92); | ||
| 3368 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 3369 | MIDL_INTERFACE("7a5645d2-43bd-47fd-87b7-dcd24cc7d692") | ||
| 3370 | IMFCdmSuspendNotify : public IUnknown | ||
| 3371 | { | ||
| 3372 | virtual HRESULT STDMETHODCALLTYPE Begin( | ||
| 3373 | ) = 0; | ||
| 3374 | |||
| 3375 | virtual HRESULT STDMETHODCALLTYPE End( | ||
| 3376 | ) = 0; | ||
| 3377 | |||
| 3378 | }; | ||
| 3379 | #ifdef __CRT_UUID_DECL | ||
| 3380 | __CRT_UUID_DECL(IMFCdmSuspendNotify, 0x7a5645d2, 0x43bd, 0x47fd, 0x87,0xb7, 0xdc,0xd2,0x4c,0xc7,0xd6,0x92) | ||
| 3381 | #endif | ||
| 3382 | #else | ||
| 3383 | typedef struct IMFCdmSuspendNotifyVtbl { | ||
| 3384 | BEGIN_INTERFACE | ||
| 3385 | |||
| 3386 | /*** IUnknown methods ***/ | ||
| 3387 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 3388 | IMFCdmSuspendNotify *This, | ||
| 3389 | REFIID riid, | ||
| 3390 | void **ppvObject); | ||
| 3391 | |||
| 3392 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 3393 | IMFCdmSuspendNotify *This); | ||
| 3394 | |||
| 3395 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 3396 | IMFCdmSuspendNotify *This); | ||
| 3397 | |||
| 3398 | /*** IMFCdmSuspendNotify methods ***/ | ||
| 3399 | HRESULT (STDMETHODCALLTYPE *Begin)( | ||
| 3400 | IMFCdmSuspendNotify *This); | ||
| 3401 | |||
| 3402 | HRESULT (STDMETHODCALLTYPE *End)( | ||
| 3403 | IMFCdmSuspendNotify *This); | ||
| 3404 | |||
| 3405 | END_INTERFACE | ||
| 3406 | } IMFCdmSuspendNotifyVtbl; | ||
| 3407 | |||
| 3408 | interface IMFCdmSuspendNotify { | ||
| 3409 | CONST_VTBL IMFCdmSuspendNotifyVtbl* lpVtbl; | ||
| 3410 | }; | ||
| 3411 | |||
| 3412 | #ifdef COBJMACROS | ||
| 3413 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 3414 | /*** IUnknown methods ***/ | ||
| 3415 | #define IMFCdmSuspendNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 3416 | #define IMFCdmSuspendNotify_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 3417 | #define IMFCdmSuspendNotify_Release(This) (This)->lpVtbl->Release(This) | ||
| 3418 | /*** IMFCdmSuspendNotify methods ***/ | ||
| 3419 | #define IMFCdmSuspendNotify_Begin(This) (This)->lpVtbl->Begin(This) | ||
| 3420 | #define IMFCdmSuspendNotify_End(This) (This)->lpVtbl->End(This) | ||
| 3421 | #else | ||
| 3422 | /*** IUnknown methods ***/ | ||
| 3423 | static inline HRESULT IMFCdmSuspendNotify_QueryInterface(IMFCdmSuspendNotify* This,REFIID riid,void **ppvObject) { | ||
| 3424 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 3425 | } | ||
| 3426 | static inline ULONG IMFCdmSuspendNotify_AddRef(IMFCdmSuspendNotify* This) { | ||
| 3427 | return This->lpVtbl->AddRef(This); | ||
| 3428 | } | ||
| 3429 | static inline ULONG IMFCdmSuspendNotify_Release(IMFCdmSuspendNotify* This) { | ||
| 3430 | return This->lpVtbl->Release(This); | ||
| 3431 | } | ||
| 3432 | /*** IMFCdmSuspendNotify methods ***/ | ||
| 3433 | static inline HRESULT IMFCdmSuspendNotify_Begin(IMFCdmSuspendNotify* This) { | ||
| 3434 | return This->lpVtbl->Begin(This); | ||
| 3435 | } | ||
| 3436 | static inline HRESULT IMFCdmSuspendNotify_End(IMFCdmSuspendNotify* This) { | ||
| 3437 | return This->lpVtbl->End(This); | ||
| 3438 | } | ||
| 3439 | #endif | ||
| 3440 | #endif | ||
| 3441 | |||
| 3442 | #endif | ||
| 3443 | |||
| 3444 | |||
| 3445 | #endif /* __IMFCdmSuspendNotify_INTERFACE_DEFINED__ */ | ||
| 3446 | |||
| 3447 | /***************************************************************************** | ||
| 3448 | * IMFMediaKeys interface | ||
| 3449 | */ | ||
| 3450 | #ifndef __IMFMediaKeys_INTERFACE_DEFINED__ | ||
| 3451 | #define __IMFMediaKeys_INTERFACE_DEFINED__ | ||
| 3452 | |||
| 3453 | DEFINE_GUID(IID_IMFMediaKeys, 0x5cb31c05, 0x61ff, 0x418f, 0xaf,0xda, 0xca,0xaf,0x41,0x42,0x1a,0x38); | ||
| 3454 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 3455 | MIDL_INTERFACE("5cb31c05-61ff-418f-afda-caaf41421a38") | ||
| 3456 | IMFMediaKeys : public IUnknown | ||
| 3457 | { | ||
| 3458 | virtual HRESULT STDMETHODCALLTYPE CreateSession( | ||
| 3459 | BSTR mime_type, | ||
| 3460 | const BYTE *init_data, | ||
| 3461 | DWORD init_data_len, | ||
| 3462 | const BYTE *custom_data, | ||
| 3463 | DWORD custom_data_len, | ||
| 3464 | IMFMediaKeySessionNotify *notify, | ||
| 3465 | IMFMediaKeySession **session) = 0; | ||
| 3466 | |||
| 3467 | virtual HRESULT STDMETHODCALLTYPE get_KeySystem( | ||
| 3468 | BSTR *key_system) = 0; | ||
| 3469 | |||
| 3470 | virtual HRESULT STDMETHODCALLTYPE Shutdown( | ||
| 3471 | ) = 0; | ||
| 3472 | |||
| 3473 | virtual HRESULT STDMETHODCALLTYPE GetSuspendNotify( | ||
| 3474 | IMFCdmSuspendNotify **notify) = 0; | ||
| 3475 | |||
| 3476 | }; | ||
| 3477 | #ifdef __CRT_UUID_DECL | ||
| 3478 | __CRT_UUID_DECL(IMFMediaKeys, 0x5cb31c05, 0x61ff, 0x418f, 0xaf,0xda, 0xca,0xaf,0x41,0x42,0x1a,0x38) | ||
| 3479 | #endif | ||
| 3480 | #else | ||
| 3481 | typedef struct IMFMediaKeysVtbl { | ||
| 3482 | BEGIN_INTERFACE | ||
| 3483 | |||
| 3484 | /*** IUnknown methods ***/ | ||
| 3485 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 3486 | IMFMediaKeys *This, | ||
| 3487 | REFIID riid, | ||
| 3488 | void **ppvObject); | ||
| 3489 | |||
| 3490 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 3491 | IMFMediaKeys *This); | ||
| 3492 | |||
| 3493 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 3494 | IMFMediaKeys *This); | ||
| 3495 | |||
| 3496 | /*** IMFMediaKeys methods ***/ | ||
| 3497 | HRESULT (STDMETHODCALLTYPE *CreateSession)( | ||
| 3498 | IMFMediaKeys *This, | ||
| 3499 | BSTR mime_type, | ||
| 3500 | const BYTE *init_data, | ||
| 3501 | DWORD init_data_len, | ||
| 3502 | const BYTE *custom_data, | ||
| 3503 | DWORD custom_data_len, | ||
| 3504 | IMFMediaKeySessionNotify *notify, | ||
| 3505 | IMFMediaKeySession **session); | ||
| 3506 | |||
| 3507 | HRESULT (STDMETHODCALLTYPE *get_KeySystem)( | ||
| 3508 | IMFMediaKeys *This, | ||
| 3509 | BSTR *key_system); | ||
| 3510 | |||
| 3511 | HRESULT (STDMETHODCALLTYPE *Shutdown)( | ||
| 3512 | IMFMediaKeys *This); | ||
| 3513 | |||
| 3514 | HRESULT (STDMETHODCALLTYPE *GetSuspendNotify)( | ||
| 3515 | IMFMediaKeys *This, | ||
| 3516 | IMFCdmSuspendNotify **notify); | ||
| 3517 | |||
| 3518 | END_INTERFACE | ||
| 3519 | } IMFMediaKeysVtbl; | ||
| 3520 | |||
| 3521 | interface IMFMediaKeys { | ||
| 3522 | CONST_VTBL IMFMediaKeysVtbl* lpVtbl; | ||
| 3523 | }; | ||
| 3524 | |||
| 3525 | #ifdef COBJMACROS | ||
| 3526 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 3527 | /*** IUnknown methods ***/ | ||
| 3528 | #define IMFMediaKeys_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 3529 | #define IMFMediaKeys_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 3530 | #define IMFMediaKeys_Release(This) (This)->lpVtbl->Release(This) | ||
| 3531 | /*** IMFMediaKeys methods ***/ | ||
| 3532 | #define IMFMediaKeys_CreateSession(This,mime_type,init_data,init_data_len,custom_data,custom_data_len,notify,session) (This)->lpVtbl->CreateSession(This,mime_type,init_data,init_data_len,custom_data,custom_data_len,notify,session) | ||
| 3533 | #define IMFMediaKeys_get_KeySystem(This,key_system) (This)->lpVtbl->get_KeySystem(This,key_system) | ||
| 3534 | #define IMFMediaKeys_Shutdown(This) (This)->lpVtbl->Shutdown(This) | ||
| 3535 | #define IMFMediaKeys_GetSuspendNotify(This,notify) (This)->lpVtbl->GetSuspendNotify(This,notify) | ||
| 3536 | #else | ||
| 3537 | /*** IUnknown methods ***/ | ||
| 3538 | static inline HRESULT IMFMediaKeys_QueryInterface(IMFMediaKeys* This,REFIID riid,void **ppvObject) { | ||
| 3539 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 3540 | } | ||
| 3541 | static inline ULONG IMFMediaKeys_AddRef(IMFMediaKeys* This) { | ||
| 3542 | return This->lpVtbl->AddRef(This); | ||
| 3543 | } | ||
| 3544 | static inline ULONG IMFMediaKeys_Release(IMFMediaKeys* This) { | ||
| 3545 | return This->lpVtbl->Release(This); | ||
| 3546 | } | ||
| 3547 | /*** IMFMediaKeys methods ***/ | ||
| 3548 | static inline HRESULT IMFMediaKeys_CreateSession(IMFMediaKeys* This,BSTR mime_type,const BYTE *init_data,DWORD init_data_len,const BYTE *custom_data,DWORD custom_data_len,IMFMediaKeySessionNotify *notify,IMFMediaKeySession **session) { | ||
| 3549 | return This->lpVtbl->CreateSession(This,mime_type,init_data,init_data_len,custom_data,custom_data_len,notify,session); | ||
| 3550 | } | ||
| 3551 | static inline HRESULT IMFMediaKeys_get_KeySystem(IMFMediaKeys* This,BSTR *key_system) { | ||
| 3552 | return This->lpVtbl->get_KeySystem(This,key_system); | ||
| 3553 | } | ||
| 3554 | static inline HRESULT IMFMediaKeys_Shutdown(IMFMediaKeys* This) { | ||
| 3555 | return This->lpVtbl->Shutdown(This); | ||
| 3556 | } | ||
| 3557 | static inline HRESULT IMFMediaKeys_GetSuspendNotify(IMFMediaKeys* This,IMFCdmSuspendNotify **notify) { | ||
| 3558 | return This->lpVtbl->GetSuspendNotify(This,notify); | ||
| 3559 | } | ||
| 3560 | #endif | ||
| 3561 | #endif | ||
| 3562 | |||
| 3563 | #endif | ||
| 3564 | |||
| 3565 | |||
| 3566 | #endif /* __IMFMediaKeys_INTERFACE_DEFINED__ */ | ||
| 3567 | |||
| 3568 | /***************************************************************************** | ||
| 3569 | * IMFMediaEngineClassFactoryEx interface | ||
| 3570 | */ | ||
| 3571 | #ifndef __IMFMediaEngineClassFactoryEx_INTERFACE_DEFINED__ | ||
| 3572 | #define __IMFMediaEngineClassFactoryEx_INTERFACE_DEFINED__ | ||
| 3573 | |||
| 3574 | DEFINE_GUID(IID_IMFMediaEngineClassFactoryEx, 0xc56156c6, 0xea5b, 0x48a5, 0x9d,0xf8, 0xfb,0xe0,0x35,0xd0,0x92,0x9e); | ||
| 3575 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 3576 | MIDL_INTERFACE("c56156c6-ea5b-48a5-9df8-fbe035d0929e") | ||
| 3577 | IMFMediaEngineClassFactoryEx : public IMFMediaEngineClassFactory | ||
| 3578 | { | ||
| 3579 | virtual HRESULT STDMETHODCALLTYPE CreateMediaSourceExtension( | ||
| 3580 | DWORD flags, | ||
| 3581 | IMFAttributes *attr, | ||
| 3582 | IMFMediaSourceExtension **mse) = 0; | ||
| 3583 | |||
| 3584 | virtual HRESULT STDMETHODCALLTYPE CreateMediaKeys( | ||
| 3585 | BSTR key_system, | ||
| 3586 | BSTR cdm_store_path, | ||
| 3587 | IMFMediaKeys **keys) = 0; | ||
| 3588 | |||
| 3589 | virtual HRESULT STDMETHODCALLTYPE IsTypeSupported( | ||
| 3590 | BSTR type, | ||
| 3591 | BSTR key_system, | ||
| 3592 | WINBOOL *is_supported) = 0; | ||
| 3593 | |||
| 3594 | }; | ||
| 3595 | #ifdef __CRT_UUID_DECL | ||
| 3596 | __CRT_UUID_DECL(IMFMediaEngineClassFactoryEx, 0xc56156c6, 0xea5b, 0x48a5, 0x9d,0xf8, 0xfb,0xe0,0x35,0xd0,0x92,0x9e) | ||
| 3597 | #endif | ||
| 3598 | #else | ||
| 3599 | typedef struct IMFMediaEngineClassFactoryExVtbl { | ||
| 3600 | BEGIN_INTERFACE | ||
| 3601 | |||
| 3602 | /*** IUnknown methods ***/ | ||
| 3603 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 3604 | IMFMediaEngineClassFactoryEx *This, | ||
| 3605 | REFIID riid, | ||
| 3606 | void **ppvObject); | ||
| 3607 | |||
| 3608 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 3609 | IMFMediaEngineClassFactoryEx *This); | ||
| 3610 | |||
| 3611 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 3612 | IMFMediaEngineClassFactoryEx *This); | ||
| 3613 | |||
| 3614 | /*** IMFMediaEngineClassFactory methods ***/ | ||
| 3615 | HRESULT (STDMETHODCALLTYPE *CreateInstance)( | ||
| 3616 | IMFMediaEngineClassFactoryEx *This, | ||
| 3617 | DWORD flags, | ||
| 3618 | IMFAttributes *attributes, | ||
| 3619 | IMFMediaEngine **engine); | ||
| 3620 | |||
| 3621 | HRESULT (STDMETHODCALLTYPE *CreateTimeRange)( | ||
| 3622 | IMFMediaEngineClassFactoryEx *This, | ||
| 3623 | IMFMediaTimeRange **range); | ||
| 3624 | |||
| 3625 | HRESULT (STDMETHODCALLTYPE *CreateError)( | ||
| 3626 | IMFMediaEngineClassFactoryEx *This, | ||
| 3627 | IMFMediaError **error); | ||
| 3628 | |||
| 3629 | /*** IMFMediaEngineClassFactoryEx methods ***/ | ||
| 3630 | HRESULT (STDMETHODCALLTYPE *CreateMediaSourceExtension)( | ||
| 3631 | IMFMediaEngineClassFactoryEx *This, | ||
| 3632 | DWORD flags, | ||
| 3633 | IMFAttributes *attr, | ||
| 3634 | IMFMediaSourceExtension **mse); | ||
| 3635 | |||
| 3636 | HRESULT (STDMETHODCALLTYPE *CreateMediaKeys)( | ||
| 3637 | IMFMediaEngineClassFactoryEx *This, | ||
| 3638 | BSTR key_system, | ||
| 3639 | BSTR cdm_store_path, | ||
| 3640 | IMFMediaKeys **keys); | ||
| 3641 | |||
| 3642 | HRESULT (STDMETHODCALLTYPE *IsTypeSupported)( | ||
| 3643 | IMFMediaEngineClassFactoryEx *This, | ||
| 3644 | BSTR type, | ||
| 3645 | BSTR key_system, | ||
| 3646 | WINBOOL *is_supported); | ||
| 3647 | |||
| 3648 | END_INTERFACE | ||
| 3649 | } IMFMediaEngineClassFactoryExVtbl; | ||
| 3650 | |||
| 3651 | interface IMFMediaEngineClassFactoryEx { | ||
| 3652 | CONST_VTBL IMFMediaEngineClassFactoryExVtbl* lpVtbl; | ||
| 3653 | }; | ||
| 3654 | |||
| 3655 | #ifdef COBJMACROS | ||
| 3656 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 3657 | /*** IUnknown methods ***/ | ||
| 3658 | #define IMFMediaEngineClassFactoryEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 3659 | #define IMFMediaEngineClassFactoryEx_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 3660 | #define IMFMediaEngineClassFactoryEx_Release(This) (This)->lpVtbl->Release(This) | ||
| 3661 | /*** IMFMediaEngineClassFactory methods ***/ | ||
| 3662 | #define IMFMediaEngineClassFactoryEx_CreateInstance(This,flags,attributes,engine) (This)->lpVtbl->CreateInstance(This,flags,attributes,engine) | ||
| 3663 | #define IMFMediaEngineClassFactoryEx_CreateTimeRange(This,range) (This)->lpVtbl->CreateTimeRange(This,range) | ||
| 3664 | #define IMFMediaEngineClassFactoryEx_CreateError(This,error) (This)->lpVtbl->CreateError(This,error) | ||
| 3665 | /*** IMFMediaEngineClassFactoryEx methods ***/ | ||
| 3666 | #define IMFMediaEngineClassFactoryEx_CreateMediaSourceExtension(This,flags,attr,mse) (This)->lpVtbl->CreateMediaSourceExtension(This,flags,attr,mse) | ||
| 3667 | #define IMFMediaEngineClassFactoryEx_CreateMediaKeys(This,key_system,cdm_store_path,keys) (This)->lpVtbl->CreateMediaKeys(This,key_system,cdm_store_path,keys) | ||
| 3668 | #define IMFMediaEngineClassFactoryEx_IsTypeSupported(This,type,key_system,is_supported) (This)->lpVtbl->IsTypeSupported(This,type,key_system,is_supported) | ||
| 3669 | #else | ||
| 3670 | /*** IUnknown methods ***/ | ||
| 3671 | static inline HRESULT IMFMediaEngineClassFactoryEx_QueryInterface(IMFMediaEngineClassFactoryEx* This,REFIID riid,void **ppvObject) { | ||
| 3672 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 3673 | } | ||
| 3674 | static inline ULONG IMFMediaEngineClassFactoryEx_AddRef(IMFMediaEngineClassFactoryEx* This) { | ||
| 3675 | return This->lpVtbl->AddRef(This); | ||
| 3676 | } | ||
| 3677 | static inline ULONG IMFMediaEngineClassFactoryEx_Release(IMFMediaEngineClassFactoryEx* This) { | ||
| 3678 | return This->lpVtbl->Release(This); | ||
| 3679 | } | ||
| 3680 | /*** IMFMediaEngineClassFactory methods ***/ | ||
| 3681 | static inline HRESULT IMFMediaEngineClassFactoryEx_CreateInstance(IMFMediaEngineClassFactoryEx* This,DWORD flags,IMFAttributes *attributes,IMFMediaEngine **engine) { | ||
| 3682 | return This->lpVtbl->CreateInstance(This,flags,attributes,engine); | ||
| 3683 | } | ||
| 3684 | static inline HRESULT IMFMediaEngineClassFactoryEx_CreateTimeRange(IMFMediaEngineClassFactoryEx* This,IMFMediaTimeRange **range) { | ||
| 3685 | return This->lpVtbl->CreateTimeRange(This,range); | ||
| 3686 | } | ||
| 3687 | static inline HRESULT IMFMediaEngineClassFactoryEx_CreateError(IMFMediaEngineClassFactoryEx* This,IMFMediaError **error) { | ||
| 3688 | return This->lpVtbl->CreateError(This,error); | ||
| 3689 | } | ||
| 3690 | /*** IMFMediaEngineClassFactoryEx methods ***/ | ||
| 3691 | static inline HRESULT IMFMediaEngineClassFactoryEx_CreateMediaSourceExtension(IMFMediaEngineClassFactoryEx* This,DWORD flags,IMFAttributes *attr,IMFMediaSourceExtension **mse) { | ||
| 3692 | return This->lpVtbl->CreateMediaSourceExtension(This,flags,attr,mse); | ||
| 3693 | } | ||
| 3694 | static inline HRESULT IMFMediaEngineClassFactoryEx_CreateMediaKeys(IMFMediaEngineClassFactoryEx* This,BSTR key_system,BSTR cdm_store_path,IMFMediaKeys **keys) { | ||
| 3695 | return This->lpVtbl->CreateMediaKeys(This,key_system,cdm_store_path,keys); | ||
| 3696 | } | ||
| 3697 | static inline HRESULT IMFMediaEngineClassFactoryEx_IsTypeSupported(IMFMediaEngineClassFactoryEx* This,BSTR type,BSTR key_system,WINBOOL *is_supported) { | ||
| 3698 | return This->lpVtbl->IsTypeSupported(This,type,key_system,is_supported); | ||
| 3699 | } | ||
| 3700 | #endif | ||
| 3701 | #endif | ||
| 3702 | |||
| 3703 | #endif | ||
| 3704 | |||
| 3705 | |||
| 3706 | #endif /* __IMFMediaEngineClassFactoryEx_INTERFACE_DEFINED__ */ | ||
| 3707 | |||
| 3708 | /***************************************************************************** | ||
| 3709 | * IMFMediaEngineClassFactory2 interface | ||
| 3710 | */ | ||
| 3711 | #ifndef __IMFMediaEngineClassFactory2_INTERFACE_DEFINED__ | ||
| 3712 | #define __IMFMediaEngineClassFactory2_INTERFACE_DEFINED__ | ||
| 3713 | |||
| 3714 | DEFINE_GUID(IID_IMFMediaEngineClassFactory2, 0x09083cef, 0x867f, 0x4bf6, 0x87,0x76, 0xde,0xe3,0xa7,0xb4,0x2f,0xca); | ||
| 3715 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 3716 | MIDL_INTERFACE("09083cef-867f-4bf6-8776-dee3a7b42fca") | ||
| 3717 | IMFMediaEngineClassFactory2 : public IUnknown | ||
| 3718 | { | ||
| 3719 | virtual HRESULT STDMETHODCALLTYPE CreateMediaKeys2( | ||
| 3720 | BSTR key_system, | ||
| 3721 | BSTR default_cdm_store_path, | ||
| 3722 | BSTR inprivate_cdm_store_path, | ||
| 3723 | IMFMediaKeys **keys) = 0; | ||
| 3724 | |||
| 3725 | }; | ||
| 3726 | #ifdef __CRT_UUID_DECL | ||
| 3727 | __CRT_UUID_DECL(IMFMediaEngineClassFactory2, 0x09083cef, 0x867f, 0x4bf6, 0x87,0x76, 0xde,0xe3,0xa7,0xb4,0x2f,0xca) | ||
| 3728 | #endif | ||
| 3729 | #else | ||
| 3730 | typedef struct IMFMediaEngineClassFactory2Vtbl { | ||
| 3731 | BEGIN_INTERFACE | ||
| 3732 | |||
| 3733 | /*** IUnknown methods ***/ | ||
| 3734 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 3735 | IMFMediaEngineClassFactory2 *This, | ||
| 3736 | REFIID riid, | ||
| 3737 | void **ppvObject); | ||
| 3738 | |||
| 3739 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 3740 | IMFMediaEngineClassFactory2 *This); | ||
| 3741 | |||
| 3742 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 3743 | IMFMediaEngineClassFactory2 *This); | ||
| 3744 | |||
| 3745 | /*** IMFMediaEngineClassFactory2 methods ***/ | ||
| 3746 | HRESULT (STDMETHODCALLTYPE *CreateMediaKeys2)( | ||
| 3747 | IMFMediaEngineClassFactory2 *This, | ||
| 3748 | BSTR key_system, | ||
| 3749 | BSTR default_cdm_store_path, | ||
| 3750 | BSTR inprivate_cdm_store_path, | ||
| 3751 | IMFMediaKeys **keys); | ||
| 3752 | |||
| 3753 | END_INTERFACE | ||
| 3754 | } IMFMediaEngineClassFactory2Vtbl; | ||
| 3755 | |||
| 3756 | interface IMFMediaEngineClassFactory2 { | ||
| 3757 | CONST_VTBL IMFMediaEngineClassFactory2Vtbl* lpVtbl; | ||
| 3758 | }; | ||
| 3759 | |||
| 3760 | #ifdef COBJMACROS | ||
| 3761 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 3762 | /*** IUnknown methods ***/ | ||
| 3763 | #define IMFMediaEngineClassFactory2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 3764 | #define IMFMediaEngineClassFactory2_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 3765 | #define IMFMediaEngineClassFactory2_Release(This) (This)->lpVtbl->Release(This) | ||
| 3766 | /*** IMFMediaEngineClassFactory2 methods ***/ | ||
| 3767 | #define IMFMediaEngineClassFactory2_CreateMediaKeys2(This,key_system,default_cdm_store_path,inprivate_cdm_store_path,keys) (This)->lpVtbl->CreateMediaKeys2(This,key_system,default_cdm_store_path,inprivate_cdm_store_path,keys) | ||
| 3768 | #else | ||
| 3769 | /*** IUnknown methods ***/ | ||
| 3770 | static inline HRESULT IMFMediaEngineClassFactory2_QueryInterface(IMFMediaEngineClassFactory2* This,REFIID riid,void **ppvObject) { | ||
| 3771 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 3772 | } | ||
| 3773 | static inline ULONG IMFMediaEngineClassFactory2_AddRef(IMFMediaEngineClassFactory2* This) { | ||
| 3774 | return This->lpVtbl->AddRef(This); | ||
| 3775 | } | ||
| 3776 | static inline ULONG IMFMediaEngineClassFactory2_Release(IMFMediaEngineClassFactory2* This) { | ||
| 3777 | return This->lpVtbl->Release(This); | ||
| 3778 | } | ||
| 3779 | /*** IMFMediaEngineClassFactory2 methods ***/ | ||
| 3780 | static inline HRESULT IMFMediaEngineClassFactory2_CreateMediaKeys2(IMFMediaEngineClassFactory2* This,BSTR key_system,BSTR default_cdm_store_path,BSTR inprivate_cdm_store_path,IMFMediaKeys **keys) { | ||
| 3781 | return This->lpVtbl->CreateMediaKeys2(This,key_system,default_cdm_store_path,inprivate_cdm_store_path,keys); | ||
| 3782 | } | ||
| 3783 | #endif | ||
| 3784 | #endif | ||
| 3785 | |||
| 3786 | #endif | ||
| 3787 | |||
| 3788 | |||
| 3789 | #endif /* __IMFMediaEngineClassFactory2_INTERFACE_DEFINED__ */ | ||
| 2358 | 3790 | ||
| 2359 | /* Begin additional prototypes for all interfaces */ | 3791 | /* Begin additional prototypes for all interfaces */ |
| 2360 | 3792 |
lib/libc/include/any-windows-any/mfobjects.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/mfobjects.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/mfplay.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/mfreadwrite.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/mftransform.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/mmdeviceapi.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/mmstream.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/mpeg2data.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/mpeg2data.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 from include/mpeg2data.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/mpeg2structs.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/mpeg2structs.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 from include/mpeg2structs.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/mscoree.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/mscoree.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/msctf.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/mshtmhst.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/mshtml.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/msinkaut.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from msinkaut.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/msopc.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/mswsock.h+18| ... | @@ -36,6 +36,7 @@ extern "C" { | ... | @@ -36,6 +36,7 @@ extern "C" { |
| 36 | #define TCP_BSDURGENT 0x7000 | 36 | #define TCP_BSDURGENT 0x7000 |
| 37 | 37 | ||
| 38 | #define SIO_UDP_CONNRESET _WSAIOW(IOC_VENDOR,12) | 38 | #define SIO_UDP_CONNRESET _WSAIOW(IOC_VENDOR,12) |
| 39 | #define SIO_UDP_NETRESET _WSAIOW(IOC_VENDOR,15) | ||
| 39 | #if (_WIN32_WINNT < 0x0600) && (_WIN32_WINNT >= 0x0501) | 40 | #if (_WIN32_WINNT < 0x0600) && (_WIN32_WINNT >= 0x0501) |
| 40 | #define SIO_SOCKET_CLOSE_NOTIFY _WSAIOW(IOC_VENDOR,13) | 41 | #define SIO_SOCKET_CLOSE_NOTIFY _WSAIOW(IOC_VENDOR,13) |
| 41 | #endif /* >= XP && < VISTA */ | 42 | #endif /* >= XP && < VISTA */ |
| ... | @@ -167,12 +168,20 @@ extern "C" { | ... | @@ -167,12 +168,20 @@ extern "C" { |
| 167 | } data; | 168 | } data; |
| 168 | } NLA_BLOB,*PNLA_BLOB,*LPNLA_BLOB; | 169 | } NLA_BLOB,*PNLA_BLOB,*LPNLA_BLOB; |
| 169 | 170 | ||
| 171 | #if (_WIN32_WINNT >= 0x0600) | ||
| 172 | #define _WSACMSGHDR cmsghdr | ||
| 173 | #endif | ||
| 174 | |||
| 170 | typedef struct _WSACMSGHDR { | 175 | typedef struct _WSACMSGHDR { |
| 171 | SIZE_T cmsg_len; | 176 | SIZE_T cmsg_len; |
| 172 | INT cmsg_level; | 177 | INT cmsg_level; |
| 173 | INT cmsg_type; | 178 | INT cmsg_type; |
| 174 | } WSACMSGHDR,*PWSACMSGHDR,*LPWSACMSGHDR; | 179 | } WSACMSGHDR,*PWSACMSGHDR,*LPWSACMSGHDR; |
| 175 | 180 | ||
| 181 | #if (_WIN32_WINNT >= 0x0600) | ||
| 182 | typedef WSACMSGHDR CMSGHDR, *PCMSGHDR; | ||
| 183 | #endif | ||
| 184 | |||
| 176 | #define WSA_CMSGHDR_ALIGN(length) (((length) + TYPE_ALIGNMENT(WSACMSGHDR)-1) & (~(TYPE_ALIGNMENT(WSACMSGHDR)-1))) | 185 | #define WSA_CMSGHDR_ALIGN(length) (((length) + TYPE_ALIGNMENT(WSACMSGHDR)-1) & (~(TYPE_ALIGNMENT(WSACMSGHDR)-1))) |
| 177 | #define WSA_CMSGDATA_ALIGN(length) (((length) + MAX_NATURAL_ALIGNMENT-1) & (~(MAX_NATURAL_ALIGNMENT-1))) | 186 | #define WSA_CMSGDATA_ALIGN(length) (((length) + MAX_NATURAL_ALIGNMENT-1) & (~(MAX_NATURAL_ALIGNMENT-1))) |
| 178 | #define WSA_CMSG_FIRSTHDR(msg) (((msg)->Control.len >= sizeof(WSACMSGHDR)) ? (LPWSACMSGHDR)(msg)->Control.buf : (LPWSACMSGHDR)NULL) | 187 | #define WSA_CMSG_FIRSTHDR(msg) (((msg)->Control.len >= sizeof(WSACMSGHDR)) ? (LPWSACMSGHDR)(msg)->Control.buf : (LPWSACMSGHDR)NULL) |
| ... | @@ -181,6 +190,15 @@ extern "C" { | ... | @@ -181,6 +190,15 @@ extern "C" { |
| 181 | #define WSA_CMSG_SPACE(length) (WSA_CMSGDATA_ALIGN(sizeof(WSACMSGHDR) + WSA_CMSGHDR_ALIGN(length))) | 190 | #define WSA_CMSG_SPACE(length) (WSA_CMSGDATA_ALIGN(sizeof(WSACMSGHDR) + WSA_CMSGHDR_ALIGN(length))) |
| 182 | #define WSA_CMSG_LEN(length) (WSA_CMSGDATA_ALIGN(sizeof(WSACMSGHDR)) + length) | 191 | #define WSA_CMSG_LEN(length) (WSA_CMSGDATA_ALIGN(sizeof(WSACMSGHDR)) + length) |
| 183 | 192 | ||
| 193 | #if (_WIN32_WINNT >= 0x0600) | ||
| 194 | #define CMSGHDR_ALIGN WSA_CMSGHDR_ALIGN | ||
| 195 | #define CMSGDATA_ALIGN WSA_CMSGDATA_ALIGN | ||
| 196 | #define CMSG_FIRSTHDR WSA_CMSG_FIRSTHDR | ||
| 197 | #define CMSG_NXTHDR WSA_CMSG_NXTHDR | ||
| 198 | #define CMSG_SPACE WSA_CMSG_SPACE | ||
| 199 | #define CMSG_LEN WSA_CMSG_LEN | ||
| 200 | #endif | ||
| 201 | |||
| 184 | #define MSG_TRUNC 0x0100 | 202 | #define MSG_TRUNC 0x0100 |
| 185 | #define MSG_CTRUNC 0x0200 | 203 | #define MSG_CTRUNC 0x0200 |
| 186 | #define MSG_BCAST 0x0400 | 204 | #define MSG_BCAST 0x0400 |
lib/libc/include/any-windows-any/msxml.h+6-6| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/msxml.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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__ |
| ... | @@ -9211,7 +9211,7 @@ IXMLDocument : public IDispatch | ... | @@ -9211,7 +9211,7 @@ IXMLDocument : public IDispatch |
| 9211 | virtual HRESULT STDMETHODCALLTYPE get_doctype( | 9211 | virtual HRESULT STDMETHODCALLTYPE get_doctype( |
| 9212 | BSTR *p) = 0; | 9212 | BSTR *p) = 0; |
| 9213 | 9213 | ||
| 9214 | virtual HRESULT STDMETHODCALLTYPE get_dtdURl( | 9214 | virtual HRESULT STDMETHODCALLTYPE get_dtdURL( |
| 9215 | BSTR *p) = 0; | 9215 | BSTR *p) = 0; |
| 9216 | 9216 | ||
| 9217 | virtual HRESULT STDMETHODCALLTYPE createElement( | 9217 | virtual HRESULT STDMETHODCALLTYPE createElement( |
| ... | @@ -9318,7 +9318,7 @@ typedef struct IXMLDocumentVtbl { | ... | @@ -9318,7 +9318,7 @@ typedef struct IXMLDocumentVtbl { |
| 9318 | IXMLDocument *This, | 9318 | IXMLDocument *This, |
| 9319 | BSTR *p); | 9319 | BSTR *p); |
| 9320 | 9320 | ||
| 9321 | HRESULT (STDMETHODCALLTYPE *get_dtdURl)( | 9321 | HRESULT (STDMETHODCALLTYPE *get_dtdURL)( |
| 9322 | IXMLDocument *This, | 9322 | IXMLDocument *This, |
| 9323 | BSTR *p); | 9323 | BSTR *p); |
| 9324 | 9324 | ||
| ... | @@ -9359,7 +9359,7 @@ interface IXMLDocument { | ... | @@ -9359,7 +9359,7 @@ interface IXMLDocument { |
| 9359 | #define IXMLDocument_put_charset(This,p) (This)->lpVtbl->put_charset(This,p) | 9359 | #define IXMLDocument_put_charset(This,p) (This)->lpVtbl->put_charset(This,p) |
| 9360 | #define IXMLDocument_get_version(This,p) (This)->lpVtbl->get_version(This,p) | 9360 | #define IXMLDocument_get_version(This,p) (This)->lpVtbl->get_version(This,p) |
| 9361 | #define IXMLDocument_get_doctype(This,p) (This)->lpVtbl->get_doctype(This,p) | 9361 | #define IXMLDocument_get_doctype(This,p) (This)->lpVtbl->get_doctype(This,p) |
| 9362 | #define IXMLDocument_get_dtdURl(This,p) (This)->lpVtbl->get_dtdURl(This,p) | 9362 | #define IXMLDocument_get_dtdURL(This,p) (This)->lpVtbl->get_dtdURL(This,p) |
| 9363 | #define IXMLDocument_createElement(This,vType,var1,ppElem) (This)->lpVtbl->createElement(This,vType,var1,ppElem) | 9363 | #define IXMLDocument_createElement(This,vType,var1,ppElem) (This)->lpVtbl->createElement(This,vType,var1,ppElem) |
| 9364 | #else | 9364 | #else |
| 9365 | /*** IUnknown methods ***/ | 9365 | /*** IUnknown methods ***/ |
| ... | @@ -9422,8 +9422,8 @@ static inline HRESULT IXMLDocument_get_version(IXMLDocument* This,BSTR *p) { | ... | @@ -9422,8 +9422,8 @@ static inline HRESULT IXMLDocument_get_version(IXMLDocument* This,BSTR *p) { |
| 9422 | static inline HRESULT IXMLDocument_get_doctype(IXMLDocument* This,BSTR *p) { | 9422 | static inline HRESULT IXMLDocument_get_doctype(IXMLDocument* This,BSTR *p) { |
| 9423 | return This->lpVtbl->get_doctype(This,p); | 9423 | return This->lpVtbl->get_doctype(This,p); |
| 9424 | } | 9424 | } |
| 9425 | static inline HRESULT IXMLDocument_get_dtdURl(IXMLDocument* This,BSTR *p) { | 9425 | static inline HRESULT IXMLDocument_get_dtdURL(IXMLDocument* This,BSTR *p) { |
| 9426 | return This->lpVtbl->get_dtdURl(This,p); | 9426 | return This->lpVtbl->get_dtdURL(This,p); |
| 9427 | } | 9427 | } |
| 9428 | static inline HRESULT IXMLDocument_createElement(IXMLDocument* This,VARIANT vType,VARIANT var1,IXMLElement **ppElem) { | 9428 | static inline HRESULT IXMLDocument_createElement(IXMLDocument* This,VARIANT vType,VARIANT var1,IXMLElement **ppElem) { |
| 9429 | return This->lpVtbl->createElement(This,vType,var1,ppElem); | 9429 | return This->lpVtbl->createElement(This,vType,var1,ppElem); |
lib/libc/include/any-windows-any/msxml2.h+1-199| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/msxml2.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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__ |
| ... | @@ -370,15 +370,6 @@ typedef struct FreeThreadedDOMDocument40 FreeThreadedDOMDocument40; | ... | @@ -370,15 +370,6 @@ typedef struct FreeThreadedDOMDocument40 FreeThreadedDOMDocument40; |
| 370 | #endif /* defined __cplusplus */ | 370 | #endif /* defined __cplusplus */ |
| 371 | #endif /* defined __FreeThreadedDOMDocument40_FWD_DEFINED__ */ | 371 | #endif /* defined __FreeThreadedDOMDocument40_FWD_DEFINED__ */ |
| 372 | 372 | ||
| 373 | #ifndef __FreeThreadedDOMDocument60_FWD_DEFINED__ | ||
| 374 | #define __FreeThreadedDOMDocument60_FWD_DEFINED__ | ||
| 375 | #ifdef __cplusplus | ||
| 376 | typedef class FreeThreadedDOMDocument60 FreeThreadedDOMDocument60; | ||
| 377 | #else | ||
| 378 | typedef struct FreeThreadedDOMDocument60 FreeThreadedDOMDocument60; | ||
| 379 | #endif /* defined __cplusplus */ | ||
| 380 | #endif /* defined __FreeThreadedDOMDocument60_FWD_DEFINED__ */ | ||
| 381 | |||
| 382 | #ifndef __FreeThreadedDOMDocument_FWD_DEFINED__ | 373 | #ifndef __FreeThreadedDOMDocument_FWD_DEFINED__ |
| 383 | #define __FreeThreadedDOMDocument_FWD_DEFINED__ | 374 | #define __FreeThreadedDOMDocument_FWD_DEFINED__ |
| 384 | #ifdef __cplusplus | 375 | #ifdef __cplusplus |
| ... | @@ -415,15 +406,6 @@ typedef struct XMLHTTP40 XMLHTTP40; | ... | @@ -415,15 +406,6 @@ typedef struct XMLHTTP40 XMLHTTP40; |
| 415 | #endif /* defined __cplusplus */ | 406 | #endif /* defined __cplusplus */ |
| 416 | #endif /* defined __XMLHTTP40_FWD_DEFINED__ */ | 407 | #endif /* defined __XMLHTTP40_FWD_DEFINED__ */ |
| 417 | 408 | ||
| 418 | #ifndef __XMLHTTP60_FWD_DEFINED__ | ||
| 419 | #define __XMLHTTP60_FWD_DEFINED__ | ||
| 420 | #ifdef __cplusplus | ||
| 421 | typedef class XMLHTTP60 XMLHTTP60; | ||
| 422 | #else | ||
| 423 | typedef struct XMLHTTP60 XMLHTTP60; | ||
| 424 | #endif /* defined __cplusplus */ | ||
| 425 | #endif /* defined __XMLHTTP60_FWD_DEFINED__ */ | ||
| 426 | |||
| 427 | #ifndef __XMLHTTP_FWD_DEFINED__ | 409 | #ifndef __XMLHTTP_FWD_DEFINED__ |
| 428 | #define __XMLHTTP_FWD_DEFINED__ | 410 | #define __XMLHTTP_FWD_DEFINED__ |
| 429 | #ifdef __cplusplus | 411 | #ifdef __cplusplus |
| ... | @@ -451,15 +433,6 @@ typedef struct ServerXMLHTTP40 ServerXMLHTTP40; | ... | @@ -451,15 +433,6 @@ typedef struct ServerXMLHTTP40 ServerXMLHTTP40; |
| 451 | #endif /* defined __cplusplus */ | 433 | #endif /* defined __cplusplus */ |
| 452 | #endif /* defined __ServerXMLHTTP40_FWD_DEFINED__ */ | 434 | #endif /* defined __ServerXMLHTTP40_FWD_DEFINED__ */ |
| 453 | 435 | ||
| 454 | #ifndef __ServerXMLHTTP60_FWD_DEFINED__ | ||
| 455 | #define __ServerXMLHTTP60_FWD_DEFINED__ | ||
| 456 | #ifdef __cplusplus | ||
| 457 | typedef class ServerXMLHTTP60 ServerXMLHTTP60; | ||
| 458 | #else | ||
| 459 | typedef struct ServerXMLHTTP60 ServerXMLHTTP60; | ||
| 460 | #endif /* defined __cplusplus */ | ||
| 461 | #endif /* defined __ServerXMLHTTP60_FWD_DEFINED__ */ | ||
| 462 | |||
| 463 | #ifndef __ServerXMLHTTP_FWD_DEFINED__ | 436 | #ifndef __ServerXMLHTTP_FWD_DEFINED__ |
| 464 | #define __ServerXMLHTTP_FWD_DEFINED__ | 437 | #define __ServerXMLHTTP_FWD_DEFINED__ |
| 465 | #ifdef __cplusplus | 438 | #ifdef __cplusplus |
| ... | @@ -532,15 +505,6 @@ typedef struct XSLTemplate40 XSLTemplate40; | ... | @@ -532,15 +505,6 @@ typedef struct XSLTemplate40 XSLTemplate40; |
| 532 | #endif /* defined __cplusplus */ | 505 | #endif /* defined __cplusplus */ |
| 533 | #endif /* defined __XSLTemplate40_FWD_DEFINED__ */ | 506 | #endif /* defined __XSLTemplate40_FWD_DEFINED__ */ |
| 534 | 507 | ||
| 535 | #ifndef __XSLTemplate60_FWD_DEFINED__ | ||
| 536 | #define __XSLTemplate60_FWD_DEFINED__ | ||
| 537 | #ifdef __cplusplus | ||
| 538 | typedef class XSLTemplate60 XSLTemplate60; | ||
| 539 | #else | ||
| 540 | typedef struct XSLTemplate60 XSLTemplate60; | ||
| 541 | #endif /* defined __cplusplus */ | ||
| 542 | #endif /* defined __XSLTemplate60_FWD_DEFINED__ */ | ||
| 543 | |||
| 544 | #ifndef __XSLTemplate_FWD_DEFINED__ | 508 | #ifndef __XSLTemplate_FWD_DEFINED__ |
| 545 | #define __XSLTemplate_FWD_DEFINED__ | 509 | #define __XSLTemplate_FWD_DEFINED__ |
| 546 | #ifdef __cplusplus | 510 | #ifdef __cplusplus |
| ... | @@ -904,15 +868,6 @@ typedef struct SAXXMLReader40 SAXXMLReader40; | ... | @@ -904,15 +868,6 @@ typedef struct SAXXMLReader40 SAXXMLReader40; |
| 904 | #endif /* defined __cplusplus */ | 868 | #endif /* defined __cplusplus */ |
| 905 | #endif /* defined __SAXXMLReader40_FWD_DEFINED__ */ | 869 | #endif /* defined __SAXXMLReader40_FWD_DEFINED__ */ |
| 906 | 870 | ||
| 907 | #ifndef __SAXXMLReader60_FWD_DEFINED__ | ||
| 908 | #define __SAXXMLReader60_FWD_DEFINED__ | ||
| 909 | #ifdef __cplusplus | ||
| 910 | typedef class SAXXMLReader60 SAXXMLReader60; | ||
| 911 | #else | ||
| 912 | typedef struct SAXXMLReader60 SAXXMLReader60; | ||
| 913 | #endif /* defined __cplusplus */ | ||
| 914 | #endif /* defined __SAXXMLReader60_FWD_DEFINED__ */ | ||
| 915 | |||
| 916 | #ifndef __SAXXMLReader_FWD_DEFINED__ | 871 | #ifndef __SAXXMLReader_FWD_DEFINED__ |
| 917 | #define __SAXXMLReader_FWD_DEFINED__ | 872 | #define __SAXXMLReader_FWD_DEFINED__ |
| 918 | #ifdef __cplusplus | 873 | #ifdef __cplusplus |
| ... | @@ -949,15 +904,6 @@ typedef struct MXHTMLWriter40 MXHTMLWriter40; | ... | @@ -949,15 +904,6 @@ typedef struct MXHTMLWriter40 MXHTMLWriter40; |
| 949 | #endif /* defined __cplusplus */ | 904 | #endif /* defined __cplusplus */ |
| 950 | #endif /* defined __MXHTMLWriter40_FWD_DEFINED__ */ | 905 | #endif /* defined __MXHTMLWriter40_FWD_DEFINED__ */ |
| 951 | 906 | ||
| 952 | #ifndef __MXHTMLWriter60_FWD_DEFINED__ | ||
| 953 | #define __MXHTMLWriter60_FWD_DEFINED__ | ||
| 954 | #ifdef __cplusplus | ||
| 955 | typedef class MXHTMLWriter60 MXHTMLWriter60; | ||
| 956 | #else | ||
| 957 | typedef struct MXHTMLWriter60 MXHTMLWriter60; | ||
| 958 | #endif /* defined __cplusplus */ | ||
| 959 | #endif /* defined __MXHTMLWriter60_FWD_DEFINED__ */ | ||
| 960 | |||
| 961 | #ifndef __MXXMLWriter30_FWD_DEFINED__ | 907 | #ifndef __MXXMLWriter30_FWD_DEFINED__ |
| 962 | #define __MXXMLWriter30_FWD_DEFINED__ | 908 | #define __MXXMLWriter30_FWD_DEFINED__ |
| 963 | #ifdef __cplusplus | 909 | #ifdef __cplusplus |
| ... | @@ -976,15 +922,6 @@ typedef struct MXXMLWriter40 MXXMLWriter40; | ... | @@ -976,15 +922,6 @@ typedef struct MXXMLWriter40 MXXMLWriter40; |
| 976 | #endif /* defined __cplusplus */ | 922 | #endif /* defined __cplusplus */ |
| 977 | #endif /* defined __MXXMLWriter40_FWD_DEFINED__ */ | 923 | #endif /* defined __MXXMLWriter40_FWD_DEFINED__ */ |
| 978 | 924 | ||
| 979 | #ifndef __MXXMLWriter60_FWD_DEFINED__ | ||
| 980 | #define __MXXMLWriter60_FWD_DEFINED__ | ||
| 981 | #ifdef __cplusplus | ||
| 982 | typedef class MXXMLWriter60 MXXMLWriter60; | ||
| 983 | #else | ||
| 984 | typedef struct MXXMLWriter60 MXXMLWriter60; | ||
| 985 | #endif /* defined __cplusplus */ | ||
| 986 | #endif /* defined __MXXMLWriter60_FWD_DEFINED__ */ | ||
| 987 | |||
| 988 | #ifndef __MXXMLWriter_FWD_DEFINED__ | 925 | #ifndef __MXXMLWriter_FWD_DEFINED__ |
| 989 | #define __MXXMLWriter_FWD_DEFINED__ | 926 | #define __MXXMLWriter_FWD_DEFINED__ |
| 990 | #ifdef __cplusplus | 927 | #ifdef __cplusplus |
| ... | @@ -1012,15 +949,6 @@ typedef struct MXNamespaceManager40 MXNamespaceManager40; | ... | @@ -1012,15 +949,6 @@ typedef struct MXNamespaceManager40 MXNamespaceManager40; |
| 1012 | #endif /* defined __cplusplus */ | 949 | #endif /* defined __cplusplus */ |
| 1013 | #endif /* defined __MXNamespaceManager40_FWD_DEFINED__ */ | 950 | #endif /* defined __MXNamespaceManager40_FWD_DEFINED__ */ |
| 1014 | 951 | ||
| 1015 | #ifndef __MXNamespaceManager60_FWD_DEFINED__ | ||
| 1016 | #define __MXNamespaceManager60_FWD_DEFINED__ | ||
| 1017 | #ifdef __cplusplus | ||
| 1018 | typedef class MXNamespaceManager60 MXNamespaceManager60; | ||
| 1019 | #else | ||
| 1020 | typedef struct MXNamespaceManager60 MXNamespaceManager60; | ||
| 1021 | #endif /* defined __cplusplus */ | ||
| 1022 | #endif /* defined __MXNamespaceManager60_FWD_DEFINED__ */ | ||
| 1023 | |||
| 1024 | #ifndef __SAXAttributes30_FWD_DEFINED__ | 952 | #ifndef __SAXAttributes30_FWD_DEFINED__ |
| 1025 | #define __SAXAttributes30_FWD_DEFINED__ | 953 | #define __SAXAttributes30_FWD_DEFINED__ |
| 1026 | #ifdef __cplusplus | 954 | #ifdef __cplusplus |
| ... | @@ -1039,15 +967,6 @@ typedef struct SAXAttributes40 SAXAttributes40; | ... | @@ -1039,15 +967,6 @@ typedef struct SAXAttributes40 SAXAttributes40; |
| 1039 | #endif /* defined __cplusplus */ | 967 | #endif /* defined __cplusplus */ |
| 1040 | #endif /* defined __SAXAttributes40_FWD_DEFINED__ */ | 968 | #endif /* defined __SAXAttributes40_FWD_DEFINED__ */ |
| 1041 | 969 | ||
| 1042 | #ifndef __SAXAttributes60_FWD_DEFINED__ | ||
| 1043 | #define __SAXAttributes60_FWD_DEFINED__ | ||
| 1044 | #ifdef __cplusplus | ||
| 1045 | typedef class SAXAttributes60 SAXAttributes60; | ||
| 1046 | #else | ||
| 1047 | typedef struct SAXAttributes60 SAXAttributes60; | ||
| 1048 | #endif /* defined __cplusplus */ | ||
| 1049 | #endif /* defined __SAXAttributes60_FWD_DEFINED__ */ | ||
| 1050 | |||
| 1051 | #ifndef __SAXAttributes_FWD_DEFINED__ | 970 | #ifndef __SAXAttributes_FWD_DEFINED__ |
| 1052 | #define __SAXAttributes_FWD_DEFINED__ | 971 | #define __SAXAttributes_FWD_DEFINED__ |
| 1053 | #ifdef __cplusplus | 972 | #ifdef __cplusplus |
| ... | @@ -14665,19 +14584,6 @@ __CRT_UUID_DECL(FreeThreadedDOMDocument40, 0x88d969c1, 0xf192, 0x11d4, 0xa6,0x5f | ... | @@ -14665,19 +14584,6 @@ __CRT_UUID_DECL(FreeThreadedDOMDocument40, 0x88d969c1, 0xf192, 0x11d4, 0xa6,0x5f |
| 14665 | #endif | 14584 | #endif |
| 14666 | #endif | 14585 | #endif |
| 14667 | 14586 | ||
| 14668 | /***************************************************************************** | ||
| 14669 | * FreeThreadedDOMDocument60 coclass | ||
| 14670 | */ | ||
| 14671 | |||
| 14672 | DEFINE_GUID(CLSID_FreeThreadedDOMDocument60, 0x88d96a06, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); | ||
| 14673 | |||
| 14674 | #ifdef __cplusplus | ||
| 14675 | class DECLSPEC_UUID("88d96a06-f192-11d4-a65f-0040963251e5") FreeThreadedDOMDocument60; | ||
| 14676 | #ifdef __CRT_UUID_DECL | ||
| 14677 | __CRT_UUID_DECL(FreeThreadedDOMDocument60, 0x88d96a06, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) | ||
| 14678 | #endif | ||
| 14679 | #endif | ||
| 14680 | |||
| 14681 | /***************************************************************************** | 14587 | /***************************************************************************** |
| 14682 | * FreeThreadedDOMDocument coclass | 14588 | * FreeThreadedDOMDocument coclass |
| 14683 | */ | 14589 | */ |
| ... | @@ -14730,19 +14636,6 @@ __CRT_UUID_DECL(XMLHTTP40, 0x88d969c5, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96 | ... | @@ -14730,19 +14636,6 @@ __CRT_UUID_DECL(XMLHTTP40, 0x88d969c5, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96 |
| 14730 | #endif | 14636 | #endif |
| 14731 | #endif | 14637 | #endif |
| 14732 | 14638 | ||
| 14733 | /***************************************************************************** | ||
| 14734 | * XMLHTTP60 coclass | ||
| 14735 | */ | ||
| 14736 | |||
| 14737 | DEFINE_GUID(CLSID_XMLHTTP60, 0x88d96a0a, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); | ||
| 14738 | |||
| 14739 | #ifdef __cplusplus | ||
| 14740 | class DECLSPEC_UUID("88d96a0a-f192-11d4-a65f-0040963251e5") XMLHTTP60; | ||
| 14741 | #ifdef __CRT_UUID_DECL | ||
| 14742 | __CRT_UUID_DECL(XMLHTTP60, 0x88d96a0a, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) | ||
| 14743 | #endif | ||
| 14744 | #endif | ||
| 14745 | |||
| 14746 | /***************************************************************************** | 14639 | /***************************************************************************** |
| 14747 | * XMLHTTP coclass | 14640 | * XMLHTTP coclass |
| 14748 | */ | 14641 | */ |
| ... | @@ -14782,19 +14675,6 @@ __CRT_UUID_DECL(ServerXMLHTTP40, 0x88d969c6, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x4 | ... | @@ -14782,19 +14675,6 @@ __CRT_UUID_DECL(ServerXMLHTTP40, 0x88d969c6, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x4 |
| 14782 | #endif | 14675 | #endif |
| 14783 | #endif | 14676 | #endif |
| 14784 | 14677 | ||
| 14785 | /***************************************************************************** | ||
| 14786 | * ServerXMLHTTP60 coclass | ||
| 14787 | */ | ||
| 14788 | |||
| 14789 | DEFINE_GUID(CLSID_ServerXMLHTTP60, 0x88d96a0b, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); | ||
| 14790 | |||
| 14791 | #ifdef __cplusplus | ||
| 14792 | class DECLSPEC_UUID("88d96a0b-f192-11d4-a65f-0040963251e5") ServerXMLHTTP60; | ||
| 14793 | #ifdef __CRT_UUID_DECL | ||
| 14794 | __CRT_UUID_DECL(ServerXMLHTTP60, 0x88d96a0b, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) | ||
| 14795 | #endif | ||
| 14796 | #endif | ||
| 14797 | |||
| 14798 | /***************************************************************************** | 14678 | /***************************************************************************** |
| 14799 | * ServerXMLHTTP coclass | 14679 | * ServerXMLHTTP coclass |
| 14800 | */ | 14680 | */ |
| ... | @@ -14899,19 +14779,6 @@ __CRT_UUID_DECL(XSLTemplate40, 0x88d969c3, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40, | ... | @@ -14899,19 +14779,6 @@ __CRT_UUID_DECL(XSLTemplate40, 0x88d969c3, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40, |
| 14899 | #endif | 14779 | #endif |
| 14900 | #endif | 14780 | #endif |
| 14901 | 14781 | ||
| 14902 | /***************************************************************************** | ||
| 14903 | * XSLTemplate60 coclass | ||
| 14904 | */ | ||
| 14905 | |||
| 14906 | DEFINE_GUID(CLSID_XSLTemplate60, 0x88d96a08, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); | ||
| 14907 | |||
| 14908 | #ifdef __cplusplus | ||
| 14909 | class DECLSPEC_UUID("88d96a08-f192-11d4-a65f-0040963251e5") XSLTemplate60; | ||
| 14910 | #ifdef __CRT_UUID_DECL | ||
| 14911 | __CRT_UUID_DECL(XSLTemplate60, 0x88d96a08, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) | ||
| 14912 | #endif | ||
| 14913 | #endif | ||
| 14914 | |||
| 14915 | /***************************************************************************** | 14782 | /***************************************************************************** |
| 14916 | * XSLTemplate coclass | 14783 | * XSLTemplate coclass |
| 14917 | */ | 14784 | */ |
| ... | @@ -23605,19 +23472,6 @@ __CRT_UUID_DECL(SAXXMLReader40, 0x7c6e29bc, 0x8b8b, 0x4c3d, 0x85,0x9e, 0xaf,0x6c | ... | @@ -23605,19 +23472,6 @@ __CRT_UUID_DECL(SAXXMLReader40, 0x7c6e29bc, 0x8b8b, 0x4c3d, 0x85,0x9e, 0xaf,0x6c |
| 23605 | #endif | 23472 | #endif |
| 23606 | #endif | 23473 | #endif |
| 23607 | 23474 | ||
| 23608 | /***************************************************************************** | ||
| 23609 | * SAXXMLReader60 coclass | ||
| 23610 | */ | ||
| 23611 | |||
| 23612 | DEFINE_GUID(CLSID_SAXXMLReader60, 0x88d96a0c, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); | ||
| 23613 | |||
| 23614 | #ifdef __cplusplus | ||
| 23615 | class DECLSPEC_UUID("88d96a0c-f192-11d4-a65f-0040963251e5") SAXXMLReader60; | ||
| 23616 | #ifdef __CRT_UUID_DECL | ||
| 23617 | __CRT_UUID_DECL(SAXXMLReader60, 0x88d96a0c, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) | ||
| 23618 | #endif | ||
| 23619 | #endif | ||
| 23620 | |||
| 23621 | /***************************************************************************** | 23475 | /***************************************************************************** |
| 23622 | * SAXXMLReader coclass | 23476 | * SAXXMLReader coclass |
| 23623 | */ | 23477 | */ |
| ... | @@ -23670,19 +23524,6 @@ __CRT_UUID_DECL(MXHTMLWriter40, 0x88d969c9, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40 | ... | @@ -23670,19 +23524,6 @@ __CRT_UUID_DECL(MXHTMLWriter40, 0x88d969c9, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40 |
| 23670 | #endif | 23524 | #endif |
| 23671 | #endif | 23525 | #endif |
| 23672 | 23526 | ||
| 23673 | /***************************************************************************** | ||
| 23674 | * MXHTMLWriter60 coclass | ||
| 23675 | */ | ||
| 23676 | |||
| 23677 | DEFINE_GUID(CLSID_MXHTMLWriter60, 0x88d96a10, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); | ||
| 23678 | |||
| 23679 | #ifdef __cplusplus | ||
| 23680 | class DECLSPEC_UUID("88d96a10-f192-11d4-a65f-0040963251e5") MXHTMLWriter60; | ||
| 23681 | #ifdef __CRT_UUID_DECL | ||
| 23682 | __CRT_UUID_DECL(MXHTMLWriter60, 0x88d96a10, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) | ||
| 23683 | #endif | ||
| 23684 | #endif | ||
| 23685 | |||
| 23686 | /***************************************************************************** | 23527 | /***************************************************************************** |
| 23687 | * MXXMLWriter30 coclass | 23528 | * MXXMLWriter30 coclass |
| 23688 | */ | 23529 | */ |
| ... | @@ -23709,19 +23550,6 @@ __CRT_UUID_DECL(MXXMLWriter40, 0x88d969c8, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40, | ... | @@ -23709,19 +23550,6 @@ __CRT_UUID_DECL(MXXMLWriter40, 0x88d969c8, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40, |
| 23709 | #endif | 23550 | #endif |
| 23710 | #endif | 23551 | #endif |
| 23711 | 23552 | ||
| 23712 | /***************************************************************************** | ||
| 23713 | * MXXMLWriter60 coclass | ||
| 23714 | */ | ||
| 23715 | |||
| 23716 | DEFINE_GUID(CLSID_MXXMLWriter60, 0x88d96a0f, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); | ||
| 23717 | |||
| 23718 | #ifdef __cplusplus | ||
| 23719 | class DECLSPEC_UUID("88d96a0f-f192-11d4-a65f-0040963251e5") MXXMLWriter60; | ||
| 23720 | #ifdef __CRT_UUID_DECL | ||
| 23721 | __CRT_UUID_DECL(MXXMLWriter60, 0x88d96a0f, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) | ||
| 23722 | #endif | ||
| 23723 | #endif | ||
| 23724 | |||
| 23725 | /***************************************************************************** | 23553 | /***************************************************************************** |
| 23726 | * MXXMLWriter coclass | 23554 | * MXXMLWriter coclass |
| 23727 | */ | 23555 | */ |
| ... | @@ -23761,19 +23589,6 @@ __CRT_UUID_DECL(MXNamespaceManager40, 0x88d969d6, 0xf192, 0x11d4, 0xa6,0x5f, 0x0 | ... | @@ -23761,19 +23589,6 @@ __CRT_UUID_DECL(MXNamespaceManager40, 0x88d969d6, 0xf192, 0x11d4, 0xa6,0x5f, 0x0 |
| 23761 | #endif | 23589 | #endif |
| 23762 | #endif | 23590 | #endif |
| 23763 | 23591 | ||
| 23764 | /***************************************************************************** | ||
| 23765 | * MXNamespaceManager60 coclass | ||
| 23766 | */ | ||
| 23767 | |||
| 23768 | DEFINE_GUID(CLSID_MXNamespaceManager60, 0x88d96a11, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); | ||
| 23769 | |||
| 23770 | #ifdef __cplusplus | ||
| 23771 | class DECLSPEC_UUID("88d96a11-f192-11d4-a65f-0040963251e5") MXNamespaceManager60; | ||
| 23772 | #ifdef __CRT_UUID_DECL | ||
| 23773 | __CRT_UUID_DECL(MXNamespaceManager60, 0x88d96a11, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) | ||
| 23774 | #endif | ||
| 23775 | #endif | ||
| 23776 | |||
| 23777 | /***************************************************************************** | 23592 | /***************************************************************************** |
| 23778 | * SAXAttributes30 coclass | 23593 | * SAXAttributes30 coclass |
| 23779 | */ | 23594 | */ |
| ... | @@ -23800,19 +23615,6 @@ __CRT_UUID_DECL(SAXAttributes40, 0x88d969ca, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x4 | ... | @@ -23800,19 +23615,6 @@ __CRT_UUID_DECL(SAXAttributes40, 0x88d969ca, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x4 |
| 23800 | #endif | 23615 | #endif |
| 23801 | #endif | 23616 | #endif |
| 23802 | 23617 | ||
| 23803 | /***************************************************************************** | ||
| 23804 | * SAXAttributes60 coclass | ||
| 23805 | */ | ||
| 23806 | |||
| 23807 | DEFINE_GUID(CLSID_SAXAttributes60, 0x88d96a0e, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5); | ||
| 23808 | |||
| 23809 | #ifdef __cplusplus | ||
| 23810 | class DECLSPEC_UUID("88d96a0e-f192-11d4-a65f-0040963251e5") SAXAttributes60; | ||
| 23811 | #ifdef __CRT_UUID_DECL | ||
| 23812 | __CRT_UUID_DECL(SAXAttributes60, 0x88d96a0e, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5) | ||
| 23813 | #endif | ||
| 23814 | #endif | ||
| 23815 | |||
| 23816 | /***************************************************************************** | 23618 | /***************************************************************************** |
| 23817 | * SAXAttributes coclass | 23619 | * SAXAttributes coclass |
| 23818 | */ | 23620 | */ |
lib/libc/include/any-windows-any/msxml6.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/msxml6.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/napcertrelyingparty.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/napcertrelyingparty.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/napcommon.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/napenforcementclient.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/napmanagement.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/napprotocol.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/napservermanagement.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/napsystemhealthagent.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/napsystemhealthvalidator.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/naptypes.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/netcfgn.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/netcfgx.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/netfw.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/netlistmgr.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/new.h+2| ... | @@ -13,6 +13,7 @@ | ... | @@ -13,6 +13,7 @@ |
| 13 | #include <crtdefs.h> | 13 | #include <crtdefs.h> |
| 14 | #pragma push_macro("new") | 14 | #pragma push_macro("new") |
| 15 | #undef new | 15 | #undef new |
| 16 | extern "C" { | ||
| 16 | #endif | 17 | #endif |
| 17 | 18 | ||
| 18 | #ifndef __NOTHROW_T_DEFINED | 19 | #ifndef __NOTHROW_T_DEFINED |
| ... | @@ -41,6 +42,7 @@ _CRTIMP _PNH __cdecl _set_new_handler(_PNH _NewHandler); | ... | @@ -41,6 +42,7 @@ _CRTIMP _PNH __cdecl _set_new_handler(_PNH _NewHandler); |
| 41 | #endif | 42 | #endif |
| 42 | 43 | ||
| 43 | #ifdef __cplusplus | 44 | #ifdef __cplusplus |
| 45 | } | ||
| 44 | #pragma pop_macro("new") | 46 | #pragma pop_macro("new") |
| 45 | #endif | 47 | #endif |
| 46 | 48 |
lib/libc/include/any-windows-any/oaidl.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/oaidl.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/objectarray.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/objidl.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/objidlbase.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/ocidl.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/oleacc.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/oleacc.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/oleidl.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/optary.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/pathcch.h+5| ... | @@ -3,6 +3,9 @@ | ... | @@ -3,6 +3,9 @@ |
| 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 | #ifndef __PATHCCH_H__ | ||
| 7 | #define __PATHCCH_H__ | ||
| 8 | |||
| 6 | #include <apiset.h> | 9 | #include <apiset.h> |
| 7 | #include <apisetcconv.h> | 10 | #include <apisetcconv.h> |
| 8 | #include <minwindef.h> | 11 | #include <minwindef.h> |
| ... | @@ -135,3 +138,5 @@ DEFINE_ENUM_FLAG_OPERATORS(PATHCCH_OPTIONS) | ... | @@ -135,3 +138,5 @@ DEFINE_ENUM_FLAG_OPERATORS(PATHCCH_OPTIONS) |
| 135 | } | 138 | } |
| 136 | #endif | 139 | #endif |
| 137 | #endif | 140 | #endif |
| 141 | |||
| 142 | #endif |
lib/libc/include/any-windows-any/pdhmsg.h+86-86| ... | @@ -11,91 +11,91 @@ | ... | @@ -11,91 +11,91 @@ |
| 11 | #define STATUS_SEVERITY_INFORMATIONAL 0x1 | 11 | #define STATUS_SEVERITY_INFORMATIONAL 0x1 |
| 12 | #define STATUS_SEVERITY_ERROR 0x3 | 12 | #define STATUS_SEVERITY_ERROR 0x3 |
| 13 | 13 | ||
| 14 | #define PDH_CSTATUS_VALID_DATA ((DWORD)0x00000000) | 14 | #define PDH_CSTATUS_VALID_DATA __MSABI_LONG(0x00000000) |
| 15 | #define PDH_CSTATUS_NEW_DATA ((DWORD)0x00000001) | 15 | #define PDH_CSTATUS_NEW_DATA __MSABI_LONG(0x00000001) |
| 16 | #define PDH_CSTATUS_NO_MACHINE ((DWORD)0x800007D0) | 16 | #define PDH_CSTATUS_NO_MACHINE __MSABI_LONG(0x800007D0) |
| 17 | #define PDH_CSTATUS_NO_INSTANCE ((DWORD)0x800007D1) | 17 | #define PDH_CSTATUS_NO_INSTANCE __MSABI_LONG(0x800007D1) |
| 18 | #define PDH_MORE_DATA ((DWORD)0x800007D2) | 18 | #define PDH_MORE_DATA __MSABI_LONG(0x800007D2) |
| 19 | #define PDH_CSTATUS_ITEM_NOT_VALIDATED ((DWORD)0x800007D3) | 19 | #define PDH_CSTATUS_ITEM_NOT_VALIDATED __MSABI_LONG(0x800007D3) |
| 20 | #define PDH_RETRY ((DWORD)0x800007D4) | 20 | #define PDH_RETRY __MSABI_LONG(0x800007D4) |
| 21 | #define PDH_NO_DATA ((DWORD)0x800007D5) | 21 | #define PDH_NO_DATA __MSABI_LONG(0x800007D5) |
| 22 | #define PDH_CALC_NEGATIVE_DENOMINATOR ((DWORD)0x800007D6) | 22 | #define PDH_CALC_NEGATIVE_DENOMINATOR __MSABI_LONG(0x800007D6) |
| 23 | #define PDH_CALC_NEGATIVE_TIMEBASE ((DWORD)0x800007D7) | 23 | #define PDH_CALC_NEGATIVE_TIMEBASE __MSABI_LONG(0x800007D7) |
| 24 | #define PDH_CALC_NEGATIVE_VALUE ((DWORD)0x800007D8) | 24 | #define PDH_CALC_NEGATIVE_VALUE __MSABI_LONG(0x800007D8) |
| 25 | #define PDH_DIALOG_CANCELLED ((DWORD)0x800007D9) | 25 | #define PDH_DIALOG_CANCELLED __MSABI_LONG(0x800007D9) |
| 26 | #define PDH_END_OF_LOG_FILE ((DWORD)0x800007DA) | 26 | #define PDH_END_OF_LOG_FILE __MSABI_LONG(0x800007DA) |
| 27 | #define PDH_ASYNC_QUERY_TIMEOUT ((DWORD)0x800007DB) | 27 | #define PDH_ASYNC_QUERY_TIMEOUT __MSABI_LONG(0x800007DB) |
| 28 | #define PDH_CANNOT_SET_DEFAULT_REALTIME_DATASOURCE ((DWORD)0x800007DC) | 28 | #define PDH_CANNOT_SET_DEFAULT_REALTIME_DATASOURCE __MSABI_LONG(0x800007DC) |
| 29 | #define PDH_CSTATUS_NO_OBJECT ((DWORD)0xC0000BB8) | 29 | #define PDH_CSTATUS_NO_OBJECT __MSABI_LONG(0xC0000BB8) |
| 30 | #define PDH_CSTATUS_NO_COUNTER ((DWORD)0xC0000BB9) | 30 | #define PDH_CSTATUS_NO_COUNTER __MSABI_LONG(0xC0000BB9) |
| 31 | #define PDH_CSTATUS_INVALID_DATA ((DWORD)0xC0000BBA) | 31 | #define PDH_CSTATUS_INVALID_DATA __MSABI_LONG(0xC0000BBA) |
| 32 | #define PDH_MEMORY_ALLOCATION_FAILURE ((DWORD)0xC0000BBB) | 32 | #define PDH_MEMORY_ALLOCATION_FAILURE __MSABI_LONG(0xC0000BBB) |
| 33 | #define PDH_INVALID_HANDLE ((DWORD)0xC0000BBC) | 33 | #define PDH_INVALID_HANDLE __MSABI_LONG(0xC0000BBC) |
| 34 | #define PDH_INVALID_ARGUMENT ((DWORD)0xC0000BBD) | 34 | #define PDH_INVALID_ARGUMENT __MSABI_LONG(0xC0000BBD) |
| 35 | #define PDH_FUNCTION_NOT_FOUND ((DWORD)0xC0000BBE) | 35 | #define PDH_FUNCTION_NOT_FOUND __MSABI_LONG(0xC0000BBE) |
| 36 | #define PDH_CSTATUS_NO_COUNTERNAME ((DWORD)0xC0000BBF) | 36 | #define PDH_CSTATUS_NO_COUNTERNAME __MSABI_LONG(0xC0000BBF) |
| 37 | #define PDH_CSTATUS_BAD_COUNTERNAME ((DWORD)0xC0000BC0) | 37 | #define PDH_CSTATUS_BAD_COUNTERNAME __MSABI_LONG(0xC0000BC0) |
| 38 | #define PDH_INVALID_BUFFER ((DWORD)0xC0000BC1) | 38 | #define PDH_INVALID_BUFFER __MSABI_LONG(0xC0000BC1) |
| 39 | #define PDH_INSUFFICIENT_BUFFER ((DWORD)0xC0000BC2) | 39 | #define PDH_INSUFFICIENT_BUFFER __MSABI_LONG(0xC0000BC2) |
| 40 | #define PDH_CANNOT_CONNECT_MACHINE ((DWORD)0xC0000BC3) | 40 | #define PDH_CANNOT_CONNECT_MACHINE __MSABI_LONG(0xC0000BC3) |
| 41 | #define PDH_INVALID_PATH ((DWORD)0xC0000BC4) | 41 | #define PDH_INVALID_PATH __MSABI_LONG(0xC0000BC4) |
| 42 | #define PDH_INVALID_INSTANCE ((DWORD)0xC0000BC5) | 42 | #define PDH_INVALID_INSTANCE __MSABI_LONG(0xC0000BC5) |
| 43 | #define PDH_INVALID_DATA ((DWORD)0xC0000BC6) | 43 | #define PDH_INVALID_DATA __MSABI_LONG(0xC0000BC6) |
| 44 | #define PDH_NO_DIALOG_DATA ((DWORD)0xC0000BC7) | 44 | #define PDH_NO_DIALOG_DATA __MSABI_LONG(0xC0000BC7) |
| 45 | #define PDH_CANNOT_READ_NAME_STRINGS ((DWORD)0xC0000BC8) | 45 | #define PDH_CANNOT_READ_NAME_STRINGS __MSABI_LONG(0xC0000BC8) |
| 46 | #define PDH_LOG_FILE_CREATE_ERROR ((DWORD)0xC0000BC9) | 46 | #define PDH_LOG_FILE_CREATE_ERROR __MSABI_LONG(0xC0000BC9) |
| 47 | #define PDH_LOG_FILE_OPEN_ERROR ((DWORD)0xC0000BCA) | 47 | #define PDH_LOG_FILE_OPEN_ERROR __MSABI_LONG(0xC0000BCA) |
| 48 | #define PDH_LOG_TYPE_NOT_FOUND ((DWORD)0xC0000BCB) | 48 | #define PDH_LOG_TYPE_NOT_FOUND __MSABI_LONG(0xC0000BCB) |
| 49 | #define PDH_NO_MORE_DATA ((DWORD)0xC0000BCC) | 49 | #define PDH_NO_MORE_DATA __MSABI_LONG(0xC0000BCC) |
| 50 | #define PDH_ENTRY_NOT_IN_LOG_FILE ((DWORD)0xC0000BCD) | 50 | #define PDH_ENTRY_NOT_IN_LOG_FILE __MSABI_LONG(0xC0000BCD) |
| 51 | #define PDH_DATA_SOURCE_IS_LOG_FILE ((DWORD)0xC0000BCE) | 51 | #define PDH_DATA_SOURCE_IS_LOG_FILE __MSABI_LONG(0xC0000BCE) |
| 52 | #define PDH_DATA_SOURCE_IS_REAL_TIME ((DWORD)0xC0000BCF) | 52 | #define PDH_DATA_SOURCE_IS_REAL_TIME __MSABI_LONG(0xC0000BCF) |
| 53 | #define PDH_UNABLE_READ_LOG_HEADER ((DWORD)0xC0000BD0) | 53 | #define PDH_UNABLE_READ_LOG_HEADER __MSABI_LONG(0xC0000BD0) |
| 54 | #define PDH_FILE_NOT_FOUND ((DWORD)0xC0000BD1) | 54 | #define PDH_FILE_NOT_FOUND __MSABI_LONG(0xC0000BD1) |
| 55 | #define PDH_FILE_ALREADY_EXISTS ((DWORD)0xC0000BD2) | 55 | #define PDH_FILE_ALREADY_EXISTS __MSABI_LONG(0xC0000BD2) |
| 56 | #define PDH_NOT_IMPLEMENTED ((DWORD)0xC0000BD3) | 56 | #define PDH_NOT_IMPLEMENTED __MSABI_LONG(0xC0000BD3) |
| 57 | #define PDH_STRING_NOT_FOUND ((DWORD)0xC0000BD4) | 57 | #define PDH_STRING_NOT_FOUND __MSABI_LONG(0xC0000BD4) |
| 58 | #define PDH_UNABLE_MAP_NAME_FILES ((DWORD)0x80000BD5) | 58 | #define PDH_UNABLE_MAP_NAME_FILES __MSABI_LONG(0x80000BD5) |
| 59 | #define PDH_UNKNOWN_LOG_FORMAT ((DWORD)0xC0000BD6) | 59 | #define PDH_UNKNOWN_LOG_FORMAT __MSABI_LONG(0xC0000BD6) |
| 60 | #define PDH_UNKNOWN_LOGSVC_COMMAND ((DWORD)0xC0000BD7) | 60 | #define PDH_UNKNOWN_LOGSVC_COMMAND __MSABI_LONG(0xC0000BD7) |
| 61 | #define PDH_LOGSVC_QUERY_NOT_FOUND ((DWORD)0xC0000BD8) | 61 | #define PDH_LOGSVC_QUERY_NOT_FOUND __MSABI_LONG(0xC0000BD8) |
| 62 | #define PDH_LOGSVC_NOT_OPENED ((DWORD)0xC0000BD9) | 62 | #define PDH_LOGSVC_NOT_OPENED __MSABI_LONG(0xC0000BD9) |
| 63 | #define PDH_WBEM_ERROR ((DWORD)0xC0000BDA) | 63 | #define PDH_WBEM_ERROR __MSABI_LONG(0xC0000BDA) |
| 64 | #define PDH_ACCESS_DENIED ((DWORD)0xC0000BDB) | 64 | #define PDH_ACCESS_DENIED __MSABI_LONG(0xC0000BDB) |
| 65 | #define PDH_LOG_FILE_TOO_SMALL ((DWORD)0xC0000BDC) | 65 | #define PDH_LOG_FILE_TOO_SMALL __MSABI_LONG(0xC0000BDC) |
| 66 | #define PDH_INVALID_DATASOURCE ((DWORD)0xC0000BDD) | 66 | #define PDH_INVALID_DATASOURCE __MSABI_LONG(0xC0000BDD) |
| 67 | #define PDH_INVALID_SQLDB ((DWORD)0xC0000BDE) | 67 | #define PDH_INVALID_SQLDB __MSABI_LONG(0xC0000BDE) |
| 68 | #define PDH_NO_COUNTERS ((DWORD)0xC0000BDF) | 68 | #define PDH_NO_COUNTERS __MSABI_LONG(0xC0000BDF) |
| 69 | #define PDH_SQL_ALLOC_FAILED ((DWORD)0xC0000BE0) | 69 | #define PDH_SQL_ALLOC_FAILED __MSABI_LONG(0xC0000BE0) |
| 70 | #define PDH_SQL_ALLOCCON_FAILED ((DWORD)0xC0000BE1) | 70 | #define PDH_SQL_ALLOCCON_FAILED __MSABI_LONG(0xC0000BE1) |
| 71 | #define PDH_SQL_EXEC_DIRECT_FAILED ((DWORD)0xC0000BE2) | 71 | #define PDH_SQL_EXEC_DIRECT_FAILED __MSABI_LONG(0xC0000BE2) |
| 72 | #define PDH_SQL_FETCH_FAILED ((DWORD)0xC0000BE3) | 72 | #define PDH_SQL_FETCH_FAILED __MSABI_LONG(0xC0000BE3) |
| 73 | #define PDH_SQL_ROWCOUNT_FAILED ((DWORD)0xC0000BE4) | 73 | #define PDH_SQL_ROWCOUNT_FAILED __MSABI_LONG(0xC0000BE4) |
| 74 | #define PDH_SQL_MORE_RESULTS_FAILED ((DWORD)0xC0000BE5) | 74 | #define PDH_SQL_MORE_RESULTS_FAILED __MSABI_LONG(0xC0000BE5) |
| 75 | #define PDH_SQL_CONNECT_FAILED ((DWORD)0xC0000BE6) | 75 | #define PDH_SQL_CONNECT_FAILED __MSABI_LONG(0xC0000BE6) |
| 76 | #define PDH_SQL_BIND_FAILED ((DWORD)0xC0000BE7) | 76 | #define PDH_SQL_BIND_FAILED __MSABI_LONG(0xC0000BE7) |
| 77 | #define PDH_CANNOT_CONNECT_WMI_SERVER ((DWORD)0xC0000BE8) | 77 | #define PDH_CANNOT_CONNECT_WMI_SERVER __MSABI_LONG(0xC0000BE8) |
| 78 | #define PDH_PLA_COLLECTION_ALREADY_RUNNING ((DWORD)0xC0000BE9) | 78 | #define PDH_PLA_COLLECTION_ALREADY_RUNNING __MSABI_LONG(0xC0000BE9) |
| 79 | #define PDH_PLA_ERROR_SCHEDULE_OVERLAP ((DWORD)0xC0000BEA) | 79 | #define PDH_PLA_ERROR_SCHEDULE_OVERLAP __MSABI_LONG(0xC0000BEA) |
| 80 | #define PDH_PLA_COLLECTION_NOT_FOUND ((DWORD)0xC0000BEB) | 80 | #define PDH_PLA_COLLECTION_NOT_FOUND __MSABI_LONG(0xC0000BEB) |
| 81 | #define PDH_PLA_ERROR_SCHEDULE_ELAPSED ((DWORD)0xC0000BEC) | 81 | #define PDH_PLA_ERROR_SCHEDULE_ELAPSED __MSABI_LONG(0xC0000BEC) |
| 82 | #define PDH_PLA_ERROR_NOSTART ((DWORD)0xC0000BED) | 82 | #define PDH_PLA_ERROR_NOSTART __MSABI_LONG(0xC0000BED) |
| 83 | #define PDH_PLA_ERROR_ALREADY_EXISTS ((DWORD)0xC0000BEE) | 83 | #define PDH_PLA_ERROR_ALREADY_EXISTS __MSABI_LONG(0xC0000BEE) |
| 84 | #define PDH_PLA_ERROR_TYPE_MISMATCH ((DWORD)0xC0000BEF) | 84 | #define PDH_PLA_ERROR_TYPE_MISMATCH __MSABI_LONG(0xC0000BEF) |
| 85 | #define PDH_PLA_ERROR_FILEPATH ((DWORD)0xC0000BF0) | 85 | #define PDH_PLA_ERROR_FILEPATH __MSABI_LONG(0xC0000BF0) |
| 86 | #define PDH_PLA_SERVICE_ERROR ((DWORD)0xC0000BF1) | 86 | #define PDH_PLA_SERVICE_ERROR __MSABI_LONG(0xC0000BF1) |
| 87 | #define PDH_PLA_VALIDATION_ERROR ((DWORD)0xC0000BF2) | 87 | #define PDH_PLA_VALIDATION_ERROR __MSABI_LONG(0xC0000BF2) |
| 88 | #define PDH_PLA_VALIDATION_WARNING ((DWORD)0x80000BF3) | 88 | #define PDH_PLA_VALIDATION_WARNING __MSABI_LONG(0x80000BF3) |
| 89 | #define PDH_PLA_ERROR_NAME_TOO_LONG ((DWORD)0xC0000BF4) | 89 | #define PDH_PLA_ERROR_NAME_TOO_LONG __MSABI_LONG(0xC0000BF4) |
| 90 | #define PDH_INVALID_SQL_LOG_FORMAT ((DWORD)0xC0000BF5) | 90 | #define PDH_INVALID_SQL_LOG_FORMAT __MSABI_LONG(0xC0000BF5) |
| 91 | #define PDH_COUNTER_ALREADY_IN_QUERY ((DWORD)0xC0000BF6) | 91 | #define PDH_COUNTER_ALREADY_IN_QUERY __MSABI_LONG(0xC0000BF6) |
| 92 | #define PDH_BINARY_LOG_CORRUPT ((DWORD)0xC0000BF7) | 92 | #define PDH_BINARY_LOG_CORRUPT __MSABI_LONG(0xC0000BF7) |
| 93 | #define PDH_LOG_SAMPLE_TOO_SMALL ((DWORD)0xC0000BF8) | 93 | #define PDH_LOG_SAMPLE_TOO_SMALL __MSABI_LONG(0xC0000BF8) |
| 94 | #define PDH_OS_LATER_VERSION ((DWORD)0xC0000BF9) | 94 | #define PDH_OS_LATER_VERSION __MSABI_LONG(0xC0000BF9) |
| 95 | #define PDH_OS_EARLIER_VERSION ((DWORD)0xC0000BFA) | 95 | #define PDH_OS_EARLIER_VERSION __MSABI_LONG(0xC0000BFA) |
| 96 | #define PDH_INCORRECT_APPEND_TIME ((DWORD)0xC0000BFB) | 96 | #define PDH_INCORRECT_APPEND_TIME __MSABI_LONG(0xC0000BFB) |
| 97 | #define PDH_UNMATCHED_APPEND_COUNTER ((DWORD)0xC0000BFC) | 97 | #define PDH_UNMATCHED_APPEND_COUNTER __MSABI_LONG(0xC0000BFC) |
| 98 | #define PDH_SQL_ALTER_DETAIL_FAILED ((DWORD)0xC0000BFD) | 98 | #define PDH_SQL_ALTER_DETAIL_FAILED __MSABI_LONG(0xC0000BFD) |
| 99 | #define PDH_QUERY_PERF_DATA_TIMEOUT ((DWORD)0xC0000BFE) | 99 | #define PDH_QUERY_PERF_DATA_TIMEOUT __MSABI_LONG(0xC0000BFE) |
| 100 | 100 | ||
| 101 | #endif | 101 | #endif |
lib/libc/include/any-windows-any/portabledeviceapi.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/portabledeviceapi.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/portabledevicetypes.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/proofofpossessioncookieinfo.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/propidl.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/propsys.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/propvarutil.h+11-1| ... | @@ -78,6 +78,14 @@ enum tagPROPVAR_COMPARE_FLAGS | ... | @@ -78,6 +78,14 @@ enum tagPROPVAR_COMPARE_FLAGS |
| 78 | 78 | ||
| 79 | typedef int PROPVAR_COMPARE_FLAGS; | 79 | typedef int PROPVAR_COMPARE_FLAGS; |
| 80 | 80 | ||
| 81 | enum tagPSTIME_FLAGS | ||
| 82 | { | ||
| 83 | PSTF_UTC = 0x00000000, | ||
| 84 | PSTF_LOCAL = 0x00000001, | ||
| 85 | }; | ||
| 86 | |||
| 87 | typedef int PSTIME_FLAGS; | ||
| 88 | |||
| 81 | PSSTDAPI PropVariantChangeType(PROPVARIANT *ppropvarDest, REFPROPVARIANT propvarSrc, | 89 | PSSTDAPI PropVariantChangeType(PROPVARIANT *ppropvarDest, REFPROPVARIANT propvarSrc, |
| 82 | PROPVAR_CHANGE_FLAGS flags, VARTYPE vt); | 90 | PROPVAR_CHANGE_FLAGS flags, VARTYPE vt); |
| 83 | PSSTDAPI InitPropVariantFromGUIDAsString(REFGUID guid, PROPVARIANT *ppropvar); | 91 | PSSTDAPI InitPropVariantFromGUIDAsString(REFGUID guid, PROPVARIANT *ppropvar); |
| ... | @@ -86,7 +94,6 @@ PSSTDAPI InitVariantFromGUIDAsString(REFGUID guid, VARIANT *pvar); | ... | @@ -86,7 +94,6 @@ PSSTDAPI InitVariantFromGUIDAsString(REFGUID guid, VARIANT *pvar); |
| 86 | PSSTDAPI InitPropVariantFromBuffer(const VOID *pv, UINT cb, PROPVARIANT *ppropvar); | 94 | PSSTDAPI InitPropVariantFromBuffer(const VOID *pv, UINT cb, PROPVARIANT *ppropvar); |
| 87 | PSSTDAPI InitPropVariantFromCLSID(REFCLSID clsid, PROPVARIANT *ppropvar); | 95 | PSSTDAPI InitPropVariantFromCLSID(REFCLSID clsid, PROPVARIANT *ppropvar); |
| 88 | PSSTDAPI InitVariantFromBuffer(const VOID *pv, UINT cb, VARIANT *pvar); | 96 | PSSTDAPI InitVariantFromBuffer(const VOID *pv, UINT cb, VARIANT *pvar); |
| 89 | PSSTDAPI PropVariantToGUID(const PROPVARIANT *ppropvar, GUID *guid); | ||
| 90 | PSSTDAPI VariantToGUID(const VARIANT *pvar, GUID *guid); | 97 | PSSTDAPI VariantToGUID(const VARIANT *pvar, GUID *guid); |
| 91 | PSSTDAPI_(INT) PropVariantCompareEx(REFPROPVARIANT propvar1, REFPROPVARIANT propvar2, | 98 | PSSTDAPI_(INT) PropVariantCompareEx(REFPROPVARIANT propvar1, REFPROPVARIANT propvar2, |
| 92 | PROPVAR_COMPARE_UNIT uint, PROPVAR_COMPARE_FLAGS flags); | 99 | PROPVAR_COMPARE_UNIT uint, PROPVAR_COMPARE_FLAGS flags); |
| ... | @@ -94,11 +101,14 @@ PSSTDAPI InitPropVariantFromFileTime(const FILETIME *pftIn, PROPVARIANT *ppropva | ... | @@ -94,11 +101,14 @@ PSSTDAPI InitPropVariantFromFileTime(const FILETIME *pftIn, PROPVARIANT *ppropva |
| 94 | PSSTDAPI InitPropVariantFromStringVector(PCWSTR *strs, ULONG count, PROPVARIANT *ppropvar); | 101 | PSSTDAPI InitPropVariantFromStringVector(PCWSTR *strs, ULONG count, PROPVARIANT *ppropvar); |
| 95 | 102 | ||
| 96 | PSSTDAPI PropVariantToDouble(REFPROPVARIANT propvarIn, double *ret); | 103 | PSSTDAPI PropVariantToDouble(REFPROPVARIANT propvarIn, double *ret); |
| 104 | PSSTDAPI PropVariantToFileTime(REFPROPVARIANT propvar, PSTIME_FLAGS flags, FILETIME *out); | ||
| 105 | PSSTDAPI PropVariantToGUID(REFPROPVARIANT ppropvar, GUID *guid); | ||
| 97 | PSSTDAPI PropVariantToInt16(REFPROPVARIANT propvarIn, SHORT *ret); | 106 | PSSTDAPI PropVariantToInt16(REFPROPVARIANT propvarIn, SHORT *ret); |
| 98 | PSSTDAPI PropVariantToInt32(REFPROPVARIANT propvarIn, LONG *ret); | 107 | PSSTDAPI PropVariantToInt32(REFPROPVARIANT propvarIn, LONG *ret); |
| 99 | PSSTDAPI PropVariantToInt64(REFPROPVARIANT propvarIn, LONGLONG *ret); | 108 | PSSTDAPI PropVariantToInt64(REFPROPVARIANT propvarIn, LONGLONG *ret); |
| 100 | PSSTDAPI PropVariantToUInt16(REFPROPVARIANT propvarIn, USHORT *ret); | 109 | PSSTDAPI PropVariantToUInt16(REFPROPVARIANT propvarIn, USHORT *ret); |
| 101 | PSSTDAPI PropVariantToUInt32(REFPROPVARIANT propvarIn, ULONG *ret); | 110 | PSSTDAPI PropVariantToUInt32(REFPROPVARIANT propvarIn, ULONG *ret); |
| 111 | PSSTDAPI PropVariantToUInt32Vector(REFPROPVARIANT propvar, ULONG *buffer, ULONG size, ULONG *count); | ||
| 102 | PSSTDAPI_(ULONG) PropVariantToUInt32WithDefault(REFPROPVARIANT propvarIn, ULONG uLDefault); | 112 | PSSTDAPI_(ULONG) PropVariantToUInt32WithDefault(REFPROPVARIANT propvarIn, ULONG uLDefault); |
| 103 | PSSTDAPI PropVariantToUInt64(REFPROPVARIANT propvarIn, ULONGLONG *ret); | 113 | PSSTDAPI PropVariantToUInt64(REFPROPVARIANT propvarIn, ULONGLONG *ret); |
| 104 | PSSTDAPI PropVariantToBoolean(REFPROPVARIANT propvarIn, WINBOOL *ret); | 114 | PSSTDAPI PropVariantToBoolean(REFPROPVARIANT propvarIn, WINBOOL *ret); |
lib/libc/include/any-windows-any/psdk_inc/_dbg_common.h+11| ... | @@ -612,6 +612,17 @@ GetModuleBaseRoutine,PTRANSLATE_ADDRESS_ROUTINE TranslateAddress); | ... | @@ -612,6 +612,17 @@ GetModuleBaseRoutine,PTRANSLATE_ADDRESS_ROUTINE TranslateAddress); |
| 612 | DWORD Flags; | 612 | DWORD Flags; |
| 613 | } IMAGEHLP_DEFERRED_SYMBOL_LOAD64,*PIMAGEHLP_DEFERRED_SYMBOL_LOAD64; | 613 | } IMAGEHLP_DEFERRED_SYMBOL_LOAD64,*PIMAGEHLP_DEFERRED_SYMBOL_LOAD64; |
| 614 | 614 | ||
| 615 | typedef struct _IMAGEHLP_DEFERRED_SYMBOL_LOADW64 { | ||
| 616 | DWORD SizeOfStruct; | ||
| 617 | DWORD64 BaseOfImage; | ||
| 618 | DWORD CheckSum; | ||
| 619 | DWORD TimeDateStamp; | ||
| 620 | WCHAR FileName[MAX_PATH + 1]; | ||
| 621 | BOOLEAN Reparse; | ||
| 622 | HANDLE hFile; | ||
| 623 | DWORD Flags; | ||
| 624 | } IMAGEHLP_DEFERRED_SYMBOL_LOADW64,*PIMAGEHLP_DEFERRED_SYMBOL_LOADW64; | ||
| 625 | |||
| 615 | #define DSLFLAG_MISMATCHED_PDB 0x1 | 626 | #define DSLFLAG_MISMATCHED_PDB 0x1 |
| 616 | #define DSLFLAG_MISMATCHED_DBG 0x2 | 627 | #define DSLFLAG_MISMATCHED_DBG 0x2 |
| 617 | 628 |
lib/libc/include/any-windows-any/psdk_inc/intrin-impl.h+65-4| ... | @@ -230,9 +230,9 @@ Parameters: (FunctionName, DataType, Segment) | ... | @@ -230,9 +230,9 @@ Parameters: (FunctionName, DataType, Segment) |
| 230 | 230 | ||
| 231 | #define __buildreadseg(x, y, z, a) y x(unsigned __LONG32 Offset) { \ | 231 | #define __buildreadseg(x, y, z, a) y x(unsigned __LONG32 Offset) { \ |
| 232 | y ret; \ | 232 | y ret; \ |
| 233 | __asm__ ("mov{" a " %%" z ":(%[offset]), %[ret] | %[ret], " z ":[%[offset]] }" \ | 233 | __asm__ ("mov{" a " %%" z ":%a[offset], %[ret] | %[ret], " z ":[%[offset]] }" \ |
| 234 | : [ret] "=r" (ret) \ | 234 | : [ret] "=r" (ret) \ |
| 235 | : [offset] "r" (Offset) \ | 235 | : [offset] "ir" (Offset) \ |
| 236 | : "memory"); \ | 236 | : "memory"); \ |
| 237 | return ret; \ | 237 | return ret; \ |
| 238 | } | 238 | } |
| ... | @@ -248,9 +248,9 @@ Parameters: (FunctionName, DataType, Segment) | ... | @@ -248,9 +248,9 @@ Parameters: (FunctionName, DataType, Segment) |
| 248 | */ | 248 | */ |
| 249 | 249 | ||
| 250 | #define __buildwriteseg(x, y, z, a) void x(unsigned __LONG32 Offset, y Data) { \ | 250 | #define __buildwriteseg(x, y, z, a) void x(unsigned __LONG32 Offset, y Data) { \ |
| 251 | __asm__ volatile ("mov{" a " %[Data], %%" z ":(%[offset]) | " z ":[%[offset]], %[Data] }" \ | 251 | __asm__ volatile ("mov{" a " %[Data], %%" z ":%a[offset] | " z ":[%[offset]], %[Data] }" \ |
| 252 | : \ | 252 | : \ |
| 253 | : [offset] "r" (Offset), [Data] "r" (Data) \ | 253 | : [offset] "ir" (Offset), [Data] "r" (Data) \ |
| 254 | : "memory"); \ | 254 | : "memory"); \ |
| 255 | } | 255 | } |
| 256 | 256 | ||
| ... | @@ -1664,12 +1664,44 @@ short _InterlockedCompareExchange16(short volatile *Destination, short ExChange, | ... | @@ -1664,12 +1664,44 @@ short _InterlockedCompareExchange16(short volatile *Destination, short ExChange, |
| 1664 | #define __INTRINSIC_DEFINED__InterlockedCompareExchange16 | 1664 | #define __INTRINSIC_DEFINED__InterlockedCompareExchange16 |
| 1665 | #endif /* __INTRINSIC_PROLOG */ | 1665 | #endif /* __INTRINSIC_PROLOG */ |
| 1666 | 1666 | ||
| 1667 | /* On i386, fall back to the kernel32 Interlocked exports because GCC | ||
| 1668 | cannot inline the __sync_* builtins (no CMPXCHG/XADD). __asm__ | ||
| 1669 | labels avoid collisions with the winnt.h Interlocked macros. | ||
| 1670 | GCC prepends _ to __asm__ label strings on i386; Clang does not. */ | ||
| 1671 | #if defined(__i386__) && !defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) | ||
| 1672 | #ifdef __clang__ | ||
| 1673 | #define __MINGW_K32_ASM(name) __asm__("_" name) | ||
| 1674 | #else | ||
| 1675 | #define __MINGW_K32_ASM(name) __asm__(name) | ||
| 1676 | #endif | ||
| 1677 | __LONG32 __attribute__((__dllimport__, __stdcall__)) | ||
| 1678 | __mingw_k32_InterlockedExchangeAdd(__LONG32 volatile *, __LONG32) | ||
| 1679 | __MINGW_K32_ASM("InterlockedExchangeAdd@8"); | ||
| 1680 | __LONG32 __attribute__((__dllimport__, __stdcall__)) | ||
| 1681 | __mingw_k32_InterlockedCompareExchange(__LONG32 volatile *, __LONG32, __LONG32) | ||
| 1682 | __MINGW_K32_ASM("InterlockedCompareExchange@12"); | ||
| 1683 | __LONG32 __attribute__((__dllimport__, __stdcall__)) | ||
| 1684 | __mingw_k32_InterlockedIncrement(__LONG32 volatile *) | ||
| 1685 | __MINGW_K32_ASM("InterlockedIncrement@4"); | ||
| 1686 | __LONG32 __attribute__((__dllimport__, __stdcall__)) | ||
| 1687 | __mingw_k32_InterlockedDecrement(__LONG32 volatile *) | ||
| 1688 | __MINGW_K32_ASM("InterlockedDecrement@4"); | ||
| 1689 | __LONG32 __attribute__((__dllimport__, __stdcall__)) | ||
| 1690 | __mingw_k32_InterlockedExchange(__LONG32 volatile *, __LONG32) | ||
| 1691 | __MINGW_K32_ASM("InterlockedExchange@8"); | ||
| 1692 | #undef __MINGW_K32_ASM | ||
| 1693 | #endif | ||
| 1694 | |||
| 1667 | #if __INTRINSIC_PROLOG(_InterlockedExchangeAdd) | 1695 | #if __INTRINSIC_PROLOG(_InterlockedExchangeAdd) |
| 1668 | __LONG32 _InterlockedExchangeAdd(__LONG32 volatile *Addend, __LONG32 Value); | 1696 | __LONG32 _InterlockedExchangeAdd(__LONG32 volatile *Addend, __LONG32 Value); |
| 1669 | #if !__has_builtin(_InterlockedExchangeAdd) | 1697 | #if !__has_builtin(_InterlockedExchangeAdd) |
| 1670 | __INTRINSICS_USEINLINE | 1698 | __INTRINSICS_USEINLINE |
| 1671 | __LONG32 _InterlockedExchangeAdd(__LONG32 volatile *Addend, __LONG32 Value) { | 1699 | __LONG32 _InterlockedExchangeAdd(__LONG32 volatile *Addend, __LONG32 Value) { |
| 1700 | #if defined(__i386__) && !defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) | ||
| 1701 | return __mingw_k32_InterlockedExchangeAdd(Addend, Value); | ||
| 1702 | #else | ||
| 1672 | return __sync_fetch_and_add(Addend, Value); | 1703 | return __sync_fetch_and_add(Addend, Value); |
| 1704 | #endif | ||
| 1673 | } | 1705 | } |
| 1674 | #endif | 1706 | #endif |
| 1675 | #define __INTRINSIC_DEFINED__InterlockedExchangeAdd | 1707 | #define __INTRINSIC_DEFINED__InterlockedExchangeAdd |
| ... | @@ -1680,7 +1712,11 @@ __LONG32 _InterlockedCompareExchange(__LONG32 volatile *Destination, __LONG32 Ex | ... | @@ -1680,7 +1712,11 @@ __LONG32 _InterlockedCompareExchange(__LONG32 volatile *Destination, __LONG32 Ex |
| 1680 | #if !__has_builtin(_InterlockedCompareExchange) | 1712 | #if !__has_builtin(_InterlockedCompareExchange) |
| 1681 | __INTRINSICS_USEINLINE | 1713 | __INTRINSICS_USEINLINE |
| 1682 | __LONG32 _InterlockedCompareExchange(__LONG32 volatile *Destination, __LONG32 ExChange, __LONG32 Comperand) { | 1714 | __LONG32 _InterlockedCompareExchange(__LONG32 volatile *Destination, __LONG32 ExChange, __LONG32 Comperand) { |
| 1715 | #if defined(__i386__) && !defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) | ||
| 1716 | return __mingw_k32_InterlockedCompareExchange(Destination, ExChange, Comperand); | ||
| 1717 | #else | ||
| 1683 | return __sync_val_compare_and_swap(Destination, Comperand, ExChange); | 1718 | return __sync_val_compare_and_swap(Destination, Comperand, ExChange); |
| 1719 | #endif | ||
| 1684 | } | 1720 | } |
| 1685 | #endif | 1721 | #endif |
| 1686 | #define __INTRINSIC_DEFINED__InterlockedCompareExchange | 1722 | #define __INTRINSIC_DEFINED__InterlockedCompareExchange |
| ... | @@ -1691,7 +1727,11 @@ __LONG32 _InterlockedIncrement(__LONG32 volatile *Addend); | ... | @@ -1691,7 +1727,11 @@ __LONG32 _InterlockedIncrement(__LONG32 volatile *Addend); |
| 1691 | #if !__has_builtin(_InterlockedIncrement) | 1727 | #if !__has_builtin(_InterlockedIncrement) |
| 1692 | __INTRINSICS_USEINLINE | 1728 | __INTRINSICS_USEINLINE |
| 1693 | __LONG32 _InterlockedIncrement(__LONG32 volatile *Addend) { | 1729 | __LONG32 _InterlockedIncrement(__LONG32 volatile *Addend) { |
| 1730 | #if defined(__i386__) && !defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) | ||
| 1731 | return __mingw_k32_InterlockedIncrement(Addend); | ||
| 1732 | #else | ||
| 1694 | return __sync_add_and_fetch(Addend, 1); | 1733 | return __sync_add_and_fetch(Addend, 1); |
| 1734 | #endif | ||
| 1695 | } | 1735 | } |
| 1696 | #endif | 1736 | #endif |
| 1697 | #define __INTRINSIC_DEFINED__InterlockedIncrement | 1737 | #define __INTRINSIC_DEFINED__InterlockedIncrement |
| ... | @@ -1702,7 +1742,11 @@ __LONG32 _InterlockedDecrement(__LONG32 volatile *Addend); | ... | @@ -1702,7 +1742,11 @@ __LONG32 _InterlockedDecrement(__LONG32 volatile *Addend); |
| 1702 | #if !__has_builtin(_InterlockedDecrement) | 1742 | #if !__has_builtin(_InterlockedDecrement) |
| 1703 | __INTRINSICS_USEINLINE | 1743 | __INTRINSICS_USEINLINE |
| 1704 | __LONG32 _InterlockedDecrement(__LONG32 volatile *Addend) { | 1744 | __LONG32 _InterlockedDecrement(__LONG32 volatile *Addend) { |
| 1745 | #if defined(__i386__) && !defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) | ||
| 1746 | return __mingw_k32_InterlockedDecrement(Addend); | ||
| 1747 | #else | ||
| 1705 | return __sync_sub_and_fetch(Addend, 1); | 1748 | return __sync_sub_and_fetch(Addend, 1); |
| 1749 | #endif | ||
| 1706 | } | 1750 | } |
| 1707 | #endif | 1751 | #endif |
| 1708 | #define __INTRINSIC_DEFINED__InterlockedDecrement | 1752 | #define __INTRINSIC_DEFINED__InterlockedDecrement |
| ... | @@ -1735,7 +1779,11 @@ __LONG32 _InterlockedExchange(__LONG32 volatile *Target, __LONG32 Value); | ... | @@ -1735,7 +1779,11 @@ __LONG32 _InterlockedExchange(__LONG32 volatile *Target, __LONG32 Value); |
| 1735 | #if !__has_builtin(_InterlockedExchange) | 1779 | #if !__has_builtin(_InterlockedExchange) |
| 1736 | __INTRINSICS_USEINLINE | 1780 | __INTRINSICS_USEINLINE |
| 1737 | __LONG32 _InterlockedExchange(__LONG32 volatile *Target, __LONG32 Value) { | 1781 | __LONG32 _InterlockedExchange(__LONG32 volatile *Target, __LONG32 Value) { |
| 1782 | #if defined(__i386__) && !defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) | ||
| 1783 | return __mingw_k32_InterlockedExchange(Target, Value); | ||
| 1784 | #else | ||
| 1738 | return __sync_lock_test_and_set(Target, Value); | 1785 | return __sync_lock_test_and_set(Target, Value); |
| 1786 | #endif | ||
| 1739 | } | 1787 | } |
| 1740 | #endif | 1788 | #endif |
| 1741 | #define __INTRINSIC_DEFINED__InterlockedExchange | 1789 | #define __INTRINSIC_DEFINED__InterlockedExchange |
| ... | @@ -1757,7 +1805,14 @@ void *_InterlockedCompareExchangePointer(void * volatile *Destination, void *ExC | ... | @@ -1757,7 +1805,14 @@ void *_InterlockedCompareExchangePointer(void * volatile *Destination, void *ExC |
| 1757 | #if !__has_builtin(_InterlockedCompareExchangePointer) | 1805 | #if !__has_builtin(_InterlockedCompareExchangePointer) |
| 1758 | __INTRINSICS_USEINLINE | 1806 | __INTRINSICS_USEINLINE |
| 1759 | void *_InterlockedCompareExchangePointer(void *volatile *Destination, void *ExChange, void *Comperand) { | 1807 | void *_InterlockedCompareExchangePointer(void *volatile *Destination, void *ExChange, void *Comperand) { |
| 1808 | #if defined(__i386__) && !defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) | ||
| 1809 | return (void *)(long)__mingw_k32_InterlockedCompareExchange( | ||
| 1810 | (__LONG32 volatile *)Destination, | ||
| 1811 | (__LONG32)(long)ExChange, | ||
| 1812 | (__LONG32)(long)Comperand); | ||
| 1813 | #else | ||
| 1760 | return __sync_val_compare_and_swap(Destination, Comperand, ExChange); | 1814 | return __sync_val_compare_and_swap(Destination, Comperand, ExChange); |
| 1815 | #endif | ||
| 1761 | } | 1816 | } |
| 1762 | #endif | 1817 | #endif |
| 1763 | #define __INTRINSIC_DEFINED__InterlockedCompareExchangePointer | 1818 | #define __INTRINSIC_DEFINED__InterlockedCompareExchangePointer |
| ... | @@ -1768,7 +1823,13 @@ void *_InterlockedExchangePointer(void *volatile *Target,void *Value); | ... | @@ -1768,7 +1823,13 @@ void *_InterlockedExchangePointer(void *volatile *Target,void *Value); |
| 1768 | #if !__has_builtin(_InterlockedExchangePointer) | 1823 | #if !__has_builtin(_InterlockedExchangePointer) |
| 1769 | __INTRINSICS_USEINLINE | 1824 | __INTRINSICS_USEINLINE |
| 1770 | void *_InterlockedExchangePointer(void *volatile *Target,void *Value) { | 1825 | void *_InterlockedExchangePointer(void *volatile *Target,void *Value) { |
| 1826 | #if defined(__i386__) && !defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) | ||
| 1827 | return (void *)(long)__mingw_k32_InterlockedExchange( | ||
| 1828 | (__LONG32 volatile *)Target, | ||
| 1829 | (__LONG32)(long)Value); | ||
| 1830 | #else | ||
| 1771 | return __sync_lock_test_and_set(Target, Value); | 1831 | return __sync_lock_test_and_set(Target, Value); |
| 1832 | #endif | ||
| 1772 | } | 1833 | } |
| 1773 | #endif | 1834 | #endif |
| 1774 | #define __INTRINSIC_DEFINED__InterlockedExchangePointer | 1835 | #define __INTRINSIC_DEFINED__InterlockedExchangePointer |
lib/libc/include/any-windows-any/pthread_compat.h+76-20| ... | @@ -60,24 +60,31 @@ | ... | @@ -60,24 +60,31 @@ |
| 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) | 63 | #if defined(__cplusplus) && __cplusplus >= 201103L |
| 64 | #define WINPTHREADS_STATIC_ASSERT(expr, msg) static_assert ((expr), msg) | ||
| 65 | #elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L | ||
| 66 | #define WINPTHREADS_STATIC_ASSERT(expr, msg) static_assert ((expr), msg) | ||
| 67 | #elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L | ||
| 68 | #define WINPTHREADS_STATIC_ASSERT(expr, msg) _Static_assert ((expr), msg) | ||
| 69 | #else | ||
| 70 | #define WINPTHREADS_STATIC_ASSERT(expr, msg) extern int winpthreads_static_assert[((expr) ? 1 : -1)] | ||
| 71 | #endif | ||
| 72 | |||
| 73 | #if defined(_USE_32BIT_TIME_T) | ||
| 64 | #define WINPTHREADS_TIME_BITS 32 | 74 | #define WINPTHREADS_TIME_BITS 32 |
| 65 | #else | 75 | #else |
| 66 | #define WINPTHREADS_TIME_BITS 64 | 76 | #define WINPTHREADS_TIME_BITS 64 |
| 67 | #endif | 77 | #endif |
| 68 | 78 | ||
| 69 | #if defined(IN_WINPTHREAD) | 79 | #ifndef WINPTHREAD_API |
| 70 | # if defined(DLL_EXPORT) | 80 | /** |
| 71 | # define WINPTHREAD_API __declspec(dllexport) /* building the DLL */ | 81 | * Allow `WINPTHREAD_STATIC` to override `WINPTHREADS_USE_DLLIMPORT`. |
| 72 | # else | 82 | */ |
| 73 | # define WINPTHREAD_API /* building the static library */ | 83 | # if defined(WINPTHREADS_USE_DLLIMPORT) && !defined(WINPTHREAD_STATIC) |
| 74 | # endif | 84 | # define WINPTHREAD_API __declspec(dllimport) |
| 75 | #else | 85 | # else |
| 76 | # if defined(WINPTHREADS_USE_DLLIMPORT) | 86 | # define WINPTHREAD_API |
| 77 | # define WINPTHREAD_API __declspec(dllimport) /* user wants explicit `dllimport` */ | 87 | # endif |
| 78 | # else | ||
| 79 | # define WINPTHREAD_API /* the default; auto imported in case of DLL */ | ||
| 80 | # endif | ||
| 81 | #endif | 88 | #endif |
| 82 | 89 | ||
| 83 | #ifndef __clockid_t_defined | 90 | #ifndef __clockid_t_defined |
| ... | @@ -110,9 +117,24 @@ typedef unsigned short mode_t; | ... | @@ -110,9 +117,24 @@ typedef unsigned short mode_t; |
| 110 | 117 | ||
| 111 | #elif _MSC_VER | 118 | #elif _MSC_VER |
| 112 | 119 | ||
| 120 | /** | ||
| 121 | * If package which includes this header file is using autoconf and calls | ||
| 122 | * AC_TYPE_PID_T macro, the check for pid_t will fail and it will define pid_t | ||
| 123 | * as a macro in config.h - this eventually results in compilation error. | ||
| 124 | * | ||
| 125 | * Luckily, it defines it to the same base type, so we can simply undefine it. | ||
| 126 | */ | ||
| 113 | #ifdef _WIN64 | 127 | #ifdef _WIN64 |
| 128 | #ifdef pid_t | ||
| 129 | WINPTHREADS_STATIC_ASSERT (sizeof (pid_t) == sizeof(__int64), "pid_t is defined as a macro with mismatching base type"); | ||
| 130 | #undef pid_t | ||
| 131 | #endif | ||
| 114 | typedef __int64 pid_t; | 132 | typedef __int64 pid_t; |
| 115 | #else | 133 | #else |
| 134 | #ifdef pid_t | ||
| 135 | WINPTHREADS_STATIC_ASSERT (sizeof (pid_t) == sizeof(int), "pid_t is defined as a macro with mismatching base type"); | ||
| 136 | #undef pid_t | ||
| 137 | #endif | ||
| 116 | typedef int pid_t; | 138 | typedef int pid_t; |
| 117 | #endif | 139 | #endif |
| 118 | 140 | ||
| ... | @@ -124,25 +146,59 @@ typedef int pid_t; | ... | @@ -124,25 +146,59 @@ typedef int pid_t; |
| 124 | #endif | 146 | #endif |
| 125 | 147 | ||
| 126 | #ifndef WINPTHREAD_CLOCK_DECL | 148 | #ifndef WINPTHREAD_CLOCK_DECL |
| 127 | #define WINPTHREAD_CLOCK_DECL static WINPTHREADS_ALWAYS_INLINE | 149 | # ifdef __cplusplus |
| 150 | # define WINPTHREAD_CLOCK_DECL WINPTHREADS_ALWAYS_INLINE | ||
| 151 | # else | ||
| 152 | # define WINPTHREAD_CLOCK_DECL static WINPTHREADS_ALWAYS_INLINE | ||
| 153 | # endif | ||
| 128 | #endif | 154 | #endif |
| 155 | |||
| 129 | #ifndef WINPTHREAD_COND_DECL | 156 | #ifndef WINPTHREAD_COND_DECL |
| 130 | #define WINPTHREAD_COND_DECL static WINPTHREADS_ALWAYS_INLINE | 157 | # ifdef __cplusplus |
| 158 | # define WINPTHREAD_COND_DECL WINPTHREADS_ALWAYS_INLINE | ||
| 159 | # else | ||
| 160 | # define WINPTHREAD_COND_DECL static WINPTHREADS_ALWAYS_INLINE | ||
| 161 | # endif | ||
| 131 | #endif | 162 | #endif |
| 163 | |||
| 132 | #ifndef WINPTHREAD_MUTEX_DECL | 164 | #ifndef WINPTHREAD_MUTEX_DECL |
| 133 | #define WINPTHREAD_MUTEX_DECL static WINPTHREADS_ALWAYS_INLINE | 165 | # ifdef __cplusplus |
| 166 | # define WINPTHREAD_MUTEX_DECL WINPTHREADS_ALWAYS_INLINE | ||
| 167 | # else | ||
| 168 | # define WINPTHREAD_MUTEX_DECL static WINPTHREADS_ALWAYS_INLINE | ||
| 169 | # endif | ||
| 134 | #endif | 170 | #endif |
| 171 | |||
| 135 | #ifndef WINPTHREAD_NANOSLEEP_DECL | 172 | #ifndef WINPTHREAD_NANOSLEEP_DECL |
| 136 | #define WINPTHREAD_NANOSLEEP_DECL static WINPTHREADS_ALWAYS_INLINE | 173 | # ifdef __cplusplus |
| 174 | # define WINPTHREAD_NANOSLEEP_DECL WINPTHREADS_ALWAYS_INLINE | ||
| 175 | # else | ||
| 176 | # define WINPTHREAD_NANOSLEEP_DECL static WINPTHREADS_ALWAYS_INLINE | ||
| 177 | # endif | ||
| 137 | #endif | 178 | #endif |
| 179 | |||
| 138 | #ifndef WINPTHREAD_RWLOCK_DECL | 180 | #ifndef WINPTHREAD_RWLOCK_DECL |
| 139 | #define WINPTHREAD_RWLOCK_DECL static WINPTHREADS_ALWAYS_INLINE | 181 | # ifdef __cplusplus |
| 182 | # define WINPTHREAD_RWLOCK_DECL WINPTHREADS_ALWAYS_INLINE | ||
| 183 | # else | ||
| 184 | # define WINPTHREAD_RWLOCK_DECL static WINPTHREADS_ALWAYS_INLINE | ||
| 185 | # endif | ||
| 140 | #endif | 186 | #endif |
| 187 | |||
| 141 | #ifndef WINPTHREAD_SEM_DECL | 188 | #ifndef WINPTHREAD_SEM_DECL |
| 142 | #define WINPTHREAD_SEM_DECL static WINPTHREADS_ALWAYS_INLINE | 189 | # ifdef __cplusplus |
| 190 | # define WINPTHREAD_SEM_DECL WINPTHREADS_ALWAYS_INLINE | ||
| 191 | # else | ||
| 192 | # define WINPTHREAD_SEM_DECL static WINPTHREADS_ALWAYS_INLINE | ||
| 193 | # endif | ||
| 143 | #endif | 194 | #endif |
| 195 | |||
| 144 | #ifndef WINPTHREAD_THREAD_DECL | 196 | #ifndef WINPTHREAD_THREAD_DECL |
| 145 | #define WINPTHREAD_THREAD_DECL static WINPTHREADS_ALWAYS_INLINE | 197 | # ifdef __cplusplus |
| 198 | # define WINPTHREAD_THREAD_DECL WINPTHREADS_ALWAYS_INLINE | ||
| 199 | # else | ||
| 200 | # define WINPTHREAD_THREAD_DECL static WINPTHREADS_ALWAYS_INLINE | ||
| 201 | # endif | ||
| 146 | #endif | 202 | #endif |
| 147 | 203 | ||
| 148 | #endif | 204 | #endif |
lib/libc/include/any-windows-any/qedit.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/qedit.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/qnetwork.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/rdpencomapi.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/rdpencomapi.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/regbag.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/relogger.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/robuffer.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/rtworkq.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/sal.h+1| ... | @@ -570,6 +570,7 @@ | ... | @@ -570,6 +570,7 @@ |
| 570 | #define __deref_opt_out_bcount(x) | 570 | #define __deref_opt_out_bcount(x) |
| 571 | #define __deref_out | 571 | #define __deref_out |
| 572 | #define __deref_out_ecount(size) | 572 | #define __deref_out_ecount(size) |
| 573 | #define __deref_out_ecount_full(size) | ||
| 573 | #define __deref_out_opt | 574 | #define __deref_out_opt |
| 574 | 575 | ||
| 575 | #define __range(x,y) | 576 | #define __range(x,y) |
lib/libc/include/any-windows-any/sapi51.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/sapi51.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/sapi53.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/sapi54.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/sdks/_mingw_ddk.h deleted-6| ... | @@ -1,6 +0,0 @@ | ||
| 1 | #ifndef MINGW_DDK_H | ||
| 2 | #define MINGW_DDK_H | ||
| 3 | #if 1 | ||
| 4 | #define MINGW_HAS_DDK_H 1 | ||
| 5 | #endif | ||
| 6 | #endif | ||
lib/libc/include/any-windows-any/sec_api/conio_s.h+11-16| ... | @@ -22,28 +22,23 @@ | ... | @@ -22,28 +22,23 @@ |
| 22 | extern "C" { | 22 | extern "C" { |
| 23 | #endif | 23 | #endif |
| 24 | 24 | ||
| 25 | /** | ||
| 26 | * Functions to read/write strings from/to console. | ||
| 27 | */ | ||
| 28 | |||
| 25 | _SECIMP errno_t __cdecl _cgets_s (char *_Buffer,size_t _Size,size_t *_SizeRead); | 29 | _SECIMP errno_t __cdecl _cgets_s (char *_Buffer,size_t _Size,size_t *_SizeRead); |
| 26 | __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, _cgets_s, char, _Buffer, size_t*, _SizeRead) | 30 | __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, _cgets_s, char, _Buffer, size_t*, _SizeRead) |
| 27 | 31 | ||
| 32 | /** | ||
| 33 | * Formatted console I/O functions. | ||
| 34 | */ | ||
| 35 | |||
| 28 | _SECIMP int __cdecl _cprintf_s (const char *_Format,...); | 36 | _SECIMP int __cdecl _cprintf_s (const char *_Format,...); |
| 29 | _CRTIMP int __cdecl _cscanf_s(const char *_Format,...); | ||
| 30 | _CRTIMP int __cdecl _cscanf_s_l(const char *_Format,_locale_t _Locale,...); | ||
| 31 | _SECIMP int __cdecl _vcprintf_s (const char *_Format,va_list _ArgList); | ||
| 32 | _SECIMP int __cdecl _cprintf_s_l (const char *_Format,_locale_t _Locale,...); | 37 | _SECIMP int __cdecl _cprintf_s_l (const char *_Format,_locale_t _Locale,...); |
| 38 | _SECIMP int __cdecl _vcprintf_s (const char *_Format,va_list _ArgList); | ||
| 33 | _SECIMP int __cdecl _vcprintf_s_l (const char *_Format,_locale_t _Locale,va_list _ArgList); | 39 | _SECIMP int __cdecl _vcprintf_s_l (const char *_Format,_locale_t _Locale,va_list _ArgList); |
| 34 | 40 | _CRTIMP int __cdecl _cscanf_s(const char *_Format,...); | |
| 35 | #ifndef _WCONIO_S_DEFINED | 41 | _CRTIMP int __cdecl _cscanf_s_l(const char *_Format,_locale_t _Locale,...); |
| 36 | #define _WCONIO_S_DEFINED | ||
| 37 | _SECIMP errno_t __cdecl _cgetws_s (wchar_t *_Buffer,size_t _SizeInWords,size_t *_SizeRead); | ||
| 38 | __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, _cgetws_s, wchar_t, _Buffer, size_t*, _SizeRead) | ||
| 39 | |||
| 40 | _SECIMP int __cdecl _cwprintf_s (const wchar_t *_Format,...); | ||
| 41 | _CRTIMP int __cdecl _cwscanf_s(const wchar_t *_Format,...); | ||
| 42 | _CRTIMP int __cdecl _cwscanf_s_l(const wchar_t *_Format,_locale_t _Locale,...); | ||
| 43 | _SECIMP int __cdecl _vcwprintf_s (const wchar_t *_Format,va_list _ArgList); | ||
| 44 | _SECIMP int __cdecl _cwprintf_s_l (const wchar_t *_Format,_locale_t _Locale,...); | ||
| 45 | _SECIMP int __cdecl _vcwprintf_s_l (const wchar_t *_Format,_locale_t _Locale,va_list _ArgList); | ||
| 46 | #endif | ||
| 47 | 42 | ||
| 48 | #ifdef __cplusplus | 43 | #ifdef __cplusplus |
| 49 | } | 44 | } |
lib/libc/include/any-windows-any/sec_api/wchar_s.h-11| ... | @@ -27,17 +27,6 @@ extern "C" { | ... | @@ -27,17 +27,6 @@ extern "C" { |
| 27 | _SECIMP errno_t __cdecl _wmktemp_s (wchar_t *_TemplateName,size_t _SizeInWords); | 27 | _SECIMP errno_t __cdecl _wmktemp_s (wchar_t *_TemplateName,size_t _SizeInWords); |
| 28 | #endif | 28 | #endif |
| 29 | 29 | ||
| 30 | #ifndef _WCONIO_S_DEFINED | ||
| 31 | #define _WCONIO_S_DEFINED | ||
| 32 | _SECIMP errno_t __cdecl _cgetws_s (wchar_t *_Buffer,size_t _SizeInWords,size_t *_SizeRead); | ||
| 33 | _SECIMP int __cdecl _cwprintf_s (const wchar_t *_Format,...); | ||
| 34 | _CRTIMP int __cdecl _cwscanf_s(const wchar_t *_Format,...); | ||
| 35 | _CRTIMP int __cdecl _cwscanf_s_l(const wchar_t *_Format,_locale_t _Locale,...); | ||
| 36 | _SECIMP int __cdecl _vcwprintf_s (const wchar_t *_Format,va_list _ArgList); | ||
| 37 | _SECIMP int __cdecl _cwprintf_s_l (const wchar_t *_Format,_locale_t _Locale,...); | ||
| 38 | _SECIMP int __cdecl _vcwprintf_s_l (const wchar_t *_Format,_locale_t _Locale,va_list _ArgList); | ||
| 39 | #endif | ||
| 40 | |||
| 41 | #ifndef _WSTDIO_S_DEFINED | 30 | #ifndef _WSTDIO_S_DEFINED |
| 42 | #define _WSTDIO_S_DEFINED | 31 | #define _WSTDIO_S_DEFINED |
| 43 | _CRTIMP wchar_t *__cdecl _getws_s(wchar_t *_Str,size_t _SizeInWords); | 32 | _CRTIMP wchar_t *__cdecl _getws_s(wchar_t *_Str,size_t _SizeInWords); |
lib/libc/include/any-windows-any/sec_api/wconio_s.h created+47| ... | @@ -0,0 +1,47 @@ | ||
| 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 | #ifndef _INC_WCONIO_S | ||
| 8 | #define _INC_WCONIO_S | ||
| 9 | |||
| 10 | #include <corecrt_wconio.h> | ||
| 11 | |||
| 12 | #if defined(__LIBMSVCRT__) | ||
| 13 | /* When building mingw-w64, this should be blank. */ | ||
| 14 | #define _SECIMP | ||
| 15 | #else | ||
| 16 | #ifndef _SECIMP | ||
| 17 | #define _SECIMP __declspec(dllimport) | ||
| 18 | #endif /* _SECIMP */ | ||
| 19 | #endif /* defined(__LIBMSVCRT__) */ | ||
| 20 | |||
| 21 | #ifdef __cplusplus | ||
| 22 | extern "C" { | ||
| 23 | #endif | ||
| 24 | |||
| 25 | /** | ||
| 26 | * Functions to read/write strings from/to console. | ||
| 27 | */ | ||
| 28 | |||
| 29 | _SECIMP errno_t __cdecl _cgetws_s (wchar_t *_Buffer,size_t _SizeInWords,size_t *_SizeRead); | ||
| 30 | __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, _cgetws_s, wchar_t, _Buffer, size_t*, _SizeRead) | ||
| 31 | |||
| 32 | /** | ||
| 33 | * Formatted console I/O functions. | ||
| 34 | */ | ||
| 35 | |||
| 36 | _SECIMP int __cdecl _cwprintf_s (const wchar_t *_Format,...); | ||
| 37 | _SECIMP int __cdecl _cwprintf_s_l (const wchar_t *_Format,_locale_t _Locale,...); | ||
| 38 | _SECIMP int __cdecl _vcwprintf_s (const wchar_t *_Format,va_list _ArgList); | ||
| 39 | _SECIMP int __cdecl _vcwprintf_s_l (const wchar_t *_Format,_locale_t _Locale,va_list _ArgList); | ||
| 40 | _CRTIMP int __cdecl _cwscanf_s(const wchar_t *_Format,...); | ||
| 41 | _CRTIMP int __cdecl _cwscanf_s_l(const wchar_t *_Format,_locale_t _Locale,...); | ||
| 42 | |||
| 43 | #ifdef __cplusplus | ||
| 44 | } | ||
| 45 | #endif | ||
| 46 | |||
| 47 | #endif /* _INC_WCONIO_S */ | ||
lib/libc/include/any-windows-any/sensorsapi.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/sensorsapi.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/servprov.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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+61-45| ... | @@ -26,7 +26,7 @@ | ... | @@ -26,7 +26,7 @@ |
| 26 | extern "C" { | 26 | extern "C" { |
| 27 | #endif | 27 | #endif |
| 28 | 28 | ||
| 29 | #if (defined(_X86_) && !defined(__x86_64)) | 29 | #if defined(__i386__) |
| 30 | 30 | ||
| 31 | #define _JBLEN 16 | 31 | #define _JBLEN 16 |
| 32 | #define _JBTYPE int | 32 | #define _JBTYPE int |
| ... | @@ -40,6 +40,7 @@ extern "C" { | ... | @@ -40,6 +40,7 @@ extern "C" { |
| 40 | unsigned long Eip; | 40 | unsigned long Eip; |
| 41 | unsigned long Registration; | 41 | unsigned long Registration; |
| 42 | unsigned long TryLevel; | 42 | unsigned long TryLevel; |
| 43 | /* Following fields are only for new _setjmp3(), the are not for old _setjmp(). */ | ||
| 43 | unsigned long Cookie; | 44 | unsigned long Cookie; |
| 44 | unsigned long UnwindFunc; | 45 | unsigned long UnwindFunc; |
| 45 | unsigned long UnwindData[6]; | 46 | unsigned long UnwindData[6]; |
| ... | @@ -107,7 +108,7 @@ extern "C" { | ... | @@ -107,7 +108,7 @@ extern "C" { |
| 107 | 108 | ||
| 108 | } _JUMP_BUFFER; | 109 | } _JUMP_BUFFER; |
| 109 | 110 | ||
| 110 | #elif defined(__x86_64) | 111 | #elif defined(__x86_64__) |
| 111 | 112 | ||
| 112 | typedef _CRT_ALIGN(16) struct _SETJMP_FLOAT128 { | 113 | typedef _CRT_ALIGN(16) struct _SETJMP_FLOAT128 { |
| 113 | __MINGW_EXTENSION unsigned __int64 Part[2]; | 114 | __MINGW_EXTENSION unsigned __int64 Part[2]; |
| ... | @@ -202,68 +203,83 @@ extern "C" { | ... | @@ -202,68 +203,83 @@ extern "C" { |
| 202 | #define _JMP_BUF_DEFINED | 203 | #define _JMP_BUF_DEFINED |
| 203 | #endif | 204 | #endif |
| 204 | 205 | ||
| 205 | _CRTIMP __MINGW_ATTRIB_NORETURN __attribute__ ((__nothrow__)) void __cdecl longjmp(jmp_buf _Buf,int _Value); | 206 | _CRTIMP __MINGW_ATTRIB_NORETURN __attribute__ ((__nothrow__)) void __cdecl longjmp(jmp_buf _Buf, int _Value); /* for setjmp.h and non-i386 setjmpex.h */ |
| 207 | #ifdef __i386__ | ||
| 208 | _CRTIMP __MINGW_ATTRIB_NORETURN __attribute__ ((__nothrow__)) void __cdecl _longjmpex(jmp_buf _Buf, int _Value); /* for i386 setjmpex.h */ | ||
| 209 | #endif | ||
| 210 | |||
| 211 | #ifdef __i386__ | ||
| 212 | _CRTIMP int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) _setjmp(jmp_buf _Buf); /* old i386 crtdll setjmp.h */ | ||
| 213 | _CRTIMP int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) _setjmp3(jmp_buf _Buf, int _Count, ...); /* new i386 msvcrt20+ setjmp.h and setjmpex.h */ | ||
| 214 | #else | ||
| 215 | #ifndef __aarch64__ | ||
| 216 | _CRTIMP int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) _setjmp(jmp_buf _Buf, void *_Frame); /* for non-i386 and non-aarch64 setjmp.h */ | ||
| 217 | #endif | ||
| 218 | _CRTIMP int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) _setjmpex(jmp_buf _Buf, void *_Frame); /* for non-i386 setjmpex.h and aarch64 setjmp.h */ | ||
| 219 | #endif | ||
| 220 | |||
| 221 | #if defined(__arm__) || defined(__aarch64__) | ||
| 222 | int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) __mingw_setjmp(jmp_buf _Buf); | ||
| 223 | __MINGW_ATTRIB_NORETURN __attribute__ ((__nothrow__)) void __mingw_longjmp(jmp_buf _Buf, int _Value); | ||
| 224 | #endif | ||
| 206 | 225 | ||
| 207 | void * __cdecl __attribute__ ((__nothrow__)) mingw_getsp (void); | 226 | void * __cdecl __attribute__ ((__nothrow__)) mingw_getsp (void); |
| 208 | 227 | ||
| 228 | #ifdef __cplusplus | ||
| 229 | } | ||
| 230 | #endif | ||
| 231 | |||
| 232 | #pragma pack(pop) | ||
| 233 | #endif /* _INC_SETJMP */ | ||
| 234 | |||
| 235 | /* | ||
| 236 | * Now outside of the _INC_SETJMP block, defines setjmp() and longjmp(). | ||
| 237 | * It allows '#include <setjmpex.h>' to override the existing setjmp() and longjmp() definitions. | ||
| 238 | */ | ||
| 239 | |||
| 209 | #pragma push_macro("__has_builtin") | 240 | #pragma push_macro("__has_builtin") |
| 210 | #ifndef __has_builtin | 241 | #ifndef __has_builtin |
| 211 | #define __has_builtin(x) 0 | 242 | #define __has_builtin(x) 0 |
| 212 | #endif | 243 | #endif |
| 213 | 244 | ||
| 214 | #ifdef _UCRT | 245 | #ifdef setjmp |
| 215 | # ifdef _WIN64 | 246 | # undef setjmp |
| 216 | # define _setjmp __intrinsic_setjmpex | 247 | #endif |
| 248 | #if defined(__i386__) | ||
| 249 | # define setjmp(BUF) _setjmp3((BUF), 0) | ||
| 250 | #elif !defined(_INC_SETJMPEX) && (!defined(__SEH__) || defined(__USE_MINGW_SETJMP_NON_SEH)) | ||
| 251 | # if defined(__arm__) || defined(__aarch64__) | ||
| 252 | # define setjmp(BUF) __mingw_setjmp((BUF)) | ||
| 217 | # else | 253 | # else |
| 218 | # define _setjmp __intrinsic_setjmp | 254 | # define setjmp(BUF) _setjmp((BUF), NULL) |
| 219 | # endif | 255 | # endif |
| 220 | #elif defined(__aarch64__) | 256 | #elif !defined(_INC_SETJMPEX) && !defined(__aarch64__) |
| 221 | /* ARM64 msvcrt.dll lacks _setjmp, only has _setjmpex. */ | 257 | # if __has_builtin(__builtin_sponentry) |
| 222 | # define _setjmp _setjmpex | ||
| 223 | #endif | ||
| 224 | #ifndef _INC_SETJMPEX | ||
| 225 | # if defined(_X86_) || defined(__i386__) | ||
| 226 | # define setjmp(BUF) _setjmp3((BUF), NULL) | ||
| 227 | # elif !defined(__SEH__) || defined(__USE_MINGW_SETJMP_NON_SEH) | ||
| 228 | # if defined(__arm__) || defined(__aarch64__) | ||
| 229 | # define setjmp(BUF) __mingw_setjmp((BUF)) | ||
| 230 | # define longjmp __mingw_longjmp | ||
| 231 | int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) __mingw_setjmp(jmp_buf _Buf); | ||
| 232 | __MINGW_ATTRIB_NORETURN __attribute__ ((__nothrow__)) void __mingw_longjmp(jmp_buf _Buf,int _Value); | ||
| 233 | # else | ||
| 234 | # define setjmp(BUF) _setjmp((BUF), NULL) | ||
| 235 | # endif | ||
| 236 | # elif __has_builtin(__builtin_sponentry) | ||
| 237 | # define setjmp(BUF) _setjmp((BUF), __builtin_sponentry()) | 258 | # define setjmp(BUF) _setjmp((BUF), __builtin_sponentry()) |
| 238 | # elif (__MINGW_GCC_VERSION < 40702) && !defined(__clang__) | 259 | # elif (__MINGW_GCC_VERSION < 40702) && !defined(__clang__) |
| 239 | # define setjmp(BUF) _setjmp((BUF), mingw_getsp()) | 260 | # define setjmp(BUF) _setjmp((BUF), mingw_getsp()) |
| 240 | # else | 261 | # else |
| 241 | # define setjmp(BUF) _setjmp((BUF), __builtin_frame_address (0)) | 262 | # define setjmp(BUF) _setjmp((BUF), __builtin_frame_address(0)) |
| 242 | # endif | 263 | # endif |
| 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); | ||
| 245 | #else | 264 | #else |
| 246 | # undef setjmp | 265 | # if __has_builtin(__builtin_sponentry) |
| 247 | # ifdef __SEH__ | 266 | # define setjmp(BUF) _setjmpex((BUF), __builtin_sponentry()) |
| 248 | # if (__MINGW_GCC_VERSION < 40702) && !defined(__clang__) | 267 | # elif (__MINGW_GCC_VERSION < 40702) && !defined(__clang__) |
| 249 | # define setjmp(BUF) _setjmpex((BUF), mingw_getsp()) | 268 | # define setjmp(BUF) _setjmpex((BUF), mingw_getsp()) |
| 250 | # define setjmpex(BUF) _setjmpex((BUF), mingw_getsp()) | ||
| 251 | # else | ||
| 252 | # define setjmp(BUF) _setjmpex((BUF), __builtin_frame_address (0)) | ||
| 253 | # define setjmpex(BUF) _setjmpex((BUF), __builtin_frame_address (0)) | ||
| 254 | # endif | ||
| 255 | # else | 269 | # else |
| 256 | # define setjmp(BUF) _setjmpex((BUF), NULL) | 270 | # define setjmp(BUF) _setjmpex((BUF), __builtin_frame_address(0)) |
| 257 | # define setjmpex(BUF) _setjmpex((BUF), NULL) | ||
| 258 | # endif | 271 | # endif |
| 259 | int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) _setjmpex(jmp_buf _Buf,void *_Ctx); | ||
| 260 | #endif | 272 | #endif |
| 261 | 273 | ||
| 262 | #pragma pop_macro("__has_builtin") | 274 | #ifdef longjmp |
| 263 | 275 | # undef longjmp | |
| 264 | #ifdef __cplusplus | ||
| 265 | } | ||
| 266 | #endif | 276 | #endif |
| 267 | 277 | #if defined(_INC_SETJMPEX) && defined(__i386__) | |
| 268 | #pragma pack(pop) | 278 | # define longjmp _longjmpex |
| 279 | #elif !defined(_INC_SETJMPEX) && (!defined(__SEH__) || defined(__USE_MINGW_SETJMP_NON_SEH)) && (defined(__arm__) || defined(__aarch64__)) | ||
| 280 | # define longjmp __mingw_longjmp | ||
| 281 | #else | ||
| 282 | # define longjmp longjmp | ||
| 269 | #endif | 283 | #endif |
| 284 | |||
| 285 | #pragma pop_macro("__has_builtin") |
lib/libc/include/any-windows-any/setjmpex.h+1-15| ... | @@ -4,21 +4,7 @@ | ... | @@ -4,21 +4,7 @@ |
| 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 | #ifndef _INC_SETJMPEX | 6 | #ifndef _INC_SETJMPEX |
| 7 | /* setjmp.h defines setjmp() and longjmp() based on _INC_SETJMPEX */ | ||
| 7 | #define _INC_SETJMPEX | 8 | #define _INC_SETJMPEX |
| 8 | |||
| 9 | #ifndef _WIN32 | ||
| 10 | #error Only Win32 target is supported! | ||
| 11 | #endif | ||
| 12 | |||
| 13 | #if (defined(_X86_) && !defined(__x86_64)) | ||
| 14 | #define setjmp _setjmp | ||
| 15 | #define longjmp _longjmpex | ||
| 16 | #else | ||
| 17 | #ifdef setjmp | ||
| 18 | #undef setjmp | ||
| 19 | #endif | ||
| 20 | #define setjmp _setjmpex | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #include <setjmp.h> | 9 | #include <setjmp.h> |
| 24 | #endif | 10 | #endif |
lib/libc/include/any-windows-any/shldisp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/shldisp.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/shobjidl.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/shobjidl.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/shtypes.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/signal.h+1-1| ... | @@ -45,7 +45,7 @@ extern "C" { | ... | @@ -45,7 +45,7 @@ extern "C" { |
| 45 | #endif | 45 | #endif |
| 46 | #endif | 46 | #endif |
| 47 | 47 | ||
| 48 | typedef	void (*__p_sig_fn_t)(int); | 48 | typedef	void (__cdecl *__p_sig_fn_t)(int); |
| 49 | 49 | ||
| 50 | #define SIG_DFL (__p_sig_fn_t)0 | 50 | #define SIG_DFL (__p_sig_fn_t)0 |
| 51 | #define SIG_IGN (__p_sig_fn_t)1 | 51 | #define SIG_IGN (__p_sig_fn_t)1 |
lib/libc/include/any-windows-any/spatialaudioclient.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/spatialaudioclient.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/spellcheck.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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+19| ... | @@ -24,6 +24,11 @@ extern "C" { | ... | @@ -24,6 +24,11 @@ extern "C" { |
| 24 | #if (ODBCVER >= 0x0300) | 24 | #if (ODBCVER >= 0x0300) |
| 25 | #define SQL_NO_DATA 100 | 25 | #define SQL_NO_DATA 100 |
| 26 | #endif | 26 | #endif |
| 27 | |||
| 28 | #if (ODBCVER >= 0x0380) | ||
| 29 | #define SQL_PARAM_DATA_AVAILABLE 101 | ||
| 30 | #endif | ||
| 31 | |||
| 27 | #define SQL_ERROR (-1) | 32 | #define SQL_ERROR (-1) |
| 28 | #define SQL_INVALID_HANDLE (-2) | 33 | #define SQL_INVALID_HANDLE (-2) |
| 29 | 34 | ||
| ... | @@ -174,6 +179,10 @@ extern "C" { | ... | @@ -174,6 +179,10 @@ extern "C" { |
| 174 | #define SQL_ARD_TYPE (-99) | 179 | #define SQL_ARD_TYPE (-99) |
| 175 | #endif | 180 | #endif |
| 176 | 181 | ||
| 182 | #if (ODBCVER >= 0x0380) | ||
| 183 | #define SQL_APD_TYPE (-100) | ||
| 184 | #endif | ||
| 185 | |||
| 177 | #if (ODBCVER >= 0x0300) | 186 | #if (ODBCVER >= 0x0300) |
| 178 | #define SQL_CODE_DATE 1 | 187 | #define SQL_CODE_DATE 1 |
| 179 | #define SQL_CODE_TIME 2 | 188 | #define SQL_CODE_TIME 2 |
| ... | @@ -337,6 +346,10 @@ extern "C" { | ... | @@ -337,6 +346,10 @@ extern "C" { |
| 337 | #define SQL_API_SQLSTATISTICS 53 | 346 | #define SQL_API_SQLSTATISTICS 53 |
| 338 | #define SQL_API_SQLTABLES 54 | 347 | #define SQL_API_SQLTABLES 54 |
| 339 | #define SQL_API_SQLTRANSACT 23 | 348 | #define SQL_API_SQLTRANSACT 23 |
| 349 | #if (ODBCVER >= 0x0380) | ||
| 350 | #define SQL_API_SQLCANCELHANDLE 1550 | ||
| 351 | #define SQL_API_SQLCOMPLETEASYNC 1551 | ||
| 352 | #endif | ||
| 340 | 353 | ||
| 341 | #if (ODBCVER >= 0x0300) | 354 | #if (ODBCVER >= 0x0300) |
| 342 | #define SQL_MAX_DRIVER_CONNECTIONS 0 | 355 | #define SQL_MAX_DRIVER_CONNECTIONS 0 |
| ... | @@ -491,6 +504,9 @@ extern "C" { | ... | @@ -491,6 +504,9 @@ extern "C" { |
| 491 | SQLRETURN SQL_API SQLBindParam(SQLHSTMT StatementHandle,SQLUSMALLINT ParameterNumber,SQLSMALLINT ValueType,SQLSMALLINT ParameterType,SQLULEN LengthPrecision,SQLSMALLINT ParameterScale,SQLPOINTER ParameterValue,SQLLEN *StrLen_or_Ind); | 504 | SQLRETURN SQL_API SQLBindParam(SQLHSTMT StatementHandle,SQLUSMALLINT ParameterNumber,SQLSMALLINT ValueType,SQLSMALLINT ParameterType,SQLULEN LengthPrecision,SQLSMALLINT ParameterScale,SQLPOINTER ParameterValue,SQLLEN *StrLen_or_Ind); |
| 492 | #endif | 505 | #endif |
| 493 | SQLRETURN SQL_API SQLCancel(SQLHSTMT StatementHandle); | 506 | SQLRETURN SQL_API SQLCancel(SQLHSTMT StatementHandle); |
| 507 | #if (ODBCVER >= 0x0380) | ||
| 508 | SQLRETURN SQL_API SQLCancelHandle(SQLSMALLINT HandleType,SQLHANDLE InputHandle); | ||
| 509 | #endif | ||
| 494 | #if (ODBCVER >= 0x0300) | 510 | #if (ODBCVER >= 0x0300) |
| 495 | SQLRETURN SQL_API SQLCloseCursor(SQLHSTMT StatementHandle); | 511 | SQLRETURN SQL_API SQLCloseCursor(SQLHSTMT StatementHandle); |
| 496 | #ifdef _WIN64 | 512 | #ifdef _WIN64 |
| ... | @@ -500,6 +516,9 @@ extern "C" { | ... | @@ -500,6 +516,9 @@ extern "C" { |
| 500 | #endif | 516 | #endif |
| 501 | #endif | 517 | #endif |
| 502 | SQLRETURN SQL_API SQLColumns(SQLHSTMT StatementHandle,SQLCHAR *CatalogName,SQLSMALLINT NameLength1,SQLCHAR *SchemaName,SQLSMALLINT NameLength2,SQLCHAR *TableName,SQLSMALLINT NameLength3,SQLCHAR *ColumnName,SQLSMALLINT NameLength4); | 518 | SQLRETURN SQL_API SQLColumns(SQLHSTMT StatementHandle,SQLCHAR *CatalogName,SQLSMALLINT NameLength1,SQLCHAR *SchemaName,SQLSMALLINT NameLength2,SQLCHAR *TableName,SQLSMALLINT NameLength3,SQLCHAR *ColumnName,SQLSMALLINT NameLength4); |
| 519 | #if (ODBCVER >= 0x0380) | ||
| 520 | SQLRETURN SQL_API SQLCompleteAsync(SQLSMALLINT HandleType,SQLHANDLE Handle,RETCODE *AsyncRetCodePtr); | ||
| 521 | #endif | ||
| 503 | SQLRETURN SQL_API SQLConnect(SQLHDBC ConnectionHandle,SQLCHAR *ServerName,SQLSMALLINT NameLength1,SQLCHAR *UserName,SQLSMALLINT NameLength2,SQLCHAR *Authentication,SQLSMALLINT NameLength3); | 522 | SQLRETURN SQL_API SQLConnect(SQLHDBC ConnectionHandle,SQLCHAR *ServerName,SQLSMALLINT NameLength1,SQLCHAR *UserName,SQLSMALLINT NameLength2,SQLCHAR *Authentication,SQLSMALLINT NameLength3); |
| 504 | #if (ODBCVER >= 0x0300) | 523 | #if (ODBCVER >= 0x0300) |
| 505 | SQLRETURN SQL_API SQLCopyDesc(SQLHDESC SourceDescHandle,SQLHDESC TargetDescHandle); | 524 | SQLRETURN SQL_API SQLCopyDesc(SQLHDESC SourceDescHandle,SQLHDESC TargetDescHandle); |
lib/libc/include/any-windows-any/stddef.h+2-2| ... | @@ -17,8 +17,8 @@ extern "C" { | ... | @@ -17,8 +17,8 @@ extern "C" { |
| 17 | #define _CRT_ERRNO_DEFINED | 17 | #define _CRT_ERRNO_DEFINED |
| 18 | _CRTIMP extern int *__cdecl _errno(void); | 18 | _CRTIMP extern int *__cdecl _errno(void); |
| 19 | #define errno (*_errno()) | 19 | #define errno (*_errno()) |
| 20 | errno_t __cdecl _set_errno(int _Value); | 20 | _CRTIMP errno_t __cdecl _set_errno(int _Value); |
| 21 | errno_t __cdecl _get_errno(int *_Value); | 21 | _CRTIMP errno_t __cdecl _get_errno(int *_Value); |
| 22 | #endif /* _CRT_ERRNO_DEFINED */ | 22 | #endif /* _CRT_ERRNO_DEFINED */ |
| 23 | 23 | ||
| 24 | _CRTIMP extern unsigned long __cdecl __threadid(void); | 24 | _CRTIMP extern unsigned long __cdecl __threadid(void); |
lib/libc/include/any-windows-any/stdio.h+28-125| ... | @@ -569,62 +569,42 @@ int vsnprintf (char *__stream, size_t __n, const char *__format, __builtin_va_li | ... | @@ -569,62 +569,42 @@ int vsnprintf (char *__stream, size_t __n, const char *__format, __builtin_va_li |
| 569 | #endif | 569 | #endif |
| 570 | _CRTIMP int __cdecl _flushall(void); | 570 | _CRTIMP int __cdecl _flushall(void); |
| 571 | FILE *__cdecl fopen(const char * __restrict__ _Filename,const char * __restrict__ _Mode) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 571 | FILE *__cdecl fopen(const char * __restrict__ _Filename,const char * __restrict__ _Mode) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 572 | FILE *fopen64(const char * __restrict__ filename,const char * __restrict__ mode); | 572 | FILE *__cdecl fopen64(const char * __restrict__ filename,const char * __restrict__ mode); |
| 573 | int __cdecl fputc(int _Ch,FILE *_File); | 573 | int __cdecl fputc(int _Ch,FILE *_File); |
| 574 | _CRTIMP int __cdecl _fputchar(int _Ch); | 574 | _CRTIMP int __cdecl _fputchar(int _Ch); |
| 575 | int __cdecl fputs(const char * __restrict__ _Str,FILE * __restrict__ _File); | 575 | int __cdecl fputs(const char * __restrict__ _Str,FILE * __restrict__ _File); |
| 576 | size_t __cdecl fread(void * __restrict__ _DstBuf,size_t _ElementSize,size_t _Count,FILE * __restrict__ _File); | 576 | size_t __cdecl fread(void * __restrict__ _DstBuf,size_t _ElementSize,size_t _Count,FILE * __restrict__ _File); |
| 577 | FILE *__cdecl freopen(const char * __restrict__ _Filename,const char * __restrict__ _Mode,FILE * __restrict__ _File) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 577 | FILE *__cdecl freopen(const char * __restrict__ _Filename,const char * __restrict__ _Mode,FILE * __restrict__ _File) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 578 | FILE *__cdecl freopen64(const char * __restrict__ _Filename,const char * __restrict__ _Mode,FILE * __restrict__ _File); | ||
| 578 | int __cdecl fsetpos(FILE *_File,const fpos_t *_Pos); | 579 | int __cdecl fsetpos(FILE *_File,const fpos_t *_Pos); |
| 579 | int __cdecl fsetpos64(FILE *_File,const fpos_t *_Pos); /* fsetpos already 64bit */ | 580 | int __cdecl fsetpos64(FILE *_File,const fpos_t *_Pos); /* fsetpos already 64bit */ |
| 580 | int __cdecl fseek(FILE *_File,long _Offset,int _Origin); | 581 | int __cdecl fseek(FILE *_File,long _Offset,int _Origin); |
| 581 | long __cdecl ftell(FILE *_File); | 582 | long __cdecl ftell(FILE *_File); |
| 582 | 583 | ||
| 583 | /* Shouldn't be any fseeko32 in glibc, 32bit to 64bit casting should be fine */ | ||
| 584 | /* int fseeko32(FILE* stream, _off_t offset, int whence);*/ /* fseeko32 redirects to fseeko64 */ | ||
| 585 | _CRTIMP int __cdecl _fseeki64(FILE *_File,__int64 _Offset,int _Origin); | 584 | _CRTIMP int __cdecl _fseeki64(FILE *_File,__int64 _Offset,int _Origin); |
| 586 | _CRTIMP __int64 __cdecl _ftelli64(FILE *_File); | 585 | _CRTIMP __int64 __cdecl _ftelli64(FILE *_File); |
| 587 | #ifdef _UCRT | 586 | #if (defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)) |
| 588 | __mingw_ovr int fseeko(FILE *_File, _off_t _Offset, int _Origin) { | 587 | int __cdecl fseeko(FILE *_File, _off64_t _Offset, int _Origin) __MINGW_ASM_CALL(fseeko64); |
| 589 | return fseek(_File, _Offset, _Origin); | ||
| 590 | } | ||
| 591 | __mingw_ovr int fseeko64(FILE *_File, _off64_t _Offset, int _Origin) { | ||
| 592 | return _fseeki64(_File, _Offset, _Origin); | ||
| 593 | } | ||
| 594 | __mingw_ovr _off_t ftello(FILE *_File) { | ||
| 595 | return ftell(_File); | ||
| 596 | } | ||
| 597 | __mingw_ovr _off64_t ftello64(FILE *_File) { | ||
| 598 | return _ftelli64(_File); | ||
| 599 | } | ||
| 600 | #else | 588 | #else |
| 601 | int fseeko64(FILE* stream, _off64_t offset, int whence); | 589 | int __cdecl fseeko(FILE *_File, _off_t _Offset, int _Origin); |
| 602 | int fseeko(FILE* stream, _off_t offset, int whence); | ||
| 603 | /* Returns truncated 64bit off_t */ | ||
| 604 | _off_t ftello(FILE * stream); | ||
| 605 | _off64_t ftello64(FILE * stream); | ||
| 606 | #endif | 590 | #endif |
| 607 | 591 | _CRTIMP int __cdecl fseeko64(FILE *_File, _off64_t _Offset, int _Origin); | |
| 608 | #ifndef _FILE_OFFSET_BITS_SET_FSEEKO | ||
| 609 | #define _FILE_OFFSET_BITS_SET_FSEEKO | ||
| 610 | #if (defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)) | ||
| 611 | #define fseeko fseeko64 | ||
| 612 | #endif /* (defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)) */ | ||
| 613 | #endif /* _FILE_OFFSET_BITS_SET_FSEEKO */ | ||
| 614 | |||
| 615 | #ifndef _FILE_OFFSET_BITS_SET_FTELLO | ||
| 616 | #define _FILE_OFFSET_BITS_SET_FTELLO | ||
| 617 | #if (defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)) | 592 | #if (defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)) |
| 618 | #define ftello ftello64 | 593 | _off64_t __cdecl ftello(FILE *_File) __MINGW_ASM_CALL(ftello64); |
| 619 | #endif /* (defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)) */ | 594 | #else |
| 620 | #endif /* _FILE_OFFSET_BITS_SET_FTELLO */ | 595 | _off_t __cdecl ftello(FILE *_File); |
| 596 | #endif | ||
| 597 | _CRTIMP _off64_t __cdecl ftello64(FILE *_File); | ||
| 621 | 598 | ||
| 622 | size_t __cdecl fwrite(const void * __restrict__ _Str,size_t _Size,size_t _Count,FILE * __restrict__ _File); | 599 | size_t __cdecl fwrite(const void * __restrict__ _Str,size_t _Size,size_t _Count,FILE * __restrict__ _File); |
| 623 | int __cdecl getc(FILE *_File); | 600 | int __cdecl getc(FILE *_File); |
| 624 | int __cdecl getchar(void); | 601 | int __cdecl getchar(void); |
| 625 | _CRTIMP int __cdecl _getmaxstdio(void); | 602 | _CRTIMP int __cdecl _getmaxstdio(void); |
| 626 | char *__cdecl gets(char *_Buffer) | 603 | char *__cdecl gets(char *_Buffer) |
| 627 | __attribute__((__warning__("Using gets() is always unsafe - use fgets() instead"))); | 604 | #ifndef _CRTBLD |
| 605 | __attribute__((__warning__("Using gets() is always unsafe - use fgets() instead"))) | ||
| 606 | #endif | ||
| 607 | ; | ||
| 628 | int __cdecl _getw(FILE *_File); | 608 | int __cdecl _getw(FILE *_File); |
| 629 | #ifndef _CRT_PERROR_DEFINED | 609 | #ifndef _CRT_PERROR_DEFINED |
| 630 | #define _CRT_PERROR_DEFINED | 610 | #define _CRT_PERROR_DEFINED |
| ... | @@ -675,6 +655,7 @@ int vsnprintf (char *__stream, size_t __n, const char *__format, __builtin_va_li | ... | @@ -675,6 +655,7 @@ int vsnprintf (char *__stream, size_t __n, const char *__format, __builtin_va_li |
| 675 | __MINGW_MS_PRINTF(1, 0) __MINGW_ATTRIB_NONNULL(1) | 655 | __MINGW_MS_PRINTF(1, 0) __MINGW_ATTRIB_NONNULL(1) |
| 676 | _CRTIMP int __cdecl _vscprintf(const char * __restrict__ _Format,va_list _ArgList); | 656 | _CRTIMP int __cdecl _vscprintf(const char * __restrict__ _Format,va_list _ArgList); |
| 677 | FILE *__cdecl tmpfile(void) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 657 | FILE *__cdecl tmpfile(void) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 658 | FILE *__cdecl tmpfile64(void); | ||
| 678 | char *__cdecl tmpnam(char *_Buffer); | 659 | char *__cdecl tmpnam(char *_Buffer); |
| 679 | int __cdecl ungetc(int _Ch,FILE *_File); | 660 | int __cdecl ungetc(int _Ch,FILE *_File); |
| 680 | 661 | ||
| ... | @@ -1096,48 +1077,33 @@ int vsnwprintf (wchar_t *__stream, size_t __n, const wchar_t *__format, __builti | ... | @@ -1096,48 +1077,33 @@ int vsnwprintf (wchar_t *__stream, size_t __n, const wchar_t *__format, __builti |
| 1096 | #endif /* __NO_ISOCEXT */ | 1077 | #endif /* __NO_ISOCEXT */ |
| 1097 | 1078 | ||
| 1098 | #else /* !__USE_MINGW_ANSI_STDIO */ | 1079 | #else /* !__USE_MINGW_ANSI_STDIO */ |
| 1099 | |||
| 1100 | #ifdef _UCRT | ||
| 1101 | __MINGW_ATTRIB_DEPRECATED_SEC_WARN | 1080 | __MINGW_ATTRIB_DEPRECATED_SEC_WARN |
| 1102 | int __cdecl fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); | 1081 | int __cdecl fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); |
| 1082 | |||
| 1103 | __MINGW_ATTRIB_DEPRECATED_SEC_WARN | 1083 | __MINGW_ATTRIB_DEPRECATED_SEC_WARN |
| 1104 | int __cdecl swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...); | 1084 | int __cdecl swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...); |
| 1085 | |||
| 1105 | __MINGW_ATTRIB_DEPRECATED_SEC_WARN | 1086 | __MINGW_ATTRIB_DEPRECATED_SEC_WARN |
| 1106 | int __cdecl wscanf(const wchar_t * __restrict__ _Format,...); | 1087 | int __cdecl wscanf(const wchar_t * __restrict__ _Format,...); |
| 1107 | __MINGW_ATTRIB_NONNULL(2) | ||
| 1108 | int vfwscanf (FILE *__stream, const wchar_t *__format, va_list __local_argv); | ||
| 1109 | 1088 | ||
| 1110 | __MINGW_ATTRIB_NONNULL(2) | 1089 | __MINGW_ATTRIB_NONNULL(2) |
| 1111 | int vswscanf (const wchar_t * __restrict__ __source, const wchar_t * __restrict__ __format, va_list __local_argv); | 1090 | int __cdecl vfwscanf(FILE *__stream, const wchar_t *__format, va_list __local_argv); |
| 1112 | __MINGW_ATTRIB_NONNULL(1) | ||
| 1113 | int vwscanf(const wchar_t *__format, va_list __local_argv); | ||
| 1114 | 1091 | ||
| 1115 | int __cdecl fwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); | ||
| 1116 | int __cdecl wprintf(const wchar_t * __restrict__ _Format,...); | ||
| 1117 | int __cdecl vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList); | ||
| 1118 | int __cdecl vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList); | ||
| 1119 | #else | ||
| 1120 | |||
| 1121 | int __cdecl fwscanf(FILE * __restrict__ _File,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; | ||
| 1123 | int __cdecl wscanf(const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | ||
| 1124 | #ifndef __NO_ISOCEXT /* externs in libmingwex.a */ | ||
| 1125 | __MINGW_ATTRIB_NONNULL(2) | 1092 | __MINGW_ATTRIB_NONNULL(2) |
| 1126 | int vfwscanf (FILE *__stream, const wchar_t *__format, __builtin_va_list __local_argv); | 1093 | int __cdecl vswscanf(const wchar_t * __restrict__ __source, const wchar_t * __restrict__ __format, va_list __local_argv); |
| 1127 | |||
| 1128 | __MINGW_ATTRIB_NONNULL(2) | ||
| 1129 | int vswscanf (const wchar_t * __restrict__ __source, const wchar_t * __restrict__ __format, __builtin_va_list __local_argv); | ||
| 1130 | 1094 | ||
| 1131 | __MINGW_ATTRIB_NONNULL(1) | 1095 | __MINGW_ATTRIB_NONNULL(1) |
| 1132 | int vwscanf(const wchar_t *__format, __builtin_va_list __local_argv); | 1096 | int __cdecl vwscanf(const wchar_t *__format, va_list __local_argv); |
| 1133 | |||
| 1134 | #endif /* __NO_ISOCEXT */ | ||
| 1135 | 1097 | ||
| 1136 | int __cdecl fwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); | 1098 | int __cdecl fwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); |
| 1137 | int __cdecl wprintf(const wchar_t * __restrict__ _Format,...); | 1099 | int __cdecl wprintf(const wchar_t * __restrict__ _Format,...); |
| 1138 | int __cdecl vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList); | 1100 | int __cdecl vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList); |
| 1139 | int __cdecl vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList); | 1101 | int __cdecl vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList); |
| 1140 | #endif /* _UCRT */ | 1102 | |
| 1103 | int __cdecl swprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,...); | ||
| 1104 | int __cdecl vswprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args); | ||
| 1105 | int __cdecl snwprintf(wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, ...); | ||
| 1106 | int __cdecl vsnwprintf(wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, va_list arg); | ||
| 1141 | #endif /* __USE_MINGW_ANSI_STDIO */ | 1107 | #endif /* __USE_MINGW_ANSI_STDIO */ |
| 1142 | 1108 | ||
| 1143 | #ifndef WEOF | 1109 | #ifndef WEOF |
| ... | @@ -1164,73 +1130,17 @@ int vsnwprintf (wchar_t *__stream, size_t __n, const wchar_t *__format, __builti | ... | @@ -1164,73 +1130,17 @@ int vsnwprintf (wchar_t *__stream, size_t __n, const wchar_t *__format, __builti |
| 1164 | _CRTIMP wchar_t *__cdecl _getws(wchar_t *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 1130 | _CRTIMP wchar_t *__cdecl _getws(wchar_t *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 1165 | _CRTIMP int __cdecl _putws(const wchar_t *_Str); | 1131 | _CRTIMP int __cdecl _putws(const wchar_t *_Str); |
| 1166 | 1132 | ||
| 1167 | #ifdef _UCRT | ||
| 1168 | __mingw_ovr | ||
| 1169 | int __cdecl _scwprintf(const wchar_t * __restrict__ _Format,...) | ||
| 1170 | { | ||
| 1171 | __builtin_va_list __ap; | ||
| 1172 | int __ret; | ||
| 1173 | __builtin_va_start(__ap, _Format); | ||
| 1174 | __ret = __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR, NULL, 0, _Format, NULL, __ap); | ||
| 1175 | __builtin_va_end(__ap); | ||
| 1176 | return __ret; | ||
| 1177 | } | ||
| 1178 | int __cdecl _snwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,...) __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; | ||
| 1180 | |||
| 1181 | #if __USE_MINGW_ANSI_STDIO == 0 | ||
| 1182 | 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); | ||
| 1184 | |||
| 1185 | 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); | ||
| 1187 | #endif | ||
| 1188 | |||
| 1189 | __mingw_ovr | ||
| 1190 | int __cdecl _swprintf(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,...) | ||
| 1191 | { | ||
| 1192 | __builtin_va_list __ap; | ||
| 1193 | int __ret; | ||
| 1194 | __builtin_va_start(__ap, _Format); | ||
| 1195 | __ret = __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Dest, (size_t)-1, _Format, NULL, __ap); | ||
| 1196 | __builtin_va_end(__ap); | ||
| 1197 | return __ret; | ||
| 1198 | } | ||
| 1199 | __mingw_ovr | ||
| 1200 | int __cdecl _vswprintf(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,va_list _Args) | ||
| 1201 | { | ||
| 1202 | return __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, _Dest, (size_t)-1, _Format, NULL, _Args); | ||
| 1203 | } | ||
| 1204 | |||
| 1205 | __mingw_ovr | ||
| 1206 | int __cdecl _vscwprintf(const wchar_t * __restrict__ _Format, va_list _ArgList) | ||
| 1207 | { | ||
| 1208 | int _Result = __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR, NULL, 0, _Format, NULL, _ArgList); | ||
| 1209 | return _Result < 0 ? -1 : _Result; | ||
| 1210 | } | ||
| 1211 | #else | ||
| 1212 | _CRTIMP int __cdecl _scwprintf(const wchar_t * __restrict__ _Format,...); | 1133 | _CRTIMP int __cdecl _scwprintf(const wchar_t * __restrict__ _Format,...); |
| 1134 | #ifndef _UCRT | ||
| 1213 | _CRTIMP int __cdecl _swprintf_c(wchar_t * __restrict__ _DstBuf,size_t _SizeInWords,const wchar_t * __restrict__ _Format,...); | 1135 | _CRTIMP int __cdecl _swprintf_c(wchar_t * __restrict__ _DstBuf,size_t _SizeInWords,const wchar_t * __restrict__ _Format,...); |
| 1214 | _CRTIMP int __cdecl _vswprintf_c(wchar_t * __restrict__ _DstBuf,size_t _SizeInWords,const wchar_t * __restrict__ _Format,va_list _ArgList); | 1136 | _CRTIMP int __cdecl _vswprintf_c(wchar_t * __restrict__ _DstBuf,size_t _SizeInWords,const wchar_t * __restrict__ _Format,va_list _ArgList); |
| 1137 | #endif /* _UCRT */ | ||
| 1215 | _CRTIMP int __cdecl _snwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 1138 | _CRTIMP int __cdecl _snwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 1216 | _CRTIMP int __cdecl _vsnwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 1139 | _CRTIMP int __cdecl _vsnwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 1217 | _CRTIMP int __cdecl _vscwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList); | 1140 | _CRTIMP int __cdecl _vscwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList); |
| 1218 | |||
| 1219 | #ifndef __NO_ISOCEXT /* externs in libmingwex.a */ | ||
| 1220 | |||
| 1221 | #if __USE_MINGW_ANSI_STDIO == 0 | ||
| 1222 | int __cdecl snwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, ...) __MINGW_ASM_CALL(__ms_snwprintf); | ||
| 1223 | int __cdecl vsnwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, va_list arg) __MINGW_ASM_CALL(__ms_vsnwprintf); | ||
| 1224 | #endif | ||
| 1225 | |||
| 1226 | #endif /* ! __NO_ISOCEXT */ | ||
| 1227 | _CRTIMP int __cdecl _swprintf(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,...); | 1141 | _CRTIMP int __cdecl _swprintf(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,...); |
| 1228 | _CRTIMP int __cdecl _vswprintf(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,va_list _Args); | 1142 | _CRTIMP int __cdecl _vswprintf(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,va_list _Args); |
| 1229 | 1143 | ||
| 1230 | int __cdecl swprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,...); | ||
| 1231 | int __cdecl vswprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args); | ||
| 1232 | #endif /* _UCRT */ | ||
| 1233 | |||
| 1234 | #ifndef RC_INVOKED | 1144 | #ifndef RC_INVOKED |
| 1235 | #include <swprintf.inl> | 1145 | #include <swprintf.inl> |
| 1236 | #endif | 1146 | #endif |
| ... | @@ -1293,17 +1203,10 @@ int vsnwprintf (wchar_t *__stream, size_t __n, const wchar_t *__format, __builti | ... | @@ -1293,17 +1203,10 @@ int vsnwprintf (wchar_t *__stream, size_t __n, const wchar_t *__format, __builti |
| 1293 | #define _STDIO_DEFINED | 1203 | #define _STDIO_DEFINED |
| 1294 | #endif | 1204 | #endif |
| 1295 | 1205 | ||
| 1296 | #ifdef _UCRT | ||
| 1297 | _CRTIMP int __cdecl _fgetc_nolock(FILE *_File); | 1206 | _CRTIMP int __cdecl _fgetc_nolock(FILE *_File); |
| 1298 | _CRTIMP int __cdecl _fputc_nolock(int _Char, FILE *_File); | 1207 | _CRTIMP int __cdecl _fputc_nolock(int _Char, FILE *_File); |
| 1299 | _CRTIMP int __cdecl _getc_nolock(FILE *_File); | 1208 | _CRTIMP int __cdecl _getc_nolock(FILE *_File); |
| 1300 | _CRTIMP int __cdecl _putc_nolock(int _Char, FILE *_File); | 1209 | _CRTIMP int __cdecl _putc_nolock(int _Char, FILE *_File); |
| 1301 | #else | ||
| 1302 | #define _fgetc_nolock(_stream) (--(_stream)->_cnt >= 0 ? 0xff & *(_stream)->_ptr++ : _filbuf(_stream)) | ||
| 1303 | #define _fputc_nolock(_c,_stream) (--(_stream)->_cnt >= 0 ? 0xff & (*(_stream)->_ptr++ = (char)(_c)) : _flsbuf((_c),(_stream))) | ||
| 1304 | #define _getc_nolock(_stream) _fgetc_nolock(_stream) | ||
| 1305 | #define _putc_nolock(_c,_stream) _fputc_nolock(_c,_stream) | ||
| 1306 | #endif | ||
| 1307 | #define _getchar_nolock() _getc_nolock(stdin) | 1210 | #define _getchar_nolock() _getc_nolock(stdin) |
| 1308 | #define _putchar_nolock(_c) _putc_nolock((_c),stdout) | 1211 | #define _putchar_nolock(_c) _putc_nolock((_c),stdout) |
| 1309 | #define _getwchar_nolock() _getwc_nolock(stdin) | 1212 | #define _getwchar_nolock() _getwc_nolock(stdin) |
lib/libc/include/any-windows-any/stdlib.h+16-9| ... | @@ -145,8 +145,8 @@ _CRTIMP int __cdecl ___mb_cur_max_func(void); | ... | @@ -145,8 +145,8 @@ _CRTIMP int __cdecl ___mb_cur_max_func(void); |
| 145 | #define _CRT_ERRNO_DEFINED | 145 | #define _CRT_ERRNO_DEFINED |
| 146 | _CRTIMP extern int *__cdecl _errno(void); | 146 | _CRTIMP extern int *__cdecl _errno(void); |
| 147 | #define errno (*_errno()) | 147 | #define errno (*_errno()) |
| 148 | errno_t __cdecl _set_errno(int _Value); | 148 | _CRTIMP errno_t __cdecl _set_errno(int _Value); |
| 149 | errno_t __cdecl _get_errno(int *_Value); | 149 | _CRTIMP errno_t __cdecl _get_errno(int *_Value); |
| 150 | #endif | 150 | #endif |
| 151 | _CRTIMP unsigned long *__cdecl __doserrno(void); | 151 | _CRTIMP unsigned long *__cdecl __doserrno(void); |
| 152 | #define _doserrno (*__doserrno()) | 152 | #define _doserrno (*__doserrno()) |
| ... | @@ -192,7 +192,7 @@ _CRTIMP int __cdecl ___mb_cur_max_func(void); | ... | @@ -192,7 +192,7 @@ _CRTIMP int __cdecl ___mb_cur_max_func(void); |
| 192 | #endif | 192 | #endif |
| 193 | 193 | ||
| 194 | #ifndef _POSIX_ | 194 | #ifndef _POSIX_ |
| 195 | #if (defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__)) && !defined(_UCRT) | 195 | #if (defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) || defined(_ARM64EC_) || defined(__arm64ec__)) && !defined(_UCRT) |
| 196 | /* The plain msvcrt.dll for arm/aarch64 lacks | 196 | /* The plain msvcrt.dll for arm/aarch64 lacks |
| 197 | * _environ/_wenviron, but has these functions instead. */ | 197 | * _environ/_wenviron, but has these functions instead. */ |
| 198 | _CRTIMP void __cdecl _get_environ(char ***); | 198 | _CRTIMP void __cdecl _get_environ(char ***); |
| ... | @@ -342,17 +342,20 @@ _CRTIMP int __cdecl ___mb_cur_max_func(void); | ... | @@ -342,17 +342,20 @@ _CRTIMP int __cdecl ___mb_cur_max_func(void); |
| 342 | __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _strtoui64_l(const char *_String,char **_EndPtr,int _Radix,_locale_t _Locale); | 342 | __MINGW_EXTENSION _CRTIMP unsigned __int64 __cdecl _strtoui64_l(const char *_String,char **_EndPtr,int _Radix,_locale_t _Locale); |
| 343 | ldiv_t __cdecl ldiv(long _Numerator,long _Denominator); | 343 | ldiv_t __cdecl ldiv(long _Numerator,long _Denominator); |
| 344 | _CRTIMP char *__cdecl _ltoa(long _Value,char *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 344 | _CRTIMP char *__cdecl _ltoa(long _Value,char *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 345 | int __cdecl mblen(const char *_Ch,size_t _MaxCount); | 345 | _CRTIMP int __cdecl mblen(const char *_Ch,size_t _MaxCount); |
| 346 | _CRTIMP int __cdecl _mblen_l(const char *_Ch,size_t _MaxCount,_locale_t _Locale); | 346 | _CRTIMP int __cdecl _mblen_l(const char *_Ch,size_t _MaxCount,_locale_t _Locale); |
| 347 | _CRTIMP size_t __cdecl _mbstrlen(const char *_Str); | 347 | _CRTIMP size_t __cdecl _mbstrlen(const char *_Str); |
| 348 | _CRTIMP size_t __cdecl _mbstrlen_l(const char *_Str,_locale_t _Locale); | 348 | _CRTIMP size_t __cdecl _mbstrlen_l(const char *_Str,_locale_t _Locale); |
| 349 | #if __MSVCRT_VERSION__ >= 0x0800 | ||
| 349 | _CRTIMP size_t __cdecl _mbstrnlen(const char *_Str,size_t _MaxCount); | 350 | _CRTIMP size_t __cdecl _mbstrnlen(const char *_Str,size_t _MaxCount); |
| 350 | _CRTIMP size_t __cdecl _mbstrnlen_l(const char *_Str,size_t _MaxCount,_locale_t _Locale); | 351 | _CRTIMP size_t __cdecl _mbstrnlen_l(const char *_Str,size_t _MaxCount,_locale_t _Locale); |
| 351 | int __cdecl mbtowc(wchar_t * __restrict__ _DstCh,const char * __restrict__ _SrcCh,size_t _SrcSizeInBytes); | 352 | #endif |
| 353 | _CRTIMP int __cdecl mbtowc(wchar_t * __restrict__ _DstCh,const char * __restrict__ _SrcCh,size_t _SrcSizeInBytes); | ||
| 352 | _CRTIMP int __cdecl _mbtowc_l(wchar_t * __restrict__ _DstCh,const char * __restrict__ _SrcCh,size_t _SrcSizeInBytes,_locale_t _Locale); | 354 | _CRTIMP int __cdecl _mbtowc_l(wchar_t * __restrict__ _DstCh,const char * __restrict__ _SrcCh,size_t _SrcSizeInBytes,_locale_t _Locale); |
| 353 | size_t __cdecl mbstowcs(wchar_t * __restrict__ _Dest,const char * __restrict__ _Source,size_t _MaxCount); | 355 | _CRTIMP size_t __cdecl mbstowcs(wchar_t * __restrict__ _Dest,const char * __restrict__ _Source,size_t _MaxCount); |
| 354 | _CRTIMP size_t __cdecl _mbstowcs_l(wchar_t * __restrict__ _Dest,const char * __restrict__ _Source,size_t _MaxCount,_locale_t _Locale); | 356 | _CRTIMP size_t __cdecl _mbstowcs_l(wchar_t * __restrict__ _Dest,const char * __restrict__ _Source,size_t _MaxCount,_locale_t _Locale); |
| 355 | int __cdecl mkstemp(char *template_name); | 357 | int __cdecl mkstemp(char *_TemplateName); |
| 358 | char *__cdecl mkdtemp(char *_TemplateName); | ||
| 356 | int __cdecl rand(void); | 359 | int __cdecl rand(void); |
| 357 | _CRTIMP int __cdecl _set_error_mode(int _Mode); | 360 | _CRTIMP int __cdecl _set_error_mode(int _Mode); |
| 358 | void __cdecl srand(unsigned int _Seed); | 361 | void __cdecl srand(unsigned int _Seed); |
| ... | @@ -412,9 +415,9 @@ float __cdecl __MINGW_NOTHROW strtof(const char * __restrict__ _Str,char ** __re | ... | @@ -412,9 +415,9 @@ float __cdecl __MINGW_NOTHROW strtof(const char * __restrict__ _Str,char ** __re |
| 412 | int __cdecl system(const char *_Command); | 415 | int __cdecl system(const char *_Command); |
| 413 | #endif | 416 | #endif |
| 414 | _CRTIMP char *__cdecl _ultoa(unsigned long _Value,char *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 417 | _CRTIMP char *__cdecl _ultoa(unsigned long _Value,char *_Dest,int _Radix) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 415 | int __cdecl wctomb(char *_MbCh,wchar_t _WCh) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 418 | _CRTIMP int __cdecl wctomb(char *_MbCh,wchar_t _WCh) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 416 | _CRTIMP int __cdecl _wctomb_l(char *_MbCh,wchar_t _WCh,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 419 | _CRTIMP int __cdecl _wctomb_l(char *_MbCh,wchar_t _WCh,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 417 | size_t __cdecl wcstombs(char * __restrict__ _Dest,const wchar_t * __restrict__ _Source,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 420 | _CRTIMP size_t __cdecl wcstombs(char * __restrict__ _Dest,const wchar_t * __restrict__ _Source,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 418 | _CRTIMP size_t __cdecl _wcstombs_l(char * __restrict__ _Dest,const wchar_t * __restrict__ _Source,size_t _MaxCount,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 421 | _CRTIMP size_t __cdecl _wcstombs_l(char * __restrict__ _Dest,const wchar_t * __restrict__ _Source,size_t _MaxCount,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 419 | 422 | ||
| 420 | #ifndef _CRT_ALLOCATION_DEFINED | 423 | #ifndef _CRT_ALLOCATION_DEFINED |
| ... | @@ -463,6 +466,10 @@ float __cdecl __MINGW_NOTHROW strtof(const char * __restrict__ _Str,char ** __re | ... | @@ -463,6 +466,10 @@ float __cdecl __MINGW_NOTHROW strtof(const char * __restrict__ _Str,char ** __re |
| 463 | _CRTIMP void *__cdecl _aligned_offset_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment,size_t _Offset); | 466 | _CRTIMP void *__cdecl _aligned_offset_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment,size_t _Offset); |
| 464 | _CRTIMP size_t __cdecl _aligned_msize(void *_Memory,size_t _Alignment,size_t _Offset); | 467 | _CRTIMP size_t __cdecl _aligned_msize(void *_Memory,size_t _Alignment,size_t _Offset); |
| 465 | 468 | ||
| 469 | #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L | ||
| 470 | size_t __cdecl memalignment(const void *_Memory); | ||
| 471 | #endif | ||
| 472 | |||
| 466 | #if defined(_DEBUG) && defined(_CRTDBG_MAP_ALLOC) | 473 | #if defined(_DEBUG) && defined(_CRTDBG_MAP_ALLOC) |
| 467 | #pragma pop_macro("calloc") | 474 | #pragma pop_macro("calloc") |
| 468 | #pragma pop_macro("free") | 475 | #pragma pop_macro("free") |
lib/libc/include/any-windows-any/string.h+22-42| ... | @@ -7,15 +7,7 @@ | ... | @@ -7,15 +7,7 @@ |
| 7 | #define _INC_STRING | 7 | #define _INC_STRING |
| 8 | 8 | ||
| 9 | #include <crtdefs.h> | 9 | #include <crtdefs.h> |
| 10 | 10 | #include <corecrt_memory.h> | |
| 11 | #if defined(__LIBMSVCRT__) | ||
| 12 | /* When building mingw-w64, this should be blank. */ | ||
| 13 | #define _SECIMP | ||
| 14 | #else | ||
| 15 | #ifndef _SECIMP | ||
| 16 | #define _SECIMP __declspec(dllimport) | ||
| 17 | #endif /* _SECIMP */ | ||
| 18 | #endif /* defined(__LIBMSVCRT__) */ | ||
| 19 | 11 | ||
| 20 | #ifdef __cplusplus | 12 | #ifdef __cplusplus |
| 21 | extern "C" { | 13 | extern "C" { |
| ... | @@ -38,24 +30,6 @@ extern "C" { | ... | @@ -38,24 +30,6 @@ extern "C" { |
| 38 | #endif | 30 | #endif |
| 39 | #endif | 31 | #endif |
| 40 | 32 | ||
| 41 | #define _WConst_return _CONST_RETURN | ||
| 42 | |||
| 43 | #ifndef _CRT_MEMORY_DEFINED | ||
| 44 | #define _CRT_MEMORY_DEFINED | ||
| 45 | _CRTIMP void *__cdecl _memccpy(void *_Dst,const void *_Src,int _Val,size_t _MaxCount); | ||
| 46 | _CONST_RETURN void *__cdecl memchr(const void *_Buf ,int _Val,size_t _MaxCount); | ||
| 47 | _CRTIMP int __cdecl _memicmp(const void *_Buf1,const void *_Buf2,size_t _Size); | ||
| 48 | _CRTIMP int __cdecl _memicmp_l(const void *_Buf1,const void *_Buf2,size_t _Size,_locale_t _Locale); | ||
| 49 | int __cdecl memcmp(const void *_Buf1,const void *_Buf2,size_t _Size); | ||
| 50 | void * __cdecl memcpy(void * __restrict__ _Dst,const void * __restrict__ _Src,size_t _Size) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | ||
| 51 | _SECIMP errno_t __cdecl memcpy_s (void *_dest,size_t _numberOfElements,const void *_src,size_t _count); | ||
| 52 | void * __cdecl mempcpy (void *_Dst, const void *_Src, size_t _Size); | ||
| 53 | void * __cdecl memset(void *_Dst,int _Val,size_t _Size); | ||
| 54 | #ifndef	NO_OLDNAMES | ||
| 55 | void * __cdecl memccpy(void *_Dst,const void *_Src,int _Val,size_t _Size) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 56 | int __cdecl memicmp(const void *_Buf1,const void *_Buf2,size_t _Size) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ||
| 57 | #endif | ||
| 58 | #endif | ||
| 59 | char * __cdecl _strset(char *_Str,int _Val) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 33 | char * __cdecl _strset(char *_Str,int _Val) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 60 | char * __cdecl _strset_l(char *_Str,int _Val,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 34 | char * __cdecl _strset_l(char *_Str,int _Val,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 61 | char * __cdecl strcpy(char * __restrict__ _Dest,const char * __restrict__ _Source); | 35 | char * __cdecl strcpy(char * __restrict__ _Dest,const char * __restrict__ _Source); |
| ... | @@ -71,12 +45,25 @@ extern "C" { | ... | @@ -71,12 +45,25 @@ extern "C" { |
| 71 | _CRTIMP char *__cdecl _strdup(const char *_Src); | 45 | _CRTIMP char *__cdecl _strdup(const char *_Src); |
| 72 | #if defined(_DEBUG) && defined(_CRTDBG_MAP_ALLOC) | 46 | #if defined(_DEBUG) && defined(_CRTDBG_MAP_ALLOC) |
| 73 | #pragma pop_macro("_strdup") | 47 | #pragma pop_macro("_strdup") |
| 48 | #endif | ||
| 49 | #if !defined(__STRICT_ANSI__) || defined(_GNU_SOURCE) || __STDC_VERSION__ + 0 >= 202311L || _POSIX_C_SOURCE + 0 >= 200809L || _XOPEN_SOURCE + 0 >= 600 | ||
| 50 | #if defined(_DEBUG) && defined(_CRTDBG_MAP_ALLOC) | ||
| 51 | #pragma push_macro("strdup") | ||
| 52 | #undef strdup | ||
| 53 | #endif | ||
| 54 | char *__cdecl strdup(const char *_Src); | ||
| 55 | #if defined(_DEBUG) && defined(_CRTDBG_MAP_ALLOC) | ||
| 56 | #pragma pop_macro("strdup") | ||
| 57 | #endif | ||
| 58 | #endif | ||
| 59 | #if !defined(__STRICT_ANSI__) || defined(_GNU_SOURCE) || __STDC_VERSION__ + 0 >= 202311L || _POSIX_C_SOURCE + 0 >= 200809L || _XOPEN_SOURCE + 0 >= 700 | ||
| 60 | char *__cdecl strndup(const char *_Src,size_t _MaxCount); | ||
| 74 | #endif | 61 | #endif |
| 75 | _CONST_RETURN char *__cdecl strchr(const char *_Str,int _Val); | 62 | _CONST_RETURN char *__cdecl strchr(const char *_Str,int _Val); |
| 76 | _CRTIMP int __cdecl _stricmp(const char *_Str1,const char *_Str2); | 63 | _CRTIMP int __cdecl _stricmp(const char *_Str1,const char *_Str2); |
| 77 | _CRTIMP int __cdecl _strcmpi(const char *_Str1,const char *_Str2); | 64 | _CRTIMP int __cdecl _strcmpi(const char *_Str1,const char *_Str2); |
| 78 | _CRTIMP int __cdecl _stricmp_l(const char *_Str1,const char *_Str2,_locale_t _Locale); | 65 | _CRTIMP int __cdecl _stricmp_l(const char *_Str1,const char *_Str2,_locale_t _Locale); |
| 79 | int __cdecl strcoll(const char *_Str1,const char *_Str2); | 66 | _CRTIMP int __cdecl strcoll(const char *_Str1,const char *_Str2); |
| 80 | _CRTIMP int __cdecl _strcoll_l(const char *_Str1,const char *_Str2,_locale_t _Locale); | 67 | _CRTIMP int __cdecl _strcoll_l(const char *_Str1,const char *_Str2,_locale_t _Locale); |
| 81 | _CRTIMP int __cdecl _stricoll(const char *_Str1,const char *_Str2); | 68 | _CRTIMP int __cdecl _stricoll(const char *_Str1,const char *_Str2); |
| 82 | _CRTIMP int __cdecl _stricoll_l(const char *_Str1,const char *_Str2,_locale_t _Locale); | 69 | _CRTIMP int __cdecl _stricoll_l(const char *_Str1,const char *_Str2,_locale_t _Locale); |
| ... | @@ -86,7 +73,7 @@ extern "C" { | ... | @@ -86,7 +73,7 @@ extern "C" { |
| 86 | _CRTIMP int __cdecl _strnicoll_l(const char *_Str1,const char *_Str2,size_t _MaxCount,_locale_t _Locale); | 73 | _CRTIMP int __cdecl _strnicoll_l(const char *_Str1,const char *_Str2,size_t _MaxCount,_locale_t _Locale); |
| 87 | size_t __cdecl strcspn(const char *_Str,const char *_Control); | 74 | size_t __cdecl strcspn(const char *_Str,const char *_Control); |
| 88 | _CRTIMP char *__cdecl _strerror(const char *_ErrMsg) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 75 | _CRTIMP char *__cdecl _strerror(const char *_ErrMsg) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 89 | char *__cdecl strerror(int) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 76 | _CRTIMP char *__cdecl strerror(int) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 90 | _CRTIMP char *__cdecl _strlwr(char *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 77 | _CRTIMP char *__cdecl _strlwr(char *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 91 | char *strlwr_l(char *_String,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 78 | char *strlwr_l(char *_String,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 92 | char *__cdecl strncat(char * __restrict__ _Dest,const char * __restrict__ _Source,size_t _Count) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 79 | char *__cdecl strncat(char * __restrict__ _Dest,const char * __restrict__ _Source,size_t _Count) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| ... | @@ -101,14 +88,14 @@ extern "C" { | ... | @@ -101,14 +88,14 @@ extern "C" { |
| 101 | _CRTIMP char *__cdecl _strrev(char *_Str); | 88 | _CRTIMP char *__cdecl _strrev(char *_Str); |
| 102 | size_t __cdecl strspn(const char *_Str,const char *_Control); | 89 | size_t __cdecl strspn(const char *_Str,const char *_Control); |
| 103 | _CONST_RETURN char *__cdecl strstr(const char *_Str,const char *_SubStr); | 90 | _CONST_RETURN char *__cdecl strstr(const char *_Str,const char *_SubStr); |
| 104 | char *__cdecl strtok(char * __restrict__ _Str,const char * __restrict__ _Delim) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 91 | _CRTIMP char *__cdecl strtok(char * __restrict__ _Str,const char * __restrict__ _Delim) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 105 | #pragma push_macro("strtok_r") | 92 | #pragma push_macro("strtok_r") |
| 106 | #undef strtok_r | 93 | #undef strtok_r |
| 107 | char *strtok_r(char * __restrict__ _Str, const char * __restrict__ _Delim, char ** __restrict__ __last); | 94 | char *strtok_r(char * __restrict__ _Str, const char * __restrict__ _Delim, char ** __restrict__ __last); |
| 108 | #pragma pop_macro("strtok_r") | 95 | #pragma pop_macro("strtok_r") |
| 109 | _CRTIMP char *__cdecl _strupr(char *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 96 | _CRTIMP char *__cdecl _strupr(char *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 110 | _CRTIMP char *_strupr_l(char *_String,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 97 | _CRTIMP char *_strupr_l(char *_String,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 111 | size_t __cdecl strxfrm(char * __restrict__ _Dst,const char * __restrict__ _Src,size_t _MaxCount); | 98 | _CRTIMP size_t __cdecl strxfrm(char * __restrict__ _Dst,const char * __restrict__ _Src,size_t _MaxCount); |
| 112 | _CRTIMP size_t __cdecl _strxfrm_l(char * __restrict__ _Dst,const char * __restrict__ _Src,size_t _MaxCount,_locale_t _Locale); | 99 | _CRTIMP size_t __cdecl _strxfrm_l(char * __restrict__ _Dst,const char * __restrict__ _Src,size_t _MaxCount,_locale_t _Locale); |
| 113 | 100 | ||
| 114 | #ifndef	NO_OLDNAMES | 101 | #ifndef	NO_OLDNAMES |
| ... | @@ -126,13 +113,6 @@ extern "C" { | ... | @@ -126,13 +113,6 @@ extern "C" { |
| 126 | int __cdecl strnicmp(const char *_Str1,const char *_Str,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 113 | int __cdecl strnicmp(const char *_Str1,const char *_Str,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 127 | int __cdecl strncasecmp (const char *, const char *, size_t); | 114 | int __cdecl strncasecmp (const char *, const char *, size_t); |
| 128 | int __cdecl strcasecmp (const char *, const char *); | 115 | int __cdecl strcasecmp (const char *, const char *); |
| 129 | #ifndef __CRT__NO_INLINE | ||
| 130 | __CRT_INLINE int __cdecl strncasecmp (const char *__sz1, const char *__sz2, size_t __sizeMaxCompare) { return _strnicmp (__sz1, __sz2, __sizeMaxCompare); } | ||
| 131 | __CRT_INLINE int __cdecl strcasecmp (const char *__sz1, const char *__sz2) { return _stricmp (__sz1, __sz2); } | ||
| 132 | #else | ||
| 133 | #define strncasecmp _strnicmp | ||
| 134 | #define strcasecmp _stricmp | ||
| 135 | #endif /* !__CRT__NO_INLINE */ | ||
| 136 | char *__cdecl strnset(char *_Str,int _Val,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 116 | char *__cdecl strnset(char *_Str,int _Val,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 137 | char *__cdecl strrev(char *_Str) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 117 | char *__cdecl strrev(char *_Str) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| 138 | char *__cdecl strset(char *_Str,int _Val) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 118 | char *__cdecl strset(char *_Str,int _Val) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
| ... | @@ -165,8 +145,8 @@ extern "C" { | ... | @@ -165,8 +145,8 @@ extern "C" { |
| 165 | _CONST_RETURN wchar_t *__cdecl wcsrchr(const wchar_t *_Str,wchar_t _Ch); | 145 | _CONST_RETURN wchar_t *__cdecl wcsrchr(const wchar_t *_Str,wchar_t _Ch); |
| 166 | size_t __cdecl wcsspn(const wchar_t *_Str,const wchar_t *_Control); | 146 | size_t __cdecl wcsspn(const wchar_t *_Str,const wchar_t *_Control); |
| 167 | _CONST_RETURN wchar_t *__cdecl wcsstr(const wchar_t *_Str,const wchar_t *_SubStr); | 147 | _CONST_RETURN wchar_t *__cdecl wcsstr(const wchar_t *_Str,const wchar_t *_SubStr); |
| 168 | wchar_t *__cdecl wcstok(wchar_t * __restrict__ _Str,const wchar_t * __restrict__ _Delim,wchar_t ** __restrict__ _Ptr) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 148 | _CRTIMP wchar_t *__cdecl wcstok(wchar_t * __restrict__ _Str,const wchar_t * __restrict__ _Delim,wchar_t ** __restrict__ _Ptr) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 169 | wchar_t *__cdecl _wcstok(wchar_t * __restrict__ _Str,const wchar_t * __restrict__ _Delim) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 149 | _CRTIMP wchar_t *__cdecl _wcstok(wchar_t * __restrict__ _Str,const wchar_t * __restrict__ _Delim) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 170 | #if defined(_CRT_NON_CONFORMING_WCSTOK) && !defined(__cplusplus) | 150 | #if defined(_CRT_NON_CONFORMING_WCSTOK) && !defined(__cplusplus) |
| 171 | #define wcstok _wcstok | 151 | #define wcstok _wcstok |
| 172 | #endif | 152 | #endif |
| ... | @@ -186,9 +166,9 @@ extern "C" { | ... | @@ -186,9 +166,9 @@ extern "C" { |
| 186 | _CRTIMP wchar_t *_wcslwr_l(wchar_t *_String,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 166 | _CRTIMP wchar_t *_wcslwr_l(wchar_t *_String,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 187 | _CRTIMP wchar_t *__cdecl _wcsupr(wchar_t *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 167 | _CRTIMP wchar_t *__cdecl _wcsupr(wchar_t *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 188 | _CRTIMP wchar_t *_wcsupr_l(wchar_t *_String,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 168 | _CRTIMP wchar_t *_wcsupr_l(wchar_t *_String,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 189 | size_t __cdecl wcsxfrm(wchar_t * __restrict__ _Dst,const wchar_t * __restrict__ _Src,size_t _MaxCount); | 169 | _CRTIMP size_t __cdecl wcsxfrm(wchar_t * __restrict__ _Dst,const wchar_t * __restrict__ _Src,size_t _MaxCount); |
| 190 | _CRTIMP size_t __cdecl _wcsxfrm_l(wchar_t * __restrict__ _Dst,const wchar_t * __restrict__ _Src,size_t _MaxCount,_locale_t _Locale); | 170 | _CRTIMP size_t __cdecl _wcsxfrm_l(wchar_t * __restrict__ _Dst,const wchar_t * __restrict__ _Src,size_t _MaxCount,_locale_t _Locale); |
| 191 | int __cdecl wcscoll(const wchar_t *_Str1,const wchar_t *_Str2); | 171 | _CRTIMP int __cdecl wcscoll(const wchar_t *_Str1,const wchar_t *_Str2); |
| 192 | _CRTIMP int __cdecl _wcscoll_l(const wchar_t *_Str1,const wchar_t *_Str2,_locale_t _Locale); | 172 | _CRTIMP int __cdecl _wcscoll_l(const wchar_t *_Str1,const wchar_t *_Str2,_locale_t _Locale); |
| 193 | _CRTIMP int __cdecl _wcsicoll(const wchar_t *_Str1,const wchar_t *_Str2); | 173 | _CRTIMP int __cdecl _wcsicoll(const wchar_t *_Str1,const wchar_t *_Str2); |
| 194 | _CRTIMP int __cdecl _wcsicoll_l(const wchar_t *_Str1,const wchar_t *_Str2,_locale_t _Locale); | 174 | _CRTIMP int __cdecl _wcsicoll_l(const wchar_t *_Str1,const wchar_t *_Str2,_locale_t _Locale); |
lib/libc/include/any-windows-any/strmif.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/strmif.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/structuredquerycondition.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/swprintf.inl+2-23| ... | @@ -7,36 +7,15 @@ | ... | @@ -7,36 +7,15 @@ |
| 7 | #ifndef _INC_SWPRINTF_INL | 7 | #ifndef _INC_SWPRINTF_INL |
| 8 | #define _INC_SWPRINTF_INL | 8 | #define _INC_SWPRINTF_INL |
| 9 | 9 | ||
| 10 | #include <vadefs.h> | ||
| 11 | |||
| 12 | #ifdef __cplusplus | 10 | #ifdef __cplusplus |
| 13 | 11 | ||
| 14 | extern "C++" { | 12 | extern "C++" { |
| 15 | 13 | ||
| 16 | __mingw_ovr | ||
| 17 | /* __attribute__((__format__ (gnu_wprintf, 2, 0))) */ __MINGW_ATTRIB_NONNULL(2) | 14 | /* __attribute__((__format__ (gnu_wprintf, 2, 0))) */ __MINGW_ATTRIB_NONNULL(2) |
| 18 | int vswprintf (wchar_t *__stream, const wchar_t *__format, __builtin_va_list __local_argv) | 15 | int vswprintf (wchar_t *__stream, const wchar_t *__format, __builtin_va_list __local_argv) __MINGW_ASM_CALL(_vswprintf); |
| 19 | { | ||
| 20 | return _vswprintf( __stream, __format, __local_argv ); | ||
| 21 | } | ||
| 22 | 16 | ||
| 23 | __mingw_ovr | ||
| 24 | /* __attribute__((__format__ (gnu_wprintf, 2, 3))) */ __MINGW_ATTRIB_NONNULL(2) | 17 | /* __attribute__((__format__ (gnu_wprintf, 2, 3))) */ __MINGW_ATTRIB_NONNULL(2) |
| 25 | int swprintf (wchar_t *__stream, const wchar_t *__format, ...) | 18 | int swprintf (wchar_t *__stream, const wchar_t *__format, ...) __MINGW_ASM_CALL(_swprintf); |
| 26 | { | ||
| 27 | #ifdef __clang__ | ||
| 28 | /* clang does not support __builtin_va_arg_pack(), so forward swprintf() to vswprintf() */ | ||
| 29 | int __retval; | ||
| 30 | __builtin_va_list __local_argv; | ||
| 31 | |||
| 32 | __builtin_va_start( __local_argv, __format ); | ||
| 33 | __retval = vswprintf( __stream, __format, __local_argv ); | ||
| 34 | __builtin_va_end( __local_argv ); | ||
| 35 | return __retval; | ||
| 36 | #else | ||
| 37 | return _swprintf( __stream, __format, __builtin_va_arg_pack() ); | ||
| 38 | #endif | ||
| 39 | } | ||
| 40 | 19 | ||
| 41 | } | 20 | } |
| 42 | 21 |
lib/libc/include/any-windows-any/sys/stat.h+4-4| ... | @@ -149,21 +149,21 @@ struct stat { | ... | @@ -149,21 +149,21 @@ struct stat { |
| 149 | }; | 149 | }; |
| 150 | #if defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64) | 150 | #if defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64) |
| 151 | #ifdef _USE_32BIT_TIME_T | 151 | #ifdef _USE_32BIT_TIME_T |
| 152 | int __cdecl fstat(int _Desc, struct stat *_Stat) __MINGW_ASM_CALL(_fstat32i64); | 152 | int __cdecl fstat(int _Desc, struct stat *_Stat) __MINGW_ASM_CALL(fstat32i64); |
| 153 | int __cdecl stat(const char *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(stat32i64); | 153 | int __cdecl stat(const char *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(stat32i64); |
| 154 | int __cdecl wstat(const wchar_t *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(wstat32i64); | 154 | int __cdecl wstat(const wchar_t *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(wstat32i64); |
| 155 | #else | 155 | #else |
| 156 | int __cdecl fstat(int _Desc, struct stat *_Stat) __MINGW_ASM_CALL(_fstat64); | 156 | int __cdecl fstat(int _Desc, struct stat *_Stat) __MINGW_ASM_CALL(fstat64); |
| 157 | int __cdecl stat(const char *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(stat64); | 157 | int __cdecl stat(const char *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(stat64); |
| 158 | int __cdecl wstat(const wchar_t *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(wstat64); | 158 | int __cdecl wstat(const wchar_t *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(wstat64); |
| 159 | #endif | 159 | #endif |
| 160 | #else | 160 | #else |
| 161 | #ifdef _USE_32BIT_TIME_T | 161 | #ifdef _USE_32BIT_TIME_T |
| 162 | int __cdecl fstat(int _Desc, struct stat *_Stat) __MINGW_ASM_CALL(_fstat32); | 162 | int __cdecl fstat(int _Desc, struct stat *_Stat) __MINGW_ASM_CALL(fstat32); |
| 163 | int __cdecl stat(const char *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(stat32); | 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); | 164 | int __cdecl wstat(const wchar_t *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(wstat32); |
| 165 | #else | 165 | #else |
| 166 | int __cdecl fstat(int _Desc, struct stat *_Stat) __MINGW_ASM_CALL(_fstat64i32); | 166 | int __cdecl fstat(int _Desc, struct stat *_Stat) __MINGW_ASM_CALL(fstat64i32); |
| 167 | int __cdecl stat(const char *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(stat64i32); | 167 | int __cdecl stat(const char *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(stat64i32); |
| 168 | int __cdecl wstat(const wchar_t *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(wstat64i32); | 168 | int __cdecl wstat(const wchar_t *_Filename, struct stat *_Stat) __MINGW_ASM_CALL(wstat64i32); |
| 169 | #endif | 169 | #endif |
lib/libc/include/any-windows-any/sys/timeb.h+14-2| ... | @@ -78,6 +78,11 @@ extern "C" { | ... | @@ -78,6 +78,11 @@ extern "C" { |
| 78 | _CRTIMP void __cdecl _ftime64(struct __timeb64 *_Time); | 78 | _CRTIMP void __cdecl _ftime64(struct __timeb64 *_Time); |
| 79 | _CRTIMP void __cdecl _ftime32(struct __timeb32 *_Time); | 79 | _CRTIMP void __cdecl _ftime32(struct __timeb32 *_Time); |
| 80 | 80 | ||
| 81 | /* | ||
| 82 | * To prevent ABI issues, the mingw-w64 runtime should not call the | ||
| 83 | * _timeb and _ftime functions. Instead it should call the fixed-size variants. | ||
| 84 | */ | ||
| 85 | #ifndef _CRTBLD | ||
| 81 | #ifndef _USE_32BIT_TIME_T | 86 | #ifndef _USE_32BIT_TIME_T |
| 82 | #define _timeb __timeb64 | 87 | #define _timeb __timeb64 |
| 83 | #define _ftime _ftime64 | 88 | #define _ftime _ftime64 |
| ... | @@ -85,6 +90,7 @@ extern "C" { | ... | @@ -85,6 +90,7 @@ extern "C" { |
| 85 | #define _timeb __timeb32 | 90 | #define _timeb __timeb32 |
| 86 | #define _ftime _ftime32 | 91 | #define _ftime _ftime32 |
| 87 | #endif | 92 | #endif |
| 93 | #endif /* _CRTBLD */ | ||
| 88 | 94 | ||
| 89 | struct _timespec32 { | 95 | struct _timespec32 { |
| 90 | __time32_t tv_sec; | 96 | __time32_t tv_sec; |
| ... | @@ -109,13 +115,19 @@ struct itimerspec { | ... | @@ -109,13 +115,19 @@ struct itimerspec { |
| 109 | }; | 115 | }; |
| 110 | #endif | 116 | #endif |
| 111 | 117 | ||
| 118 | /* | ||
| 119 | * To prevent ABI issues, the mingw-w64 runtime should not call the | ||
| 120 | * ftime function. Instead it should call the fixed-size variants. | ||
| 121 | */ | ||
| 122 | #ifndef _CRTBLD | ||
| 112 | #if !defined (RC_INVOKED) && !defined (NO_OLDNAMES) | 123 | #if !defined (RC_INVOKED) && !defined (NO_OLDNAMES) |
| 113 | #ifndef _USE_32BIT_TIME_T | 124 | #ifndef _USE_32BIT_TIME_T |
| 114 | void __cdecl ftime (struct timeb *) __MINGW_ASM_CALL(_ftime64); | 125 | int __cdecl ftime (struct timeb *) __MINGW_ASM_CALL(ftime64); |
| 115 | #else | 126 | #else |
| 116 | void __cdecl ftime (struct timeb *) __MINGW_ASM_CALL(_ftime32); | 127 | int __cdecl ftime (struct timeb *) __MINGW_ASM_CALL(ftime32); |
| 117 | #endif /* _USE_32BIT_TIME_T */ | 128 | #endif /* _USE_32BIT_TIME_T */ |
| 118 | #endif | 129 | #endif |
| 130 | #endif /* _CRTBLD */ | ||
| 119 | 131 | ||
| 120 | #ifdef __cplusplus | 132 | #ifdef __cplusplus |
| 121 | } | 133 | } |
lib/libc/include/any-windows-any/sys/utime.h+19-32| ... | @@ -91,43 +91,30 @@ extern "C" { | ... | @@ -91,43 +91,30 @@ extern "C" { |
| 91 | _CRTIMP int __cdecl _wutime64(const wchar_t *_Filename,struct __utimbuf64 *_Time); | 91 | _CRTIMP int __cdecl _wutime64(const wchar_t *_Filename,struct __utimbuf64 *_Time); |
| 92 | 92 | ||
| 93 | #ifndef RC_INVOKED | 93 | #ifndef RC_INVOKED |
| 94 | int __cdecl _utime(const char *,struct _utimbuf *); | 94 | |
| 95 | int __cdecl _futime(int,struct _utimbuf *); | 95 | /* |
| 96 | int __cdecl _wutime(const wchar_t *,struct _utimbuf *); | 96 | * To prevent ABI issues, the mingw-w64 runtime should not call these |
| 97 | #ifndef __CRT__NO_INLINE | 97 | * functions. Instead it should call the fixed-size variants. |
| 98 | */ | ||
| 99 | #ifndef _CRTBLD | ||
| 98 | #ifdef _USE_32BIT_TIME_T | 100 | #ifdef _USE_32BIT_TIME_T |
| 99 | __CRT_INLINE int __cdecl _utime(const char *_Filename,struct _utimbuf *_Utimbuf) { | 101 | int __cdecl _utime(const char *_Filename,struct _utimbuf *_Utimbuf) __MINGW_ASM_CALL(_utime32); |
| 100 | return _utime32(_Filename,(struct __utimbuf32 *)_Utimbuf); | 102 | int __cdecl _futime(int _Desc,struct _utimbuf *_Utimbuf) __MINGW_ASM_CALL(_futime32); |
| 101 | } | 103 | int __cdecl _wutime(const wchar_t *_Filename,struct _utimbuf *_Utimbuf) __MINGW_ASM_CALL(_wutime32); |
| 102 | __CRT_INLINE int __cdecl _futime(int _Desc,struct _utimbuf *_Utimbuf) { | ||
| 103 | return _futime32(_Desc,(struct __utimbuf32 *)_Utimbuf); | ||
| 104 | } | ||
| 105 | __CRT_INLINE int __cdecl _wutime(const wchar_t *_Filename,struct _utimbuf *_Utimbuf) { | ||
| 106 | return _wutime32(_Filename,(struct __utimbuf32 *)_Utimbuf); | ||
| 107 | } | ||
| 108 | #else | 104 | #else |
| 109 | __CRT_INLINE int __cdecl _utime(const char *_Filename,struct _utimbuf *_Utimbuf) { | 105 | int __cdecl _utime(const char *_Filename,struct _utimbuf *_Utimbuf) __MINGW_ASM_CALL(_utime64); |
| 110 | return _utime64(_Filename,(struct __utimbuf64 *)_Utimbuf); | 106 | int __cdecl _futime(int _Desc,struct _utimbuf *_Utimbuf) __MINGW_ASM_CALL(_futime64); |
| 111 | } | 107 | int __cdecl _wutime(const wchar_t *_Filename,struct _utimbuf *_Utimbuf) __MINGW_ASM_CALL(_wutime64); |
| 112 | __CRT_INLINE int __cdecl _futime(int _Desc,struct _utimbuf *_Utimbuf) { | ||
| 113 | return _futime64(_Desc,(struct __utimbuf64 *)_Utimbuf); | ||
| 114 | } | ||
| 115 | __CRT_INLINE int __cdecl _wutime(const wchar_t *_Filename,struct _utimbuf *_Utimbuf) { | ||
| 116 | return _wutime64(_Filename,(struct __utimbuf64 *)_Utimbuf); | ||
| 117 | } | ||
| 118 | #endif | 108 | #endif |
| 119 | #endif /* !__CRT__NO_INLINE */ | ||
| 120 | |||
| 121 | #ifndef	NO_OLDNAMES | 109 | #ifndef	NO_OLDNAMES |
| 122 | int __cdecl utime(const char *, struct utimbuf *); | 110 | #ifdef _USE_32BIT_TIME_T |
| 123 | #ifndef __CRT__NO_INLINE | 111 | int __cdecl utime(const char *, struct utimbuf *) __MINGW_ASM_CALL(_utime32); |
| 124 | #ifndef _USE_32BIT_TIME_T | 112 | #else |
| 125 | __CRT_INLINE int __cdecl utime(const char *_Filename,struct utimbuf *_Utimbuf) { | 113 | int __cdecl utime(const char *, struct utimbuf *) __MINGW_ASM_CALL(_utime64); |
| 126 | return _utime64(_Filename,(struct __utimbuf64 *)_Utimbuf); | 114 | #endif |
| 127 | } | ||
| 128 | #endif /* !_USE_32BIT_TIME_T */ | ||
| 129 | #endif /* !__CRT__NO_INLINE */ | ||
| 130 | #endif | 115 | #endif |
| 116 | #endif /* _CRTBLD */ | ||
| 117 | |||
| 131 | #endif | 118 | #endif |
| 132 | 119 | ||
| 133 | #ifdef __cplusplus | 120 | #ifdef __cplusplus |
lib/libc/include/any-windows-any/systemmediatransportcontrolsinterop.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/systemmediatransportcontrolsinterop.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/taskschd.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/textstor.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/textstor.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/thumbcache.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/time.h+6| ... | @@ -227,6 +227,11 @@ extern "C" { | ... | @@ -227,6 +227,11 @@ extern "C" { |
| 227 | 227 | ||
| 228 | #ifndef RC_INVOKED | 228 | #ifndef RC_INVOKED |
| 229 | 229 | ||
| 230 | /* | ||
| 231 | * To prevent ABI issues, the mingw-w64 runtime should not call these | ||
| 232 | * functions. Instead it should call the fixed-size variants. | ||
| 233 | */ | ||
| 234 | #ifndef _CRTBLD | ||
| 230 | #ifdef _USE_32BIT_TIME_T | 235 | #ifdef _USE_32BIT_TIME_T |
| 231 | time_t __CRTDECL time(time_t *_Time) __MINGW_ASM_CALL(_time32); | 236 | time_t __CRTDECL time(time_t *_Time) __MINGW_ASM_CALL(_time32); |
| 232 | #ifdef _UCRT | 237 | #ifdef _UCRT |
| ... | @@ -256,6 +261,7 @@ errno_t __CRTDECL ctime_s(char *_Buf,size_t _SizeInBytes,const time_t *_Time) __ | ... | @@ -256,6 +261,7 @@ errno_t __CRTDECL ctime_s(char *_Buf,size_t _SizeInBytes,const time_t *_Time) __ |
| 256 | time_t __CRTDECL mktime(struct tm *_Tm) __MINGW_ASM_CALL(_mktime64); | 261 | time_t __CRTDECL mktime(struct tm *_Tm) __MINGW_ASM_CALL(_mktime64); |
| 257 | time_t __CRTDECL _mkgmtime(struct tm *_Tm) __MINGW_ASM_CALL(_mkgmtime64); | 262 | time_t __CRTDECL _mkgmtime(struct tm *_Tm) __MINGW_ASM_CALL(_mkgmtime64); |
| 258 | #endif | 263 | #endif |
| 264 | #endif /* _CRTBLD */ | ||
| 259 | 265 | ||
| 260 | #endif /* !RC_INVOKED */ | 266 | #endif /* !RC_INVOKED */ |
| 261 | 267 |
lib/libc/include/any-windows-any/tlbref.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/tlbref.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/tlogstg.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/tpcshrd.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/tsvirtualchannels.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/tsvirtualchannels.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/tuner.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/uchar.h+4-19| ... | @@ -48,25 +48,10 @@ extern "C" { | ... | @@ -48,25 +48,10 @@ extern "C" { |
| 48 | #endif | 48 | #endif |
| 49 | 49 | ||
| 50 | #ifdef _UCRT | 50 | #ifdef _UCRT |
| 51 | 51 | _CRTIMP size_t mbrtoc16 (char16_t *__restrict__ _Pc16, const char *__restrict__ _S, size_t _N, mbstate_t *__restrict__ _Ps); | |
| 52 | size_t mbrtoc16 (char16_t *__restrict__ pc16, | 52 | _CRTIMP size_t c16rtomb (char *__restrict__ _S, char16_t _C16, mbstate_t *__restrict__ _Ps); |
| 53 | 		 const char *__restrict__ s, | 53 | _CRTIMP size_t mbrtoc32 (char32_t *__restrict__ _Pc32, const char *__restrict__ s, size_t n, mbstate_t *__restrict__ _Ps); |
| 54 | 		 size_t n, | 54 | _CRTIMP size_t c32rtomb (char *__restrict__ _S, char32_t _C32, mbstate_t *__restrict__ _Ps); |
| 55 | 		 mbstate_t *__restrict__ ps); | ||
| 56 | |||
| 57 | size_t c16rtomb (char *__restrict__ s, | ||
| 58 | 		 char16_t c16, | ||
| 59 | 		 mbstate_t *__restrict__ ps); | ||
| 60 | |||
| 61 | size_t mbrtoc32 (char32_t *__restrict__ pc32, | ||
| 62 | 		 const char *__restrict__ s, | ||
| 63 | 		 size_t n, | ||
| 64 | 		 mbstate_t *__restrict__ ps); | ||
| 65 | |||
| 66 | size_t c32rtomb (char *__restrict__ s, | ||
| 67 | 		 char32_t c32, | ||
| 68 | 		 mbstate_t *__restrict__ ps); | ||
| 69 | |||
| 70 | #endif /* _UCRT */ | 55 | #endif /* _UCRT */ |
| 71 | 56 | ||
| 72 | #ifdef __cplusplus | 57 | #ifdef __cplusplus |
lib/libc/include/any-windows-any/uianimation.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/uianimation.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/uiautomationclient.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/uiautomationcore.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/uiviewsettingsinterop.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/unistd.h+10-28| ... | @@ -56,38 +56,20 @@ int __cdecl __MINGW_NOTHROW usleep(useconds_t); | ... | @@ -56,38 +56,20 @@ int __cdecl __MINGW_NOTHROW usleep(useconds_t); |
| 56 | #define FTRUNCATE_DEFINED | 56 | #define FTRUNCATE_DEFINED |
| 57 | /* This is defined as a real library function to allow autoconf | 57 | /* This is defined as a real library function to allow autoconf |
| 58 | to verify its existence. */ | 58 | to verify its existence. */ |
| 59 | #if !defined(NO_OLDNAMES) || defined(_POSIX) | 59 | int ftruncate(int, off_t) |
| 60 | int ftruncate(int, off32_t); | 60 | #if (defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)) |
| 61 | int ftruncate64(int, off64_t); | 61 | __MINGW_ASM_CALL(ftruncate64) |
| 62 | int truncate(const char *, off32_t); | 62 | #endif |
| 63 | int truncate64(const char *, off64_t); | 63 | ; |
| 64 | #ifndef __CRT__NO_INLINE | ||
| 65 | __CRT_INLINE int ftruncate(int __fd, off32_t __length) | ||
| 66 | { | ||
| 67 | return _chsize (__fd, __length); | ||
| 68 | } | ||
| 69 | #endif /* !__CRT__NO_INLINE */ | ||
| 70 | #else | ||
| 71 | int ftruncate(int, _off_t); | ||
| 72 | int ftruncate64(int, _off64_t); | 64 | int ftruncate64(int, _off64_t); |
| 73 | int truncate(const char *, _off_t); | 65 | int truncate(const char *, off_t) |
| 74 | int truncate64(const char *, _off64_t); | 66 | #if (defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)) |
| 75 | #ifndef __CRT__NO_INLINE | 67 | __MINGW_ASM_CALL(truncate64) |
| 76 | __CRT_INLINE int ftruncate(int __fd, _off_t __length) | ||
| 77 | { | ||
| 78 | return _chsize (__fd, __length); | ||
| 79 | } | ||
| 80 | #endif /* !__CRT__NO_INLINE */ | ||
| 81 | #endif | 68 | #endif |
| 69 | ; | ||
| 70 | int truncate64(const char *, _off64_t); | ||
| 82 | #endif /* FTRUNCATE_DEFINED */ | 71 | #endif /* FTRUNCATE_DEFINED */ |
| 83 | 72 | ||
| 84 | #ifndef _FILE_OFFSET_BITS_SET_FTRUNCATE | ||
| 85 | #define _FILE_OFFSET_BITS_SET_FTRUNCATE | ||
| 86 | #if (defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)) | ||
| 87 | #define ftruncate ftruncate64 | ||
| 88 | #endif /* _FILE_OFFSET_BITS_SET_FTRUNCATE */ | ||
| 89 | #endif /* _FILE_OFFSET_BITS_SET_FTRUNCATE */ | ||
| 90 | |||
| 91 | #ifndef _CRT_SWAB_DEFINED | 73 | #ifndef _CRT_SWAB_DEFINED |
| 92 | #define _CRT_SWAB_DEFINED /* Also in stdlib.h */ | 74 | #define _CRT_SWAB_DEFINED /* Also in stdlib.h */ |
| 93 | void __cdecl swab(char *_Buf1,char *_Buf2,int _SizeInBytes) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | 75 | void __cdecl swab(char *_Buf1,char *_Buf2,int _SizeInBytes) __MINGW_ATTRIB_DEPRECATED_MSVC2005; |
lib/libc/include/any-windows-any/unknwn.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/unknwn.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/unknwnbase.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/urlhist.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/urlmon.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/vdslun.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/vdslun.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/vidcap.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/vmr9.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/vsadmin.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/vsbackup.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/vsmgmt.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/vsprov.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/vss.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/vswriter.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/vswriter.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/wbemads.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/wbemcli.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/wbemdisp.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/wbemprov.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/wbemprov.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/wbemtran.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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+50-141| ... | @@ -8,6 +8,7 @@ | ... | @@ -8,6 +8,7 @@ |
| 8 | 8 | ||
| 9 | #include <corecrt.h> | 9 | #include <corecrt.h> |
| 10 | #include <corecrt_stdio_config.h> | 10 | #include <corecrt_stdio_config.h> |
| 11 | #include <corecrt_wconio.h> | ||
| 11 | #include <corecrt_wstdlib.h> | 12 | #include <corecrt_wstdlib.h> |
| 12 | #include <corecrt_wctype.h> | 13 | #include <corecrt_wctype.h> |
| 13 | 14 | ||
| ... | @@ -41,6 +42,9 @@ extern "C" { | ... | @@ -41,6 +42,9 @@ extern "C" { |
| 41 | 42 | ||
| 42 | #ifndef _FILE_DEFINED | 43 | #ifndef _FILE_DEFINED |
| 43 | struct _iobuf { | 44 | struct _iobuf { |
| 45 | #ifdef _UCRT | ||
| 46 | void *_Placeholder; | ||
| 47 | #else | ||
| 44 | char *_ptr; | 48 | char *_ptr; |
| 45 | int _cnt; | 49 | int _cnt; |
| 46 | char *_base; | 50 | char *_base; |
| ... | @@ -49,6 +53,7 @@ extern "C" { | ... | @@ -49,6 +53,7 @@ extern "C" { |
| 49 | int _charbuf; | 53 | int _charbuf; |
| 50 | int _bufsiz; | 54 | int _bufsiz; |
| 51 | char *_tmpfname; | 55 | char *_tmpfname; |
| 56 | #endif | ||
| 52 | }; | 57 | }; |
| 53 | typedef struct _iobuf FILE; | 58 | typedef struct _iobuf FILE; |
| 54 | #define _FILE_DEFINED | 59 | #define _FILE_DEFINED |
| ... | @@ -110,6 +115,11 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index); | ... | @@ -110,6 +115,11 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index); |
| 110 | }; | 115 | }; |
| 111 | /* #endif */ | 116 | /* #endif */ |
| 112 | 117 | ||
| 118 | /* | ||
| 119 | * To prevent ABI issues, the mingw-w64 runtime should not call these | ||
| 120 | * functions. Instead it should call the fixed-size variants. | ||
| 121 | */ | ||
| 122 | #ifndef _CRTBLD | ||
| 113 | #ifdef _USE_32BIT_TIME_T | 123 | #ifdef _USE_32BIT_TIME_T |
| 114 | #define _wfinddata_t _wfinddata32_t | 124 | #define _wfinddata_t _wfinddata32_t |
| 115 | #define _wfinddatai64_t _wfinddata32i64_t | 125 | #define _wfinddatai64_t _wfinddata32i64_t |
| ... | @@ -127,6 +137,7 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index); | ... | @@ -127,6 +137,7 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index); |
| 127 | #define _wfindfirsti64 _wfindfirst64 | 137 | #define _wfindfirsti64 _wfindfirst64 |
| 128 | #define _wfindnexti64 _wfindnext64 | 138 | #define _wfindnexti64 _wfindnext64 |
| 129 | #endif | 139 | #endif |
| 140 | #endif /* _CRTBLD */ | ||
| 130 | 141 | ||
| 131 | #define _WFINDDATA_T_DEFINED | 142 | #define _WFINDDATA_T_DEFINED |
| 132 | #endif | 143 | #endif |
| ... | @@ -187,10 +198,10 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index); | ... | @@ -187,10 +198,10 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index); |
| 187 | _CRTIMP int __cdecl _wrename(const wchar_t *_OldFilename,const wchar_t *_NewFilename); | 198 | _CRTIMP int __cdecl _wrename(const wchar_t *_OldFilename,const wchar_t *_NewFilename); |
| 188 | _CRTIMP wchar_t *__cdecl _wmktemp(wchar_t *_TemplateName) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 199 | _CRTIMP wchar_t *__cdecl _wmktemp(wchar_t *_TemplateName) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 189 | _CRTIMP intptr_t __cdecl _wfindfirst32i64(const wchar_t *_Filename,struct _wfinddata32i64_t *_FindData); | 200 | _CRTIMP intptr_t __cdecl _wfindfirst32i64(const wchar_t *_Filename,struct _wfinddata32i64_t *_FindData); |
| 190 | intptr_t __cdecl _wfindfirst64i32(const wchar_t *_Filename,struct _wfinddata64i32_t *_FindData); | 201 | _CRTIMP intptr_t __cdecl _wfindfirst64i32(const wchar_t *_Filename,struct _wfinddata64i32_t *_FindData); |
| 191 | _CRTIMP intptr_t __cdecl _wfindfirst64(const wchar_t *_Filename,struct _wfinddata64_t *_FindData); | 202 | _CRTIMP intptr_t __cdecl _wfindfirst64(const wchar_t *_Filename,struct _wfinddata64_t *_FindData); |
| 192 | _CRTIMP int __cdecl _wfindnext32i64(intptr_t _FindHandle,struct _wfinddata32i64_t *_FindData); | 203 | _CRTIMP int __cdecl _wfindnext32i64(intptr_t _FindHandle,struct _wfinddata32i64_t *_FindData); |
| 193 | int __cdecl _wfindnext64i32(intptr_t _FindHandle,struct _wfinddata64i32_t *_FindData); | 204 | _CRTIMP int __cdecl _wfindnext64i32(intptr_t _FindHandle,struct _wfinddata64i32_t *_FindData); |
| 194 | _CRTIMP int __cdecl _wfindnext64(intptr_t _FindHandle,struct _wfinddata64_t *_FindData); | 205 | _CRTIMP int __cdecl _wfindnext64(intptr_t _FindHandle,struct _wfinddata64_t *_FindData); |
| 195 | _CRTIMP errno_t __cdecl _wsopen_s(int *_FileHandle,const wchar_t *_Filename,int _OpenFlag,int _ShareFlag,int _PermissionFlag); | 206 | _CRTIMP errno_t __cdecl _wsopen_s(int *_FileHandle,const wchar_t *_Filename,int _OpenFlag,int _ShareFlag,int _PermissionFlag); |
| 196 | _CRTIMP int __cdecl _wopen(const wchar_t *_Filename,int _OpenFlag,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 207 | _CRTIMP int __cdecl _wopen(const wchar_t *_Filename,int _OpenFlag,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| ... | @@ -267,38 +278,6 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index); | ... | @@ -267,38 +278,6 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index); |
| 267 | #endif | 278 | #endif |
| 268 | #endif | 279 | #endif |
| 269 | 280 | ||
| 270 | #ifndef _WCONIO_DEFINED | ||
| 271 | #define _WCONIO_DEFINED | ||
| 272 | |||
| 273 | #ifndef WEOF | ||
| 274 | #define WEOF (wint_t)(0xFFFF) | ||
| 275 | #endif | ||
| 276 | |||
| 277 | _CRTIMP wchar_t *_cgetws(wchar_t *_Buffer) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | ||
| 278 | _CRTIMP wint_t __cdecl _getwch(void); | ||
| 279 | _CRTIMP wint_t __cdecl _getwche(void); | ||
| 280 | _CRTIMP wint_t __cdecl _putwch(wchar_t _WCh); | ||
| 281 | _CRTIMP wint_t __cdecl _ungetwch(wint_t _WCh); | ||
| 282 | _CRTIMP int __cdecl _cputws(const wchar_t *_String); | ||
| 283 | _CRTIMP int __cdecl _cwprintf(const wchar_t * __restrict__ _Format,...); | ||
| 284 | _CRTIMP int __cdecl _cwscanf(const wchar_t * __restrict__ _Format,...); | ||
| 285 | _CRTIMP int __cdecl _cwscanf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...); | ||
| 286 | _CRTIMP int __cdecl _vcwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList); | ||
| 287 | _CRTIMP int __cdecl _cwprintf_p(const wchar_t * __restrict__ _Format,...); | ||
| 288 | _CRTIMP int __cdecl _vcwprintf_p(const wchar_t * __restrict__ _Format,va_list _ArgList); | ||
| 289 | |||
| 290 | _CRTIMP int __cdecl _cwprintf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...); | ||
| 291 | _CRTIMP int __cdecl _vcwprintf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList); | ||
| 292 | _CRTIMP int __cdecl _cwprintf_p_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...); | ||
| 293 | _CRTIMP int __cdecl _vcwprintf_p_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList); | ||
| 294 | #if __MSVCRT_VERSION__ >= 0x800 | ||
| 295 | wint_t __cdecl _putwch_nolock(wchar_t _WCh); | ||
| 296 | wint_t __cdecl _getwch_nolock(void); | ||
| 297 | wint_t __cdecl _getwche_nolock(void); | ||
| 298 | wint_t __cdecl _ungetwch_nolock(wint_t _WCh); | ||
| 299 | #endif | ||
| 300 | #endif | ||
| 301 | |||
| 302 | #ifdef _UCRT | 281 | #ifdef _UCRT |
| 303 | int __cdecl __stdio_common_vswprintf_p(unsigned __int64 _Options, wchar_t *_Str, size_t _Len, const wchar_t *_Format, _locale_t _Locale, va_list _ArgList); | 282 | int __cdecl __stdio_common_vswprintf_p(unsigned __int64 _Options, wchar_t *_Str, size_t _Len, const wchar_t *_Format, _locale_t _Locale, va_list _ArgList); |
| 304 | int __cdecl __stdio_common_vfwprintf_p(unsigned __int64 _Options, FILE *_File, const wchar_t *_Format, _locale_t _Locale, va_list _ArgList); | 283 | int __cdecl __stdio_common_vfwprintf_p(unsigned __int64 _Options, FILE *_File, const wchar_t *_Format, _locale_t _Locale, va_list _ArgList); |
| ... | @@ -460,53 +439,30 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); | ... | @@ -460,53 +439,30 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); |
| 460 | #endif /* __NO_ISOCEXT */ | 439 | #endif /* __NO_ISOCEXT */ |
| 461 | 440 | ||
| 462 | #else /* !__USE_MINGW_ANSI_STDIO */ | 441 | #else /* !__USE_MINGW_ANSI_STDIO */ |
| 463 | |||
| 464 | #ifdef _UCRT | ||
| 465 | __MINGW_ATTRIB_DEPRECATED_SEC_WARN | 442 | __MINGW_ATTRIB_DEPRECATED_SEC_WARN |
| 466 | int __cdecl fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); | 443 | int __cdecl fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); |
| 444 | |||
| 467 | __MINGW_ATTRIB_DEPRECATED_SEC_WARN | 445 | __MINGW_ATTRIB_DEPRECATED_SEC_WARN |
| 468 | int __cdecl swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...); | 446 | int __cdecl swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...); |
| 447 | |||
| 469 | __MINGW_ATTRIB_DEPRECATED_SEC_WARN | 448 | __MINGW_ATTRIB_DEPRECATED_SEC_WARN |
| 470 | int __cdecl wscanf(const wchar_t * __restrict__ _Format,...); | 449 | int __cdecl wscanf(const wchar_t * __restrict__ _Format,...); |
| 471 | __MINGW_ATTRIB_NONNULL(2) | ||
| 472 | int vfwscanf (FILE *__stream, const wchar_t *__format, va_list __local_argv); | ||
| 473 | |||
| 474 | __MINGW_ATTRIB_NONNULL(2) | ||
| 475 | int vswscanf (const wchar_t * __restrict__ __source, const wchar_t * __restrict__ __format, va_list __local_argv); | ||
| 476 | __MINGW_ATTRIB_NONNULL(1) | ||
| 477 | int vwscanf(const wchar_t *__format, va_list __local_argv); | ||
| 478 | |||
| 479 | int __cdecl fwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); | ||
| 480 | int __cdecl wprintf(const wchar_t * __restrict__ _Format,...); | ||
| 481 | int __cdecl vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList); | ||
| 482 | int __cdecl vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList); | ||
| 483 | 450 | ||
| 484 | 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); | ||
| 486 | #else | ||
| 487 | |||
| 488 | int __cdecl fwscanf(FILE * __restrict__ _File,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; | ||
| 490 | int __cdecl wscanf(const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | ||
| 491 | #ifndef __NO_ISOCEXT /* externs in libmingwex.a */ | ||
| 492 | __MINGW_ATTRIB_NONNULL(2) | 451 | __MINGW_ATTRIB_NONNULL(2) |
| 493 | int vfwscanf (FILE *__stream, const wchar_t *__format, __builtin_va_list __local_argv); | 452 | int __cdecl vfwscanf(FILE *__stream, const wchar_t *__format, va_list __local_argv); |
| 494 | 453 | ||
| 495 | __MINGW_ATTRIB_NONNULL(2) | 454 | __MINGW_ATTRIB_NONNULL(2) |
| 496 | int vswscanf (const wchar_t * __restrict__ __source, const wchar_t * __restrict__ __format, __builtin_va_list __local_argv); | 455 | int __cdecl vswscanf(const wchar_t * __restrict__ __source, const wchar_t * __restrict__ __format, va_list __local_argv); |
| 497 | 456 | ||
| 498 | __MINGW_ATTRIB_NONNULL(1) | 457 | __MINGW_ATTRIB_NONNULL(1) |
| 499 | int vwscanf(const wchar_t *__format, __builtin_va_list __local_argv); | 458 | int __cdecl vwscanf(const wchar_t *__format, va_list __local_argv); |
| 500 | #endif /* __NO_ISOCEXT */ | ||
| 501 | 459 | ||
| 502 | int __cdecl fwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); | 460 | int __cdecl fwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); |
| 503 | int __cdecl wprintf(const wchar_t * __restrict__ _Format,...); | 461 | int __cdecl wprintf(const wchar_t * __restrict__ _Format,...); |
| 504 | int __cdecl vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList); | 462 | int __cdecl vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList); |
| 505 | int __cdecl vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList); | 463 | int __cdecl vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList); |
| 506 | |||
| 507 | int __cdecl swprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,...); | 464 | int __cdecl swprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,...); |
| 508 | int __cdecl vswprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args); | 465 | int __cdecl vswprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args); |
| 509 | #endif /* _UCRT */ | ||
| 510 | #endif /* __USE_MINGW_ANSI_STDIO */ | 466 | #endif /* __USE_MINGW_ANSI_STDIO */ |
| 511 | 467 | ||
| 512 | 468 | ||
| ... | @@ -534,34 +490,14 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); | ... | @@ -534,34 +490,14 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); |
| 534 | _CRTIMP wchar_t *__cdecl _getws(wchar_t *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 490 | _CRTIMP wchar_t *__cdecl _getws(wchar_t *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 535 | _CRTIMP int __cdecl _putws(const wchar_t *_Str); | 491 | _CRTIMP int __cdecl _putws(const wchar_t *_Str); |
| 536 | 492 | ||
| 537 | #ifdef _UCRT | ||
| 538 | __mingw_ovr | ||
| 539 | int __cdecl _scwprintf(const wchar_t * __restrict__ _Format,...) | ||
| 540 | { | ||
| 541 | __builtin_va_list __ap; | ||
| 542 | int __ret; | ||
| 543 | __builtin_va_start(__ap, _Format); | ||
| 544 | __ret = __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR, NULL, 0, _Format, NULL, __ap); | ||
| 545 | __builtin_va_end(__ap); | ||
| 546 | return __ret; | ||
| 547 | } | ||
| 548 | int __cdecl _snwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | ||
| 549 | __mingw_ovr __MINGW_ATTRIB_DEPRECATED_SEC_WARN | ||
| 550 | int __cdecl _vsnwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args) | ||
| 551 | { | ||
| 552 | return __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION, _Dest, _Count, _Format, NULL, _Args); | ||
| 553 | } | ||
| 554 | |||
| 555 | #if __USE_MINGW_ANSI_STDIO == 0 | ||
| 556 | 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); | ||
| 558 | #endif | ||
| 559 | |||
| 560 | #else | ||
| 561 | _CRTIMP int __cdecl _scwprintf(const wchar_t * __restrict__ _Format,...); | 493 | _CRTIMP int __cdecl _scwprintf(const wchar_t * __restrict__ _Format,...); |
| 494 | |||
| 495 | #ifndef _UCRT | ||
| 562 | _CRTIMP int __cdecl _swprintf_l(wchar_t * __restrict__ ,size_t _SizeInWords,const wchar_t * __restrict__ _Format,_locale_t _Locale,... ) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 496 | _CRTIMP int __cdecl _swprintf_l(wchar_t * __restrict__ ,size_t _SizeInWords,const wchar_t * __restrict__ _Format,_locale_t _Locale,... ) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 563 | _CRTIMP int __cdecl _swprintf_c(wchar_t * __restrict__ _DstBuf,size_t _SizeInWords,const wchar_t * __restrict__ _Format,...); | 497 | _CRTIMP int __cdecl _swprintf_c(wchar_t * __restrict__ _DstBuf,size_t _SizeInWords,const wchar_t * __restrict__ _Format,...); |
| 564 | _CRTIMP int __cdecl _vswprintf_c(wchar_t * __restrict__ _DstBuf,size_t _SizeInWords,const wchar_t * __restrict__ _Format,va_list _ArgList); | 498 | _CRTIMP int __cdecl _vswprintf_c(wchar_t * __restrict__ _DstBuf,size_t _SizeInWords,const wchar_t * __restrict__ _Format,va_list _ArgList); |
| 499 | #endif | ||
| 500 | |||
| 565 | _CRTIMP int __cdecl _snwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 501 | _CRTIMP int __cdecl _snwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 566 | _CRTIMP int __cdecl _vsnwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 502 | _CRTIMP int __cdecl _vsnwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 567 | 503 | ||
| ... | @@ -572,15 +508,13 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); | ... | @@ -572,15 +508,13 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); |
| 572 | #pragma push_macro("vsnwprintf") | 508 | #pragma push_macro("vsnwprintf") |
| 573 | # undef snwprintf | 509 | # undef snwprintf |
| 574 | # undef vsnwprintf | 510 | # undef vsnwprintf |
| 575 | int __cdecl snwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, ...) __MINGW_ASM_CALL(__ms_snwprintf); | 511 | int __cdecl snwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, ...); |
| 576 | int __cdecl vsnwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, va_list arg) __MINGW_ASM_CALL(__ms_vsnwprintf); | 512 | int __cdecl vsnwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, va_list arg); |
| 577 | #pragma pop_macro ("vsnwprintf") | 513 | #pragma pop_macro ("vsnwprintf") |
| 578 | #pragma pop_macro ("snwprintf") | 514 | #pragma pop_macro ("snwprintf") |
| 579 | #endif | 515 | #endif |
| 580 | 516 | ||
| 581 | #endif /* _UCRT */ | 517 | #endif /* __NO_ISOCEXT */ |
| 582 | |||
| 583 | #endif /* _WSTDIO_DEFINED */ | ||
| 584 | 518 | ||
| 585 | 519 | ||
| 586 | #ifdef _UCRT | 520 | #ifdef _UCRT |
| ... | @@ -802,10 +736,9 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); | ... | @@ -802,10 +736,9 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); |
| 802 | { | 736 | { |
| 803 | return __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR, NULL, 0, _Format, _Locale, _ArgList); | 737 | return __stdio_common_vswprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR, NULL, 0, _Format, _Locale, _ArgList); |
| 804 | } | 738 | } |
| 805 | __mingw_ovr int __cdecl _vscwprintf(const wchar_t *_Format, va_list _ArgList) | 739 | |
| 806 | { | 740 | _CRTIMP int __cdecl _vscwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList); |
| 807 | return _vscwprintf_l(_Format, NULL, _ArgList); | 741 | |
| 808 | } | ||
| 809 | __mingw_ovr int __cdecl _scwprintf_l(const wchar_t *_Format, _locale_t _Locale, ...) | 742 | __mingw_ovr int __cdecl _scwprintf_l(const wchar_t *_Format, _locale_t _Locale, ...) |
| 810 | { | 743 | { |
| 811 | __builtin_va_list _ArgList; | 744 | __builtin_va_list _ArgList; |
| ... | @@ -828,10 +761,7 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); | ... | @@ -828,10 +761,7 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); |
| 828 | { | 761 | { |
| 829 | return _vswprintf_c_l(_DstBuf, _MaxCount, _Format, _Locale, _ArgList); | 762 | return _vswprintf_c_l(_DstBuf, _MaxCount, _Format, _Locale, _ArgList); |
| 830 | } | 763 | } |
| 831 | __mingw_ovr int __cdecl _vswprintf(wchar_t *_DstBuf, const wchar_t *_Format, va_list _ArgList) | 764 | _CRTIMP int __cdecl _vswprintf(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,va_list _Args); |
| 832 | { | ||
| 833 | return _vswprintf_c_l(_DstBuf, (size_t)-1, _Format, NULL, _ArgList); | ||
| 834 | } | ||
| 835 | __mingw_ovr int __cdecl _swprintf_c_l(wchar_t *_DstBuf, size_t _MaxCount, const wchar_t *_Format, _locale_t _Locale, ...) | 765 | __mingw_ovr int __cdecl _swprintf_c_l(wchar_t *_DstBuf, size_t _MaxCount, const wchar_t *_Format, _locale_t _Locale, ...) |
| 836 | { | 766 | { |
| 837 | __builtin_va_list _ArgList; | 767 | __builtin_va_list _ArgList; |
| ... | @@ -850,15 +780,7 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); | ... | @@ -850,15 +780,7 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); |
| 850 | __builtin_va_end(_ArgList); | 780 | __builtin_va_end(_ArgList); |
| 851 | return _Ret; | 781 | return _Ret; |
| 852 | } | 782 | } |
| 853 | __mingw_ovr int __cdecl _swprintf(wchar_t *_DstBuf, const wchar_t *_Format, ...) | 783 | _CRTIMP int __cdecl _swprintf(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,...); |
| 854 | { | ||
| 855 | __builtin_va_list _ArgList; | ||
| 856 | int _Ret; | ||
| 857 | __builtin_va_start(_ArgList, _Format); | ||
| 858 | _Ret = _vswprintf_c_l(_DstBuf, (size_t)-1, _Format, NULL, _ArgList); | ||
| 859 | __builtin_va_end(_ArgList); | ||
| 860 | return _Ret; | ||
| 861 | } | ||
| 862 | #else /* _UCRT */ | 784 | #else /* _UCRT */ |
| 863 | _CRTIMP int __cdecl _fwprintf_p(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); | 785 | _CRTIMP int __cdecl _fwprintf_p(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); |
| 864 | _CRTIMP int __cdecl _wprintf_p(const wchar_t * __restrict__ _Format,...); | 786 | _CRTIMP int __cdecl _wprintf_p(const wchar_t * __restrict__ _Format,...); |
| ... | @@ -957,7 +879,8 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); | ... | @@ -957,7 +879,8 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); |
| 957 | #define _putwc_nolock(_c,_stm) _fputwc_nolock(_c,_stm) | 879 | #define _putwc_nolock(_c,_stm) _fputwc_nolock(_c,_stm) |
| 958 | #define _getwc_nolock(_c) _fgetwc_nolock(_c) | 880 | #define _getwc_nolock(_c) _fgetwc_nolock(_c) |
| 959 | #endif | 881 | #endif |
| 960 | #endif | 882 | |
| 883 | #endif /* _WSTDIO_DEFINED */ | ||
| 961 | 884 | ||
| 962 | #ifndef _WSTDLIB_DEFINED | 885 | #ifndef _WSTDLIB_DEFINED |
| 963 | #define _WSTDLIB_DEFINED | 886 | #define _WSTDLIB_DEFINED |
| ... | @@ -1061,8 +984,8 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); | ... | @@ -1061,8 +984,8 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); |
| 1061 | _CONST_RETURN wchar_t *__cdecl wcsrchr(const wchar_t *_Str,wchar_t _Ch); | 984 | _CONST_RETURN wchar_t *__cdecl wcsrchr(const wchar_t *_Str,wchar_t _Ch); |
| 1062 | size_t __cdecl wcsspn(const wchar_t *_Str,const wchar_t *_Control); | 985 | size_t __cdecl wcsspn(const wchar_t *_Str,const wchar_t *_Control); |
| 1063 | _CONST_RETURN wchar_t *__cdecl wcsstr(const wchar_t *_Str,const wchar_t *_SubStr); | 986 | _CONST_RETURN wchar_t *__cdecl wcsstr(const wchar_t *_Str,const wchar_t *_SubStr); |
| 1064 | wchar_t *__cdecl wcstok(wchar_t * __restrict__ _Str,const wchar_t * __restrict__ _Delim,wchar_t ** __restrict__ _Ptr) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 987 | _CRTIMP wchar_t *__cdecl wcstok(wchar_t * __restrict__ _Str,const wchar_t * __restrict__ _Delim,wchar_t ** __restrict__ _Ptr) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 1065 | wchar_t *__cdecl _wcstok(wchar_t * __restrict__ _Str,const wchar_t * __restrict__ _Delim) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 988 | _CRTIMP wchar_t *__cdecl _wcstok(wchar_t * __restrict__ _Str,const wchar_t * __restrict__ _Delim) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 1066 | #if defined(_CRT_NON_CONFORMING_WCSTOK) && !defined(__cplusplus) | 989 | #if defined(_CRT_NON_CONFORMING_WCSTOK) && !defined(__cplusplus) |
| 1067 | #define wcstok _wcstok | 990 | #define wcstok _wcstok |
| 1068 | #endif | 991 | #endif |
| ... | @@ -1082,9 +1005,9 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); | ... | @@ -1082,9 +1005,9 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); |
| 1082 | _CRTIMP wchar_t *_wcslwr_l(wchar_t *_String,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 1005 | _CRTIMP wchar_t *_wcslwr_l(wchar_t *_String,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 1083 | _CRTIMP wchar_t *__cdecl _wcsupr(wchar_t *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 1006 | _CRTIMP wchar_t *__cdecl _wcsupr(wchar_t *_String) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 1084 | _CRTIMP wchar_t *_wcsupr_l(wchar_t *_String,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 1007 | _CRTIMP wchar_t *_wcsupr_l(wchar_t *_String,_locale_t _Locale) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 1085 | size_t __cdecl wcsxfrm(wchar_t * __restrict__ _Dst,const wchar_t * __restrict__ _Src,size_t _MaxCount); | 1008 | _CRTIMP size_t __cdecl wcsxfrm(wchar_t * __restrict__ _Dst,const wchar_t * __restrict__ _Src,size_t _MaxCount); |
| 1086 | _CRTIMP size_t __cdecl _wcsxfrm_l(wchar_t * __restrict__ _Dst,const wchar_t * __restrict__ _Src,size_t _MaxCount,_locale_t _Locale); | 1009 | _CRTIMP size_t __cdecl _wcsxfrm_l(wchar_t * __restrict__ _Dst,const wchar_t * __restrict__ _Src,size_t _MaxCount,_locale_t _Locale); |
| 1087 | int __cdecl wcscoll(const wchar_t *_Str1,const wchar_t *_Str2); | 1010 | _CRTIMP int __cdecl wcscoll(const wchar_t *_Str1,const wchar_t *_Str2); |
| 1088 | _CRTIMP int __cdecl _wcscoll_l(const wchar_t *_Str1,const wchar_t *_Str2,_locale_t _Locale); | 1011 | _CRTIMP int __cdecl _wcscoll_l(const wchar_t *_Str1,const wchar_t *_Str2,_locale_t _Locale); |
| 1089 | _CRTIMP int __cdecl _wcsicoll(const wchar_t *_Str1,const wchar_t *_Str2); | 1012 | _CRTIMP int __cdecl _wcsicoll(const wchar_t *_Str1,const wchar_t *_Str2); |
| 1090 | _CRTIMP int __cdecl _wcsicoll_l(const wchar_t *_Str1,const wchar_t *_Str2,_locale_t _Locale); | 1013 | _CRTIMP int __cdecl _wcsicoll_l(const wchar_t *_Str1,const wchar_t *_Str2,_locale_t _Locale); |
| ... | @@ -1147,27 +1070,21 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); | ... | @@ -1147,27 +1070,21 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); |
| 1147 | 1070 | ||
| 1148 | #if !defined (RC_INVOKED) && !defined (_INC_WTIME_INL) | 1071 | #if !defined (RC_INVOKED) && !defined (_INC_WTIME_INL) |
| 1149 | #define _INC_WTIME_INL | 1072 | #define _INC_WTIME_INL |
| 1150 | wchar_t *__cdecl _wctime(const time_t *_Time) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | ||
| 1151 | #ifndef __CRT__NO_INLINE | ||
| 1152 | #ifndef _USE_32BIT_TIME_T | 1073 | #ifndef _USE_32BIT_TIME_T |
| 1153 | __CRT_INLINE wchar_t *__cdecl _wctime(const time_t *_Time) { return _wctime64(_Time); } | 1074 | wchar_t *__cdecl _wctime(const time_t *_Time) __MINGW_ASM_CALL(_wctime64) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 1154 | #else | 1075 | #else |
| 1155 | __CRT_INLINE wchar_t *__cdecl _wctime(const time_t *_Time) { return _wctime32(_Time); } | 1076 | wchar_t *__cdecl _wctime(const time_t *_Time) __MINGW_ASM_CALL(_wctime32) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 1156 | #endif | 1077 | #endif |
| 1157 | #endif /* __CRT__NO_INLINE */ | ||
| 1158 | #endif | 1078 | #endif |
| 1159 | 1079 | ||
| 1160 | #if !defined (RC_INVOKED) && !defined (_INC_WTIME_S_INL) | 1080 | #if !defined (RC_INVOKED) && !defined (_INC_WTIME_S_INL) |
| 1161 | #define _INC_WTIME_S_INL | 1081 | #define _INC_WTIME_S_INL |
| 1162 | errno_t __cdecl _wctime_s(wchar_t *, size_t, const time_t *); | ||
| 1163 | #ifndef __CRT__NO_INLINE | ||
| 1164 | #ifndef _USE_32BIT_TIME_T | 1082 | #ifndef _USE_32BIT_TIME_T |
| 1165 | __CRT_INLINE errno_t __cdecl _wctime_s (wchar_t *_Buffer,size_t _SizeInWords,const time_t *_Time) { return _wctime64_s (_Buffer,_SizeInWords,_Time); } | 1083 | errno_t __cdecl _wctime_s (wchar_t *_Buffer,size_t _SizeInWords,const time_t *_Time) __MINGW_ASM_CALL(_wctime64_s); |
| 1166 | #else | 1084 | #else |
| 1167 | __CRT_INLINE errno_t __cdecl _wctime_s (wchar_t *_Buffer,size_t _SizeInWords,const time_t *_Time) { return _wctime32_s (_Buffer,_SizeInWords,_Time); } | 1085 | errno_t __cdecl _wctime_s (wchar_t *_Buffer,size_t _SizeInWords,const time_t *_Time) __MINGW_ASM_CALL(_wctime32_s); |
| 1168 | #endif /* _USE_32BIT_TIME_T */ | 1086 | #endif |
| 1169 | #endif /* __CRT__NO_INLINE */ | 1087 | #endif |
| 1170 | #endif /* !defined (RC_INVOKED) && !defined (_INC_WTIME_S_INL) */ | ||
| 1171 | 1088 | ||
| 1172 | #endif | 1089 | #endif |
| 1173 | 1090 | ||
| ... | @@ -1182,13 +1099,14 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); | ... | @@ -1182,13 +1099,14 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); |
| 1182 | #endif | 1099 | #endif |
| 1183 | typedef wchar_t _Wint_t; | 1100 | typedef wchar_t _Wint_t; |
| 1184 | 1101 | ||
| 1185 | wint_t __cdecl btowc(int); | 1102 | _CRTIMP wint_t __cdecl btowc(int); |
| 1186 | size_t __cdecl mbrlen(const char * __restrict__ _Ch,size_t _SizeInBytes,mbstate_t * __restrict__ _State); | 1103 | int __cdecl mbsinit(const mbstate_t *ps); |
| 1187 | size_t __cdecl mbrtowc(wchar_t * __restrict__ _DstCh,const char * __restrict__ _SrcCh,size_t _SizeInBytes,mbstate_t * __restrict__ _State); | 1104 | _CRTIMP size_t __cdecl mbrlen(const char * __restrict__ _Ch,size_t _SizeInBytes,mbstate_t * __restrict__ _State); |
| 1188 | size_t __cdecl mbsrtowcs(wchar_t * __restrict__ _Dest,const char ** __restrict__ _PSrc,size_t _Count,mbstate_t * __restrict__ _State) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 1105 | _CRTIMP size_t __cdecl mbrtowc(wchar_t * __restrict__ _DstCh,const char * __restrict__ _SrcCh,size_t _SizeInBytes,mbstate_t * __restrict__ _State); |
| 1189 | size_t __cdecl wcrtomb(char * __restrict__ _Dest,wchar_t _Source,mbstate_t * __restrict__ _State) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 1106 | _CRTIMP size_t __cdecl mbsrtowcs(wchar_t * __restrict__ _Dest,const char ** __restrict__ _PSrc,size_t _Count,mbstate_t * __restrict__ _State) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 1190 | size_t __cdecl wcsrtombs(char * __restrict__ _Dest,const wchar_t ** __restrict__ _PSource,size_t _Count,mbstate_t * __restrict__ _State) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 1107 | _CRTIMP size_t __cdecl wcrtomb(char * __restrict__ _Dest,wchar_t _Source,mbstate_t * __restrict__ _State) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 1191 | int __cdecl wctob(wint_t _WCh); | 1108 | _CRTIMP size_t __cdecl wcsrtombs(char * __restrict__ _Dest,const wchar_t ** __restrict__ _PSource,size_t _Count,mbstate_t * __restrict__ _State) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 1109 | _CRTIMP int __cdecl wctob(wint_t _WCh); | ||
| 1192 | 1110 | ||
| 1193 | #ifndef __NO_ISOCEXT /* these need static lib libmingwex.a */ | 1111 | #ifndef __NO_ISOCEXT /* these need static lib libmingwex.a */ |
| 1194 | wchar_t *__cdecl wmemset(wchar_t *s, wchar_t c, size_t n); | 1112 | wchar_t *__cdecl wmemset(wchar_t *s, wchar_t c, size_t n); |
| ... | @@ -1198,12 +1116,6 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); | ... | @@ -1198,12 +1116,6 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); |
| 1198 | wchar_t * __cdecl wmempcpy (wchar_t *_Dst, const wchar_t *_Src, size_t _Size); | 1116 | wchar_t * __cdecl wmempcpy (wchar_t *_Dst, const wchar_t *_Src, size_t _Size); |
| 1199 | wchar_t *__cdecl wmemmove(wchar_t *s1, const wchar_t *s2, size_t n) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 1117 | wchar_t *__cdecl wmemmove(wchar_t *s1, const wchar_t *s2, size_t n) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 1200 | int __cdecl fwide(FILE *stream,int mode); | 1118 | int __cdecl fwide(FILE *stream,int mode); |
| 1201 | #if defined(_UCRT) || defined(__LARGE_MBSTATE_T) | ||
| 1202 | /* With UCRT, mbsinit is only available as inline. */ | ||
| 1203 | __mingw_ovr int __cdecl mbsinit(const mbstate_t *_P) { return (!_P || _P->_Wchar == 0); } | ||
| 1204 | #else | ||
| 1205 | int __cdecl mbsinit(const mbstate_t *ps); | ||
| 1206 | #endif | ||
| 1207 | __MINGW_EXTENSION long long __cdecl wcstoll(const wchar_t * __restrict__ nptr,wchar_t ** __restrict__ endptr, int base); | 1119 | __MINGW_EXTENSION long long __cdecl wcstoll(const wchar_t * __restrict__ nptr,wchar_t ** __restrict__ endptr, int base); |
| 1208 | __MINGW_EXTENSION unsigned long long __cdecl wcstoull(const wchar_t * __restrict__ nptr,wchar_t ** __restrict__ endptr, int base); | 1120 | __MINGW_EXTENSION unsigned long long __cdecl wcstoull(const wchar_t * __restrict__ nptr,wchar_t ** __restrict__ endptr, int base); |
| 1209 | #endif /* __NO_ISOCEXT */ | 1121 | #endif /* __NO_ISOCEXT */ |
| ... | @@ -1212,9 +1124,6 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); | ... | @@ -1212,9 +1124,6 @@ __MINGW_ASM_CALL(__mingw_vsnwprintf); |
| 1212 | void *__cdecl memcpy(void * __restrict__ _Dst,const void * __restrict__ _Src,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; | 1124 | void *__cdecl memcpy(void * __restrict__ _Dst,const void * __restrict__ _Src,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; |
| 1213 | #ifndef __CRT__NO_INLINE | 1125 | #ifndef __CRT__NO_INLINE |
| 1214 | __CRT_INLINE int __cdecl fwide(FILE *_F,int _M) { (void)_F; return (_M); } | 1126 | __CRT_INLINE int __cdecl fwide(FILE *_F,int _M) { (void)_F; return (_M); } |
| 1215 | #if !defined(_UCRT) && !defined(__LARGE_MBSTATE_T) | ||
| 1216 | __CRT_INLINE int __cdecl mbsinit(const mbstate_t *_P) { return (!_P || *_P==0); } | ||
| 1217 | #endif | ||
| 1218 | __CRT_INLINE _CONST_RETURN wchar_t *__cdecl wmemchr(const wchar_t *_S,wchar_t _C,size_t _N) { | 1127 | __CRT_INLINE _CONST_RETURN wchar_t *__cdecl wmemchr(const wchar_t *_S,wchar_t _C,size_t _N) { |
| 1219 | if (_S) { | 1128 | if (_S) { |
| 1220 | for ( ; 0 < _N; ++_S, --_N) | 1129 | for ( ; 0 < _N; ++_S, --_N) |
lib/libc/include/any-windows-any/wctype.h+3-3| ... | @@ -13,9 +13,9 @@ extern "C" { | ... | @@ -13,9 +13,9 @@ extern "C" { |
| 13 | #endif | 13 | #endif |
| 14 | 14 | ||
| 15 | typedef wchar_t wctrans_t; | 15 | typedef wchar_t wctrans_t; |
| 16 | wint_t __cdecl towctrans(wint_t,wctrans_t); | 16 | _CRTIMP wint_t __cdecl towctrans(wint_t,wctrans_t); |
| 17 | wctrans_t __cdecl wctrans(const char *); | 17 | _CRTIMP wctrans_t __cdecl wctrans(const char *); |
| 18 | wctype_t __cdecl wctype(const char *); | 18 | _CRTIMP wctype_t __cdecl wctype(const char *); |
| 19 | 19 | ||
| 20 | #ifdef __cplusplus | 20 | #ifdef __cplusplus |
| 21 | } | 21 | } |
lib/libc/include/any-windows-any/wdstptmgmt.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/wdstptmgmt.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/weakreference.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/webservices.h+7-7| ... | @@ -406,8 +406,8 @@ typedef struct _WS_INT32_DESCRIPTION { | ... | @@ -406,8 +406,8 @@ typedef struct _WS_INT32_DESCRIPTION { |
| 406 | } WS_INT32_DESCRIPTION; | 406 | } WS_INT32_DESCRIPTION; |
| 407 | 407 | ||
| 408 | typedef struct _WS_INT64_DESCRIPTION { | 408 | typedef struct _WS_INT64_DESCRIPTION { |
| 409 | __int64 DECLSPEC_ALIGN(8) minValue; | 409 | INT64 minValue; |
| 410 | __int64 DECLSPEC_ALIGN(8) maxValue; | 410 | INT64 maxValue; |
| 411 | } WS_INT64_DESCRIPTION; | 411 | } WS_INT64_DESCRIPTION; |
| 412 | 412 | ||
| 413 | typedef struct _WS_UINT8_DESCRIPTION { | 413 | typedef struct _WS_UINT8_DESCRIPTION { |
| ... | @@ -426,8 +426,8 @@ typedef struct _WS_UINT32_DESCRIPTION { | ... | @@ -426,8 +426,8 @@ typedef struct _WS_UINT32_DESCRIPTION { |
| 426 | } WS_UINT32_DESCRIPTION; | 426 | } WS_UINT32_DESCRIPTION; |
| 427 | 427 | ||
| 428 | typedef struct _WS_UINT64_DESCRIPTION { | 428 | typedef struct _WS_UINT64_DESCRIPTION { |
| 429 | unsigned __int64 DECLSPEC_ALIGN(8) minValue; | 429 | UINT64 minValue; |
| 430 | unsigned __int64 DECLSPEC_ALIGN(8) maxValue; | 430 | UINT64 maxValue; |
| 431 | } WS_UINT64_DESCRIPTION; | 431 | } WS_UINT64_DESCRIPTION; |
| 432 | 432 | ||
| 433 | typedef struct _WS_WSZ_DESCRIPTION { | 433 | typedef struct _WS_WSZ_DESCRIPTION { |
| ... | @@ -673,12 +673,12 @@ typedef struct _WS_XML_INT32_TEXT { | ... | @@ -673,12 +673,12 @@ typedef struct _WS_XML_INT32_TEXT { |
| 673 | 673 | ||
| 674 | typedef struct _WS_XML_INT64_TEXT { | 674 | typedef struct _WS_XML_INT64_TEXT { |
| 675 | WS_XML_TEXT text; | 675 | WS_XML_TEXT text; |
| 676 | __int64 DECLSPEC_ALIGN(8) value; | 676 | INT64 value; |
| 677 | } WS_XML_INT64_TEXT; | 677 | } WS_XML_INT64_TEXT; |
| 678 | 678 | ||
| 679 | typedef struct _WS_XML_UINT64_TEXT { | 679 | typedef struct _WS_XML_UINT64_TEXT { |
| 680 | WS_XML_TEXT text; | 680 | WS_XML_TEXT text; |
| 681 | unsigned __int64 DECLSPEC_ALIGN(8) value; | 681 | UINT64 value; |
| 682 | } WS_XML_UINT64_TEXT; | 682 | } WS_XML_UINT64_TEXT; |
| 683 | 683 | ||
| 684 | typedef struct _WS_XML_FLOAT_TEXT { | 684 | typedef struct _WS_XML_FLOAT_TEXT { |
| ... | @@ -1232,7 +1232,7 @@ typedef enum { | ... | @@ -1232,7 +1232,7 @@ typedef enum { |
| 1232 | } WS_DATETIME_FORMAT; | 1232 | } WS_DATETIME_FORMAT; |
| 1233 | 1233 | ||
| 1234 | struct _WS_DATETIME { | 1234 | struct _WS_DATETIME { |
| 1235 | unsigned __int64 DECLSPEC_ALIGN(8) ticks; | 1235 | UINT64 ticks; |
| 1236 | WS_DATETIME_FORMAT format; | 1236 | WS_DATETIME_FORMAT format; |
| 1237 | }; | 1237 | }; |
| 1238 | 1238 |
lib/libc/include/any-windows-any/wia_lh.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/wia_lh.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/wia_xp.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/winapifamily.h+34-9| ... | @@ -6,19 +6,44 @@ | ... | @@ -6,19 +6,44 @@ |
| 6 | #ifndef _INC_WINAPIFAMILY | 6 | #ifndef _INC_WINAPIFAMILY |
| 7 | #define _INC_WINAPIFAMILY | 7 | #define _INC_WINAPIFAMILY |
| 8 | 8 | ||
| 9 | #define WINAPI_PARTITION_DESKTOP 0x1 | 9 | #define WINAPI_FAMILY_PC_APP 2 |
| 10 | #define WINAPI_PARTITION_APP 0x2 | 10 | #define WINAPI_FAMILY_PHONE_APP 3 |
| 11 | #define WINAPI_FAMILY_SYSTEM 4 | ||
| 12 | #define WINAPI_FAMILY_SERVER 5 | ||
| 13 | #define WINAPI_FAMILY_DESKTOP_APP 100 | ||
| 11 | 14 | ||
| 12 | #define WINAPI_FAMILY_APP WINAPI_PARTITION_APP | 15 | #define WINAPI_FAMILY_APP WINAPI_FAMILY_PC_APP |
| 13 | #define WINAPI_FAMILY_DESKTOP_APP (WINAPI_PARTITION_DESKTOP \ | ||
| 14 | 				 | WINAPI_PARTITION_APP) | ||
| 15 | 16 | ||
| 16 | /* WINAPI_FAMILY can be either desktop + App, or App. */ | ||
| 17 | #ifndef WINAPI_FAMILY | 17 | #ifndef WINAPI_FAMILY |
| 18 | #define WINAPI_FAMILY WINAPI_FAMILY_DESKTOP_APP | 18 | #define WINAPI_FAMILY WINAPI_FAMILY_DESKTOP_APP |
| 19 | #endif | 19 | #endif |
| 20 | 20 | ||
| 21 | #define WINAPI_FAMILY_PARTITION(v) ((WINAPI_FAMILY & v) == v) | 21 | #ifndef WINAPI_PARTITION_DESKTOP |
| 22 | #define WINAPI_FAMILY_ONE_PARTITION(vset, v) ((WINAPI_FAMILY & vset) == v) | 22 | #define WINAPI_PARTITION_DESKTOP (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP) |
| 23 | #endif | ||
| 24 | |||
| 25 | #ifndef WINAPI_PARTITION_APP | ||
| 26 | #define WINAPI_PARTITION_APP (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP || \ | ||
| 27 | WINAPI_FAMILY == WINAPI_FAMILY_PC_APP || \ | ||
| 28 | WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP) | ||
| 29 | #endif | ||
| 30 | |||
| 31 | #ifndef WINAPI_PARTITION_PC_APP | ||
| 32 | #define WINAPI_PARTITION_PC_APP (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP || \ | ||
| 33 | WINAPI_FAMILY == WINAPI_FAMILY_PC_APP) | ||
| 34 | #endif | ||
| 35 | |||
| 36 | #ifndef WINAPI_PARTITION_PHONE_APP | ||
| 37 | #define WINAPI_PARTITION_PHONE_APP (WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP) | ||
| 38 | #endif | ||
| 39 | |||
| 40 | #ifndef WINAPI_PARTITION_SYSTEM | ||
| 41 | #define WINAPI_PARTITION_SYSTEM (WINAPI_FAMILY == WINAPI_FAMILY_SYSTEM || \ | ||
| 42 | WINAPI_FAMILY == WINAPI_FAMILY_SERVER) | ||
| 43 | #endif | ||
| 44 | |||
| 45 | #define WINAPI_PARTITION_PHONE WINAPI_PARTITION_PHONE_APP | ||
| 46 | |||
| 47 | #define WINAPI_FAMILY_PARTITION(x) x | ||
| 23 | 48 | ||
| 24 | #endif | 49 | #endif /* _INC_WINAPIFAMILY */ |
lib/libc/include/any-windows-any/wincodec.h+1-88| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/wincodec.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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__ |
| ... | @@ -274,14 +274,6 @@ interface IWICDdsFrameDecode; | ... | @@ -274,14 +274,6 @@ interface IWICDdsFrameDecode; |
| 274 | #endif /* __cplusplus */ | 274 | #endif /* __cplusplus */ |
| 275 | #endif | 275 | #endif |
| 276 | 276 | ||
| 277 | #ifndef __IWICWineDecoder_FWD_DEFINED__ | ||
| 278 | #define __IWICWineDecoder_FWD_DEFINED__ | ||
| 279 | typedef interface IWICWineDecoder IWICWineDecoder; | ||
| 280 | #ifdef __cplusplus | ||
| 281 | interface IWICWineDecoder; | ||
| 282 | #endif /* __cplusplus */ | ||
| 283 | #endif | ||
| 284 | |||
| 285 | /* Headers for imported files */ | 277 | /* Headers for imported files */ |
| 286 | 278 | ||
| 287 | #include <wtypes.h> | 279 | #include <wtypes.h> |
| ... | @@ -6207,85 +6199,6 @@ static inline HRESULT IWICDdsFrameDecode_CopyBlocks(IWICDdsFrameDecode* This,con | ... | @@ -6207,85 +6199,6 @@ static inline HRESULT IWICDdsFrameDecode_CopyBlocks(IWICDdsFrameDecode* This,con |
| 6207 | 6199 | ||
| 6208 | #endif /* __IWICDdsFrameDecode_INTERFACE_DEFINED__ */ | 6200 | #endif /* __IWICDdsFrameDecode_INTERFACE_DEFINED__ */ |
| 6209 | 6201 | ||
| 6210 | /***************************************************************************** | ||
| 6211 | * IWICWineDecoder interface | ||
| 6212 | */ | ||
| 6213 | #ifndef __IWICWineDecoder_INTERFACE_DEFINED__ | ||
| 6214 | #define __IWICWineDecoder_INTERFACE_DEFINED__ | ||
| 6215 | |||
| 6216 | DEFINE_GUID(IID_IWICWineDecoder, 0xb9bd430d, 0x28a8, 0x41d3, 0xa1,0xf5, 0xf3,0x6e,0xe0,0x28,0x40,0xbf); | ||
| 6217 | #if defined(__cplusplus) && !defined(CINTERFACE) | ||
| 6218 | MIDL_INTERFACE("b9bd430d-28a8-41d3-a1f5-f36ee02840bf") | ||
| 6219 | IWICWineDecoder : public IUnknown | ||
| 6220 | { | ||
| 6221 | virtual HRESULT STDMETHODCALLTYPE Initialize( | ||
| 6222 | IStream *stream, | ||
| 6223 | WICDecodeOptions options) = 0; | ||
| 6224 | |||
| 6225 | }; | ||
| 6226 | #ifdef __CRT_UUID_DECL | ||
| 6227 | __CRT_UUID_DECL(IWICWineDecoder, 0xb9bd430d, 0x28a8, 0x41d3, 0xa1,0xf5, 0xf3,0x6e,0xe0,0x28,0x40,0xbf) | ||
| 6228 | #endif | ||
| 6229 | #else | ||
| 6230 | typedef struct IWICWineDecoderVtbl { | ||
| 6231 | BEGIN_INTERFACE | ||
| 6232 | |||
| 6233 | /*** IUnknown methods ***/ | ||
| 6234 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( | ||
| 6235 | IWICWineDecoder *This, | ||
| 6236 | REFIID riid, | ||
| 6237 | void **ppvObject); | ||
| 6238 | |||
| 6239 | ULONG (STDMETHODCALLTYPE *AddRef)( | ||
| 6240 | IWICWineDecoder *This); | ||
| 6241 | |||
| 6242 | ULONG (STDMETHODCALLTYPE *Release)( | ||
| 6243 | IWICWineDecoder *This); | ||
| 6244 | |||
| 6245 | /*** IWICWineDecoder methods ***/ | ||
| 6246 | HRESULT (STDMETHODCALLTYPE *Initialize)( | ||
| 6247 | IWICWineDecoder *This, | ||
| 6248 | IStream *stream, | ||
| 6249 | WICDecodeOptions options); | ||
| 6250 | |||
| 6251 | END_INTERFACE | ||
| 6252 | } IWICWineDecoderVtbl; | ||
| 6253 | |||
| 6254 | interface IWICWineDecoder { | ||
| 6255 | CONST_VTBL IWICWineDecoderVtbl* lpVtbl; | ||
| 6256 | }; | ||
| 6257 | |||
| 6258 | #ifdef COBJMACROS | ||
| 6259 | #ifndef WIDL_C_INLINE_WRAPPERS | ||
| 6260 | /*** IUnknown methods ***/ | ||
| 6261 | #define IWICWineDecoder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | ||
| 6262 | #define IWICWineDecoder_AddRef(This) (This)->lpVtbl->AddRef(This) | ||
| 6263 | #define IWICWineDecoder_Release(This) (This)->lpVtbl->Release(This) | ||
| 6264 | /*** IWICWineDecoder methods ***/ | ||
| 6265 | #define IWICWineDecoder_Initialize(This,stream,options) (This)->lpVtbl->Initialize(This,stream,options) | ||
| 6266 | #else | ||
| 6267 | /*** IUnknown methods ***/ | ||
| 6268 | static inline HRESULT IWICWineDecoder_QueryInterface(IWICWineDecoder* This,REFIID riid,void **ppvObject) { | ||
| 6269 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); | ||
| 6270 | } | ||
| 6271 | static inline ULONG IWICWineDecoder_AddRef(IWICWineDecoder* This) { | ||
| 6272 | return This->lpVtbl->AddRef(This); | ||
| 6273 | } | ||
| 6274 | static inline ULONG IWICWineDecoder_Release(IWICWineDecoder* This) { | ||
| 6275 | return This->lpVtbl->Release(This); | ||
| 6276 | } | ||
| 6277 | /*** IWICWineDecoder methods ***/ | ||
| 6278 | static inline HRESULT IWICWineDecoder_Initialize(IWICWineDecoder* This,IStream *stream,WICDecodeOptions options) { | ||
| 6279 | return This->lpVtbl->Initialize(This,stream,options); | ||
| 6280 | } | ||
| 6281 | #endif | ||
| 6282 | #endif | ||
| 6283 | |||
| 6284 | #endif | ||
| 6285 | |||
| 6286 | |||
| 6287 | #endif /* __IWICWineDecoder_INTERFACE_DEFINED__ */ | ||
| 6288 | |||
| 6289 | HRESULT WINAPI WICConvertBitmapSource(REFWICPixelFormatGUID dstFormat, IWICBitmapSource *pISrc, IWICBitmapSource **ppIDst); | 6202 | HRESULT WINAPI WICConvertBitmapSource(REFWICPixelFormatGUID dstFormat, IWICBitmapSource *pISrc, IWICBitmapSource **ppIDst); |
| 6290 | HRESULT WINAPI WICCreateBitmapFromSection(UINT width, UINT height, REFWICPixelFormatGUID format, HANDLE section, UINT stride, UINT offset, IWICBitmap **bitmap); | 6203 | HRESULT WINAPI WICCreateBitmapFromSection(UINT width, UINT height, REFWICPixelFormatGUID format, HANDLE section, UINT stride, UINT offset, IWICBitmap **bitmap); |
| 6291 | HRESULT WINAPI WICCreateBitmapFromSectionEx(UINT width, UINT height, REFWICPixelFormatGUID format, HANDLE section, UINT stride, UINT offset, WICSectionAccessLevel access, IWICBitmap **bitmap); | 6204 | HRESULT WINAPI WICCreateBitmapFromSectionEx(UINT width, UINT height, REFWICPixelFormatGUID format, HANDLE section, UINT stride, UINT offset, WICSectionAccessLevel access, IWICBitmap **bitmap); |
lib/libc/include/any-windows-any/wincodecsdk.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/wincodecsdk.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/winerror.h+9| ... | @@ -4919,6 +4919,15 @@ __CRT_INLINE HRESULT HRESULT_FROM_WIN32(__LONG32 x) { return x <= 0 ? (HRESULT)x | ... | @@ -4919,6 +4919,15 @@ __CRT_INLINE HRESULT HRESULT_FROM_WIN32(__LONG32 x) { return x <= 0 ? (HRESULT)x |
| 4919 | #define DWRITE_E_DOWNLOADFAILED _HRESULT_TYPEDEF_(0x8898500FL) | 4919 | #define DWRITE_E_DOWNLOADFAILED _HRESULT_TYPEDEF_(0x8898500FL) |
| 4920 | #define DWRITE_E_TOOMANYDOWNLOADS _HRESULT_TYPEDEF_(0x88985010L) | 4920 | #define DWRITE_E_TOOMANYDOWNLOADS _HRESULT_TYPEDEF_(0x88985010L) |
| 4921 | 4921 | ||
| 4922 | #define IORING_E_REQUIRED_FLAG_NOT_SUPPORTED _HRESULT_TYPEDEF_(0x80460001) | ||
| 4923 | #define IORING_E_SUBMISSION_QUEUE_FULL _HRESULT_TYPEDEF_(0x80460002) | ||
| 4924 | #define IORING_E_VERSION_NOT_SUPPORTED _HRESULT_TYPEDEF_(0x80460003) | ||
| 4925 | #define IORING_E_SUBMISSION_QUEUE_TOO_BIG _HRESULT_TYPEDEF_(0x80460004) | ||
| 4926 | #define IORING_E_COMPLETION_QUEUE_TOO_BIG _HRESULT_TYPEDEF_(0x80460005) | ||
| 4927 | #define IORING_E_SUBMIT_IN_PROGRESS _HRESULT_TYPEDEF_(0x80460006) | ||
| 4928 | #define IORING_E_CORRUPT _HRESULT_TYPEDEF_(0x80460007) | ||
| 4929 | #define IORING_E_COMPLETION_QUEUE_TOO_FULL _HRESULT_TYPEDEF_(0x80460008) | ||
| 4930 | |||
| 4922 | #include <fltwinerror.h> | 4931 | #include <fltwinerror.h> |
| 4923 | 4932 | ||
| 4924 | #undef __IN__WINERROR_ | 4933 | #undef __IN__WINERROR_ |
lib/libc/include/any-windows-any/winhttp.h+19-3| ... | @@ -55,7 +55,8 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME; | ... | @@ -55,7 +55,8 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME; |
| 55 | #define ICU_REJECT_USERPWD 0x00004000 | 55 | #define ICU_REJECT_USERPWD 0x00004000 |
| 56 | 56 | ||
| 57 | /* flags for WinHttpOpen */ | 57 | /* flags for WinHttpOpen */ |
| 58 | #define WINHTTP_FLAG_ASYNC 0x10000000 | 58 | #define WINHTTP_FLAG_ASYNC 0x10000000 |
| 59 | #define WINHTTP_FLAG_SECURE_DEFAULTS 0x30000000 | ||
| 59 | 60 | ||
| 60 | /* flags for WinHttpOpenRequest */ | 61 | /* flags for WinHttpOpenRequest */ |
| 61 | #define WINHTTP_FLAG_ESCAPE_PERCENT 0x00000004 | 62 | #define WINHTTP_FLAG_ESCAPE_PERCENT 0x00000004 |
| ... | @@ -64,6 +65,7 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME; | ... | @@ -64,6 +65,7 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME; |
| 64 | #define WINHTTP_FLAG_ESCAPE_DISABLE_QUERY 0x00000080 | 65 | #define WINHTTP_FLAG_ESCAPE_DISABLE_QUERY 0x00000080 |
| 65 | #define WINHTTP_FLAG_BYPASS_PROXY_CACHE 0x00000100 | 66 | #define WINHTTP_FLAG_BYPASS_PROXY_CACHE 0x00000100 |
| 66 | #define WINHTTP_FLAG_REFRESH WINHTTP_FLAG_BYPASS_PROXY_CACHE | 67 | #define WINHTTP_FLAG_REFRESH WINHTTP_FLAG_BYPASS_PROXY_CACHE |
| 68 | #define WINHTTP_FLAG_AUTOMATIC_CHUNKING 0x00000200 | ||
| 67 | #define WINHTTP_FLAG_SECURE 0x00800000 | 69 | #define WINHTTP_FLAG_SECURE 0x00800000 |
| 68 | 70 | ||
| 69 | #define WINHTTP_ACCESS_TYPE_DEFAULT_PROXY 0 | 71 | #define WINHTTP_ACCESS_TYPE_DEFAULT_PROXY 0 |
| ... | @@ -168,6 +170,7 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME; | ... | @@ -168,6 +170,7 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME; |
| 168 | #define WINHTTP_OPTION_ENABLE_HTTP_PROTOCOL 133 | 170 | #define WINHTTP_OPTION_ENABLE_HTTP_PROTOCOL 133 |
| 169 | #define WINHTTP_OPTION_HTTP_PROTOCOL_USED 134 | 171 | #define WINHTTP_OPTION_HTTP_PROTOCOL_USED 134 |
| 170 | #define WINHTTP_OPTION_KDC_PROXY_SETTINGS 136 | 172 | #define WINHTTP_OPTION_KDC_PROXY_SETTINGS 136 |
| 173 | #define WINHTTP_OPTION_PROXY_DISABLE_SERVICE_CALLS 137 | ||
| 171 | #define WINHTTP_OPTION_ENCODE_EXTRA 138 | 174 | #define WINHTTP_OPTION_ENCODE_EXTRA 138 |
| 172 | #define WINHTTP_OPTION_DISABLE_STREAM_QUEUE 139 | 175 | #define WINHTTP_OPTION_DISABLE_STREAM_QUEUE 139 |
| 173 | #define WINHTTP_OPTION_IPV6_FAST_FALLBACK 140 | 176 | #define WINHTTP_OPTION_IPV6_FAST_FALLBACK 140 |
| ... | @@ -330,7 +333,11 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME; | ... | @@ -330,7 +333,11 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME; |
| 330 | #define ERROR_WINHTTP_SECURE_FAILURE_PROXY (WINHTTP_ERROR_BASE + 188) | 333 | #define ERROR_WINHTTP_SECURE_FAILURE_PROXY (WINHTTP_ERROR_BASE + 188) |
| 331 | #define ERROR_WINHTTP_RESERVED_189 (WINHTTP_ERROR_BASE + 189) | 334 | #define ERROR_WINHTTP_RESERVED_189 (WINHTTP_ERROR_BASE + 189) |
| 332 | #define ERROR_WINHTTP_HTTP_PROTOCOL_MISMATCH (WINHTTP_ERROR_BASE + 190) | 335 | #define ERROR_WINHTTP_HTTP_PROTOCOL_MISMATCH (WINHTTP_ERROR_BASE + 190) |
| 333 | #define WINHTTP_ERROR_LAST (WINHTTP_ERROR_BASE + 188) | 336 | #define ERROR_WINHTTP_GLOBAL_CALLBACK_FAILED (WINHTTP_ERROR_BASE + 191) |
| 337 | #define ERROR_WINHTTP_FEATURE_DISABLED (WINHTTP_ERROR_BASE + 192) | ||
| 338 | #define ERROR_WINHTTP_FAST_FORWARDING_NOT_SUPPORTED (WINHTTP_ERROR_BASE + 193) | ||
| 339 | |||
| 340 | #define WINHTTP_ERROR_LAST (WINHTTP_ERROR_BASE + 193) | ||
| 334 | 341 | ||
| 335 | #define WINHTTP_RESET_STATE 0x00000001 | 342 | #define WINHTTP_RESET_STATE 0x00000001 |
| 336 | #define WINHTTP_RESET_SWPAD_CURRENT_NETWORK 0x00000002 | 343 | #define WINHTTP_RESET_SWPAD_CURRENT_NETWORK 0x00000002 |
| ... | @@ -511,8 +518,10 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME; | ... | @@ -511,8 +518,10 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME; |
| 511 | #define WINHTTP_CALLBACK_STATUS_GETPROXYFORURL_COMPLETE 0x01000000 | 518 | #define WINHTTP_CALLBACK_STATUS_GETPROXYFORURL_COMPLETE 0x01000000 |
| 512 | #define WINHTTP_CALLBACK_STATUS_CLOSE_COMPLETE 0x02000000 | 519 | #define WINHTTP_CALLBACK_STATUS_CLOSE_COMPLETE 0x02000000 |
| 513 | #define WINHTTP_CALLBACK_STATUS_SHUTDOWN_COMPLETE 0x04000000 | 520 | #define WINHTTP_CALLBACK_STATUS_SHUTDOWN_COMPLETE 0x04000000 |
| 521 | #define WINHTTP_CALLBACK_STATUS_GETPROXYSETTINGS_COMPLETE 0x08000000 | ||
| 514 | #define WINHTTP_CALLBACK_STATUS_SETTINGS_WRITE_COMPLETE 0x10000000 | 522 | #define WINHTTP_CALLBACK_STATUS_SETTINGS_WRITE_COMPLETE 0x10000000 |
| 515 | #define WINHTTP_CALLBACK_STATUS_SETTINGS_READ_COMPLETE 0x20000000 | 523 | #define WINHTTP_CALLBACK_STATUS_SETTINGS_READ_COMPLETE 0x20000000 |
| 524 | |||
| 516 | #define WINHTTP_CALLBACK_FLAG_RESOLVE_NAME (WINHTTP_CALLBACK_STATUS_RESOLVING_NAME | WINHTTP_CALLBACK_STATUS_NAME_RESOLVED) | 525 | #define WINHTTP_CALLBACK_FLAG_RESOLVE_NAME (WINHTTP_CALLBACK_STATUS_RESOLVING_NAME | WINHTTP_CALLBACK_STATUS_NAME_RESOLVED) |
| 517 | #define WINHTTP_CALLBACK_FLAG_CONNECT_TO_SERVER (WINHTTP_CALLBACK_STATUS_CONNECTING_TO_SERVER | WINHTTP_CALLBACK_STATUS_CONNECTED_TO_SERVER) | 526 | #define WINHTTP_CALLBACK_FLAG_CONNECT_TO_SERVER (WINHTTP_CALLBACK_STATUS_CONNECTING_TO_SERVER | WINHTTP_CALLBACK_STATUS_CONNECTED_TO_SERVER) |
| 518 | #define WINHTTP_CALLBACK_FLAG_SEND_REQUEST (WINHTTP_CALLBACK_STATUS_SENDING_REQUEST | WINHTTP_CALLBACK_STATUS_REQUEST_SENT) | 527 | #define WINHTTP_CALLBACK_FLAG_SEND_REQUEST (WINHTTP_CALLBACK_STATUS_SENDING_REQUEST | WINHTTP_CALLBACK_STATUS_REQUEST_SENT) |
| ... | @@ -530,10 +539,14 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME; | ... | @@ -530,10 +539,14 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME; |
| 530 | #define WINHTTP_CALLBACK_FLAG_WRITE_COMPLETE WINHTTP_CALLBACK_STATUS_WRITE_COMPLETE | 539 | #define WINHTTP_CALLBACK_FLAG_WRITE_COMPLETE WINHTTP_CALLBACK_STATUS_WRITE_COMPLETE |
| 531 | #define WINHTTP_CALLBACK_FLAG_REQUEST_ERROR WINHTTP_CALLBACK_STATUS_REQUEST_ERROR | 540 | #define WINHTTP_CALLBACK_FLAG_REQUEST_ERROR WINHTTP_CALLBACK_STATUS_REQUEST_ERROR |
| 532 | #define WINHTTP_CALLBACK_FLAG_GETPROXYFORURL_COMPLETE WINHTTP_CALLBACK_STATUS_GETPROXYFORURL_COMPLETE | 541 | #define WINHTTP_CALLBACK_FLAG_GETPROXYFORURL_COMPLETE WINHTTP_CALLBACK_STATUS_GETPROXYFORURL_COMPLETE |
| 542 | #define WINHTTP_CALLBACK_FLAG_GETPROXYSETTINGS_COMPLETE WINHTTP_CALLBACK_STATUS_GETPROXYSETTINGS_COMPLETE | ||
| 543 | |||
| 533 | #define WINHTTP_CALLBACK_FLAG_ALL_COMPLETIONS (WINHTTP_CALLBACK_STATUS_SENDREQUEST_COMPLETE | WINHTTP_CALLBACK_STATUS_HEADERS_AVAILABLE \ | 544 | #define WINHTTP_CALLBACK_FLAG_ALL_COMPLETIONS (WINHTTP_CALLBACK_STATUS_SENDREQUEST_COMPLETE | WINHTTP_CALLBACK_STATUS_HEADERS_AVAILABLE \ |
| 534 | | WINHTTP_CALLBACK_STATUS_DATA_AVAILABLE | WINHTTP_CALLBACK_STATUS_READ_COMPLETE \ | 545 | | WINHTTP_CALLBACK_STATUS_DATA_AVAILABLE | WINHTTP_CALLBACK_STATUS_READ_COMPLETE \ |
| 535 | | WINHTTP_CALLBACK_STATUS_WRITE_COMPLETE | WINHTTP_CALLBACK_STATUS_REQUEST_ERROR \ | 546 | | WINHTTP_CALLBACK_STATUS_WRITE_COMPLETE | WINHTTP_CALLBACK_STATUS_REQUEST_ERROR \ |
| 536 | | WINHTTP_CALLBACK_STATUS_GETPROXYFORURL_COMPLETE) | 547 | | WINHTTP_CALLBACK_STATUS_GETPROXYFORURL_COMPLETE \ |
| 548 | | WINHTTP_CALLBACK_STATUS_GETPROXYSETTINGS_COMPLETE) | ||
| 549 | |||
| 537 | #define WINHTTP_CALLBACK_FLAG_ALL_NOTIFICATIONS 0xffffffff | 550 | #define WINHTTP_CALLBACK_FLAG_ALL_NOTIFICATIONS 0xffffffff |
| 538 | #define WINHTTP_INVALID_STATUS_CALLBACK ((WINHTTP_STATUS_CALLBACK)(-1)) | 551 | #define WINHTTP_INVALID_STATUS_CALLBACK ((WINHTTP_STATUS_CALLBACK)(-1)) |
| 539 | 552 | ||
| ... | @@ -547,6 +560,9 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME; | ... | @@ -547,6 +560,9 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME; |
| 547 | #define WINHTTP_HANDLE_TYPE_SESSION 1 | 560 | #define WINHTTP_HANDLE_TYPE_SESSION 1 |
| 548 | #define WINHTTP_HANDLE_TYPE_CONNECT 2 | 561 | #define WINHTTP_HANDLE_TYPE_CONNECT 2 |
| 549 | #define WINHTTP_HANDLE_TYPE_REQUEST 3 | 562 | #define WINHTTP_HANDLE_TYPE_REQUEST 3 |
| 563 | #define WINHTTP_HANDLE_TYPE_PROXY_RESOLVER 4 | ||
| 564 | #define WINHTTP_HANDLE_TYPE_WEBSOCKET 5 | ||
| 565 | #define WINHTTP_HANDLE_TYPE_PROTOCOL 6 | ||
| 550 | 566 | ||
| 551 | #define WINHTTP_CALLBACK_STATUS_FLAG_CERT_REV_FAILED 0x00000001 | 567 | #define WINHTTP_CALLBACK_STATUS_FLAG_CERT_REV_FAILED 0x00000001 |
| 552 | #define WINHTTP_CALLBACK_STATUS_FLAG_INVALID_CERT 0x00000002 | 568 | #define WINHTTP_CALLBACK_STATUS_FLAG_INVALID_CERT 0x00000002 |
lib/libc/include/any-windows-any/winioctl.h+16| ... | @@ -3108,6 +3108,22 @@ typedef struct _CSV_NAMESPACE_INFO { | ... | @@ -3108,6 +3108,22 @@ typedef struct _CSV_NAMESPACE_INFO { |
| 3108 | #define FSCTL_GET_REFS_VOLUME_DATA CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 182, METHOD_BUFFERED, FILE_ANY_ACCESS) | 3108 | #define FSCTL_GET_REFS_VOLUME_DATA CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 182, METHOD_BUFFERED, FILE_ANY_ACCESS) |
| 3109 | #define FSCTL_CSV_H_BREAKING_SYNC_TUNNEL_REQUEST CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 185, METHOD_BUFFERED, FILE_ANY_ACCESS) | 3109 | #define FSCTL_CSV_H_BREAKING_SYNC_TUNNEL_REQUEST CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 185, METHOD_BUFFERED, FILE_ANY_ACCESS) |
| 3110 | #define FSCTL_SHUFFLE_FILE CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 208, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) | 3110 | #define FSCTL_SHUFFLE_FILE CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 208, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) |
| 3111 | |||
| 3112 | typedef struct _FILE_LEVEL_TRIM_RANGE { | ||
| 3113 | DWORDLONG Offset; | ||
| 3114 | DWORDLONG Length; | ||
| 3115 | } FILE_LEVEL_TRIM_RANGE, *PFILE_LEVEL_TRIM_RANGE; | ||
| 3116 | |||
| 3117 | typedef struct _FILE_LEVEL_TRIM { | ||
| 3118 | DWORD Key; | ||
| 3119 | DWORD NumRanges; | ||
| 3120 | FILE_LEVEL_TRIM_RANGE Ranges[1]; | ||
| 3121 | } FILE_LEVEL_TRIM, *PFILE_LEVEL_TRIM; | ||
| 3122 | |||
| 3123 | typedef struct _FILE_LEVEL_TRIM_OUTPUT { | ||
| 3124 | DWORD NumRangesProcessed; | ||
| 3125 | } FILE_LEVEL_TRIM_OUTPUT, *PFILE_LEVEL_TRIM_OUTPUT; | ||
| 3126 | |||
| 3111 | #endif /*_WIN32_WINNT >= _WIN32_WINNT_WIN8 */ | 3127 | #endif /*_WIN32_WINNT >= _WIN32_WINNT_WIN8 */ |
| 3112 | 3128 | ||
| 3113 | #if (_WIN32_WINNT >= _WIN32_WINNT_WINBLUE) | 3129 | #if (_WIN32_WINNT >= _WIN32_WINNT_WINBLUE) |
lib/libc/include/any-windows-any/winnt.h+47-5| ... | @@ -268,6 +268,14 @@ extern "C" { | ... | @@ -268,6 +268,14 @@ extern "C" { |
| 268 | #endif | 268 | #endif |
| 269 | #endif | 269 | #endif |
| 270 | 270 | ||
| 271 | #ifndef DECLSPEC_CHPE_PATCHABLE | ||
| 272 | #ifdef __arm64ec__ | ||
| 273 | #define DECLSPEC_CHPE_PATCHABLE __declspec(hybrid_patchable) | ||
| 274 | #else | ||
| 275 | #define DECLSPEC_CHPE_PATCHABLE | ||
| 276 | #endif | ||
| 277 | #endif | ||
| 278 | |||
| 271 | #define DECLSPEC_DEPRECATED_DDK | 279 | #define DECLSPEC_DEPRECATED_DDK |
| 272 | #define PRAGMA_DEPRECATED_DDK 0 | 280 | #define PRAGMA_DEPRECATED_DDK 0 |
| 273 | 281 | ||
| ... | @@ -3213,6 +3221,12 @@ __buildmemorybarrier() | ... | @@ -3213,6 +3221,12 @@ __buildmemorybarrier() |
| 3213 | #define SID_RECOMMENDED_SUB_AUTHORITIES (1) | 3221 | #define SID_RECOMMENDED_SUB_AUTHORITIES (1) |
| 3214 | #ifndef __WIDL__ | 3222 | #ifndef __WIDL__ |
| 3215 | #define SECURITY_MAX_SID_SIZE (sizeof (SID) - sizeof (DWORD) + (SID_MAX_SUB_AUTHORITIES *sizeof (DWORD))) | 3223 | #define SECURITY_MAX_SID_SIZE (sizeof (SID) - sizeof (DWORD) + (SID_MAX_SUB_AUTHORITIES *sizeof (DWORD))) |
| 3224 | |||
| 3225 | typedef union _SE_SID { | ||
| 3226 | SID Sid; | ||
| 3227 | BYTE Buffer[SECURITY_MAX_SID_SIZE]; | ||
| 3228 | } SE_SID, *PSE_SID; | ||
| 3229 | |||
| 3216 | #endif | 3230 | #endif |
| 3217 | 3231 | ||
| 3218 | #define SID_HASH_SIZE 32 | 3232 | #define SID_HASH_SIZE 32 |
| ... | @@ -5722,6 +5736,34 @@ DEFINE_ENUM_FLAG_OPERATORS(JOB_OBJECT_IO_RATE_CONTROL_FLAGS) | ... | @@ -5722,6 +5736,34 @@ DEFINE_ENUM_FLAG_OPERATORS(JOB_OBJECT_IO_RATE_CONTROL_FLAGS) |
| 5722 | #define PF_ARM_SVE_F32MM_INSTRUCTIONS_AVAILABLE 58 | 5736 | #define PF_ARM_SVE_F32MM_INSTRUCTIONS_AVAILABLE 58 |
| 5723 | #define PF_ARM_SVE_F64MM_INSTRUCTIONS_AVAILABLE 59 | 5737 | #define PF_ARM_SVE_F64MM_INSTRUCTIONS_AVAILABLE 59 |
| 5724 | #define PF_BMI2_INSTRUCTIONS_AVAILABLE 60 | 5738 | #define PF_BMI2_INSTRUCTIONS_AVAILABLE 60 |
| 5739 | #define PF_MOVDIR64B_INSTRUCTION_AVAILABLE 61 | ||
| 5740 | #define PF_ARM_LSE2_AVAILABLE 62 | ||
| 5741 | #define PF_RESERVED_FEATURE 63 | ||
| 5742 | #define PF_ARM_SHA3_INSTRUCTIONS_AVAILABLE 64 | ||
| 5743 | #define PF_ARM_SHA512_INSTRUCTIONS_AVAILABLE 65 | ||
| 5744 | #define PF_ARM_V82_I8MM_INSTRUCTIONS_AVAILABLE 66 | ||
| 5745 | #define PF_ARM_V82_FP16_INSTRUCTIONS_AVAILABLE 67 | ||
| 5746 | #define PF_ARM_V86_BF16_INSTRUCTIONS_AVAILABLE 68 | ||
| 5747 | #define PF_ARM_V86_EBF16_INSTRUCTIONS_AVAILABLE 69 | ||
| 5748 | #define PF_ARM_SME_INSTRUCTIONS_AVAILABLE 70 | ||
| 5749 | #define PF_ARM_SME2_INSTRUCTIONS_AVAILABLE 71 | ||
| 5750 | #define PF_ARM_SME2_1_INSTRUCTIONS_AVAILABLE 72 | ||
| 5751 | #define PF_ARM_SME2_2_INSTRUCTIONS_AVAILABLE 73 | ||
| 5752 | #define PF_ARM_SME_AES_INSTRUCTIONS_AVAILABLE 74 | ||
| 5753 | #define PF_ARM_SME_SBITPERM_INSTRUCTIONS_AVAILABLE 75 | ||
| 5754 | #define PF_ARM_SME_SF8MM4_INSTRUCTIONS_AVAILABLE 76 | ||
| 5755 | #define PF_ARM_SME_SF8MM8_INSTRUCTIONS_AVAILABLE 77 | ||
| 5756 | #define PF_ARM_SME_SF8DP2_INSTRUCTIONS_AVAILABLE 78 | ||
| 5757 | #define PF_ARM_SME_SF8DP4_INSTRUCTIONS_AVAILABLE 79 | ||
| 5758 | #define PF_ARM_SME_SF8FMA_INSTRUCTIONS_AVAILABLE 80 | ||
| 5759 | #define PF_ARM_SME_F8F32_INSTRUCTIONS_AVAILABLE 81 | ||
| 5760 | #define PF_ARM_SME_F8F16_INSTRUCTIONS_AVAILABLE 82 | ||
| 5761 | #define PF_ARM_SME_F16F16_INSTRUCTIONS_AVAILABLE 83 | ||
| 5762 | #define PF_ARM_SME_B16B16_INSTRUCTIONS_AVAILABLE 84 | ||
| 5763 | #define PF_ARM_SME_F64F64_INSTRUCTIONS_AVAILABLE 85 | ||
| 5764 | #define PF_ARM_SME_I16I64_INSTRUCTIONS_AVAILABLE 86 | ||
| 5765 | #define PF_ARM_SME_LUTv2_INSTRUCTIONS_AVAILABLE 87 | ||
| 5766 | #define PF_ARM_SME_FA64_INSTRUCTIONS_AVAILABLE 88 | ||
| 5725 | 5767 | ||
| 5726 | #define XSTATE_LEGACY_FLOATING_POINT (0) | 5768 | #define XSTATE_LEGACY_FLOATING_POINT (0) |
| 5727 | #define XSTATE_LEGACY_SSE (1) | 5769 | #define XSTATE_LEGACY_SSE (1) |
| ... | @@ -9140,27 +9182,27 @@ DEFINE_ENUM_FLAG_OPERATORS(JOB_OBJECT_IO_RATE_CONTROL_FLAGS) | ... | @@ -9140,27 +9182,27 @@ DEFINE_ENUM_FLAG_OPERATORS(JOB_OBJECT_IO_RATE_CONTROL_FLAGS) |
| 9140 | #endif | 9182 | #endif |
| 9141 | 9183 | ||
| 9142 | #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP) | 9184 | #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP) |
| 9143 | NTSYSAPI VOID NTAPI __MINGW_ATTRIB_NORETURN RtlUnwind (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue); | 9185 | NTSYSAPI VOID NTAPI RtlUnwind (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue); |
| 9144 | NTSYSAPI PVOID NTAPI RtlPcToFileHeader (PVOID PcValue, PVOID *BaseOfImage); | 9186 | NTSYSAPI PVOID NTAPI RtlPcToFileHeader (PVOID PcValue, PVOID *BaseOfImage); |
| 9145 | #if defined (__x86_64__) | 9187 | #if defined (__x86_64__) |
| 9146 | NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (DWORD64 ControlPc, PDWORD64 ImageBase, PUNWIND_HISTORY_TABLE HistoryTable); | 9188 | NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (DWORD64 ControlPc, PDWORD64 ImageBase, 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); | 9189 | NTSYSAPI VOID NTAPI RtlUnwindEx (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable); |
| 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); | 9190 | NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, DWORD64 ImageBase, DWORD64 ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PDWORD64 EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers); |
| 9149 | NTSYSAPI BOOLEAN NTAPI RtlIsEcCode(DWORD64 CodePointer); | 9191 | NTSYSAPI BOOLEAN NTAPI RtlIsEcCode(DWORD64 CodePointer); |
| 9150 | #endif | 9192 | #endif |
| 9151 | #if defined (__arm__) | 9193 | #if defined (__arm__) |
| 9152 | NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (ULONG_PTR ControlPc, PDWORD ImageBase, PUNWIND_HISTORY_TABLE HistoryTable); | 9194 | NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (ULONG_PTR ControlPc, PDWORD ImageBase, 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); | 9195 | NTSYSAPI VOID NTAPI RtlUnwindEx (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable); |
| 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); | 9196 | NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, DWORD ImageBase, DWORD ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PDWORD EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers); |
| 9155 | #endif | 9197 | #endif |
| 9156 | #if defined (__aarch64__) | 9198 | #if defined (__aarch64__) |
| 9157 | NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (ULONG_PTR ControlPc, PULONG_PTR ImageBase, PUNWIND_HISTORY_TABLE HistoryTable); | 9199 | NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (ULONG_PTR ControlPc, PULONG_PTR ImageBase, 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); | 9200 | NTSYSAPI VOID NTAPI RtlUnwindEx (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable); |
| 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); | 9201 | 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); |
| 9160 | #endif | 9202 | #endif |
| 9161 | #if defined (__ia64__) | 9203 | #if defined (__ia64__) |
| 9162 | NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (ULONGLONG ControlPc, PULONGLONG ImageBase, PULONGLONG TargetGp); | 9204 | NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (ULONGLONG ControlPc, PULONGLONG ImageBase, PULONGLONG TargetGp); |
| 9163 | NTSYSAPI VOID NTAPI __MINGW_ATTRIB_NORETURN RtlUnwindEx (FRAME_POINTERS TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable); | 9205 | NTSYSAPI VOID NTAPI RtlUnwindEx (FRAME_POINTERS TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable); |
| 9164 | NTSYSAPI ULONGLONG NTAPI RtlVirtualUnwind (ULONGLONG ImageBase, ULONGLONG ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PBOOLEAN InFunction, PFRAME_POINTERS EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers); | 9206 | NTSYSAPI ULONGLONG NTAPI RtlVirtualUnwind (ULONGLONG ImageBase, ULONGLONG ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PBOOLEAN InFunction, PFRAME_POINTERS EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers); |
| 9165 | #endif | 9207 | #endif |
| 9166 | #endif | 9208 | #endif |
lib/libc/include/any-windows-any/wintrust.h+61| ... | @@ -34,6 +34,7 @@ extern "C" | ... | @@ -34,6 +34,7 @@ extern "C" |
| 34 | #define WTD_CHOICE_BLOB 3 | 34 | #define WTD_CHOICE_BLOB 3 |
| 35 | #define WTD_CHOICE_SIGNER 4 | 35 | #define WTD_CHOICE_SIGNER 4 |
| 36 | #define WTD_CHOICE_CERT 5 | 36 | #define WTD_CHOICE_CERT 5 |
| 37 | #define WTD_CHOICE_DETACHED_SIG 6 | ||
| 37 | 38 | ||
| 38 | #define WTD_STATEACTION_IGNORE 0x00000000 | 39 | #define WTD_STATEACTION_IGNORE 0x00000000 |
| 39 | #define WTD_STATEACTION_VERIFY 0x00000001 | 40 | #define WTD_STATEACTION_VERIFY 0x00000001 |
| ... | @@ -45,6 +46,7 @@ extern "C" | ... | @@ -45,6 +46,7 @@ extern "C" |
| 45 | #define WTD_USE_IE4_TRUST_FLAG 0x00000001 | 46 | #define WTD_USE_IE4_TRUST_FLAG 0x00000001 |
| 46 | #define WTD_NO_IE4_CHAIN_FLAG 0x00000002 | 47 | #define WTD_NO_IE4_CHAIN_FLAG 0x00000002 |
| 47 | #define WTD_NO_POLICY_USAGE_FLAG 0x00000004 | 48 | #define WTD_NO_POLICY_USAGE_FLAG 0x00000004 |
| 49 | #define WTD_USE_LOCAL_MACHINE_CERTS 0x00000008 | ||
| 48 | #define WTD_REVOCATION_CHECK_NONE 0x00000010 | 50 | #define WTD_REVOCATION_CHECK_NONE 0x00000010 |
| 49 | #define WTD_REVOCATION_CHECK_END_CERT 0x00000020 | 51 | #define WTD_REVOCATION_CHECK_END_CERT 0x00000020 |
| 50 | #define WTD_REVOCATION_CHECK_CHAIN 0x00000040 | 52 | #define WTD_REVOCATION_CHECK_CHAIN 0x00000040 |
| ... | @@ -54,6 +56,9 @@ extern "C" | ... | @@ -54,6 +56,9 @@ extern "C" |
| 54 | #define WTD_USE_DEFAULT_OSVER_CHECK 0x00000400 | 56 | #define WTD_USE_DEFAULT_OSVER_CHECK 0x00000400 |
| 55 | #define WTD_LIFETIME_SIGNING_FLAG 0x00000800 | 57 | #define WTD_LIFETIME_SIGNING_FLAG 0x00000800 |
| 56 | #define WTD_CACHE_ONLY_URL_RETRIEVAL 0x00001000 | 58 | #define WTD_CACHE_ONLY_URL_RETRIEVAL 0x00001000 |
| 59 | #define WTD_DISABLE_MD2_MD4 0x00002000 | ||
| 60 | #define WTD_MOTW 0x00004000 | ||
| 61 | #define WTD_CODE_INTEGRITY_DRIVER_MODE 0x00008000 | ||
| 57 | 62 | ||
| 58 | #define WTD_UICONTEXT_EXECUTE 0 | 63 | #define WTD_UICONTEXT_EXECUTE 0 |
| 59 | #define WTD_UICONTEXT_INSTALL 1 | 64 | #define WTD_UICONTEXT_INSTALL 1 |
| ... | @@ -71,14 +76,41 @@ extern "C" | ... | @@ -71,14 +76,41 @@ extern "C" |
| 71 | struct WINTRUST_BLOB_INFO_ *pBlob; | 76 | struct WINTRUST_BLOB_INFO_ *pBlob; |
| 72 | struct WINTRUST_SGNR_INFO_ *pSgnr; | 77 | struct WINTRUST_SGNR_INFO_ *pSgnr; |
| 73 | struct WINTRUST_CERT_INFO_ *pCert; | 78 | struct WINTRUST_CERT_INFO_ *pCert; |
| 79 | struct WINTRUST_DETACHED_SIG_INFO_ *pDetachedSig; | ||
| 74 | }; | 80 | }; |
| 75 | DWORD dwStateAction; | 81 | DWORD dwStateAction; |
| 76 | HANDLE hWVTStateData; | 82 | HANDLE hWVTStateData; |
| 77 | WCHAR *pwszURLReference; | 83 | WCHAR *pwszURLReference; |
| 78 | DWORD dwProvFlags; | 84 | DWORD dwProvFlags; |
| 79 | DWORD dwUIContext; | 85 | DWORD dwUIContext; |
| 86 | #if (NTDDI_VERSION >= NTDDI_WIN8) | ||
| 87 | struct WINTRUST_SIGNATURE_SETTINGS_ *pSignatureSettings; | ||
| 88 | #endif | ||
| 80 | } WINTRUST_DATA,*PWINTRUST_DATA; | 89 | } WINTRUST_DATA,*PWINTRUST_DATA; |
| 81 | 90 | ||
| 91 | #if (NTDDI_VERSION >= NTDDI_WIN8) | ||
| 92 | typedef struct WINTRUST_SIGNATURE_SETTINGS_ { | ||
| 93 | DWORD cbStruct; | ||
| 94 | DWORD dwIndex; | ||
| 95 | DWORD dwFlags; | ||
| 96 | DWORD cSecondarySigs; | ||
| 97 | DWORD dwVerifiedSigIndex; | ||
| 98 | PCERT_STRONG_SIGN_PARA pCryptoPolicy; | ||
| 99 | } WINTRUST_SIGNATURE_SETTINGS,*PWINTRUST_SIGNATURE_SETTINGS; | ||
| 100 | |||
| 101 | #define WSS_VERIFY_SPECIFIC 0x00000001 | ||
| 102 | #define WSS_GET_SECONDARY_SIG_COUNT 0x00000002 | ||
| 103 | |||
| 104 | #if (NTDDI_VERSION >= NTDDI_WINBLUE) | ||
| 105 | #define WSS_VERIFY_SEALING 0x00000004 | ||
| 106 | #define WSS_INPUT_FLAG_MASK 0x00000007 | ||
| 107 | #define WSS_OUT_SEALING_STATUS_VERIFIED 0x80000000 | ||
| 108 | #define WSS_OUT_HAS_SEALING_INTENT 0x40000000 | ||
| 109 | #define WSS_OUT_FILE_SUPPORTS_SEAL 0x20000000 | ||
| 110 | #define WSS_OUTPUT_FLAG_MASK 0xe0000000 | ||
| 111 | #endif /* (NTDDI_VERSION >= NTDDI_WINBLUE) */ | ||
| 112 | #endif /* (NTDDI_VERSION >= NTDDI_WIN8) */ | ||
| 113 | |||
| 82 | typedef struct WINTRUST_FILE_INFO_ { | 114 | typedef struct WINTRUST_FILE_INFO_ { |
| 83 | DWORD cbStruct; | 115 | DWORD cbStruct; |
| 84 | LPCWSTR pcwszFilePath; | 116 | LPCWSTR pcwszFilePath; |
| ... | @@ -86,6 +118,30 @@ extern "C" | ... | @@ -86,6 +118,30 @@ extern "C" |
| 86 | GUID *pgKnownSubject; | 118 | GUID *pgKnownSubject; |
| 87 | } WINTRUST_FILE_INFO,*PWINTRUST_FILE_INFO; | 119 | } WINTRUST_FILE_INFO,*PWINTRUST_FILE_INFO; |
| 88 | 120 | ||
| 121 | typedef struct WINTRUST_DETACHED_SIG_HANDLES_ { | ||
| 122 | HANDLE hContentFile; | ||
| 123 | HANDLE hSignatureFile; | ||
| 124 | } WINTRUST_DETACHED_SIG_FILE_HANDLES,*PWINTRUST_DETACHED_SIG_FILE_HANDLES; | ||
| 125 | |||
| 126 | typedef struct WINTRUST_DETACHED_SIG_BLOBS_ { | ||
| 127 | LARGE_INTEGER cbContentObject; | ||
| 128 | BYTE *pbContentObject; | ||
| 129 | DWORD cbSignatureObject; | ||
| 130 | BYTE *pbSignatureObject; | ||
| 131 | } WINTRUST_DETACHED_SIG_BLOBS,*PWINTRUST_DETACHED_SIG_BLOBS; | ||
| 132 | |||
| 133 | #define WINTRUST_DETACHED_SIG_CHOICE_HANDLE 1 | ||
| 134 | #define WINTRUST_DETACHED_SIG_CHOICE_BLOB 2 | ||
| 135 | |||
| 136 | typedef struct WINTRUST_DETACHED_SIG_INFO_ { | ||
| 137 | DWORD cbStruct; | ||
| 138 | DWORD dwUnionChoice; | ||
| 139 | __C89_NAMELESS union { | ||
| 140 | struct WINTRUST_DETACHED_SIG_HANDLES_ *pDetachedSigHandles; | ||
| 141 | struct WINTRUST_DETACHED_SIG_BLOBS_ *pDetachedSigBlobs; | ||
| 142 | }; | ||
| 143 | } WINTRUST_DETACHED_SIG_INFO,*PWINTRUST_DETACHED_SIG_INFO; | ||
| 144 | |||
| 89 | typedef HANDLE HCATADMIN; | 145 | typedef HANDLE HCATADMIN; |
| 90 | 146 | ||
| 91 | typedef struct WINTRUST_CATALOG_INFO_ { | 147 | typedef struct WINTRUST_CATALOG_INFO_ { |
| ... | @@ -184,6 +240,11 @@ extern "C" | ... | @@ -184,6 +240,11 @@ extern "C" |
| 184 | 240 | ||
| 185 | #define TRUSTERROR_MAX_STEPS 38 | 241 | #define TRUSTERROR_MAX_STEPS 38 |
| 186 | 242 | ||
| 243 | struct _CRYPT_PROVIDER_DATA; | ||
| 244 | struct _CRYPT_PROVIDER_SGNR; | ||
| 245 | struct _CRYPT_PROVIDER_PRIVDATA; | ||
| 246 | struct _CRYPT_PROVIDER_DEFUSAGE; | ||
| 247 | |||
| 187 | typedef void *(*PFN_CPD_MEM_ALLOC)(DWORD cbSize); | 248 | typedef void *(*PFN_CPD_MEM_ALLOC)(DWORD cbSize); |
| 188 | typedef void (*PFN_CPD_MEM_FREE)(void *pvMem2Free); | 249 | typedef void (*PFN_CPD_MEM_FREE)(void *pvMem2Free); |
| 189 | typedef WINBOOL (*PFN_CPD_ADD_STORE)(struct _CRYPT_PROVIDER_DATA *pProvData,HCERTSTORE hStore2Add); | 250 | typedef WINBOOL (*PFN_CPD_ADD_STORE)(struct _CRYPT_PROVIDER_DATA *pProvData,HCERTSTORE hStore2Add); |
lib/libc/include/any-windows-any/winuser.h+1-1| ... | @@ -6792,7 +6792,7 @@ typedef struct tagINPUT_TRANSFORM { | ... | @@ -6792,7 +6792,7 @@ typedef struct tagINPUT_TRANSFORM { |
| 6792 | } INPUT_TRANSFORM; | 6792 | } INPUT_TRANSFORM; |
| 6793 | 6793 | ||
| 6794 | /* Do these functions belong here? */ | 6794 | /* Do these functions belong here? */ |
| 6795 | WINUSERAPI WINBOOL WINAPI GetPointerInputTransform(UINT32 pointerId, UINT32 historyCount, UINT32 *inputTransform); | 6795 | WINUSERAPI WINBOOL WINAPI GetPointerInputTransform(UINT32 pointerId, UINT32 historyCount, INPUT_TRANSFORM *inputTransform); |
| 6796 | WINUSERAPI WINBOOL WINAPI IsMousePointerEnabled(void); | 6796 | WINUSERAPI WINBOOL WINAPI IsMousePointerEnabled(void); |
| 6797 | #endif /*(_WIN32_WINNT >= 0x0602)*/ | 6797 | #endif /*(_WIN32_WINNT >= 0x0602)*/ |
| 6798 | #endif | 6798 | #endif |
lib/libc/include/any-windows-any/wmcodecdsp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/wmcodecdsp.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/wmcontainer.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/wmdrmsdk.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/wmp.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/wmprealestate.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/wmpservices.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/wmsbuffer.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/wmsdkidl.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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__ |
lib/libc/include/any-windows-any/wmsecure.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/wmsecure.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/wpcapi.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/wsdattachment.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/wsdattachment.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/wsdbase.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/wsdclient.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/wsddisco.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/wsdhost.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/wsdxml.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/wsdxml.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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/wsmandisp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/wsmandisp.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/wtypes.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/wtypesbase.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/wuapi.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/xamlom.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/xapo.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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+2-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/xaudio2.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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__ |
| ... | @@ -1858,6 +1858,7 @@ inline static float XAudio2RadiansToCutoffFrequency(float radians, float sampler | ... | @@ -1858,6 +1858,7 @@ inline static float XAudio2RadiansToCutoffFrequency(float radians, float sampler |
| 1858 | #endif | 1858 | #endif |
| 1859 | #pragma pack(pop) | 1859 | #pragma pack(pop) |
| 1860 | HRESULT WINAPI XAudio2Create(IXAudio2** pxaudio2, UINT32 flags, XAUDIO2_PROCESSOR processor); | 1860 | HRESULT WINAPI XAudio2Create(IXAudio2** pxaudio2, UINT32 flags, XAUDIO2_PROCESSOR processor); |
| 1861 | HRESULT WINAPI XAudio2CreateWithVersionInfo(IXAudio2** pxaudio2, UINT32 flags, XAUDIO2_PROCESSOR processor, DWORD version); | ||
| 1861 | /* Begin additional prototypes for all interfaces */ | 1862 | /* Begin additional prototypes for all interfaces */ |
| 1862 | 1863 | ||
| 1863 | 1864 |
lib/libc/include/any-windows-any/xaudio2fx.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /*** Autogenerated by WIDL 10.4 from include/xaudio2fx.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/xmllite.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/xpsdigitalsignature.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/xpsobjectmodel.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/xpsobjectmodel_1.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/xpsprint.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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.4 from include/xpsrassvc.idl - Do not edit ***/ | 1 | /*** Autogenerated by WIDL 11.6 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__ |