83 references to ComWrappersSupport
PresentationFramework (83)
MS\Internal\WindowsRuntime\Generated\Windows.Data.Text.cs (39)
357
return new global::MS.Internal.WindowsRuntime.ABI.Windows.Data.Text.IWordsSegmenter(
ComWrappersSupport
.GetObjectReferenceForInterface(ptr));
365
ComWrappersSupport
.RegisterObjectForInterface(this, ThisPtr);
466
var nativeVftbl = (IntPtr*)
ComWrappersSupport
.AllocateVtableMemory(typeof(Vftbl), Marshal.SizeOf<global::WinRT.IInspectable.Vftbl>() + sizeof(IntPtr) * 3);
479
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IAlternateWordForm>(thisPtr).AlternateText;
498
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IAlternateWordForm>(thisPtr).NormalizationFormat;
517
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IAlternateWordForm>(thisPtr).SourceTextSegment;
638
var nativeVftbl = (IntPtr*)
ComWrappersSupport
.AllocateVtableMemory(typeof(Vftbl), Marshal.SizeOf<global::WinRT.IInspectable.Vftbl>() + sizeof(IntPtr) * 17);
651
__codepoint = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IUnicodeCharactersStatics>(thisPtr).GetCodepointFromSurrogatePair(highSurrogate, lowSurrogate);
672
global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IUnicodeCharactersStatics>(thisPtr).GetSurrogatePairFromCodepoint(codepoint, out __highSurrogate, out __lowSurrogate);
692
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IUnicodeCharactersStatics>(thisPtr).IsHighSurrogate(codepoint);
711
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IUnicodeCharactersStatics>(thisPtr).IsLowSurrogate(codepoint);
730
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IUnicodeCharactersStatics>(thisPtr).IsSupplementary(codepoint);
749
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IUnicodeCharactersStatics>(thisPtr).IsNoncharacter(codepoint);
768
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IUnicodeCharactersStatics>(thisPtr).IsWhitespace(codepoint);
787
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IUnicodeCharactersStatics>(thisPtr).IsAlphabetic(codepoint);
806
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IUnicodeCharactersStatics>(thisPtr).IsCased(codepoint);
825
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IUnicodeCharactersStatics>(thisPtr).IsUppercase(codepoint);
844
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IUnicodeCharactersStatics>(thisPtr).IsLowercase(codepoint);
863
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IUnicodeCharactersStatics>(thisPtr).IsIdStart(codepoint);
882
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IUnicodeCharactersStatics>(thisPtr).IsIdContinue(codepoint);
901
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IUnicodeCharactersStatics>(thisPtr).IsGraphemeBase(codepoint);
920
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IUnicodeCharactersStatics>(thisPtr).IsGraphemeExtend(codepoint);
939
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IUnicodeCharactersStatics>(thisPtr).GetNumericType(codepoint);
958
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IUnicodeCharactersStatics>(thisPtr).GetGeneralCategory(codepoint);
1150
var nativeVftbl = (IntPtr*)
ComWrappersSupport
.AllocateVtableMemory(typeof(Vftbl), Marshal.SizeOf<global::WinRT.IInspectable.Vftbl>() + sizeof(IntPtr) * 3);
1163
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IWordSegment>(thisPtr).AlternateForms;
1182
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IWordSegment>(thisPtr).SourceTextSegment;
1201
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IWordSegment>(thisPtr).Text;
1302
var nativeVftbl = (IntPtr*)
ComWrappersSupport
.AllocateVtableMemory(typeof(Vftbl), Marshal.SizeOf<global::WinRT.IInspectable.Vftbl>() + sizeof(IntPtr) * 4);
1315
__result = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IWordsSegmenter>(thisPtr).GetTokenAt(MarshalString.FromAbi(text), startIndex);
1334
__result = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IWordsSegmenter>(thisPtr).GetTokens(MarshalString.FromAbi(text));
1351
global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IWordsSegmenter>(thisPtr).Tokenize(MarshalString.FromAbi(text), startIndex, global::MS.Internal.WindowsRuntime.ABI.Windows.Data.Text.WordSegmentsTokenizingHandler.FromAbi(handler));
1369
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IWordsSegmenter>(thisPtr).ResolvedLanguage;
1490
var nativeVftbl = (IntPtr*)
ComWrappersSupport
.AllocateVtableMemory(typeof(Vftbl), Marshal.SizeOf<global::WinRT.IInspectable.Vftbl>() + sizeof(IntPtr) * 1);
1503
__result = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Data.Text.IWordsSegmenterFactory>(thisPtr).CreateWithLanguage(MarshalString.FromAbi(language));
1584
var nativeVftbl =
ComWrappersSupport
.AllocateVtableMemory(typeof(WordSegmentsTokenizingHandler), Marshal.SizeOf<global::WinRT.Interop.IDelegateVftbl>());
1592
managedDelegate is null ? null :
ComWrappersSupport
.CreateCCWForObject(managedDelegate).As<global::WinRT.Interop.IDelegateVftbl>(GuidGenerator.GetIID(typeof(WordSegmentsTokenizingHandler)));
1599
return abiDelegate is null ? null : (global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordSegmentsTokenizingHandler)
ComWrappersSupport
.TryRegisterObjectForInterface(new global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordSegmentsTokenizingHandler(new NativeDelegateWrapper(abiDelegate).Invoke), nativeDelegate);
1645
global::WinRT.
ComWrappersSupport
.MarshalDelegateInvoke(thisPtr, (global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordSegmentsTokenizingHandler invoke) =>
MS\Internal\WindowsRuntime\Generated\Windows.Globalization.cs (18)
109
return new global::MS.Internal.WindowsRuntime.ABI.Windows.Globalization.ILanguage(
ComWrappersSupport
.GetObjectReferenceForInterface(ptr));
117
ComWrappersSupport
.RegisterObjectForInterface(this, ThisPtr);
241
var nativeVftbl = (IntPtr*)
ComWrappersSupport
.AllocateVtableMemory(typeof(Vftbl), Marshal.SizeOf<global::WinRT.IInspectable.Vftbl>() + sizeof(IntPtr) * 4);
254
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Globalization.ILanguage>(thisPtr).DisplayName;
273
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Globalization.ILanguage>(thisPtr).LanguageTag;
292
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Globalization.ILanguage>(thisPtr).NativeName;
311
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Globalization.ILanguage>(thisPtr).Script;
425
var nativeVftbl = (IntPtr*)
ComWrappersSupport
.AllocateVtableMemory(typeof(Vftbl), Marshal.SizeOf<global::WinRT.IInspectable.Vftbl>() + sizeof(IntPtr) * 1);
438
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Globalization.ILanguage2>(thisPtr).LayoutDirection;
499
var nativeVftbl = (IntPtr*)
ComWrappersSupport
.AllocateVtableMemory(typeof(Vftbl), Marshal.SizeOf<global::WinRT.IInspectable.Vftbl>() + sizeof(IntPtr) * 1);
512
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Globalization.ILanguageExtensionSubtags>(thisPtr).GetExtensionSubtags(MarshalString.FromAbi(singleton));
580
var nativeVftbl = (IntPtr*)
ComWrappersSupport
.AllocateVtableMemory(typeof(Vftbl), Marshal.SizeOf<global::WinRT.IInspectable.Vftbl>() + sizeof(IntPtr) * 1);
593
__result = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Globalization.ILanguageFactory>(thisPtr).CreateLanguage(MarshalString.FromAbi(languageTag));
663
var nativeVftbl = (IntPtr*)
ComWrappersSupport
.AllocateVtableMemory(typeof(Vftbl), Marshal.SizeOf<global::WinRT.IInspectable.Vftbl>() + sizeof(IntPtr) * 2);
676
__result = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Globalization.ILanguageStatics>(thisPtr).IsWellFormed(MarshalString.FromAbi(languageTag));
695
__value = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Globalization.ILanguageStatics>(thisPtr).CurrentInputMethodLanguageTag;
779
var nativeVftbl = (IntPtr*)
ComWrappersSupport
.AllocateVtableMemory(typeof(Vftbl), Marshal.SizeOf<global::WinRT.IInspectable.Vftbl>() + sizeof(IntPtr) * 1);
792
__result = global::WinRT.
ComWrappersSupport
.FindObject<global::MS.Internal.WindowsRuntime.Windows.Globalization.ILanguageStatics2>(thisPtr).TrySetInputMethodLanguageTag(MarshalString.FromAbi(languageTag));
MS\Internal\WindowsRuntime\Generated\WinRT.cs (1)
273
return
ComWrappersSupport
.GetObjectReferenceForInterface(instancePtr).As<I>();
MS\Internal\WindowsRuntime\Generated\WinRT\ComWrappersSupport.net5.cs (3)
77
var entries =
ComWrappersSupport
.GetInterfaceTableEntries(obj);
109
IObjectReference objRef =
ComWrappersSupport
.GetObjectReferenceForInterface(externalComObject);
133
if (
ComWrappersSupport
.TryUnwrapObject(obj, out var objRef))
MS\Internal\WindowsRuntime\Generated\WinRT\ExceptionHelpers.cs (3)
115
ex =
ComWrappersSupport
.FindObject<Exception>(languageException.ThisPtr);
193
using var managedExceptionWrapper =
ComWrappersSupport
.CreateCCWForObject(ex);
199
using var iErrorInfo =
ComWrappersSupport
.CreateCCWForObject(new ManagedExceptionErrorInfo(ex));
MS\Internal\WindowsRuntime\Generated\WinRT\IInspectable.cs (2)
58
iids =
ComWrappersSupport
.GetInspectableInfo(pThis).IIDs;
73
string runtimeClassName =
ComWrappersSupport
.GetInspectableInfo(pThis).RuntimeClassName;
MS\Internal\WindowsRuntime\Generated\WinRT\Interop\ExceptionErrorInfo.cs (6)
129
guid =
ComWrappersSupport
.FindObject<global::WinRT.Interop.IErrorInfo>(thisPtr).GetGuid();
145
_source =
ComWrappersSupport
.FindObject<global::WinRT.Interop.IErrorInfo>(thisPtr).GetSource();
163
_description =
ComWrappersSupport
.FindObject<global::WinRT.Interop.IErrorInfo>(thisPtr).GetDescription();
181
_helpFile =
ComWrappersSupport
.FindObject<global::WinRT.Interop.IErrorInfo>(thisPtr).GetHelpFile();
199
_helpFileContent =
ComWrappersSupport
.FindObject<global::WinRT.Interop.IErrorInfo>(thisPtr).GetHelpFileContent();
362
return global::WinRT.
ComWrappersSupport
.FindObject<global::WinRT.Interop.ISupportErrorInfo>(thisPtr).InterfaceSupportsErrorInfo(guid) ? 0 : 1;
MS\Internal\WindowsRuntime\Generated\WinRT\Interop\IUnknownVftbl.cs (1)
34
return
ComWrappersSupport
.IUnknownVftbl;
MS\Internal\WindowsRuntime\Generated\WinRT\Marshalers.cs (4)
921
if (unwrapObject &&
ComWrappersSupport
.TryUnwrapObject(o, out var objRef))
925
return
ComWrappersSupport
.CreateCCWForObject(o);
941
return
ComWrappersSupport
.FindObject<object>(unknownObjRef.ThisPtr);
954
return
ComWrappersSupport
.CreateRcwForComObject(ptr);
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (4)
44
obj is null ? null :
ComWrappersSupport
.CreateCCWForObject(obj).As<Vftbl>(GuidGenerator.GetIID(typeof(IEnumerable<T>)));
135
var __this = global::WinRT.
ComWrappersSupport
.FindObject<global::System.Collections.Generic.IEnumerable<T>>(thisPtr);
200
obj is null ? null :
ComWrappersSupport
.CreateCCWForObject(obj).As<Vftbl>(GuidGenerator.GetIID(typeof(IEnumerator<T>)));
469
var __this = global::WinRT.
ComWrappersSupport
.FindObject<global::System.Collections.Generic.IEnumerator<T>>(thisPtr);
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IReadOnlyList.cs (2)
39
obj is null ? null :
ComWrappersSupport
.CreateCCWForObject(obj).As<Vftbl>(GuidGenerator.GetIID(typeof(IReadOnlyList<T>)));
260
var __this = global::WinRT.
ComWrappersSupport
.FindObject<global::System.Collections.Generic.IReadOnlyList<T>>(thisPtr);