# Licensed to the .NET Foundation under one or more agreements. # The .NET Foundation licenses this file to you under the MIT license. # See the LICENSE file in the project root for more information. Version = 1.0 Section = Threading Function = DuplicateHandle Name = Test for DuplicateHandle TYPE = DEFAULT EXE1 = test2 Description = Tests the PAL implementation of the DuplicateHandle function. = This will test duplication of an CreateEvent handle. Test an = event in a signaled state to wait, and then set the duplicate = to nonsignaled state and perform the wait again. The wait on = the event should fail. Test the duplication of closed and NULL = events, these should fail.