This commit is contained in:
@@ -16,6 +16,6 @@ BOOL CALLBACK EnumProc(HWND hWnd, LPARAM lParam) {
|
|||||||
TCHAR title[500];
|
TCHAR title[500];
|
||||||
ZeroMemory(title, sizeof(title));
|
ZeroMemory(title, sizeof(title));
|
||||||
GetWindowText(hWnd, title, sizeof(title) / sizeof(title[0]));
|
GetWindowText(hWnd, title, sizeof(title) / sizeof(title[0]));
|
||||||
cout << hWnd << endl << title << endl;
|
printf("%d\n%s\n", hWnd, title);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user