1383 references to DllImport
ComDisabled.Tests (1)
ClipboardComTests.cs (1)
80[DllImport("shell32.dll")]
csc (3)
src\Compilers\Shared\NativeMethods.cs (3)
69[DllImport("kernel32.dll", SetLastError = true)] 76[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)] 93[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
Infrastructure.Common (5)
SafeKeychainHandle.cs (5)
18[DllImport(SecurityFramework)] 21[DllImport(SecurityFramework)] 24[DllImport(SecurityFramework)] 27[DllImport(SecurityFramework)] 30[DllImport(CoreFoundation)]
InteractiveHost32 (2)
src\Interactive\HostProcess\InteractiveHostEntryPoint.cs (2)
67[DllImport("kernel32", PreserveSig = true)] 70[DllImport("kernel32", PreserveSig = true)]
InteractiveHost64 (2)
src\Interactive\HostProcess\InteractiveHostEntryPoint.cs (2)
67[DllImport("kernel32", PreserveSig = true)] 70[DllImport("kernel32", PreserveSig = true)]
Microsoft.AspNetCore.InternalTesting (1)
DumpCollector\DumpCollector.Windows.cs (1)
33[DllImport("Dbghelp.dll")]
Microsoft.Build.Framework (33)
NativeMethods.cs (32)
965[DllImport("kernel32.dll", SetLastError = true)] 969[DllImport("kernel32.dll", SetLastError = true)] 973[DllImport("kernel32.dll", SetLastError = true)] 1665[DllImport("libc", SetLastError = true)] 1669[DllImport("libc", SetLastError = true)] 1678[DllImport(kernel32Dll)] 1682[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)] 1687[DllImport("kernel32.dll", PreserveSig = true, SetLastError = true)] 1692[DllImport("kernel32.dll", PreserveSig = true, BestFitMapping = false, ThrowOnUnmappableChar = true, CharSet = CharSet.Ansi, SetLastError = true)] 1696[DllImport("kernel32.dll", CharSet = CharSet.Unicode, PreserveSig = true, SetLastError = true)] 1706[DllImport(kernel32Dll, SetLastError = true, CharSet = CharSet.Unicode)] 1710[DllImport("kernel32.dll")] 1714[DllImport("kernel32.dll")] 1718[DllImport("kernel32.dll")] 1721[DllImport("kernel32.dll")] 1725[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)] 1730[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode, EntryPoint = "SetCurrentDirectory")] 1753[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)] 1757[DllImport("KERNEL32.DLL")] 1761[DllImport("NTDLL.DLL")] 1766[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)] 1770[DllImport("kernel32.dll", CharSet = CharSet.Unicode, BestFitMapping = false)] 1774[DllImport("kernel32.dll", CharSet = CharSet.Unicode, BestFitMapping = false)] 1778[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)] 1782[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)] 1791[DllImport("ole32.dll")] 1801[DllImport("kernel32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall, 1813[DllImport("kernel32.dll", SetLastError = true)] 1821[DllImport("kernel32.dll", SetLastError = true)] 1826[DllImport("kernel32.dll", SetLastError = true)] 1830[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)] 1835[DllImport("libc", SetLastError = true)]
VisualStudioLocationHelper.cs (1)
109[DllImport("Microsoft.VisualStudio.Setup.Configuration.Native.dll", ExactSpelling = true, PreserveSig = true)]
Microsoft.Build.Tasks.CodeAnalysis (3)
src\Compilers\Shared\NativeMethods.cs (3)
69[DllImport("kernel32.dll", SetLastError = true)] 76[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)] 93[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
Microsoft.Build.Tasks.CodeAnalysis.Sdk (3)
src\Compilers\Shared\NativeMethods.cs (3)
69[DllImport("kernel32.dll", SetLastError = true)] 76[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)] 93[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
Microsoft.Build.UnGAC (1)
NativeMethods.cs (1)
23[DllImport("fusion.dll")]
Microsoft.CodeAnalysis (14)
DiaSymReader\SymUnmanagedFactory.cs (9)
45[DllImport(DiaSymReaderModuleName32, EntryPoint = CreateSymReaderFactoryName)] 49[DllImport(DiaSymReaderModuleNameAmd64, EntryPoint = CreateSymReaderFactoryName)] 53[DllImport(DiaSymReaderModuleNameArm64, EntryPoint = CreateSymReaderFactoryName)] 57[DllImport(DiaSymReaderModuleName32, EntryPoint = CreateSymWriterFactoryName)] 61[DllImport(DiaSymReaderModuleNameAmd64, EntryPoint = CreateSymWriterFactoryName)] 65[DllImport(DiaSymReaderModuleNameArm64, EntryPoint = CreateSymWriterFactoryName)] 68[DllImport("kernel32")] 71[DllImport("kernel32")] 74[DllImport("kernel32")]
InternalUtilities\FileLockCheck.cs (4)
55[DllImport(RestartManagerDll, CharSet = CharSet.Unicode)] 97[DllImport(RestartManagerDll, CharSet = CharSet.Unicode)] 115[DllImport(RestartManagerDll)] 118[DllImport(RestartManagerDll, CharSet = CharSet.Unicode)]
Interop\ClrStrongName.cs (1)
16[DllImport("mscoree.dll", PreserveSig = false, EntryPoint = "CLRCreateInstance")]
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTests.cs (2)
7759[DllImport("kernel32.dll", SetLastError = true)] 7761[DllImport("kernel32.dll", SetLastError = true)]
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
Emit\ResourceTests.cs (2)
26[DllImport("kernel32.dll", SetLastError = true)] 28[DllImport("kernel32.dll", SetLastError = true)]
Microsoft.CodeAnalysis.EditorFeatures (2)
Shared\Utilities\NativeMethods.cs (1)
29[DllImport("user32.dll")]
Utilities\NativeMethods.cs (1)
17[DllImport("user32.dll", CharSet = CharSet.Auto)]
Microsoft.CodeAnalysis.Features (2)
SymbolSearch\Windows\NativePatching.cs (2)
50[DllImport("msdelta.dll", SetLastError = true)] 58[DllImport("msdelta.dll", SetLastError = true)]
Microsoft.CodeAnalysis.LanguageServer (2)
WindowsErrorReporting.cs (2)
26[DllImport("kernel32.dll")] 29[DllImport("kernel32.dll")]
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\BrokeredServiceBase.cs (1)
204[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
Microsoft.CodeAnalysis.Remote.Workspaces (1)
BrokeredServiceConnection.cs (1)
414[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
Microsoft.CodeAnalysis.Scripting (4)
src\Compilers\Shared\GlobalAssemblyCacheHelpers\ClrGlobalAssemblyCache.cs (2)
69[DllImport("clr", PreserveSig = true)] 72[DllImport("clr", PreserveSig = false)]
src\Compilers\Shared\GlobalAssemblyCacheHelpers\FusionAssemblyIdentity.cs (1)
123[DllImport("clr", EntryPoint = "CreateAssemblyNameObject", CharSet = CharSet.Unicode, PreserveSig = true)]
src\Compilers\Shared\GlobalAssemblyCacheHelpers\GlobalAssemblyCacheLocation.cs (1)
27[DllImport("clr", PreserveSig = true)]
Microsoft.CodeAnalysis.Test.Utilities (5)
TempFiles\DisposableFile.cs (1)
61[DllImport("kernel32.dll", PreserveSig = false)]
Win32Res.cs (4)
20[DllImport("kernel32.dll", SetLastError = true)] 22[DllImport("kernel32.dll", SetLastError = true)] 24[DllImport("kernel32.dll")] 26[DllImport("kernel32.dll", SetLastError = true)]
Microsoft.CodeAnalysis.UnitTests (4)
MetadataReferences\FusionAssemblyIdentityComparer.cs (1)
97[DllImport("clr", CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Unicode, PreserveSig = true)]
MetadataReferences\FusionAssemblyPortabilityPolicy.cs (2)
61[DllImport("clr", CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Unicode, PreserveSig = false)] 64[DllImport("clr", CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Unicode, PreserveSig = true)]
src\Compilers\Shared\GlobalAssemblyCacheHelpers\FusionAssemblyIdentity.cs (1)
123[DllImport("clr", EntryPoint = "CreateAssemblyNameObject", CharSet = CharSet.Unicode, PreserveSig = true)]
Microsoft.CodeAnalysis.Workspaces.MSBuild (3)
src\Compilers\Shared\GlobalAssemblyCacheHelpers\GlobalAssemblyCacheLocation.cs (1)
27[DllImport("clr", PreserveSig = true)]
src\Workspaces\MSBuild\BuildHost\Rpc\Contracts\MonoMSBuildDiscovery.cs (2)
43[DllImport("libc", EntryPoint = "realpath", CharSet = CharSet.Ansi, ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)] 47[DllImport("libc", EntryPoint = "free", ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)]
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (6)
Rpc\Contracts\MonoMSBuildDiscovery.cs (2)
43[DllImport("libc", EntryPoint = "realpath", CharSet = CharSet.Ansi, ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)] 47[DllImport("libc", EntryPoint = "free", ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)]
src\Compilers\Core\Portable\InternalUtilities\FileLockCheck.cs (4)
55[DllImport(RestartManagerDll, CharSet = CharSet.Unicode)] 97[DllImport(RestartManagerDll, CharSet = CharSet.Unicode)] 115[DllImport(RestartManagerDll)] 118[DllImport(RestartManagerDll, CharSet = CharSet.Unicode)]
Microsoft.Data.Analysis.Tests (1)
test\Microsoft.ML.TestFramework\GlobalBase.cs (1)
57[DllImport("MklImports", EntryPoint = "LAPACKE_dpptrf")]
Microsoft.DotNet.RemoteExecutor (2)
MiniDump.cs (1)
38[DllImport("DbgHelp.dll", SetLastError = true)]
RemoteInvokeHandle.cs (1)
82[DllImport("kernel32.dll", SetLastError = true, EntryPoint = "GlobalMemoryStatusEx")]
Microsoft.DotNet.SignCheckLibrary (8)
Interop\WinCrypt.cs (7)
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)] 225[DllImport("crypt32.dll")] 228[DllImport("crypt32.dll")] 232[DllImport("crypt32.dll")]
Interop\WinTrust.cs (1)
14[DllImport("wintrust.dll", SetLastError = true)]
Microsoft.Extensions.Diagnostics.ResourceMonitoring (9)
Windows\Interop\JobObjectInfo.cs (5)
329[DllImport("kernel32.dll", ExactSpelling = true, SetLastError = true)] 345[DllImport("kernel32.dll", ExactSpelling = true, SetLastError = true)] 363[DllImport("kernel32.dll", ExactSpelling = true, SetLastError = true)] 376[DllImport("kernel32.dll", ExactSpelling = true, SetLastError = true)] 390[DllImport("kernel32.dll", SetLastError = true)]
Windows\Interop\MemoryInfo.Native.cs (1)
24[DllImportAttr("kernel32.dll", SetLastError = true)]
Windows\Interop\SystemInfo.cs (1)
30[DllImport("kernel32.dll")]
Windows\Network\WindowsTcpStateInfo.cs (2)
211[DllImport("Iphlpapi.dll", SetLastError = true)] 222[DllImport("Iphlpapi.dll", SetLastError = true)]
Microsoft.ML.Core (1)
Utilities\ResourceManagerUtils.cs (1)
349[DllImport("libc", SetLastError = true)]
Microsoft.ML.CpuMath (31)
FactorizationMachine\FactorizationMachineInterface.cs (2)
31[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 35[DllImport(NativePath), SuppressUnmanagedCodeSecurity]
IntUtils.cs (1)
72[DllImport(Thunk.NativePath), SuppressUnmanagedCodeSecurity]
Thunk.cs (28)
16[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 19[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 26[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 29[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 32[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 35[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 38[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 41[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 44[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 47[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 50[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 53[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 56[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 59[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 62[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 65[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 68[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 71[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 74[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 77[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 80[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 83[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 86[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 89[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 92[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 95[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 98[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 104[DllImport(NativePath), SuppressUnmanagedCodeSecurity]
Microsoft.ML.FastTree (14)
Dataset\DenseIntArray.cs (2)
75[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 81[DllImport(NativePath), SuppressUnmanagedCodeSecurity]
Dataset\SegmentIntArray.cs (7)
520[DllImport(NativePath, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity] 523[DllImport(NativePath, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity] 526[DllImport(NativePath, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity] 529[DllImport(NativePath, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity] 532[DllImport(NativePath, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity] 535[DllImport(NativePath)] 542[DllImport(NativePath)]
Dataset\SparseIntArray.cs (2)
491[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 496[DllImport(NativePath), SuppressUnmanagedCodeSecurity]
FastTreeRanking.cs (1)
1010[DllImport("FastTreeNative", EntryPoint = "C_GetDerivatives", CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity]
RandomForestClassification.cs (1)
258[DllImport(OneDalLibPath, EntryPoint = "decisionForestClassificationCompute")]
RandomForestRegression.cs (1)
391[DllImport(OneDalLibPath, EntryPoint = "decisionForestRegressionCompute")]
Microsoft.ML.LightGbm (22)
WrappedLightGbmInterface.cs (22)
40[DllImport(DllName, EntryPoint = "LGBM_AllocateArray", CallingConvention = CallingConvention.StdCall)] 46[DllImport(DllName, EntryPoint = "LGBM_CopyToArray", CallingConvention = CallingConvention.StdCall)] 54[DllImport(DllName, EntryPoint = "LGBM_FreeArray", CallingConvention = CallingConvention.StdCall)] 63[DllImport(DllName, EntryPoint = "LGBM_GetLastError", CallingConvention = CallingConvention.StdCall)] 84[DllImport(DllName, EntryPoint = "LGBM_DatasetCreateFromSampledColumn", CallingConvention = CallingConvention.StdCall)] 95[DllImport(DllName, EntryPoint = "LGBM_DatasetCreateByReference", CallingConvention = CallingConvention.StdCall)] 100[DllImport(DllName, EntryPoint = "LGBM_DatasetPushRows", CallingConvention = CallingConvention.StdCall)] 117[DllImport(DllName, EntryPoint = "LGBM_DatasetPushRowsByCSR", CallingConvention = CallingConvention.StdCall)] 144[DllImport(DllName, EntryPoint = "LGBM_DatasetFree", CallingConvention = CallingConvention.StdCall)] 147[DllImport(DllName, EntryPoint = "LGBM_DatasetSetField", CallingConvention = CallingConvention.StdCall)] 155[DllImport(DllName, EntryPoint = "LGBM_DatasetGetNumData", CallingConvention = CallingConvention.StdCall)] 158[DllImport(DllName, EntryPoint = "LGBM_DatasetGetNumFeature", CallingConvention = CallingConvention.StdCall)] 179[DllImport(DllName, EntryPoint = "LGBM_BoosterCreate", CallingConvention = CallingConvention.StdCall)] 184[DllImport(DllName, EntryPoint = "LGBM_BoosterFree", CallingConvention = CallingConvention.StdCall)] 187[DllImport(DllName, EntryPoint = "LGBM_BoosterAddValidData", CallingConvention = CallingConvention.StdCall)] 190[DllImport(DllName, EntryPoint = "LGBM_BoosterSaveModelToString", CallingConvention = CallingConvention.StdCall)] 203[DllImport(DllName, EntryPoint = "LGBM_BoosterUpdateOneIter", CallingConvention = CallingConvention.StdCall)] 206[DllImport(DllName, EntryPoint = "LGBM_BoosterGetEvalCounts", CallingConvention = CallingConvention.StdCall)] 209[DllImport(DllName, EntryPoint = "LGBM_BoosterGetEval", CallingConvention = CallingConvention.StdCall)] 216[DllImport(DllName, EntryPoint = "LGBM_BoosterPredictForMat", CallingConvention = CallingConvention.StdCall)] 223[DllImport(DllName, EntryPoint = "LGBM_NetworkInitWithFunctions", CallingConvention = CallingConvention.StdCall)] 226[DllImport(DllName, EntryPoint = "LGBM_NetworkFree", CallingConvention = CallingConvention.StdCall)]
Microsoft.ML.Mkl.Components (12)
OlsLinearRegression.cs (5)
186[DllImport(OneDalLibPath, EntryPoint = "ridgeRegressionOnlineCompute")] 190[DllImport(OneDalLibPath, EntryPoint = "ridgeRegressionOnlineFinalize")] 552[DllImport(MklPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LAPACKE_dpptrf"), SuppressUnmanagedCodeSecurity] 587[DllImport(MklPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LAPACKE_dpptrs"), SuppressUnmanagedCodeSecurity] 634[DllImport(MklPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LAPACKE_dpptri"), SuppressUnmanagedCodeSecurity]
SymSgdClassificationTrainer.cs (4)
835[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 909[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 923[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 932[DllImport(MklPath, EntryPoint = "DftiErrorMessage", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Auto), SuppressUnmanagedCodeSecurity]
VectorWhitening.cs (3)
532[DllImport(MklPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "cblas_sgemv"), SuppressUnmanagedCodeSecurity] 537[DllImport(MklPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "cblas_sgemm"), SuppressUnmanagedCodeSecurity] 542[DllImport(MklPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "LAPACKE_sgesvd"), SuppressUnmanagedCodeSecurity]
Microsoft.ML.Recommender (5)
SafeTrainingAndModelBuffer.cs (5)
196[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 199[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 202[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 205[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 208[DllImport(NativePath), SuppressUnmanagedCodeSecurity]
Microsoft.ML.StandardTrainers (1)
Standard\LogisticRegression\LbfgsPredictorBase.cs (1)
24[DllImport(OneDalLibPath, EntryPoint = "logisticRegressionLBFGSCompute")]
Microsoft.ML.TestFramework (1)
GlobalBase.cs (1)
57[DllImport("MklImports", EntryPoint = "LAPACKE_dpptrf")]
Microsoft.ML.TestFrameworkCommon (8)
Attributes\AttributeHelpers.cs (1)
40[DllImport("libc", ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)]
Utility\Kernel32.cs (3)
9[DllImport("kernel32")] 12[DllImport("kernel32")] 15[DllImport("kernel32")]
Utility\Libdl.cs (4)
13[DllImport(LibName)] 16[DllImport(LibName)] 19[DllImport(LibName)] 22[DllImport(LibName)]
Microsoft.ML.TimeSeries (17)
EigenUtils.cs (8)
474[DllImport(MklPath, EntryPoint = "LAPACKE_shseqr", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity] 479[DllImport(MklPath, EntryPoint = "LAPACKE_dhseqr", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity] 484[DllImport(MklPath, EntryPoint = "LAPACKE_ssytrd", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity] 489[DllImport(MklPath, EntryPoint = "LAPACKE_dsytrd", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity] 494[DllImport(MklPath, EntryPoint = "LAPACKE_ssteqr", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity] 499[DllImport(MklPath, EntryPoint = "LAPACKE_dsteqr", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity] 504[DllImport(MklPath, EntryPoint = "LAPACKE_sorgtr", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity] 508[DllImport(MklPath, EntryPoint = "LAPACKE_dorgtr", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity]
FftUtils.cs (9)
170[DllImport(DllProxyName, EntryPoint = "MKLDftiCreateDescriptor", CharSet = CharSet.Auto), SuppressUnmanagedCodeSecurity] 174[DllImport(MklPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "DftiCommitDescriptor"), SuppressUnmanagedCodeSecurity] 178[DllImport(MklPath, CallingConvention = CallingConvention.Cdecl, EntryPoint = "DftiFreeDescriptor"), 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] 194[DllImport(DllProxyName, EntryPoint = "MKLDftiComputeForward"), SuppressUnmanagedCodeSecurity] 198[DllImport(DllProxyName, EntryPoint = "MKLDftiComputeBackward"), SuppressUnmanagedCodeSecurity] 202[DllImport(MklPath, EntryPoint = "DftiErrorMessage", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Auto), SuppressUnmanagedCodeSecurity]
Microsoft.ML.Transforms (20)
Text\LdaSingleBox.cs (20)
33[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 37[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 40[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 43[DllImport(NativePath, CharSet = CharSet.Ansi), SuppressUnmanagedCodeSecurity] 46[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 49[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 52[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 55[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 58[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 61[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 64[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 67[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 70[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 73[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 76[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 79[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 82[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 85[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 88[DllImport(NativePath), SuppressUnmanagedCodeSecurity] 91[DllImport(NativePath), SuppressUnmanagedCodeSecurity]
Microsoft.ML.Vision (4)
ImageClassificationTrainer.cs (4)
1524[DllImport("tensorflow", CallingConvention = CallingConvention.Cdecl)] 1527[DllImport("tensorflow", CallingConvention = CallingConvention.Cdecl)] 1530[DllImport("tensorflow", CallingConvention = CallingConvention.Cdecl)] 1580[DllImport("tensorflow", CallingConvention = CallingConvention.Cdecl)]
Microsoft.VisualStudio.LanguageServices (12)
CodeMarkers\ManagedCodeMarkers.cs (6)
35[DllImport(TestDllName, EntryPoint = "PerfCodeMarker")] 38[DllImport(ProductDllName, EntryPoint = "PerfCodeMarker")] 50[DllImport(ProductDllName, EntryPoint = "PerfCodeMarker")] 53[DllImport(ProductDllName, EntryPoint = "PerfCodeMarker")] 57[DllImport("kernel32.dll", CharSet = CharSet.Unicode)] 68[DllImport("kernel32.dll", CharSet = CharSet.Unicode)]
Shared\LogicalStringComparer.cs (1)
12[DllImport("shlwapi.dll", CharSet = CharSet.Unicode)]
src\Compilers\Shared\GlobalAssemblyCacheHelpers\GlobalAssemblyCacheLocation.cs (1)
27[DllImport("clr", PreserveSig = true)]
Utilities\ClipboardHelpers.cs (4)
24[DllImport("ole32.dll", ExactSpelling = true, CharSet = CharSet.Unicode)] 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.Implementation (1)
CodeModel\Interop\CodeModelInterop.cs (1)
13[DllImport("oleaut32.dll")]
PrepareTests (2)
MinimizeUtil.cs (2)
298[DllImport("Kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)] 302[DllImport("libc", SetLastError = true)]
PresentationCore (328)
ModuleInitializer.cs (1)
59[DllImport("user32.dll", EntryPoint = "SetProcessDPIAware")]
MS\Internal\Classification.cs (1)
199[DllImport(DllImport.PresentationNative, EntryPoint="MILGetClassificationTables")]
MS\Internal\TextFormatting\LineServices.cs (27)
1407[DllImport(DllImport.PresentationNative, EntryPoint="LoCreateContext")] 1414[DllImport(DllImport.PresentationNative, EntryPoint="LoDestroyContext")] 1419[DllImport(DllImport.PresentationNative, EntryPoint="LoCreateLine")] 1433[DllImport(DllImport.PresentationNative, EntryPoint="LoDisposeLine")] 1440[DllImport(DllImport.PresentationNative, EntryPoint="LoAcquireBreakRecord")] 1446[DllImport(DllImport.PresentationNative, EntryPoint="LoDisposeBreakRecord")] 1453[DllImport(DllImport.PresentationNative, EntryPoint="LoCloneBreakRecord")] 1459[DllImport(DllImport.PresentationNative, EntryPoint = "LoRelievePenaltyResource")] 1464[DllImport(DllImport.PresentationNative, EntryPoint="LoSetBreaking")] 1470[DllImport(DllImport.PresentationNative, EntryPoint="LoSetDoc")] 1478[DllImport(DllImport.PresentationNative, EntryPoint="LoSetTabs")] 1486[DllImport(DllImport.PresentationNative, EntryPoint="LoDisplayLine")] 1494[DllImport(DllImport.PresentationNative, EntryPoint="LoEnumLine")] 1502[DllImport(DllImport.PresentationNative, EntryPoint="LoQueryLineCpPpoint")] 1512[DllImport(DllImport.PresentationNative, EntryPoint="LoQueryLinePointPcp")] 1522[DllImport(DllImport.PresentationNative, EntryPoint="LoCreateBreaks")] 1533[DllImport(DllImport.PresentationNative, EntryPoint="LoCreateParaBreakingSession")] 1544[DllImport(DllImport.PresentationNative, EntryPoint="LoDisposeParaBreakingSession")] 1551[DllImport(DllImport.PresentationNative, EntryPoint="LocbkGetObjectHandlerInfo")] 1564[DllImport(DllImport.PresentationNative, EntryPoint = "LoGetEscString")] 1569[DllImport(DllImport.PresentationNative, EntryPoint = "LoAcquirePenaltyModule")] 1575[DllImport(DllImport.PresentationNative, EntryPoint = "LoDisposePenaltyModule")] 1580[DllImport(DllImport.PresentationNative, EntryPoint = "LoGetPenaltyModuleInternalHandle")] 1589[DllImport(DllImport.PresentationNative, EntryPoint = "CreateTextAnalysisSink")] 1596[DllImport(DllImport.PresentationNative, EntryPoint = "GetScriptAnalysisList")] 1603[DllImport(DllImport.PresentationNative, EntryPoint = "GetNumberSubstitutionList")] 1609[DllImport(DllImport.PresentationNative, EntryPoint = "CreateTextAnalysisSource")]
MS\Internal\WindowsRuntime\Windows\UI\ViewManagement\NativeMethods.cs (4)
18[DllImport(DllImport.ApiSetWinRTString, CallingConvention = CallingConvention.StdCall)] 23[DllImport(DllImport.ApiSetWinRTString, CallingConvention = CallingConvention.StdCall)] 26[DllImport(DllImport.ApiSetWinRT, CallingConvention = CallingConvention.StdCall)] 29[DllImport(DllImport.ApiSetWinRT, CallingConvention = CallingConvention.StdCall)]
MS\Win32\UnsafeNativeMethodsPenimc.cs (11)
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)] 603[DllImport(ExternDll.Ole32, ExactSpelling = true, PreserveSig = false)] 624[DllImport(ExternDll.Kernel32, ExactSpelling = true)]
MS\Win32\UnsafeNativeMethodsPointer.cs (17)
521[DllImport(DllImport.User32, EntryPoint = "GetPointerDevices", SetLastError = true)] 527[DllImport(DllImport.User32, EntryPoint = "GetPointerDeviceCursors", SetLastError = true)] 533[DllImport(DllImport.User32, EntryPoint = "GetPointerInfo", SetLastError = true)] 539[DllImport(DllImport.User32, EntryPoint = "GetPointerInfoHistory", SetLastError = true)] 545[DllImport(DllImport.User32, EntryPoint = "GetPointerDeviceProperties", SetLastError = true)] 551[DllImport(DllImport.User32, EntryPoint = "GetPointerDeviceRects", SetLastError = true)] 557[DllImport(DllImport.User32, EntryPoint = "GetPointerCursorId", SetLastError = true)] 563[DllImport(DllImport.User32, EntryPoint = "GetPointerPenInfo", SetLastError = true)] 569[DllImport(DllImport.User32, EntryPoint = "GetPointerTouchInfo", SetLastError = true)] 575[DllImport(DllImport.User32, EntryPoint = "GetRawPointerDeviceData", SetLastError = true)] 593[DllImport(DllImport.NInput, EntryPoint = "CreateInteractionContext", SetLastError = true)] 600[DllImport(DllImport.NInput, EntryPoint = "DestroyInteractionContext", SetLastError = true)] 609[DllImport(DllImport.NInput, EntryPoint = "SetInteractionConfigurationInteractionContext", SetLastError = true)] 618[DllImport(DllImport.NInput, EntryPoint = "RegisterOutputCallbackInteractionContext", SetLastError = true, PreserveSig = false)] 627[DllImport(DllImport.NInput, EntryPoint = "SetPropertyInteractionContext", SetLastError = true)] 636[DllImport(DllImport.NInput, EntryPoint = "BufferPointerPacketsInteractionContext", SetLastError = true, PreserveSig = false)] 643[DllImport(DllImport.NInput, EntryPoint = "ProcessBufferedPacketsInteractionContext", SetLastError = true, PreserveSig = false)]
MS\Win32\UnsafeNativeMethodsTablet.cs (14)
16[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 19[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 22[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 25[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 28[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 31[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 34[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 37[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 40[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 43[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 46[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi, CharSet = CharSet.Unicode)] 49[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 52[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 55[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)]
src\Microsoft.DotNet.Wpf\src\Common\Graphics\exports.cs (19)
112[DllImport(DllImport.MilCore)] 119[DllImport(DllImport.MilCore)] 127[DllImport(DllImport.MilCore, EntryPoint = "MilConnection_CreateChannel")]//CASRemoval: 133[DllImport(DllImport.MilCore, EntryPoint = "MilConnection_DestroyChannel")]//CASRemoval: 137[DllImport(DllImport.MilCore, EntryPoint = "MilChannel_CloseBatch")]//CASRemoval: 141[DllImport(DllImport.MilCore, EntryPoint = "MilChannel_CommitChannel")]//CASRemoval: 145[DllImport(DllImport.MilCore)]//CASRemoval: 149[DllImport(DllImport.MilCore, EntryPoint = "MilChannel_GetMarshalType")] 152[DllImport (DllImport.MilCore, EntryPoint = "MilResource_SendCommand")]//CASRemoval: 159[DllImport (DllImport.MilCore, EntryPoint = "MilChannel_BeginCommand")]//CASRemoval: 167[DllImport (DllImport.MilCore, EntryPoint = "MilChannel_AppendCommandData")]//CASRemoval: 174[DllImport (DllImport.MilCore, EntryPoint = "MilChannel_EndCommand")]//CASRemoval: 178[DllImport (DllImport.MilCore, EntryPoint = "MilResource_SendCommandMedia")]//CASRemoval: 186[DllImport (DllImport.MilCore, EntryPoint = "MilResource_SendCommandBitmapSource")]//CASRemoval: 192[DllImport(DllImport.MilCore, EntryPoint = "MilResource_ReleaseOnChannel")]//CASRemoval: 199[DllImport(DllImport.MilCore)] 206[DllImport(DllImport.MilCore)] 216[DllImport(DllImport.MilCore)] 224[DllImport(DllImport.MilCore, EntryPoint = "MilResource_GetRefCountOnChannel")]
src\Microsoft.DotNet.Wpf\src\Common\Graphics\wgx_exports.cs (28)
15[DllImport(DllImport.MilCore, EntryPoint="MILRenderTargetBitmapGetBitmap")]//CASRemoval: 21[DllImport(DllImport.MilCore, EntryPoint = "MILRenderTargetBitmapClear")] 33[DllImport(DllImport.MilCore, EntryPoint="MILMediaOpen")] 39[DllImport(DllImport.MilCore, EntryPoint="MILMediaStop")]//CASRemoval: 44[DllImport(DllImport.MilCore, EntryPoint="MILMediaClose")]//CASRemoval: 49[DllImport(DllImport.MilCore, EntryPoint="MILMediaGetPosition")]//CASRemoval: 54[DllImport(DllImport.MilCore, EntryPoint="MILMediaSetPosition")]//CASRemoval: 59[DllImport(DllImport.MilCore, EntryPoint="MILMediaSetVolume")]//CASRemoval: 65[DllImport(DllImport.MilCore, EntryPoint="MILMediaSetBalance")] 71[DllImport(DllImport.MilCore, EntryPoint="MILMediaSetIsScrubbingEnabled")] 77[DllImport(DllImport.MilCore, EntryPoint="MILMediaIsBuffering")]//CASRemoval: 83[DllImport(DllImport.MilCore, EntryPoint="MILMediaCanPause")]//CASRemoval: 89[DllImport(DllImport.MilCore, EntryPoint="MILMediaGetDownloadProgress")]//CASRemoval: 95[DllImport(DllImport.MilCore, EntryPoint="MILMediaGetBufferingProgress")]//CASRemoval: 101[DllImport(DllImport.MilCore, EntryPoint="MILMediaSetRate")]//CASRemoval: 107[DllImport(DllImport.MilCore, EntryPoint="MILMediaHasVideo")]//CASRemoval: 113[DllImport(DllImport.MilCore, EntryPoint="MILMediaHasAudio")]//CASRemoval: 119[DllImport(DllImport.MilCore, EntryPoint="MILMediaGetNaturalHeight")]//CASRemoval: 125[DllImport(DllImport.MilCore, EntryPoint="MILMediaGetNaturalWidth")]//CASRemoval: 131[DllImport(DllImport.MilCore, EntryPoint="MILMediaGetMediaLength")]//CASRemoval: 137[DllImport(DllImport.MilCore, EntryPoint="MILMediaNeedUIFrameUpdate")] 142[DllImport(DllImport.MilCore, EntryPoint="MILMediaShutdown")]//CASRemoval: 147[DllImport(DllImport.MilCore, EntryPoint = "MILMediaProcessExitHandler")] 157[DllImport(DllImport.MilCore, EntryPoint = "MILSwDoubleBufferedBitmapCreate")] 167[DllImport(DllImport.MilCore, EntryPoint = "MILSwDoubleBufferedBitmapGetBackBuffer", PreserveSig = false)] 174[DllImport(DllImport.MilCore, EntryPoint = "MILSwDoubleBufferedBitmapAddDirtyRect", PreserveSig = false)] 180[DllImport(DllImport.MilCore, EntryPoint = "MILSwDoubleBufferedBitmapProtectBackBuffer")] 193[DllImport(DllImport.MilCore, EntryPoint="MILUpdateSystemParametersInfo")]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\UnsafeNativeMethodsCompiler.cs (2)
26[DllImport(ExternDll.Shfolder, CharSet = CharSet.Auto, BestFitMapping = false)] 30[DllImport("urlmon.dll", CharSet = CharSet.Unicode)]
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Interop\OSVersionHelper.cs (20)
126[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 130[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 134[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 138[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 142[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 146[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 150[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 154[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 158[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 162[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 166[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 170[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 174[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 178[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 182[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 186[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 190[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 194[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 198[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 202[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)]
System\Windows\InterOp\HwndTarget.cs (2)
565[DllImport(DllImport.MilCore, EntryPoint = "MilVisualTarget_AttachToHwnd")] 571[DllImport(DllImport.MilCore, EntryPoint = "MilVisualTarget_DetachFromHwnd")]
System\Windows\Media\Composition.cs (8)
193[DllImport(DllImport.MilCore)] 198[DllImport(DllImport.MilCore)] 208[DllImport(DllImport.MilCore)] 223[DllImport(DllImport.MilCore)] 237[DllImport(DllImport.MilCore)] 250[DllImport(DllImport.MilCore)] 264[DllImport(DllImport.MilCore)] 274[DllImport(DllImport.MilCore)]
System\Windows\Media\EventProxy.cs (1)
148[DllImport(DllImport.MilCore)]
System\Windows\Media\MediaContextNotificationWindow.cs (2)
157[DllImport(DllImport.MilCore)] 162[DllImport(DllImport.MilCore)]
System\Windows\Media\MILUtilities.cs (2)
146[DllImport(DllImport.MilCore)] 152[DllImport(DllImport.MilCore, EntryPoint = "MilUtility_CopyPixelBuffer", PreserveSig = false)]
System\Windows\Media\SafeNativeMethodsMilCoreApi.cs (3)
36[DllImport(DllImport.MilCore)] 39[DllImport(DllImport.MilCore)] 42[DllImport(DllImport.MilCore)]
System\Windows\Media\StreamAsIStream.cs (1)
665[DllImport(DllImport.MilCore)]//CASRemoval:
System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (165)
25[DllImport(DllImport.MilCore, EntryPoint = "MilCompositionEngine_EnterCompositionEngineLock")] 28[DllImport(DllImport.MilCore, EntryPoint = "MilCompositionEngine_ExitCompositionEngineLock")] 31[DllImport(DllImport.MilCore, EntryPoint = "MilCompositionEngine_EnterMediaSystemLock")] 34[DllImport(DllImport.MilCore, EntryPoint = "MilCompositionEngine_ExitMediaSystemLock")] 37[DllImport(DllImport.MilCore)] 42[DllImport(DllImport.MilCore)] 45[DllImport(DllImport.MilCore)] 50[DllImport(DllImport.MilCore)] 53[DllImport(DllImport.MilCore)] 56[DllImport(DllImport.MilCore)] 73[DllImport(DllImport.MilCore)] 87[DllImport(DllImport.MilCore)] 104[DllImport(DllImport.MilCore)] 117[DllImport(DllImport.MilCore)] 128[DllImport(DllImport.MilCore)] 139[DllImport(DllImport.MilCore)] 147[DllImport(DllImport.MilCore)] 154[DllImport(DllImport.MilCore)] 159[DllImport(DllImport.MilCore)] 166[DllImport(DllImport.MilCore)] 177[DllImport(DllImport.MilCore)] 182[DllImport(DllImport.MilCore, EntryPoint = "MilCreateReversePInvokeWrapper")] 187[DllImport(DllImport.MilCore, EntryPoint = "MilReleasePInvokePtrBlocking")] 191[DllImport(DllImport.MilCore, EntryPoint = "RenderOptions_ForceSoftwareRenderingModeForProcess")] 195[DllImport(DllImport.MilCore, EntryPoint = "RenderOptions_IsSoftwareRenderingForcedForProcess")] 198[DllImport(DllImport.MilCore, EntryPoint = "RenderOptions_EnableHardwareAccelerationInRdp")] 201[DllImport(DllImport.MilCore, EntryPoint = "MilResource_CreateCWICWrapperBitmap")] 209[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICComponentInfo_GetCLSID_Proxy")] 214[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICComponentInfo_GetAuthor_Proxy")] 221[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICComponentInfo_GetVersion_Proxy")] 228[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICComponentInfo_GetSpecVersion_Proxy")] 235[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICComponentInfo_GetFriendlyName_Proxy")] 245[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapCodecInfo_GetContainerFormat_Proxy")] 250[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapCodecInfo_GetDeviceManufacturer_Proxy")] 258[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapCodecInfo_GetDeviceModels_Proxy")] 266[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapCodecInfo_GetMimeTypes_Proxy")] 274[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapCodecInfo_GetFileExtensions_Proxy")] 282[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapCodecInfo_DoesSupportAnimation_Proxy")] 288[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapCodecInfo_DoesSupportLossless_Proxy")] 294[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapCodecInfo_DoesSupportMultiframe_Proxy")] 303[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICMetadataQueryReader_GetContainerFormat_Proxy")] 308[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICMetadataQueryReader_GetLocation_Proxy")] 316[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICMetadataQueryReader_GetMetadataByName_Proxy")] 323[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICMetadataQueryReader_GetMetadataByName_Proxy")] 330[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICMetadataQueryReader_GetEnumerator_Proxy")] 339[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICMetadataQueryWriter_SetMetadataByName_Proxy")] 346[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICMetadataQueryWriter_RemoveMetadataByName_Proxy")] 355[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICFastMetadataEncoder_Commit_Proxy")] 360[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICFastMetadataEncoder_GetMetadataQueryWriter_Proxy")] 369[DllImport(DllImport.WindowsCodecs, EntryPoint = "IEnumString_Next_WIC_Proxy")] 377[DllImport(DllImport.WindowsCodecs, EntryPoint = "IEnumString_Reset_WIC_Proxy")] 385[DllImport(DllImport.WindowsCodecs, EntryPoint = "IPropertyBag2_Write_Proxy")] 396[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapSource_GetSize_Proxy")] 402[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapSource_GetPixelFormat_Proxy")] 407[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapSource_GetResolution_Proxy")] 413[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapSource_CopyPalette_Proxy")] 418[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapSource_CopyPixels_Proxy")] 429[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapDecoder_GetDecoderInfo_Proxy")] 434[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapDecoder_CopyPalette_Proxy")] 439[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapDecoder_GetPreview_Proxy")] 445[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapDecoder_GetColorContexts_Proxy")] 453[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapDecoder_GetThumbnail_Proxy")] 459[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapDecoder_GetMetadataQueryReader_Proxy")] 465[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapDecoder_GetFrameCount_Proxy")] 471[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapDecoder_GetFrame_Proxy")] 481[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapFrameDecode_GetThumbnail_Proxy")] 487[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapFrameDecode_GetMetadataQueryReader_Proxy")] 493[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapFrameDecode_GetColorContexts_Proxy")] 504[DllImport(DllImport.MilCore, EntryPoint = "MILAddRef")] 507[DllImport(DllImport.MilCore, EntryPoint = "MILAddRef")] 510[DllImport(DllImport.MilCore, EntryPoint = "MILRelease")] 524[DllImport(DllImport.MilCore, EntryPoint = "MILQueryInterface")] 530[DllImport(DllImport.MilCore, EntryPoint = "MILQueryInterface")] 539[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICStream_InitializeFromIStream_Proxy")] 544[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICStream_InitializeFromMemory_Proxy")] 553[DllImport(DllImport.WindowsCodecs, EntryPoint = "WICCreateBitmapFromSection")] 566[DllImport(DllImport.WindowsCodecs, EntryPoint="IWICBitmapFrameEncode_Initialize_Proxy")] 570[DllImport(DllImport.WindowsCodecs, EntryPoint="IWICBitmapFrameEncode_Commit_Proxy")] 573[DllImport(DllImport.WindowsCodecs, EntryPoint="IWICBitmapFrameEncode_SetSize_Proxy")] 578[DllImport(DllImport.WindowsCodecs, EntryPoint="IWICBitmapFrameEncode_SetResolution_Proxy")] 583[DllImport(DllImport.WindowsCodecs, EntryPoint="IWICBitmapFrameEncode_WriteSource_Proxy")] 588[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapFrameEncode_SetThumbnail_Proxy")] 592[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapFrameEncode_GetMetadataQueryWriter_Proxy")] 598[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapFrameEncode_SetColorContexts_Proxy")] 607[DllImport(DllImport.WindowsCodecs, EntryPoint="IWICBitmapEncoder_Initialize_Proxy")] 612[DllImport(DllImport.WindowsCodecs, EntryPoint="IWICBitmapEncoder_GetEncoderInfo_Proxy")] 617[DllImport(DllImport.WindowsCodecs, EntryPoint="IWICBitmapEncoder_CreateNewFrame_Proxy")] 623[DllImport(DllImport.WindowsCodecs, EntryPoint="IWICBitmapEncoder_SetThumbnail_Proxy")] 627[DllImport(DllImport.WindowsCodecs, EntryPoint="IWICBitmapEncoder_SetPalette_Proxy")] 631[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapEncoder_GetMetadataQueryWriter_Proxy")] 637[DllImport(DllImport.WindowsCodecs, EntryPoint="IWICBitmapEncoder_Commit_Proxy")] 643[DllImport(DllImport.WindowsCodecs, EntryPoint="IWICPalette_InitializePredefined_Proxy")] 648[DllImport(DllImport.WindowsCodecs, EntryPoint="IWICPalette_InitializeCustom_Proxy")] 653[DllImport(DllImport.WindowsCodecs, EntryPoint="IWICPalette_InitializeFromBitmap_Proxy")] 659[DllImport(DllImport.WindowsCodecs, EntryPoint="IWICPalette_InitializeFromPalette_Proxy")] 663[DllImport(DllImport.WindowsCodecs, EntryPoint="IWICPalette_GetType_Proxy")] 667[DllImport(DllImport.WindowsCodecs, EntryPoint="IWICPalette_GetColorCount_Proxy")] 671[DllImport(DllImport.WindowsCodecs, EntryPoint="IWICPalette_GetColors_Proxy")] 677[DllImport(DllImport.WindowsCodecs, EntryPoint="IWICPalette_HasAlpha_Proxy")] 684[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICImagingFactory_CreateDecoderFromStream_Proxy")] 692[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICImagingFactory_CreateDecoderFromFileHandle_Proxy")] 700[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICImagingFactory_CreateComponentInfo_Proxy")] 706[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICImagingFactory_CreatePalette_Proxy")] 711[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICImagingFactory_CreateFormatConverter_Proxy")] 716[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICImagingFactory_CreateBitmapScaler_Proxy")] 721[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICImagingFactory_CreateBitmapClipper_Proxy")] 726[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICImagingFactory_CreateBitmapFlipRotator_Proxy")] 731[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICImagingFactory_CreateStream_Proxy")] 736[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICImagingFactory_CreateEncoder_Proxy")] 743[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICImagingFactory_CreateBitmapFromSource_Proxy")] 750[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICImagingFactory_CreateBitmapFromMemory_Proxy")] 761[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICImagingFactory_CreateBitmap_Proxy")] 770[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICImagingFactory_CreateBitmapFromHBITMAP_Proxy")] 778[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICImagingFactory_CreateBitmapFromHICON_Proxy")] 784[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICImagingFactory_CreateFastMetadataEncoderFromDecoder_Proxy")] 790[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICImagingFactory_CreateFastMetadataEncoderFromFrameDecode_Proxy")] 796[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICImagingFactory_CreateQueryWriter_Proxy")] 804[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICImagingFactory_CreateQueryWriterFromReader_Proxy")] 815[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICComponentFactory_CreateMetadataWriterFromReader_Proxy")] 823[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICComponentFactory_CreateQueryWriterFromBlockWriter_Proxy")] 833[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICMetadataBlockReader_GetCount_Proxy")] 839[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICMetadataBlockReader_GetReaderByIndex_Proxy")] 849[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICPixelFormatInfo_GetBitsPerPixel_Proxy")] 855[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICPixelFormatInfo_GetChannelCount_Proxy")] 861[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICPixelFormatInfo_GetChannelMask_Proxy")] 873[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapClipper_Initialize_Proxy")] 882[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapFlipRotator_Initialize_Proxy")] 891[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapScaler_Initialize_Proxy")] 902[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICFormatConverter_Initialize_Proxy")] 922[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICColorContext_InitializeFromMemory_Proxy")] 931[DllImport(DllImport.MilCore, EntryPoint = "IWICColorContext_GetProfileBytes_Proxy")] 939[DllImport(DllImport.MilCore, EntryPoint = "IWICColorContext_GetType_Proxy")] 945[DllImport(DllImport.MilCore, EntryPoint = "IWICColorContext_GetExifColorSpace_Proxy")] 954[DllImport(DllImport.WindowsCodecsExt, EntryPoint = "IWICColorTransform_Initialize_Proxy")] 966[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmap_Lock_Proxy")] 973[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmap_SetResolution_Proxy")] 979[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmap_SetPalette_Proxy")] 987[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapLock_GetStride_Proxy")] 993[DllImport(DllImport.WindowsCodecs, EntryPoint = "IWICBitmapLock_GetDataPointer_STA_Proxy")] 1007[DllImport(DllImport.WindowsCodecs, EntryPoint = "WICCreateImagingFactory_Proxy")] 1013[DllImport(DllImport.WindowsCodecs, EntryPoint = "WICConvertBitmapSource")] 1019[DllImport(DllImport.WindowsCodecs, EntryPoint = "WICSetEncoderFormat_Proxy")] 1026[DllImport(DllImport.WindowsCodecs, EntryPoint = "WICMapGuidToShortName")]//CASRemoval: 1033[DllImport(DllImport.WindowsCodecs, EntryPoint = "WICMapShortNameToGuid")]//CASRemoval: 1038[DllImport(DllImport.WindowsCodecsExt, EntryPoint = "WICCreateColorTransform_Proxy")] 1042[DllImport(DllImport.WindowsCodecs, EntryPoint = "WICCreateColorContext_Proxy")] 1047[DllImport("ole32.dll")] 1051[DllImport("ole32.dll")] 1057[DllImport(DllImport.Mscms, EntryPoint = "CreateMultiProfileTransform")] 1060[DllImport(DllImport.Mscms, EntryPoint = "DeleteColorTransform", SetLastError = true)] 1063[DllImport(DllImport.Mscms, EntryPoint = "TranslateColors")] 1066[DllImport(DllImport.Mscms, EntryPoint = "OpenColorProfile")] 1069[DllImport(DllImport.Mscms, EntryPoint = "CloseColorProfile", SetLastError = true)] 1072[DllImport(DllImport.Mscms, EntryPoint = "GetColorProfileHeader", SetLastError = true)] 1075[DllImport(DllImport.Mscms, CharSet = CharSet.Auto, BestFitMapping = false)] 1078[DllImport(DllImport.Mscms, CharSet = CharSet.Auto, BestFitMapping = false)] 1081[DllImport(DllImport.Mscms, EntryPoint = "GetColorProfileFromHandle", SetLastError = true)] 1087[DllImport(DllImport.MilCore, EntryPoint = "MILCreateFactory")] 1093[DllImport(DllImport.MilCore, EntryPoint = "MILFactoryCreateMediaPlayer")] 1100[DllImport(DllImport.MilCore, EntryPoint = "MILFactoryCreateBitmapRenderTarget")] 1111[DllImport(DllImport.MilCore, EntryPoint = "MILFactoryCreateSWRenderTargetForBitmap")] 1122[DllImport(DllImport.MilCore, EntryPoint = "InteropDeviceBitmap_Create")] 1135[DllImport(DllImport.MilCore, EntryPoint = "InteropDeviceBitmap_Detach")] 1140[DllImport(DllImport.MilCore, EntryPoint = "InteropDeviceBitmap_AddDirtyRect")] 1150[DllImport(DllImport.MilCore, EntryPoint = "InteropDeviceBitmap_GetAsSoftwareBitmap")]
PresentationFramework (202)
MS\Internal\AppModel\ShellProvider.cs (6)
990[DllImport(ExternDll.Shell32, EntryPoint = "SHAddToRecentDocs")] 995[DllImport(ExternDll.Shell32, EntryPoint = "SHAddToRecentDocs")] 1010[DllImport(ExternDll.Shell32)] 1014[DllImport(ExternDll.Shell32)] 1021[DllImport(ExternDll.Shell32, PreserveSig = false)] 1028[DllImport(ExternDll.Shell32)]
MS\Internal\Printing\UnsafeNativeMethods.cs (4)
12[DllImport("comdlg32.dll", CharSet = CharSet.Auto)] 21[DllImport("kernel32.dll")] 30[DllImport("kernel32.dll")] 39[DllImport("kernel32.dll")]
MS\Internal\PtsHost\Pts.cs (61)
3064[DllImport(DllImport.PresentationNative)] 3070[DllImport(DllImport.PresentationNative)] 3076[DllImport(DllImport.PresentationNative)] 3084[DllImport(DllImport.PresentationNative)] 3090[DllImport(DllImport.PresentationNative)] 3096[DllImport(DllImport.PresentationNative)] 3109[DllImport(DllImport.PresentationNative)] 3118[DllImport(DllImport.PresentationNative)] 3127[DllImport(DllImport.PresentationNative)] 3134[DllImport(DllImport.PresentationNative)] 3141[DllImport(DllImport.PresentationNative)] 3146[DllImport(DllImport.PresentationNative)] 3159[DllImport(DllImport.PresentationNative)] 3168[DllImport(DllImport.PresentationNative)] 3201[DllImport(DllImport.PresentationNative)] 3228[DllImport(DllImport.PresentationNative)] 3255[DllImport(DllImport.PresentationNative)] 3262[DllImport(DllImport.PresentationNative)] 3267[DllImport(DllImport.PresentationNative)] 3272[DllImport(DllImport.PresentationNative)] 3278[DllImport(DllImport.PresentationNative)] 3283[DllImport(DllImport.PresentationNative)] 3292[DllImport(DllImport.PresentationNative)] 3298[DllImport(DllImport.PresentationNative)] 3308[DllImport(DllImport.PresentationNative)] 3317[DllImport(DllImport.PresentationNative)] 3343[DllImport(DllImport.PresentationNative)] 3366[DllImport(DllImport.PresentationNative)] 3389[DllImport(DllImport.PresentationNative)] 3397[DllImport(DllImport.PresentationNative)] 3406[DllImport(DllImport.PresentationNative)] 3411[DllImport(DllImport.PresentationNative)] 3416[DllImport(DllImport.PresentationNative)] 3422[DllImport(DllImport.PresentationNative)] 3427[DllImport(DllImport.PresentationNative)] 3436[DllImport(DllImport.PresentationNative)] 3468[DllImport(DllImport.PresentationNative)] 3480[DllImport(DllImport.PresentationNative)] 3592[DllImport(DllImport.PresentationNative)] 3619[DllImport(DllImport.PresentationNative)] 3627[DllImport(DllImport.PresentationNative)] 3633[DllImport(DllImport.PresentationNative)] 3689[DllImport(DllImport.PresentationNative)] 3695[DllImport(DllImport.PresentationNative)] 3703[DllImport(DllImport.PresentationNative)] 3709[DllImport(DllImport.PresentationNative)] 3735[DllImport(DllImport.PresentationNative)] 3741[DllImport(DllImport.PresentationNative)] 3749[DllImport(DllImport.PresentationNative)] 3755[DllImport(DllImport.PresentationNative)] 3763[DllImport(DllImport.PresentationNative)] 3771[DllImport(DllImport.PresentationNative)] 3788[DllImport(DllImport.PresentationNative)] 3796[DllImport(DllImport.PresentationNative)] 3814[DllImport(DllImport.PresentationNative)] 3822[DllImport(DllImport.PresentationNative)] 3828[DllImport(DllImport.PresentationNative)] 3836[DllImport(DllImport.PresentationNative)] 3842[DllImport(DllImport.PresentationNative)] 3886[DllImport(DllImport.PresentationNative)] 3894[DllImport(DllImport.PresentationNative)]
MS\Internal\WindowsRuntime\Generated\WinRT.cs (11)
29[DllImport("api-ms-win-core-com-l1-1-0.dll")] 32[DllImport("api-ms-win-core-com-l1-1-0.dll")] 35[DllImport("kernel32.dll", SetLastError = true)] 39[DllImport("kernel32.dll", SetLastError = true)] 52[DllImport("kernel32.dll", SetLastError = true)] 55[DllImport("api-ms-win-core-winrt-l1-1-0.dll")] 58[DllImport("api-ms-win-core-winrt-string-l1-1-0.dll", CallingConvention = CallingConvention.StdCall)] 63[DllImport("api-ms-win-core-winrt-string-l1-1-0.dll", CallingConvention = CallingConvention.StdCall)] 69[DllImport("api-ms-win-core-winrt-string-l1-1-0.dll", CallingConvention = CallingConvention.StdCall)] 72[DllImport("api-ms-win-core-winrt-string-l1-1-0.dll", CallingConvention = CallingConvention.StdCall)] 76[DllImport("api-ms-win-core-winrt-string-l1-1-0.dll", CallingConvention = CallingConvention.StdCall)]
MS\Internal\WindowsRuntime\Generated\WinRT\Context.cs (1)
11[DllImport("api-ms-win-core-com-l1-1-0.dll")]
MS\Internal\WindowsRuntime\Generated\WinRT\ExceptionHelpers.cs (1)
26[DllImport("oleaut32.dll")]
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Interop\OSVersionHelper.cs (20)
126[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 130[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 134[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 138[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 142[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 146[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 150[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 154[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 158[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 162[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 166[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 170[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 174[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 178[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 182[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 186[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 190[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 194[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 198[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 202[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)]
System\Windows\Documents\NaturalLanguageHyphenator.cs (3)
208[DllImport(DllImport.PresentationNative, PreserveSig = false)] 211[DllImport(DllImport.PresentationNative, PreserveSig = true)] 214[DllImport(DllImport.PresentationNative, PreserveSig = false)]
System\Windows\Documents\NLGSpellerInterop.cs (3)
1058[DllImport(DllImport.PresentationNative, PreserveSig = false)] 1061[DllImport(DllImport.PresentationNative, PreserveSig = true)] 1064[DllImport(DllImport.PresentationNative, PreserveSig = false)]
System\Windows\Standard\NativeMethods.cs (92)
1369[DllImport("user32.dll")] 1372[DllImport("user32.dll")] 1376[DllImport("gdi32.dll", CharSet = CharSet.Unicode)] 1379[DllImport("gdi32.dll", CharSet = CharSet.Unicode, SetLastError = true)] 1382[DllImport("gdi32.dll")] 2276[DllImport("user32.dll", EntryPoint = "AdjustWindowRectEx", SetLastError = true)] 2291[DllImport("user32.dll", EntryPoint = "ChangeWindowMessageFilter", SetLastError = true)] 2295[DllImport("user32.dll", EntryPoint = "ChangeWindowMessageFilterEx", SetLastError = true)] 2339[DllImport("gdi32.dll")] 2342[DllImport("shell32.dll", EntryPoint = "CommandLineToArgvW", CharSet = CharSet.Unicode)] 2375[DllImport("gdi32.dll", EntryPoint = "CreateDIBSection", SetLastError = true)] 2378[DllImport("gdi32.dll", EntryPoint = "CreateDIBSection", SetLastError = true)] 2402[DllImport("gdi32.dll", EntryPoint = "CreateRoundRectRgn", SetLastError = true)] 2415[DllImport("gdi32.dll", EntryPoint = "CreateRectRgn", SetLastError = true)] 2428[DllImport("gdi32.dll", EntryPoint = "CreateRectRgnIndirect", SetLastError = true)] 2441[DllImport("gdi32.dll")] 2444[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Unicode, EntryPoint = "CreateWindowExW")] 2482[DllImport("user32.dll", CharSet = CharSet.Unicode, EntryPoint = "DefWindowProcW")] 2485[DllImport("gdi32.dll")] 2489[DllImport("user32.dll")] 2493[DllImport("user32.dll", SetLastError = true)] 2497[DllImport("user32.dll")] 2501[DllImport("dwmapi.dll", PreserveSig = false)] 2504[DllImport("dwmapi.dll", PreserveSig = false)] 2507[DllImport("dwmapi.dll", EntryPoint = "DwmIsCompositionEnabled", PreserveSig = false)] 2511[DllImport("dwmapi.dll", EntryPoint = "DwmGetColorizationColor", PreserveSig = true)] 2545[DllImport("dwmapi.dll")] 2549[DllImport("dwmapi.dll", EntryPoint = "DwmSetWindowAttribute")] 2581[DllImport("user32.dll", EntryPoint = "EnableMenuItem")] 2591[DllImport("user32.dll", EntryPoint = "RemoveMenu", SetLastError = true)] 2603[DllImport("user32.dll", EntryPoint = "DrawMenuBar", SetLastError = true)] 2615[DllImport("kernel32.dll")] 2621[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)] 2625[DllImport("kernel32.dll", SetLastError = true)] 2629[DllImport("user32.dll", EntryPoint = "GetClientRect", SetLastError = true)] 2643[DllImport("uxtheme.dll", EntryPoint="GetCurrentThemeName", CharSet = CharSet.Unicode)] 2670[DllImport("uxtheme.dll")] 2674[DllImport("gdi32.dll")] 2677[DllImport("kernel32.dll", EntryPoint = "GetModuleFileName", CharSet = CharSet.Unicode, SetLastError = true)] 2704[DllImport("kernel32.dll", EntryPoint = "GetModuleHandleW", CharSet = CharSet.Unicode, SetLastError = true)] 2717[DllImport("user32.dll", EntryPoint = "GetMonitorInfo", SetLastError = true)] 2731[DllImport("gdi32.dll", EntryPoint = "GetStockObject", SetLastError = true)] 2744[DllImport("user32.dll")] 2747[DllImport("user32.dll")] 2788[DllImport("uxtheme.dll", PreserveSig = false)] 2791[DllImport("user32.dll", SetLastError = true)] 2805[DllImport("user32.dll", EntryPoint = "GetWindowRect", SetLastError = true)] 2819[DllImport("gdiplus.dll")] 2822[DllImport("gdiplus.dll")] 2825[DllImport("gdiplus.dll")] 2828[DllImport("gdiplus.dll")] 2831[DllImport("gdiplus.dll")] 2834[DllImport("gdiplus.dll")] 2837[DllImport("gdiplus.dll")] 2840[DllImport("user32.dll")] 2844[DllImport("kernel32.dll", EntryPoint = "LocalFree", SetLastError = true)] 2847[DllImport("user32.dll")] 2850[DllImport("user32.dll", EntryPoint = "PostMessage", SetLastError = true)] 2862[DllImport("user32.dll", SetLastError = true, EntryPoint = "RegisterClassExW")] 2879[DllImport("user32.dll", EntryPoint = "RegisterWindowMessage", SetLastError = true, CharSet = CharSet.Unicode)] 2892[DllImport("user32.dll", EntryPoint = "SetActiveWindow", SetLastError = true)] 2917[DllImport("user32.dll", EntryPoint = "SetClassLong", SetLastError = true)] 2920[DllImport("user32.dll", EntryPoint = "SetClassLongPtr", SetLastError = true)] 2923[DllImport("kernel32.dll", SetLastError = true)] 2926[DllImport("kernel32.dll", SetLastError = true, EntryPoint = "SetProcessWorkingSetSize")] 2948[DllImport("user32.dll", EntryPoint = "SetWindowRgn", SetLastError = true)] 2960[DllImport("user32.dll", EntryPoint = "SetWindowPos", SetLastError = true)] 2975[DllImport("shell32.dll", SetLastError = false)] 2978[DllImport("user32.dll")] 2982[DllImport("user32.dll", EntryPoint = "SystemParametersInfoW", SetLastError = true)] 2987[DllImport("user32.dll", EntryPoint = "SystemParametersInfoW", SetLastError = true, CharSet = CharSet.Unicode)] 2992[DllImport("user32.dll", EntryPoint = "SystemParametersInfoW", SetLastError = true, CharSet = CharSet.Unicode)] 3032[DllImport("user32.dll")] 3035[DllImport("gdi32.dll", EntryPoint = "SelectObject", SetLastError = true)] 3048[DllImport("gdi32.dll", EntryPoint = "SelectObject", SetLastError = true)] 3061[DllImport("user32.dll", SetLastError = true)] 3065[DllImport("user32.dll", SetLastError = true)] 3068[DllImport("user32.dll", EntryPoint = "UnregisterClass", SetLastError = true)] 3072[DllImport("user32.dll", EntryPoint = "UnregisterClass", CharSet = CharSet.Unicode, SetLastError = true)] 3092[DllImport("user32.dll", SetLastError = true, EntryPoint = "UpdateLayeredWindow")] 3105[DllImport("user32.dll", SetLastError = true, EntryPoint = "UpdateLayeredWindow")] 3149[DllImport("shell32.dll", EntryPoint = "SHAddToRecentDocs")] 3154[DllImport("shell32.dll", EntryPoint = "SHAddToRecentDocs")] 3171[DllImport("dwmapi.dll", EntryPoint="DwmGetCompositionTimingInfo")] 3194[DllImport("dwmapi.dll", PreserveSig = false)] 3197[DllImport("dwmapi.dll", PreserveSig = false)] 3200[DllImport("dwmapi.dll", PreserveSig = false)] 3203[DllImport("shell32.dll", PreserveSig = false)] 3206[DllImport("shell32.dll")] 3209[DllImport("shell32.dll")] 3217[DllImport("shell32.dll", PreserveSig = false)] 3224[DllImport("shell32.dll")]
PresentationUI (1)
MS\Internal\Documents\Application\CommandEnforcer.cs (1)
201[DllImport("msdrm.dll", SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)]
ReachFramework (20)
MS\Internal\Printing\Configuration\UnsafeNativeMethods.cs (19)
71[DllImport(DllImport.PrntvPt, EntryPoint = "PTCloseProvider", CharSet = CharSet.Unicode, ExactSpelling = true)] 242[DllImport(ExternDll.Winspool, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)] 250[DllImport(ExternDll.Winspool, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)] 258[DllImport(ExternDll.Winspool, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)] 266[DllImport(ExternDll.Winspool, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)] 275[DllImport(ExternDll.Winspool, ExactSpelling = true, SetLastError = true)] 278[DllImport(ExternDll.Gdi32, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)] 281[DllImport(ExternDll.Gdi32, ExactSpelling = true, SetLastError = true)] 284[DllImport(ExternDll.Gdi32, ExactSpelling = true, SetLastError = true)] 287[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)] 290[DllImport(ExternDll.Kernel32, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)] 293[DllImport(ExternDll.Kernel32, ExactSpelling = true, SetLastError = true)] 303[DllImport(DllImport.Ole32, EntryPoint = "CreateStreamOnHGlobal", CharSet = CharSet.Unicode, ExactSpelling = true)] 319[DllImport(DllImport.PrntvPt, EntryPoint = "PTOpenProviderEx", CharSet = CharSet.Unicode, ExactSpelling = true)] 335[DllImport(DllImport.PrntvPt, EntryPoint = "PTGetPrintCapabilities", CharSet = CharSet.Unicode)] 352[DllImport(DllImport.PrntvPt, EntryPoint = "PTMergeAndValidatePrintTicket", CharSet = CharSet.Unicode, ExactSpelling = true)] 370[DllImport(DllImport.PrntvPt, EntryPoint = "PTConvertDevModeToPrintTicket", CharSet = CharSet.Unicode, ExactSpelling = true)] 390[DllImport(DllImport.PrntvPt, EntryPoint = "PTConvertPrintTicketToDevMode", CharSet = CharSet.Unicode, ExactSpelling = true)] 405[DllImport(DllImport.PrntvPt, EntryPoint = "PTReleaseMemory", CharSet = CharSet.Unicode, ExactSpelling = true)]
PrintSystemExceptions\InteropWin32ApiThunk.cs (1)
24[DllImport("Kernel32.dll", EntryPoint="FormatMessageW",
Replay (3)
src\Compilers\Shared\NativeMethods.cs (3)
69[DllImport("kernel32.dll", SetLastError = true)] 76[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)] 93[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
Roslyn.Test.PdbUtilities (3)
Reader\SymReaderFactory.cs (3)
26[DllImport("Microsoft.DiaSymReader.Native.x86.dll", EntryPoint = "CreateSymReader")] 30[DllImport("Microsoft.DiaSymReader.Native.amd64.dll", EntryPoint = "CreateSymReader")] 34[DllImport("Microsoft.DiaSymReader.Native.arm64.dll", EntryPoint = "CreateSymReader")]
StackDepthTest (1)
Program.cs (1)
18[DllImport("kernel32.dll")]
System.Drawing.Common (2)
System\Drawing\Printing\DefaultPrintController.cs (1)
65[DllImport(Libraries.Kernel32, ExactSpelling = true)]
Windows\Win32\PInvoke.SHGetStockIconInfo.cs (1)
65[DllImport(Libraries.Shell32, ExactSpelling = true)]
System.Drawing.Common.Tests (1)
System\Drawing\SystemFontsTests.cs (1)
102[DllImport("kernel32.dll", SetLastError = false, CharSet = CharSet.Auto)]
System.Net.Quic (2)
System\Net\Quic\Interop\msquic_generated.cs (2)
3116[DllImport("msquic", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] 3120[DllImport("msquic", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
System.Private.CoreLib (1)
src\System\Reflection\RuntimeCustomAttributeData.cs (1)
2216DllImportAttribute attribute = new DllImportAttribute(dllName);
System.Private.Windows.Core (9)
Windows\Win32\PInvokeCore.GetClassLong.cs (2)
12[DllImport(Libraries.User32, SetLastError = true)] 16[DllImport(Libraries.User32, SetLastError = true)]
Windows\Win32\PInvokeCore.GetWindowLong.cs (2)
10[DllImport(Libraries.User32, SetLastError = true)] 13[DllImport(Libraries.User32, SetLastError = true)]
Windows\Win32\PInvokeCore.PrintDlgEx.cs (1)
11[DllImport("COMDLG32.dll", ExactSpelling = true, EntryPoint = "PrintDlgExW")]
Windows\Win32\PInvokeCore.SetClassLong.cs (2)
11[DllImport(Libraries.User32)] 14[DllImport(Libraries.User32)]
Windows\Win32\PInvokeCore.SetWindowLong.cs (2)
10[DllImport(Libraries.User32, SetLastError = true)] 13[DllImport(Libraries.User32, SetLastError = true)]
System.Private.Windows.Core.TestUtilities (1)
XUnit\UseCultureAttribute.cs (1)
134[DllImport("Kernel32.dll", ExactSpelling = true, CharSet = CharSet.Unicode)]
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodDecoder.cs (1)
140return new DllImportAttribute(libraryName)
System.Windows.Controls.Ribbon (8)
Microsoft\Windows\Controls\Ribbon\NativeMethods.cs (8)
317[DllImport("user32.dll", ExactSpelling = true)] 320[DllImport("user32.dll", EntryPoint = "GetMonitorInfo", CharSet = CharSet.Auto, SetLastError = true)] 324[DllImport("user32.dll", ExactSpelling = true, CharSet = CharSet.Auto)] 327[DllImport("user32.dll")] 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)]
System.Windows.Forms.Interop.Tests (89)
AccessibleObjectTests.cs (75)
782[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 786[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 790[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 795[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 800[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 804[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 809[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 814[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 820[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 826[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 831[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 836[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 841[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 846[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 851[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 856[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 861[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 866[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 870[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 874[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 879[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 884[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 888[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 894[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 898[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 902[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 907[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 912[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 917[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 922[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 927[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 932[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 937[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 942[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 947[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 951[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 955[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 959[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 963[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 968[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 973[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 979[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 984[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 989[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 993[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 998[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1003[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1007[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1011[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1015[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1021[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1027[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1032[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1037[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1042[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1047[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1052[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1057[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1062[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1067[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1072[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1076[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1080[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1085[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1090[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1095[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1100[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1105[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1110[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1115[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1120[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1124[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1128[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1132[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)] 1136[DllImport(NativeTests, ExactSpelling = true, CharSet = CharSet.Unicode)]
PropertyGridTests.cs (1)
146[DllImport("kernel32", SetLastError = true)]
RichTextBoxTests.cs (12)
164[DllImport(NativeTests, PreserveSig = true)] 167[DllImport(NativeTests, PreserveSig = true)] 170[DllImport(NativeTests, PreserveSig = true)] 173[DllImport(NativeTests, PreserveSig = true)] 176[DllImport(NativeTests, PreserveSig = true)] 179[DllImport(NativeTests, PreserveSig = true)] 182[DllImport(NativeTests, PreserveSig = true)] 185[DllImport(NativeTests, PreserveSig = true)] 188[DllImport(NativeTests, PreserveSig = true)] 191[DllImport(NativeTests, PreserveSig = true)] 194[DllImport(NativeTests, PreserveSig = true)] 197[DllImport(NativeTests, PreserveSig = true)]
WebBrowserSiteBaseInteropTests.cs (1)
18[DllImport(NativeTests, CharSet = CharSet.Unicode, ExactSpelling = true)]
System.Windows.Forms.Primitives (8)
Windows\Win32\PInvoke.ChooseColor.cs (1)
11[DllImport("COMDLG32.dll", ExactSpelling = true, EntryPoint = "ChooseColorW")]
Windows\Win32\PInvoke.ChooseFont.cs (1)
11[DllImport("COMDLG32.dll", ExactSpelling = true, EntryPoint = "ChooseFontW")]
Windows\Win32\PInvoke.DispatchMessageA.cs (1)
11[DllImport(Libraries.User32, ExactSpelling = true)]
Windows\Win32\PInvoke.GetOpenFileName.cs (2)
12[DllImport("COMDLG32.dll", EntryPoint = "GetOpenFileNameW", ExactSpelling = true)] 15[DllImport("COMDLG32.dll", EntryPoint = "GetSaveFileNameW", ExactSpelling = true)]
Windows\Win32\PInvoke.PageSetupDialog.cs (1)
11[DllImport("COMDLG32.dll", ExactSpelling = true, EntryPoint = "PageSetupDlgW")]
Windows\Win32\PInvoke.PrintDlg.cs (1)
11[DllImport("COMDLG32.dll", ExactSpelling = true, EntryPoint = "PrintDlgW")]
Windows\Win32\PInvoke.Shell_NotifyIconW.cs (1)
11[DllImport("shell32.dll", CharSet = CharSet.Unicode, ExactSpelling = true)]
System.Windows.Forms.Primitives.Tests (17)
Interop\Oleaut32\DECIMALTests.cs (1)
38[DllImport(Libraries.Oleaut32, ExactSpelling = true)]
Interop\Oleaut32\VARIANTTests.cs (15)
5821[DllImport(Libraries.Propsys, ExactSpelling = true)] 5824[DllImport(Libraries.Propsys, ExactSpelling = true)] 5827[DllImport(Libraries.Propsys, ExactSpelling = true)] 5830[DllImport(Libraries.Propsys, ExactSpelling = true)] 5833[DllImport(Libraries.Propsys, ExactSpelling = true)] 5836[DllImport(Libraries.Propsys, ExactSpelling = true)] 5839[DllImport(Libraries.Propsys, ExactSpelling = true)] 5842[DllImport(Libraries.Propsys, ExactSpelling = true)] 5845[DllImport(Libraries.Propsys, ExactSpelling = true)] 5848[DllImport(Libraries.Propsys, ExactSpelling = true)] 5851[DllImport(Libraries.Propsys, ExactSpelling = true)] 5854[DllImport(Libraries.Propsys, ExactSpelling = true)] 5857[DllImport(Libraries.Propsys, ExactSpelling = true)] 5860[DllImport(Libraries.Oleaut32, ExactSpelling = true)] 5863[DllImport(Libraries.Oleaut32, ExactSpelling = true)]
System\Windows\Forms\DeviceContextScopeTests.cs (1)
12[DllImport(Libraries.Gdi32, SetLastError = true, ExactSpelling = true)]
System.Windows.Forms.Primitives.TestUtilities (5)
PlatformDetection.Windows.cs (5)
221[DllImport("advapi32.dll", SetLastError = true, ExactSpelling = true)] 240[DllImport("kernel32.dll", SetLastError = false)] 248[DllImport("ntdll.dll", ExactSpelling = true)] 274[DllImport("kernel32.dll", ExactSpelling = true)] 277[DllImport("advapi32.dll", SetLastError = true, ExactSpelling = true)]
System.Windows.Forms.Tests (5)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (1)
2609[DllImport("Oleacc.dll")]
System\Windows\Forms\ClipboardTests.cs (4)
505[DllImport("shell32.dll")] 545[DllImport("user32.dll")] 548[DllImport("user32.dll")] 551[DllImport("user32.dll")]
TlsFeaturesObserve (2)
HttpSys\HttpSysConfigurator.cs (2)
109[DllImport("httpapi.dll", SetLastError = true)] 115[DllImport("httpapi.dll", SetLastError = true)]
UIAutomationClient (138)
MS\Internal\Automation\UiaCoreApi.cs (76)
556[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaHasServerSideProvider", CharSet = CharSet.Unicode)] 1159[DllImport(DllImport.UIAutomationCore, CharSet = CharSet.Unicode)] 1162[DllImport("oleaut32.dll")] 1215[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaGetPropertyValue", CharSet = CharSet.Unicode)] 1218[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaGetPatternProvider", CharSet = CharSet.Unicode)] 1221[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaGetRuntimeId", CharSet = CharSet.Unicode)] 1224[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaSetFocus", CharSet = CharSet.Unicode)] 1227[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaNavigate", CharSet = CharSet.Unicode)] 1230[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaFind", CharSet = CharSet.Unicode)] 1233[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaNodeFromHandle", CharSet = CharSet.Unicode)] 1236[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaNodeFromProvider", CharSet = CharSet.Unicode)] 1239[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaGetRootNode", CharSet = CharSet.Unicode)] 1242[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaNodeFromPoint", CharSet = CharSet.Unicode)] 1245[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaNodeFromFocus", CharSet = CharSet.Unicode)] 1248[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaGetUpdatedCache", CharSet = CharSet.Unicode)] 1251[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaHUiaNodeFromVariant", CharSet = CharSet.Unicode)] 1254[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaHPatternObjectFromVariant", CharSet = CharSet.Unicode)] 1257[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaHTextRangeFromVariant", CharSet = CharSet.Unicode)] 1260[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaNodeRelease", CharSet = CharSet.Unicode)] 1263[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaPatternRelease", CharSet = CharSet.Unicode)] 1266[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaTextRangeRelease", CharSet = CharSet.Unicode)] 1270[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaAddEvent", CharSet = CharSet.Unicode)] 1273[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaRemoveEvent", CharSet = CharSet.Unicode)] 1276[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaEventAddWindow", CharSet = CharSet.Unicode)] 1279[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaEventRemoveWindow", CharSet = CharSet.Unicode)] 1286[DllImport(DllImport.UIAutomationCore, EntryPoint = "DockPattern_SetDockPosition", CharSet = CharSet.Unicode)] 1289[DllImport(DllImport.UIAutomationCore, EntryPoint = "ExpandCollapsePattern_Collapse", CharSet = CharSet.Unicode)] 1292[DllImport(DllImport.UIAutomationCore, EntryPoint = "ExpandCollapsePattern_Expand", CharSet = CharSet.Unicode)] 1295[DllImport(DllImport.UIAutomationCore, EntryPoint = "GridPattern_GetItem", CharSet = CharSet.Unicode)] 1298[DllImport(DllImport.UIAutomationCore, EntryPoint = "InvokePattern_Invoke", CharSet = CharSet.Unicode)] 1301[DllImport(DllImport.UIAutomationCore, EntryPoint = "MultipleViewPattern_GetViewName", CharSet = CharSet.Unicode)] 1304[DllImport(DllImport.UIAutomationCore, EntryPoint = "MultipleViewPattern_SetCurrentView", CharSet = CharSet.Unicode)] 1307[DllImport(DllImport.UIAutomationCore, EntryPoint = "RangeValuePattern_SetValue", CharSet = CharSet.Unicode)] 1310[DllImport(DllImport.UIAutomationCore, EntryPoint = "ScrollItemPattern_ScrollIntoView", CharSet = CharSet.Unicode)] 1313[DllImport(DllImport.UIAutomationCore, EntryPoint = "ScrollPattern_Scroll", CharSet = CharSet.Unicode)] 1316[DllImport(DllImport.UIAutomationCore, EntryPoint = "ScrollPattern_SetScrollPercent", CharSet = CharSet.Unicode)] 1319[DllImport(DllImport.UIAutomationCore, EntryPoint = "SelectionItemPattern_AddToSelection", CharSet = CharSet.Unicode)] 1322[DllImport(DllImport.UIAutomationCore, EntryPoint = "SelectionItemPattern_RemoveFromSelection", CharSet = CharSet.Unicode)] 1325[DllImport(DllImport.UIAutomationCore, EntryPoint = "SelectionItemPattern_Select", CharSet = CharSet.Unicode)] 1328[DllImport(DllImport.UIAutomationCore, EntryPoint = "TogglePattern_Toggle", CharSet = CharSet.Unicode)] 1331[DllImport(DllImport.UIAutomationCore, EntryPoint = "TransformPattern_Move", CharSet = CharSet.Unicode)] 1334[DllImport(DllImport.UIAutomationCore, EntryPoint = "TransformPattern_Resize", CharSet = CharSet.Unicode)] 1337[DllImport(DllImport.UIAutomationCore, EntryPoint = "TransformPattern_Rotate", CharSet = CharSet.Unicode)] 1340[DllImport(DllImport.UIAutomationCore, EntryPoint = "ValuePattern_SetValue", CharSet = CharSet.Unicode)] 1343[DllImport(DllImport.UIAutomationCore, EntryPoint = "WindowPattern_Close", CharSet = CharSet.Unicode)] 1346[DllImport(DllImport.UIAutomationCore, EntryPoint = "WindowPattern_SetWindowVisualState", CharSet = CharSet.Unicode)] 1349[DllImport(DllImport.UIAutomationCore, EntryPoint = "WindowPattern_WaitForInputIdle", CharSet = CharSet.Unicode)] 1352[DllImport(DllImport.UIAutomationCore, EntryPoint = "SynchronizedInputPattern_StartListening", CharSet = CharSet.Unicode)] 1355[DllImport(DllImport.UIAutomationCore, EntryPoint = "SynchronizedInputPattern_Cancel", CharSet = CharSet.Unicode)] 1358[DllImport(DllImport.UIAutomationCore, EntryPoint = "VirtualizedItemPattern_Realize", CharSet = CharSet.Unicode)] 1361[DllImport(DllImport.UIAutomationCore, EntryPoint = "ItemContainerPattern_FindItemByProperty", CharSet = CharSet.Unicode)] 1368[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextPattern_GetSelection", CharSet = CharSet.Unicode)] 1371[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextPattern_GetVisibleRanges", CharSet = CharSet.Unicode)] 1374[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextPattern_RangeFromChild", CharSet = CharSet.Unicode)] 1377[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextPattern_RangeFromPoint", CharSet = CharSet.Unicode)] 1380[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextPattern_get_DocumentRange", CharSet = CharSet.Unicode)] 1383[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextPattern_get_SupportedTextSelection", CharSet = CharSet.Unicode)] 1386[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextRange_Clone", CharSet = CharSet.Unicode)] 1389[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextRange_Compare", CharSet = CharSet.Unicode)] 1392[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextRange_CompareEndpoints", CharSet = CharSet.Unicode)] 1395[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextRange_ExpandToEnclosingUnit", CharSet = CharSet.Unicode)] 1398[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextRange_FindAttribute", CharSet = CharSet.Unicode)] 1401[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextRange_FindText", CharSet = CharSet.Unicode)] 1404[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextRange_GetAttributeValue", CharSet = CharSet.Unicode)] 1407[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextRange_GetBoundingRectangles", CharSet = CharSet.Unicode)] 1410[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextRange_GetEnclosingElement", CharSet = CharSet.Unicode)] 1413[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextRange_GetText", CharSet = CharSet.Unicode)] 1416[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextRange_Move", CharSet = CharSet.Unicode)] 1419[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextRange_MoveEndpointByUnit", CharSet = CharSet.Unicode)] 1422[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextRange_MoveEndpointByRange", CharSet = CharSet.Unicode)] 1425[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextRange_Select", CharSet = CharSet.Unicode)] 1428[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextRange_AddToSelection", CharSet = CharSet.Unicode)] 1431[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextRange_RemoveFromSelection", CharSet = CharSet.Unicode)] 1434[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextRange_ScrollIntoView", CharSet = CharSet.Unicode)] 1437[DllImport(DllImport.UIAutomationCore, EntryPoint = "TextRange_GetChildren", CharSet = CharSet.Unicode)] 1552[DllImport(DllImport.UIAutomationCore, CharSet = CharSet.Unicode)]
MS\Win32\SafeNativeMethods.cs (24)
21[DllImport("user32.dll", ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.Auto)] 40[DllImport("user32.dll")] 69[DllImport("user32.dll", SetLastError = true)] 112[DllImport("user32.dll", CharSet=CharSet.Auto)] 122[DllImport("user32.dll", CharSet=CharSet.Auto)] 125[DllImport("user32.dll")] 136[DllImport("user32.dll", ExactSpelling = true, SetLastError = true)] 139[DllImport("user32.dll", SetLastError = true)] 142[DllImport("user32.dll", CharSet=CharSet.Auto)] 145[DllImport("user32.dll", CharSet=CharSet.Auto)] 148[DllImport("user32.dll")] 151[DllImport("user32.dll")] 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)] 165[DllImport("DwmApi.dll")] 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 (30)
24[DllImport("kernel32.dll", SetLastError = true)] 36[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)] 92[DllImport("user32.dll", 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)] 117[DllImport("user32.dll")] 134[DllImport("oleacc.dll")] 142[DllImport("oleacc.dll")] 145[DllImport("oleacc.dll", SetLastError = true)] 148[DllImport("user32.dll")] 151[DllImport("user32.dll")] 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)] 300[DllImport("user32.dll", 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)] 367[DllImport("user32.dll", CharSet = CharSet.Unicode)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsSetLastError.cs (8)
40[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongWrapper", CharSet=CharSet.Auto, SetLastError=true)] 43[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongPtrWrapper", CharSet=CharSet.Auto, SetLastError=true)] 46[DllImport(PresentationNativeDll, EntryPoint="GlobalDeleteAtomWrapper", ExactSpelling = true, SetLastError = true)] 51[DllImport(PresentationNativeDll, EntryPoint="GetMenuBarInfoWrapper", SetLastError = true)] 54[DllImport(PresentationNativeDll, EntryPoint="GetWindowWrapper", ExactSpelling = true, 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)] 160[DllImport(PresentationNativeDll, EntryPoint="LsDisableSpecialCharacterLigature")]
UIAutomationClientSideProviders (103)
MS\Internal\AutomationProxies\CommonGetThemePartSize.cs (2)
200[DllImport ("UxTheme.dll", CharSet = CharSet.Auto)] 203[DllImport ("UxTheme.dll", CharSet = CharSet.Auto)]
MS\Internal\AutomationProxies\SafeThemeHandle.cs (1)
33[DllImport("UxTheme.dll", CharSet = CharSet.Auto)/**/]
MS\Win32\SafeNativeMethods.cs (9)
14[DllImport(ExternDll.Kernel32, ExactSpelling = true)] 16[DllImport(ExternDll.User32)] 18[DllImport(ExternDll.User32, SetLastError = true)] 20[DllImport(ExternDll.User32, ExactSpelling = true)] 22[DllImport(ExternDll.User32, ExactSpelling = true)] 24[DllImport(ExternDll.User32, CharSet = CharSet.Unicode)] 26[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, SetLastError = true)] 28[DllImport(ExternDll.User32, SetLastError = true)] 30[DllImport(ExternDll.User32)]
MS\Win32\UnsafeNativeMethods.cs (78)
17[DllImport(ExternDll.Gdi32)] 19[DllImport(ExternDll.Gdi32, SetLastError = true)] 21[DllImport(ExternDll.Gdi32)] 23[DllImport(ExternDll.Gdi32)] 26[DllImport(ExternDll.Kernel32, SetLastError = true)] 28[DllImport(ExternDll.Kernel32, SetLastError = true)] 31[DllImport(ExternDll.Kernel32)] 33[DllImport(ExternDll.Kernel32, SetLastError = true)] 35[DllImport(ExternDll.Ntdll, CharSet = CharSet.Unicode)] 40[DllImport(ExternDll.Kernel32, ExactSpelling = true, CharSet = CharSet.Auto)] 42[DllImport(ExternDll.Kernel32, ExactSpelling = true, CharSet = CharSet.Auto)] 45[DllImport(ExternDll.Kernel32, SetLastError = true)] 47[DllImport(ExternDll.Kernel32, SetLastError = true)] 49[DllImport(ExternDll.Kernel32, SetLastError = true)] 51[DllImport(ExternDll.Kernel32, SetLastError = true)] 61[DllImport(ExternDll.Kernel32, SetLastError = true)] 63[DllImport(ExternDll.Kernel32, SetLastError = true)] 65[DllImport(ExternDll.Kernel32, SetLastError = true)] 68[DllImport("oleacc.dll")] 70[DllImport("oleacc.dll")] 72[DllImport("oleacc.dll")] 74[DllImport("oleacc.dll")] 82[DllImport("oleacc.dll", SetLastError=true)] 89[DllImport("ole32.dll")] 111[DllImport("user32.dll")] 114[DllImport("user32.dll")] 120[DllImport(ExternDll.Kernel32, CharSet = CharSet.Unicode, SetLastError = true)] 126[DllImport(ExternDll.User32, ExactSpelling = true, SetLastError = true)] 132[DllImport(ExternDll.User32)] 134[DllImport(ExternDll.User32)] 136[DllImport(ExternDll.User32)] 138[DllImport(ExternDll.User32, CharSet = CharSet.Unicode)] 140[DllImport (ExternDll.User32, CharSet = CharSet.Unicode)] 142[DllImport(ExternDll.User32, SetLastError = true)] 144[DllImport(ExternDll.User32)] 146[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, SetLastError = true)] 148[DllImport(ExternDll.User32, SetLastError = true)] 156[DllImport(ExternDll.User32, CharSet = CharSet.Unicode)] 158[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, SetLastError = true)] 160[DllImport(ExternDll.User32, CharSet = CharSet.Unicode)] 162[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, SetLastError = true)] 164[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, SetLastError = true)] 166[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, SetLastError = true)] 168[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, SetLastError = true)] 170[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, SetLastError = true)] 172[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, SetLastError = true)] 174[DllImport(ExternDll.User32, CharSet = CharSet.Unicode)] 182[DllImport(ExternDll.User32, CharSet = CharSet.Unicode)] 188[DllImport(ExternDll.User32, ExactSpelling = true)] 190[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, SetLastError = true)] 192[DllImport(ExternDll.User32, SetLastError = true)] 194[DllImport(ExternDll.User32, CharSet = CharSet.Unicode)] 196[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, SetLastError = true)] 225[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)] 231[DllImport(ExternDll.User32, CharSet = CharSet.Auto, ExactSpelling = true, SetLastError = true)] 233[DllImport(ExternDll.User32, CharSet = CharSet.Auto, ExactSpelling = true, SetLastError = true)] 239[DllImport(ExternDll.DwmAPI, BestFitMapping = false)] 245[DllImport(ExternDll.User32, SetLastError = true)] 247[DllImport(ExternDll.User32, SetLastError = true)] 253[DllImport(ExternDll.User32, ExactSpelling = true, SetLastError = true)] 255[DllImport(ExternDll.User32, ExactSpelling = true)] 257[DllImport(ExternDll.User32, ExactSpelling = true)] 259[DllImport(ExternDll.User32, ExactSpelling = true, SetLastError = true)] 261[DllImport(ExternDll.User32, SetLastError = true)] 263[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)] 265[DllImport(ExternDll.User32, ExactSpelling = true, SetLastError = true)] 267[DllImport(ExternDll.User32, ExactSpelling = true)] 269[DllImport(ExternDll.User32, ExactSpelling = true)] 271[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, SetLastError = true)] 273[DllImport(ExternDll.User32, ExactSpelling = true)] 276[DllImport(ExternDll.User32, 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)] 362[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, SetLastError = true)] 407[DllImport(ExternDll.User32, CharSet = CharSet.Unicode)] 426[DllImport(ExternDll.User32, ExactSpelling = true, SetLastError = true)] 428[DllImport(ExternDll.User32, ExactSpelling = true)] 435[DllImport(ExternDll.User32, ExactSpelling = true)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsSetLastError.cs (13)
40[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongWrapper", CharSet=CharSet.Auto, SetLastError=true)] 43[DllImport(PresentationNativeDll, EntryPoint="GetWindowLongPtrWrapper", CharSet=CharSet.Auto, SetLastError=true)] 46[DllImport(PresentationNativeDll, EntryPoint="GlobalDeleteAtomWrapper", ExactSpelling = true, SetLastError = true)] 65[DllImport(PresentationNativeDll, EntryPoint="GetAncestorWrapper", CharSet = CharSet.Auto)] 68[DllImport(PresentationNativeDll, EntryPoint="FindWindowExWrapper", CharSet = CharSet.Unicode, SetLastError = true)] 71[DllImport(PresentationNativeDll, EntryPoint="GetMenuBarInfoWrapper", SetLastError = true)] 74[DllImport(PresentationNativeDll, EntryPoint="GetTextExtentPoint32Wrapper", SetLastError = true)] 77[DllImport(PresentationNativeDll, EntryPoint="GetWindowWrapper", ExactSpelling = true, SetLastError = true)] 80[DllImport(PresentationNativeDll, EntryPoint = "GetWindowTextWrapper", CharSet=CharSet.Auto, BestFitMapping = false, SetLastError = true)] 83[DllImport(PresentationNativeDll, EntryPoint="MapWindowPointsWrapper", ExactSpelling = true, SetLastError = true)] 86[DllImport(PresentationNativeDll, EntryPoint="MapWindowPointsWrapper", ExactSpelling = true, SetLastError = true)] 89[DllImport(PresentationNativeDll, EntryPoint="SetScrollPosWrapper", SetLastError = true)] 160[DllImport(PresentationNativeDll, EntryPoint="LsDisableSpecialCharacterLigature")]
UIAutomationProvider (9)
MS\Internal\Automation\UiaCoreProviderApi.cs (9)
116[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaReturnRawElementProvider", CharSet = CharSet.Unicode)] 119[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaHostProviderFromHwnd", CharSet = CharSet.Unicode)] 124[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaRaiseAutomationPropertyChangedEvent", CharSet = CharSet.Unicode)] 127[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaRaiseAutomationEvent", CharSet = CharSet.Unicode)] 130[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaRaiseStructureChangedEvent", CharSet = CharSet.Unicode)] 133[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaRaiseAsyncContentLoadedEvent", CharSet = CharSet.Unicode)] 136[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaRaiseNotificationEvent", CharSet = CharSet.Unicode)] 140[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaRaiseActiveTextPositionChangedEvent", CharSet = CharSet.Unicode)] 143[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaClientsAreListening", CharSet = CharSet.Unicode)]
UIAutomationTypes (127)
MS\Internal\Automation\UiaCoreTypesApi.cs (3)
105[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaLookupId", CharSet = CharSet.Unicode)] 108[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaGetReservedNotSupportedValue", CharSet = CharSet.Unicode)] 111[DllImport(DllImport.UIAutomationCore, EntryPoint = "UiaGetReservedMixedAttributeValue", CharSet = CharSet.Unicode)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsCLR.cs (2)
2014[DllImport(ExternDll.Oleaut32,CharSet=CharSet.Auto)] 2017[DllImport(ExternDll.Oleaut32,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)] 564[DllImport("kernel32.dll")]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsSetLastError.cs (22)
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)] 104[DllImport(PresentationNativeDll, EntryPoint="GetParentWrapper", SetLastError = true)] 107[DllImport(PresentationNativeDll, EntryPoint="GetWindowWrapper", ExactSpelling = true, SetLastError = true)] 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)] 137[DllImport(PresentationNativeDll, EntryPoint="SetFocusWrapper", SetLastError = true)] 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)] 160[DllImport(PresentationNativeDll, EntryPoint="LsDisableSpecialCharacterLigature")]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (78)
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)] 158[DllImport(ExternDll.Shell32, CharSet = CharSet.Unicode, SetLastError = true)] 164[DllImport(ExternDll.Kernel32, ExactSpelling = true, CharSet = CharSet.Unicode, SetLastError = true)] 218[DllImport("oleacc.dll")] 221[DllImport("user32.dll")] 224[DllImport(ExternDll.Ole32, EntryPoint = "OleInitialize")] 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)] 517[DllImport(ExternDll.Kernel32, SetLastError = true, EntryPoint = "GetProcAddress", CharSet = CharSet.Ansi, BestFitMapping = false)] 538[DllImport(ExternDll.Kernel32, EntryPoint = "GetProcAddress", CharSet = CharSet.Ansi, BestFitMapping = false)] 541[DllImport(ExternDll.Kernel32, CharSet = CharSet.Unicode)] 707[DllImport(ExternDll.Kernel32, CallingConvention = CallingConvention.Winapi, CharSet = CharSet.Unicode, SetLastError = true)] 734[DllImport(ExternDll.Kernel32, CallingConvention = CallingConvention.Winapi, CharSet = CharSet.Unicode, SetLastError = true)] 741[DllImport(ExternDll.Kernel32, CallingConvention = CallingConvention.Winapi, CharSet = CharSet.Unicode, SetLastError = true)] 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)] 870[DllImport(ExternDll.User32, 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)] 1070[DllImport(ExternDll.User32)] 1073[DllImport(ExternDll.User32)] 2624[DllImport(ExternDll.Oleaut32, PreserveSig = true)] 2653[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto)] 2659[DllImport(ExternDll.User32, SetLastError = true, CharSet = CharSet.Auto)] 2747[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)]
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Interop\OSVersionHelper.cs (20)
126[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 130[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 134[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 138[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 142[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 146[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 150[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 154[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 158[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 162[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 166[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 170[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 174[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 178[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 182[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 186[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 190[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 194[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 198[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 202[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)]
vbc (3)
src\Compilers\Shared\NativeMethods.cs (3)
69[DllImport("kernel32.dll", SetLastError = true)] 76[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)] 93[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
VBCSCompiler (4)
src\Compilers\Server\VBCSCompiler\MemoryHelper.cs (1)
61[DllImport("kernel32.dll", SetLastError = true)]
src\Compilers\Shared\NativeMethods.cs (3)
69[DllImport("kernel32.dll", SetLastError = true)] 76[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)] 93[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
WindowsFormsIntegration (13)
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 (2)
35[DllImport(PresentationNativeDll, EntryPoint="EnableWindowWrapper", SetLastError = true, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)] 160[DllImport(PresentationNativeDll, EntryPoint="LsDisableSpecialCharacterLigature")]
WinFormsControlsTest (2)
ScalingBeforeChanges.cs (2)
21[DllImport("user32", ExactSpelling = true)] 24[DllImport("user32", EntryPoint = "#2704")]
xunit.console (2)
common\AssemblyResolution\Microsoft.DotNet.PlatformAbstractions\Native\NativeMethods.Darwin.cs (1)
45[DllImport("libc")]
common\AssemblyResolution\Microsoft.DotNet.PlatformAbstractions\Native\NativeMethods.Windows.cs (1)
25[DllImport("ntdll")]