23 references to Libraries
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.Private.Windows.Core (8)
Windows\Win32\PInvokeCore.GetClassLong.cs (2)
10
[DllImport(
Libraries
.User32, SetLastError = true)]
14
[DllImport(
Libraries
.User32, SetLastError = true)]
Windows\Win32\PInvokeCore.GetWindowLong.cs (2)
8
[DllImport(
Libraries
.User32, SetLastError = true)]
11
[DllImport(
Libraries
.User32, SetLastError = true)]
Windows\Win32\PInvokeCore.SetClassLong.cs (2)
9
[DllImport(
Libraries
.User32)]
12
[DllImport(
Libraries
.User32)]
Windows\Win32\PInvokeCore.SetWindowLong.cs (2)
8
[DllImport(
Libraries
.User32, SetLastError = true)]
11
[DllImport(
Libraries
.User32, SetLastError = true)]
System.Windows.Forms (9)
System\Windows\Forms\Application.cs (1)
114
var hModule = PInvoke.GetModuleHandle(
Libraries
.Comctl32);
System\Windows\Forms\Control.cs (2)
1380
if ((PInvoke.GetModuleHandle(
Libraries
.Comctl32) != 0)
1388
throw new Win32Exception(lastWin32Error, string.Format(SR.LoadDLLError,
Libraries
.Comctl32));
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
259
s_moduleHandle = PInvoke.LoadLibraryFromSystemPathIfAvailable(
Libraries
.RichEdit41);
268
throw new Win32Exception(lastWin32Error, string.Format(SR.LoadDLLError,
Libraries
.RichEdit41));
System\Windows\Forms\Dialogs\MessageBox.cs (3)
465
if (PInvoke.GetModuleHandle(
Libraries
.Shell32) == 0)
467
if (PInvoke.LoadLibraryFromSystemPathIfAvailable(
Libraries
.Shell32) == HINSTANCE.Null)
470
throw new Win32Exception(lastWin32Error, string.Format(SR.LoadDLLError,
Libraries
.Shell32));
System\Windows\Forms\NativeWindow.cs (1)
169
var hModule = PInvoke.GetModuleHandle(
Libraries
.User32);
System.Windows.Forms.Primitives (4)
Windows\Win32\PInvoke.DispatchMessageA.cs (1)
11
[DllImport(
Libraries
.User32, ExactSpelling = true)]
Windows\Win32\PInvoke.LoadLibrary.cs (3)
17
string customPath = Path.Join(startupPath,
Libraries
.Comctl32);
32
return LoadLibraryFromSystemPathIfAvailable(
Libraries
.Comctl32);
43
if (GetModuleHandle(
Libraries
.Kernel32).IsNull)