summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-25 13:45:15 +0100
committerGünther Deschner <gd@samba.org>2009-02-25 14:19:56 +0100
commitc46fad3d1bdf1082a695d3df90e55e739e494a5c (patch)
tree14d9bb91602daa99ae7e1f41606fb11006766501
parent2390ea274bff7a8878a488db0893a393c9d1b51e (diff)
downloadsamba-c46fad3d1bdf1082a695d3df90e55e739e494a5c.tar.gz
samba-c46fad3d1bdf1082a695d3df90e55e739e494a5c.tar.bz2
samba-c46fad3d1bdf1082a695d3df90e55e739e494a5c.zip
spoolss: add spoolss_FormInfo2 used by Vista.
Guenther
-rw-r--r--librpc/idl/spoolss.idl20
1 files changed, 20 insertions, 0 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl
index 3e35399f8d..5359fdf4a2 100644
--- a/librpc/idl/spoolss.idl
+++ b/librpc/idl/spoolss.idl
@@ -1237,8 +1237,28 @@ import "misc.idl", "security.idl", "winreg.idl";
spoolss_FormArea area;
} spoolss_FormInfo1;
+ typedef [bitmap32bit] bitmap {
+ SPOOLSS_FORM_STRING_TYPE_NONE = 0x00000001,
+ SPOOLSS_FORM_STRING_TYPE_MUI_DLL = 0x00000002,
+ SPOOLSS_FORM_STRING_TYPE_LANG_PAIR = 0x00000004
+ } spoolss_FormStringType;
+
+ typedef struct {
+ spoolss_FormFlags flags;
+ [relative] nstring *form_name;
+ spoolss_FormSize size;
+ spoolss_FormArea area;
+ [relative] nstring *keyword;
+ spoolss_FormStringType string_type;
+ [relative] nstring *mui_dll;
+ uint32 ressource_id;
+ [relative] nstring *display_name;
+ uint32 lang_id;
+ } spoolss_FormInfo2;
+
typedef [nodiscriminant,relative_base,public,gensize] union {
[case(1)] spoolss_FormInfo1 info1;
+ [case(2)] spoolss_FormInfo2 info2;
[default];
} spoolss_FormInfo;