spoolss: Fix PROCESSOR_AMD_X8664 value in IDL
authorGünther Deschner <gd@samba.org>
Wed, 4 Jan 2017 15:08:59 +0000 (16:08 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 12 Jan 2017 14:35:13 +0000 (15:35 +0100)
Microsoft got their docs wrong in MS-RPRN Section 2.2.1.10.1 (footnote
65): PROCESSOR_AMD_X8664 must be 0x000021D8 and not 0x000022A0.

This is what recent windows versions report back from a spoolss
getprinter level 0 RPC call.

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
librpc/idl/spoolss.idl

index 6ab8f0331d0fedc3728ca696bdce3df704e0fc6a..078f69f04b99fdd652792aae6dbf6c1802aa5b40 100644 (file)
@@ -42,11 +42,11 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor")
 
        typedef [v1_enum] enum {
                PROCESSOR_ARM                           = 0x00000000,
-               PROCESSOR_INTEL_386                     = 0x00000182,
-               PROCESSOR_INTEL_486                     = 0x000001E6,
-               PROCESSOR_INTEL_PENTIUM                 = 0x0000024A,
-               PROCESSOR_INTEL_IA64                    = 0x00000898,
-               PROCESSOR_AMD_X8664                     = 0x000022A0
+               PROCESSOR_INTEL_386                     = 0x00000182, /* 386 */
+               PROCESSOR_INTEL_486                     = 0x000001E6, /* 486 */
+               PROCESSOR_INTEL_PENTIUM                 = 0x0000024A, /* 586 */
+               PROCESSOR_INTEL_IA64                    = 0x00000898, /* 2200 */
+               PROCESSOR_AMD_X8664                     = 0x000021D8  /* 8664 */
        } spoolss_ProcessorType;
 
        typedef [v1_enum] enum {