86 references to Ansi
mscorlib (6)
microsoft\win32\win32native.cs (2)
820
[DllImport(KERNEL32, CharSet=CharSet.
Ansi
, BestFitMapping=false, SetLastError=true, ExactSpelling=true)]
858
[DllImport(KERNEL32, CharSet=CharSet.
Ansi
, ExactSpelling=true, EntryPoint="lstrlenA")]
system\console.cs (1)
1375
[DllImport(JitHelpers.QCall, CharSet = CharSet.
Ansi
)]
system\reflection\emit\typebuilder.cs (1)
835
case CharSet.
Ansi
:
system\runtime\interopservices\attributes.cs (2)
794
case PInvokeAttributes.CharSetAnsi: charSet = CharSet.
Ansi
; break;
892
case TypeAttributes.AnsiClass: charSet = CharSet.
Ansi
; break;
SMSvcHost (1)
System\ServiceModel\Activation\WebHostUnsafeNativeMethods.cs (1)
45
[DllImport(KERNEL32, CharSet = CharSet.
Ansi
, SetLastError = true, BestFitMapping = false, ThrowOnUnmappableChar = true)]
System (17)
compmod\microsoft\win32\NativeMethods.cs (4)
179
[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.
Ansi
, SetLastError=true)]
212
[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.
Ansi
, SetLastError=true)]
1314
[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.
Ansi
, SetLastError=true, BestFitMapping=false)]
1326
[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.
Ansi
, SetLastError=true, BestFitMapping=false)]
compmod\microsoft\win32\UnsafeNativeMethods.cs (2)
68
[DllImport(ExternDll.Kernel32, CharSet=CharSet.
Ansi
, BestFitMapping=false, SetLastError=true, ExactSpelling=true)]
179
[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.
Ansi
, BestFitMapping=false)]
net\System\Net\_OSSOCK.cs (1)
56
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.
Ansi
)]
net\System\Net\NetworkInformation\UnSafeNetInfoNativemethods.cs (3)
77
[StructLayout(LayoutKind.Sequential,CharSet=CharSet.
Ansi
)]
90
[StructLayout(LayoutKind.Sequential,CharSet=CharSet.
Ansi
)]
261
[StructLayout(LayoutKind.Sequential,CharSet=CharSet.
Ansi
)]
net\System\Net\UnsafeNativeMethods.cs (5)
1041
[DllImport(WS2_32, CharSet=CharSet.
Ansi
, BestFitMapping=false, ThrowOnUnmappableChar=true, SetLastError=true)]
1055
[DllImport(WS2_32, CharSet=CharSet.
Ansi
, BestFitMapping=false, ThrowOnUnmappableChar=true, SetLastError=true)]
1067
[DllImport(WS2_32, CharSet=CharSet.
Ansi
, BestFitMapping=false, ThrowOnUnmappableChar=true, SetLastError=true)]
1539
[DllImport(WS2_32, CharSet=CharSet.
Ansi
, BestFitMapping=false, ThrowOnUnmappableChar=true, SetLastError=true)]
1634
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.
Ansi
)]
parent\parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (2)
230
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.
Ansi
)]
308
[DllImport(Kernel32DllName, CharSet=CharSet.
Ansi
, BestFitMapping=false)]
System.Data (4)
fx\src\bid\inc\cs\bidPrivateBase.cs (1)
1100
[DllImport(dllName, CharSet=CharSet.
Ansi
, BestFitMapping=false)] extern
fx\src\data\System\Data\Common\NativeMethods.cs (2)
48
[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.
Ansi
, BestFitMapping=false, ThrowOnUnmappableChar=true)]
56
[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.
Ansi
, BestFitMapping=false, ThrowOnUnmappableChar=true)]
fx\src\data\System\Data\Common\SafeNativeMethods.cs (1)
84
[DllImport(ExternDll.Kernel32, CharSet = CharSet.
Ansi
, BestFitMapping = false, ThrowOnUnmappableChar = true, SetLastError = true)]
System.Drawing (8)
commonui\System\Drawing\Advanced\Gdiplus.cs (3)
2969
[DllImport(ExternDll.Gdiplus, SetLastError=true, ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.
Ansi
)] // DIFFERENT: ANSI, not Unicode
2985
[DllImport(ExternDll.Gdiplus, SetLastError=true, ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.
Ansi
)] // 3 = Unicode
4467
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.
Ansi
)]
misc\GDI\NativeMethods.cs (1)
397
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.
Ansi
)]
misc\GDI\UnsafeNativeMethods.cs (4)
369
[DllImport( ExternDll.User32, SetLastError = true, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.
Ansi
)]
408
[DllImport(ExternDll.User32, SetLastError=true, CharSet=System.Runtime.InteropServices.CharSet.
Ansi
)]
449
[DllImport(ExternDll.Gdi32, SetLastError=true, ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.
Ansi
)]
591
[DllImport(ExternDll.Gdi32, SetLastError=true, ExactSpelling=true, CharSet = System.Runtime.InteropServices.CharSet.
Ansi
)]
System.IdentityModel.Selectors (1)
infocard\client\System\IdentityModel\Selectors\NativeMethods.cs (1)
43
CharSet = CharSet.
Ansi
,
System.ServiceModel (14)
System\ServiceModel\Activation\ListenerUnsafeNativeMethods.cs (1)
202
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.
Ansi
)]
System\ServiceModel\Channels\PnrpPeerResolver.cs (11)
909
[DllImport("ws2_32.dll", CharSet = CharSet.
Ansi
)]
912
[DllImport("ws2_32.dll", CharSet = CharSet.
Ansi
)]
915
[DllImport("ws2_32.dll", CharSet = CharSet.
Ansi
)]
1067
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.
Ansi
)]
1076
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.
Ansi
)]
1141
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.
Ansi
)]
1151
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.
Ansi
)]
1219
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.
Ansi
)]
1231
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.
Ansi
)]
1300
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.
Ansi
)]
1308
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.
Ansi
)]
System\ServiceModel\Channels\UnsafeNativeMethods.cs (1)
1141
[DllImport(KERNEL32, CharSet=CharSet.
Ansi
, BestFitMapping=false, SetLastError=true, ExactSpelling=true)]
System\ServiceModel\Transactions\OletxTransactionFormatter.cs (1)
82
[StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.
Ansi
)]
System.Web (12)
UnsafeNativeMethods.cs (12)
77
[DllImport(ModName.STATE_FULL_NAME, CharSet=CharSet.
Ansi
, BestFitMapping=false)]
83
[DllImport(ModName.STATE_FULL_NAME, CharSet=CharSet.
Ansi
, BestFitMapping=false)]
204
[DllImport(ModName.KERNEL32_FULL_NAME, CharSet=CharSet.
Ansi
)]
498
[DllImport(ModName.ENGINE_FULL_NAME, CharSet=CharSet.
Ansi
, BestFitMapping=false)]
504
[DllImport(ModName.ENGINE_FULL_NAME, CharSet=CharSet.
Ansi
, BestFitMapping=false)]
507
[DllImport(ModName.ENGINE_FULL_NAME, CharSet=CharSet.
Ansi
, BestFitMapping=false)]
555
[DllImport(ModName.ENGINE_FULL_NAME, CharSet=CharSet.
Ansi
, BestFitMapping=false)]
564
[DllImport(ModName.ENGINE_FULL_NAME, CharSet=CharSet.
Ansi
, BestFitMapping=false)]
1004
[DllImport(ModName.WP_FULL_NAME, EntryPoint="PMGetQueryString", CharSet=CharSet.
Ansi
, BestFitMapping=false)]
1025
[DllImport(ModName.WP_FULL_NAME, EntryPoint="PMMapUrlToPath", CharSet=CharSet.
Ansi
, BestFitMapping=false)]
1034
[DllImport(ModName.WP_FULL_NAME, EntryPoint="PMAppendLogParameter", CharSet=CharSet.
Ansi
, BestFitMapping=false)]
1136
[DllImport(ModName.ENGINE_FULL_NAME, CharSet=CharSet.
Ansi
, BestFitMapping=false, ThrowOnUnmappableChar=true)]
System.Windows.Forms (16)
misc\GDI\NativeMethods.cs (1)
397
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.
Ansi
)]
misc\GDI\UnsafeNativeMethods.cs (4)
369
[DllImport( ExternDll.User32, SetLastError = true, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.
Ansi
)]
408
[DllImport(ExternDll.User32, SetLastError=true, CharSet=System.Runtime.InteropServices.CharSet.
Ansi
)]
449
[DllImport(ExternDll.Gdi32, SetLastError=true, ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.
Ansi
)]
591
[DllImport(ExternDll.Gdi32, SetLastError=true, ExactSpelling=true, CharSet = System.Runtime.InteropServices.CharSet.
Ansi
)]
winforms\Managed\System\WinForms\NativeMethods.cs (3)
3731
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.
Ansi
)]
5125
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.
Ansi
)]
5673
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.
Ansi
, Pack=4)]
winforms\Managed\System\WinForms\SafeNativeMethods.cs (1)
359
[DllImport(ExternDll.Gdi32, SetLastError=true, ExactSpelling=true, CharSet = System.Runtime.InteropServices.CharSet.
Ansi
)]
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (7)
472
[DllImport(ExternDll.Kernel32, ExactSpelling = true, EntryPoint = "RtlMoveMemory", CharSet = CharSet.
Ansi
)]
475
[DllImport(ExternDll.Kernel32, ExactSpelling = true, EntryPoint = "RtlMoveMemory", CharSet = CharSet.
Ansi
)]
552
[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=CharSet.
Ansi
)]
1116
[DllImport(ExternDll.Kernel32, ExactSpelling=true, CharSet=CharSet.
Ansi
)]
1234
[DllImport(ExternDll.User32, CharSet=CharSet.
Ansi
)]
1337
[DllImport(ExternDll.Shell32, ExactSpelling=true, CharSet=CharSet.
Ansi
)]
1560
[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=CharSet.
Ansi
)]
System.Workflow.ComponentModel (1)
Shared\NativeMethods.cs (1)
328
[DllImport("kernel32.dll", SetLastError = true, ExactSpelling = true, CharSet = CharSet.
Ansi
)]
System.Xml (1)
parent\parent\parent\parent\InternalApis\NDP_Common\inc\Win8Helpers.cs (1)
44
[DllImport(KERNEL32, CharSet=CharSet.
Ansi
, BestFitMapping=false, SetLastError=true, ExactSpelling=true)]
WindowsBase (5)
parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (2)
230
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.
Ansi
)]
308
[DllImport(Kernel32DllName, CharSet=CharSet.
Ansi
, BestFitMapping=false)]
Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (2)
1187
[DllImport(ExternDll.Kernel32, SetLastError=true, EntryPoint="GetProcAddress", CharSet=CharSet.
Ansi
, BestFitMapping=false)]
1217
[DllImport(ExternDll.Kernel32, EntryPoint="GetProcAddress", CharSet=CharSet.
Ansi
, BestFitMapping=false)]
Shared\MS\Win32\UnsafeNativeMethodsOther.cs (1)
439
[DllImport(ExternDll.Urlmon, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.
Ansi
, BestFitMapping = false, ThrowOnUnmappableChar = true)]