@@ -648,7 +648,6 @@ static void test_cancelsynchronousio(void)
648648 struct synchronousio_thread_args ctx ;
649649
650650 /* bogus values */
651- todo_wine {
652651 res = pNtCancelSynchronousIoFile ((HANDLE )0xdeadbeef , NULL , & iosb );
653652 ok (res == STATUS_INVALID_HANDLE , "NtCancelSynchronousIoFile returned %lx\n" , res );
654653 res = pNtCancelSynchronousIoFile (GetCurrentThread (), NULL , NULL );
@@ -664,7 +663,6 @@ static void test_cancelsynchronousio(void)
664663 ok (U (iosb ).Status == STATUS_NOT_FOUND , "iosb.Status got changed to %lx\n" , U (iosb ).Status );
665664 ok (U (iosb ).Information == 0 , "iosb.Information got changed to %Iu\n" , U (iosb ).Information );
666665 }
667- }
668666
669667 /* synchronous i/o */
670668 res = create_pipe (& ctx .pipe , 0 , FILE_SHARE_READ | FILE_SHARE_WRITE , FILE_SYNCHRONOUS_IO_NONALERT );
@@ -679,13 +677,9 @@ static void test_cancelsynchronousio(void)
679677 ok (ret == WAIT_TIMEOUT , "WaitForSingleObject returned %lu (error %lu)\n" , ret , GetLastError ());
680678 memset (& iosb , 0x55 , sizeof (iosb ));
681679 res = pNtCancelSynchronousIoFile (thread , NULL , & iosb );
682- todo_wine {
683680 ok (res == STATUS_SUCCESS , "Failed to cancel I/O\n" );
684681 ok (U (iosb ).Status == STATUS_SUCCESS , "iosb.Status got changed to %lx\n" , U (iosb ).Status );
685682 ok (U (iosb ).Information == 0 , "iosb.Information got changed to %Iu\n" , U (iosb ).Information );
686- }
687- if (res == STATUS_NOT_IMPLEMENTED )
688- pNtCancelIoFileEx (ctx .pipe , NULL , & iosb );
689683 ret = WaitForSingleObject (thread , 1000 );
690684 ok (ret == WAIT_OBJECT_0 , "wait returned %lx\n" , ret );
691685 CloseHandle (thread );
@@ -705,7 +699,6 @@ static void test_cancelsynchronousio(void)
705699 ok (ret == WAIT_TIMEOUT , "WaitForSingleObject returned %lu (error %lu)\n" , ret , GetLastError ());
706700 memset (& iosb , 0x55 , sizeof (iosb ));
707701 res = pNtCancelSynchronousIoFile (thread , & iosb , & iosb );
708- todo_wine {
709702 ok (res == STATUS_NOT_FOUND , "NtCancelSynchronousIoFile returned %lx\n" , res );
710703 res = pNtCancelSynchronousIoFile (NULL , & ctx .iosb , & iosb );
711704 ok (res == STATUS_INVALID_HANDLE , "NtCancelSynchronousIoFile returned %lx\n" , res );
@@ -715,15 +708,12 @@ static void test_cancelsynchronousio(void)
715708 ok (U (iosb ).Status == STATUS_SUCCESS || broken (is_wow64 && U (iosb ).Status == STATUS_NOT_FOUND ),
716709 "iosb.Status got changed to %lx\n" , U (iosb ).Status );
717710 ok (U (iosb ).Information == 0 , "iosb.Information got changed to %Iu\n" , U (iosb ).Information );
718- }
719711 if (res == STATUS_NOT_FOUND )
720712 {
721713 res = pNtCancelSynchronousIoFile (thread , NULL , & iosb );
722714 ok (res == STATUS_SUCCESS , "Failed to cancel I/O\n" );
723715 ok (U (iosb ).Status == STATUS_SUCCESS , "iosb.Status got changed to %lx\n" , U (iosb ).Status );
724716 }
725- if (res == STATUS_NOT_IMPLEMENTED )
726- pNtCancelIoFileEx (ctx .pipe , NULL , & iosb );
727717 ret = WaitForSingleObject (thread , 1000 );
728718 ok (ret == WAIT_OBJECT_0 , "wait returned %lx\n" , ret );
729719 CloseHandle (thread );
@@ -742,7 +732,6 @@ static void test_cancelsynchronousio(void)
742732 ok (res == STATUS_PENDING , "NtFsControlFile returned %lx\n" , res );
743733 memset (& iosb , 0x55 , sizeof (iosb ));
744734 res = pNtCancelSynchronousIoFile (GetCurrentThread (), NULL , & iosb );
745- todo_wine {
746735 ok (res == STATUS_NOT_FOUND , "NtCancelSynchronousIoFile returned %lx\n" , res );
747736 ok (U (iosb ).Status == STATUS_NOT_FOUND , "iosb.Status got changed to %lx\n" , U (iosb ).Status );
748737 ok (U (iosb ).Information == 0 , "iosb.Information got changed to %Iu\n" , U (iosb ).Information );
@@ -751,7 +740,6 @@ static void test_cancelsynchronousio(void)
751740 ok (res == STATUS_NOT_FOUND , "NtCancelSynchronousIoFile returned %lx\n" , res );
752741 ok (U (iosb ).Status == STATUS_NOT_FOUND , "iosb.Status got changed to %lx\n" , U (iosb ).Status );
753742 ok (U (iosb ).Information == 0 , "iosb.Information got changed to %Iu\n" , U (iosb ).Information );
754- }
755743 ret = WaitForSingleObject (event , 0 );
756744 ok (ret == WAIT_TIMEOUT , "wait returned %lx\n" , ret );
757745 client = CreateFileW (testpipe , GENERIC_READ | GENERIC_WRITE , 0 , 0 , OPEN_EXISTING ,
0 commit comments