pub fn get_thread_process_id(window: HWND) -> (u32, u32)
Expand description

Retrieves the identifier of the thread and process that created the specified window.

Parameters

  • window - Handle to a window.

Return(tuple)

  1. Process pid
  2. Thread id.