235 references to Auto
Microsoft.Build.Framework (5)
NativeMethods.cs (5)
286[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)] 1766[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)] 1778[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)] 1782[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)] 1801[DllImport("kernel32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\FixedSizeBufferTests.cs (1)
965foreach (var charSet in new[] { CharSet.Ansi, CharSet.Auto, CharSet.None, CharSet.Unicode })
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Attributes\AttributeTests_WellKnownAttributes.cs (3)
2869new { attr = MakeDllImport(charSet: CharSet.Auto), expected = MethodImportAttributes.CallingConventionWinApi | MethodImportAttributes.CharSetAuto }, // M10 2878new { attr = MakeDllImport(charSet: CharSet.Auto, exactSpelling: true), expected = MethodImportAttributes.CallingConventionWinApi | MethodImportAttributes.ExactSpelling | MethodImportAttributes.CharSetAuto }, // M17 2879new { attr = MakeDllImport(charSet: CharSet.Auto, exactSpelling: false), expected = MethodImportAttributes.CallingConventionWinApi | MethodImportAttributes.CharSetAuto }, // M18
Microsoft.CodeAnalysis.EditorFeatures (1)
Utilities\NativeMethods.cs (1)
17[DllImport("user32.dll", CharSet = CharSet.Auto)]
Microsoft.CodeAnalysis.Remote.Workspaces (1)
BrokeredServiceConnection.cs (1)
414[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (3)
Attributes\AttributeTests_WellKnownAttributes.vb (3)
1889New With {.n = 10, .attr = MakeDllImport(charSet:=CharSet.Auto), .expected = MethodImportAttributes.CallingConventionWinApi Or MethodImportAttributes.CharSetAuto}, 1898New With {.n = 17, .attr = MakeDllImport(charSet:=CharSet.Auto, exactSpelling:=True), .expected = MethodImportAttributes.CallingConventionWinApi Or MethodImportAttributes.ExactSpelling Or MethodImportAttributes.CharSetAuto}, 1899New With {.n = 18, .attr = MakeDllImport(charSet:=CharSet.Auto, exactSpelling:=False), .expected = MethodImportAttributes.CallingConventionWinApi Or MethodImportAttributes.CharSetAuto},
Microsoft.DotNet.SignCheckLibrary (4)
Interop\WinCrypt.cs (4)
172[DllImport("Crypt32.dll", CharSet = CharSet.Auto, SetLastError = true)] 186[DllImport("Crypt32.dll", CharSet = CharSet.Auto, SetLastError = true)] 194[DllImport("Crypt32.dll", CharSet = CharSet.Auto, SetLastError = true)] 214[DllImport("Crypt32.dll", CharSet = CharSet.Auto, SetLastError = true)]
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Windows\Interop\JobObjectInfo.cs (1)
151[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
Microsoft.Interop.LibraryImportGenerator (4)
Analyzers\ConvertToLibraryImportFixer.cs (4)
102if (charSet is CharSet.None or CharSet.Ansi or CharSet.Auto) 114if (charSet is CharSet.Unicode or CharSet.Auto) 454if (dllImportData.CharacterSet == CharSet.Unicode || (dllImportData.CharacterSet == CharSet.Auto && entryPointSuffix is 'W' or null)) 463else if (dllImportData.CharacterSet == CharSet.Ansi || (dllImportData.CharacterSet == CharSet.Auto && entryPointSuffix == 'A'))
Microsoft.ML.Mkl.Components (1)
SymSgdClassificationTrainer.cs (1)
932[DllImport(MklPath, EntryPoint = "DftiErrorMessage", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Auto), SuppressUnmanagedCodeSecurity]
Microsoft.ML.TimeSeries (5)
FftUtils.cs (5)
170[DllImport(DllProxyName, EntryPoint = "MKLDftiCreateDescriptor", CharSet = CharSet.Auto), SuppressUnmanagedCodeSecurity] 182[DllImport(DllProxyName, EntryPoint = "MKLDftiSetValue", CharSet = CharSet.Auto), SuppressUnmanagedCodeSecurity] 186[DllImport(DllProxyName, EntryPoint = "MKLDftiComputeForward", CharSet = CharSet.Auto), SuppressUnmanagedCodeSecurity] 190[DllImport(DllProxyName, EntryPoint = "MKLDftiComputeBackward", CharSet = CharSet.Auto), SuppressUnmanagedCodeSecurity] 202[DllImport(MklPath, EntryPoint = "DftiErrorMessage", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Auto), SuppressUnmanagedCodeSecurity]
Microsoft.VisualBasic.Forms (7)
Microsoft\VisualBasic\Helpers\NativeMethods.vb (4)
29CharSet:=CharSet.Auto, 48CharSet:=CharSet.Auto, 55<DllImport("user32", CharSet:=CharSet.Auto, PreserveSig:=True, SetLastError:=True)> 97<DllImport("Kernel32.dll", CharSet:=CharSet.Auto, SetLastError:=True)>
Microsoft\VisualBasic\Helpers\NativeTypes.STARTUPINFO.vb (1)
20<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Auto)>
Microsoft\VisualBasic\Helpers\UnsafeNativeMethods.vb (2)
19<DllImport("Kernel32.dll", CharSet:=CharSet.Auto, BestFitMapping:=False, SetLastError:=True)> 36<DllImport("User32.dll", ExactSpelling:=True, CharSet:=CharSet.Auto)>
Microsoft.VisualStudio.LanguageServices (3)
Utilities\ClipboardHelpers.cs (3)
27[DllImport("ole32.dll", ExactSpelling = true, CharSet = CharSet.Auto)] 30[DllImport("kernel32.dll", ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)] 33[DllImport("kernel32.dll", ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)]
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
ObjectBrowser\DescriptionBuilder.vb (1)
173Case System.Runtime.InteropServices.CharSet.Auto
PresentationCore (12)
MS\Win32\UnsafeNativeMethodsPenimc.cs (9)
81[DllImport(ExternDll.Penimc, CharSet=CharSet.Auto)] 488[DllImport(ExternDll.Penimc, CharSet=CharSet.Auto)] 512[DllImport(ExternDll.Penimc, CharSet=CharSet.Auto)] 537[DllImport(ExternDll.Penimc, CharSet=CharSet.Auto)] 554[DllImport(ExternDll.Penimc, CharSet=CharSet.Auto)] 563[DllImport(ExternDll.Penimc, CharSet=CharSet.Auto)] 572[DllImport(ExternDll.Penimc, CharSet=CharSet.Auto)] 581[DllImport(ExternDll.Penimc, CharSet = CharSet.Auto)] 590[DllImport(ExternDll.Penimc, CharSet = CharSet.Auto)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\UnsafeNativeMethodsCompiler.cs (1)
26[DllImport(ExternDll.Shfolder, CharSet = CharSet.Auto, BestFitMapping = false)]
System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (2)
1075[DllImport(DllImport.Mscms, CharSet = CharSet.Auto, BestFitMapping = false)] 1078[DllImport(DllImport.Mscms, CharSet = CharSet.Auto, BestFitMapping = false)]
PresentationFramework (6)
MS\Internal\Printing\NativeMethods.cs (5)
25[StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Auto)] 51[StructLayout(LayoutKind.Sequential, Pack = 8, CharSet = CharSet.Auto)] 77[StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Auto)] 119[StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Auto)] 128[StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Auto)]
MS\Internal\Printing\UnsafeNativeMethods.cs (1)
12[DllImport("comdlg32.dll", CharSet = CharSet.Auto)]
ReachFramework (2)
MS\Internal\Printing\Configuration\WinSpoolPrinterCapabilities.cs (2)
600[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)] 613[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
System.Drawing.Common.Tests (2)
System\Drawing\FontTests.cs (1)
656[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
System\Drawing\SystemFontsTests.cs (1)
102[DllImport("kernel32.dll", SetLastError = false, CharSet = CharSet.Auto)]
System.Private.CoreLib (3)
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (1)
1181case CharSet.Auto:
src\System\Reflection\RuntimeCustomAttributeData.cs (2)
2196case PInvokeAttributes.CharSetAuto: charSet = CharSet.Auto; break; 2282case TypeAttributes.AutoClass: charSet = CharSet.Auto; break;
System.Reflection.Emit (2)
System\Reflection\Emit\PseudoCustomAttributesData.cs (1)
113CharSet.Auto => MethodImportAttributes.CharSetAuto,
System\Reflection\Emit\TypeBuilderImpl.cs (1)
528case CharSet.Auto:
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodDecoder.cs (1)
127MethodImportAttributes.CharSetAuto => CharSet.Auto,
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (1)
166TypeAttributes.AutoClass => CharSet.Auto,
System.Windows.Controls.Ribbon (7)
Microsoft\Windows\Controls\Ribbon\NativeMethods.cs (7)
282[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto, Pack = 4)] 320[DllImport("user32.dll", EntryPoint = "GetMonitorInfo", CharSet = CharSet.Auto, SetLastError = true)] 324[DllImport("user32.dll", ExactSpelling = true, CharSet = CharSet.Auto)] 330[DllImport("user32.dll", ExactSpelling = true, CharSet = CharSet.Auto)] 347[DllImport("gdi32.dll", SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto)] 350[DllImport("user32.dll", SetLastError = true, ExactSpelling = true, EntryPoint = "GetDC", CharSet = CharSet.Auto)] 363[DllImport("user32.dll", ExactSpelling = true, EntryPoint = "ReleaseDC", CharSet = CharSet.Auto)]
UIAutomationClient (40)
MS\Win32\SafeNativeMethods.cs (16)
21[DllImport("user32.dll", ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 112[DllImport("user32.dll", CharSet=CharSet.Auto)] 122[DllImport("user32.dll", CharSet=CharSet.Auto)] 142[DllImport("user32.dll", CharSet=CharSet.Auto)] 145[DllImport("user32.dll", CharSet=CharSet.Auto)] 154[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] 157[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] 160[DllImport("user32.dll", CharSet=CharSet.Auto)] 176[DllImport("gdi32.dll", CharSet = CharSet.Auto, SetLastError = true)] 179[DllImport("user32.dll", CharSet=CharSet.Auto)] 182[DllImport("gdi32.dll", CharSet = CharSet.Auto)] 191[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)] 198[DllImport("Psapi.dll", CharSet = CharSet.Auto, SetLastError = true)] 206[DllImport("user32.dll", CharSet=CharSet.Auto)] 212[DllImport("user32.dll", CharSet = CharSet.Auto)] 218[DllImport("kernel32.dll", CharSet = CharSet.Auto)]
MS\Win32\UnsafeNativeMethods.cs (20)
36[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)] 95[DllImport("user32.dll", CharSet=CharSet.Auto)] 98[DllImport("user32.dll", CharSet=CharSet.Auto)] 106[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] 109[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] 166[DllImport("user32.dll", EntryPoint = "WindowFromPoint", ExactSpelling = true, CharSet = CharSet.Auto)] 169[DllImport("user32.dll", EntryPoint = "WindowFromPhysicalPoint", ExactSpelling = true, CharSet = CharSet.Auto)] 187[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] 191[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] 197[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] 217[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] 221[DllImport("user32.dll", CharSet=CharSet.Auto)] 225[DllImport("user32.dll", CharSet=CharSet.Auto)] 229[DllImport("user32.dll", CharSet=CharSet.Auto)] 233[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] 325[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] 328[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] 335[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] 338[DllImport("user32.dll", ExactSpelling = true, CharSet = CharSet.Auto)] 360[DllImport("gdi32.dll", CharSet = CharSet.Auto, SetLastError = true)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsSetLastError.cs (4)
40[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongWrapper", CharSet=CharSet.Auto, SetLastError=true)] 43[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongPtrWrapper", CharSet=CharSet.Auto, SetLastError=true)] 57[DllImport(PresentationNativeDll, EntryPoint="MapWindowPointsWrapper", SetLastError = true, ExactSpelling=true, CharSet=CharSet.Auto)] 60[DllImport(PresentationNativeDll, EntryPoint="MapWindowPointsWrapper", SetLastError = true, ExactSpelling=true, CharSet=CharSet.Auto)]
UIAutomationClientSideProviders (18)
MS\Internal\AutomationProxies\CommonGetThemePartSize.cs (2)
200[DllImport ("UxTheme.dll", CharSet = CharSet.Auto)] 203[DllImport ("UxTheme.dll", CharSet = CharSet.Auto)]
MS\Internal\AutomationProxies\CommonXSendMessage.cs (1)
1685[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
MS\Internal\AutomationProxies\SafeThemeHandle.cs (1)
33[DllImport("UxTheme.dll", CharSet = CharSet.Auto)/**/]
MS\Win32\NativeMethods.cs (4)
750[StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Auto)] 760[StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Auto)] 777[StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Auto)] 797[StructLayout (LayoutKind.Sequential, CharSet = CharSet.Auto)]
MS\Win32\UnsafeNativeMethods.cs (6)
40[DllImport(ExternDll.Kernel32, ExactSpelling = true, CharSet = CharSet.Auto)] 42[DllImport(ExternDll.Kernel32, ExactSpelling = true, CharSet = CharSet.Auto)] 231[DllImport(ExternDll.User32, CharSet = CharSet.Auto, ExactSpelling = true, SetLastError = true)] 233[DllImport(ExternDll.User32, CharSet = CharSet.Auto, ExactSpelling = true, SetLastError = true)] 305[DllImport(ExternDll.User32, EntryPoint = "WindowFromPoint", ExactSpelling = true, CharSet = CharSet.Auto)] 308[DllImport(ExternDll.User32, EntryPoint = "WindowFromPhysicalPoint", ExactSpelling = true, CharSet = CharSet.Auto)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsSetLastError.cs (4)
40[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongWrapper", CharSet=CharSet.Auto, SetLastError=true)] 43[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongPtrWrapper", CharSet=CharSet.Auto, SetLastError=true)] 65[DllImport(PresentationNativeDll, EntryPoint="GetAncestorWrapper", CharSet = CharSet.Auto)] 80[DllImport(PresentationNativeDll, EntryPoint = "GetWindowTextWrapper", CharSet=CharSet.Auto, BestFitMapping = false, SetLastError = true)]
UIAutomationTypes (89)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsCLR.cs (7)
33[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto)] 612[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto)] 1514[StructLayout(LayoutKind.Sequential,CharSet=CharSet.Auto, Pack=4)] 1721[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto)] 2014[DllImport(ExternDll.Oleaut32,CharSet=CharSet.Auto)] 2017[DllImport(ExternDll.Oleaut32,CharSet=CharSet.Auto)] 2241[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsOther.cs (2)
194[DllImport(ExternDll.Gdi32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)] 339[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsSetLastError.cs (18)
95[DllImport(PresentationNativeDll, EntryPoint="EnableWindowWrapper", SetLastError = true, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)] 98[DllImport(PresentationNativeDll, EntryPoint="GetAncestorWrapper", CharSet = CharSet.Auto)] 101[DllImport(PresentationNativeDll, EntryPoint="GetKeyboardLayoutListWrapper", SetLastError = true, ExactSpelling=true, CharSet=CharSet.Auto)] 110[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongWrapper", CharSet=CharSet.Auto, SetLastError=true)] 113[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongWrapper", CharSet=CharSet.Auto, SetLastError=true)] 116[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongWrapper", CharSet=CharSet.Auto, SetLastError=true)] 119[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongPtrWrapper", CharSet=CharSet.Auto, SetLastError=true)] 122[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongPtrWrapper", CharSet=CharSet.Auto, SetLastError=true)] 125[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongPtrWrapper", CharSet=CharSet.Auto, SetLastError=true)] 128[DllImport(PresentationNativeDll, EntryPoint = "GetWindowTextWrapper", CharSet=CharSet.Auto, BestFitMapping = false, SetLastError = true)] 131[DllImport(PresentationNativeDll, EntryPoint = "GetWindowTextLengthWrapper", CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true)] 134[DllImport(PresentationNativeDll, EntryPoint="MapWindowPointsWrapper", SetLastError = true, ExactSpelling=true, CharSet=CharSet.Auto)] 140[DllImport(PresentationNativeDll, EntryPoint="SetWindowLongWrapper", CharSet=CharSet.Auto)] 143[DllImport(PresentationNativeDll, EntryPoint="SetWindowLongWrapper", CharSet=CharSet.Auto)] 146[DllImport(PresentationNativeDll, EntryPoint="SetWindowLongWrapper", CharSet=CharSet.Auto, SetLastError=true)] 149[DllImport(PresentationNativeDll, EntryPoint="SetWindowLongPtrWrapper", CharSet=CharSet.Auto)] 152[DllImport(PresentationNativeDll, EntryPoint="SetWindowLongPtrWrapper", CharSet=CharSet.Auto)] 155[DllImport(PresentationNativeDll, EntryPoint="SetWindowLongPtrWrapper", CharSet=CharSet.Auto, SetLastError=true)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (62)
45[DllImport(ExternDll.Uxtheme, CharSet = CharSet.Auto, BestFitMapping = false)] 53[DllImport(ExternDll.User32, EntryPoint = "SetWindowPos", ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)] 56[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)] 59[DllImport(ExternDll.Shcore, CharSet = CharSet.Auto, SetLastError = true)] 62[DllImport(ExternDll.User32, EntryPoint = "IsProcessDPIAware", CharSet = CharSet.Auto, SetLastError = true)] 65[DllImport(ExternDll.Kernel32, CharSet = CharSet.Auto, SetLastError = true)] 68[DllImport(ExternDll.User32, EntryPoint = "EnableNonClientDpiScaling", CharSet = CharSet.Auto, SetLastError = true)] 71[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)] 74[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)] 77[DllImport(ExternDll.Uxtheme, CharSet = CharSet.Auto, BestFitMapping = false, EntryPoint = "SetWindowTheme")] 80[DllImport(ExternDll.Gdi32, SetLastError = true, ExactSpelling = true, EntryPoint = "CreateCompatibleBitmap", CharSet = CharSet.Auto)] 83[DllImport(ExternDll.Gdi32, EntryPoint = "GetStockObject", SetLastError = true, CharSet = CharSet.Auto)] 86[DllImport(ExternDll.User32, EntryPoint = "FillRect", SetLastError = true, CharSet = CharSet.Auto)] 89[DllImport(ExternDll.Gdi32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto)] 92[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 105[DllImport(ExternDll.Gdi32, SetLastError = true, ExactSpelling = true, EntryPoint = "DeleteObject", CharSet = CharSet.Auto)] 108[DllImport(ExternDll.Gdi32, EntryPoint = "SelectObject", SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto)] 111[DllImport(ExternDll.User32, EntryPoint = "PrintWindow", SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto)] 114[DllImport(ExternDll.User32, EntryPoint = "RedrawWindow", ExactSpelling = true, CharSet = CharSet.Auto)] 117[DllImport(ExternDll.Shell32, CharSet = CharSet.Auto, BestFitMapping = false)] 232[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 235[DllImport(ExternDll.Ole32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)] 238[DllImport(ExternDll.Kernel32, EntryPoint = "CloseHandle", CharSet = CharSet.Auto, SetLastError = true)] 261[DllImport(ExternDll.Kernel32, EntryPoint = "UnmapViewOfFile", CharSet = CharSet.Auto, SetLastError = true)] 303[DllImport(ExternDll.Gdi32, SetLastError = true, CharSet = CharSet.Auto)] 306[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 309[DllImport(ExternDll.User32, EntryPoint = "GetCursorPos", ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)] 322[DllImport(ExternDll.User32, EntryPoint = "GetCursorPos", ExactSpelling = true, CharSet = CharSet.Auto)] 489[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 492[DllImport(ExternDll.User32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto)] 495[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 498[DllImport(ExternDll.Kernel32, EntryPoint = "GetModuleHandle", CharSet = CharSet.Auto, BestFitMapping = false, ThrowOnUnmappableChar = true, SetLastError = true)] 513[DllImport(ExternDll.User32, CharSet = CharSet.Auto)] 750[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)] 753[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)] 756[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)] 759[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)] 762[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)] 765[DllImport(ExternDll.Kernel32, CharSet = CharSet.Auto, ExactSpelling = true)] 768[DllImport(ExternDll.User32, EntryPoint = "ClientToScreen", SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto)] 779[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 782[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 785[DllImport(ExternDll.Ole32, ExactSpelling = true, CharSet = CharSet.Auto)] 788[DllImport(ExternDll.Ole32, ExactSpelling = true, CharSet = CharSet.Auto)] 819[DllImport(ExternDll.User32, ExactSpelling = true, EntryPoint = "BeginPaint", CharSet = CharSet.Auto)] 827[DllImport(ExternDll.User32, ExactSpelling = true, EntryPoint = "EndPaint", CharSet = CharSet.Auto)] 835[DllImport(ExternDll.User32, SetLastError = true, ExactSpelling = true, EntryPoint = "GetDC", CharSet = CharSet.Auto)] 848[DllImport(ExternDll.User32, ExactSpelling = true, EntryPoint = "ReleaseDC", CharSet = CharSet.Auto)] 857[DllImport(ExternDll.Gdi32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto)] 860[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 863[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 867[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)] 881[DllImport(ExternDll.User32, ExactSpelling = true, EntryPoint = "DestroyCursor", CharSet = CharSet.Auto)] 889[DllImport(ExternDll.User32, EntryPoint = "DestroyIcon", CharSet = CharSet.Auto, SetLastError = true)] 910[DllImport(ExternDll.Gdi32, EntryPoint = "DeleteObject", CharSet = CharSet.Auto, SetLastError = true)] 954[DllImport(ExternDll.Gdi32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto, EntryPoint = "CreateBitmap")] 969[DllImport(ExternDll.User32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto, EntryPoint = "CreateIconIndirect")] 984[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 1041[DllImport(ExternDll.User32, EntryPoint = "CreateWindowEx", CharSet = CharSet.Auto, BestFitMapping = false, SetLastError = true)] 1060[DllImport(ExternDll.User32, SetLastError = true, EntryPoint = "DestroyWindow", CharSet = CharSet.Auto)] 2653[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto)] 2659[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto)]
WindowsFormsIntegration (12)
MS\Win32\SafeNativeMethods.cs (2)
28[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)] 32[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)]
MS\Win32\UnsafeNativeMethods.cs (9)
12[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 16[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 20[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 24[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] [return: MarshalAs(UnmanagedType.Bool)] 28[DllImport(ExternDll.User32, CharSet = CharSet.Auto)] 32[DllImport(ExternDll.User32, CharSet = CharSet.Auto, SetLastError = true)] 36[DllImport(ExternDll.Gdi32, ExactSpelling = true, CharSet = CharSet.Auto)] 40[DllImport(ExternDll.Gdi32, EntryPoint = "CreateDC", CharSet = CharSet.Auto)] 51[DllImport(ExternDll.Gdi32, ExactSpelling = true, CharSet = CharSet.Auto)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsSetLastError.cs (1)
35[DllImport(PresentationNativeDll, EntryPoint="EnableWindowWrapper", SetLastError = true, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)]