9 references to new
System.Private.Windows.Core (9)
Windows.Win32.WPARAM.g.cs (1)
33 public static implicit operator WPARAM(nuint value) => new WPARAM(value);
Windows\Win32\Foundation\WPARAM.cs (8)
11public static implicit operator WPARAM(void* value) => new((nuint)value); 14public static explicit operator WPARAM(HWND value) => new((nuint)value.Value); 17public static explicit operator WPARAM(HDC value) => new((nuint)value.Value); 19public static explicit operator WPARAM(HFONT value) => new((nuint)value.Value); 22public static explicit operator WPARAM(BOOL value) => new((nuint)(nint)value); 27public static explicit operator WPARAM(int value) => new((nuint)(nint)value); 29public static explicit operator WPARAM(char value) => new(value); 31public static explicit operator WPARAM(Color value) => new((nuint)ColorTranslator.ToWin32(value));