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>
1507 template<
typename __TArg>
1509 __declspec(one_phase_constructed)
1510 __declspec(layout_as_external)
1511 __declspec(no_empty_identity_interface)
1513 public ::Platform::IBox<typename ::Platform::Details::RemoveCV<__TArg>::Type>,
1516 static_assert(__is_enum(__TArg) || __is_value_class(__TArg) || __is_trivial(__TArg),
"__TArg type of Box<__TArg> must be either value type or enum type");
1518 typedef typename ::Platform::Details::RemoveCV<__TArg>::Type
__TBoxValue;
1520 Box(__TBoxValue __valueArg)
1522 static auto __typeCode = ::Platform::Type::GetTypeCode(__TBoxValue::typeid);
1523 ::Platform::Object ^
__boxValue = Details::CreateValue(__typeCode, &__valueArg);
1524 if (__boxValue ==
nullptr)
1526 __boxValue =
ref new Details::CustomBox<__TBoxValue>(__valueArg);
1535 if (
this ==
nullptr)
1537 throw ref new ::Platform::NullReferenceException();
1540 return safe_cast< ::Platform::IBox<__TBoxValue>^>(
this)->
Value;
1543 operator Box<const __TBoxValue>^()
1545 return reinterpret_cast<Box<const __TBoxValue>^
>(
this);
1548 operator Box<volatile __TBoxValue>^()
1550 return reinterpret_cast<Box<volatile __TBoxValue>^
>(
this);
1553 operator Box<const volatile __TBoxValue>^()
1555 return reinterpret_cast<Box<const volatile __TBoxValue>^
>(
this);
1558 static operator Box<__TArg>^( ::Platform::IBox<__TArg>^ __boxValueArg)
1560 return reinterpret_cast<Box<__TArg>^
>(__boxValueArg);
1564 virtual property __TBoxValue
Value
1568 if (
this ==
nullptr)
1570 throw ref new ::Platform::NullReferenceException();
1573 return safe_cast< ::Platform::IBox<__TBoxValue>^>(
this)->
Value;
1579 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)
1583 inline Guid::Guid(__rcGUID_t __guid) :
1584 __a(reinterpret_cast<const __s_GUID&>(__guid).Data1),
1585 __b(reinterpret_cast<const __s_GUID&>(__guid).Data2),
1586 __c(reinterpret_cast<const __s_GUID&>(__guid).Data3),
1587 __d(reinterpret_cast<const __s_GUID&>(__guid).Data4[0]),
1588 __e(reinterpret_cast<const __s_GUID&>(__guid).Data4[1]),
1589 __f(reinterpret_cast<const __s_GUID&>(__guid).Data4[2]),
1590 __g(reinterpret_cast<const __s_GUID&>(__guid).Data4[3]),
1591 __h(reinterpret_cast<const __s_GUID&>(__guid).Data4[4]),
1592 __i(reinterpret_cast<const __s_GUID&>(__guid).Data4[5]),
1593 __j(reinterpret_cast<const __s_GUID&>(__guid).Data4[6]),
1594 __k(reinterpret_cast<const __s_GUID&>(__guid).Data4[7])
1598 inline Guid::operator ::__rcGUID_t()
1600 return reinterpret_cast<__rcGUID_t
>(*this);
1603 inline bool ::Platform::Guid::Equals(::Platform::Guid __guidArg)
1605 auto __al =
reinterpret_cast<const unsigned long*
>(
this);
1606 auto __bl =
reinterpret_cast<const unsigned long*
>(&__guidArg);
1608 return (__al[0] == __bl[0] && __al[1] == __bl[1] && __al[2] == __bl[2] && __al[3] == __bl[3]);
1611 inline bool ::Platform::Guid::Equals(__rcGUID_t __guidArg)
1613 auto __al =
reinterpret_cast<const unsigned long*
>(
this);
1614 auto __bl =
reinterpret_cast<const unsigned long*
>(&__guidArg);
1616 return (__al[0] == __bl[0] && __al[1] == __bl[1] && __al[2] == __bl[2] && __al[3] == __bl[3]);
1621 auto __al =
reinterpret_cast<const unsigned long*
>(&__aArg);
1622 auto __bl =
reinterpret_cast<const unsigned long*
>(&__bArg);
1624 return (__al[0] == __bl[0] && __al[1] == __bl[1] && __al[2] == __bl[2] && __al[3] == __bl[3]);
1629 return !(__aArg == __bArg);
1634 auto __al =
reinterpret_cast<const unsigned long*
>(&__aArg);
1635 auto __bl =
reinterpret_cast<const unsigned long*
>(&__bArg);
1637 if (__al[0] != __bl[0])
1639 return __al[0] < __bl[0];
1642 if (__al[1] != __bl[1])
1644 return __al[1] < __bl[1];
1647 if (__al[2] != __bl[2])
1649 return __al[2] < __bl[2];
1652 if (__al[3] != __bl[3])
1654 return __al[3] < __bl[3];
1660 inline Guid::Guid(
unsigned int __aArg,
unsigned short __bArg,
unsigned short __cArg,
unsigned __int8 __dArg,
1661 unsigned __int8 __eArg,
unsigned __int8 __fArg,
unsigned __int8 __gArg,
unsigned __int8 __hArg,
1662 unsigned __int8 __iArg,
unsigned __int8 __jArg,
unsigned __int8 __kArg) :
1663 __a(__aArg), __b(__bArg), __c(__cArg), __d(__dArg), __e(__eArg), __f(__fArg), __g(__gArg), __h(__hArg), __i(__iArg), __j(__jArg), __k(__kArg)
1667 inline Guid::Guid(
unsigned int __aArg,
unsigned short __bArg,
unsigned short __cArg, const ::Platform::Array<unsigned __int8>^ __dArg) :
1668 __a(__aArg), __b(__bArg), __c(__cArg)
1670 if (__dArg ==
nullptr || __dArg->Length != 8)
1672 __abi_WinRTraiseInvalidArgumentException();
1684 __declspec(selectany) ::
Platform::Guid __winrt_GUID_NULL = {0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
1687 inline void* Details::Heap::Allocate(::Platform::SizeT ,
void* __pPlacementArg)
1689 return __pPlacementArg;
1692 inline void* Details::Heap::Allocate(::Platform::SizeT , ::Platform::SizeT ,
void* __pPlacementArg)
1694 return __pPlacementArg;
1697 inline void Details::Heap::PlacementFree(
void* ,
void* )
1702 template <
typename __TArg>
1703 Platform::Box<typename ::Platform::Details::RemoveCV<__TArg>::Type>^
__abi_create_box(__TArg __boxValueArg)
1705 return ref new ::Platform::Box<__TArg>(__boxValueArg);
1708 template <
typename __TArg>
1711 return safe_cast< ::Platform::Box<__TArg>^>(
__objArg);
1714 template<
typename T>
1716 inline T^ __abi_winrt_cast_from_object_to_delegate(
bool __isDynamicCastArg, ::
Platform::Object^ __objArg)
1718 if (__objArg ==
nullptr) {
1722 auto __p(
dynamic_cast< ::Platform::Details::CustomBox<T^> ^
>(__objArg));
1723 if (__p ==
nullptr) {
1724 if (__isDynamicCastArg) {
1728 __abi_WinRTraiseInvalidCastException();
1734 template<
typename T>
1736 inline ::
Platform::Object^ __abi_winrt_cast_from_delegate_to_object(
bool , T^ __objArg)
1738 if (__objArg ==
nullptr) {
1741 return ref new ::Platform::Details::CustomBox<T^>(
__objArg);
1747 if (
__pUnkMarshal ==
nullptr || __guid.Equals(__uuidof(__abi_IMarshal)) ==
false)
1753 __abi_IUnknown* __pUnkMarshalLocal;
1755 #if !defined(VCWINRT_DLL)
1758 long __hr = ::CoCreateFreeThreadedMarshaler(reinterpret_cast<IUnknown*>(
__weakRefSource->__target), reinterpret_cast<IUnknown**>(&__pUnkMarshalLocal));
1764 __pUnkMarshalLocal->__abi_Release();
1770 inline long __stdcall ::Platform::Details::ControlBlock::__abi_QueryInterface(::Platform::Guid& __riid,
void** __ppvObject)
1772 if (__riid.Equals(__uuidof(__abi_IUnknown)) ||
1773 __riid.Equals(__uuidof(__abi_IWeakReference)))
1776 *__ppvObject =
this;
1779 *__ppvObject =
nullptr;
1783 #pragma region String
1784 #pragma region String^ API
1788 #if !defined(_PREFIX_) && !defined(_PREFAST_)
1792 inline String::String()
1802 return *
reinterpret_cast<String^*
>(&__hstr);
1806 inline String::String(const ::default::char16* __strArg)
1808 if (__strArg ==
nullptr)
1813 return *
reinterpret_cast<String^*
>(&__hstr);
1817 inline String::String(const ::default::char16* __strArg,
unsigned int __lenArg)
1819 if ((__strArg ==
nullptr) || (__lenArg == 0))
1824 return *
reinterpret_cast<String^*
>(&__hstr);
1827 #endif // !defined(_PREFIX_) && !defined(_PREFAST_)
1829 inline const ::default::char16* String::Begin()
1833 inline const ::default::char16* String::End()
1835 return Data() + Length();
1838 inline Platform::String^ Object::ToString()
1840 return ::__abi_details::__abi_ObjectToString(
this,
true);
1843 inline const ::default::char16 * String::Data()
1848 inline unsigned int String::Length()
1852 inline bool String::IsEmpty()
1857 inline bool String::IsFastPass()
1862 inline bool String::Equals(Object^ __strArg)
1866 return (__result == 0);
1869 inline bool String::Equals(String^ __str1Arg)
1873 return (__result == 0);
1875 inline int String::CompareOrdinal(String^ __str1Arg, String^ __str2Arg)
1881 inline int String::GetHashCode()
1884 for (
auto i = Begin();
i != End(); ++
i)
1893 return (__result == 0);
1900 return (__result != 0);
1907 return (__result < 0);
1914 return (__result > 0);
1921 return (__result <= 0);
1928 return (__result >= 0);
1931 inline ::Platform::String ^ ::Platform::String::Concat(::Platform::String^ __str1Arg, ::Platform::String^ __str2Arg)
1933 String^ __str =
nullptr;
1938 inline ::Platform::String ^ ::Platform::String::Concat(::Platform::Object^ __str1Arg, ::Platform::Object^ __str2Arg)
1940 String^ __str =
nullptr;
1941 #pragma warning (suppress:6011) // False positive because __str?Arg not evaluated
1946 inline String^ String::ToString()
1948 return ref new ::Platform::String(Data());
1951 #pragma region string iterators
1952 inline const ::default::char16 *
begin(::Platform::String^ __strArg)
1954 return __strArg->Begin();
1957 inline const ::default::char16 *
end(::Platform::String^ __strArg)
1959 return __strArg->End();
1966 inline ::
Platform::String^ __abi_winrt_CreateSystemStringFromLiteral(const ::default::char16* __strArg)
1968 return ref new ::Platform::String(__strArg);
1971 template<
typename __TArg>
1974 return ref new ::Platform::Array<__TArg, 1>(__sizeArg);
1977 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)
1981 return *
reinterpret_cast< ::Platform::String^*
>(&__hstr);
1984 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)
1986 return __abi_winrt_CreateFastPassSystemStringFromLiteral(reinterpret_cast<const ::default::char16*>(__strArg), __lenArg, __psheaderArg);
1991 #pragma region Array
1998 template <
typename __HighLevelType,
unsigned int __dimension>
2001 if (static_cast<unsigned int>(-1) /
sizeof(__HighLevelType) < __elementcountArg)
2003 __abi_WinRTraiseInvalidArgumentException();
2005 auto __arr =
ref new ::Platform::Array<__HighLevelType, __dimension>(
nullptr, 0);
2011 if (!__isFastPassArg)
2013 __arr->Attach(reinterpret_cast<__HighLevelType*>(__srcArg), __elementcountArg);
2017 __arr->AttachFastPass(reinterpret_cast<__HighLevelType*>(__srcArg), __elementcountArg);
2023 template <
typename __HighLevelType,
unsigned int __dimension>
2026 if (__arrArg ==
nullptr)
2028 *__destArg =
nullptr;
2033 __HighLevelType **__destHigh =
reinterpret_cast<__HighLevelType **
>(__destArg);
2034 __arrArg->CopyToOrDetach(__destHigh, __sizeArg);
2038 reinterpret_cast<__abi_IUnknown*
>(
static_cast< ::Platform::Object^
>(__arrArg))->__abi_Release();
2044 template <
typename __LowLevelType,
typename __HighLevelType,
unsigned int __dimension>
2047 if (__arrArg ==
nullptr)
2051 return reinterpret_cast<__LowLevelType*
>(__arrArg->Data);
2054 template <
typename __TArg>
2063 template <
typename __TArg>
2068 typedef __TArg typeT;
2069 for (
unsigned int __i = 0; __i < __countArg; __i++)
2071 (&__srcArg[__i])->~typeT();
2078 template <
typename __TArg>
2082 void Init(__TArg* __dataArg,
unsigned int __sizeArg,
bool __needsInitArg =
false)
2087 (*__pArrayThis)->ArrayReferenceInit();
2091 if (static_cast<unsigned int>(-1) /
sizeof(__TArg) < __sizeArg)
2093 __abi_WinRTraiseInvalidArgumentException();
2098 (*__pArrayThis)->AttachFastPass(__dataArg, __sizeArg);
2101 ArrayReference(__TArg* __dataArg,
unsigned int __sizeArg,
bool __needsInitArg =
false)
2103 Init(__dataArg, __sizeArg, __needsInitArg);
2109 Init((*__pOther)->__data, (*__pOther)->__size);
2115 Init((*pOther)->__data, (*pOther)->__size);
2119 operator
Array<__TArg>^()
2124 return *__pArrayThis;
2131 #pragma region ::Platform::WriteOnlyArray
2132 template <
typename __TArg>
2137 template <
typename __TArg>
2144 __data = AllocateAndZeroInitialize(__sizeArg);
2148 template <
typename __TArg>
2155 __data = AllocateAndCopyElements(__dataArg, __sizeArg);
2159 template <
typename __TArg>
2162 if ((__fastpassflag ==
false) && (__data !=
nullptr))
2169 template <
typename __TArg>
2172 if (__data ==
nullptr)
2174 __abi_WinRTraiseNullReferenceException();
2177 if (__positionArg >= 0 && __positionArg < __size)
2179 __data[__positionArg] = __valueArg;
2180 return __data[__positionArg];
2183 __abi_WinRTraiseOutOfBoundsException();
2186 template <
typename __TArg>
2189 if (__data ==
nullptr)
2191 __abi_WinRTraiseNullReferenceException();
2194 if (__positionArg >= 0 && __positionArg < __size)
2196 return __data[__positionArg];
2199 __abi_WinRTraiseOutOfBoundsException();
2202 #if defined(_PREFIX_) || defined(_PREFAST_)
2203 template <
typename __TArg>
2206 if (__data ==
nullptr)
2208 __abi_WinRTraiseNullReferenceException();
2211 if (__positionArg >= 0 && __positionArg < __size)
2213 return __data[__positionArg];
2216 __abi_WinRTraiseOutOfBoundsException();
2218 #endif // #if defined(_PREFIX_) || defined(_PREFAST_)
2220 template <
typename __TArg>
2223 if (__data ==
nullptr)
2228 return &(__data[0]);
2231 template <
typename __TArg>
2234 if (__data ==
nullptr)
2239 return &(__data[__size]);
2242 template <
typename __TArg>
2248 template <
typename __TArg>
2251 return this->
begin();
2254 template <
typename __TArg>
2257 return __fastpassflag;
2260 template <
typename __TArg>
2264 __fastpassflag =
false;
2268 template <
typename __TArg>
2271 __TArg* __dest =
nullptr;
2272 if (__countArg == 0)
2277 if (static_cast<unsigned int>(-1) /
sizeof(__TArg) < __countArg)
2279 __abi_WinRTraiseInvalidCastException();
2282 if (__dest ==
nullptr)
2284 __abi_WinRTraiseOutOfMemoryException();
2291 template <
typename __TArg>
2294 __TArg* __dest = AllocateAndZeroInitialize(__countArg);
2295 for (
unsigned int __i = 0; __i < __countArg; ++__i)
2297 __dest[__i] = __srcArg[__i];
2303 #pragma region ::Platform::Array
2304 template <
typename __TArg>
2307 *
reinterpret_cast<void**
>(
static_cast< ::Platform::IValueType^
>(
this)) =
2308 Details::GetIBoxArrayVtable(reinterpret_cast<void*>(
static_cast< ::Platform::IBoxArray<__TArg>^
>(
this)));
2311 template <
typename __TArg>
2312 inline Array<__TArg, 1>::Array(
const Array<__TArg, 1>^ __source) : WriteOnlyArray<__TArg, 1>(__source ? __source->Data : nullptr, __source ? __source->Length : 0)
2314 *
reinterpret_cast<void**
>(
static_cast< ::Platform::IValueType^
>(
this)) =
2315 Details::GetIBoxArrayVtable(reinterpret_cast<void*>(
static_cast< ::Platform::IBoxArray<__TArg>^
>(
this)));
2318 template <
typename __TArg>
2319 inline Array<__TArg, 1>::Array(
unsigned int __sizeArg) : WriteOnlyArray<__TArg, 1>(__sizeArg)
2321 *
reinterpret_cast<void**
>(
static_cast< ::Platform::IValueType^
>(
this)) =
2322 Details::GetIBoxArrayVtable(reinterpret_cast<void*>(
static_cast< ::Platform::IBoxArray<__TArg>^
>(
this)));
2325 template <
typename __TArg>
2326 inline Array<__TArg, 1>::Array(__TArg* __dataArg,
unsigned int __sizeArg) : WriteOnlyArray<__TArg, 1>(__dataArg, __sizeArg)
2328 *
reinterpret_cast<void**
>(
static_cast< ::Platform::IValueType^
>(
this)) =
2329 Details::GetIBoxArrayVtable(reinterpret_cast<void*>(
static_cast< ::Platform::IBoxArray<__TArg>^
>(
this)));
2332 template <
typename T>
2338 #if defined(_PREFIX_) || defined(_PREFAST_)
2339 template <
typename T>
2340 inline T& Array<T, 1>::operator[](
unsigned int __positionArg)
const
2342 return WriteOnlyArray<T, 1>::operator[](__positionArg);
2344 #endif // defined(_PREFIX_) || defined(_PREFAST_)
2346 template <
typename __TArg>
2352 template <
typename __TArg>
2353 inline void Array<__TArg, 1>::Attach(__TArg* __srcArg,
unsigned int __sizeArg)
2363 if (__size == 0 && __data ==
nullptr)
2366 __fastpassflag =
false;
2371 __abi_WinRTraiseFailureException();
2374 template <
typename __TArg>
2375 inline void Array<__TArg, 1>::AttachFastPass(__TArg* __srcArg,
unsigned int __sizeArg)
2384 if (__size == 0 && __data ==
nullptr)
2387 __fastpassflag =
true;
2392 __abi_WinRTraiseFailureException();
2395 template <
typename __TArg>
2396 inline void Array<__TArg, 1>::CopyToOrDetach(__TArg** __destArg,
unsigned int* __sizeArg)
2407 if ((__destArg ==
nullptr) || (__sizeArg ==
nullptr))
2409 __abi_WinRTraiseNullReferenceException();
2412 if (this->__size == 0)
2414 *__destArg =
nullptr;
2419 if(this->__data ==
nullptr)
2421 __abi_WinRTraiseFailureException();
2424 if (!this->__fastpassflag && this->__abi_reference_count.Get() == 1)
2426 *__destArg = this->__data;
2427 *__sizeArg = this->__size;
2430 else if (this->__fastpassflag || this->__abi_reference_count.Get() > 1)
2432 *__destArg = this->AllocateAndCopyElements(this->__data, this->__size);
2433 *__sizeArg = this->__size;
2437 __abi_WinRTraiseFailureException();
2443 #pragma region Array iterators
2444 template<
class __TArg>
2447 return __arrArg->begin();
2450 template<
class __TArg>
2453 return __arrArg->end();
2463 #if !defined(VCWINRT_DLL)
2464 __declspec(dllimport) void __stdcall EventSourceInitialize(
void**);
2465 __declspec(dllimport)
void __stdcall EventSourceUninitialize(
void**);
2466 __declspec(dllimport)
void* __stdcall EventSourceGetTargetArray(
void*, EventLock*);
2467 __declspec(dllimport)
unsigned int __stdcall EventSourceGetTargetArraySize(
void*);
2468 __declspec(dllimport)
void* __stdcall EventSourceGetTargetArrayEvent(
void*,
unsigned int, const
void*, __int64*);
2469 __declspec(dllimport) ::
Windows::Foundation::EventRegistrationToken __stdcall EventSourceAdd(
void**, EventLock*, ::
Platform::Delegate^);
2470 __declspec(dllimport)
void __stdcall EventSourceRemove(
void**, EventLock*, ::
Windows::Foundation::EventRegistrationToken);
2471 __declspec(dllimport) __abi_IUnknown* __stdcall GetWeakReference(const volatile ::
Platform::Object^ const other);
2472 __declspec(dllimport)
__declspec(no_refcount) ::
Platform::Object^ __stdcall ResolveWeakReference(const ::_GUID& guid, __abi_IUnknown** weakRef);
2474 __declspec(dllexport) void __stdcall EventSourceInitialize(
void**);
2475 __declspec(dllexport)
void __stdcall EventSourceUninitialize(
void**);
2476 __declspec(dllexport)
void* __stdcall EventSourceGetTargetArray(
void*, EventLock*);
2477 __declspec(dllexport)
unsigned int __stdcall EventSourceGetTargetArraySize(
void*);
2478 __declspec(dllexport)
void* __stdcall EventSourceGetTargetArrayEvent(
void*,
unsigned int, const
void*, __int64*);
2479 __declspec(dllexport) ::
Windows::Foundation::EventRegistrationToken __stdcall EventSourceAdd(
void**, EventLock*, ::
Platform::Delegate^);
2480 __declspec(dllexport)
void __stdcall EventSourceRemove(
void**, EventLock*, ::
Windows::Foundation::EventRegistrationToken);
2481 __declspec(dllexport) __abi_IUnknown* __stdcall GetWeakReference(const volatile ::
Platform::Object^ const other);
2482 __declspec(dllexport)
__declspec(no_refcount) ::
Platform::Object^ __stdcall ResolveWeakReference(const ::_GUID& guid, __abi_IUnknown** weakRef);
2491 Details::EventSourceInitialize(&
__targets);
2496 Details::EventSourceUninitialize(&
__targets);
2499 ::Windows::Foundation::EventRegistrationToken
Add(
Details::EventLock* __lockArg, ::Platform::Object^ __delegateInterfaceArg)
2501 return Details::EventSourceAdd(&
__targets, __lockArg, reinterpret_cast< ::Platform::Delegate^>(__delegateInterfaceArg));
2506 Details::EventSourceRemove(&
__targets, __lockArg, __tokenArg);
2511 template <
typename __TDelegate,
typename __TReturnType,
typename __TInvokeMethod>
2524 ::Platform::Object^ __targetsLoc;
2526 *
reinterpret_cast<void**
>(&__targetsLoc) = Details::EventSourceGetTargetArray(
__targets, __lockArg);
2528 typename __TReturnType __returnVal =
typename __TReturnType();
2530 if (__targetsLoc !=
nullptr)
2532 const unsigned int __size = Details::EventSourceGetTargetArraySize(reinterpret_cast<void*>(__targetsLoc));
2534 for (
unsigned int __index = 0; __index < __size; __index++)
2536 ::Windows::Foundation::EventRegistrationToken __token = {};
2540 __TDelegate^ __element;
2541 *
reinterpret_cast<void**
>(&__element) = Details::EventSourceGetTargetArrayEvent(
2542 reinterpret_cast<void*>(__targetsLoc),
2544 reinterpret_cast<const void*
>(&__uuidof(__TDelegate^)),
2548 __returnVal = (__invokeOneArg)(__element);
2550 catch(::Platform::Exception^ e)
2552 int __hr = e->HResult;
2553 if (__hr == 0x800706BA
2554 || __hr == 0x80010108
2555 || __hr == 0x89020001 )
2557 Details::EventSourceRemove(&
__targets, __lockArg, __token);
2571 template <
typename __TDelegate,
typename __TInvokeMethod>
2584 ::Platform::Object^ __targetsLoc;
2586 *
reinterpret_cast<void**
>(&__targetsLoc) = Details::EventSourceGetTargetArray(
__targets, __lockArg);
2589 if (__targetsLoc !=
nullptr)
2591 const unsigned int __size = Details::EventSourceGetTargetArraySize(reinterpret_cast<void*>(__targetsLoc));
2593 for (
unsigned int __index = 0; __index < __size; __index++)
2595 ::Windows::Foundation::EventRegistrationToken __token = {};
2599 __TDelegate^ __element;
2600 *
reinterpret_cast<void**
>(&__element) = Details::EventSourceGetTargetArrayEvent(
2601 reinterpret_cast<void*>(__targetsLoc),
2603 reinterpret_cast<const void*
>(&__uuidof(__TDelegate^)),
2607 (__invokeOneArg)(__element);
2609 catch(::Platform::Exception^ e)
2611 int __hr = e->HResult;
2612 if (__hr == 0x800706BA
2613 || __hr == 0x80010108
2614 || __hr == 0x89020001 )
2616 Details::EventSourceRemove(&
__targets, __lockArg, __token);
2628 template <
typename __TLambda,
typename... __TArgs >
2631 DoInvokeVoid<__TLambda>(__lockArg, [__args...](__TLambda^ __lambda) ->
void { __lambda(__args...); });
2634 template <
typename __TLambda,
typename __TReturnType,
typename... __TArgs >
2637 return DoInvoke<__TLambda, __TReturnType>(__lockArg, [__args...](__TLambda^ __lambda) ->
typename __TReturnType {
return __lambda(__args...); });
2649 static void __stdcall
RunServer(const ::default::char16* __serverName =
nullptr);
2650 static ::Platform::Details::IActivationFactory^ __stdcall
GetActivationFactory(::Platform::String^);
2667 if (__weakPtr !=
nullptr)
2669 __weakPtr->__abi_AddRef();
2676 if (__tmp !=
nullptr)
2678 __weakPtr =
nullptr;
2679 __tmp->__abi_Release();
2705 __otherArg.__weakPtr =
nullptr;
2708 explicit WeakReference(
const volatile ::Platform::Object^
const __otherArg) : __weakPtr(nullptr)
2710 __weakPtr = Details::GetWeakReference(__otherArg);
2726 if (&__otherArg !=
this)
2729 __weakPtr = __otherArg.__weakPtr;
2738 __weakPtr = __otherArg.__weakPtr;
2739 __otherArg.__weakPtr =
nullptr;
2745 __abi_IUnknown* __weakPtrLoc = Details::GetWeakReference(__otherArg);
2747 __weakPtr = __weakPtrLoc;
2751 template<
typename __TArg>
2753 __TArg^ Resolve()
const
2755 return reinterpret_cast<__TArg^
>(Details::ResolveWeakReference(__uuidof(__TArg^), &__weakPtr));
2764 friend
bool operator==(const
WeakReference&, decltype(__nullptr)) throw();
2765 friend
bool operator==(decltype(__nullptr), const WeakReference&) throw();
2766 friend
bool operator!=(const WeakReference&, const WeakReference&) throw();
2767 friend
bool operator!=(const WeakReference&, decltype(__nullptr)) throw();
2768 friend
bool operator!=(decltype(__nullptr), const WeakReference&) throw();
2769 friend
bool operator<(const WeakReference&, const WeakReference&) throw();
2772 inline
bool operator==(const WeakReference& __aArg, const WeakReference& __bArg) throw()
2774 return __aArg.
__weakPtr == __bArg.__weakPtr;
2784 return __bArg.__weakPtr ==
nullptr;
2789 return __aArg.
__weakPtr != __bArg.__weakPtr;
2799 return __bArg.__weakPtr !=
nullptr;
2804 return __aArg.
__weakPtr < __bArg.__weakPtr;
2808 namespace Windows {
namespace Foundation
2810 inline Point::Point(
float __xArg,
float __yArg) : X(__xArg), Y(__yArg)
2816 return __point1Arg.X == __point2Arg.X && __point1Arg.Y == __point2Arg.Y;
2821 return !(__point1Arg == __point2Arg);
2825 inline Size::Size(
float __widthArg,
float __heightArg)
2827 if (__widthArg < 0 || __heightArg < 0)
2829 __abi_WinRTraiseInvalidArgumentException();
2833 Height = __heightArg;
2843 return __size1Arg.Height == __size2Arg.Height && __size1Arg.Width == __size2Arg.Width;
2848 return !(__size1Arg == __size2Arg);
2851 inline Rect::Rect(
float __xArg,
float __yArg,
float __widthArg,
float __heightArg)
2853 if (__widthArg < 0 || __heightArg < 0)
2855 __abi_WinRTraiseInvalidArgumentException();
2861 Height = __heightArg;
2881 return __rect1Arg.X == __rect2Arg.X
2882 && __rect1Arg.Y == __rect2Arg.Y
2883 && __rect1Arg.Width == __rect2Arg.Width
2884 && __rect1Arg.Height == __rect2Arg.Height;
2889 return !(__rect1Arg == __rect2Arg);
2895 inline Thickness::Thickness(
double __uniformLengthArg)
2897 Left = Top = Right = Bottom = __uniformLengthArg;
2900 inline Thickness::Thickness(
double __leftArg,
double __topArg,
double __rightArg,
double __bottomArg)
2905 Bottom = __bottomArg;
2910 return __thickness1Arg.Left == __thickness2Arg.Left &&
2911 __thickness1Arg.Top == __thickness2Arg.Top &&
2912 __thickness1Arg.Right == __thickness2Arg.Right &&
2913 __thickness1Arg.Bottom == __thickness2Arg.Bottom;
2918 return !(__thickness1Arg == __thickness2Arg);
2921 inline CornerRadius::CornerRadius(
double __uniformRadiusArg)
2923 TopLeft = TopRight = BottomRight = BottomLeft = __uniformRadiusArg;
2926 inline CornerRadius::CornerRadius(
double __topLeftArg,
double __topRightArg,
double __bottomRightArg,
double __bottomLeftArg)
2928 TopLeft = __topLeftArg;
2929 TopRight = __topRightArg;
2930 BottomRight = __bottomRightArg;
2931 BottomLeft = __bottomLeftArg;
2936 return __cornerRadius1Arg.TopLeft == __cornerRadius2Arg.TopLeft &&
2937 __cornerRadius1Arg.TopRight == __cornerRadius2Arg.TopRight &&
2938 __cornerRadius1Arg.BottomRight == __cornerRadius2Arg.BottomRight &&
2939 __cornerRadius1Arg.BottomLeft == __cornerRadius2Arg.BottomLeft;
2944 return !(__cornerRadius1Arg == __cornerRadius2Arg);
2951 return Matrix(1, 0, 0, 1, 0, 0);
2964 inline Windows::Foundation::Point Matrix::Transform(Windows::Foundation::Point __pointArg)
2966 float x = __pointArg.X;
2967 float y = __pointArg.Y;
2968 double num = (y * M21) + OffsetX;
2969 double num2 = (x * M12) + OffsetY;
2974 return Windows::Foundation::Point(x, y);
2977 inline Matrix::Matrix(
double __m11Arg,
double __m12Arg,
double __m21Arg,
double __m22Arg,
double __offsetXArg,
double __offsetYArg)
2983 OffsetX = __offsetXArg;
2984 OffsetY = __offsetYArg;
2990 __matrix1Arg.M11 == __matrix2Arg.M11 &&
2991 __matrix1Arg.M12 == __matrix2Arg.M12 &&
2992 __matrix1Arg.M21 == __matrix2Arg.M21 &&
2993 __matrix1Arg.M22 == __matrix2Arg.M22 &&
2994 __matrix1Arg.OffsetX == __matrix2Arg.OffsetX &&
2995 __matrix1Arg.OffsetY == __matrix2Arg.OffsetY;
3000 return !(__matrix1Arg == __matrix2Arg);
3007 return Matrix3D(1, 0, 0, 0,
3015 return M11 == 1 && M12 == 0 && M13 == 0 && M14 == 0 &&
3016 M21 == 0 && M22 == 1 && M23 == 0 && M24 == 0 &&
3017 M31 == 0 && M32 == 0 && M33 == 1 && M34 == 0 &&
3018 OffsetX == 0 && OffsetY == 0 && OffsetZ == 0 && M44 == 1;
3021 inline Matrix3D::Matrix3D(
double __m11Arg,
double __m12Arg,
double __m13Arg,
double __m14Arg,
3022 double __m21Arg,
double __m22Arg,
double __m23Arg,
double __m24Arg,
3023 double __m31Arg,
double __m32Arg,
double __m33Arg,
double __m34Arg,
3024 double __offsetXArg,
double __offsetYArg,
double __offsetZArg,
double __m44Arg)
3038 OffsetX = __offsetXArg;
3039 OffsetY = __offsetYArg;
3040 OffsetZ = __offsetZArg;
3047 __matrix1Arg.M11 == __matrix2Arg.M11 &&
3048 __matrix1Arg.M12 == __matrix2Arg.M12 &&
3049 __matrix1Arg.M13 == __matrix2Arg.M13 &&
3050 __matrix1Arg.M14 == __matrix2Arg.M14 &&
3051 __matrix1Arg.M21 == __matrix2Arg.M21 &&
3052 __matrix1Arg.M22 == __matrix2Arg.M22 &&
3053 __matrix1Arg.M23 == __matrix2Arg.M23 &&
3054 __matrix1Arg.M24 == __matrix2Arg.M24 &&
3055 __matrix1Arg.M31 == __matrix2Arg.M31 &&
3056 __matrix1Arg.M32 == __matrix2Arg.M32 &&
3057 __matrix1Arg.M33 == __matrix2Arg.M33 &&
3058 __matrix1Arg.M34 == __matrix2Arg.M34 &&
3059 __matrix1Arg.OffsetX == __matrix2Arg.OffsetX &&
3060 __matrix1Arg.OffsetY == __matrix2Arg.OffsetY &&
3061 __matrix1Arg.OffsetZ == __matrix2Arg.OffsetZ &&
3062 __matrix1Arg.M44 == __matrix2Arg.M44;
3067 return !(__matrix1Arg == __matrix2Arg);
3073 inline KeyTime::KeyTime(Windows::Foundation::TimeSpan __timeSpanArg)
3075 if (__timeSpanArg.Duration < 0 )
3077 __abi_WinRTraiseInvalidArgumentException();
3079 TimeSpan = __timeSpanArg;
3084 return __keyTime1Arg.TimeSpan.Duration == __keyTime2Arg.TimeSpan.Duration;
3089 return !(__keyTime1Arg == __keyTime2Arg);
3092 inline RepeatBehavior::RepeatBehavior(Windows::Foundation::TimeSpan __durationArg)
3094 if (__durationArg.Duration < 0 )
3096 __abi_WinRTraiseInvalidArgumentException();
3099 __duration = __durationArg;
3101 __type = RepeatBehaviorType::Duration;
3121 RepeatBehavior forever;
3122 Windows::Foundation::TimeSpan ts = {0};
3123 forever.__duration = ts;
3124 forever.__count = 0.0;
3125 forever.__type = RepeatBehaviorType::Forever;
3132 return __type == RepeatBehaviorType::Count;
3137 return __type == RepeatBehaviorType::Duration;
3143 if (__repeatBehavior1Arg.__type == __repeatBehavior2Arg.__type)
3145 switch (__repeatBehavior1Arg.__type)
3147 case RepeatBehaviorType::Forever:
3150 case RepeatBehaviorType::Count:
3151 return __repeatBehavior1Arg.__count == __repeatBehavior2Arg.__count;
3153 case RepeatBehaviorType::Duration:
3155 return __repeatBehavior1Arg.__duration.Duration == __repeatBehavior2Arg.__duration.Duration;
3169 return !(__repeatBehavior1Arg == __repeatBehavior2Arg);
3175 inline Duration::Duration(Windows::Foundation::TimeSpan __timeSpanArg)
3177 __durationType = DurationType::TimeSpan;
3178 __timeSpan = __timeSpanArg;
3183 if (__t1Arg.HasTimeSpan)
3185 if (__t2Arg.HasTimeSpan)
3187 return __t1Arg.__timeSpan.Duration == __t2Arg.__timeSpan.Duration;
3196 return __t1Arg.__durationType == __t2Arg.__durationType;
3202 return !(__t1Arg == __t2Arg);
3207 return (__durationType == DurationType::TimeSpan);
3212 Duration __duration;
3213 __duration.__durationType = DurationType::Automatic;
3220 Duration __duration;
3221 __duration.__durationType = DurationType::Forever;
3234 Windows::Foundation::TimeSpan __timeSpanLoc;
3235 __timeSpanLoc.Duration = 0;
3236 return __timeSpanLoc;
3240 inline GridLength::GridLength(
double __pixelsArg)
3242 *
this = GridLength(__pixelsArg, Windows::UI::Xaml::GridUnitType::Pixel);
3247 return (__unitType == Windows::UI::Xaml::GridUnitType::Auto ) ? GridLength(1.0, Windows::UI::Xaml::GridUnitType::Auto).__unitValue : __unitValue;
3252 return (__unitType);
3257 return (__unitType == Windows::UI::Xaml::GridUnitType::Pixel);
3262 return (__unitType == Windows::UI::Xaml::GridUnitType::Auto);
3267 return (__unitType == Windows::UI::Xaml::GridUnitType::Star) ;
3272 return ( GridLength(1.0, Windows::UI::Xaml::GridUnitType::Auto));
3277 if (__gridLength1Arg.GridUnitType == __gridLength2Arg.GridUnitType)
3279 if (__gridLength1Arg.IsAuto || __gridLength1Arg.__unitValue == __gridLength2Arg.__unitValue)
3289 return !(__gridLength1Arg == __gridLength2Arg);
3294 #if !defined(VCWINRT_DLL)
3298 #pragma comment(linker, "/EXPORT:DllGetActivationFactory=_DllGetActivationFactory@8,PRIVATE")
3299 #pragma comment(linker, "/EXPORT:DllCanUnloadNow=_DllCanUnloadNow@0,PRIVATE")
3301 #pragma comment(linker, "/EXPORT:DllGetActivationFactory=DllGetActivationFactory,PRIVATE")
3302 #pragma comment(linker, "/EXPORT:DllCanUnloadNow,PRIVATE")
3306 #pragma comment(linker, "/INCLUDE:___abi__initialize")
3308 #pragma comment(linker, "/INCLUDE:__abi__initialize")
3310 #endif // _WINRT_DLL
3313 #pragma comment(lib, "vccorlibd.lib")
3315 #pragma comment(lib, "vccorlib.lib")
3317 #endif // !defined(VCWINRT_DLL)
3321 #pragma initialize_winrt_types_done
3324 #pragma warning( pop )
3326 #if defined(__VCCORLIB_H_ENABLE_ALL_WARNINGS)
3327 #pragma warning(pop)
3330 #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:1972
int __stdcall __Platform_WindowsIsStringEmpty(__abi_HSTRING)
int numcalls_AddRef
Definition: vccorlib.h:129
unsigned long Decrement() volatile
Definition: vccorlib.h:249
reference_wrapper< _Ty > ref(_Ty &_Val) _NOEXCEPT
Definition: type_traits:1617
__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:493
__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:1703
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
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
__interface __declspec(uuid("00000035-0000-0000-C000-000000000046")) __abi_IActivationFactory
Definition: vccorlib.h:286
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
_CRT_BEGIN_C_HEADER typedef void(__CRTDECL *unexpected_handler)()
__TArg __abi_unbox(::Platform::Object^__objArg)
Definition: vccorlib.h:1709
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:1745
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