324 references to ExternDll
WindowsBase (324)
Base\MS\Internal\Interop\NativeStructs.cs (1)
42
[DllImport(MS.Win32.
ExternDll
.Ole32)]
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)]
Shared\MS\Win32\HwndSubclass.cs (1)
62
IntPtr hModuleUser32 = UnsafeNativeMethods.GetModuleHandle(
ExternDll
.User32);
Shared\MS\Win32\ManagedWndProcTracker.cs (1)
231
IntPtr hModule = UnsafeNativeMethods.GetModuleHandle(
ExternDll
.User32);
Shared\MS\Win32\NativeMethodsCLR.cs (2)
4682
[DllImport(
ExternDll
.Oleaut32,CharSet=CharSet.Auto)]
4685
[DllImport(
ExternDll
.Oleaut32,CharSet=CharSet.Auto)]
Shared\MS\Win32\NativeMethodsOther.cs (1)
242
[DllImport(
ExternDll
.Gdi32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)]
Shared\MS\Win32\SafeNativeMethodsCLR.cs (45)
865
[DllImport(
ExternDll
.Kernel32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
868
[DllImport(
ExternDll
.Kernel32, ExactSpelling = true, CharSet = CharSet.Auto)]
872
[DllImport(
ExternDll
.Kernel32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
875
[DllImport(
ExternDll
.User32, ExactSpelling = true, CharSet = CharSet.Auto)]
878
[DllImport(
ExternDll
.User32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
881
[DllImport(
ExternDll
.User32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
884
[DllImport(
ExternDll
.User32, EntryPoint = "ReleaseCapture", ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true)]
887
[DllImport(
ExternDll
.User32, EntryPoint = "GetWindowRect", ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)]
890
[DllImport(
ExternDll
.User32, EntryPoint = "GetClientRect", ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)]
893
[DllImport(
ExternDll
.User32, EntryPoint = "AdjustWindowRectEx", ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true)]
896
[DllImport(
ExternDll
.User32, ExactSpelling=true)]
899
[DllImport(
ExternDll
.User32, ExactSpelling = true)]
902
[DllImport(
ExternDll
.User32, ExactSpelling=true, CharSet=CharSet.Auto)]
905
[DllImport(
ExternDll
.User32, ExactSpelling=true, CharSet=CharSet.Auto)]
908
[DllImport(
ExternDll
.User32, SetLastError = true, ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.Auto)]
911
[DllImport(
ExternDll
.User32, EntryPoint="SetTimer", CharSet = System.Runtime.InteropServices.CharSet.Auto)]
914
[DllImport(
ExternDll
.User32, ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.Auto)]
917
[DllImport(
ExternDll
.User32, ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.Auto)]
920
[DllImport(
ExternDll
.User32, ExactSpelling=true, CharSet=CharSet.Auto)]
923
[DllImport(
ExternDll
.User32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
926
[DllImport(
ExternDll
.User32, ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.Auto)]
929
[DllImport(
ExternDll
.User32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
932
[DllImport(
ExternDll
.User32, EntryPoint = "GetMonitorInfo", CharSet = CharSet.Auto, SetLastError = true)]
935
[DllImport(
ExternDll
.User32, SetLastError = true, ExactSpelling = true)]
939
[DllImport(
ExternDll
.User32, CharSet = CharSet.Auto)]
942
[DllImport(
ExternDll
.User32, ExactSpelling = true, CharSet = CharSet.Auto)]
945
[DllImport(
ExternDll
.User32, ExactSpelling = true, CharSet = CharSet.Auto)]
948
[DllImport(
ExternDll
.User32, ExactSpelling = true, CharSet = CharSet.Auto)]
951
[DllImport(
ExternDll
.User32, ExactSpelling=true, SetLastError=true)]
954
[DllImport(
ExternDll
.User32, CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError = true)]
960
[DllImport(
ExternDll
.Kernel32, ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.Auto)]
965
[DllImport(
ExternDll
.User32, EntryPoint="ScreenToClient", SetLastError=true, ExactSpelling=true, CharSet=CharSet.Auto)]
969
[DllImport(
ExternDll
.User32)]
972
[DllImport(
ExternDll
.WtsApi32, SetLastError = true, EntryPoint = "WTSQuerySessionInformation", CharSet = CharSet.Auto)]
980
[DllImport(
ExternDll
.WtsApi32, EntryPoint = "WTSFreeMemory", CharSet = CharSet.Auto)]
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\SafeNativeMethodsOther.cs (8)
293
[DllImport(
ExternDll
.User32, CharSet = CharSet.Auto)]
302
[DllImport(
ExternDll
.Uxtheme, CharSet = CharSet.Unicode)]
305
[DllImport(
ExternDll
.User32, SetLastError=true, CharSet=CharSet.Auto)]
308
[DllImport(
ExternDll
.User32, SetLastError=true, CharSet=CharSet.Auto)]
312
[DllImport(
ExternDll
.User32, SetLastError=true, CharSet=CharSet.Auto)]
319
[DllImport(
ExternDll
.User32, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
322
[DllImport(
ExternDll
.User32, ExactSpelling = true, CharSet = CharSet.Auto)]
338
[DllImport(
ExternDll
.User32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (155)
103
[DllImport(
ExternDll
.Ole32, ExactSpelling = true, CharSet = CharSet.Auto)]
110
[DllImport(
ExternDll
.Ole32, ExactSpelling=true, CharSet=CharSet.Auto)]
117
[DllImport(
ExternDll
.Ole32, ExactSpelling=true, CharSet=CharSet.Auto)]
124
[DllImport(
ExternDll
.Uxtheme, CharSet = CharSet.Auto, BestFitMapping = false)]
131
[DllImport(
ExternDll
.DwmAPI, BestFitMapping = false)]
138
[DllImport(
ExternDll
.Kernel32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
146
[DllImport(
ExternDll
.User32, CharSet = System.Runtime.InteropServices.CharSet.Auto, BestFitMapping = false)]
154
[DllImport(
ExternDll
.User32, EntryPoint = "SetWindowPos", ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true)]
161
[DllImport(
ExternDll
.User32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true)]
168
[DllImport(
ExternDll
.Shcore, CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true)]
172
[DllImport(
ExternDll
.User32, EntryPoint = "IsProcessDPIAware", CharSet = CharSet.Auto, SetLastError = true)]
179
[DllImport(
ExternDll
.Kernel32, CharSet = CharSet.Auto, SetLastError = true)]
186
[DllImport(
ExternDll
.User32, EntryPoint = "EnableNonClientDpiScaling", CharSet = CharSet.Auto, SetLastError = true)]
193
[DllImport(
ExternDll
.User32, SetLastError = true, CharSet = System.Runtime.InteropServices.CharSet.Auto, BestFitMapping = false)]
200
[DllImport(
ExternDll
.User32, SetLastError = true, CharSet = System.Runtime.InteropServices.CharSet.Auto, BestFitMapping = false)]
207
[DllImport(
ExternDll
.Uxtheme, CharSet = CharSet.Auto, BestFitMapping = false, EntryPoint = "SetWindowTheme")]
211
[DllImport(
ExternDll
.Gdi32, SetLastError = true, ExactSpelling = true, EntryPoint = "CreateCompatibleBitmap", CharSet = CharSet.Auto)]
219
[DllImport(
ExternDll
.Gdi32, SetLastError = true, ExactSpelling = true, EntryPoint = "CreateCompatibleBitmap", CharSet = CharSet.Auto)]
227
[DllImport(
ExternDll
.Gdi32, EntryPoint = "GetStockObject", SetLastError = true, CharSet = CharSet.Auto)]
235
[DllImport(
ExternDll
.User32, EntryPoint = "FillRect", SetLastError = true, CharSet = CharSet.Auto)]
242
[DllImport(
ExternDll
.Gdi32, SetLastError = true, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
249
[DllImport(
ExternDll
.User32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
290
[DllImport(
ExternDll
.Gdi32, SetLastError=true, ExactSpelling = true, EntryPoint="DeleteObject", CharSet=System.Runtime.InteropServices.CharSet.Auto)]
294
[DllImport(
ExternDll
.Gdi32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto)]
301
[DllImport(
ExternDll
.Gdi32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto)]
308
[DllImport(
ExternDll
.Gdi32, EntryPoint="SelectObject", SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto)]
311
[DllImport(
ExternDll
.User32, CharSet = System.Runtime.InteropServices.CharSet.Auto, BestFitMapping = false, SetLastError = true)]
319
[DllImport(
ExternDll
.User32, SetLastError = true, CharSet = System.Runtime.InteropServices.CharSet.Auto, BestFitMapping = false)]
322
[DllImport(
ExternDll
.Gdi32, SetLastError = true, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
330
[DllImport(
ExternDll
.User32, EntryPoint="PrintWindow", SetLastError = true, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
338
[DllImport(
ExternDll
.User32, EntryPoint="RedrawWindow", ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
341
[DllImport(
ExternDll
.Shell32, CharSet=CharSet.Auto, BestFitMapping = false)]
348
[DllImport(
ExternDll
.Shell32, CharSet=CharSet.Auto, BestFitMapping = false)]
393
[DllImport(
ExternDll
.Shell32, CharSet = CharSet.Unicode, SetLastError = true)]
404
[DllImport(
ExternDll
.Kernel32, ExactSpelling=true, CharSet=CharSet.Unicode, SetLastError=true)]
410
[DllImport(
ExternDll
.Kernel32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Unicode)]
418
[DllImport(
ExternDll
.Kernel32, ExactSpelling=true, EntryPoint="RtlMoveMemory", CharSet=CharSet.Unicode)]
425
[DllImport(
ExternDll
.Kernel32, ExactSpelling = true, EntryPoint = "RtlMoveMemory", CharSet = CharSet.Unicode)]
432
[DllImport(
ExternDll
.Kernel32, ExactSpelling=true, EntryPoint="RtlMoveMemory")]
442
[DllImport(
ExternDll
.User32, EntryPoint="GetKeyboardState", CharSet=CharSet.Auto, SetLastError=true)]
464
[DllImport(
ExternDll
.Kernel32, EntryPoint = "GetModuleFileName", CharSet=CharSet.Unicode, SetLastError = true)]
510
[DllImport(
ExternDll
.User32, ExactSpelling=true, CharSet=CharSet.Auto)]
519
[DllImport(
ExternDll
.User32, CharSet=CharSet.Auto)]
528
[DllImport(
ExternDll
.User32, CharSet=CharSet.Auto, EntryPoint="PostThreadMessage", SetLastError=true)]
559
[DllImport(
ExternDll
.Ole32, EntryPoint="OleInitialize")]
572
[DllImport(
ExternDll
.Ole32)]
576
[DllImport(
ExternDll
.User32, ExactSpelling=true, CharSet=CharSet.Auto)]
583
[DllImport(
ExternDll
.Ole32, ExactSpelling=true, CharSet=CharSet.Auto, SetLastError=true)]
586
[DllImport(
ExternDll
.Kernel32, EntryPoint="CloseHandle", CharSet=CharSet.Auto, SetLastError=true)]
613
[DllImport(
ExternDll
.Ole32, ExactSpelling = true, CharSet = CharSet.Auto)]
617
[DllImport(
ExternDll
.Gdi32, SetLastError=true, EntryPoint="CreateCompatibleDC", CharSet=CharSet.Auto)]
626
[DllImport(
ExternDll
.Gdi32, SetLastError=true, EntryPoint="CreateCompatibleDC", CharSet=CharSet.Auto)]
647
[DllImport(
ExternDll
.Kernel32, EntryPoint="UnmapViewOfFile", CharSet=CharSet.Auto, SetLastError=true)]
716
[DllImport(
ExternDll
.Gdi32, SetLastError=true, CharSet=CharSet.Auto)]
724
[DllImport(
ExternDll
.User32, ExactSpelling=true, CharSet=CharSet.Auto)]
731
[DllImport(
ExternDll
.User32, EntryPoint = "GetCursorPos", ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)]
752
[DllImport(
ExternDll
.User32, EntryPoint = "GetCursorPos", ExactSpelling = true, CharSet = CharSet.Auto)]
783
[DllImport(
ExternDll
.User32, ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.Auto)]
792
[DllImport(
ExternDll
.User32, ExactSpelling=true, CharSet=CharSet.Auto)]
800
[DllImport(
ExternDll
.Ole32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto, PreserveSig = false)]
808
[DllImport(
ExternDll
.Ole32, ExactSpelling=true, CharSet=CharSet.Auto)]
816
[DllImport(
ExternDll
.User32, ExactSpelling=true, CharSet=System.Runtime.InteropServices.CharSet.Auto)]
864
[DllImport(
ExternDll
.Kernel32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)]
872
[DllImport(
ExternDll
.Kernel32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)]
880
[DllImport(
ExternDll
.Kernel32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)]
888
[DllImport(
ExternDll
.Kernel32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)]
896
[DllImport(
ExternDll
.Kernel32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)]
904
[DllImport(
ExternDll
.Kernel32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)]
913
[DllImport(
ExternDll
.Imm32, CharSet=CharSet.Auto)]
921
[DllImport(
ExternDll
.Imm32, CharSet=CharSet.Auto)]
929
[DllImport(
ExternDll
.Imm32, CharSet = CharSet.Auto)]
937
[DllImport(
ExternDll
.Imm32, CharSet = CharSet.Auto)]
945
[DllImport(
ExternDll
.Imm32, CharSet=CharSet.Auto)]
954
[DllImport(
ExternDll
.Imm32, CharSet = CharSet.Auto)]
962
[DllImport(
ExternDll
.Imm32, CharSet = CharSet.Auto)]
970
[DllImport(
ExternDll
.Imm32, CharSet = CharSet.Auto)]
978
[DllImport(
ExternDll
.Imm32, CharSet=CharSet.Auto)]
987
[DllImport(
ExternDll
.Imm32, CharSet = CharSet.Auto)]
996
[DllImport(
ExternDll
.Imm32, CharSet = CharSet.Auto)]
1005
[DllImport(
ExternDll
.Imm32, CharSet = CharSet.Auto)]
1014
[DllImport(
ExternDll
.Imm32, CharSet = CharSet.Auto)]
1020
[DllImport(
ExternDll
.Imm32, CharSet = CharSet.Auto)]
1023
[DllImport(
ExternDll
.Imm32, CharSet = CharSet.Auto)]
1031
[DllImport(
ExternDll
.Imm32, CharSet = CharSet.Auto)]
1039
[DllImport(
ExternDll
.Imm32, CharSet = CharSet.Auto)]
1042
[DllImport(
ExternDll
.Imm32, CharSet = CharSet.Auto)]
1111
[DllImport(
ExternDll
.User32, ExactSpelling = true, CharSet = CharSet.Auto)]
1118
[DllImport(
ExternDll
.User32, SetLastError = true, ExactSpelling=true, CharSet=CharSet.Auto)]
1136
[DllImport(
ExternDll
.User32, ExactSpelling=true, CharSet=CharSet.Auto)]
1146
[DllImport(
ExternDll
.Kernel32, EntryPoint = "GetModuleHandle", CharSet = CharSet.Auto, BestFitMapping = false, ThrowOnUnmappableChar = true, SetLastError = true)]
1170
[DllImport(
ExternDll
.User32, CharSet=CharSet.Auto)]
1179
[DllImport(
ExternDll
.User32, CharSet = CharSet.Unicode, EntryPoint = "DefWindowProcW")]
1187
[DllImport(
ExternDll
.Kernel32, SetLastError=true, EntryPoint="GetProcAddress", CharSet=CharSet.Ansi, BestFitMapping=false)]
1217
[DllImport(
ExternDll
.Kernel32, EntryPoint="GetProcAddress", CharSet=CharSet.Ansi, BestFitMapping=false)]
1224
[DllImport(
ExternDll
.Kernel32, CharSet = CharSet.Unicode)]
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)]
1440
[DllImport(
ExternDll
.User32)]
1449
[DllImport(
ExternDll
.User32, SetLastError = true, CharSet=CharSet.Auto, BestFitMapping = false)]
1457
[DllImport(
ExternDll
.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)]
1465
[DllImport(
ExternDll
.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)]
1473
[DllImport(
ExternDll
.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)]
1481
[DllImport(
ExternDll
.User32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false)]
1488
[DllImport(
ExternDll
.Kernel32, CharSet = CharSet.Auto, ExactSpelling = true)]
1496
[DllImport(
ExternDll
.User32, EntryPoint="ClientToScreen", SetLastError=true, ExactSpelling=true, CharSet=CharSet.Auto)]
1515
[DllImport(
ExternDll
.User32, ExactSpelling=true, CharSet=CharSet.Auto)]
1524
[DllImport(
ExternDll
.User32, ExactSpelling=true, CharSet=CharSet.Auto)]
1532
[DllImport(
ExternDll
.Ole32, ExactSpelling=true, CharSet=CharSet.Auto)]
1540
[DllImport(
ExternDll
.Ole32, ExactSpelling=true, CharSet=CharSet.Auto)]
1550
[DllImport(
ExternDll
.User32, CharSet=CharSet.Auto)]
1555
[DllImport(
ExternDll
.User32, BestFitMapping = false, CharSet=CharSet.Auto)]
1565
[DllImport(
ExternDll
.User32, EntryPoint = "PostMessage", CharSet = CharSet.Auto, SetLastError = true)]
1585
[DllImport(
ExternDll
.User32, EntryPoint = "PostMessage", CharSet = CharSet.Auto)]
1594
[DllImport(
ExternDll
.User32, ExactSpelling = true, CharSet = CharSet.Auto)]
1602
[DllImport(
ExternDll
.User32, ExactSpelling = true, EntryPoint = "BeginPaint", CharSet = CharSet.Auto)]
1618
[DllImport(
ExternDll
.User32, ExactSpelling = true, EntryPoint = "EndPaint", CharSet = CharSet.Auto)]
1635
[DllImport(
ExternDll
.User32, SetLastError = true, ExactSpelling = true, EntryPoint = "GetDC", CharSet = CharSet.Auto)]
1662
[DllImport(
ExternDll
.User32, ExactSpelling = true, EntryPoint = "ReleaseDC", CharSet = CharSet.Auto)]
1679
[DllImport(
ExternDll
.Gdi32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto)]
1687
[DllImport(
ExternDll
.User32, ExactSpelling=true, CharSet=CharSet.Auto)]
1695
[DllImport(
ExternDll
.User32, ExactSpelling=true, CharSet=CharSet.Auto)]
1704
[DllImport(
ExternDll
.Comdlg32, SetLastError = true, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
1712
[DllImport(
ExternDll
.Comdlg32, SetLastError = true, CharSet = CharSet.Unicode)]
1720
[DllImport(
ExternDll
.Comdlg32, SetLastError = true, CharSet = CharSet.Unicode)]
1730
[DllImport(
ExternDll
.User32, ExactSpelling=true, CharSet=CharSet.Auto, SetLastError=true)]
1739
[DllImport(
ExternDll
.User32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)]
1747
[DllImport(
ExternDll
.User32, SetLastError = true)]
1763
[DllImport(
ExternDll
.User32, ExactSpelling=true, EntryPoint="DestroyCursor", CharSet=CharSet.Auto)]
1779
[DllImport(
ExternDll
.User32, EntryPoint="DestroyIcon", CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)]
1809
[DllImport(
ExternDll
.Gdi32, EntryPoint="DeleteObject", CharSet=System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)]
1839
[DllImport(
ExternDll
.Gdi32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto, EntryPoint = "CreateDIBSection")]
1869
[DllImport(
ExternDll
.Gdi32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto, EntryPoint = "CreateBitmap")]
1892
[DllImport(
ExternDll
.User32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto, EntryPoint = "DestroyIcon")]
1917
[DllImport(
ExternDll
.User32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto, EntryPoint = "CreateIconIndirect")]
1940
[DllImport(
ExternDll
.User32, ExactSpelling=true, CharSet=CharSet.Auto)]
1944
[DllImport(
ExternDll
.Gdi32, SetLastError=true, ExactSpelling=true, EntryPoint="DeleteDC", CharSet=CharSet.Auto)]
1966
[DllImport(
ExternDll
.Gdi32, SetLastError=true, ExactSpelling=true, EntryPoint="DeleteDC", CharSet=CharSet.Auto)]
1991
[DllImport(
ExternDll
.User32, SetLastError=true, EntryPoint="GetMessageW", ExactSpelling=true, CharSet=CharSet.Unicode)]
2026
[DllImport(
ExternDll
.User32, EntryPoint="WindowFromPoint", ExactSpelling=true, CharSet=CharSet.Auto)]
2043
[DllImport(
ExternDll
.User32, EntryPoint="CreateWindowEx", CharSet=CharSet.Auto, BestFitMapping = false, SetLastError=true)]
2070
[DllImport(
ExternDll
.User32, SetLastError = true, EntryPoint="DestroyWindow", CharSet=CharSet.Auto)]
2088
[DllImport(
ExternDll
.User32)]
2095
[DllImport(
ExternDll
.User32)]
2119
[DllImport(
ExternDll
.User32, EntryPoint = "EnumChildWindows", ExactSpelling = true)]
2127
[DllImport(
ExternDll
.User32, SetLastError = true, CharSet = CharSet.Auto)]
2135
[DllImport(
ExternDll
.User32, SetLastError = true, CharSet = CharSet.Auto)]
4121
[DllImport(
ExternDll
.Oleaut32, PreserveSig=true)]
4208
[DllImport(
ExternDll
.User32, SetLastError=true, CharSet=CharSet.Auto)]
4218
[DllImport(
ExternDll
.User32, SetLastError=true, CharSet=CharSet.Auto)]
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\MS\Win32\UnsafeNativeMethodsOther.cs (60)
51
[DllImport(
ExternDll
.Kernel32, CharSet=CharSet.Unicode, SetLastError=true, EntryPoint="GetTempFileName")]
73
[DllImport(
ExternDll
.Shell32, CharSet = System.Runtime.InteropServices.CharSet.Auto, BestFitMapping = false, ThrowOnUnmappableChar = true)]
85
[DllImport(
ExternDll
.User32, CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError=true)]
92
[DllImport(
ExternDll
.User32, SetLastError = true)]
99
[DllImport(
ExternDll
.User32, SetLastError = true)]
106
[DllImport(
ExternDll
.User32, SetLastError = true)]
113
[DllImport(
ExternDll
.User32, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
116
[DllImport(
ExternDll
.User32, EntryPoint="LoadImage", CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true, BestFitMapping = false, ThrowOnUnmappableChar = true)]
119
[DllImport(
ExternDll
.User32, EntryPoint="LoadImage", CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true, BestFitMapping = false, ThrowOnUnmappableChar = true)]
141
[DllImport(
ExternDll
.Urlmon, ExactSpelling=true)]
148
[DllImport(
ExternDll
.Urlmon, ExactSpelling=true)]
159
[DllImport(
ExternDll
.Urlmon, ExactSpelling=true)]
172
[DllImport(
ExternDll
.PresentationHostDll, EntryPoint = "ProcessUnhandledException")]
179
[DllImport(
ExternDll
.Kernel32, CharSet=CharSet.Unicode)]
185
[DllImport(
ExternDll
.Urlmon, ExactSpelling=true)]
250
[DllImport(
ExternDll
.Kernel32, SetLastError = true), ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
259
[DllImport(
ExternDll
.Kernel32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false, ThrowOnUnmappableChar = true)]
280
[DllImport(
ExternDll
.User32, CharSet = CharSet.Auto)]
290
[DllImport(
ExternDll
.Kernel32, EntryPoint="WaitForMultipleObjectsEx", SetLastError = true, CharSet = CharSet.Auto)]
315
[DllImport(
ExternDll
.User32, EntryPoint="MsgWaitForMultipleObjectsEx", SetLastError=true, ExactSpelling = true, CharSet = CharSet.Auto)]
339
[DllImport(
ExternDll
.User32, EntryPoint="RegisterClassEx", CharSet=CharSet.Unicode, SetLastError=true, BestFitMapping=false)]
361
[DllImport(
ExternDll
.User32, EntryPoint="UnregisterClass",CharSet = CharSet.Auto, SetLastError = true, BestFitMapping=false)]
439
[DllImport(
ExternDll
.Urlmon, ExactSpelling = true, CharSet = System.Runtime.InteropServices.CharSet.Ansi, BestFitMapping = false, ThrowOnUnmappableChar = true)]
470
[DllImport(
ExternDll
.User32, CharSet = CharSet.Auto)]
480
[DllImport(
ExternDll
.User32,EntryPoint="SendMessage", CharSet = CharSet.Auto)]
487
[DllImport(
ExternDll
.User32,EntryPoint="RegisterPowerSettingNotification")]
494
[DllImport(
ExternDll
.User32,EntryPoint="UnregisterPowerSettingNotification")]
511
[DllImport(
ExternDll
.User32, CharSet = CharSet.Auto, SetLastError = true)]
519
[DllImport(
ExternDll
.Kernel32, ExactSpelling = true, CharSet = CharSet.Auto)]
636
[DllImport(
ExternDll
.Kernel32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false, ThrowOnUnmappableChar = true)]
644
[DllImport(
ExternDll
.Kernel32, SetLastError = true)]
856
[DllImport(
ExternDll
.Wininet, SetLastError=true, ExactSpelling=true, EntryPoint="InternetGetCookieExW", CharSet=CharSet.Unicode)]
864
[DllImport(
ExternDll
.Wininet, SetLastError = true, ExactSpelling = true, EntryPoint = "InternetSetCookieExW", CharSet = CharSet.Unicode)]
881
[DllImport(
ExternDll
.Kernel32, ExactSpelling = true, CharSet = CharSet.Unicode)]
889
[DllImport(
ExternDll
.Kernel32, ExactSpelling = true, SetLastError = true)]
907
[DllImport(
ExternDll
.User32, EntryPoint = "SetWindowText", CharSet = CharSet.Auto, SetLastError = true, BestFitMapping = false)]
927
[DllImport(
ExternDll
.User32, EntryPoint = "GetIconInfo", CharSet = CharSet.Auto, SetLastError = true)]
996
[DllImport(
ExternDll
.User32, EntryPoint = "GetWindowPlacement", ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)]
1015
[DllImport(
ExternDll
.User32, EntryPoint = "SetWindowPlacement", ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)]
1045
[DllImport(
ExternDll
.User32, CharSet = CharSet.Auto, BestFitMapping = false)]
1053
[DllImport(
ExternDll
.User32, CharSet = CharSet.Auto, BestFitMapping = false, ThrowOnUnmappableChar = true)]
1093
[DllImport(
ExternDll
.Uxtheme, CharSet = CharSet.Unicode)]
1123
[DllImport(
ExternDll
.Uxtheme, CharSet = CharSet.Unicode)]
1145
[DllImport(
ExternDll
.Uxtheme, CharSet = CharSet.Unicode)]
1153
[DllImport(
ExternDll
.Kernel32, CharSet = CharSet.Auto, SetLastError = true)]
1157
[DllImport(
ExternDll
.Kernel32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto)]
1161
[DllImport(
ExternDll
.Kernel32, SetLastError = true, ExactSpelling = true, CharSet = CharSet.Auto)]
1179
[DllImport(
ExternDll
.User32, ExactSpelling = true, CharSet = CharSet.Auto, SetLastError = true)]
1219
[DllImport(
ExternDll
.Kernel32, SetLastError = true)]
1330
[DllImport(
ExternDll
.Advapi32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false, ThrowOnUnmappableChar = true)]
1349
[DllImport(
ExternDll
.Kernel32, SetLastError = true, CharSet = CharSet.Auto, BestFitMapping = false, ThrowOnUnmappableChar = true)]
1361
[DllImport(
ExternDll
.Kernel32, SetLastError = true)]
1389
[DllImport(
ExternDll
.Ole32, ExactSpelling = true, CharSet = CharSet.Auto)]
1392
[DllImport(
ExternDll
.Kernel32, ExactSpelling = true, CharSet = CharSet.Auto)]
1492
[DllImport(
ExternDll
.Kernel32, SetLastError = true)]
1502
[DllImport(
ExternDll
.Kernel32, SetLastError = true)]
1562
[DllImport(
ExternDll
.User32)]
1615
[DllImport(
ExternDll
.User32, EntryPoint = "SetWindowsHookExW", SetLastError = true)]
1622
[DllImport(
ExternDll
.User32, SetLastError = true)]
1629
[DllImport(
ExternDll
.User32, SetLastError = true)]
Shared\System\Windows\InterOp\OSVersionHelper.cs (1)
98
WpfLibraryLoader.EnsureLoaded(MS.Win32.
ExternDll
.PresentationNativeDll);