39 references to KERNEL32
System.ServiceModel (39)
System\ServiceModel\Channels\UnsafeNativeMethods.cs (39)
482[DllImport(KERNEL32), ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] 503[DllImport(KERNEL32, SetLastError = true)] 511[DllImport(KERNEL32, CharSet = CharSet.Unicode, SetLastError = true)] 524[DllImport(KERNEL32, CharSet = CharSet.Unicode, SetLastError = true)] 535[DllImport(KERNEL32, CharSet = CharSet.Unicode, SetLastError = true)] 549[DllImport(KERNEL32, SetLastError = true)] 556[DllImport(KERNEL32, ExactSpelling = true, SetLastError = true)] 568[DllImport(KERNEL32, CharSet = CharSet.Unicode)] 581[DllImport(KERNEL32, CharSet = CharSet.Unicode)] 594[DllImport(KERNEL32, SetLastError = true)] 605[DllImport(KERNEL32, SetLastError = true)] 623[DllImport(KERNEL32, SetLastError = true, CharSet = CharSet.Unicode)] 632[DllImport(KERNEL32, SetLastError = true)] 643[DllImport(KERNEL32, SetLastError = true)] 649[DllImport(KERNEL32, SetLastError = true)] 660[DllImport(KERNEL32, SetLastError = true)] 671[DllImport(KERNEL32, SetLastError = true)] 682[DllImport(KERNEL32, SetLastError = true)] 686[DllImport(KERNEL32, SetLastError = true)] 690[DllImport(KERNEL32, ExactSpelling = true), 698[DllImport(KERNEL32, ExactSpelling = true)] 702[DllImport(KERNEL32, BestFitMapping = false, CharSet = CharSet.Auto)] 756[DllImport(KERNEL32)] 764[DllImport(KERNEL32, SetLastError = true)] 774[DllImport(KERNEL32, SetLastError = true)] 1058[DllImport(KERNEL32, SetLastError = true)] 1076[DllImport(KERNEL32, SetLastError = true)] 1081[DllImport(KERNEL32, CallingConvention = CallingConvention.StdCall, SetLastError = true)] 1086[DllImport(KERNEL32, CallingConvention = CallingConvention.StdCall, SetLastError = true)] 1090[DllImport(KERNEL32, CharSet = CharSet.Auto)] 1094[DllImport(KERNEL32, CharSet = CharSet.Unicode, SetLastError = true)] 1098[DllImport(KERNEL32, CharSet = CharSet.Auto, SetLastError = true)] 1120[DllImport(KERNEL32, CharSet = CharSet.None, EntryPoint = "AppPolicyGetClrCompat")] 1126[DllImport(KERNEL32, CharSet = CharSet.None, EntryPoint = "GetCurrentPackageId")] 1131[DllImport(KERNEL32, CharSet=System.Runtime.InteropServices.CharSet.Auto, BestFitMapping=false)] 1141[DllImport(KERNEL32, CharSet=CharSet.Ansi, BestFitMapping=false, SetLastError=true, ExactSpelling=true)] 1168if (osSupportsPackagedProcesses && DoesWin32MethodExist(KERNEL32, "AppPolicyGetClrCompat")) 1177else if(osSupportsPackagedProcesses && DoesWin32MethodExist(KERNEL32, "GetCurrentPackageId")) 1257[DllImport(UnsafeNativeMethods.KERNEL32, CharSet = CharSet.Unicode)]