9 references to SafeLibraryHandle
System (9)
compmod\microsoft\win32\safehandles\SafeLibraryHandle.cs (1)
39internal static extern SafeLibraryHandle LoadLibraryEx(string libFilename, IntPtr reserved, int flags);
compmod\microsoft\win32\SafeNativeMethods.cs (1)
106public static unsafe extern int FormatMessage(int dwFlags, SafeLibraryHandle lpSource, uint dwMessageId,
services\monitoring\system\diagnosticts\EventLog.cs (2)
1224internal static string TryFormatMessage(SafeLibraryHandle hModule, uint messageNum, string[] insertionStrings) { 1281internal static string UnsafeTryFormatMessage(SafeLibraryHandle hModule, uint messageNum, string[] insertionStrings) {
services\monitoring\system\diagnosticts\EventLogInternal.cs (5)
689foreach (SafeLibraryHandle handle in messageLibraries.Values) 837SafeLibraryHandle hModule = null; 842hModule = MessageLibraries[dllName] as SafeLibraryHandle; 845hModule = SafeLibraryHandle.LoadLibraryEx(dllName, IntPtr.Zero, NativeMethods.LOAD_LIBRARY_AS_DATAFILE); 850hModule = SafeLibraryHandle.LoadLibraryEx(dllName, IntPtr.Zero, NativeMethods.LOAD_LIBRARY_AS_DATAFILE);