public static GetWindowThreadId ( |
||
windowHandle | A handle to the window. | |
Résultat | int |
public static int GetWindowThreadId(IntPtr windowHandle)
{
// Check if the handle is valid
HandleManipulator.ValidateAsArgument(windowHandle, "windowHandle");
// Get the thread id
int trash;
return NativeMethods.GetWindowThreadProcessId(windowHandle, out trash);
}