Add import hooks and ditch wndproc hooks (#902)

This commit is contained in:
kizer 2022-06-28 03:19:44 +09:00 committed by GitHub
parent 6ad647235c
commit ac7f3ea5d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 1251 additions and 404 deletions

View file

@ -1906,6 +1906,21 @@ namespace Dalamud
/// </summary>
public int ClientPointers;
}
/// <summary>
/// Finds window according to conditions.
/// </summary>
/// <param name="parentHandle">Handle to parent window.</param>
/// <param name="childAfter">Window to search after.</param>
/// <param name="className">Name of class.</param>
/// <param name="windowTitle">Name of window.</param>
/// <returns>Found window, or null.</returns>
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
public static extern IntPtr FindWindowEx(
IntPtr parentHandle,
IntPtr childAfter,
string className,
IntPtr windowTitle);
}
/// <summary>