spoolss.idl: use access mask defines from security.idl
[kai/samba-autobuild/.git] / librpc / idl / spoolss.idl
index 9010a950c0e60dc90a3c0c6c5b3a87162f145972..df19bee6334a3a723ff41a3645818abd6728c6e7 100644 (file)
@@ -2867,10 +2867,10 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor")
                                                PRINTER_ALL_ACCESS;
 
        const int PRINTER_ACE_MANAGE_DOCUMENTS = SEC_GENERIC_ALL |
-                                               READ_CONTROL_ACCESS;
+                                                SEC_STD_READ_CONTROL;
 
-       const int PRINTER_ACE_PRINT     = GENERIC_EXECUTE_ACCESS |
-                                         READ_CONTROL_ACCESS |
+       const int PRINTER_ACE_PRINT     = SEC_GENERIC_EXECUTE |
+                                         SEC_STD_READ_CONTROL |
                                          PRINTER_ACCESS_USE;
 
        /******************/