Merge 16921 (weiden) from trunk: fixed success check in RtlpCreateAtomHandle, ExCreateHandle returns EX_INVALID_HANDLE in case of failure. Thx to Filip
Modified: branches/ros-branch-0_2_7/reactos/ntoskrnl/rtl/libsupp.c
--- branches/ros-branch-0_2_7/reactos/ntoskrnl/rtl/libsupp.c 2005-08-03 17:19:36 UTC (rev 17021) +++ branches/ros-branch-0_2_7/reactos/ntoskrnl/rtl/libsupp.c 2005-08-03 17:20:19 UTC (rev 17022) @@ -242,7 +242,7 @@
HandleIndex = ExCreateHandle(AtomTable->ExHandleTable, &ExEntry);
- if (HandleIndex != 0)
+ if (HandleIndex != EX_INVALID_HANDLE)
{ /* FIXME - Handle Indexes >= 0xC000 ?! */ if (HandleIndex < 0xC000)