def _find_windows_by_same_proc(self):

        enum_windows_proc = \
            ctypes.WINFUNCTYPE(ctypes.c_bool, ctypes.c_long,
                               ctypes.c_long)
        self._EnumWindowsCallback.same_proc_handles = set()
        ctypes.windll.user32.EnumWindows(
            enum_windows_proc(
                self._EnumWindowsCallback.callback), self.proc_id)

        if self._hwnd in self._EnumWindowsCallback.same_proc_handles:
            self._EnumWindowsCallback.same_proc_handles.remove(self._hwnd)

        result = [WinElement(hwnd, 0) for hwnd in
                  self._EnumWindowsCallback.same_proc_handles]

        return result
Decode a message header value without converting charset.
dataset/ETHPy150Open F1ashhimself/UISoup/uisoup/win_soup/element.py/WinElement._find_windows_by_same_proc--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/email/header.py/decode_header