Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CreateStop()

static FlashInfo ReLogic.OS.Windows.NativeMethods.FlashInfo.CreateStop ( IntPtr hWnd)
inlinestatic

Definition at line 66 of file NativeMethods.cs.

67 {
68 FlashInfo result = default(FlashInfo);
69 result._cbSize = Convert.ToUInt32(Marshal.SizeOf(typeof(FlashInfo)));
70 result._hWnd = hWnd;
71 result._dwFlags = FlashFlags.Stop;
72 result._uCount = uint.MaxValue;
73 result._dwTimeout = 0u;
74 return result;
75 }
static uint ToUInt32(object? value)
Definition Convert.cs:1470
static int SizeOf(object structure)
Definition Marshal.cs:697
static IntPtr MaxValue
Definition IntPtr.cs:30

References System.IntPtr.MaxValue, System.Runtime.InteropServices.Marshal.SizeOf(), and System.Convert.ToUInt32().

Referenced by ReLogic.OS.Windows.WindowService.StopFlashingIcon().