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 #pragma initialize_winrt_types_start
83 __declspec(noreturn)
void __stdcall __abi_WinRTraiseException(
long);
85 #if !defined(VCWINRT_DLL)
86 __declspec(dllimport) long __stdcall __abi_translateCurrentException(
bool reserved);
88 __declspec(dllexport) long __stdcall __abi_translateCurrentException(
bool reserved);
95 __abi_WinRTraiseException(__hrArg);
99 #if !defined(VCWINRT_DLL)
109 long __stdcall
__getIids(
int,
unsigned long*,
const __s_GUID*, ::Platform::Guid**);
136 numcalls_QueryInterface = 0;
138 numcalls_Release = 0;
139 numcalls_GetIids = 0;
140 numcalls_GetRuntimeClassName = 0;
141 numcalls_GetTrustLevel = 0;
149 callback = __callbackArg;
181 __interface
__declspec(uuid(
"00000000-0000-0000-C000-000000000046")) __abi_IUnknown
184 virtual long __stdcall __abi_QueryInterface(::Platform::Guid&,
void**) = 0;
185 virtual unsigned long __stdcall __abi_AddRef() = 0;
186 virtual unsigned long __stdcall __abi_Release() = 0;
196 __interface
__declspec(uuid(
"3C5C94E8-83BB-4622-B76A-B505AE96E0DF")) __abi_Module
199 virtual unsigned long __stdcall __abi_IncrementObjectCount() = 0;
200 virtual unsigned long __stdcall __abi_DecrementObjectCount() = 0;
203 __interface
__declspec(uuid(
"00000003-0000-0000-C000-000000000046")) __abi_IMarshal;
212 #pragma intrinsic(_InterlockedIncrement)
213 #pragma intrinsic(_InterlockedDecrement)
214 #pragma intrinsic(_InterlockedCompareExchange)
215 #pragma intrinsic(_InterlockedCompareExchangePointer)
224 if (__abi_module !=
nullptr)
226 __abi_module->__abi_IncrementObjectCount();
233 if (__abi_module !=
nullptr)
235 __abi_module->__abi_DecrementObjectCount();
247 if (__refCountLoc == 0)
251 if (__abi_module !=
nullptr)
253 __abi_module->__abi_DecrementObjectCount();
256 return __refCountLoc;
259 inline unsigned long Get()
volatile
261 return static_cast<unsigned long>(
__refcount);
268 __interface
__declspec(uuid(
"AF86E2E0-B12D-4c6a-9C5A-D7AA65101E90")) __abi_IInspectable : public __abi_IUnknown
270 virtual long __stdcall __abi_GetIids(
unsigned long*, ::Platform::Guid**) = 0;
275 __interface
__declspec(uuid(
"00000001-0000-0000-C000-000000000046")) __abi_IClassFactory : public __abi_IUnknown
277 virtual long __stdcall __abi_CreateInstance(__abi_IUnknown*, ::Platform::Guid&,
void**) = 0;
281 __interface
__declspec(uuid(
"00000035-0000-0000-C000-000000000046")) __abi_IActivationFactory : public __abi_IInspectable
283 virtual long __stdcall __abi_ActivateInstance(__abi_IInspectable**) = 0;
286 __interface
__declspec(uuid(
"00000037-0000-0000-C000-000000000046")) __abi_IWeakReference : public __abi_IUnknown
288 virtual long __stdcall __abi_Resolve(::Platform::Guid&, __abi_IInspectable **) = 0;
291 #if !defined(VCWINRT_DLL)
304 namespace Platform {
namespace Details {
314 static EventLock __eventLock = {
nullptr,
nullptr };
343 #pragma initialize_winrt_types_phase1
348 __declspec(non_user_code)
__declspec(no_refcount)
void __abi_delete_String(::Platform::String^);
350 #if !defined(VCWINRT_DLL)
352 ::Platform::Object ^ __stdcall __abi_cast_String_to_Object(::Platform::String^);
355 ::Platform::String ^ __stdcall __abi_cast_Object_to_String(
bool, ::Platform::Object^);
357 __declspec(dllimport)
__declspec(non_user_code) ::Platform::String^ __stdcall __abi_ObjectToString(::Platform::Object^ o,
bool useIPrintable);
361 ::Platform::Object ^ __stdcall __abi_cast_String_to_Object(::Platform::String^);
364 ::Platform::String ^ __stdcall __abi_cast_Object_to_String(
bool, ::Platform::Object^);
366 __declspec(dllexport)
__declspec(non_user_code) ::Platform::String^ __stdcall __abi_ObjectToString(::Platform::Object^ o,
bool useIPrintable);
371 inline
void* __abi_winrt_ptr_ctor(const volatile ::
Platform::Object^ const
__objArg)
373 __abi_IUnknown*
__pUnknown =
reinterpret_cast<__abi_IUnknown*
>(
const_cast< ::Platform::Object^
>(
__objArg));
375 __pUnknown->__abi_AddRef();
381 inline
void __abi_winrt_ptr_dtor(const volatile ::
Platform::Object^ const
__objArg)
383 __abi_IUnknown*
__pUnknown =
reinterpret_cast<__abi_IUnknown*
>(
const_cast< ::Platform::Object^
>(
__objArg));
385 __pUnknown->__abi_Release();
390 inline
void* __abi_winrt_ptr_assign(
void**
__ppTargetArg, const volatile ::
Platform::Object^ __objArg)
392 __abi_IUnknown* __pUnknown =
reinterpret_cast<__abi_IUnknown*
>(
const_cast< ::Platform::Object^
>(
__objArg));
394 if (__pUnknown != *__ppTargetUnknown)
397 __pUnknown->__abi_AddRef();
399 if (*__ppTargetUnknown) {
400 (*__ppTargetUnknown)->__abi_Release();
409 inline
void* __abi_winrt_ptrto_delegate_ctor(const volatile T^ __objArg)
411 return __abi_winrt_ptr_ctor(reinterpret_cast<const volatile ::Platform::Object^>(__objArg));
416 inline
void __abi_winrt_ptrto_delegate_dtor(const volatile T^ __objArg)
418 __abi_winrt_ptr_dtor(reinterpret_cast<const volatile ::Platform::Object^>(__objArg));
423 inline
void* __abi_winrt_ptrto_delegate_assign(
void** __ppTargetArg, const volatile T^ __objArg)
425 return __abi_winrt_ptr_assign(__ppTargetArg, reinterpret_cast<const volatile ::Platform::Object^>(__objArg));
434 __pUnknown =
reinterpret_cast<__abi_IUnknown*
>(
const_cast< ::Platform::Object^
>(
__objArg));
438 __pUnknown->__abi_Release();
444 #if !defined(VCWINRT_DLL)
445 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseNotImplementedException();
446 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseInvalidCastException();
447 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseNullReferenceException();
448 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseOperationCanceledException();
450 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseAccessDeniedException();
451 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseOutOfMemoryException();
452 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseInvalidArgumentException();
453 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseOutOfBoundsException();
454 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseChangedStateException();
455 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseClassNotRegisteredException();
456 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseWrongThreadException();
457 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseDisconnectedException();
458 __declspec(dllimport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseObjectDisposedException();
461 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseNotImplementedException();
462 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseInvalidCastException();
463 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseNullReferenceException();
464 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseOperationCanceledException();
466 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseAccessDeniedException();
467 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseOutOfMemoryException();
468 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseInvalidArgumentException();
469 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseOutOfBoundsException();
470 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseChangedStateException();
471 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseClassNotRegisteredException();
472 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseWrongThreadException();
473 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseDisconnectedException();
474 __declspec(dllexport)
__declspec(noreturn)
void __stdcall __abi_WinRTraiseObjectDisposedException();
479 inline ::
Platform::Object^ __abi_winrt_cast_to(
bool __isDynamicCastArg, ::
Platform::Object^ __objArg, const _GUID& __guidArg)
481 void* __pTo =
nullptr;
482 __abi_IUnknown* __pUnknown =
reinterpret_cast<__abi_IUnknown*
>(
__objArg);
486 long __hr = __pUnknown->__abi_QueryInterface(reinterpret_cast< ::Platform::Guid&>(const_cast<_GUID&>(__guidArg)), &__pTo);
488 if (__isDynamicCastArg && __hr != 0)
494 return reinterpret_cast< ::Platform::Object^
>(__pTo);
498 inline ::
Platform::String^ __abi_winrt_cast_to_string(
bool __isDynamicCast, ::
Platform::Object^ __objArg)
500 return __abi_details::__abi_cast_Object_to_String(__isDynamicCast, __objArg);
504 inline ::
Platform::Object^ __abi_winrt_cast_from_string_to_object(
bool , ::
Platform::String^ __objArg)
506 return __abi_details::__abi_cast_String_to_Object(__objArg);
510 inline ::
Platform::Object^ __abi_winrt_cast_from_string_to_other(
bool , ::
Platform::String^ )
512 __abi_WinRTraiseInvalidCastException();
517 inline T^ __abi_winrt_cast_from_object_to_delegate(
bool __isDynamicCast, ::
Platform::Object^ __objArg);
521 inline ::
Platform::Object^ __abi_winrt_cast_from_delegate_to_object(
bool __isDynamicCastArg, T^ __objArg);
525 inline ::
Platform::Object^ __abi_winrt_cast_from_delegate_to_other(
bool __isDynamicCastArg, T^ __objArg, const _GUID& __guidArg)
527 return __abi_winrt_cast_to(__isDynamicCastArg, reinterpret_cast< ::Platform::Object^>(__objArg), __guidArg);
532 void* __pObj = *__ppObjArg;
533 *__ppObjArg =
nullptr;
538 inline
void __abi_winrt_ptrto_string_dtor(const volatile ::
Platform::String^ const __objArg)
540 __abi_details::__abi_delete_String(const_cast< ::Platform::String^>(__objArg));
543 __declspec(non_user_code) inline
void __abi_winrt_throw_on_disposed(
bool isDisposed)
547 __abi_WinRTraiseObjectDisposedException();
554 #if !defined(VCWINRT_DLL)
559 template <
typename __TArg,
unsigned int __dimension = 1>
562 template <
typename __TArg,
unsigned int __dimension = 1>
566 template <
typename __TArg,
unsigned int __dimension>
568 void* __abi_winrt_ptrto_array_ctor(const volatile ::
Platform::
Array<__TArg, __dimension>^ const);
570 template<typename __TArg,
unsigned int __dimension>
572 void* __abi_winrt_ptrto_array_assign(
void**, const volatile ::
Platform::
Array<__TArg, __dimension>^);
575 inline ::
Platform::Object^ __abi_winrt_cast_use_helper(
bool __isDynamicArg,
void* __fromArg, const _GUID& __guidArg, __abi_IUnknown* __useresultArg)
579 return reinterpret_cast< ::Platform::Object^
>(__useresultArg);
582 return __abi_winrt_cast_to(__isDynamicArg, reinterpret_cast< ::Platform::Object^>(__fromArg), __guidArg);
585 __declspec(selectany) void * __forceInstantiate1 = &__abi_winrt_cast_use_helper;
588 inline
void __abi_winrt_ptr_dispose(const volatile ::
Platform::Object^ const __objArg)
590 ::Platform::IDisposable ^__dispose =
dynamic_cast< ::Platform::IDisposable ^
>(
const_cast< ::Platform::Object^
>(
__objArg));
592 __dispose->__identifier(
"<Dispose>")();
593 reinterpret_cast<__abi_IUnknown*
>(__dispose)->__abi_Release();
598 inline
void __abi_winrt_ptr_dispose_dtor(const volatile ::
Platform::Object^ const __objArg)
600 __abi_winrt_ptr_dispose(__objArg);
601 __abi_winrt_ptr_dtor(__objArg);
606 namespace Platform {
namespace Details
608 class ControlBlock
sealed :
public __abi_IWeakReference
610 #if defined(VCWINRT_DLL)
624 virtual long __stdcall __abi_QueryInterface(::Platform::Guid& __riid,
void** __ppvObject);
636 if (__bAlignedAllocation)
638 ::Platform::Details::Heap::AlignedFree(__target);
648 #if !defined(VCWINRT_DLL)
649 __declspec(dllimport) virtual
long __stdcall __abi_Resolve(::
Platform::Guid& __riid, __abi_IInspectable ** __objectReference);
651 __declspec(dllexport) virtual
long __stdcall __abi_Resolve(::
Platform::Guid& __riid, __abi_IInspectable ** __objectReference);
667 __strongRefCount =
static_cast<int>(0xC0000000);
674 return __strongRefCount;
679 #if !defined(VCWINRT_DLL)
680 __declspec(dllimport) void InitControlBlock(
void* __object,
bool __bSingleAllocationParam =
true,
bool __bAlignedAllocationParam =
false,
bool __bExceptionAllocationParam = false);
683 __declspec(dllexport) void InitControlBlock(
void* __object,
bool __bSingleAllocationParam = true,
bool __bAlignedAllocationParam = false,
bool __bExceptionAllocationParam = false);
688 friend void* Details::Heap::Allocate(::Platform::SizeT, ::Platform::SizeT);
689 friend void* Details::Heap::AlignedAllocate(::Platform::SizeT, ::Platform::SizeT, ::Platform::SizeT);
690 friend void* Details::Heap::AllocateException(::Platform::SizeT __rcOffset, ::Platform::SizeT __sizeArg);
691 friend void* Details::Heap::AlignedAllocateException(::Platform::SizeT __rcOffset, ::Platform::SizeT __sizeArg, ::Platform::SizeT __alignment);
698 #if defined(VCWINRT_DLL)
707 __pUnkMarshal =
reinterpret_cast<__abi_IUnknown*
>(-1);
709 if (__abi_module !=
nullptr)
711 __abi_module->__abi_IncrementObjectCount();
717 if (__contextArg == ::Platform::CallbackContext::Any)
719 __pUnkMarshal =
reinterpret_cast<__abi_IUnknown*
>(-1);
723 __pUnkMarshal =
nullptr;
726 if (__abi_module !=
nullptr)
728 __abi_module->__abi_IncrementObjectCount();
735 if (__pUnkMarshal && __pUnkMarshal != reinterpret_cast<__abi_IUnknown*>(-1))
737 __pUnkMarshal->__abi_Release();
738 __pUnkMarshal =
nullptr;
741 if (__abi_module !=
nullptr)
743 __abi_module->__abi_DecrementObjectCount();
745 __weakRefSource->DecrementStrongReference();
746 __weakRefSource->__abi_Release();
751 if (__weakRefSource ==
nullptr || __weakRefSource->GetRefcount() < 0)
753 return static_cast<unsigned long>(-1);
756 return __weakRefSource->IncrementStrongReference();
761 if (__weakRefSource ==
nullptr || __weakRefSource->GetRefcount() < 0)
763 return static_cast<unsigned long>(-1);
766 unsigned long __refCount = __weakRefSource->DecrementStrongReference();
769 if (__pUnkMarshal && __pUnkMarshal != reinterpret_cast<__abi_IUnknown*>(-1))
771 __pUnkMarshal->__abi_Release();
772 __pUnkMarshal =
nullptr;
777 if (__abi_module !=
nullptr)
779 __abi_module->__abi_DecrementObjectCount();
788 if (__pUnkMarshal ==
nullptr)
797 return reinterpret_cast< ::Platform::Details::IWeakReference^
>(
__weakRefSource);
800 inline long __stdcall
Get()
volatile
802 if (__weakRefSource ==
nullptr)
804 return static_cast<unsigned long>(-1);
806 return __weakRefSource->GetRefcount();
814 __localWeakRefSource->ReleaseTarget();
815 __localWeakRefSource->__abi_Release();
819 namespace Platform {
namespace Details
827 static const size_t __smallCaptureSize = 4 *
sizeof(
void*);
828 void*
operator new(
size_t __sizeArg,
void* __pSmallCaptureArg)
830 if (__sizeArg > __smallCaptureSize)
832 return reinterpret_cast<__abi_CaptureBase*
>( ::Platform::Details::Heap::Allocate( __sizeArg ) );
835 return __pSmallCaptureArg;
838 void operator delete(
void* __ptrArg,
void* __pSmallCaptureArg)
841 __pThis->
Delete(__pThis, __pSmallCaptureArg);
846 return (*reinterpret_cast<void***>(
this))[__slotArg];
852 if (__pThisArg != __pSmallCaptureArg)
866 ptr->
Delete(ptr, smallCapture);
870 template <
typename __TFunctor,
typename __TReturnType,
typename... __TArgs>
875 virtual __TReturnType __stdcall
Invoke(__TArgs... __args) {
return functor(__args...);}
887 #pragma initialize_winrt_types_phase2
891 template <
typename __TArg,
unsigned int __dimension = 1>
896 template <
typename __HighLevelType,
unsigned int __dimension>
899 template <
typename __HighLevelType,
unsigned int __dimension>
902 template <
typename __LowLevelType,
typename __HighLevelType,
unsigned int __dimension>
903 __LowLevelType*
__abi_array_to_raw(const ::Platform::Array<__HighLevelType, __dimension>^);
905 template <
typename __TArg,
bool = __is_enum(__TArg)>
909 #pragma warning(push)
910 #pragma warning(disable: 4487)
912 template <
typename __TArg>
921 __TArg&
set(
unsigned int __indexArg, __TArg __valueArg);
922 property unsigned int Length {
unsigned int get()
const; }
923 property __TArg* Data { __TArg*
get()
const; }
924 property bool FastPass {
bool get()
const; }
926 __TArg*
begin()
const;
935 #if defined(_PREFIX_) || defined(_PREFAST_)
936 __TArg& operator[](
unsigned int __indexArg)
const;
937 #endif // defined(_PREFIX_) || defined(_PREFAST_)
938 __TArg&
get(
unsigned int __indexArg)
const;
940 static __TArg* AllocateAndZeroInitialize(
unsigned int __countArg);
941 static __TArg* AllocateAndCopyElements(
const __TArg* __srcArg,
unsigned int __countArg);
946 template <
typename __TArg>
947 private ref class Array<__TArg,1>
sealed :
949 public [::Windows::Foundation::Metadata::Default] [::Platform::Metadata::RuntimeClassName] ::Platform::IBoxArray<__TArg>
956 Array(
unsigned int __sizeArg);
957 Array(__TArg* __dataArg,
unsigned int __sizeArg);
958 __TArg&
get(
unsigned int __indexArg)
const;
959 #if defined(_PREFIX_) || defined(_PREFAST_)
960 __TArg& operator[](
unsigned int __indexArg)
const;
961 #endif // defined(_PREFIX_) || defined(_PREFAST_)
965 void Attach(__TArg* __srcArg,
unsigned int __sizeArg);
966 void AttachFastPass(__TArg* __srcArg,
unsigned int __sizeArg);
967 void CopyToOrDetach(__TArg** __destArg,
unsigned int* __sizeArg);
969 template <
typename __HighLevelType,
unsigned int __dimension>
972 template <
typename __HighLevelType,
unsigned int __dimension>
974 template <
typename __TArg,
unsigned int __dimension>
friend class ArrayReference;
987 template <
typename __TArg,
unsigned int __dimension>
989 inline
void* __abi_winrt_ptrto_array_ctor(const volatile ::
Platform::Array<__TArg, __dimension>^ const __arrArg)
995 if (__localArray->FastPass)
997 auto __ret =
ref new ::Platform::Array<__TArg, __dimension>(__localArray->Data, __localArray->Length);
1002 __pUnknown->__abi_AddRef();
1008 template<
typename __TArg,
unsigned int __dimension>
1010 void* __abi_winrt_ptrto_array_assign(
void** __ppTarget, const volatile ::
Platform::Array<__TArg, __dimension> ^__arrArg)
1013 __abi_IUnknown** __ppTargetUnknown =
reinterpret_cast<__abi_IUnknown**
>(__ppTarget);
1014 if (__pUnknown != *__ppTargetUnknown)
1019 if (__localArray->FastPass)
1021 auto __ret =
ref new ::Platform::Array<__TArg>(__localArray->Data, __localArray->Length);
1026 __pUnknown->__abi_AddRef();
1029 if (*__ppTargetUnknown)
1031 (*__ppTargetUnknown)->__abi_Release();
1038 template <
typename __TArg>
1041 unsigned char __bytes[
sizeof(__TArg)];
1044 return (__TArg&)__bytes;
1062 int (__stdcall *__getTrustLevel)();
1069 #pragma section("minATL$__r", read)
1071 __declspec(noreturn) inline
void __stdcall __abi_WinRTraiseException(
long __hrArg)
1076 __abi_WinRTraiseNotImplementedException();
1079 __abi_WinRTraiseInvalidCastException();
1082 __abi_WinRTraiseNullReferenceException();
1085 __abi_WinRTraiseOperationCanceledException();
1088 __abi_WinRTraiseFailureException();
1091 __abi_WinRTraiseAccessDeniedException();
1094 __abi_WinRTraiseOutOfMemoryException();
1097 __abi_WinRTraiseInvalidArgumentException();
1100 __abi_WinRTraiseOutOfBoundsException();
1103 __abi_WinRTraiseChangedStateException();
1106 __abi_WinRTraiseClassNotRegisteredException();
1109 __abi_WinRTraiseWrongThreadException();
1112 __abi_WinRTraiseDisconnectedException();
1115 __abi_WinRTraiseObjectDisposedException();
1118 __abi_WinRTraiseCOMException(__hrArg);
1124 ::
Platform::String^ __abi_winrt_CreateSystemStringFromLiteral(const __wchar_t*);
1126 ::
Platform::String^ __abi_winrt_CreateSystemStringFromLiteral(const unsigned short*);
1128 #if defined(VCWINRT_DLL)
1129 #define __Platform_CoCreateFreeThreadedMarshaler(__punkOuter, __ppunkMarshal) CoCreateFreeThreadedMarshaler(reinterpret_cast<IUnknown*>(__punkOuter), reinterpret_cast<IUnknown**>(__ppunkMarshal))
1132 #if defined(VCWINRT_DLL)
1133 #define __Platform_CoCreateFreeThreadedMarshaler(__punkOuter, __ppunkMarshal) CoCreateFreeThreadedMarshaler(reinterpret_cast<IUnknown*>(__punkOuter), reinterpret_cast<IUnknown**>(__ppunkMarshal))
1137 #pragma initialize_winrt_types_phase3
1139 #pragma region Define Common EnumResourceTypes
1141 #if !defined(VCWINRT_DLL)
1162 #else // VCWINRT_DLL
1163 #define __Platform_WindowsCreateString WindowsCreateString
1164 #define __Platform_WindowsDeleteString WindowsDeleteString
1165 #define __Platform_WindowsDuplicateString WindowsDuplicateString
1166 #define __Platform_WindowsGetStringRawBuffer WindowsGetStringRawBuffer
1167 #define __Platform_WindowsGetStringLen WindowsGetStringLen
1168 #define __Platform_WindowsIsStringEmpty WindowsIsStringEmpty
1169 #define __Platform_WindowsStringHasEmbeddedNull WindowsStringHasEmbeddedNull
1170 #define __Platform_WindowsCompareStringOrdinal WindowsCompareStringOrdinal
1171 #define __Platform_WindowsCreateStringReference WindowsCreateStringReference
1172 #define __Platform_WindowsConcatString WindowsConcatString
1173 #define __Platform_CoTaskMemAlloc CoTaskMemAlloc
1174 #define __Platform_CoTaskMemFree CoTaskMemFree
1176 #define __Platform_wcslen wcslen
1177 #define __Platform_memset memset
1179 #endif // VCWINRT_DLL
1183 #pragma region String^ helpers
1201 if (__sourceArg ==
nullptr)
1203 *__destArg = __sourceArg;
1210 inline void CreateStringReference(const ::default::char16* __sourceStringArg,
unsigned int __lengthArg, __Platform_Details_HSTRING_HEADER* __hstringHeaderArg,
__abi_HSTRING* __stringArg)
1234 if(
this != &__fstrArg)
1254 Init(__strArg, __lenArg);
1257 const ::default::char16 *
Data()
const
1267 operator ::
Platform::String^()
const
1269 return reinterpret_cast< ::Platform::String^
>(
__hString);
1272 ::
Platform::String^ GetString()
const
1274 return reinterpret_cast< ::Platform::String^
>(
__hString);
1291 unsigned int __length = 0;
1293 Init(__source, __length);
1295 void Init(const ::default::char16* __strArg,
unsigned __int64 __lenArg)
1297 if ((__strArg ==
nullptr) || (__lenArg == 0))
1299 else if (__lenArg > 0xffffffffLL)
1300 __abi_WinRTraiseInvalidArgumentException();
1303 unsigned int __length = (
unsigned int) (__lenArg & 0xffffffffLL);
1307 void Init(const ::default::char16* __strArg,
unsigned int __lenArg)
1309 if ((__strArg ==
nullptr) || (__lenArg == 0))
1323 inline
void* __abi_winrt_ptrto_string_ctor(const volatile ::
Platform::String ^__strArg)
1328 auto __pRaw =
reinterpret_cast<__abi_HSTRING>((
const_cast< ::Platform::String^
>(__strArg)));
1336 inline
void* __abi_winrt_ptrto_string_assign(
void** __ppTargetArg, const volatile ::
Platform::String ^__pSourceArg)
1339 if ( *__ppTargetArg != reinterpret_cast<void*>(
__pRaw) )
1343 __abi_details::__abi_delete_String(reinterpret_cast< ::Platform::String^>(*__ppTargetArg));
1345 *__ppTargetArg =
nullptr;
1350 *__ppTargetArg = __hstr;
1360 inline
void __abi_delete_String(::
Platform::String^ __strArg)
1376 #if !defined(VCWINRT_DLL)
1395 __declspec(dllexport)
void* __stdcall GetIBoxArrayVtable(
void*);
1396 __declspec(dllexport)
void* __stdcall GetIBoxVtable(
void*);
1398 template<typename T>
1402 public [::
Windows::Foundation::Metadata::Default] [::
Platform::Metadata::RuntimeClassName] ::
Platform::IBox<T>,
1403 public ::
Platform::Details::IPrintable
1409 *
reinterpret_cast<void**
>(
static_cast< ::Platform::IValueType^
>(
this)) =
1410 GetIBoxVtable(reinterpret_cast<void*>(
static_cast< ::Platform::IBox<T>^
>(
this)));
1413 virtual property T
Value
1421 virtual Platform::String^ ToString()
1423 return ToStringInternal<__is_enum(T)>();
1427 template<
bool isEnum>
1428 Platform::String^ ToStringInternal();
1438 return T::typeid->FullName;
1444 return ::__abi_details::__abi_ObjectToString(
this,
false);
1456 template<
bool __isEnum>
1468 template<
typename __TArg>
1474 template<
typename __TArg>
1480 template<
typename __TArg>
1486 template<
typename __TArg>
1492 template<
typename __TArg>
1499 template<
typename __TArg>
1501 __declspec(one_phase_constructed)
1502 __declspec(layout_as_external)
1503 __declspec(no_empty_identity_interface)
1505 public ::Platform::IBox<typename ::Platform::Details::RemoveCV<__TArg>::Type>,
1508 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");
1510 typedef typename ::Platform::Details::RemoveCV<__TArg>::Type
__TBoxValue;
1512 Box(__TBoxValue __valueArg)
1514 static auto __typeCode = ::Platform::Type::GetTypeCode(__TBoxValue::typeid);
1515 ::Platform::Object ^
__boxValue = Details::CreateValue(__typeCode, &__valueArg);
1516 if (__boxValue ==
nullptr)
1518 __boxValue =
ref new Details::CustomBox<__TBoxValue>(__valueArg);
1527 if (
this ==
nullptr)
1529 throw ref new ::Platform::NullReferenceException();
1532 return safe_cast< ::Platform::IBox<__TBoxValue>^>(
this)->
Value;
1535 operator Box<const __TBoxValue>^()
1537 return reinterpret_cast<Box<const __TBoxValue>^
>(
this);
1540 operator Box<volatile __TBoxValue>^()
1542 return reinterpret_cast<Box<volatile __TBoxValue>^
>(
this);
1545 operator Box<const volatile __TBoxValue>^()
1547 return reinterpret_cast<Box<const volatile __TBoxValue>^
>(
this);
1550 static operator Box<__TArg>^( ::Platform::IBox<__TArg>^ __boxValueArg)
1552 return reinterpret_cast<Box<__TArg>^
>(__boxValueArg);
1556 virtual property __TBoxValue
Value
1560 if (
this ==
nullptr)
1562 throw ref new ::Platform::NullReferenceException();
1565 return safe_cast< ::Platform::IBox<__TBoxValue>^>(
this)->
Value;
1571 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)
1575 inline Guid::Guid(__rcGUID_t __guid) :
1576 __a(reinterpret_cast<const __s_GUID&>(__guid).Data1),
1577 __b(reinterpret_cast<const __s_GUID&>(__guid).Data2),
1578 __c(reinterpret_cast<const __s_GUID&>(__guid).Data3),
1579 __d(reinterpret_cast<const __s_GUID&>(__guid).Data4[0]),
1580 __e(reinterpret_cast<const __s_GUID&>(__guid).Data4[1]),
1581 __f(reinterpret_cast<const __s_GUID&>(__guid).Data4[2]),
1582 __g(reinterpret_cast<const __s_GUID&>(__guid).Data4[3]),
1583 __h(reinterpret_cast<const __s_GUID&>(__guid).Data4[4]),
1584 __i(reinterpret_cast<const __s_GUID&>(__guid).Data4[5]),
1585 __j(reinterpret_cast<const __s_GUID&>(__guid).Data4[6]),
1586 __k(reinterpret_cast<const __s_GUID&>(__guid).Data4[7])
1590 inline Guid::operator ::__rcGUID_t()
1592 return reinterpret_cast<__rcGUID_t
>(*this);
1595 inline bool ::Platform::Guid::Equals(::Platform::Guid __guidArg)
1597 auto __a =
reinterpret_cast<const unsigned long*
>(
this);
1598 auto __b =
reinterpret_cast<const unsigned long*
>(&__guidArg);
1600 return (__a[0] == __b[0] && __a[1] == __b[1] && __a[2] == __b[2] && __a[3] == __b[3]);
1603 inline bool ::Platform::Guid::Equals(__rcGUID_t __guidArg)
1605 auto __a =
reinterpret_cast<const unsigned long*
>(
this);
1606 auto __b =
reinterpret_cast<const unsigned long*
>(&__guidArg);
1608 return (__a[0] == __b[0] && __a[1] == __b[1] && __a[2] == __b[2] && __a[3] == __b[3]);
1613 auto __a =
reinterpret_cast<const unsigned long*
>(&__aArg);
1614 auto __b =
reinterpret_cast<const unsigned long*
>(&__bArg);
1616 return (__a[0] == __b[0] && __a[1] == __b[1] && __a[2] == __b[2] && __a[3] == __b[3]);
1621 return !(__aArg == __bArg);
1626 auto __a =
reinterpret_cast<const unsigned long*
>(&__aArg);
1627 auto __b =
reinterpret_cast<const unsigned long*
>(&__bArg);
1629 if (__a[0] != __b[0])
1631 return __a[0] < __b[0];
1634 if (__a[1] != __b[1])
1636 return __a[1] < __b[1];
1639 if (__a[2] != __b[2])
1641 return __a[2] < __b[2];
1644 if (__a[3] != __b[3])
1646 return __a[3] < __b[3];
1652 inline Guid::Guid(
unsigned int __aArg,
unsigned short __bArg,
unsigned short __cArg,
unsigned __int8 __dArg,
1653 unsigned __int8 __eArg,
unsigned __int8 __fArg,
unsigned __int8 __gArg,
unsigned __int8 __hArg,
1654 unsigned __int8 __iArg,
unsigned __int8 __jArg,
unsigned __int8 __kArg) :
1655 __a(__aArg), __b(__bArg), __c(__cArg), __d(__dArg), __e(__eArg), __f(__fArg), __g(__gArg), __h(__hArg), __i(__iArg), __j(__jArg), __k(__kArg)
1659 inline Guid::Guid(
unsigned int __aArg,
unsigned short __bArg,
unsigned short __cArg, const ::Platform::Array<unsigned __int8>^ __dArg) :
1660 __a(__aArg), __b(__bArg), __c(__cArg)
1662 if (__dArg ==
nullptr || __dArg->Length != 8)
1664 __abi_WinRTraiseInvalidArgumentException();
1676 __declspec(selectany) ::
Platform::Guid __winrt_GUID_NULL(0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00);
1679 inline void* Details::Heap::Allocate(::Platform::SizeT ,
void* __pPlacementArg)
1681 return __pPlacementArg;
1684 inline void* Details::Heap::Allocate(::Platform::SizeT , ::Platform::SizeT ,
void* __pPlacementArg)
1686 return __pPlacementArg;
1689 inline void Details::Heap::PlacementFree(
void* ,
void* )
1694 template <
typename __TArg>
1695 Platform::Box<typename ::Platform::Details::RemoveCV<__TArg>::Type>^
__abi_create_box(__TArg __boxValueArg)
1697 return ref new ::Platform::Box<__TArg>(__boxValueArg);
1700 template <
typename __TArg>
1703 return safe_cast< ::Platform::Box<__TArg>^>(
__objArg);
1706 template<
typename T>
1708 inline T^ __abi_winrt_cast_from_object_to_delegate(
bool __isDynamicCastArg, ::
Platform::Object^ __objArg)
1710 if (__objArg ==
nullptr) {
1714 auto __p(
dynamic_cast< ::Platform::Details::CustomBox<T^> ^
>(__objArg));
1715 if (__p ==
nullptr) {
1716 if (__isDynamicCastArg) {
1720 __abi_WinRTraiseInvalidCastException();
1726 template<
typename T>
1728 inline ::
Platform::Object^ __abi_winrt_cast_from_delegate_to_object(
bool , T^ __objArg)
1730 if (__objArg ==
nullptr) {
1733 return ref new ::Platform::Details::CustomBox<T^>(
__objArg);
1739 if (
__pUnkMarshal ==
nullptr || __guid.Equals(__uuidof(__abi_IMarshal)) ==
false)
1745 __abi_IUnknown* __pUnkMarshalLocal;
1747 #if !defined(VCWINRT_DLL)
1750 long __hr = ::CoCreateFreeThreadedMarshaler(reinterpret_cast<IUnknown*>(
__weakRefSource->__target), reinterpret_cast<IUnknown**>(&__pUnkMarshalLocal));
1756 __pUnkMarshalLocal->__abi_Release();
1762 inline long __stdcall ::Platform::Details::ControlBlock::__abi_QueryInterface(::Platform::Guid& __riid,
void** __ppvObject)
1764 if (__riid.Equals(__uuidof(__abi_IUnknown)) ||
1765 __riid.Equals(__uuidof(__abi_IWeakReference)))
1768 *__ppvObject =
this;
1771 *__ppvObject =
nullptr;
1775 #pragma region String
1776 #pragma region String^ API
1780 #if !defined(_PREFIX_) && !defined(_PREFAST_)
1784 inline String::String()
1794 return *
reinterpret_cast<String^*
>(&__hstr);
1798 inline String::String(const ::default::char16* __strArg)
1800 if (__strArg ==
nullptr)
1805 return *
reinterpret_cast<String^*
>(&__hstr);
1809 inline String::String(const ::default::char16* __strArg,
unsigned int __lenArg)
1811 if ((__strArg ==
nullptr) || (__lenArg == 0))
1816 return *
reinterpret_cast<String^*
>(&__hstr);
1819 #endif // !defined(_PREFIX_) && !defined(_PREFAST_)
1821 inline const ::default::char16* String::Begin()
1825 inline const ::default::char16* String::End()
1827 return Data() + Length();
1830 inline Platform::String^ Object::ToString()
1832 return ::__abi_details::__abi_ObjectToString(
this,
true);
1835 inline const ::default::char16 * String::Data()
1840 inline unsigned int String::Length()
1844 inline bool String::IsEmpty()
1849 inline bool String::IsFastPass()
1854 inline bool String::Equals(Object^ __strArg)
1858 return (__result == 0);
1861 inline bool String::Equals(String^ __str1Arg)
1865 return (__result == 0);
1867 inline int String::CompareOrdinal(String^ __str1Arg, String^ __str2Arg)
1873 inline int String::GetHashCode()
1876 for (
auto i = Begin();
i != End(); ++
i)
1885 return (__result == 0);
1892 return (__result != 0);
1899 return (__result < 0);
1906 return (__result > 0);
1913 return (__result <= 0);
1920 return (__result >= 0);
1923 inline ::Platform::String ^ ::Platform::String::Concat(::Platform::String^ __str1Arg, ::Platform::String^ __str2Arg)
1925 String^ __str =
nullptr;
1930 inline ::Platform::String ^ ::Platform::String::Concat(::Platform::Object^ __str1Arg, ::Platform::Object^ __str2Arg)
1932 String^ __str =
nullptr;
1933 #pragma warning (suppress:6011) // False positive because __str?Arg not evaluated
1938 inline String^ String::ToString()
1940 return ref new ::Platform::String(Data());
1943 #pragma region string iterators
1944 inline const ::default::char16 *
begin(::Platform::String^ __strArg)
1946 return __strArg->Begin();
1949 inline const ::default::char16 *
end(::Platform::String^ __strArg)
1951 return __strArg->End();
1958 inline ::
Platform::String^ __abi_winrt_CreateSystemStringFromLiteral(const ::default::char16* __strArg)
1960 return ref new ::Platform::String(__strArg);
1963 template<
typename __TArg>
1966 return ref new ::Platform::Array<__TArg, 1>(__sizeArg);
1969 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)
1973 return *
reinterpret_cast< ::Platform::String^*
>(&__hstr);
1976 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)
1978 return __abi_winrt_CreateFastPassSystemStringFromLiteral(reinterpret_cast<const ::default::char16*>(__strArg), __lenArg, __psheaderArg);
1983 #pragma region Array
1990 template <
typename __HighLevelType,
unsigned int __dimension>
1993 if (static_cast<unsigned int>(-1) /
sizeof(__HighLevelType) < __elementcountArg)
1995 __abi_WinRTraiseInvalidArgumentException();
1997 auto __arr =
ref new ::Platform::Array<__HighLevelType, __dimension>(
nullptr, 0);
2003 if (!__isFastPassArg)
2005 __arr->Attach(reinterpret_cast<__HighLevelType*>(__srcArg), __elementcountArg);
2009 __arr->AttachFastPass(reinterpret_cast<__HighLevelType*>(__srcArg), __elementcountArg);
2015 template <
typename __HighLevelType,
unsigned int __dimension>
2018 if (__arrArg ==
nullptr)
2020 *__destArg =
nullptr;
2025 __HighLevelType **__destHigh =
reinterpret_cast<__HighLevelType **
>(__destArg);
2026 __arrArg->CopyToOrDetach(__destHigh, __sizeArg);
2030 reinterpret_cast<__abi_IUnknown*
>(
static_cast< ::Platform::Object^
>(__arrArg))->__abi_Release();
2036 template <
typename __LowLevelType,
typename __HighLevelType,
unsigned int __dimension>
2039 if (__arrArg ==
nullptr)
2043 return reinterpret_cast<__LowLevelType*
>(__arrArg->Data);
2046 template <
typename __TArg>
2055 template <
typename __TArg>
2060 typedef __TArg typeT;
2061 for (
unsigned int __i = 0; __i < __countArg; __i++)
2063 (&__srcArg[__i])->~typeT();
2070 template <
typename __TArg>
2074 void Init(__TArg* __dataArg,
unsigned int __sizeArg,
bool __needsInitArg =
false)
2079 (*__pArrayThis)->ArrayReferenceInit();
2083 if (static_cast<unsigned int>(-1) /
sizeof(__TArg) < __sizeArg)
2085 __abi_WinRTraiseInvalidArgumentException();
2090 (*__pArrayThis)->AttachFastPass(__dataArg, __sizeArg);
2093 ArrayReference(__TArg* __dataArg,
unsigned int __sizeArg,
bool __needsInitArg =
false)
2095 Init(__dataArg, __sizeArg, __needsInitArg);
2101 Init((*__pOther)->__data, (*__pOther)->__size);
2107 Init((*pOther)->__data, (*pOther)->__size);
2111 operator
Array<__TArg>^()
2116 return *__pArrayThis;
2123 #pragma region ::Platform::WriteOnlyArray
2124 template <
typename __TArg>
2129 template <
typename __TArg>
2136 __data = AllocateAndZeroInitialize(__sizeArg);
2140 template <
typename __TArg>
2147 __data = AllocateAndCopyElements(__dataArg, __sizeArg);
2151 template <
typename __TArg>
2154 if ((__fastpassflag ==
false) && (__data !=
nullptr))
2161 template <
typename __TArg>
2164 if (__data ==
nullptr)
2166 __abi_WinRTraiseNullReferenceException();
2169 if (__positionArg >= 0 && __positionArg < __size)
2171 __data[__positionArg] = __valueArg;
2172 return __data[__positionArg];
2175 __abi_WinRTraiseOutOfBoundsException();
2178 template <
typename __TArg>
2181 if (__data ==
nullptr)
2183 __abi_WinRTraiseNullReferenceException();
2186 if (__positionArg >= 0 && __positionArg < __size)
2188 return __data[__positionArg];
2191 __abi_WinRTraiseOutOfBoundsException();
2194 #if defined(_PREFIX_) || defined(_PREFAST_)
2195 template <
typename __TArg>
2198 if (__data ==
nullptr)
2200 __abi_WinRTraiseNullReferenceException();
2203 if (__positionArg >= 0 && __positionArg < __size)
2205 return __data[__positionArg];
2208 __abi_WinRTraiseOutOfBoundsException();
2210 #endif // #if defined(_PREFIX_) || defined(_PREFAST_)
2212 template <
typename __TArg>
2215 if (__data ==
nullptr)
2220 return &(__data[0]);
2223 template <
typename __TArg>
2226 if (__data ==
nullptr)
2231 return &(__data[__size]);
2234 template <
typename __TArg>
2240 template <
typename __TArg>
2243 return this->
begin();
2246 template <
typename __TArg>
2249 return __fastpassflag;
2252 template <
typename __TArg>
2256 __fastpassflag =
false;
2260 template <
typename __TArg>
2263 __TArg* __dest =
nullptr;
2264 if (__countArg == 0)
2269 if (static_cast<unsigned int>(-1) /
sizeof(__TArg) < __countArg)
2271 __abi_WinRTraiseInvalidCastException();
2274 if (__dest ==
nullptr)
2276 __abi_WinRTraiseOutOfMemoryException();
2283 template <
typename __TArg>
2286 __TArg* __dest = AllocateAndZeroInitialize(__countArg);
2287 for (
unsigned int __i = 0; __i < __countArg; ++__i)
2289 __dest[__i] = __srcArg[__i];
2295 #pragma region ::Platform::Array
2296 template <
typename __TArg>
2299 *
reinterpret_cast<void**
>(
static_cast< ::Platform::IValueType^
>(
this)) =
2300 Details::GetIBoxArrayVtable(reinterpret_cast<void*>(
static_cast< ::Platform::IBoxArray<__TArg>^
>(
this)));
2303 template <
typename __TArg>
2304 inline Array<__TArg, 1>::Array(
const Array<__TArg, 1>^ __source) : WriteOnlyArray(__source ? __source->Data : nullptr, __source ? __source->Length : 0)
2306 *
reinterpret_cast<void**
>(
static_cast< ::Platform::IValueType^
>(
this)) =
2307 Details::GetIBoxArrayVtable(reinterpret_cast<void*>(
static_cast< ::Platform::IBoxArray<__TArg>^
>(
this)));
2310 template <
typename __TArg>
2311 inline Array<__TArg, 1>::Array(
unsigned int __sizeArg) : WriteOnlyArray(__sizeArg)
2313 *
reinterpret_cast<void**
>(
static_cast< ::Platform::IValueType^
>(
this)) =
2314 Details::GetIBoxArrayVtable(reinterpret_cast<void*>(
static_cast< ::Platform::IBoxArray<__TArg>^
>(
this)));
2317 template <
typename __TArg>
2318 inline Array<__TArg, 1>::Array(__TArg* __dataArg,
unsigned int __sizeArg) : WriteOnlyArray(__dataArg, __sizeArg)
2320 *
reinterpret_cast<void**
>(
static_cast< ::Platform::IValueType^
>(
this)) =
2321 Details::GetIBoxArrayVtable(reinterpret_cast<void*>(
static_cast< ::Platform::IBoxArray<__TArg>^
>(
this)));
2324 template <
typename T>
2330 #if defined(_PREFIX_) || defined(_PREFAST_)
2331 template <
typename T>
2332 inline T& Array<T, 1>::operator[](
unsigned int __positionArg)
const
2334 return WriteOnlyArray<T, 1>::operator[](__positionArg);
2336 #endif // defined(_PREFIX_) || defined(_PREFAST_)
2338 template <
typename __TArg>
2344 template <
typename __TArg>
2345 inline void Array<__TArg, 1>::Attach(__TArg* __srcArg,
unsigned int __sizeArg)
2355 if (__size == 0 && __data ==
nullptr)
2358 __fastpassflag =
false;
2363 __abi_WinRTraiseFailureException();
2366 template <
typename __TArg>
2367 inline void Array<__TArg, 1>::AttachFastPass(__TArg* __srcArg,
unsigned int __sizeArg)
2376 if (__size == 0 && __data ==
nullptr)
2379 __fastpassflag =
true;
2384 __abi_WinRTraiseFailureException();
2387 template <
typename __TArg>
2388 inline void Array<__TArg, 1>::CopyToOrDetach(__TArg** __destArg,
unsigned int* __sizeArg)
2399 if ((__destArg ==
nullptr) || (__sizeArg ==
nullptr))
2401 __abi_WinRTraiseNullReferenceException();
2406 *__destArg =
nullptr;
2411 if(__data ==
nullptr)
2413 __abi_WinRTraiseFailureException();
2416 if (!__fastpassflag && __abi_reference_count.Get() == 1)
2418 *__destArg = __data;
2419 *__sizeArg = __size;
2422 else if (__fastpassflag || __abi_reference_count.Get() > 1)
2424 *__sizeArg = __size;
2425 *__destArg = AllocateAndCopyElements(__data, __size);
2429 __abi_WinRTraiseFailureException();
2435 #pragma region Array iterators
2436 template<
class __TArg>
2439 return __arrArg->begin();
2442 template<
class __TArg>
2445 return __arrArg->end();
2455 #if !defined(VCWINRT_DLL)
2456 __declspec(dllimport) void __stdcall EventSourceInitialize(
void**);
2457 __declspec(dllimport)
void __stdcall EventSourceUninitialize(
void**);
2458 __declspec(dllimport)
void* __stdcall EventSourceGetTargetArray(
void*, EventLock*);
2459 __declspec(dllimport)
unsigned int __stdcall EventSourceGetTargetArraySize(
void*);
2460 __declspec(dllimport)
void* __stdcall EventSourceGetTargetArrayEvent(
void*,
unsigned int, const
void*, __int64*);
2461 __declspec(dllimport) ::
Windows::Foundation::EventRegistrationToken __stdcall EventSourceAdd(
void**, EventLock*, ::
Platform::Delegate^);
2462 __declspec(dllimport)
void __stdcall EventSourceRemove(
void**, EventLock*, ::
Windows::Foundation::EventRegistrationToken);
2463 __declspec(dllimport) __abi_IUnknown* __stdcall GetWeakReference(const volatile ::
Platform::Object^ const other);
2464 __declspec(dllimport)
__declspec(no_refcount) ::
Platform::Object^ __stdcall ResolveWeakReference(const ::_GUID& guid, __abi_IUnknown** weakRef);
2466 __declspec(dllexport) void __stdcall EventSourceInitialize(
void**);
2467 __declspec(dllexport)
void __stdcall EventSourceUninitialize(
void**);
2468 __declspec(dllexport)
void* __stdcall EventSourceGetTargetArray(
void*, EventLock*);
2469 __declspec(dllexport)
unsigned int __stdcall EventSourceGetTargetArraySize(
void*);
2470 __declspec(dllexport)
void* __stdcall EventSourceGetTargetArrayEvent(
void*,
unsigned int, const
void*, __int64*);
2471 __declspec(dllexport) ::
Windows::Foundation::EventRegistrationToken __stdcall EventSourceAdd(
void**, EventLock*, ::
Platform::Delegate^);
2472 __declspec(dllexport)
void __stdcall EventSourceRemove(
void**, EventLock*, ::
Windows::Foundation::EventRegistrationToken);
2473 __declspec(dllexport) __abi_IUnknown* __stdcall GetWeakReference(const volatile ::
Platform::Object^ const other);
2474 __declspec(dllexport)
__declspec(no_refcount) ::
Platform::Object^ __stdcall ResolveWeakReference(const ::_GUID& guid, __abi_IUnknown** weakRef);
2483 Details::EventSourceInitialize(&
__targets);
2488 Details::EventSourceUninitialize(&
__targets);
2491 ::Windows::Foundation::EventRegistrationToken
Add(
Details::EventLock* __lockArg, ::Platform::Object^ __delegateInterfaceArg)
2493 return Details::EventSourceAdd(&
__targets, __lockArg, reinterpret_cast< ::Platform::Delegate^>(__delegateInterfaceArg));
2498 Details::EventSourceRemove(&
__targets, __lockArg, __tokenArg);
2503 template <
typename __TDelegate,
typename __TReturnType,
typename __TInvokeMethod>
2516 ::Platform::Object^ __targetsLoc;
2518 *
reinterpret_cast<void**
>(&__targetsLoc) = Details::EventSourceGetTargetArray(
__targets, __lockArg);
2520 typename __TReturnType __returnVal =
typename __TReturnType();
2522 if (__targetsLoc !=
nullptr)
2524 const unsigned int __size = Details::EventSourceGetTargetArraySize(reinterpret_cast<void*>(__targetsLoc));
2526 for (
unsigned int __index = 0; __index < __size; __index++)
2528 ::Windows::Foundation::EventRegistrationToken __token = {};
2532 __TDelegate^ __element;
2533 *
reinterpret_cast<void**
>(&__element) = Details::EventSourceGetTargetArrayEvent(
2534 reinterpret_cast<void*>(__targetsLoc),
2536 reinterpret_cast<const void*
>(&__uuidof(__TDelegate^)),
2540 __returnVal = (__invokeOneArg)(__element);
2542 catch(::Platform::Exception^ e)
2544 int __hr = e->HResult;
2545 if (__hr == 0x800706BA
2546 || __hr == 0x80010108
2547 || __hr == 0x800A1393L )
2549 Details::EventSourceRemove(&
__targets, __lockArg, __token);
2563 template <
typename __TDelegate,
typename __TInvokeMethod>
2576 ::Platform::Object^ __targetsLoc;
2578 *
reinterpret_cast<void**
>(&__targetsLoc) = Details::EventSourceGetTargetArray(
__targets, __lockArg);
2581 if (__targetsLoc !=
nullptr)
2583 const unsigned int __size = Details::EventSourceGetTargetArraySize(reinterpret_cast<void*>(__targetsLoc));
2585 for (
unsigned int __index = 0; __index < __size; __index++)
2587 ::Windows::Foundation::EventRegistrationToken __token = {};
2591 __TDelegate^ __element;
2592 *
reinterpret_cast<void**
>(&__element) = Details::EventSourceGetTargetArrayEvent(
2593 reinterpret_cast<void*>(__targetsLoc),
2595 reinterpret_cast<const void*
>(&__uuidof(__TDelegate^)),
2599 (__invokeOneArg)(__element);
2601 catch(::Platform::Exception^ e)
2603 int __hr = e->HResult;
2604 if (__hr == 0x800706BA
2605 || __hr == 0x80010108
2606 || __hr == 0x800A1393L )
2608 Details::EventSourceRemove(&
__targets, __lockArg, __token);
2620 template <
typename __TLambda,
typename... __TArgs >
2623 DoInvokeVoid<__TLambda>(__lockArg, [__args...](__TLambda^ __lambda) ->
void { __lambda(__args...); });
2626 template <
typename __TLambda,
typename __TReturnType,
typename... __TArgs >
2629 return DoInvoke<__TLambda, __TReturnType>(__lockArg, [__args...](__TLambda^ __lambda) ->
typename __TReturnType {
return __lambda(__args...); });
2641 static void __stdcall
RunServer(const ::default::char16* __serverName =
nullptr);
2642 static ::Platform::Details::IActivationFactory^ __stdcall
GetActivationFactory(::Platform::String^);
2658 if (__weakPtr !=
nullptr)
2660 __weakPtr->__abi_AddRef();
2667 if (__tmp !=
nullptr)
2669 __weakPtr =
nullptr;
2670 __tmp->__abi_Release();
2696 __otherArg.__weakPtr =
nullptr;
2699 explicit WeakReference(
const volatile ::Platform::Object^
const __otherArg) : __weakPtr(nullptr)
2701 __weakPtr = Details::GetWeakReference(__otherArg);
2717 if (&__otherArg !=
this)
2720 __weakPtr = __otherArg.__weakPtr;
2729 __weakPtr = __otherArg.__weakPtr;
2730 __otherArg.__weakPtr =
nullptr;
2736 __abi_IUnknown* __weakPtrLoc = Details::GetWeakReference(__otherArg);
2738 __weakPtr = __weakPtrLoc;
2742 template<
typename __TArg>
2744 __TArg^ Resolve()
const
2746 return reinterpret_cast<__TArg^
>(Details::ResolveWeakReference(__uuidof(__TArg^), &__weakPtr));
2755 friend
bool operator==(const
WeakReference&, decltype(__nullptr)) throw();
2756 friend
bool operator==(decltype(__nullptr), const WeakReference&) throw();
2757 friend
bool operator!=(const WeakReference&, const WeakReference&) throw();
2758 friend
bool operator!=(const WeakReference&, decltype(__nullptr)) throw();
2759 friend
bool operator!=(decltype(__nullptr), const WeakReference&) throw();
2760 friend
bool operator<(const WeakReference&, const WeakReference&) throw();
2763 inline
bool operator==(const WeakReference& __aArg, const WeakReference& __bArg) throw()
2765 return __aArg.
__weakPtr == __bArg.__weakPtr;
2775 return __bArg.__weakPtr ==
nullptr;
2780 return __aArg.
__weakPtr != __bArg.__weakPtr;
2790 return __bArg.__weakPtr !=
nullptr;
2795 return __aArg.
__weakPtr < __bArg.__weakPtr;
2799 namespace Windows {
namespace Foundation
2801 inline Point::Point(
float __xArg,
float __yArg) : X(__xArg), Y(__yArg)
2807 return __point1Arg.X == __point2Arg.X && __point1Arg.Y == __point2Arg.Y;
2812 return !(__point1Arg == __point2Arg);
2816 inline Size::Size(
float __widthArg,
float __heightArg)
2818 if (__widthArg < 0 || __heightArg < 0)
2820 __abi_WinRTraiseInvalidArgumentException();
2824 Height = __heightArg;
2834 return __size1Arg.Height == __size2Arg.Height && __size1Arg.Width == __size2Arg.Width;
2839 return !(__size1Arg == __size2Arg);
2842 inline Rect::Rect(
float __xArg,
float __yArg,
float __widthArg,
float __heightArg)
2844 if (__widthArg < 0 || __heightArg < 0)
2846 __abi_WinRTraiseInvalidArgumentException();
2852 Height = __heightArg;
2872 return __rect1Arg.X == __rect2Arg.X
2873 && __rect1Arg.Y == __rect2Arg.Y
2874 && __rect1Arg.Width == __rect2Arg.Width
2875 && __rect1Arg.Height == __rect2Arg.Height;
2880 return !(__rect1Arg == __rect2Arg);
2886 inline Thickness::Thickness(
double __uniformLengthArg)
2888 Left = Top = Right = Bottom = __uniformLengthArg;
2891 inline Thickness::Thickness(
double __leftArg,
double __topArg,
double __rightArg,
double __bottomArg)
2896 Bottom = __bottomArg;
2901 return __thickness1Arg.Left == __thickness2Arg.Left &&
2902 __thickness1Arg.Top == __thickness2Arg.Top &&
2903 __thickness1Arg.Right == __thickness2Arg.Right &&
2904 __thickness1Arg.Bottom == __thickness2Arg.Bottom;
2909 return !(__thickness1Arg == __thickness2Arg);
2912 inline CornerRadius::CornerRadius(
double __uniformRadiusArg)
2914 TopLeft = TopRight = BottomRight = BottomLeft = __uniformRadiusArg;
2917 inline CornerRadius::CornerRadius(
double __topLeftArg,
double __topRightArg,
double __bottomRightArg,
double __bottomLeftArg)
2919 TopLeft = __topLeftArg;
2920 TopRight = __topRightArg;
2921 BottomRight = __bottomRightArg;
2922 BottomLeft = __bottomLeftArg;
2927 return __cornerRadius1Arg.TopLeft == __cornerRadius2Arg.TopLeft &&
2928 __cornerRadius1Arg.TopRight == __cornerRadius2Arg.TopRight &&
2929 __cornerRadius1Arg.BottomRight == __cornerRadius2Arg.BottomRight &&
2930 __cornerRadius1Arg.BottomLeft == __cornerRadius2Arg.BottomLeft;
2935 return !(__cornerRadius1Arg == __cornerRadius2Arg);
2942 return Matrix(1, 0, 0, 1, 0, 0);
2955 inline Windows::Foundation::Point Matrix::Transform(Windows::Foundation::Point __pointArg)
2957 float x = __pointArg.X;
2958 float y = __pointArg.Y;
2959 double num = (y * M21) + OffsetX;
2960 double num2 = (x * M12) + OffsetY;
2965 return Windows::Foundation::Point(x, y);
2968 inline Matrix::Matrix(
double __m11Arg,
double __m12Arg,
double __m21Arg,
double __m22Arg,
double __offsetXArg,
double __offsetYArg)
2974 OffsetX = __offsetXArg;
2975 OffsetY = __offsetYArg;
2981 __matrix1Arg.M11 == __matrix2Arg.M11 &&
2982 __matrix1Arg.M12 == __matrix2Arg.M12 &&
2983 __matrix1Arg.M21 == __matrix2Arg.M21 &&
2984 __matrix1Arg.M22 == __matrix2Arg.M22 &&
2985 __matrix1Arg.OffsetX == __matrix2Arg.OffsetX &&
2986 __matrix1Arg.OffsetY == __matrix2Arg.OffsetY;
2991 return !(__matrix1Arg == __matrix2Arg);
2998 return Matrix3D(1, 0, 0, 0,
3006 return M11 == 1 && M12 == 0 && M13 == 0 && M14 == 0 &&
3007 M21 == 0 && M22 == 1 && M23 == 0 && M24 == 0 &&
3008 M31 == 0 && M32 == 0 && M33 == 1 && M34 == 0 &&
3009 OffsetX == 0 && OffsetY == 0 && OffsetZ == 0 && M44 == 1;
3012 inline Matrix3D::Matrix3D(
double __m11Arg,
double __m12Arg,
double __m13Arg,
double __m14Arg,
3013 double __m21Arg,
double __m22Arg,
double __m23Arg,
double __m24Arg,
3014 double __m31Arg,
double __m32Arg,
double __m33Arg,
double __m34Arg,
3015 double __offsetXArg,
double __offsetYArg,
double __offsetZArg,
double __m44Arg)
3029 OffsetX = __offsetXArg;
3030 OffsetY = __offsetYArg;
3031 OffsetZ = __offsetZArg;
3038 __matrix1Arg.M11 == __matrix2Arg.M11 &&
3039 __matrix1Arg.M12 == __matrix2Arg.M12 &&
3040 __matrix1Arg.M13 == __matrix2Arg.M13 &&
3041 __matrix1Arg.M14 == __matrix2Arg.M14 &&
3042 __matrix1Arg.M21 == __matrix2Arg.M21 &&
3043 __matrix1Arg.M22 == __matrix2Arg.M22 &&
3044 __matrix1Arg.M23 == __matrix2Arg.M23 &&
3045 __matrix1Arg.M24 == __matrix2Arg.M24 &&
3046 __matrix1Arg.M31 == __matrix2Arg.M31 &&
3047 __matrix1Arg.M32 == __matrix2Arg.M32 &&
3048 __matrix1Arg.M33 == __matrix2Arg.M33 &&
3049 __matrix1Arg.M34 == __matrix2Arg.M34 &&
3050 __matrix1Arg.OffsetX == __matrix2Arg.OffsetX &&
3051 __matrix1Arg.OffsetY == __matrix2Arg.OffsetY &&
3052 __matrix1Arg.OffsetZ == __matrix2Arg.OffsetZ &&
3053 __matrix1Arg.M44 == __matrix2Arg.M44;
3058 return !(__matrix1Arg == __matrix2Arg);
3064 inline KeyTime::KeyTime(Windows::Foundation::TimeSpan __timeSpanArg)
3066 if (__timeSpanArg.Duration < 0 )
3068 __abi_WinRTraiseInvalidArgumentException();
3070 TimeSpan = __timeSpanArg;
3075 return __keyTime1Arg.TimeSpan.Duration == __keyTime2Arg.TimeSpan.Duration;
3080 return !(__keyTime1Arg == __keyTime2Arg);
3083 inline RepeatBehavior::RepeatBehavior(Windows::Foundation::TimeSpan __durationArg)
3085 if (__durationArg.Duration < 0 )
3087 __abi_WinRTraiseInvalidArgumentException();
3090 __duration = __durationArg;
3092 __type = RepeatBehaviorType::Duration;
3112 RepeatBehavior forever;
3113 Windows::Foundation::TimeSpan ts = {0};
3114 forever.__duration = ts;
3115 forever.__count = 0.0;
3116 forever.__type = RepeatBehaviorType::Forever;
3123 return __type == RepeatBehaviorType::Count;
3128 return __type == RepeatBehaviorType::Duration;
3134 if (__repeatBehavior1Arg.__type == __repeatBehavior2Arg.__type)
3136 switch (__repeatBehavior1Arg.__type)
3138 case RepeatBehaviorType::Forever:
3141 case RepeatBehaviorType::Count:
3142 return __repeatBehavior1Arg.__count == __repeatBehavior2Arg.__count;
3144 case RepeatBehaviorType::Duration:
3146 return __repeatBehavior1Arg.__duration.Duration == __repeatBehavior2Arg.__duration.Duration;
3160 return !(__repeatBehavior1Arg == __repeatBehavior2Arg);
3166 inline Duration::Duration(Windows::Foundation::TimeSpan __timeSpanArg)
3168 __durationType = DurationType::TimeSpan;
3169 __timeSpan = __timeSpanArg;
3174 if (__t1Arg.HasTimeSpan)
3176 if (__t2Arg.HasTimeSpan)
3178 return __t1Arg.__timeSpan.Duration == __t2Arg.__timeSpan.Duration;
3187 return __t1Arg.__durationType == __t2Arg.__durationType;
3193 return !(__t1Arg == __t2Arg);
3198 return (__durationType == DurationType::TimeSpan);
3203 Duration __duration;
3204 __duration.__durationType = DurationType::Automatic;
3211 Duration __duration;
3212 __duration.__durationType = DurationType::Forever;
3225 Windows::Foundation::TimeSpan __timeSpanLoc;
3226 __timeSpanLoc.Duration = 0;
3227 return __timeSpanLoc;
3231 inline GridLength::GridLength(
double __pixelsArg)
3233 *
this = GridLength(__pixelsArg, Windows::UI::Xaml::GridUnitType::Pixel);
3238 return (__unitType == Windows::UI::Xaml::GridUnitType::Auto ) ? GridLength(1.0, Windows::UI::Xaml::GridUnitType::Auto).__unitValue : __unitValue;
3243 return (__unitType);
3248 return (__unitType == Windows::UI::Xaml::GridUnitType::Pixel);
3253 return (__unitType == Windows::UI::Xaml::GridUnitType::Auto);
3258 return (__unitType == Windows::UI::Xaml::GridUnitType::Star) ;
3263 return ( GridLength(1.0, Windows::UI::Xaml::GridUnitType::Auto));
3268 if (__gridLength1Arg.GridUnitType == __gridLength2Arg.GridUnitType)
3270 if (__gridLength1Arg.IsAuto || __gridLength1Arg.__unitValue == __gridLength2Arg.__unitValue)
3280 return !(__gridLength1Arg == __gridLength2Arg);
3289 #pragma comment(linker, "/EXPORT:DllGetActivationFactory=_DllGetActivationFactory@8,PRIVATE")
3290 #pragma comment(linker, "/EXPORT:DllCanUnloadNow=_DllCanUnloadNow@0,PRIVATE")
3292 #pragma comment(linker, "/EXPORT:DllGetActivationFactory=DllGetActivationFactory,PRIVATE")
3293 #pragma comment(linker, "/EXPORT:DllCanUnloadNow,PRIVATE")
3295 #endif //endif _WINRT_DLL
3296 #endif //endif VCWINRT_DLL
3298 #if !defined(VCWINRT_DLL)
3300 #if defined(_GUARDED_CRT)
3301 #pragma comment(lib, "vccorlibgd.lib")
3303 #pragma comment(lib, "vccorlibd.lib")
3306 #if defined(_GUARDED_CRT)
3307 #pragma comment(lib, "vccorlibg.lib")
3309 #pragma comment(lib, "vccorlib.lib")
3312 #endif // VCWINRT_DLL
3316 #pragma initialize_winrt_types_done
3319 #pragma warning( pop )
3321 #if defined(__VCCORLIB_H_ENABLE_ALL_WARNINGS)
3322 #pragma warning(pop)
3325 #endif // _VCCORLIB_H_
long __stdcall Get() volatile
Definition: vccorlib.h:800
inline::Platform::Array< __TArg, 1 > __abi_winrt_CreateArray(unsigned int __sizeArg)
Definition: vccorlib.h:1964
_Ty & get(array< _Ty, _Size > &_Arr) _NOEXCEPT
Definition: array:506
int __stdcall __Platform_WindowsIsStringEmpty(__abi_HSTRING)
int numcalls_AddRef
Definition: vccorlib.h:124
unsigned long Decrement() volatile
Definition: vccorlib.h:244
__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:1353
int refcount
Definition: vccorlib.h:131
long __stdcall __windowsCreateString(const __wchar_t *, int, __abi_HSTRING *)
__declspec(non_user_code)~__abi_dtor_helper()
Definition: vccorlib.h:436
const volatile T __objArg
Definition: vccorlib.h:424
const __wchar_t * __serverName
Definition: vccorlib.h:1065
void __abi_SetInstrumentationData(__abi_WinClassInstrumentation *__callbackArg)
Definition: vccorlib.h:147
Definition: vccorlib.h:345
__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:1359
const volatile::Platform::Object __objArg __abi_IUnknown * __pUnknown
Definition: vccorlib.h:392
int numcalls_QueryInterface
Definition: vccorlib.h:123
typedef void(__cdecl *_se_translator_function)(unsigned int
Definition: vccorlib.h:429
long(__stdcall *__factoryCreator)(unsigned int *
__abi_IUnknown * __factory
Definition: vccorlib.h:1049
long __stdcall __getIids(int, unsigned long *, const __s_GUID *,::Platform::Guid **)
__abi_TrustLevel
Definition: vccorlib.h:189
Definition: vccorlib.h:1047
__declspec(non_user_code) __abi_MultiThreadedRefCount()
Definition: vccorlib.h:222
_CRTIMP 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...
long __stdcall __Platform_WindowsConcatString(__abi_HSTRING, __abi_HSTRING, __abi_HSTRING *)
reference_wrapper< _Ty > ref(_Ty &_Val) _NOEXCEPT
Definition: xrefwrap:691
Definition: vccorlib.h:191
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:759
Definition: vccorlib.h:192
long __stdcall __Platform_WindowsCreateStringReference(const ::default::char16 *, unsigned int, __Platform_Details_HSTRING_HEADER *, __abi_HSTRING *)
int numcalls_Release
Definition: vccorlib.h:125
int numcalls_Other
Definition: vccorlib.h:129
void ReleaseControlBlock() volatile
Definition: vccorlib.h:263
Definition: vccorlib.h:193
int i[4]
Definition: dvec.h:70
int numcalls_GetRuntimeClassName
Definition: vccorlib.h:127
Definition: vccorlib.h:112
Definition: vccorlib.h:696
Definition: vccorlib.h:1055
__declspec(dllimport) Platform::String __abi_CustomToString(void *)
Definition: vccorlib.h:1382
unsigned long Increment() volatile
Definition: vccorlib.h:239
inline::Platform::Details::IWeakReference GetWeakReference()
Definition: vccorlib.h:795
void __abi_ThrowIfFailed(long __hrArg)
Definition: vccorlib.h:91
long __stdcall __Platform_CoCreateFreeThreadedMarshaler(::Platform::Object^,::Platform::Object^*)
long __refcount
Definition: vccorlib.h:220
Definition: vccorlib.h:105
__declspec(non_user_code) __abi_FTMWeakRefData(
Definition: vccorlib.h:705
__abi_IUnknown ** __ppTargetUnknown
Definition: vccorlib.h:393
Definition: vccorlib.h:1370
Platform::Box< typename::Platform::Details::RemoveCV< __TArg >::Type > __abi_create_box(__TArg __boxValueArg)
Definition: vccorlib.h:1695
unsigned int __stdcall __Platform_WindowsGetStringLen(__abi_HSTRING)
const __wchar_t * __typeName
Definition: vccorlib.h:1372
unsigned long __stdcall Increment() volatile
Definition: vccorlib.h:749
__abi___FactoryCache * __factoryCache
Definition: vccorlib.h:1064
const volatile::Platform::String __pSourceArg auto __pRaw
Definition: vccorlib.h:1338
#define false
Definition: stdbool.h:11
void * _InterlockedCompareExchangePointer(void *volatile *, void *, void *)
long __stdcall __Platform_WindowsCompareStringOrdinal(__abi_HSTRING, __abi_HSTRING, int *)
void ReleaseControlBlock()
Definition: vccorlib.h:811
void *__stdcall __Platform_CoTaskMemAlloc(size_t)
virtual long __stdcall __abi_GetTrustLevel(__abi_TrustLevel *)=0
__interface __declspec(uuid("00000035-0000-0000-C000-000000000046")) __abi_IActivationFactory
Definition: vccorlib.h:281
void __abi_CopyToAttached()
Definition: vccorlib.h:153
Definition: vccorlib.h:218
__abi_WinClassInstrumentation * callback
Definition: vccorlib.h:121
__TArg __winrt_Empty_Struct()
Definition: vccorlib.h:1039
int numcalls_GetTrustLevel
Definition: vccorlib.h:128
int(__stdcall *__getTrustLevel)()
void * __detach_as_voidptr(void **__ppObjArg)
Definition: vccorlib.h:530
int __typeId
Definition: vccorlib.h:1373
long __stdcall __Platform_WindowsDuplicateString(__abi_HSTRING, __abi_HSTRING *)
__abi_WinClassInstrumentation()
Definition: vccorlib.h:133
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:80
__abi_FTMWeakRefData * GetFreeThreadedMarshaler()
Definition: vccorlib.h:786
__TArg __abi_unbox(::Platform::Object^__objArg)
Definition: vccorlib.h:1701
const ::default::char16 *__stdcall __Platform_WindowsGetStringRawBuffer(__abi_HSTRING, unsigned int *)
void * __cookie
Definition: vccorlib.h:1050
bool operator>=(const unorm &_Lhs, const unorm &_Rhs) __GPU
Definition: amp_short_vectors.h:470
Definition: vccorlib.h:119
__declspec(non_user_code) void __abi_dtor()
Definition: vccorlib.h:231
__abi___classObjectEntry::Platform::Guid __abi_IUnknown **const __wchar_t *__stdcall * __getRuntimeName()
unsigned long Get() volatile
Definition: vccorlib.h:259
__abi_IUnknown *volatile __pUnkMarshal
Definition: vccorlib.h:702
long __cdecl _InterlockedIncrement(long volatile *)
__abi_IUnknown * __pUnknown
Definition: vccorlib.h:431
long __stdcall __abi_QueryInterface(::Platform::Guid &__guid, void **__pOut)
Definition: vccorlib.h:1737
long __cdecl _InterlockedCompareExchange(long volatile *, long, long)
#define true
Definition: stdbool.h:12
int destructed
Definition: vccorlib.h:130
long __stdcall __getActivationFactoryByPCWSTR(void *,::Platform::Guid &, void **)
__declspec(non_user_code) void __abi_dtor()
Definition: vccorlib.h:733
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:701
__declspec(non_user_code) __abi_dtor_helper(const volatile
Definition: vccorlib.h:433
int numcalls_GetIids
Definition: vccorlib.h:126