13 #pragma push_macro("_STRINGIZEX")
14 #pragma push_macro("_STRINGIZE")
19 #define _STRINGIZEX(x) #x
20 #define _STRINGIZE(x) _STRINGIZEX(x)
22 #pragma detect_mismatch("_VCCORLIB_VER", "1800." _STRINGIZE(__cplusplus_winrt)) // Detect vccorlib mismatch
24 #pragma pop_macro("_STRINGIZE")
25 #pragma pop_macro("_STRINGIZEX")
28 #if !defined(__cplusplus_winrt)
29 #error vccorlib.h can only be used with /ZW
32 #if defined(VCWINRT_DLL)
35 #include <inspectable.h>
36 #include <WinString.h>
41 #pragma pack(push, 16)
62 #if defined(__VCCORLIB_H_ENABLE_ALL_WARNINGS)
68 #pragma warning(disable: 4514) // unreferenced inline function has been removed
69 #pragma warning(disable: 4710) // function not inlined
70 #pragma warning(disable: 4711) // selected for automatic inline expansion
73 #pragma warning( push )
74 #pragma warning(disable: 4127) // conditional expression is constant
75 #pragma warning(disable: 4483) // Allows us to use __identifier
76 #pragma warning(disable: 4820) // bytes padding added after data member
78 #define _VCCORLIB_THREADING_MODEL_DEFAULT 0
79 #define _VCCORLIB_THREADING_MODEL_STA 1
80 #define _VCCORLIB_THREADING_MODEL_MTA 2
81 #define _VCCORLIB_THREADING_MODEL_OVERRIDE 3
83 #pragma initialize_winrt_types_start
88 __declspec(noreturn)
void __stdcall __abi_WinRTraiseException(
long);
90 #if !defined(VCWINRT_DLL)
91 __declspec(dllimport) long __stdcall __abi_translateCurrentException(
bool reserved);
93 __declspec(dllexport) long __stdcall __abi_translateCurrentException(
bool reserved);
100 __abi_WinRTraiseException(__hrArg);
104 #if !defined(VCWINRT_DLL)
114 long __stdcall
__getIids(
int,
unsigned long*,
const __s_GUID*, ::Platform::Guid**);
141 numcalls_QueryInterface = 0;
143 numcalls_Release = 0;
144 numcalls_GetIids = 0;
145 numcalls_GetRuntimeClassName = 0;
146 numcalls_GetTrustLevel = 0;
154 callback = __callbackArg;
186 __interface
__declspec(uuid(
"00000000-0000-0000-C000-000000000046")) __abi_IUnknown
189 virtual long __stdcall __abi_QueryInterface(::Platform::Guid&,
void**) = 0;
190 virtual unsigned long __stdcall __abi_AddRef() = 0;
191 virtual unsigned long __stdcall __abi_Release() = 0;
201 __interface
__declspec(uuid(
"3C5C94E8-83BB-4622-B76A-B505AE96E0DF")) __abi_Module
204 virtual unsigned long __stdcall __abi_IncrementObjectCount() = 0;
205 virtual unsigned long __stdcall __abi_DecrementObjectCount() = 0;
208 __interface
__declspec(uuid(
"00000003-0000-0000-C000-000000000046")) __abi_IMarshal;
217 #pragma intrinsic(_InterlockedIncrement)
218 #pragma intrinsic(_InterlockedDecrement)
219 #pragma intrinsic(_InterlockedCompareExchange)
220 #pragma intrinsic(_InterlockedCompareExchangePointer)
229 if (__abi_module !=
nullptr)
231 __abi_module->__abi_IncrementObjectCount();
238 if (__abi_module !=
nullptr)
240 __abi_module->__abi_DecrementObjectCount();
252 if (__refCountLoc == 0)
256 if (__abi_module !=
nullptr)
258 __abi_module->__abi_DecrementObjectCount();
261 return __refCountLoc;
264 inline unsigned long Get()
volatile
266 return static_cast<unsigned long>(
__refcount);
273 __interface
__declspec(uuid(
"AF86E2E0-B12D-4c6a-9C5A-D7AA65101E90")) __abi_IInspectable : public __abi_IUnknown
275 virtual long __stdcall __abi_GetIids(
unsigned long*, ::Platform::Guid**) = 0;
280 __interface
__declspec(uuid(
"00000001-0000-0000-C000-000000000046")) __abi_IClassFactory : public __abi_IUnknown
282 virtual long __stdcall __abi_CreateInstance(__abi_IUnknown*, ::Platform::Guid&,
void**) = 0;
286 __interface
__declspec(uuid(
"00000035-0000-0000-C000-000000000046")) __abi_IActivationFactory : public __abi_IInspectable
288 virtual long __stdcall __abi_ActivateInstance(__abi_IInspectable**) = 0;
291 __interface
__declspec(uuid(
"00000037-0000-0000-C000-000000000046")) __abi_IWeakReference : public __abi_IUnknown
293 virtual long __stdcall __abi_Resolve(::Platform::Guid&, __abi_IInspectable **) = 0;
296 #if !defined(VCWINRT_DLL)
309 namespace Platform {
namespace Details {
319 static EventLock __eventLock = {
nullptr,
nullptr };
348 #pragma initialize_winrt_types_phase1
353 __declspec(non_user_code)
__declspec(no_refcount)
void __abi_delete_String(::Platform::String^);
355 #if !defined(VCWINRT_DLL)
357 ::Platform::Object ^ __stdcall __abi_cast_String_to_Object(::Platform::String^);
360 ::Platform::String ^ __stdcall __abi_cast_Object_to_String(
bool, ::Platform::Object^);
362 __declspec(dllimport)
__declspec(non_user_code) ::Platform::String^ __stdcall __abi_ObjectToString(::Platform::Object^ o,
bool useIPrintable);
366 ::Platform::Object ^ __stdcall __abi_cast_String_to_Object(::Platform::String^);
369 ::Platform::String ^ __stdcall __abi_cast_Object_to_String(
bool, ::Platform::Object^);
371 __declspec(dllexport)
__declspec(non_user_code) ::Platform::String^ __stdcall __abi_ObjectToString(::Platform::Object^ o,
bool useIPrintable);
376 inline
void* __abi_winrt_ptr_ctor(const volatile ::
Platform::Object^ const
__objArg)
378 __abi_IUnknown*
__pUnknown =
reinterpret_cast<__abi_IUnknown*
>(
const_cast< ::Platform::Object^
>(
__objArg));
380 __pUnknown->__abi_AddRef();
386 inline
void __abi_winrt_ptr_dtor(const volatile ::
Platform::Object^ const
__objArg)
388 __abi_IUnknown*
__pUnknown =
reinterpret_cast<__abi_IUnknown*
>(
const_cast< ::Platform::Object^
>(
__objArg));
390 __pUnknown->__abi_Release();
395 inline
void* __abi_winrt_ptr_assign(
void**
__ppTargetArg, const volatile ::
Platform::Object^ __objArg)
397 __abi_IUnknown* __pUnknown =
reinterpret_cast<__abi_IUnknown*
>(
const_cast< ::Platform::Object^
>(
__objArg));
399 if (__pUnknown != *__ppTargetUnknown)
402 __pUnknown->__abi_AddRef();
404 if (*__ppTargetUnknown) {
405 (*__ppTargetUnknown)->__abi_Release();
414 inline
void* __abi_winrt_ptrto_delegate_ctor(const volatile T^ __objArg)
416 return __abi_winrt_ptr_ctor(reinterpret_cast<const volatile ::Platform::Object^>(__objArg));
421 inline
void __abi_winrt_ptrto_delegate_dtor(const volatile T^ __objArg)
423 __abi_winrt_ptr_dtor(reinterpret_cast<const volatile ::Platform::Object^>(__objArg));
428 inline
void* __abi_winrt_ptrto_delegate_assign(
void** __ppTargetArg, const volatile T^ __objArg)
430 return __abi_winrt_ptr_assign(__ppTargetArg, reinterpret_cast<const volatile ::Platform::Object^>(__objArg));
439 __pUnknown =
reinterpret_cast<__abi_IUnknown*
>(
const_cast< ::Platform::Object^
>(
__objArg));
443 __pUnknown->__abi_Release();
449 #if !defined(VCWINRT_DLL)
450 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseNotImplementedException();
451 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseInvalidCastException();
452 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseNullReferenceException();
453 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseOperationCanceledException();
455 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseAccessDeniedException();
456 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseOutOfMemoryException();
457 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseInvalidArgumentException();
458 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseOutOfBoundsException();
459 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseChangedStateException();
460 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseClassNotRegisteredException();
461 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseWrongThreadException();
462 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseDisconnectedException();
463 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseObjectDisposedException();
466 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseNotImplementedException();
467 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseInvalidCastException();
468 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseNullReferenceException();
469 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseOperationCanceledException();
471 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseAccessDeniedException();
472 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseOutOfMemoryException();
473 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseInvalidArgumentException();
474 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseOutOfBoundsException();
475 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseChangedStateException();
476 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseClassNotRegisteredException();
477 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseWrongThreadException();
478 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseDisconnectedException();
479 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseObjectDisposedException();
484 inline ::
Platform::Object^ __abi_winrt_cast_to(
bool __isDynamicCastArg, ::
Platform::Object^ __objArg, const _GUID& __guidArg)
486 void* __pTo =
nullptr;
487 __abi_IUnknown* __pUnknown =
reinterpret_cast<__abi_IUnknown*
>(
__objArg);
491 long __hr = __pUnknown->__abi_QueryInterface(reinterpret_cast< ::Platform::Guid&>(const_cast<_GUID&>(__guidArg)), &__pTo);
493 if (__isDynamicCastArg && __hr != 0)
499 return reinterpret_cast< ::Platform::Object^
>(__pTo);
503 inline ::
Platform::String^ __abi_winrt_cast_to_string(
bool __isDynamicCast, ::
Platform::Object^ __objArg)
505 return __abi_details::__abi_cast_Object_to_String(__isDynamicCast, __objArg);
509 inline ::
Platform::Object^ __abi_winrt_cast_from_string_to_object(
bool , ::
Platform::String^ __objArg)
511 return __abi_details::__abi_cast_String_to_Object(__objArg);
515 inline ::
Platform::Object^ __abi_winrt_cast_from_string_to_other(
bool , ::
Platform::String^ )
517 __abi_WinRTraiseInvalidCastException();
522 inline T^ __abi_winrt_cast_from_object_to_delegate(
bool __isDynamicCast, ::
Platform::Object^ __objArg);
526 inline ::
Platform::Object^ __abi_winrt_cast_from_delegate_to_object(
bool __isDynamicCastArg, T^ __objArg);
530 inline ::
Platform::Object^ __abi_winrt_cast_from_delegate_to_other(
bool __isDynamicCastArg, T^ __objArg, const _GUID& __guidArg)
532 return __abi_winrt_cast_to(__isDynamicCastArg, reinterpret_cast< ::Platform::Object^>(__objArg), __guidArg);
537 void* __pObj = *__ppObjArg;
538 *__ppObjArg =
nullptr;
543 inline
void __abi_winrt_ptrto_string_dtor(const volatile ::
Platform::String^ const __objArg)
545 __abi_details::__abi_delete_String(const_cast< ::Platform::String^>(__objArg));
548 __declspec(non_user_code) inline
void __abi_winrt_throw_on_disposed(
bool isDisposed)
552 __abi_WinRTraiseObjectDisposedException();
559 #if !defined(VCWINRT_DLL)
564 template <
typename __TArg,
unsigned int __dimension = 1>
567 template <
typename __TArg,
unsigned int __dimension = 1>
571 template <
typename __TArg,
unsigned int __dimension>
573 void* __abi_winrt_ptrto_array_ctor(const volatile ::
Platform::
Array<__TArg, __dimension>^ const);
575 template<typename __TArg,
unsigned int __dimension>
577 void* __abi_winrt_ptrto_array_assign(
void**, const volatile ::
Platform::
Array<__TArg, __dimension>^);
580 inline ::
Platform::Object^ __abi_winrt_cast_use_helper(
bool __isDynamicArg,
void* __fromArg, const _GUID& __guidArg, __abi_IUnknown* __useresultArg)
584 return reinterpret_cast< ::Platform::Object^
>(__useresultArg);
587 return __abi_winrt_cast_to(__isDynamicArg, reinterpret_cast< ::Platform::Object^>(__fromArg), __guidArg);
590 __declspec(selectany) void * __forceInstantiate1 = &__abi_winrt_cast_use_helper;
593 inline
void __abi_winrt_ptr_dispose(const volatile ::
Platform::Object^ const __objArg)
595 ::Platform::IDisposable ^__dispose =
dynamic_cast< ::Platform::IDisposable ^
>(
const_cast< ::Platform::Object^
>(
__objArg));
597 __dispose->__identifier(
"<Dispose>")();
598 reinterpret_cast<__abi_IUnknown*
>(__dispose)->__abi_Release();
603 inline
void __abi_winrt_ptr_dispose_dtor(const volatile ::
Platform::Object^ const __objArg)
605 __abi_winrt_ptr_dispose(__objArg);
606 __abi_winrt_ptr_dtor(__objArg);
611 namespace Platform {
namespace Details
613 class ControlBlock
sealed :
public __abi_IWeakReference
615 #if defined(VCWINRT_DLL)
629 virtual long __stdcall __abi_QueryInterface(::Platform::Guid& __riid,
void** __ppvObject);
641 if (__bAlignedAllocation)
643 ::Platform::Details::Heap::AlignedFree(
this);
653 #if !defined(VCWINRT_DLL)
654 __declspec(dllimport) virtual
long __stdcall __abi_Resolve(::
Platform::Guid& __riid, __abi_IInspectable ** __objectReference);
656 __declspec(dllexport) virtual
long __stdcall __abi_Resolve(::
Platform::Guid& __riid, __abi_IInspectable ** __objectReference);
672 __strongRefCount =
static_cast<int>(0xC0000000);
679 return __strongRefCount;
684 #if !defined(VCWINRT_DLL)
685 __declspec(dllimport) void InitControlBlock(
void* __object,
bool __bSingleAllocationParam =
true,
bool __bAlignedAllocationParam =
false,
bool __bExceptionAllocationParam = false);
688 __declspec(dllexport) void InitControlBlock(
void* __object,
bool __bSingleAllocationParam = true,
bool __bAlignedAllocationParam = false,
bool __bExceptionAllocationParam = false);
693 friend void* Details::Heap::Allocate(::Platform::SizeT, ::Platform::SizeT);
694 friend void* Details::Heap::AlignedAllocate(::Platform::SizeT, ::Platform::SizeT, ::Platform::SizeT);
695 friend void* Details::Heap::AllocateException(::Platform::SizeT __rcOffset, ::Platform::SizeT __sizeArg);
696 friend void* Details::Heap::AlignedAllocateException(::Platform::SizeT __rcOffset, ::Platform::SizeT __sizeArg, ::Platform::SizeT __alignment);
703 #if defined(VCWINRT_DLL)
712 __pUnkMarshal =
reinterpret_cast<__abi_IUnknown*
>(-1);
714 if (__abi_module !=
nullptr)
716 __abi_module->__abi_IncrementObjectCount();
722 if (__contextArg == ::Platform::CallbackContext::Any)
724 __pUnkMarshal =
reinterpret_cast<__abi_IUnknown*
>(-1);
728 __pUnkMarshal =
nullptr;
731 if (__abi_module !=
nullptr)
733 __abi_module->__abi_IncrementObjectCount();
740 if (__pUnkMarshal && __pUnkMarshal != reinterpret_cast<__abi_IUnknown*>(-1))
742 __pUnkMarshal->__abi_Release();
743 __pUnkMarshal =
nullptr;
746 if (__abi_module !=
nullptr)
748 __abi_module->__abi_DecrementObjectCount();
751 __weakRefSource->DecrementStrongReference();
757 if (__weakRefSource ==
nullptr || __weakRefSource->GetRefcount() < 0)
759 return static_cast<unsigned long>(-1);
762 return __weakRefSource->IncrementStrongReference();
767 if (__weakRefSource ==
nullptr || __weakRefSource->GetRefcount() < 0)
769 return static_cast<unsigned long>(-1);
772 unsigned long __refCount = __weakRefSource->DecrementStrongReference();
775 if (__pUnkMarshal && __pUnkMarshal != reinterpret_cast<__abi_IUnknown*>(-1))
777 __pUnkMarshal->__abi_Release();
778 __pUnkMarshal =
nullptr;
783 if (__abi_module !=
nullptr)
785 __abi_module->__abi_DecrementObjectCount();
794 if (__pUnkMarshal ==
nullptr)
803 return reinterpret_cast< ::Platform::Details::IWeakReference^
>(
__weakRefSource);
806 inline long __stdcall
Get()
volatile
808 if (__weakRefSource ==
nullptr)
810 return static_cast<unsigned long>(-1);
812 return __weakRefSource->GetRefcount();
820 __localWeakRefSource->ReleaseTarget();
821 __localWeakRefSource->__abi_Release();
825 namespace Platform {
namespace Details
833 static const size_t __smallCaptureSize = 4 *
sizeof(
void*);
834 void*
operator new(
size_t __sizeArg,
void* __pSmallCaptureArg)
836 if (__sizeArg > __smallCaptureSize)
838 return reinterpret_cast<__abi_CaptureBase*
>( ::Platform::Details::Heap::Allocate( __sizeArg ) );
841 return __pSmallCaptureArg;
844 void operator delete(
void* __ptrArg,
void* __pSmallCaptureArg)
847 __pThis->
Delete(__pThis, __pSmallCaptureArg);
852 return (*reinterpret_cast<void***>(
this))[__slotArg];
858 if (__pThisArg != __pSmallCaptureArg)
872 ptr->
Delete(ptr, smallCapture);
876 template <
typename __TFunctor,
typename __TReturnType,
typename... __TArgs>
881 virtual __TReturnType __stdcall
Invoke(__TArgs... __args) {
return functor(__args...);}
893 #pragma initialize_winrt_types_phase2
897 template <
typename __TArg,
unsigned int __dimension = 1>
902 template <
typename __HighLevelType,
unsigned int __dimension>
905 template <
typename __HighLevelType,
unsigned int __dimension>
908 template <
typename __LowLevelType,
typename __HighLevelType,
unsigned int __dimension>
909 __LowLevelType*
__abi_array_to_raw(const ::Platform::Array<__HighLevelType, __dimension>^);
911 template <
typename __TArg,
bool = __is_enum(__TArg)>
915 #pragma warning(push)
916 #pragma warning(disable: 4487)
918 template <
typename __TArg>
927 __TArg&
set(
unsigned int __indexArg, __TArg __valueArg);
928 property unsigned int Length {
unsigned int get()
const; }
929 property __TArg* Data { __TArg*
get()
const; }
930 property bool FastPass {
bool get()
const; }
932 __TArg*
begin()
const;
941 __TArg&
get(
unsigned int __indexArg)
const;
943 static __TArg* AllocateAndZeroInitialize(
unsigned int __countArg);
944 static __TArg* AllocateAndCopyElements(
const __TArg* __srcArg,
unsigned int __countArg);
946 #if defined(_PREFIX_) || defined(_PREFAST_)
948 __TArg& operator[](
unsigned int __indexArg)
const;
949 #endif // defined(_PREFIX_) || defined(_PREFAST_)
954 template <
typename __TArg>
955 private ref class Array<__TArg,1>
sealed :
957 public [::Windows::Foundation::Metadata::Default] [::Platform::Metadata::RuntimeClassName] ::Platform::IBoxArray<__TArg>
964 Array(
unsigned int __sizeArg);
965 Array(__TArg* __dataArg,
unsigned int __sizeArg);
966 __TArg&
get(
unsigned int __indexArg)
const;
967 #if defined(_PREFIX_) || defined(_PREFAST_)
968 __TArg& operator[](
unsigned int __indexArg)
const;
969 #endif // defined(_PREFIX_) || defined(_PREFAST_)
973 void Attach(__TArg* __srcArg,
unsigned int __sizeArg);
974 void AttachFastPass(__TArg* __srcArg,
unsigned int __sizeArg);
975 void CopyToOrDetach(__TArg** __destArg,
unsigned int* __sizeArg);
977 template <
typename __HighLevelType,
unsigned int __dimension>
980 template <
typename __HighLevelType,
unsigned int __dimension>
982 template <
typename __TArg,
unsigned int __dimension>
friend class ArrayReference;
995 template <
typename __TArg,
unsigned int __dimension>
997 inline
void* __abi_winrt_ptrto_array_ctor(const volatile ::
Platform::Array<__TArg, __dimension>^ const __arrArg)
1003 if (__localArray->FastPass)
1005 auto __ret =
ref new ::Platform::Array<__TArg, __dimension>(__localArray->Data, __localArray->Length);
1010 __pUnknown->__abi_AddRef();
1016 template<
typename __TArg,
unsigned int __dimension>
1018 void* __abi_winrt_ptrto_array_assign(
void** __ppTarget, const volatile ::
Platform::Array<__TArg, __dimension> ^__arrArg)
1021 __abi_IUnknown** __ppTargetUnknown =
reinterpret_cast<__abi_IUnknown**
>(__ppTarget);
1022 if (__pUnknown != *__ppTargetUnknown)
1027 if (__localArray->FastPass)
1029 auto __ret =
ref new ::Platform::Array<__TArg>(__localArray->Data, __localArray->Length);
1034 __pUnknown->__abi_AddRef();
1037 if (*__ppTargetUnknown)
1039 (*__ppTargetUnknown)->__abi_Release();
1046 template <
typename __TArg>
1049 unsigned char __bytes[
sizeof(__TArg)];
1052 return (__TArg&)__bytes;
1070 int (__stdcall *__getTrustLevel)();
1077 #pragma section("minATL$__r", read)
1079 __declspec(noreturn) inline
void __stdcall __abi_WinRTraiseException(
long __hrArg)
1084 __abi_WinRTraiseNotImplementedException();
1087 __abi_WinRTraiseInvalidCastException();
1090 __abi_WinRTraiseNullReferenceException();
1093 __abi_WinRTraiseOperationCanceledException();
1096 __abi_WinRTraiseFailureException();
1099 __abi_WinRTraiseAccessDeniedException();
1102 __abi_WinRTraiseOutOfMemoryException();
1105 __abi_WinRTraiseInvalidArgumentException();
1108 __abi_WinRTraiseOutOfBoundsException();
1111 __abi_WinRTraiseChangedStateException();
1114 __abi_WinRTraiseClassNotRegisteredException();
1117 __abi_WinRTraiseWrongThreadException();
1120 __abi_WinRTraiseDisconnectedException();
1123 __abi_WinRTraiseObjectDisposedException();
1126 __abi_WinRTraiseCOMException(__hrArg);
1132 ::
Platform::String^ __abi_winrt_CreateSystemStringFromLiteral(const __wchar_t*);
1134 ::
Platform::String^ __abi_winrt_CreateSystemStringFromLiteral(const unsigned short*);
1136 #if defined(VCWINRT_DLL)
1137 #define __Platform_CoCreateFreeThreadedMarshaler(__punkOuter, __ppunkMarshal) CoCreateFreeThreadedMarshaler(reinterpret_cast<IUnknown*>(__punkOuter), reinterpret_cast<IUnknown**>(__ppunkMarshal))
1140 #if defined(VCWINRT_DLL)
1141 #define __Platform_CoCreateFreeThreadedMarshaler(__punkOuter, __ppunkMarshal) CoCreateFreeThreadedMarshaler(reinterpret_cast<IUnknown*>(__punkOuter), reinterpret_cast<IUnknown**>(__ppunkMarshal))
1145 #pragma initialize_winrt_types_phase3
1147 #pragma region Define Common EnumResourceTypes
1149 #if !defined(VCWINRT_DLL)
1170 #else // VCWINRT_DLL
1171 #define __Platform_WindowsCreateString WindowsCreateString
1172 #define __Platform_WindowsDeleteString WindowsDeleteString
1173 #define __Platform_WindowsDuplicateString WindowsDuplicateString
1174 #define __Platform_WindowsGetStringRawBuffer WindowsGetStringRawBuffer
1175 #define __Platform_WindowsGetStringLen WindowsGetStringLen
1176 #define __Platform_WindowsIsStringEmpty WindowsIsStringEmpty
1177 #define __Platform_WindowsStringHasEmbeddedNull WindowsStringHasEmbeddedNull
1178 #define __Platform_WindowsCompareStringOrdinal WindowsCompareStringOrdinal
1179 #define __Platform_WindowsCreateStringReference WindowsCreateStringReference
1180 #define __Platform_WindowsConcatString WindowsConcatString
1181 #define __Platform_CoTaskMemAlloc CoTaskMemAlloc
1182 #define __Platform_CoTaskMemFree CoTaskMemFree
1184 #define __Platform_wcslen wcslen
1185 #define __Platform_memset memset
1187 #endif // VCWINRT_DLL
1191 #pragma region String^ helpers
1209 if (__sourceArg ==
nullptr)
1211 *__destArg = __sourceArg;
1218 inline void CreateStringReference(const ::default::char16* __sourceStringArg,
unsigned int __lengthArg, __Platform_Details_HSTRING_HEADER* __hstringHeaderArg,
__abi_HSTRING* __stringArg)
1242 if(
this != &__fstrArg)
1262 Init(__strArg, __lenArg);
1265 const ::default::char16 *
Data()
const
1275 operator ::
Platform::String^()
const
1277 return reinterpret_cast< ::Platform::String^
>(
__hString);
1280 ::
Platform::String^ GetString()
const
1282 return reinterpret_cast< ::Platform::String^
>(
__hString);
1299 unsigned int __length = 0;
1301 Init(__source, __length);
1303 void Init(const ::default::char16* __strArg,
unsigned __int64 __lenArg)
1305 if ((__strArg ==
nullptr) || (__lenArg == 0))
1307 else if (__lenArg > 0xffffffffLL)
1308 __abi_WinRTraiseInvalidArgumentException();
1311 unsigned int __length = (
unsigned int) (__lenArg & 0xffffffffLL);
1315 void Init(const ::default::char16* __strArg,
unsigned int __lenArg)
1317 if ((__strArg ==
nullptr) || (__lenArg == 0))
1331 inline
void* __abi_winrt_ptrto_string_ctor(const volatile ::
Platform::String ^__strArg)
1336 auto __pRaw =
reinterpret_cast<__abi_HSTRING>((
const_cast< ::Platform::String^
>(__strArg)));
1344 inline
void* __abi_winrt_ptrto_string_assign(
void** __ppTargetArg, const volatile ::
Platform::String ^__pSourceArg)
1347 if ( *__ppTargetArg != reinterpret_cast<void*>(
__pRaw) )
1351 __abi_details::__abi_delete_String(reinterpret_cast< ::Platform::String^>(*__ppTargetArg));
1353 *__ppTargetArg =
nullptr;
1358 *__ppTargetArg = __hstr;
1368 inline
void __abi_delete_String(::
Platform::String^ __strArg)
1384 #if !defined(VCWINRT_DLL)
1403 __declspec(dllexport)
void* __stdcall GetIBoxArrayVtable(
void*);
1404 __declspec(dllexport)
void* __stdcall GetIBoxVtable(
void*);
1406 template<typename T>
1410 public [::
Windows::Foundation::Metadata::Default] [::
Platform::Metadata::RuntimeClassName] ::
Platform::IBox<T>,
1411 public ::
Platform::Details::IPrintable
1417 *
reinterpret_cast<void**
>(
static_cast< ::Platform::IValueType^
>(
this)) =
1418 GetIBoxVtable(reinterpret_cast<void*>(
static_cast< ::Platform::IBox<T>^
>(
this)));
1421 virtual property T
Value
1429 virtual Platform::String^ ToString()
1431 return ToStringInternal<__is_enum(T)>();
1435 template<
bool isEnum>
1436 Platform::String^ ToStringInternal();
1446 return T::typeid->FullName;
1452 return ::__abi_details::__abi_ObjectToString(
this,
false);
1464 template<
bool __isEnum>
1476 template<
typename __TArg>
1482 template<
typename __TArg>
1488 template<
typename __TArg>
1494 template<
typename __TArg>
1500 template<
typename __TArg>
1506 template<
typename __TArg,
typename __TArg2>
1512 template<
typename __TArg>
1518 template <
typename T>
1523 template <
typename T>
1530 template<
typename __TArg>
1532 __declspec(one_phase_constructed)
1533 __declspec(layout_as_external)
1534 __declspec(no_empty_identity_interface)
1536 public ::Platform::IBox<typename ::Platform::Details::RemoveCV<__TArg>::Type>,
1539 static_assert(__is_enum(__TArg) ||
1541 __is_value_class(__TArg) ||
1542 __is_trivial(__TArg),
"__TArg type of Box<__TArg> must be either value, enum or Platform::String^ type");
1544 typedef typename ::Platform::Details::RemoveCV<__TArg>::Type
__TBoxValue;
1546 Box(__TBoxValue __valueArg)
1549 ::Platform::Object ^
__boxValue = Details::CreateValue(__typeCode, &__valueArg);
1550 if (__boxValue ==
nullptr)
1552 __boxValue =
ref new Details::CustomBox<__TBoxValue>(__valueArg);
1561 if (
this ==
nullptr)
1563 throw ref new ::Platform::NullReferenceException();
1566 return safe_cast< ::Platform::IBox<__TBoxValue>^>(
this)->
Value;
1569 operator Box<const __TBoxValue>^()
1571 return reinterpret_cast<Box<const __TBoxValue>^
>(
this);
1574 operator Box<volatile __TBoxValue>^()
1576 return reinterpret_cast<Box<volatile __TBoxValue>^
>(
this);
1579 operator Box<const volatile __TBoxValue>^()
1581 return reinterpret_cast<Box<const volatile __TBoxValue>^
>(
this);
1584 static operator Box<__TArg>^( ::Platform::IBox<__TArg>^ __boxValueArg)
1586 return reinterpret_cast<Box<__TArg>^
>(__boxValueArg);
1590 virtual property __TBoxValue
Value
1594 if (
this ==
nullptr)
1596 throw ref new ::Platform::NullReferenceException();
1599 return safe_cast< ::Platform::IBox<__TBoxValue>^>(
this)->
Value;
1606 inline Guid::Guid() : __a(0), __b(0), __c(0), __d(0), __e(0), __f(0), __g(0), __h(0), __i(0), __j(0), __k(0)
1610 inline Guid::Guid(__rcGUID_t __guid) :
1611 __a(reinterpret_cast<const __s_GUID&>(__guid).Data1),
1612 __b(reinterpret_cast<const __s_GUID&>(__guid).Data2),
1613 __c(reinterpret_cast<const __s_GUID&>(__guid).Data3),
1614 __d(reinterpret_cast<const __s_GUID&>(__guid).Data4[0]),
1615 __e(reinterpret_cast<const __s_GUID&>(__guid).Data4[1]),
1616 __f(reinterpret_cast<const __s_GUID&>(__guid).Data4[2]),
1617 __g(reinterpret_cast<const __s_GUID&>(__guid).Data4[3]),
1618 __h(reinterpret_cast<const __s_GUID&>(__guid).Data4[4]),
1619 __i(reinterpret_cast<const __s_GUID&>(__guid).Data4[5]),
1620 __j(reinterpret_cast<const __s_GUID&>(__guid).Data4[6]),
1621 __k(reinterpret_cast<const __s_GUID&>(__guid).Data4[7])
1625 inline Guid::operator ::__rcGUID_t()
1627 return reinterpret_cast<__rcGUID_t
>(*this);
1630 inline bool ::Platform::Guid::Equals(::Platform::Guid __guidArg)
1632 auto __al =
reinterpret_cast<const unsigned long*
>(
this);
1633 auto __bl =
reinterpret_cast<const unsigned long*
>(&__guidArg);
1635 return (__al[0] == __bl[0] && __al[1] == __bl[1] && __al[2] == __bl[2] && __al[3] == __bl[3]);
1638 inline bool ::Platform::Guid::Equals(__rcGUID_t __guidArg)
1640 auto __al =
reinterpret_cast<const unsigned long*
>(
this);
1641 auto __bl =
reinterpret_cast<const unsigned long*
>(&__guidArg);
1643 return (__al[0] == __bl[0] && __al[1] == __bl[1] && __al[2] == __bl[2] && __al[3] == __bl[3]);
1648 auto __al =
reinterpret_cast<const unsigned long*
>(&__aArg);
1649 auto __bl =
reinterpret_cast<const unsigned long*
>(&__bArg);
1651 return (__al[0] == __bl[0] && __al[1] == __bl[1] && __al[2] == __bl[2] && __al[3] == __bl[3]);
1656 return !(__aArg == __bArg);
1661 auto __al =
reinterpret_cast<const unsigned long*
>(&__aArg);
1662 auto __bl =
reinterpret_cast<const unsigned long*
>(&__bArg);
1664 if (__al[0] != __bl[0])
1666 return __al[0] < __bl[0];
1669 if (__al[1] != __bl[1])
1671 return __al[1] < __bl[1];
1674 if (__al[2] != __bl[2])
1676 return __al[2] < __bl[2];
1679 if (__al[3] != __bl[3])
1681 return __al[3] < __bl[3];
1687 inline Guid::Guid(
unsigned int __aArg,
unsigned short __bArg,
unsigned short __cArg,
unsigned __int8 __dArg,
1688 unsigned __int8 __eArg,
unsigned __int8 __fArg,
unsigned __int8 __gArg,
unsigned __int8 __hArg,
1689 unsigned __int8 __iArg,
unsigned __int8 __jArg,
unsigned __int8 __kArg) :
1690 __a(__aArg), __b(__bArg), __c(__cArg), __d(__dArg), __e(__eArg), __f(__fArg), __g(__gArg), __h(__hArg), __i(__iArg), __j(__jArg), __k(__kArg)
1694 inline Guid::Guid(
unsigned int __aArg,
unsigned short __bArg,
unsigned short __cArg, const ::Platform::Array<unsigned __int8>^ __dArg) :
1695 __a(__aArg), __b(__bArg), __c(__cArg)
1697 if (__dArg ==
nullptr || __dArg->Length != 8)
1699 __abi_WinRTraiseInvalidArgumentException();
1711 __declspec(selectany) ::
Platform::Guid __winrt_GUID_NULL = {0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
1714 inline void* Details::Heap::Allocate(::Platform::SizeT ,
void* __pPlacementArg)
1716 return __pPlacementArg;
1719 inline void* Details::Heap::Allocate(::Platform::SizeT , ::Platform::SizeT ,
void* __pPlacementArg)
1721 return __pPlacementArg;
1724 inline void Details::Heap::PlacementFree(
void* ,
void* )
1729 template <
typename __TArg>
1730 Platform::Box<typename ::Platform::Details::RemoveCV<__TArg>::Type>^
__abi_create_box(__TArg __boxValueArg)
1732 return ref new ::Platform::Box<__TArg>(__boxValueArg);
1735 template <
typename __TArg>
1738 return safe_cast< ::Platform::Box<__TArg>^>(
__objArg);
1741 template<
typename T>
1743 inline T^ __abi_winrt_cast_from_object_to_delegate(
bool __isDynamicCastArg, ::
Platform::Object^ __objArg)
1745 if (__objArg ==
nullptr) {
1749 auto __p(
dynamic_cast< ::Platform::Details::CustomBox<T^> ^
>(__objArg));
1750 if (__p ==
nullptr) {
1751 if (__isDynamicCastArg) {
1755 __abi_WinRTraiseInvalidCastException();
1761 template<
typename T>
1763 inline ::
Platform::Object^ __abi_winrt_cast_from_delegate_to_object(
bool , T^ __objArg)
1765 if (__objArg ==
nullptr) {
1768 return ref new ::Platform::Details::CustomBox<T^>(
__objArg);
1774 if (
__pUnkMarshal ==
nullptr || __guid.Equals(__uuidof(__abi_IMarshal)) ==
false)
1780 __abi_IUnknown* __pUnkMarshalLocal;
1782 #if !defined(VCWINRT_DLL)
1785 long __hr = ::CoCreateFreeThreadedMarshaler(reinterpret_cast<IUnknown*>(
__weakRefSource->__target), reinterpret_cast<IUnknown**>(&__pUnkMarshalLocal));
1791 __pUnkMarshalLocal->__abi_Release();
1797 inline long __stdcall ::Platform::Details::ControlBlock::__abi_QueryInterface(::Platform::Guid& __riid,
void** __ppvObject)
1799 if (__riid.Equals(__uuidof(__abi_IUnknown)) ||
1800 __riid.Equals(__uuidof(__abi_IWeakReference)))
1803 *__ppvObject =
this;
1806 *__ppvObject =
nullptr;
1810 #pragma region String
1811 #pragma region String^ API
1815 #if !defined(_PREFIX_) && !defined(_PREFAST_)
1819 inline String::String()
1829 return *
reinterpret_cast<String^*
>(&__hstr);
1833 inline String::String(const ::default::char16* __strArg)
1835 if (__strArg ==
nullptr)
1840 return *
reinterpret_cast<String^*
>(&__hstr);
1844 inline String::String(const ::default::char16* __strArg,
unsigned int __lenArg)
1846 if ((__strArg ==
nullptr) || (__lenArg == 0))
1851 return *
reinterpret_cast<String^*
>(&__hstr);
1854 #endif // !defined(_PREFIX_) && !defined(_PREFAST_)
1856 inline const ::default::char16* String::Begin()
1860 inline const ::default::char16* String::End()
1862 return Data() + Length();
1865 inline Platform::String^ Object::ToString()
1867 return ::__abi_details::__abi_ObjectToString(
this,
true);
1870 inline const ::default::char16 * String::Data()
1875 inline unsigned int String::Length()
1879 inline bool String::IsEmpty()
1884 inline bool String::IsFastPass()
1889 inline bool String::Equals(Object^ __strArg)
1893 return (__result == 0);
1896 inline bool String::Equals(String^ __str1Arg)
1900 return (__result == 0);
1902 inline int String::CompareOrdinal(String^ __str1Arg, String^ __str2Arg)
1908 inline int String::GetHashCode()
1911 for (
auto i = Begin();
i != End(); ++
i)
1920 return (__result == 0);
1927 return (__result != 0);
1934 return (__result < 0);
1941 return (__result > 0);
1948 return (__result <= 0);
1955 return (__result >= 0);
1958 inline ::Platform::String ^ ::Platform::String::Concat(::Platform::String^ __str1Arg, ::Platform::String^ __str2Arg)
1960 String^ __str =
nullptr;
1965 inline ::Platform::String ^ ::Platform::String::Concat(::Platform::Object^ __str1Arg, ::Platform::Object^ __str2Arg)
1967 String^ __str =
nullptr;
1968 #pragma warning (suppress:6011) // False positive because __str?Arg not evaluated
1973 inline String^ String::ToString()
1975 return ref new ::Platform::String(Data());
1978 #pragma region string iterators
1979 inline const ::default::char16 *
begin(::Platform::String^ __strArg)
1981 return __strArg->Begin();
1984 inline const ::default::char16 *
end(::Platform::String^ __strArg)
1986 return __strArg->End();
1993 inline ::
Platform::String^ __abi_winrt_CreateSystemStringFromLiteral(const ::default::char16* __strArg)
1995 return ref new ::Platform::String(__strArg);
1998 template<
typename __TArg>
2001 return ref new ::Platform::Array<__TArg, 1>(__sizeArg);
2004 inline __declspec(no_refcount)
__declspec(no_release_return) ::
Platform::String^ __abi_winrt_CreateFastPassSystemStringFromLiteral(const ::default::char16* __strArg,
unsigned int __lenArg, __Platform_Details_HSTRING_HEADER* __psheaderArg)
2008 return *
reinterpret_cast< ::Platform::String^*
>(&__hstr);
2011 inline __declspec(no_refcount)
__declspec(no_release_return) ::
Platform::String^ __abi_winrt_CreateFastPassSystemStringFromLiteral(const
unsigned short* __strArg,
unsigned int __lenArg, __Platform_Details_HSTRING_HEADER* __psheaderArg)
2013 return __abi_winrt_CreateFastPassSystemStringFromLiteral(reinterpret_cast<const ::default::char16*>(__strArg), __lenArg, __psheaderArg);
2018 #pragma region Array
2025 template <
typename __HighLevelType,
unsigned int __dimension>
2028 if (static_cast<unsigned int>(-1) /
sizeof(__HighLevelType) < __elementcountArg)
2030 __abi_WinRTraiseInvalidArgumentException();
2032 auto __arr =
ref new ::Platform::Array<__HighLevelType, __dimension>(
nullptr, 0);
2038 if (!__isFastPassArg)
2040 __arr->Attach(reinterpret_cast<__HighLevelType*>(__srcArg), __elementcountArg);
2044 __arr->AttachFastPass(reinterpret_cast<__HighLevelType*>(__srcArg), __elementcountArg);
2050 template <
typename __HighLevelType,
unsigned int __dimension>
2053 if (__arrArg ==
nullptr)
2055 *__destArg =
nullptr;
2060 __HighLevelType **__destHigh =
reinterpret_cast<__HighLevelType **
>(__destArg);
2061 __arrArg->CopyToOrDetach(__destHigh, __sizeArg);
2065 reinterpret_cast<__abi_IUnknown*
>(
static_cast< ::Platform::Object^
>(__arrArg))->__abi_Release();
2071 template <
typename __LowLevelType,
typename __HighLevelType,
unsigned int __dimension>
2074 if (__arrArg ==
nullptr)
2078 return reinterpret_cast<__LowLevelType*
>(__arrArg->Data);
2081 template <
typename __TArg>
2090 template <
typename __TArg>
2095 typedef __TArg typeT;
2096 for (
unsigned int __i = 0; __i < __countArg; __i++)
2098 (&__srcArg[__i])->~typeT();
2105 template <
typename __TArg>
2109 void Init(__TArg* __dataArg,
unsigned int __sizeArg,
bool __needsInitArg =
false)
2114 (*__pArrayThis)->ArrayReferenceInit();
2118 if (static_cast<unsigned int>(-1) /
sizeof(__TArg) < __sizeArg)
2120 __abi_WinRTraiseInvalidArgumentException();
2125 (*__pArrayThis)->AttachFastPass(__dataArg, __sizeArg);
2128 ArrayReference(__TArg* __dataArg,
unsigned int __sizeArg,
bool __needsInitArg =
false)
2130 Init(__dataArg, __sizeArg, __needsInitArg);
2136 Init((*__pOther)->__data, (*__pOther)->__size);
2142 Init((*pOther)->__data, (*pOther)->__size);
2146 operator
Array<__TArg>^()
2151 return *__pArrayThis;
2158 #pragma region ::Platform::WriteOnlyArray
2159 template <
typename __TArg>
2164 template <
typename __TArg>
2171 __data = AllocateAndZeroInitialize(__sizeArg);
2175 template <
typename __TArg>
2182 __data = AllocateAndCopyElements(__dataArg, __sizeArg);
2186 template <
typename __TArg>
2189 if ((__fastpassflag ==
false) && (__data !=
nullptr))
2196 template <
typename __TArg>
2199 if (__data ==
nullptr)
2201 __abi_WinRTraiseNullReferenceException();
2204 if (__positionArg >= 0 && __positionArg < __size)
2206 __data[__positionArg] = __valueArg;
2207 return __data[__positionArg];
2210 __abi_WinRTraiseOutOfBoundsException();
2213 template <
typename __TArg>
2216 if (__data ==
nullptr)
2218 __abi_WinRTraiseNullReferenceException();
2221 if (__positionArg >= 0 && __positionArg < __size)
2223 return __data[__positionArg];
2226 __abi_WinRTraiseOutOfBoundsException();
2229 #if defined(_PREFIX_) || defined(_PREFAST_)
2230 template <
typename __TArg>
2233 if (__data ==
nullptr)
2235 __abi_WinRTraiseNullReferenceException();
2238 if (__positionArg >= 0 && __positionArg < __size)
2240 return __data[__positionArg];
2243 __abi_WinRTraiseOutOfBoundsException();
2245 #endif // #if defined(_PREFIX_) || defined(_PREFAST_)
2247 template <
typename __TArg>
2250 if (__data ==
nullptr)
2255 return &(__data[0]);
2258 template <
typename __TArg>
2261 if (__data ==
nullptr)
2266 return &(__data[__size]);
2269 template <
typename __TArg>
2275 template <
typename __TArg>
2278 return this->
begin();
2281 template <
typename __TArg>
2284 return __fastpassflag;
2287 template <
typename __TArg>
2291 __fastpassflag =
false;
2295 template <
typename __TArg>
2298 __TArg* __dest =
nullptr;
2299 if (__countArg == 0)
2304 if (static_cast<unsigned int>(-1) /
sizeof(__TArg) < __countArg)
2306 __abi_WinRTraiseInvalidCastException();
2309 if (__dest ==
nullptr)
2311 __abi_WinRTraiseOutOfMemoryException();
2318 template <
typename __TArg>
2321 __TArg* __dest = AllocateAndZeroInitialize(__countArg);
2322 for (
unsigned int __i = 0; __i < __countArg; ++__i)
2324 __dest[__i] = __srcArg[__i];
2330 #pragma region ::Platform::Array
2331 template <
typename __TArg>
2334 *
reinterpret_cast<void**
>(
static_cast< ::Platform::IValueType^
>(
this)) =
2335 Details::GetIBoxArrayVtable(reinterpret_cast<void*>(
static_cast< ::Platform::IBoxArray<__TArg>^
>(
this)));
2338 template <
typename __TArg>
2339 inline Array<__TArg, 1>::Array(
const Array<__TArg, 1>^ __source) : WriteOnlyArray<__TArg, 1>(__source ? __source->Data : nullptr, __source ? __source->Length : 0)
2341 *
reinterpret_cast<void**
>(
static_cast< ::Platform::IValueType^
>(
this)) =
2342 Details::GetIBoxArrayVtable(reinterpret_cast<void*>(
static_cast< ::Platform::IBoxArray<__TArg>^
>(
this)));
2345 template <
typename __TArg>
2346 inline Array<__TArg, 1>::Array(
unsigned int __sizeArg) : WriteOnlyArray<__TArg, 1>(__sizeArg)
2348 *
reinterpret_cast<void**
>(
static_cast< ::Platform::IValueType^
>(
this)) =
2349 Details::GetIBoxArrayVtable(reinterpret_cast<void*>(
static_cast< ::Platform::IBoxArray<__TArg>^
>(
this)));
2352 template <
typename __TArg>
2353 inline Array<__TArg, 1>::Array(__TArg* __dataArg,
unsigned int __sizeArg) : WriteOnlyArray<__TArg, 1>(__dataArg, __sizeArg)
2355 *
reinterpret_cast<void**
>(
static_cast< ::Platform::IValueType^
>(
this)) =
2356 Details::GetIBoxArrayVtable(reinterpret_cast<void*>(
static_cast< ::Platform::IBoxArray<__TArg>^
>(
this)));
2359 template <
typename T>
2365 #if defined(_PREFIX_) || defined(_PREFAST_)
2366 template <
typename T>
2367 inline T& Array<T, 1>::operator[](
unsigned int __positionArg)
const
2369 return WriteOnlyArray<T, 1>::operator[](__positionArg);
2371 #endif // defined(_PREFIX_) || defined(_PREFAST_)
2373 template <
typename __TArg>
2379 template <
typename __TArg>
2380 inline void Array<__TArg, 1>::Attach(__TArg* __srcArg,
unsigned int __sizeArg)
2390 if (__size == 0 && __data ==
nullptr)
2393 __fastpassflag =
false;
2398 __abi_WinRTraiseFailureException();
2401 template <
typename __TArg>
2402 inline void Array<__TArg, 1>::AttachFastPass(__TArg* __srcArg,
unsigned int __sizeArg)
2411 if (__size == 0 && __data ==
nullptr)
2414 __fastpassflag =
true;
2419 __abi_WinRTraiseFailureException();
2422 template <
typename __TArg>
2423 inline void Array<__TArg, 1>::CopyToOrDetach(__TArg** __destArg,
unsigned int* __sizeArg)
2434 if ((__destArg ==
nullptr) || (__sizeArg ==
nullptr))
2436 __abi_WinRTraiseNullReferenceException();
2439 if (this->__size == 0)
2441 *__destArg =
nullptr;
2446 if(this->__data ==
nullptr)
2448 __abi_WinRTraiseFailureException();
2451 if (!this->__fastpassflag && this->__abi_reference_count.Get() == 1)
2453 *__destArg = this->__data;
2454 *__sizeArg = this->__size;
2457 else if (this->__fastpassflag || this->__abi_reference_count.Get() > 1)
2459 *__destArg = this->AllocateAndCopyElements(this->__data, this->__size);
2460 *__sizeArg = this->__size;
2464 __abi_WinRTraiseFailureException();
2470 #pragma region Array iterators
2471 template<
class __TArg>
2474 return __arrArg->begin();
2477 template<
class __TArg>
2480 return __arrArg->end();
2490 #if !defined(VCWINRT_DLL)
2491 __declspec(dllimport) void __stdcall EventSourceInitialize(
void**);
2492 __declspec(dllimport)
void __stdcall EventSourceUninitialize(
void**);
2493 __declspec(dllimport)
void* __stdcall EventSourceGetTargetArray(
void*, EventLock*);
2494 __declspec(dllimport)
unsigned int __stdcall EventSourceGetTargetArraySize(
void*);
2495 __declspec(dllimport)
void* __stdcall EventSourceGetTargetArrayEvent(
void*,
unsigned int, const
void*, __int64*);
2496 __declspec(dllimport) ::
Windows::Foundation::EventRegistrationToken __stdcall EventSourceAdd(
void**, EventLock*, ::
Platform::Delegate^);
2497 __declspec(dllimport)
void __stdcall EventSourceRemove(
void**, EventLock*, ::
Windows::Foundation::EventRegistrationToken);
2498 __declspec(dllimport) __abi_IUnknown* __stdcall GetWeakReference(const volatile ::
Platform::Object^ const other);
2499 __declspec(dllimport)
__declspec(no_refcount) ::
Platform::Object^ __stdcall ResolveWeakReference(const ::_GUID& guid, __abi_IUnknown** weakRef);
2501 __declspec(dllexport) void __stdcall EventSourceInitialize(
void**);
2502 __declspec(dllexport)
void __stdcall EventSourceUninitialize(
void**);
2503 __declspec(dllexport)
void* __stdcall EventSourceGetTargetArray(
void*, EventLock*);
2504 __declspec(dllexport)
unsigned int __stdcall EventSourceGetTargetArraySize(
void*);
2505 __declspec(dllexport)
void* __stdcall EventSourceGetTargetArrayEvent(
void*,
unsigned int, const
void*, __int64*);
2506 __declspec(dllexport) ::
Windows::Foundation::EventRegistrationToken __stdcall EventSourceAdd(
void**, EventLock*, ::
Platform::Delegate^);
2507 __declspec(dllexport)
void __stdcall EventSourceRemove(
void**, EventLock*, ::
Windows::Foundation::EventRegistrationToken);
2508 __declspec(dllexport) __abi_IUnknown* __stdcall GetWeakReference(const volatile ::
Platform::Object^ const other);
2509 __declspec(dllexport)
__declspec(no_refcount) ::
Platform::Object^ __stdcall ResolveWeakReference(const ::_GUID& guid, __abi_IUnknown** weakRef);
2518 Details::EventSourceInitialize(&
__targets);
2523 Details::EventSourceUninitialize(&
__targets);
2526 ::Windows::Foundation::EventRegistrationToken
Add(
Details::EventLock* __lockArg, ::Platform::Object^ __delegateInterfaceArg)
2528 return Details::EventSourceAdd(&
__targets, __lockArg, reinterpret_cast< ::Platform::Delegate^>(__delegateInterfaceArg));
2533 Details::EventSourceRemove(&
__targets, __lockArg, __tokenArg);
2538 template <
typename __TDelegate,
typename __TReturnType,
typename __TInvokeMethod>
2551 ::Platform::Object^ __targetsLoc;
2553 *
reinterpret_cast<void**
>(&__targetsLoc) = Details::EventSourceGetTargetArray(
__targets, __lockArg);
2555 typename __TReturnType __returnVal =
typename __TReturnType();
2557 if (__targetsLoc !=
nullptr)
2559 const unsigned int __size = Details::EventSourceGetTargetArraySize(reinterpret_cast<void*>(__targetsLoc));
2561 for (
unsigned int __index = 0; __index < __size; __index++)
2563 ::Windows::Foundation::EventRegistrationToken __token = {};
2567 __TDelegate^ __element;
2568 *
reinterpret_cast<void**
>(&__element) = Details::EventSourceGetTargetArrayEvent(
2569 reinterpret_cast<void*>(__targetsLoc),
2571 reinterpret_cast<const void*
>(&__uuidof(__TDelegate^)),
2575 __returnVal = (__invokeOneArg)(__element);
2577 catch(::Platform::Exception^ e)
2579 int __hr = e->HResult;
2580 if (__hr == 0x800706BA
2581 || __hr == 0x80010108
2582 || __hr == 0x89020001 )
2584 Details::EventSourceRemove(&
__targets, __lockArg, __token);
2598 template <
typename __TDelegate,
typename __TInvokeMethod>
2611 ::Platform::Object^ __targetsLoc;
2613 *
reinterpret_cast<void**
>(&__targetsLoc) = Details::EventSourceGetTargetArray(
__targets, __lockArg);
2616 if (__targetsLoc !=
nullptr)
2618 const unsigned int __size = Details::EventSourceGetTargetArraySize(reinterpret_cast<void*>(__targetsLoc));
2620 for (
unsigned int __index = 0; __index < __size; __index++)
2622 ::Windows::Foundation::EventRegistrationToken __token = {};
2626 __TDelegate^ __element;
2627 *
reinterpret_cast<void**
>(&__element) = Details::EventSourceGetTargetArrayEvent(
2628 reinterpret_cast<void*>(__targetsLoc),
2630 reinterpret_cast<const void*
>(&__uuidof(__TDelegate^)),
2634 (__invokeOneArg)(__element);
2636 catch(::Platform::Exception^ e)
2638 int __hr = e->HResult;
2639 if (__hr == 0x800706BA
2640 || __hr == 0x80010108
2641 || __hr == 0x89020001 )
2643 Details::EventSourceRemove(&
__targets, __lockArg, __token);
2655 template <
typename __TLambda,
typename... __TArgs >
2658 DoInvokeVoid<__TLambda>(__lockArg, [__args...](__TLambda^ __lambda) ->
void { __lambda(__args...); });
2661 template <
typename __TLambda,
typename __TReturnType,
typename... __TArgs >
2664 return DoInvoke<__TLambda, __TReturnType>(__lockArg, [__args...](__TLambda^ __lambda) ->
typename __TReturnType {
return __lambda(__args...); });
2676 static void __stdcall
RunServer(const ::default::char16* __serverName =
nullptr);
2677 static ::Platform::Details::IActivationFactory^ __stdcall
GetActivationFactory(::Platform::String^);
2694 if (__weakPtr !=
nullptr)
2696 __weakPtr->__abi_AddRef();
2703 if (__tmp !=
nullptr)
2705 __weakPtr =
nullptr;
2706 __tmp->__abi_Release();
2732 __otherArg.__weakPtr =
nullptr;
2735 explicit WeakReference(
const volatile ::Platform::Object^
const __otherArg) : __weakPtr(nullptr)
2737 __weakPtr = Details::GetWeakReference(__otherArg);
2753 if (&__otherArg !=
this)
2756 __weakPtr = __otherArg.__weakPtr;
2765 __weakPtr = __otherArg.__weakPtr;
2766 __otherArg.__weakPtr =
nullptr;
2772 __abi_IUnknown* __weakPtrLoc = Details::GetWeakReference(__otherArg);
2774 __weakPtr = __weakPtrLoc;
2778 template<
typename __TArg>
2780 __TArg^ Resolve()
const
2782 return reinterpret_cast<__TArg^
>(Details::ResolveWeakReference(__uuidof(__TArg^), &__weakPtr));
2791 friend
bool operator==(const
WeakReference&, decltype(__nullptr)) throw();
2792 friend
bool operator==(decltype(__nullptr), const WeakReference&) throw();
2793 friend
bool operator!=(const WeakReference&, const WeakReference&) throw();
2794 friend
bool operator!=(const WeakReference&, decltype(__nullptr)) throw();
2795 friend
bool operator!=(decltype(__nullptr), const WeakReference&) throw();
2796 friend
bool operator<(const WeakReference&, const WeakReference&) throw();
2799 inline
bool operator==(const WeakReference& __aArg, const WeakReference& __bArg) throw()
2801 return __aArg.
__weakPtr == __bArg.__weakPtr;
2811 return __bArg.__weakPtr ==
nullptr;
2816 return __aArg.
__weakPtr != __bArg.__weakPtr;
2826 return __bArg.__weakPtr !=
nullptr;
2831 return __aArg.
__weakPtr < __bArg.__weakPtr;
2835 namespace Windows {
namespace Foundation
2837 inline Point::Point(
float __xArg,
float __yArg) : X(__xArg), Y(__yArg)
2843 return __point1Arg.X == __point2Arg.X && __point1Arg.Y == __point2Arg.Y;
2848 return !(__point1Arg == __point2Arg);
2852 inline Size::Size(
float __widthArg,
float __heightArg)
2854 if (__widthArg < 0 || __heightArg < 0)
2856 __abi_WinRTraiseInvalidArgumentException();
2860 Height = __heightArg;
2870 return __size1Arg.Height == __size2Arg.Height && __size1Arg.Width == __size2Arg.Width;
2875 return !(__size1Arg == __size2Arg);
2878 inline Rect::Rect(
float __xArg,
float __yArg,
float __widthArg,
float __heightArg)
2880 if (__widthArg < 0 || __heightArg < 0)
2882 __abi_WinRTraiseInvalidArgumentException();
2888 Height = __heightArg;
2908 return __rect1Arg.X == __rect2Arg.X
2909 && __rect1Arg.Y == __rect2Arg.Y
2910 && __rect1Arg.Width == __rect2Arg.Width
2911 && __rect1Arg.Height == __rect2Arg.Height;
2916 return !(__rect1Arg == __rect2Arg);
2922 inline Thickness::Thickness(
double __uniformLengthArg)
2924 Left = Top = Right = Bottom = __uniformLengthArg;
2927 inline Thickness::Thickness(
double __leftArg,
double __topArg,
double __rightArg,
double __bottomArg)
2932 Bottom = __bottomArg;
2937 return __thickness1Arg.Left == __thickness2Arg.Left &&
2938 __thickness1Arg.Top == __thickness2Arg.Top &&
2939 __thickness1Arg.Right == __thickness2Arg.Right &&
2940 __thickness1Arg.Bottom == __thickness2Arg.Bottom;
2945 return !(__thickness1Arg == __thickness2Arg);
2948 inline CornerRadius::CornerRadius(
double __uniformRadiusArg)
2950 TopLeft = TopRight = BottomRight = BottomLeft = __uniformRadiusArg;
2953 inline CornerRadius::CornerRadius(
double __topLeftArg,
double __topRightArg,
double __bottomRightArg,
double __bottomLeftArg)
2955 TopLeft = __topLeftArg;
2956 TopRight = __topRightArg;
2957 BottomRight = __bottomRightArg;
2958 BottomLeft = __bottomLeftArg;
2963 return __cornerRadius1Arg.TopLeft == __cornerRadius2Arg.TopLeft &&
2964 __cornerRadius1Arg.TopRight == __cornerRadius2Arg.TopRight &&
2965 __cornerRadius1Arg.BottomRight == __cornerRadius2Arg.BottomRight &&
2966 __cornerRadius1Arg.BottomLeft == __cornerRadius2Arg.BottomLeft;
2971 return !(__cornerRadius1Arg == __cornerRadius2Arg);
2978 return Matrix(1, 0, 0, 1, 0, 0);
2991 inline Windows::Foundation::Point Matrix::Transform(Windows::Foundation::Point __pointArg)
2993 float x = __pointArg.X;
2994 float y = __pointArg.Y;
2995 double num = (y * M21) + OffsetX;
2996 double num2 = (x * M12) + OffsetY;
3001 return Windows::Foundation::Point(x, y);
3004 inline Matrix::Matrix(
double __m11Arg,
double __m12Arg,
double __m21Arg,
double __m22Arg,
double __offsetXArg,
double __offsetYArg)
3010 OffsetX = __offsetXArg;
3011 OffsetY = __offsetYArg;
3017 __matrix1Arg.M11 == __matrix2Arg.M11 &&
3018 __matrix1Arg.M12 == __matrix2Arg.M12 &&
3019 __matrix1Arg.M21 == __matrix2Arg.M21 &&
3020 __matrix1Arg.M22 == __matrix2Arg.M22 &&
3021 __matrix1Arg.OffsetX == __matrix2Arg.OffsetX &&
3022 __matrix1Arg.OffsetY == __matrix2Arg.OffsetY;
3027 return !(__matrix1Arg == __matrix2Arg);
3034 return Matrix3D(1, 0, 0, 0,
3042 return M11 == 1 && M12 == 0 && M13 == 0 && M14 == 0 &&
3043 M21 == 0 && M22 == 1 && M23 == 0 && M24 == 0 &&
3044 M31 == 0 && M32 == 0 && M33 == 1 && M34 == 0 &&
3045 OffsetX == 0 && OffsetY == 0 && OffsetZ == 0 && M44 == 1;
3048 inline Matrix3D::Matrix3D(
double __m11Arg,
double __m12Arg,
double __m13Arg,
double __m14Arg,
3049 double __m21Arg,
double __m22Arg,
double __m23Arg,
double __m24Arg,
3050 double __m31Arg,
double __m32Arg,
double __m33Arg,
double __m34Arg,
3051 double __offsetXArg,
double __offsetYArg,
double __offsetZArg,
double __m44Arg)
3065 OffsetX = __offsetXArg;
3066 OffsetY = __offsetYArg;
3067 OffsetZ = __offsetZArg;
3074 __matrix1Arg.M11 == __matrix2Arg.M11 &&
3075 __matrix1Arg.M12 == __matrix2Arg.M12 &&
3076 __matrix1Arg.M13 == __matrix2Arg.M13 &&
3077 __matrix1Arg.M14 == __matrix2Arg.M14 &&
3078 __matrix1Arg.M21 == __matrix2Arg.M21 &&
3079 __matrix1Arg.M22 == __matrix2Arg.M22 &&
3080 __matrix1Arg.M23 == __matrix2Arg.M23 &&
3081 __matrix1Arg.M24 == __matrix2Arg.M24 &&
3082 __matrix1Arg.M31 == __matrix2Arg.M31 &&
3083 __matrix1Arg.M32 == __matrix2Arg.M32 &&
3084 __matrix1Arg.M33 == __matrix2Arg.M33 &&
3085 __matrix1Arg.M34 == __matrix2Arg.M34 &&
3086 __matrix1Arg.OffsetX == __matrix2Arg.OffsetX &&
3087 __matrix1Arg.OffsetY == __matrix2Arg.OffsetY &&
3088 __matrix1Arg.OffsetZ == __matrix2Arg.OffsetZ &&
3089 __matrix1Arg.M44 == __matrix2Arg.M44;
3094 return !(__matrix1Arg == __matrix2Arg);
3100 inline KeyTime::KeyTime(Windows::Foundation::TimeSpan __timeSpanArg)
3102 if (__timeSpanArg.Duration < 0 )
3104 __abi_WinRTraiseInvalidArgumentException();
3106 TimeSpan = __timeSpanArg;
3111 return __keyTime1Arg.TimeSpan.Duration == __keyTime2Arg.TimeSpan.Duration;
3116 return !(__keyTime1Arg == __keyTime2Arg);
3119 inline RepeatBehavior::RepeatBehavior(Windows::Foundation::TimeSpan __durationArg)
3121 if (__durationArg.Duration < 0 )
3123 __abi_WinRTraiseInvalidArgumentException();
3126 __duration = __durationArg;
3128 __type = RepeatBehaviorType::Duration;
3148 RepeatBehavior forever;
3149 Windows::Foundation::TimeSpan ts = {0};
3150 forever.__duration = ts;
3151 forever.__count = 0.0;
3152 forever.__type = RepeatBehaviorType::Forever;
3159 return __type == RepeatBehaviorType::Count;
3164 return __type == RepeatBehaviorType::Duration;
3170 if (__repeatBehavior1Arg.__type == __repeatBehavior2Arg.__type)
3172 switch (__repeatBehavior1Arg.__type)
3174 case RepeatBehaviorType::Forever:
3177 case RepeatBehaviorType::Count:
3178 return __repeatBehavior1Arg.__count == __repeatBehavior2Arg.__count;
3180 case RepeatBehaviorType::Duration:
3182 return __repeatBehavior1Arg.__duration.Duration == __repeatBehavior2Arg.__duration.Duration;
3196 return !(__repeatBehavior1Arg == __repeatBehavior2Arg);
3202 inline Duration::Duration(Windows::Foundation::TimeSpan __timeSpanArg)
3204 __durationType = DurationType::TimeSpan;
3205 __timeSpan = __timeSpanArg;
3210 if (__t1Arg.HasTimeSpan)
3212 if (__t2Arg.HasTimeSpan)
3214 return __t1Arg.__timeSpan.Duration == __t2Arg.__timeSpan.Duration;
3223 return __t1Arg.__durationType == __t2Arg.__durationType;
3229 return !(__t1Arg == __t2Arg);
3234 return (__durationType == DurationType::TimeSpan);
3239 Duration __duration;
3240 __duration.__durationType = DurationType::Automatic;
3247 Duration __duration;
3248 __duration.__durationType = DurationType::Forever;
3261 Windows::Foundation::TimeSpan __timeSpanLoc;
3262 __timeSpanLoc.Duration = 0;
3263 return __timeSpanLoc;
3267 inline GridLength::GridLength(
double __pixelsArg)
3269 *
this = GridLength(__pixelsArg, Windows::UI::Xaml::GridUnitType::Pixel);
3274 return (__unitType == Windows::UI::Xaml::GridUnitType::Auto ) ? GridLength(1.0, Windows::UI::Xaml::GridUnitType::Auto).__unitValue : __unitValue;
3279 return (__unitType);
3284 return (__unitType == Windows::UI::Xaml::GridUnitType::Pixel);
3289 return (__unitType == Windows::UI::Xaml::GridUnitType::Auto);
3294 return (__unitType == Windows::UI::Xaml::GridUnitType::Star) ;
3299 return ( GridLength(1.0, Windows::UI::Xaml::GridUnitType::Auto));
3304 if (__gridLength1Arg.GridUnitType == __gridLength2Arg.GridUnitType)
3306 if (__gridLength1Arg.IsAuto || __gridLength1Arg.__unitValue == __gridLength2Arg.__unitValue)
3316 return !(__gridLength1Arg == __gridLength2Arg);
3321 #if !defined(VCWINRT_DLL)
3325 #pragma comment(linker, "/EXPORT:DllGetActivationFactory=_DllGetActivationFactory@8,PRIVATE")
3326 #pragma comment(linker, "/EXPORT:DllCanUnloadNow=_DllCanUnloadNow@0,PRIVATE")
3328 #pragma comment(linker, "/EXPORT:DllGetActivationFactory=DllGetActivationFactory,PRIVATE")
3329 #pragma comment(linker, "/EXPORT:DllCanUnloadNow,PRIVATE")
3333 #pragma comment(linker, "/INCLUDE:___abi__initialize")
3335 #pragma comment(linker, "/INCLUDE:__abi__initialize")
3337 #endif // _WINRT_DLL
3340 #pragma comment(lib, "vccorlibd.lib")
3342 #pragma comment(lib, "vccorlib.lib")
3344 #endif // !defined(VCWINRT_DLL)
3348 #pragma initialize_winrt_types_done
3351 #pragma warning( pop )
3353 #if defined(__VCCORLIB_H_ENABLE_ALL_WARNINGS)
3354 #pragma warning(pop)
3357 #endif // _VCCORLIB_H_
long __stdcall Get() volatile
Definition: vccorlib.h:806
inline::Platform::Array< __TArg, 1 > __abi_winrt_CreateArray(unsigned int __sizeArg)
Definition: vccorlib.h:1999
int __stdcall __Platform_WindowsIsStringEmpty(__abi_HSTRING)
int numcalls_AddRef
Definition: vccorlib.h:129
_Variant_copymove_layer_ & operator=(_Variant_copymove_layer_ &&_That) _NOEXCEPT_OP((conjunction< is_nothrow_move_constructible< _Types >...
unsigned long Decrement() volatile
Definition: vccorlib.h:249
reference_wrapper< _Ty > ref(_Ty &_Val) _NOEXCEPT
Definition: type_traits:1839
__interface virtual __declspec(uuid("00000001-0000-0000-C000-000000000046")) __abi_IClassFactory long __stdcall __abi_LockServer(int)=0
long __stdcall __Platform_WindowsStringHasEmbeddedNull(__abi_HSTRING, int *)
return * __ppTargetArg
Definition: vccorlib.h:1361
int refcount
Definition: vccorlib.h:136
long __stdcall __windowsCreateString(const __wchar_t *, int, __abi_HSTRING *)
__declspec(non_user_code)~__abi_dtor_helper()
Definition: vccorlib.h:441
const volatile T __objArg
Definition: vccorlib.h:429
const __wchar_t * __serverName
Definition: vccorlib.h:1073
void __abi_SetInstrumentationData(__abi_WinClassInstrumentation *__callbackArg)
Definition: vccorlib.h:152
Definition: vccorlib.h:350
constexpr _Ty & get(array< _Ty, _Size > &_Arr) _NOEXCEPT
Definition: array:487
__interface virtual __declspec(uuid("AF86E2E0-B12D-4c6a-9C5A-D7AA65101E90")) __abi_IInspectable long __stdcall __abi_GetRuntimeClassName(__abi_HSTRING *)=0
__declspec(non_user_code) __declspec(no_refcount) inline void __abi_delete_String(
Definition: vccorlib.h:1367
const volatile::Platform::Object __objArg __abi_IUnknown * __pUnknown
Definition: vccorlib.h:397
int numcalls_QueryInterface
Definition: vccorlib.h:128
Definition: vccorlib.h:434
long(__stdcall *__factoryCreator)(unsigned int *
__abi_IUnknown * __factory
Definition: vccorlib.h:1057
long __stdcall __getIids(int, unsigned long *, const __s_GUID *,::Platform::Guid **)
__abi_TrustLevel
Definition: vccorlib.h:194
Definition: vccorlib.h:1055
__declspec(non_user_code) __abi_MultiThreadedRefCount()
Definition: vccorlib.h:227
long __stdcall __Platform_WindowsConcatString(__abi_HSTRING, __abi_HSTRING, __abi_HSTRING *)
Definition: vccorlib.h:196
struct __Platform_Details_HSTRING_HEADER __Platform_Details_HSTRING_HEADER
void *__cdecl __Platform_memset(void *, int, size_t)
__abi_Module * __abi_module
__declspec(non_user_code) __declspec(non_user_code) long __stdcall __Platform_WindowsCreateString(const ::default::char16 *, unsigned int, __abi_HSTRING *)
size_t __cdecl __Platform_wcslen(const ::default::char16 *)
unsigned long __stdcall Decrement() volatile
Definition: vccorlib.h:765
Definition: vccorlib.h:197
long __stdcall __Platform_WindowsCreateStringReference(const ::default::char16 *, unsigned int, __Platform_Details_HSTRING_HEADER *, __abi_HSTRING *)
int numcalls_Release
Definition: vccorlib.h:130
int numcalls_Other
Definition: vccorlib.h:134
void ReleaseControlBlock() volatile
Definition: vccorlib.h:268
Definition: vccorlib.h:198
int i[4]
Definition: dvec.h:68
int numcalls_GetRuntimeClassName
Definition: vccorlib.h:132
Definition: vccorlib.h:117
Definition: vccorlib.h:701
Definition: vccorlib.h:1063
__declspec(dllimport) Platform::String __abi_CustomToString(void *)
Definition: vccorlib.h:1390
_CONCRTIMP void __cdecl Free(_Pre_maybenull_ _Post_invalid_ void *_PAllocation)
Releases a block of memory previously allocated by the Alloc method to the Concurrency Runtime Cachin...
unsigned long Increment() volatile
Definition: vccorlib.h:244
inline::Platform::Details::IWeakReference GetWeakReference()
Definition: vccorlib.h:801
void __abi_ThrowIfFailed(long __hrArg)
Definition: vccorlib.h:96
long __stdcall __Platform_CoCreateFreeThreadedMarshaler(::Platform::Object^,::Platform::Object^*)
long __refcount
Definition: vccorlib.h:225
Definition: vccorlib.h:110
__declspec(non_user_code) __abi_FTMWeakRefData(
Definition: vccorlib.h:710
__abi_IUnknown ** __ppTargetUnknown
Definition: vccorlib.h:398
Definition: vccorlib.h:1378
Platform::Box< typename::Platform::Details::RemoveCV< __TArg >::Type > __abi_create_box(__TArg __boxValueArg)
Definition: vccorlib.h:1730
_CRT_BEGIN_C_HEADER typedef void(__CRTDECL *terminate_handler)()
unsigned int __stdcall __Platform_WindowsGetStringLen(__abi_HSTRING)
const __wchar_t * __typeName
Definition: vccorlib.h:1380
unsigned long __stdcall Increment() volatile
Definition: vccorlib.h:755
__abi___FactoryCache * __factoryCache
Definition: vccorlib.h:1072
__interface __declspec(uuid("00000035-0000-0000-C000-000000000046")) __abi_IActivationFactory
Definition: vccorlib.h:286
const volatile::Platform::String __pSourceArg auto __pRaw
Definition: vccorlib.h:1346
#define false
Definition: stdbool.h:16
void * _InterlockedCompareExchangePointer(void *volatile *, void *, void *)
long __stdcall __Platform_WindowsCompareStringOrdinal(__abi_HSTRING, __abi_HSTRING, int *)
void ReleaseControlBlock()
Definition: vccorlib.h:817
void *__stdcall __Platform_CoTaskMemAlloc(size_t)
virtual long __stdcall __abi_GetTrustLevel(__abi_TrustLevel *)=0
void __abi_CopyToAttached()
Definition: vccorlib.h:158
Definition: vccorlib.h:223
__abi_WinClassInstrumentation * callback
Definition: vccorlib.h:126
__TArg __winrt_Empty_Struct()
Definition: vccorlib.h:1047
int numcalls_GetTrustLevel
Definition: vccorlib.h:133
int(__stdcall *__getTrustLevel)()
void * __detach_as_voidptr(void **__ppObjArg)
Definition: vccorlib.h:535
int __typeId
Definition: vccorlib.h:1381
long __stdcall __Platform_WindowsDuplicateString(__abi_HSTRING, __abi_HSTRING *)
__abi_WinClassInstrumentation()
Definition: vccorlib.h:138
bool operator<=(const unorm &_Lhs, const unorm &_Rhs) __GPU
Definition: amp_short_vectors.h:480
long __cdecl _InterlockedDecrement(long volatile *)
long __stdcall __Platform_WindowsDeleteString(__abi_HSTRING)
HSTRING__ * __abi_HSTRING
Definition: vccorlib.h:85
__abi_FTMWeakRefData * GetFreeThreadedMarshaler()
Definition: vccorlib.h:792
__TArg __abi_unbox(::Platform::Object^__objArg)
Definition: vccorlib.h:1736
const ::default::char16 *__stdcall __Platform_WindowsGetStringRawBuffer(__abi_HSTRING, unsigned int *)
void * __cookie
Definition: vccorlib.h:1058
bool operator>=(const unorm &_Lhs, const unorm &_Rhs) __GPU
Definition: amp_short_vectors.h:470
Definition: vccorlib.h:124
__declspec(non_user_code) void __abi_dtor()
Definition: vccorlib.h:236
__abi___classObjectEntry::Platform::Guid __abi_IUnknown **const __wchar_t *__stdcall * __getRuntimeName()
unsigned long Get() volatile
Definition: vccorlib.h:264
__abi_IUnknown *volatile __pUnkMarshal
Definition: vccorlib.h:707
long __cdecl _InterlockedIncrement(long volatile *)
__abi_IUnknown * __pUnknown
Definition: vccorlib.h:436
long __stdcall __abi_QueryInterface(::Platform::Guid &__guid, void **__pOut)
Definition: vccorlib.h:1772
long __cdecl _InterlockedCompareExchange(long volatile *, long, long)
#define true
Definition: stdbool.h:17
int destructed
Definition: vccorlib.h:135
long __stdcall __getActivationFactoryByPCWSTR(void *,::Platform::Guid &, void **)
__declspec(non_user_code) void __abi_dtor()
Definition: vccorlib.h:738
bool operator>(const unorm &_Lhs, const unorm &_Rhs) __GPU
Definition: amp_short_vectors.h:450
void __stdcall __Platform_CoTaskMemFree(void *)
::Platform::Details::ControlBlock * __weakRefSource
Definition: vccorlib.h:706
__declspec(non_user_code) __abi_dtor_helper(const volatile
Definition: vccorlib.h:438
int numcalls_GetIids
Definition: vccorlib.h:131