Andrew Cook : ntdll: Return success for JobObjectBasicUIRestrictions.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Apr 6 10:34:18 CDT 2015


Module: wine
Branch: master
Commit: 4113fd875c4eaf1fe5d05080f7059c641572a5c1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4113fd875c4eaf1fe5d05080f7059c641572a5c1

Author: Andrew Cook <ariscop at gmail.com>
Date:   Sun Apr  5 07:04:25 2015 +1000

ntdll: Return success for JobObjectBasicUIRestrictions.

---

 dlls/ntdll/sync.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/sync.c b/dlls/ntdll/sync.c
index a4df88a..5db736e 100644
--- a/dlls/ntdll/sync.c
+++ b/dlls/ntdll/sync.c
@@ -634,7 +634,7 @@ NTSTATUS WINAPI NtQueryInformationJobObject( HANDLE handle, JOBOBJECTINFOCLASS c
  */
 NTSTATUS WINAPI NtSetInformationJobObject( HANDLE handle, JOBOBJECTINFOCLASS class, PVOID info, ULONG len )
 {
-    NTSTATUS status = STATUS_SUCCESS;
+    NTSTATUS status = STATUS_NOT_IMPLEMENTED;
     JOBOBJECT_BASIC_LIMIT_INFORMATION *basic_limit;
     ULONG info_size = sizeof(JOBOBJECT_BASIC_LIMIT_INFORMATION);
     DWORD limit_flags = JOB_OBJECT_BASIC_LIMIT_VALID_FLAGS;
@@ -683,9 +683,11 @@ NTSTATUS WINAPI NtSetInformationJobObject( HANDLE handle, JOBOBJECTINFOCLASS cla
         SERVER_END_REQ;
         break;
 
+    case JobObjectBasicUIRestrictions:
+        status = STATUS_SUCCESS;
+        /* fallthrough */
     default:
         FIXME( "stub: %p %u %p %u\n", handle, class, info, len );
-        return STATUS_NOT_IMPLEMENTED;
     }
 
     return status;




More information about the wine-cvs mailing list