(hwndParent=None, hwndChildAfter=None, lpClassName=None, lpWindowName=None)
| 745 | # __in_opt LPCTSTR lpszWindow |
| 746 | # ); |
| 747 | def FindWindowExA(hwndParent=None, hwndChildAfter=None, lpClassName=None, lpWindowName=None): |
| 748 | _FindWindowExA = windll.user32.FindWindowExA |
| 749 | _FindWindowExA.argtypes = [HWND, HWND, LPSTR, LPSTR] |
| 750 | _FindWindowExA.restype = HWND |
| 751 | |
| 752 | hWnd = _FindWindowExA(hwndParent, hwndChildAfter, lpClassName, lpWindowName) |
| 753 | if not hWnd: |
| 754 | errcode = GetLastError() |
| 755 | if errcode != ERROR_SUCCESS: |
| 756 | raise ctypes.WinError(errcode) |
| 757 | return hWnd |
| 758 | |
| 759 | |
| 760 | def FindWindowExW(hwndParent=None, hwndChildAfter=None, lpClassName=None, lpWindowName=None): |
nothing calls this directly
no test coverage detected