48 references to GetThreadLocale
System.Private.Windows.Core (2)
Windows\Win32\System\Com\IDispatch.cs (2)
113PInvokeCore.GetThreadLocale(), 141HRESULT result = GetIDsOfNames(IID.NULL(), (PWSTR*)&n, 1u, PInvokeCore.GetThreadLocale(), &id);
System.Windows.Forms (23)
System\Windows\Forms\ActiveX\AxHost.cs (5)
2120return PInvokeCore.GetThreadLocale(); 2369hr = categorizeProperties.Value->GetCategoryName(propcat, (int)PInvokeCore.GetThreadLocale(), &name); 2977lcid = PInvokeCore.GetThreadLocale(), 3037PInvokeCore.GetThreadLocale(), 3324qaContainer.lcid = (int)PInvokeCore.GetThreadLocale();
System\Windows\Forms\ComponentModel\COM2Interop\Com2AboutBoxPropertyDescriptor.AboutBoxUITypeEditor.cs (1)
28PInvokeCore.GetThreadLocale(),
System\Windows\Forms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (2)
75PInvokeCore.GetThreadLocale(), 110PInvokeCore.GetThreadLocale(),
System\Windows\Forms\ComponentModel\COM2Interop\COM2ICategorizePropertiesHandler.cs (1)
50return categorizeProperties.Value->GetCategoryName(categoryId, (int)PInvokeCore.GetThreadLocale(), &categoryName).Succeeded
System\Windows\Forms\ComponentModel\COM2Interop\COM2IVsPerPropertyBrowsingHandler.cs (2)
64hr = propertyBrowsing.Value->GetLocalizedPropertyInfo(sender.DISPID, PInvokeCore.GetThreadLocale(), null, &helpString); 136hr = propertyBrowsing.Value->GetLocalizedPropertyInfo(sender.DISPID, PInvokeCore.GetThreadLocale(), &name, null);
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (2)
620hr = dispatch.Value->TryGetProperty(DISPID, &nativeValue, PInvokeCore.GetThreadLocale()); 903PInvokeCore.GetThreadLocale(),
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyPageUITypeConverter.cs (1)
87PInvokeCore.GetThreadLocale()).ThrowOnFailure();
System\Windows\Forms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (2)
84dispatch.Value->GetTypeInfo(0, PInvokeCore.GetThreadLocale(), &typeInfo); 179hr = dispatch->GetIDsOfNames(&guid, (PWSTR*)&n, 1, PInvokeCore.GetThreadLocale(), &pDispid);
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (2)
131HRESULT hr = dispatch->GetIDsOfNames(&guid, (PWSTR*)&n, 1, PInvokeCore.GetThreadLocale(), &dispid); 148HRESULT hr = dispatch->TryGetProperty(dispid, &result, PInvokeCore.GetThreadLocale());
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
1745PInvokeCore.SendMessage(this, PInvoke.LB_SETLOCALE, (WPARAM)PInvokeCore.GetThreadLocale());
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (2)
515hr = scriptDispatch.Value->GetIDsOfNames(IID.NULL(), (PWSTR*)&n, 1, PInvokeCore.GetThreadLocale(), &dispid); 544PInvokeCore.GetThreadLocale(),
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (2)
585hr = scriptDispatch.Value->GetIDsOfNames(IID.NULL(), (PWSTR*)&n, 1, PInvokeCore.GetThreadLocale(), &dispid); 614PInvokeCore.GetThreadLocale(),
System.Windows.Forms.Interop.Tests (1)
AccessibleObjectTests.cs (1)
749dispatch.Value->GetTypeInfo(0, PInvokeCore.GetThreadLocale(), typeInfo).ThrowOnFailure();
System.Windows.Forms.Primitives.Tests (19)
Interop\Oleaut32\ITypeInfoTests.cs (16)
22((IDispatch*)iPictureDisp.Value)->GetTypeInfo(0, PInvokeCore.GetThreadLocale(), typeInfo); 36((IDispatch*)iPictureDisp.Value)->GetTypeInfo(0, PInvokeCore.GetThreadLocale(), typeInfo); 50((IDispatch*)iPictureDisp.Value)->GetTypeInfo(0, PInvokeCore.GetThreadLocale(), typeInfo); 66((IDispatch*)iPictureDisp.Value)->GetTypeInfo(0, PInvokeCore.GetThreadLocale(), typeInfo); 86((IDispatch*)iPictureDisp.Value)->GetTypeInfo(0, PInvokeCore.GetThreadLocale(), typeInfo); 106((IDispatch*)iPictureDisp.Value)->GetTypeInfo(0, PInvokeCore.GetThreadLocale(), typeInfo); 140((IDispatch*)iPictureDisp.Value)->GetTypeInfo(0, PInvokeCore.GetThreadLocale(), typeInfo); 164((IDispatch*)iPictureDisp.Value)->GetTypeInfo(0, PInvokeCore.GetThreadLocale(), typeInfo); 178((IDispatch*)iPictureDisp.Value)->GetTypeInfo(0, PInvokeCore.GetThreadLocale(), typeInfo); 192((IDispatch*)iPictureDisp.Value)->GetTypeInfo(0, PInvokeCore.GetThreadLocale(), typeInfo); 214((IDispatch*)iPictureDisp.Value)->GetTypeInfo(0, PInvokeCore.GetThreadLocale(), typeInfo); 231((IDispatch*)iPictureDisp.Value)->GetTypeInfo(0, PInvokeCore.GetThreadLocale(), typeInfo); 245((IDispatch*)iPictureDisp.Value)->GetTypeInfo(0, PInvokeCore.GetThreadLocale(), typeInfo); 284((IDispatch*)iPictureDisp.Value)->GetTypeInfo(0, PInvokeCore.GetThreadLocale(), typeInfo); 297((IDispatch*)iPictureDisp.Value)->GetTypeInfo(0, PInvokeCore.GetThreadLocale(), typeInfo); 326((IDispatch*)iPictureDisp.Value)->GetTypeInfo(0, PInvokeCore.GetThreadLocale(), typeInfo);
Windows\Win32\System\Com\IDispatchTests.cs (3)
29picture.Value->GetIDsOfNames(&riid, pRgszNames, (uint)rgszNames.Length, PInvokeCore.GetThreadLocale(), pRgDispId); 45picture.Value->GetTypeInfo(0, PInvokeCore.GetThreadLocale(), typeInfo); 71PInvokeCore.GetThreadLocale());
System.Windows.Forms.Tests (3)
System\Windows\Forms\ApplicationTests.cs (2)
54Assert.Equal(expectedLcid, PInvokeCore.GetThreadLocale()); 61Assert.Equal(expectedLcid, PInvokeCore.GetThreadLocale());
System\Windows\Forms\HtmlToClrEventProxyTest.cs (1)
78uint locale = PInvokeCore.GetThreadLocale();