From 892aa2fc75075e3762dbd5c43b8b0d6550e6e208 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 17 Nov 2003 12:43:18 +0000 Subject: added wkssvc.idl and test code I think this is our first complete pipe for Samba4 (albeit a simple one). Of course, there may be lots more info levels that Samba3 didn't do. Time to explore :) (This used to be commit 3305226140793f39af827b63c270486c1966718e) --- source4/librpc/idl/wkssvc.idl | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 source4/librpc/idl/wkssvc.idl (limited to 'source4/librpc/idl') diff --git a/source4/librpc/idl/wkssvc.idl b/source4/librpc/idl/wkssvc.idl new file mode 100644 index 0000000000..8f76a862f3 --- /dev/null +++ b/source4/librpc/idl/wkssvc.idl @@ -0,0 +1,30 @@ +/* + wkssvc interface definitions +*/ + +[ uuid(6bffd098-a112-3610-9833-46c3f87e345a), + version(1.0), + pointer_default(unique) +] interface wkssvc +{ + /******************/ + /* Function: 0x00 */ + typedef struct { + uint32 platform_id; /* 0x0000 01f4 - unknown */ + unistr *uni_compname; /* unicode server name */ + unistr *uni_lan_grp; /* unicode domain name */ + uint32 ver_major; /* 4 - unknown */ + uint32 ver_minor; /* 0 - unknown */ + } wks_Info100; + + typedef union { + case (100) wks_Info100 *info100; + } wks_Info; + + NTSTATUS wks_QueryInfo( + [in] unistr *server_name, + [in] uint32 level, + [out,switch_is(level)] wks_Info info + ); + +} -- cgit