59 references to SafeNativeMethodsPrivate
WindowsBase (59)
Shared\MS\Win32\SafeNativeMethodsCLR.cs (47)
53return SafeNativeMethodsPrivate.GetMessagePos(); 63return SafeNativeMethodsPrivate.GetKeyboardLayout(dwLayout); 73return SafeNativeMethodsPrivate.ActivateKeyboardLayout(hkl, uFlags); 106if (SafeNativeMethodsPrivate.IntGetMonitorInfo(hmonitor, info) == false) 120return SafeNativeMethodsPrivate.MonitorFromPoint(pt,flags); 131return SafeNativeMethodsPrivate.MonitorFromRect(ref rect,flags); 142return SafeNativeMethodsPrivate.MonitorFromWindow(handle, flags); 154NativeMethods.CursorHandle cursorHandle = SafeNativeMethodsPrivate.LoadCursor(hInst, iconId); 172return SafeNativeMethodsPrivate.GetCursor(); 182return SafeNativeMethodsPrivate.ShowCursor(show); 192bool returnValue = SafeNativeMethodsPrivate.IntAdjustWindowRectEx(ref lpRect, dwStyle, bMenu, dwExStyle); 208if(!SafeNativeMethodsPrivate.IntGetClientRect(hWnd, ref rect)) 231if(!SafeNativeMethodsPrivate.IntGetWindowRect(hWnd, ref rect)) 244return SafeNativeMethodsPrivate.GetDoubleClickTime(); 254return SafeNativeMethodsPrivate.IsWindowEnabled(hWnd); 264return SafeNativeMethodsPrivate.IsWindowVisible(hWnd); 274bool returnValue = SafeNativeMethodsPrivate.IntReleaseCapture(); 292bool retVal = SafeNativeMethodsPrivate.TrackMouseEvent(tme); 311if(SafeNativeMethodsPrivate.SetTimer(hWnd, nIDEvent, uElapse, null) == IntPtr.Zero) 326if(SafeNativeMethodsPrivate.TrySetTimer(hWnd, nIDEvent, uElapse, null) == IntPtr.Zero) 343return (SafeNativeMethodsPrivate.KillTimer(hwnd,idEvent)); 355return SafeNativeMethodsPrivate.GetTickCount(); 367return SafeNativeMethodsPrivate.MessageBeep(uType); 378return (SafeNativeMethodsPrivate.IsWindowUnicode(hWnd)); 390return SafeNativeMethodsPrivate.SetCursor(hcursor); 400return SafeNativeMethodsPrivate.SetCursor(hcursor); 413if(SafeNativeMethodsPrivate.IntScreenToClient(hWnd, pt) == 0) 426return SafeNativeMethodsPrivate.GetCurrentProcessId(); 437return SafeNativeMethodsPrivate.GetCurrentThreadId(); 456if (SafeNativeMethodsPrivate.ProcessIdToSessionId( 474return SafeNativeMethodsPrivate.GetCapture(); 486return SafeNativeMethodsPrivate.SetCapture(hwnd); 497return SafeNativeMethodsPrivate.MapVirtualKey(nVirtKey,nMapType); 535if (SafeNativeMethodsPrivate.WTSQuerySessionInformation( 555SafeNativeMethodsPrivate.WTSFreeMemory(buffer); 585/// - See remarks for <see cref="SafeNativeMethodsPrivate.GetProcessDpiAwareness(HandleRef, out IntPtr)"/> 589/// Critical - Calls into <see cref="SafeNativeMethodsPrivate.GetProcessDpiAwareness(HandleRef, out IntPtr)"/> 596var hr = (int)SafeNativeMethodsPrivate.GetProcessDpiAwareness(hProcess, out ptrProcessDpiAwareness); 631return SafeNativeMethodsPrivate.GetWindowDpiAwarenessContext(hwnd); 661return SafeNativeMethodsPrivate.AreDpiAwarenessContextsEqual(dpiContextA, dpiContextB); 688return SafeNativeMethodsPrivate.GetDpiForWindow(hwnd); 716return SafeNativeMethodsPrivate.GetDpiForSystem(); 739return SafeNativeMethodsPrivate.GetWindowDpiHostingBehavior(hWnd); 759return SafeNativeMethodsPrivate.GetThreadDpiHostingBehavior(); 800SafeNativeMethodsPrivate.AdjustWindowRectExForDpi( 832return SafeNativeMethodsPrivate.LogicalToPhysicalPointForPerMonitorDPI(hWnd, ref lpPoint); 858return SafeNativeMethodsPrivate.PhysicalToLogicalPointForPerMonitorDPI(hWnd, ref lpPoint);
Shared\MS\Win32\SafeNativeMethodsOther.cs (12)
74return SafeNativeMethodsPrivate.InSendMessage(); 105public static bool IsUxThemeActive() { return SafeNativeMethodsPrivate.IsThemeActive() != 0; } 120return SafeNativeMethodsPrivate.SetCaretPos(x,y); 136return SafeNativeMethodsPrivate.DestroyCaret(); 152return SafeNativeMethodsPrivate.GetCaretBlinkTime(); 182bool win32Return = SafeNativeMethodsPrivate.GetStringTypeEx(locale, infoType, sourceString, count, charTypes); 200return SafeNativeMethodsPrivate.GetSysColor(nIndex); 210return SafeNativeMethodsPrivate.IsClipboardFormatAvailable(format); 235public static bool IsDebuggerPresent() { return SafeNativeMethodsPrivate.IsDebuggerPresent(); } 249if (!SafeNativeMethodsPrivate.QueryPerformanceCounter(out lpPerformanceCount)) 262if (!SafeNativeMethodsPrivate.QueryPerformanceFrequency(out lpFrequency)) 275return SafeNativeMethodsPrivate.GetMessageTime();