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