# # # Copyright (c) 2002 Microsoft Corporation. All rights reserved. # # The use and distribution terms for this software are contained in the file # named license.txt, which can be found in the root of this distribution. # By using this software in any fashion, you are agreeing to be bound by the # terms of this license. # # You must not remove this notice, or any other, from this software. # # Version = 1.0 Section = threading Function = ExitThread Name = Test for ExitThread TYPE = DEFAULT EXE1 = test2 EXE2 = childprocess Description = Test to ensure proper operation of the ExitThread = API. This test launches a simple child process that exits = by calling ExitThread() with a known value, and checks = that the correct value is returned to the parent process. = This verifies that when the last thread of a process exits = via ExitThread, the process exits with the proper return = code.