report NOT_IMPLEMENTED for not implemented token classes

Aric Stewart aric at codeweavers.com
Fri Jul 2 10:46:58 CDT 2004


If a given token class is not implemented in wine, then return not 
implement when trying to get that information and not success
-------------- next part --------------
Index: nt.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/nt.c,v
retrieving revision 1.62
diff -u -w -r1.62 nt.c
--- nt.c	19 Apr 2004 19:25:29 -0000	1.62
+++ nt.c	2 Jul 2004 15:45:32 -0000
@@ -275,6 +275,11 @@
             owner->Owner = sid;
         }
         break;
+    default:
+        {
+            ERR("Unhandled Token Information class!\n");
+            return STATUS_NOT_IMPLEMENTED;
+        }
     }
     return 0;
 }


More information about the wine-patches mailing list