1 /* 2 * PROJECT: ReactOS API tests 3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+) 4 * PURPOSE: Close windows after tests 5 * COPYRIGHT: Copyright 2024 Katayama Hirofumi MZ (katayama.hirofumi.mz@gmail.com) 6 */ 7 8 #pragma once 9 10 typedef struct WINDOW_LIST 11 { 12 SIZE_T m_chWnds; 13 HWND *m_phWnds; 14 } WINDOW_LIST, *PWINDOW_LIST; 15 16 void GetWindowList(PWINDOW_LIST pList); 17 void GetWindowListForClose(PWINDOW_LIST pList); 18 HWND FindNewWindow(PWINDOW_LIST List1, PWINDOW_LIST List2); 19 void CloseNewWindows(PWINDOW_LIST List1, PWINDOW_LIST List2); 20 void FreeWindowList(PWINDOW_LIST pList); 21