329 references to CallingConvention
mscorlib (57)
microsoft\win32\unsafenativemethods.cs (1)
64[DllImport(Win32Native.USER32, EntryPoint="LoadStringW", SetLastError=true, CharSet=CharSet.Unicode, ExactSpelling=true, CallingConvention=CallingConvention.StdCall)]
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\dynamicilgenerator.cs (1)
276CallingConvention unmanagedCallConv,
system\reflection\emit\ilgenerator.cs (1)
561public virtual void EmitCalli(OpCode opcode, CallingConvention unmanagedCallConv, Type returnType, Type[] parameterTypes)
system\reflection\emit\modulebuilder.cs (3)
1524CallingConvention nativeCallConv, CharSet nativeCharSet) 1535CallingConventions callingConvention, Type returnType, Type[] parameterTypes, CallingConvention nativeCallConv, 1551CallingConventions callingConvention, Type returnType, Type[] parameterTypes, CallingConvention nativeCallConv,
system\reflection\emit\signaturehelper.cs (7)
102public static SignatureHelper GetMethodSigHelper(Module mod, CallingConvention unmanagedCallConv, Type returnType) 110if (unmanagedCallConv == CallingConvention.Cdecl) 114else if (unmanagedCallConv == CallingConvention.StdCall || unmanagedCallConv == CallingConvention.Winapi) 118else if (unmanagedCallConv == CallingConvention.ThisCall) 122else if (unmanagedCallConv == CallingConvention.FastCall) 146public static SignatureHelper GetMethodSigHelper(CallingConvention unmanagedCallingConvention, Type returnType)
system\reflection\emit\typebuilder.cs (10)
740CallingConvention nativeCallConv, CharSet nativeCharSet) 763CallingConvention nativeCallConv, CharSet nativeCharSet) 814case CallingConvention.Winapi: 817case CallingConvention.Cdecl: 820case CallingConvention.StdCall: 823case CallingConvention.ThisCall: 826case CallingConvention.FastCall: 1909CallingConvention nativeCallConv, CharSet nativeCharSet) 1924CallingConvention nativeCallConv, CharSet nativeCharSet) 1941CallingConvention nativeCallConv, CharSet nativeCharSet)
system\runtime\interopservices\attributes.cs (12)
18CallingConvention m_callingConvention; 20public UnmanagedFunctionPointerAttribute(CallingConvention callingConvention) { m_callingConvention = callingConvention; } 22public CallingConvention CallingConvention { get { return m_callingConvention; } } 802CallingConvention callingConvention = CallingConvention.Cdecl; 806case PInvokeAttributes.CallConvWinapi: callingConvention = CallingConvention.Winapi; break; 807case PInvokeAttributes.CallConvCdecl: callingConvention = CallingConvention.Cdecl; break; 808case PInvokeAttributes.CallConvStdcall: callingConvention = CallingConvention.StdCall; break; 809case PInvokeAttributes.CallConvThiscall: callingConvention = CallingConvention.ThisCall; break; 810case PInvokeAttributes.CallConvFastcall: callingConvention = CallingConvention.FastCall; break; 835CallingConvention callingConvention, bool bestFitMapping, bool throwOnUnmappableChar) 861public CallingConvention CallingConvention;
system\runtime\interopservices\windowsruntime\nativemethods.cs (4)
47[DllImport("api-ms-win-core-winrt-string-l1-1-0.dll", CallingConvention = CallingConvention.StdCall)] 55[DllImport("api-ms-win-core-winrt-string-l1-1-0.dll", CallingConvention = CallingConvention.StdCall)] 64[DllImport("api-ms-win-core-winrt-string-l1-1-0.dll", CallingConvention = CallingConvention.StdCall)] 70[DllImport("api-ms-win-core-winrt-string-l1-1-0.dll", CallingConvention = CallingConvention.StdCall)]
PresentationBuildTasks (1)
BuildTasks\Microsoft\Build\Tasks\Windows\GetWinFXPath.cs (1)
187[UnmanagedFunctionPointer(CallingConvention.Winapi)]
PresentationCore (34)
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)]
Shared\System\Windows\Interop\OSVersionHelper.cs (19)
144[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 149[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 154[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 159[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 164[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 169[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 174[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 179[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 184[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 189[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 194[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 199[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 204[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 209[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 214[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 219[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 224[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 229[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 234[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)]
System (39)
compmod\System\Runtime\InteropServices\StandardOleMarshalObject.cs (2)
28[UnmanagedFunctionPointer(CallingConvention.StdCall)] 32[UnmanagedFunctionPointer(CallingConvention.StdCall)]
net\System\Net\UnsafeNativeMethods.cs (30)
109[DllImport(KERNEL32, ExactSpelling=true, CallingConvention=CallingConvention.StdCall, SetLastError=true)] 113[DllImport(KERNEL32, ExactSpelling = true, CallingConvention = CallingConvention.StdCall, SetLastError = true)] 116[DllImport(KERNEL32, ExactSpelling = true, CallingConvention = CallingConvention.StdCall, SetLastError = true)] 120[DllImport(KERNEL32, ExactSpelling = true, CallingConvention = CallingConvention.StdCall, SetLastError = true)] 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)] 653[DllImport(HTTPAPI, ExactSpelling = true, CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Unicode, SetLastError = true)] 657[DllImport(HTTPAPI, ExactSpelling = true, CallingConvention = CallingConvention.StdCall, SetLastError = true)] 2137[DllImport(HTTPAPI, ExactSpelling=true, CallingConvention=CallingConvention.StdCall, SetLastError=true)] 2140[DllImport(HTTPAPI, ExactSpelling=true, CallingConvention=CallingConvention.StdCall, SetLastError=true)] 2142[DllImport(HTTPAPI, EntryPoint = "HttpReceiveRequestEntityBody", ExactSpelling = true, CallingConvention = CallingConvention.StdCall, SetLastError = true)] 2146[DllImport(HTTPAPI, ExactSpelling=true, CallingConvention=CallingConvention.StdCall, SetLastError=true)] 2150[DllImport(HTTPAPI, ExactSpelling=true, CallingConvention=CallingConvention.StdCall, SetLastError=true)] 2154[DllImport(HTTPAPI, ExactSpelling=true, CallingConvention=CallingConvention.StdCall, SetLastError=true)] 2158[DllImport(HTTPAPI, ExactSpelling=true, CallingConvention=CallingConvention.StdCall, SetLastError=true)] 2162[DllImport(HTTPAPI, ExactSpelling=true, CallingConvention=CallingConvention.StdCall, SetLastError=true)] 2166[DllImport(HTTPAPI, ExactSpelling = true, CallingConvention = CallingConvention.StdCall, SetLastError = true)] 2170[DllImport(HTTPAPI, EntryPoint = "HttpSendResponseEntityBody", ExactSpelling = true, CallingConvention = CallingConvention.StdCall, SetLastError = true)] 2174[DllImport(HTTPAPI, ExactSpelling=true, CallingConvention=CallingConvention.StdCall, SetLastError=true)] 2178[DllImport(HTTPAPI, ExactSpelling = true, CallingConvention = CallingConvention.StdCall, SetLastError = true)] 2182[DllImport(HTTPAPI, ExactSpelling = true, CallingConvention = CallingConvention.StdCall, SetLastError = true)] 2186[DllImport(HTTPAPI, ExactSpelling = true, CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Unicode, SetLastError = true)] 2190[DllImport(HTTPAPI, ExactSpelling = true, CallingConvention = CallingConvention.StdCall, SetLastError = true)] 2194[DllImport(HTTPAPI, ExactSpelling = true, CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Unicode, SetLastError = true)] 2197[DllImport(HTTPAPI, ExactSpelling = true, CallingConvention = CallingConvention.StdCall, SetLastError = true)] 2201[DllImport(HTTPAPI, ExactSpelling = true, CallingConvention = CallingConvention.StdCall, SetLastError = true)] 2205[DllImport(TOKENBINDING, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall, EntryPoint="TokenBindingVerifyMessage")] 2215[DllImport(TOKENBINDING, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall, EntryPoint="TokenBindingVerifyMessage")]
parent\parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (7)
258[UnmanagedFunctionPointer(CallingConvention.StdCall)] 265[UnmanagedFunctionPointer(CallingConvention.StdCall)] 270[UnmanagedFunctionPointer(CallingConvention.StdCall)] 276[UnmanagedFunctionPointer(CallingConvention.StdCall)] 283[UnmanagedFunctionPointer(CallingConvention.StdCall)] 288[UnmanagedFunctionPointer(CallingConvention.StdCall)] 293[UnmanagedFunctionPointer(CallingConvention.StdCall)]
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (3)
395[DllImport("User32.dll", CallingConvention = CallingConvention.StdCall, ExactSpelling = true)] 398[DllImport("User32.dll", CallingConvention = CallingConvention.StdCall, ExactSpelling = true)] 401[DllImport("Gdi32.dll", CallingConvention = CallingConvention.StdCall, ExactSpelling = 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.Data (59)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (3)
395[DllImport("User32.dll", CallingConvention = CallingConvention.StdCall, ExactSpelling = true)] 398[DllImport("User32.dll", CallingConvention = CallingConvention.StdCall, ExactSpelling = true)] 401[DllImport("Gdi32.dll", CallingConvention = CallingConvention.StdCall, ExactSpelling = true)]
fx\src\bid\inc\cs\bidPrivateBase.cs (7)
988[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.StdCall, 996[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, 1001[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, 1013[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, 1018[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, 1024[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, 1046[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl,
fx\src\data\System\Data\Common\System.Data_BID.cs (47)
628[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 632[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 636[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 640[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 644[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidScopeEnterCW")] extern 648[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidScopeEnterCW")] extern 652[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidScopeEnterCW")] extern 656[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidScopeEnterCW")] extern 660[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidScopeEnterCW")] extern 668[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 673[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 677[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 682[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 687[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 692[DllImport(dllName, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl, EntryPoint = "DllBidTraceCW")] extern 696[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 700[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 704[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 708[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 712[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 716[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 720[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 724[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 728[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 732[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 736[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 740[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 744[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 748[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 752[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 756[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 760[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 764[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 768[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 772[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 776[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 780[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 784[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidTraceCW")] extern 791[DllImport(dllName, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl, EntryPoint = "DllBidScopeEnterCW")] extern 795[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidScopeEnterCW")] extern 799[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidScopeEnterCW")] extern 803[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidScopeEnterCW")] extern 807[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidScopeEnterCW")] extern 811[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidScopeEnterCW")] extern 815[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidScopeEnterCW")] extern 819[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidScopeEnterCW")] extern 823[DllImport(dllName, CharSet=CharSet.Unicode, CallingConvention=CallingConvention.Cdecl, EntryPoint="DllBidScopeEnterCW")] extern
fx\src\data\System\Data\SqlClient\LocalDBAPI.cs (2)
101[UnmanagedFunctionPointer(CallingConvention.Cdecl)] 142[UnmanagedFunctionPointer(CallingConvention.Cdecl,CharSet=CharSet.Unicode)]
System.IdentityModel.Selectors (6)
infocard\client\System\IdentityModel\Selectors\CryptoHandle.cs (1)
193CallingConvention = CallingConvention.StdCall,
infocard\client\System\IdentityModel\Selectors\NativeMethods.cs (1)
46CallingConvention = CallingConvention.StdCall)]
infocard\client\System\IdentityModel\Selectors\SafeLibraryHandle.cs (2)
51CallingConvention = CallingConvention.StdCall)] 61CallingConvention = CallingConvention.StdCall)]
infocard\client\System\IdentityModel\Selectors\SafeTokenHandle.cs (1)
26CallingConvention = CallingConvention.StdCall,
infocard\common\managed\GlobalAllocSafeHandle.cs (1)
32[DllImport("kernel32.dll", CallingConvention = CallingConvention.StdCall)]
System.Net (1)
net\UnsafeMethods.cs (1)
52[DllImport(KERNEL32, CallingConvention = CallingConvention.Winapi, SetLastError = true)]
System.ServiceModel (15)
System\ServiceModel\Channels\PeerUnsafeNativeCryptMethods.cs (13)
44[DllImport("Crypt32.dll", CallingConvention = CallingConvention.StdCall)] 49[DllImport("Crypt32.dll", CallingConvention = CallingConvention.StdCall, SetLastError = true)] 85[DllImport("Crypt32.dll", CallingConvention = CallingConvention.StdCall)] 110[DllImport("Advapi32.dll", CallingConvention = CallingConvention.StdCall)] 134[DllImport("Advapi32.dll", CallingConvention = CallingConvention.StdCall)] 232[DllImport("Crypt32.dll", CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Auto, SetLastError = true)] 323[DllImport("Crypt32.dll", CallingConvention = CallingConvention.StdCall, SetLastError = true)] 335[DllImport("Crypt32.dll", CallingConvention = CallingConvention.StdCall, SetLastError = true)] 344[DllImport("Crypt32.dll", CallingConvention = CallingConvention.StdCall, SetLastError = true)] 352[DllImport("Advapi32.dll", CallingConvention = CallingConvention.StdCall, SetLastError = true)] 361[DllImport("Advapi32.dll", CallingConvention = CallingConvention.StdCall, SetLastError = true)] 369[DllImport("Crypt32.dll", CallingConvention = CallingConvention.StdCall, SetLastError = true, CharSet = CharSet.Unicode)] 379[DllImport("Crypt32.dll", CallingConvention = CallingConvention.StdCall, SetLastError = true)]
System\ServiceModel\Channels\UnsafeNativeMethods.cs (2)
1081[DllImport(KERNEL32, CallingConvention = CallingConvention.StdCall, SetLastError = true)] 1086[DllImport(KERNEL32, CallingConvention = CallingConvention.StdCall, SetLastError = true)]
System.Transactions (1)
System\Transactions\Oletx\DtcInterfaces.cs (1)
13[DllImport("System.Transactions.Dll", CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Unicode)]
System.Web (3)
Security\ADMembershipProvider.cs (1)
4491[DllImport("Netapi32.dll", CallingConvention=CallingConvention.StdCall, EntryPoint="DsGetDcNameW", CharSet=CharSet.Unicode)]
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 (7)
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)]
winforms\Managed\System\WinForms\Control.cs (2)
17910[UnmanagedFunctionPointerAttribute(CallingConvention.StdCall)] 17952[UnmanagedFunctionPointerAttribute(CallingConvention.StdCall)]
WindowsBase (93)
Base\MS\Internal\Security\RightsManagement\PrivateUnsafeNativeMethods.cs (49)
59[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 71[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 81[DllImport(ExternDll.PresentationHostDll,SetLastError=false,CharSet=CharSet.Unicode,CallingConvention=CallingConvention.StdCall)] 92[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 103[DllImport(ExternDll.PresentationHostDll, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 112[DllImport(ExternDll.PresentationHostDll, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 125[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 131[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 141[DllImport(ExternDll.PresentationHostDll, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 153[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 163[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 173[DllImport(ExternDll.PresentationHostDll, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 186[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 193[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 198[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 205[DllImport(ExternDll.PresentationHostDll, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 215[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 222[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 232[DllImport(ExternDll.PresentationHostDll, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 244[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 255[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 262[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 268[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 275[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 285[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 293[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 303[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 313[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 317[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 324[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 334[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 348[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 356[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 361[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 369[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 380[DllImport(ExternDll.PresentationHostDll, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 397[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 404[DllImport(ExternDll.PresentationHostDll, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 417[DllImport(ExternDll.PresentationHostDll, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 429[DllImport(ExternDll.PresentationHostDll, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 441[DllImport(ExternDll.PresentationHostDll, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 454[DllImport(ExternDll.PresentationHostDll, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 467[DllImport(ExternDll.PresentationHostDll, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 478[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 487[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 495[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 500[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 506[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 521[DllImport(ExternDll.MsDrm, SetLastError = false, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)]
parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (7)
258[UnmanagedFunctionPointer(CallingConvention.StdCall)] 265[UnmanagedFunctionPointer(CallingConvention.StdCall)] 270[UnmanagedFunctionPointer(CallingConvention.StdCall)] 276[UnmanagedFunctionPointer(CallingConvention.StdCall)] 283[UnmanagedFunctionPointer(CallingConvention.StdCall)] 288[UnmanagedFunctionPointer(CallingConvention.StdCall)] 293[UnmanagedFunctionPointer(CallingConvention.StdCall)]
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)]
Shared\System\Windows\InterOp\OSVersionHelper.cs (19)
144[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 149[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 154[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 159[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 164[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 169[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 174[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 179[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 184[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 189[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 194[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 199[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 204[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 209[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 214[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 219[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 224[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 229[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)] 234[DllImport(DllImport.PresentationNative, CallingConvention = CallingConvention.Cdecl)]
WsatConfig (3)
Configuration\SafeNativeMethods.cs (3)
150[DllImport(Crypt32, SetLastError = true, CallingConvention = CallingConvention.StdCall)] 167[DllImport(Crypt32, SetLastError = false, CallingConvention = CallingConvention.StdCall)] 189[DllImport(AdvApi32, SetLastError = false, CallingConvention = CallingConvention.StdCall)]