74 references to Winapi
mscorlib (21)
microsoft\win32\win32native.cs (18)
845
[DllImport(KERNEL32, SetLastError = true, CallingConvention = CallingConvention.
Winapi
)]
2101
CallingConvention=CallingConvention.
Winapi
,
2116
CallingConvention=CallingConvention.
Winapi
,
2130
CallingConvention=CallingConvention.
Winapi
,
2143
CallingConvention = CallingConvention.
Winapi
,
2158
CallingConvention=CallingConvention.
Winapi
,
2221
CallingConvention=CallingConvention.
Winapi
,
2242
CallingConvention=CallingConvention.
Winapi
,
2253
CallingConvention=CallingConvention.
Winapi
,
2271
CallingConvention=CallingConvention.
Winapi
,
2309
CallingConvention=CallingConvention.
Winapi
,
2479
CallingConvention=CallingConvention.
Winapi
,
2491
CallingConvention=CallingConvention.
Winapi
,
2521
CallingConvention=CallingConvention.
Winapi
,
2542
CallingConvention=CallingConvention.
Winapi
,
2558
CallingConvention=CallingConvention.
Winapi
,
2660
CallingConvention=CallingConvention.
Winapi
,
2677
CallingConvention=CallingConvention.
Winapi
,
system\reflection\emit\signaturehelper.cs (1)
114
else if (unmanagedCallConv == CallingConvention.StdCall || unmanagedCallConv == CallingConvention.
Winapi
)
system\reflection\emit\typebuilder.cs (1)
814
case CallingConvention.
Winapi
:
system\runtime\interopservices\attributes.cs (1)
806
case 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)]