[DllImport("user32.dll", SetLastError=true)]
static extern TODO FindWindowA(TODO);
Declare Function FindWindowA Lib "user32.dll" (TODO) As TODO
None.
Do you know one? Please contribute it!
None.
Please add some!
public class Testing
{
[DllImport("user32.dll", SetLastError = true)]
static extern int FindWindowA(string lpClassName, string lpWindowName);
private void test()
{
var handle = FindWindowA(null, "Untitled - Notepad");
MessageBox.Show(handle.ToString());
}
}