diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-07-01 12:19:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:19:03 -0500 |
commit | ccaf752e357833b8acc49b471d78b56ae90c8d0f (patch) | |
tree | a8934e765a069a548a846714dad0610b3a7f0674 /source4/librpc | |
parent | 4354bebda7273169304ad41fea1aa5cadfa322cf (diff) | |
download | samba-ccaf752e357833b8acc49b471d78b56ae90c8d0f.tar.gz samba-ccaf752e357833b8acc49b471d78b56ae90c8d0f.tar.bz2 samba-ccaf752e357833b8acc49b471d78b56ae90c8d0f.zip |
r8054: add OSVersion, OSVersionEx, DNSMachineName PrintServerData
metze
(This used to be commit 47781fccbc9a4fc3867e4c3959a17765c7e4dc71)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/idl/spoolss.idl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/source4/librpc/idl/spoolss.idl b/source4/librpc/idl/spoolss.idl index 0dec162763..f0f18088c6 100644 --- a/source4/librpc/idl/spoolss.idl +++ b/source4/librpc/idl/spoolss.idl @@ -724,15 +724,37 @@ /* Function: 0x1a */ const string SPOOLSS_ARCHITECTURE_NT_X86 = "Windows NT x86"; + typedef [public,gensize] struct { + [value(ndr_size_spoolss_OSVersion(r,ndr->flags))] uint32 _ndr_size; + uint32 major; + uint32 minor; + uint32 build; + [value(2)] uint32 unknown; + [subcontext(0),subcontext_size(256)] nstring extra_string; + } spoolss_OSVersion; + + typedef [public,gensize] struct { + [value(ndr_size_spoolss_OSVersionEx(r,ndr->flags))] uint32 _ndr_size; + uint32 major; + uint32 minor; + uint32 build; + [value(2)] uint32 unknown1; + [subcontext(0),subcontext_size(256)] nstring extra_string; + uint32 unknown2;/* service pack number? I saw 0 from w2k3 and 1 from winxp sp1*/ + uint32 unknown3;/* hmm? w2k3: 131346(0x20112) winxp sp1: 503382272 0x1E010100 */ + } spoolss_OSVersionEx; + typedef [v1_enum] enum { SPOOLSS_PRINTER_DATA_TYPE_NULL = 0, SPOOLSS_PRINTER_DATA_TYPE_STRING = 1, + SPOOLSS_PRINTER_DATA_TYPE_BINARY = 3, SPOOLSS_PRINTER_DATA_TYPE_UINT32 = 4 } spoolss_PrinterDataType; typedef [nodiscriminant,gensize] union { [case(SPOOLSS_PRINTER_DATA_TYPE_NULL)]; [case(SPOOLSS_PRINTER_DATA_TYPE_STRING)] nstring string; + [case(SPOOLSS_PRINTER_DATA_TYPE_BINARY),flag(NDR_REMAINING)] DATA_BLOB binary; [case(SPOOLSS_PRINTER_DATA_TYPE_UINT32)] uint32 value; [default,flag(NDR_REMAINING)] DATA_BLOB data; } spoolss_PrinterData; |