mirror of
https://github.com/reactos/reactos.git
synced 2025-06-29 08:09:48 +00:00
* Sync up to trunk HEAD (r62502).
svn path=/branches/shell-experiments/; revision=62503
This commit is contained in:
commit
f4388e723d
442 changed files with 16244 additions and 5506 deletions
|
@ -25,7 +25,8 @@ BOOL IsConsoleHandle(HANDLE hHandle)
|
|||
DWORD dwMode;
|
||||
|
||||
/* Check whether the handle may be that of a console... */
|
||||
if ((GetFileType(hHandle) & FILE_TYPE_CHAR) == 0) return FALSE;
|
||||
if ((GetFileType(hHandle) & ~FILE_TYPE_REMOTE) != FILE_TYPE_CHAR)
|
||||
return FALSE;
|
||||
|
||||
/*
|
||||
* It may be. Perform another test... The idea comes from the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue