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