We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66c272c commit 7a8e57dCopy full SHA for 7a8e57d
Rubberduck.VBEEditor/WindowsApi/User32.cs
@@ -72,7 +72,7 @@ public static class User32
72
/// <param name="lpClassName">Buffer for returning the class name.</param>
73
/// <param name="nMaxCount">Buffer size in characters, including the null terminator.</param>
74
/// <returns>The length of the returned class name (without the null terminator), zero on error.</returns>
75
- [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
+ [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
76
public static extern int GetClassName(IntPtr hWnd, StringBuilder lpClassName, int nMaxCount);
77
78
/// <summary> Gets the parent window of this item. </summary>
0 commit comments