mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:23:34 +00:00
fix build
svn path=/trunk/; revision=22568
This commit is contained in:
parent
2063f88ebb
commit
01a0c11c80
1 changed files with 6 additions and 6 deletions
|
@ -157,8 +157,8 @@ EnumThreadProc(HWND hwnd, LPARAM lp)
|
||||||
{
|
{
|
||||||
DWORD r, pid, tid;
|
DWORD r, pid, tid;
|
||||||
LONG style;
|
LONG style;
|
||||||
HANDLE stdout = GetStdHandle(STD_OUTPUT_HANDLE);
|
|
||||||
char buf[256];
|
char buf[256];
|
||||||
|
HANDLE Stdout = GetStdHandle(STD_OUTPUT_HANDLE);
|
||||||
|
|
||||||
GetWindowText(hwnd, (LPTSTR)lp, 30);
|
GetWindowText(hwnd, (LPTSTR)lp, 30);
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ EnumThreadProc(HWND hwnd, LPARAM lp)
|
||||||
tid = GetWindowThreadProcessId(hwnd, &pid);
|
tid = GetWindowThreadProcessId(hwnd, &pid);
|
||||||
|
|
||||||
wsprintf (buf,"w%8d %8x %08x %8d %s\n",pid, hwnd , style, tid, lp );
|
wsprintf (buf,"w%8d %8x %08x %8d %s\n",pid, hwnd , style, tid, lp );
|
||||||
WriteFile(stdout, buf, lstrlen(buf), &r, NULL);
|
WriteFile(Stdout, buf, lstrlen(buf), &r, NULL);
|
||||||
}
|
}
|
||||||
return (TRUE);
|
return (TRUE);
|
||||||
}
|
}
|
||||||
|
@ -178,7 +178,7 @@ int main()
|
||||||
{
|
{
|
||||||
DWORD r;
|
DWORD r;
|
||||||
ANSI_STRING astring;
|
ANSI_STRING astring;
|
||||||
HANDLE stdout = GetStdHandle(STD_OUTPUT_HANDLE);
|
HANDLE Stdout = GetStdHandle(STD_OUTPUT_HANDLE);
|
||||||
PSYSTEM_PROCESSES SystemProcesses = NULL;
|
PSYSTEM_PROCESSES SystemProcesses = NULL;
|
||||||
PSYSTEM_PROCESSES CurrentProcess;
|
PSYSTEM_PROCESSES CurrentProcess;
|
||||||
ULONG BufferSize, ReturnSize;
|
ULONG BufferSize, ReturnSize;
|
||||||
|
@ -186,9 +186,9 @@ int main()
|
||||||
char buf[256];
|
char buf[256];
|
||||||
char buf1[256];
|
char buf1[256];
|
||||||
|
|
||||||
WriteFile(stdout, title, lstrlen(title), &r, NULL);
|
WriteFile(Stdout, title, lstrlen(title), &r, NULL);
|
||||||
WriteFile(stdout, title1, lstrlen(title1), &r, NULL);
|
WriteFile(Stdout, title1, lstrlen(title1), &r, NULL);
|
||||||
WriteFile(stdout, title2, lstrlen(title2), &r, NULL);
|
WriteFile(Stdout, title2, lstrlen(title2), &r, NULL);
|
||||||
|
|
||||||
/* Get process information. */
|
/* Get process information. */
|
||||||
BufferSize = 0;
|
BufferSize = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue