mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-27 02:49:18 +01:00
Add import hooks and ditch wndproc hooks (#902)
This commit is contained in:
parent
6ad647235c
commit
ac7f3ea5d8
11 changed files with 1251 additions and 404 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue