2 Unix SMB/Netbios implementation.
4 SMB parameters and setup
5 Copyright (C) Andrew Tridgell 1992-1997
6 Copyright (C) Luke Kenneth Casson Leighton 1996-1997
7 Copyright (C) Paul Ashton 1997
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 #ifndef _RPC_WKS_H /* _RPC_WKS_H */
29 #define WKS_QUERY_INFO 0x00
32 /* WKS_Q_QUERY_INFO - probably a capabilities request */
33 typedef struct q_wks_query_info_info
35 uint32 ptr_srv_name
; /* pointer (to server name?) */
36 UNISTR2 uni_srv_name
; /* unicode server name starting with '\\' */
38 uint16 switch_value
; /* info level 100 (0x64) */
43 /* WKS_INFO_100 - level 100 info */
44 typedef struct wks_info_100_info
46 uint32 platform_id
; /* 0x0000 01f4 - unknown */
47 uint32 ptr_compname
; /* pointer to server name */
48 uint32 ptr_lan_grp
; /* pointer to domain name */
49 uint32 ver_major
; /* 4 - unknown */
50 uint32 ver_minor
; /* 0 - unknown */
52 UNISTR2 uni_compname
; /* unicode server name */
53 UNISTR2 uni_lan_grp
; /* unicode domain name */
58 /* WKS_R_QUERY_INFO - probably a capabilities request */
59 typedef struct r_wks_query_info_info
61 uint16 switch_value
; /* 100 (0x64) - switch value */
63 /* for now, only level 100 is supported. this should be an enum container */
64 uint32 ptr_1
; /* pointer 1 */
65 WKS_INFO_100
*wks100
; /* workstation info level 100 */
67 uint32 status
; /* return status */
72 #endif /* _RPC_WKS_H */