From: Günther Deschner Date: Wed, 4 Jan 2017 15:08:59 +0000 (+0100) Subject: spoolss: Fix PROCESSOR_AMD_X8664 value in IDL X-Git-Tag: talloc-2.1.9~404 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e7302dd1078d0743d90ff719184d832ebe486cb;p=thirdparty%2Fsamba.git spoolss: Fix PROCESSOR_AMD_X8664 value in IDL 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 Reviewed-by: Andreas Schneider --- diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl index 6ab8f0331d0..078f69f04b9 100644 --- a/librpc/idl/spoolss.idl +++ b/librpc/idl/spoolss.idl @@ -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 {