192 references to ExternDll
System (192)
compmod\microsoft\win32\NativeMethods.cs (65)
167[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 171[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 175[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 179[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Ansi, SetLastError=true)] 183[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 187[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true, BestFitMapping=false)] 204[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 209[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 212[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Ansi, SetLastError=true)] 216[DllImport(ExternDll.Advapi32, SetLastError = true)] 236[DllImport(ExternDll.Kernel32, SetLastError = true)] 261[DllImport(ExternDll.Advapi32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true, BestFitMapping=false)] 277[DllImport(ExternDll.Advapi32, CharSet=CharSet.Unicode, ExactSpelling=true, SetLastError=true, BestFitMapping=false)] 1162[DllImport(ExternDll.Kernel32, CharSet=CharSet.Auto, SetLastError=true, BestFitMapping=false)] 1166[DllImport(ExternDll.Kernel32, CharSet=CharSet.Auto, SetLastError=true, BestFitMapping=false)] 1192[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1196[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1200[DllImport(ExternDll.Psapi, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1204[DllImport(ExternDll.Psapi, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1209[DllImport(ExternDll.Psapi, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true, BestFitMapping=false)] 1213[DllImport(ExternDll.Psapi, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1216[DllImport(ExternDll.Psapi, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true, BestFitMapping=false)] 1219[DllImport(ExternDll.Psapi, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true, BestFitMapping=false)] 1223[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1226[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1229[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1232[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1235[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1238[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1241[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1244[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1247[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1250[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1253[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1256[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1259[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1263[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1266[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1269[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1272[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1275[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1278[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1281[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1284[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1287[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1290[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1293[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1296[DllImport(ExternDll.Shell32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1299[DllImport(ExternDll.Ntdll, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 1302[DllImport(ExternDll.Ntdll, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 1305[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, BestFitMapping=false)] 1308[DllImport(ExternDll.Ntdll)] 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)] 1355[DllImport(ExternDll.Advapi32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1358[DllImport(ExternDll.Advapi32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true, BestFitMapping=false)] 1361[DllImport(ExternDll.Advapi32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 1371[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto, BestFitMapping=true)] 1374[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 1377[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 1380[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 1383[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 1386[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 1389[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 1805[DllImport(ExternDll.Kernel32, SetLastError=true)]
compmod\microsoft\win32\safehandles\SafeEventLogReadHandle.cs (2)
38[DllImport(ExternDll.Advapi32, CharSet=System.Runtime.InteropServices.CharSet.Unicode, SetLastError=true)] 42[DllImport(ExternDll.Advapi32, SetLastError=true)]
compmod\microsoft\win32\safehandles\SafeEventLogWriteHandle.cs (2)
37[DllImport(ExternDll.Advapi32, CharSet=System.Runtime.InteropServices.CharSet.Unicode, SetLastError=true)] 41[DllImport(ExternDll.Advapi32, SetLastError=true)]
compmod\microsoft\win32\safehandles\SafeFileMappingHandle.cs (1)
41[DllImport(ExternDll.Kernel32, ExactSpelling=true, SetLastError=true)]
compmod\microsoft\win32\safehandles\SafeFileMapViewHandle.cs (2)
38[DllImport(ExternDll.Kernel32, ExactSpelling=true, CharSet=CharSet.Auto)] 42[DllImport(ExternDll.Kernel32, ExactSpelling=true, SetLastError=true)]
compmod\microsoft\win32\safehandles\SafeLibraryHandle.cs (2)
37[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Unicode, SetLastError=true)] 41[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Unicode)]
compmod\microsoft\win32\safehandles\SafeLocalMemHandle.cs (2)
41[DllImport(ExternDll.Advapi32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true, BestFitMapping=false)] 45[DllImport(ExternDll.Kernel32)]
compmod\microsoft\win32\safehandles\SafeProcessHandle.cs (1)
45[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)]
compmod\microsoft\win32\safehandles\SafeTimerHandle.cs (1)
43[DllImport(ExternDll.Kernel32, ExactSpelling=true, SetLastError=true)]
compmod\microsoft\win32\safehandles\SafeUserTokenHandle.cs (2)
42[DllImport(ExternDll.Advapi32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true, BestFitMapping=false)] 48[DllImport(ExternDll.Kernel32, ExactSpelling=true, SetLastError=true)]
compmod\microsoft\win32\SafeNativeMethods.cs (18)
52[DllImport(ExternDll.Gdi32, CharSet = System.Runtime.InteropServices.CharSet.Auto)] 56[DllImport(ExternDll.Gdi32, CharSet = System.Runtime.InteropServices.CharSet.Auto)] 61[DllImport(ExternDll.Kernel32, CharSet = System.Runtime.InteropServices.CharSet.Auto, BestFitMapping = true)] 65[DllImport(ExternDll.User32, CharSet = System.Runtime.InteropServices.CharSet.Unicode, EntryPoint="MessageBoxW", ExactSpelling=true)] 93[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true, BestFitMapping=true)] 103[DllImport(ExternDll.Kernel32, CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true, BestFitMapping = true)] 116[DllImport(ExternDll.Kernel32, ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 126[DllImport(ExternDll.Kernel32)] 134[DllImport(ExternDll.Kernel32)] 145[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto, BestFitMapping=false)] 162[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Unicode, SetLastError=true)] 166[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Unicode, SetLastError=true)] 170[DllImport(ExternDll.Kernel32, CharSet=CharSet.Auto, BestFitMapping=false)] 179[DllImport(ExternDll.PerfCounter, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 191[DllImport(ExternDll.Kernel32, SetLastError = true)] 221[DllImport(ExternDll.Kernel32, SetLastError=true, CharSet=CharSet.Auto, BestFitMapping=false)] 228[DllImport(ExternDll.Kernel32, SetLastError=true, CharSet=CharSet.Auto, BestFitMapping=false)] 238[DllImport(ExternDll.Kernel32, SetLastError=true)]
compmod\microsoft\win32\SystemEvents.cs (1)
605IntPtr retval = SafeNativeMethods.LoadLibrary(ExternDll.Wtsapi32);
compmod\microsoft\win32\UnsafeNativeMethods.cs (76)
28[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 33[DllImport(ExternDll.User32, CharSet = System.Runtime.InteropServices.CharSet.Auto)] 37[DllImport(ExternDll.User32, CharSet = System.Runtime.InteropServices.CharSet.Auto)] 42[DllImport(ExternDll.Gdi32, CharSet = System.Runtime.InteropServices.CharSet.Auto)] 46[DllImport(ExternDll.User32, CharSet = System.Runtime.InteropServices.CharSet.Auto)] 52[DllImport(ExternDll.User32, ExactSpelling=true)] 55[DllImport(ExternDll.User32, SetLastError=true)] 58[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto, BestFitMapping=false)] 68[DllImport(ExternDll.Kernel32, CharSet=CharSet.Ansi, BestFitMapping=false, SetLastError=true, ExactSpelling=true)] 72[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto, BestFitMapping=false)] 76[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)] 80[DllImport(ExternDll.Wldp, ExactSpelling = true)] 84[DllImport(ExternDll.Wldp, ExactSpelling = true)] 88[DllImport(ExternDll.Wldp, ExactSpelling = true)] 102[DllImport(ExternDll.User32, CharSet = System.Runtime.InteropServices.CharSet.Auto, EntryPoint = "SetClassLong")] 107[DllImport(ExternDll.User32, CharSet = System.Runtime.InteropServices.CharSet.Auto, EntryPoint = "SetClassLongPtr")] 124[DllImport(ExternDll.User32, CharSet = CharSet.Auto, EntryPoint = "SetWindowLong")] 128[DllImport(ExternDll.User32, CharSet = CharSet.Auto, EntryPoint = "SetWindowLongPtr")] 133[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true, BestFitMapping=false)] 136[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true, BestFitMapping=false)] 139[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true, BestFitMapping=true)] 143[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 146[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 149[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 153[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 157[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=CharSet.Auto)] 161[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 165[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 168[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 172[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 176[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 179[DllImport(ExternDll.Kernel32, CharSet=System.Runtime.InteropServices.CharSet.Ansi, BestFitMapping=false)] 183[DllImport(ExternDll.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 187[DllImport(ExternDll.Wtsapi32, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 191[DllImport(ExternDll.Wtsapi32, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 207[DllImport(ExternDll.Kernel32, CharSet = CharSet.None, EntryPoint = "AppPolicyGetClrCompat")] 216[DllImport(ExternDll.Kernel32, CharSet = CharSet.None, EntryPoint = "GetCurrentPackageId")] 241if (osSupportsPackagedProcesses && DoesWin32MethodExist(ExternDll.Kernel32, "AppPolicyGetClrCompat")) 250else if(osSupportsPackagedProcesses && DoesWin32MethodExist(ExternDll.Kernel32, "GetCurrentPackageId")) 331[DllImport(ExternDll.Advapi32, CharSet=System.Runtime.InteropServices.CharSet.Unicode, SetLastError=true)] 351[DllImport(ExternDll.Version, CharSet=CharSet.Auto, SetLastError=true, BestFitMapping=false)] 354[DllImport(ExternDll.Version, CharSet=CharSet.Auto, BestFitMapping=false)] 359[DllImport(ExternDll.Kernel32, CharSet=CharSet.Auto)] 362[DllImport(ExternDll.Version, CharSet=CharSet.Auto, BestFitMapping=false)] 365[DllImport(ExternDll.Version, CharSet=CharSet.Auto, BestFitMapping=true)] 369[DllImport(ExternDll.Advapi32, CharSet=System.Runtime.InteropServices.CharSet.Unicode, SetLastError=true)] 374[DllImport(ExternDll.Advapi32, CharSet=System.Runtime.InteropServices.CharSet.Unicode, SetLastError=true)] 377[DllImport(ExternDll.Advapi32, CharSet=System.Runtime.InteropServices.CharSet.Unicode, SetLastError=true)] 380[DllImport(ExternDll.Advapi32, CharSet=System.Runtime.InteropServices.CharSet.Unicode, SetLastError=true)] 385[DllImport(ExternDll.Advapi32, CharSet=System.Runtime.InteropServices.CharSet.Unicode, SetLastError=true)] 392[DllImport(ExternDll.Advapi32, CharSet=System.Runtime.InteropServices.CharSet.Unicode, SetLastError=true)] 398[DllImport(ExternDll.Kernel32, EntryPoint="ReadDirectoryChangesW", CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)] 482[DllImport(ExternDll.Kernel32, SetLastError=true, CharSet=CharSet.Auto, BestFitMapping=false)] 489[DllImport(ExternDll.Kernel32, SetLastError=true, CharSet=CharSet.Auto)] 496[DllImport(ExternDll.Kernel32, SetLastError=true, CharSet=CharSet.Auto)] 504[DllImport(ExternDll.Kernel32, SetLastError=true, CharSet=CharSet.Auto)] 511[DllImport(ExternDll.Kernel32, SetLastError=true, CharSet=CharSet.Auto)] 519[DllImport(ExternDll.Kernel32, SetLastError=true, CharSet=CharSet.Auto)] 526[DllImport(ExternDll.Kernel32, SetLastError=true, CharSet=CharSet.Auto)] 532[DllImport(ExternDll.Kernel32, SetLastError=true, CharSet=CharSet.Auto)] 538[DllImport(ExternDll.Kernel32, SetLastError=true, CharSet=CharSet.Auto)] 546[DllImport(ExternDll.Kernel32, SetLastError=true, CharSet=CharSet.Auto)] 554[DllImport(ExternDll.Kernel32, SetLastError=true, CharSet=CharSet.Auto)] 561[DllImport(ExternDll.Kernel32, SetLastError=true, CharSet=CharSet.Auto)] 565[DllImport(ExternDll.Kernel32, SetLastError=true, CharSet=CharSet.Auto)] 573[DllImport(ExternDll.Kernel32, SetLastError=true)] 577[DllImport(ExternDll.Kernel32, SetLastError=true)] 581[DllImport(ExternDll.Kernel32 , SetLastError=true)] 585[DllImport(ExternDll.Kernel32 , SetLastError=true)] 589[DllImport(ExternDll.Kernel32 , SetLastError=true)] 594[DllImport(ExternDll.Kernel32 , SetLastError=true)] 601[DllImport(ExternDll.Kernel32 , SetLastError=true)] 609[DllImport(ExternDll.Kernel32, SetLastError=true, CharSet=CharSet.Auto)] 616[DllImport(ExternDll.Kernel32, SetLastError=true, CharSet=CharSet.Auto)] 628[DllImport(ExternDll.Advapi32, CharSet=CharSet.Auto, SetLastError=true)] 685[DllImport(ExternDll.Ole32)]
compmod\system\security\permissions\ResourcePermissionBase.cs (1)
640[DllImport(ExternDll.Kernel32, CharSet=CharSet.Auto, BestFitMapping=false)]
net\System\Net\UnsafeNativeMethods.cs (6)
622[DllImport(ExternDll.Kernel32, ExactSpelling=true, SetLastError=true)] 662[DllImport(ExternDll.Kernel32, ExactSpelling=true, SetLastError=true)] 666[DllImport(ExternDll.Kernel32, ExactSpelling=true, SetLastError=true)] 669[DllImport(ExternDll.Kernel32, EntryPoint = "LocalAlloc", SetLastError = true)] 672[DllImport(ExternDll.Kernel32, ExactSpelling=true, SetLastError=true)] 733[DllImport(ExternDll.Kernel32, ExactSpelling=true, SetLastError=true)]
services\monitoring\system\diagnosticts\SharedUtils.cs (1)
212[DllImport(ExternDll.Kernel32, ExactSpelling=true, SetLastError=true, EntryPoint="WaitForSingleObject")]
services\timers\system\timers\Timer.cs (1)
330[DllImport(ExternDll.Kernel32), SuppressUnmanagedCodeSecurityAttribute()]
sys\system\Media\SoundPlayer.cs (7)
785[DllImport(ExternDll.WinMM, CharSet=CharSet.Auto)] 789[DllImport(ExternDll.WinMM, ExactSpelling=true, CharSet=CharSet.Auto)] 794[DllImport(ExternDll.WinMM, CharSet=CharSet.Auto)] 798[DllImport(ExternDll.WinMM, CharSet=CharSet.Auto)] 802[DllImport(ExternDll.WinMM, CharSet=CharSet.Auto)] 808[DllImport(ExternDll.WinMM, CharSet=CharSet.Auto)] 812[DllImport(ExternDll.WinMM, CharSet=CharSet.Auto)]
sys\system\Media\SystemSounds.cs (1)
104[DllImport(ExternDll.User32, ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.Auto)]