| 1 |
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> |
| 2 |
<Type Name="windows_core::array::Array<*>"> |
| 3 |
<DisplayString>{{ len={len} }}</DisplayString> |
| 4 |
|
| 5 |
<Expand> |
| 6 |
<Item Name="[len]">len</Item> |
| 7 |
<ArrayItems> |
| 8 |
<Size>len</Size> |
| 9 |
<ValuePointer>data</ValuePointer> |
| 10 |
</ArrayItems> |
| 11 |
</Expand> |
| 12 |
</Type> |
| 13 |
|
| 14 |
<Type Name="windows_core::error::Error"> |
| 15 |
<Expand> |
| 16 |
<ExpandedItem>code</ExpandedItem> |
| 17 |
<Item Name="[info]">info</Item> |
| 18 |
</Expand> |
| 19 |
</Type> |
| 20 |
|
| 21 |
<Type Name="windows_core::hresult::HRESULT"> |
| 22 |
<DisplayString>{(HRESULT)__0}</DisplayString> |
| 23 |
</Type> |
| 24 |
|
| 25 |
<Type Name="windows_core::imp::ref_count::RefCount"> |
| 26 |
<DisplayString>{__0}</DisplayString> |
| 27 |
</Type> |
| 28 |
|
| 29 |
<Type Name="windows_core::strings::hstring::HSTRING"> |
| 30 |
<Intrinsic Name="header" Expression="*((windows_core::strings::hstring::Header**)this)" ReturnType="windows_core::strings::hstring::Header *" /> |
| 31 |
<Intrinsic Name="is_empty" Expression="header() == nullptr" /> |
| 32 |
<DisplayString Condition="is_empty()">""</DisplayString> |
| 33 |
<DisplayString>{((char16_t*)header()->data),[header()->len]su}</DisplayString> |
| 34 |
|
| 35 |
<Expand> |
| 36 |
<Item Name="[len]">is_empty() ? (unsigned int)0 : header()->len</Item> |
| 37 |
<Item Name="[ref_count]" Condition="!is_empty()">header()->count</Item> |
| 38 |
<Item Name="[flags]" Condition="!is_empty()">header()->flags</Item> |
| 39 |
<Synthetic Name="[chars]" Condition="!is_empty()"> |
| 40 |
<Expand> |
| 41 |
<ArrayItems> |
| 42 |
<Size>header()->len</Size> |
| 43 |
<ValuePointer>(char16_t*)header()->data</ValuePointer> |
| 44 |
</ArrayItems> |
| 45 |
</Expand> |
| 46 |
</Synthetic> |
| 47 |
</Expand> |
| 48 |
</Type> |
| 49 |
|
| 50 |
<Type Name="windows_core::strings::pstr::PSTR"> |
| 51 |
<AlternativeType Name="windows_core::strings::pcstr::PCSTR" /> |
| 52 |
<Intrinsic Name="len" Expression="strlen(((char*)__0))" /> |
| 53 |
<DisplayString>{(char*)__0,[len()]s8}</DisplayString> |
| 54 |
<Expand> |
| 55 |
<Item Name="[len]">len()</Item> |
| 56 |
<Synthetic Name="[chars]"> |
| 57 |
<Expand> |
| 58 |
<ArrayItems> |
| 59 |
<Size>len()</Size> |
| 60 |
<ValuePointer>(char*)__0</ValuePointer> |
| 61 |
</ArrayItems> |
| 62 |
</Expand> |
| 63 |
</Synthetic> |
| 64 |
</Expand> |
| 65 |
</Type> |
| 66 |
|
| 67 |
<Type Name="windows_core::strings::pwstr::PWSTR"> |
| 68 |
<AlternativeType Name="windows_core::strings::pcwstr::PCWSTR" /> |
| 69 |
<Intrinsic Name="len" Expression="wcslen(((WCHAR*)__0))" /> |
| 70 |
<DisplayString>{(char16_t*)__0,[len()]su}</DisplayString> |
| 71 |
|
| 72 |
<Expand> |
| 73 |
<Item Name="[len]">len()</Item> |
| 74 |
<Synthetic Name="[chars]"> |
| 75 |
<Expand> |
| 76 |
<ArrayItems> |
| 77 |
<Size>len()</Size> |
| 78 |
<ValuePointer>(char16_t*)__0</ValuePointer> |
| 79 |
</ArrayItems> |
| 80 |
</Expand> |
| 81 |
</Synthetic> |
| 82 |
</Expand> |
| 83 |
</Type> |
| 84 |
</AutoVisualizer> |