Skip to content

Commit 6a37e34

Browse files
committed
spelling
1 parent af27193 commit 6a37e34

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/actions/spelling/expect.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ winreg
599599
winrtact
600600
winstring
601601
WMI
602-
Wnd
602+
wnd
603603
WNDCLASS
604604
WNDCLASSEX
605605
workaround

src/ConfigurationRemotingServer/EnvironmentChangeListener.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public struct WNDCLASS
7474
public IntPtr hInstance;
7575
public IntPtr hIcon;
7676
public IntPtr hCursor;
77-
public IntPtr hbrBackground;
77+
public IntPtr hBackground;
7878
[MarshalAs(UnmanagedType.LPStr)]
7979
public string? lpszMenuName;
8080
[MarshalAs(UnmanagedType.LPStr)]
@@ -121,7 +121,7 @@ private void MessageLoop()
121121
hInstance = GetModuleHandle(null),
122122
hIcon = IntPtr.Zero,
123123
hCursor = IntPtr.Zero,
124-
hbrBackground = IntPtr.Zero,
124+
hBackground = IntPtr.Zero,
125125
lpszMenuName = "",
126126
lpszClassName = className
127127
};
@@ -130,10 +130,10 @@ private void MessageLoop()
130130

131131
// Create hidden window
132132
const uint WS_OVERLAPPED = 0x00000000;
133-
const uint WS_EX_TOOLWINDOW = 0x00000080; // Doesn't appear in taskbar
133+
const uint WS_EX_TOOL_WINDOW = 0x00000080;
134134

135135
_hwnd = CreateWindowEx(
136-
WS_EX_TOOLWINDOW,
136+
WS_EX_TOOL_WINDOW,
137137
className,
138138
"Environment Monitor",
139139
WS_OVERLAPPED,

0 commit comments

Comments
 (0)