Author: hbelusca
Date: Sun Dec 30 22:00:20 2012
New Revision: 58064
URL: http://svn.reactos.org/svn/reactos?rev=58064&view=rev
Log:
[CONSRV]
I replaced by error the mask 0x10000003 by 0x3, which had as an effect to match handles of value 0xffffffff (invalid_handle_value). Fichtre !
Modified:
branches/ros-csrss/include/reactos/subsys/win/console.h
Modified: branches/ros-csrss/include/reactos/subsys/win/console.h
URL: http://svn.reactos.org/svn/reactos/branches/ros-csrss/include/reactos/subsy…
==============================================================================
--- branches/ros-csrss/include/reactos/subsys/win/console.h [iso-8859-1] (original)
+++ branches/ros-csrss/include/reactos/subsys/win/console.h [iso-8859-1] Sun Dec 30 22:00:20 2012
@@ -12,7 +12,7 @@
#pragma once
#define IsConsoleHandle(h) \
- (((ULONG_PTR)(h) & 0x3) == 0x3)
+ (((ULONG_PTR)(h) & 0x10000003) == 0x3)
#endif // _CONSOLE_H