mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
[Run][WindowWalker]Improve EnumWindows synchronization (#27490)
This commit is contained in:
committed by
GitHub
parent
082c312325
commit
e02ceaa8d0
@@ -16,7 +16,7 @@ namespace Wox.Plugin.Common.Win32
|
||||
public static class NativeMethods
|
||||
{
|
||||
[DllImport("user32.dll", CharSet = CharSet.Unicode)]
|
||||
public static extern int EnumWindows(EnumWindowsProc callPtr, int lPar);
|
||||
public static extern int EnumWindows(EnumWindowsProc callPtr, IntPtr lParam);
|
||||
|
||||
[DllImport("user32.dll", SetLastError = true)]
|
||||
public static extern IntPtr GetWindow(IntPtr hWnd, GetWindowCmd uCmd);
|
||||
|
||||
Reference in New Issue
Block a user