74 references to Winapi
mscorlib (21)
microsoft\win32\win32native.cs (18)
845[DllImport(KERNEL32, SetLastError = true, CallingConvention = CallingConvention.Winapi)] 2101CallingConvention=CallingConvention.Winapi, 2116CallingConvention=CallingConvention.Winapi, 2130CallingConvention=CallingConvention.Winapi, 2143CallingConvention = CallingConvention.Winapi, 2158CallingConvention=CallingConvention.Winapi, 2221CallingConvention=CallingConvention.Winapi, 2242CallingConvention=CallingConvention.Winapi, 2253CallingConvention=CallingConvention.Winapi, 2271CallingConvention=CallingConvention.Winapi, 2309CallingConvention=CallingConvention.Winapi, 2479CallingConvention=CallingConvention.Winapi, 2491CallingConvention=CallingConvention.Winapi, 2521CallingConvention=CallingConvention.Winapi, 2542CallingConvention=CallingConvention.Winapi, 2558CallingConvention=CallingConvention.Winapi, 2660CallingConvention=CallingConvention.Winapi, 2677CallingConvention=CallingConvention.Winapi,
system\reflection\emit\signaturehelper.cs (1)
114else if (unmanagedCallConv == CallingConvention.StdCall || unmanagedCallConv == CallingConvention.Winapi)
system\reflection\emit\typebuilder.cs (1)
814case CallingConvention.Winapi:
system\runtime\interopservices\attributes.cs (1)
806case PInvokeAttributes.CallConvWinapi: callingConvention = CallingConvention.Winapi; break;
PresentationBuildTasks (1)
BuildTasks\Microsoft\Build\Tasks\Windows\GetWinFXPath.cs (1)
187[UnmanagedFunctionPointer(CallingConvention.Winapi)]
PresentationCore (15)
Core\CSharp\MS\Win32\UnsafeNativeMethodsTablet.cs (14)
28[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 35[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 42[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 49[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 56[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 63[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 70[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 77[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 84[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 91[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 98[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi, CharSet = CharSet.Unicode)] 105[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 112[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)] 119[DllImport(ExternDll.Mshwgst, CallingConvention = CallingConvention.Winapi)]
Core\CSharp\System\Windows\Media\MediaContextNotificationWindow.cs (1)
279[UnmanagedFunctionPointer(CallingConvention.Winapi)]
System (4)
net\System\Net\UnsafeNativeMethods.cs (4)
123[DllImport(KERNEL32, CallingConvention = CallingConvention.Winapi, SetLastError = true)] 126[DllImport(KERNEL32, CallingConvention = CallingConvention.Winapi, SetLastError = true)] 130[DllImport(KERNEL32, CallingConvention = CallingConvention.Winapi, SetLastError = true)] 134[DllImport(KERNEL32, CallingConvention = CallingConvention.Winapi, SetLastError = true)]
System.Core (7)
Microsoft\Win32\UnsafeNativeMethods.cs (7)
977[DllImport(WEVTAPI, CallingConvention = CallingConvention.Winapi, SetLastError = true)] 997[DllImport(WEVTAPI, CallingConvention = CallingConvention.Winapi, SetLastError = true)] 1009[DllImport(WEVTAPI, CallingConvention = CallingConvention.Winapi, SetLastError = true)] 1020[DllImport(WEVTAPI, CallingConvention = CallingConvention.Winapi, SetLastError = true)] 1279[DllImport(WEVTAPI, CallingConvention = CallingConvention.Winapi, SetLastError = true)] 1293[DllImport(WEVTAPI, EntryPoint = "EvtRender", CallingConvention = CallingConvention.Winapi, SetLastError = true)] 1332[DllImport(WEVTAPI, EntryPoint = "EvtFormatMessage", CallingConvention = CallingConvention.Winapi, CharSet = CharSet.Auto, SetLastError = true)]
System.Net (1)
net\UnsafeMethods.cs (1)
52[DllImport(KERNEL32, CallingConvention = CallingConvention.Winapi, SetLastError = true)]
System.Web (2)
UnsafeNativeMethods.cs (2)
361[DllImport(ModName.KERNEL32_FULL_NAME, CallingConvention = CallingConvention.Winapi, SetLastError = true)] 365[DllImport(ModName.KERNEL32_FULL_NAME, CallingConvention = CallingConvention.Winapi, SetLastError = true)]
System.Windows.Forms (5)
parent\parent\parent\public\Internal\NDP\Inc\mansign.cs (5)
214[DllImport(CRYPT32, CallingConvention = CallingConvention.Winapi, SetLastError = true)] 230[DllImport(CRYPT32, CallingConvention = CallingConvention.Winapi, SetLastError = true)] 244[DllImport(CRYPT32, CallingConvention = CallingConvention.Winapi, SetLastError = true)] 248[DllImport(CRYPT32, CallingConvention = CallingConvention.Winapi, SetLastError = true)] 252[DllImport(CRYPT32, CallingConvention = CallingConvention.Winapi)]
WindowsBase (18)
Shared\MS\Win32\SafeNativeMethodsCLR.cs (10)
1020[DllImport(ExternDll.Shcore, CallingConvention = CallingConvention.Winapi)] 1048[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi, SetLastError = true)] 1075[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)] 1100[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)] 1123[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)] 1147[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi, SetLastError = true)] 1170[DllImport(ExternDll.User32, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Winapi)] 1192[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)] 1210[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)] 1225[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)]
Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (8)
1392[DllImport(ExternDll.Kernel32, CallingConvention = CallingConvention.Winapi, CharSet = CharSet.Unicode, SetLastError = true)] 1421[DllImport(ExternDll.Kernel32, CallingConvention = CallingConvention.Winapi, CharSet = CharSet.Unicode, SetLastError = true)] 1430[DllImport(ExternDll.Kernel32, CallingConvention = CallingConvention.Winapi, CharSet = CharSet.Unicode, SetLastError = true)] 4237[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)] 4260[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)] 4276[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)] 4342[DllImport(ExternDll.User32, CallingConvention = CallingConvention.Winapi)] 4357[DllImport(ExternDll.Wldp, CallingConvention = CallingConvention.Winapi, ExactSpelling = true)]