30 references to ToInt32
Microsoft.AspNetCore.Cryptography.Internal (2)
UnsafeBufferUtil.cs (2)
93
BlockCopyCore(from: (byte*)from.DangerousGetHandle(), to: (byte*)to.DangerousGetHandle(), byteCount: (uint)length.
ToInt32
());
189
SecureZeroMemory(buffer, (uint)length.
ToInt32
());
PresentationCore (2)
System\Windows\InterOp\HwndTarget.cs (2)
960
_displayDevicesAvailable = (wparam.
ToInt32
() != 0);
1224
if (_sessionId.HasValue && (_sessionId.Value != lparam.
ToInt32
()))
PresentationFramework (10)
System\Windows\Shell\WindowChromeWorker.cs (5)
621
if (wParam.
ToInt32
() != 0) // wParam == TRUE
716
if (HT.CAPTION == (HT)wParam.
ToInt32
())
733
if (wParam.
ToInt32
() == SIZE_MAXIMIZED)
863
var dwStyle = (WS)NativeMethods.GetWindowLongPtr(_hwnd, GWL.STYLE).
ToInt32
();
923
var dwStyle = (WS)NativeMethods.GetWindowLongPtr(_hwnd, GWL.STYLE).
ToInt32
();
System\Windows\Standard\NativeMethods.cs (3)
1619
int dwCookie = handle.
ToInt32
();
3033
return new IntPtr(SetClassLongPtr32(hwnd, nIndex, dwNewLong.
ToInt32
()));
3072
return new IntPtr(NativeMethodsSetLastError.SetWindowLong(hwnd, (int)nIndex, dwNewLong.
ToInt32
()));
System\Windows\Window.cs (2)
4236
if (NativeMethods.SignedHIWORD(wParam.
ToInt32
()) == THUMBBUTTON.THBN_CLICKED)
4241
int index = NativeMethods.SignedLOWORD(wParam.
ToInt32
());
System.Console (1)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.Poll.cs (1)
40
FileDescriptor = fd.DangerousGetHandle().
ToInt32
(),
System.IO.FileSystem.Watcher (1)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.Poll.cs (1)
40
FileDescriptor = fd.DangerousGetHandle().
ToInt32
(),
System.Net.Sockets (1)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.Poll.cs (1)
40
FileDescriptor = fd.DangerousGetHandle().
ToInt32
(),
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Threading\Overlapped.cs (1)
58
get => EventHandleIntPtr.
ToInt32
();
UIAutomationClient (4)
MS\Internal\Automation\FocusTracker.cs (1)
295
Accessible acc = Accessible.Create(hwnd, UnsafeNativeMethods.OBJID_CLIENT, i.
ToInt32
() + 1);
MS\Internal\Automation\HwndProxyElementProvider.cs (3)
126
int ilen = len.
ToInt32
();
165
return ((IntPtr) _hwnd).
ToInt32
();
1103
id[1] = hwnd.h.
ToInt32
();
UIAutomationClientSideProviders (7)
MS\Internal\AutomationProxies\CommonXSendMessage.cs (4)
96
System.Diagnostics.Debug.Assert(remoteTextArea.
ToInt32
() == remoteTextArea.ToInt64());
97
*(int*)((byte*)pszText.ToPointer()) = rmem.Address.
ToInt32
() + cbSize;
2363
hItem = item.hItem.
ToInt32
();
2516
hwnd = item.hwnd.
ToInt32
();
MS\Internal\AutomationProxies\NonClientArea.cs (1)
119
System.Diagnostics.Debug.Assert(idChild == 0, string.Format(CultureInfo.CurrentCulture, "Invalid Child Id, idChild == {2}\n\rClassName: \"{0}\"\n\rhwnd = 0x{1:x8}", Misc.ProxyGetClassName(hwnd), hwnd.
ToInt32
(), idChild));
MS\Internal\AutomationProxies\ProxySimple.cs (1)
160
id[1] = _hwnd.
ToInt32
();
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
1655
return _hItem.
ToInt32
();
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHost.cs (1)
485
Debug.WriteLineIf(_traceHandle.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "WindowsFormsHost({0}): BuildWindowCore (parent=0x{1:x8})", this.Name, hwndParent.Handle.
ToInt32
()));