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