25 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)
2117return PInvokeCore.GetThreadLocale(); 2366hr = categorizeProperties.Value->GetCategoryName(propcat, (int)PInvokeCore.GetThreadLocale(), &name); 2974lcid = PInvokeCore.GetThreadLocale(), 3034PInvokeCore.GetThreadLocale(), 3321qaContainer.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(),