Use MAC address documentation range in filter examples
[metze/wireshark/wip.git] / epan / dissectors / packet-dcerpc-wkssvc.c
1 /* DO NOT EDIT
2         This filter was automatically generated
3         from wkssvc.idl and wkssvc.cnf.
4
5         Pidl is a perl based IDL compiler for DCE/RPC idl files. 
6         It is maintained by the Samba team, not the Wireshark team.
7         Instructions on how to download and install Pidl can be 
8         found at http://wiki.wireshark.org/Pidl
9 */
10
11
12 #include "config.h"
13
14 #ifdef _MSC_VER
15 #pragma warning(disable:4005)
16 #pragma warning(disable:4013)
17 #pragma warning(disable:4018)
18 #pragma warning(disable:4101)
19 #endif
20
21 #include <glib.h>
22 #include <string.h>
23 #include <epan/packet.h>
24
25 #include "packet-dcerpc.h"
26 #include "packet-dcerpc-nt.h"
27 #include "packet-windows-common.h"
28 #include "packet-dcerpc-wkssvc.h"
29
30 void proto_register_dcerpc_wkssvc(void);
31 void proto_reg_handoff_dcerpc_wkssvc(void);
32
33 /* Ett declarations */
34 static gint ett_dcerpc_wkssvc = -1;
35 static gint ett_wkssvc_lsa_String = -1;
36 static gint ett_wkssvc_wkssvc_NetWkstaInfo100 = -1;
37 static gint ett_wkssvc_wkssvc_NetWkstaInfo101 = -1;
38 static gint ett_wkssvc_wkssvc_NetWkstaInfo102 = -1;
39 static gint ett_wkssvc_wkssvc_NetWkstaInfo502 = -1;
40 static gint ett_wkssvc_wkssvc_NetWkstaInfo1010 = -1;
41 static gint ett_wkssvc_wkssvc_NetWkstaInfo1011 = -1;
42 static gint ett_wkssvc_wkssvc_NetWkstaInfo1012 = -1;
43 static gint ett_wkssvc_wkssvc_NetWkstaInfo1013 = -1;
44 static gint ett_wkssvc_wkssvc_NetWkstaInfo1018 = -1;
45 static gint ett_wkssvc_wkssvc_NetWkstaInfo1023 = -1;
46 static gint ett_wkssvc_wkssvc_NetWkstaInfo1027 = -1;
47 static gint ett_wkssvc_wkssvc_NetWkstaInfo1028 = -1;
48 static gint ett_wkssvc_wkssvc_NetWkstaInfo1032 = -1;
49 static gint ett_wkssvc_wkssvc_NetWkstaInfo1033 = -1;
50 static gint ett_wkssvc_wkssvc_NetWkstaInfo1041 = -1;
51 static gint ett_wkssvc_wkssvc_NetWkstaInfo1042 = -1;
52 static gint ett_wkssvc_wkssvc_NetWkstaInfo1043 = -1;
53 static gint ett_wkssvc_wkssvc_NetWkstaInfo1044 = -1;
54 static gint ett_wkssvc_wkssvc_NetWkstaInfo1045 = -1;
55 static gint ett_wkssvc_wkssvc_NetWkstaInfo1046 = -1;
56 static gint ett_wkssvc_wkssvc_NetWkstaInfo1047 = -1;
57 static gint ett_wkssvc_wkssvc_NetWkstaInfo1048 = -1;
58 static gint ett_wkssvc_wkssvc_NetWkstaInfo1049 = -1;
59 static gint ett_wkssvc_wkssvc_NetWkstaInfo1050 = -1;
60 static gint ett_wkssvc_wkssvc_NetWkstaInfo1051 = -1;
61 static gint ett_wkssvc_wkssvc_NetWkstaInfo1052 = -1;
62 static gint ett_wkssvc_wkssvc_NetWkstaInfo1053 = -1;
63 static gint ett_wkssvc_wkssvc_NetWkstaInfo1054 = -1;
64 static gint ett_wkssvc_wkssvc_NetWkstaInfo1055 = -1;
65 static gint ett_wkssvc_wkssvc_NetWkstaInfo1056 = -1;
66 static gint ett_wkssvc_wkssvc_NetWkstaInfo1057 = -1;
67 static gint ett_wkssvc_wkssvc_NetWkstaInfo1058 = -1;
68 static gint ett_wkssvc_wkssvc_NetWkstaInfo1059 = -1;
69 static gint ett_wkssvc_wkssvc_NetWkstaInfo1060 = -1;
70 static gint ett_wkssvc_wkssvc_NetWkstaInfo1061 = -1;
71 static gint ett_wkssvc_wkssvc_NetWkstaInfo1062 = -1;
72 static gint ett_wkssvc_wkssvc_NetWkstaInfo = -1;
73 static gint ett_wkssvc_wkssvc_NetrWkstaUserInfo0 = -1;
74 static gint ett_wkssvc_wkssvc_NetWkstaEnumUsersCtr0 = -1;
75 static gint ett_wkssvc_wkssvc_NetrWkstaUserInfo1 = -1;
76 static gint ett_wkssvc_wkssvc_NetWkstaEnumUsersCtr1 = -1;
77 static gint ett_wkssvc_wkssvc_NetWkstaEnumUsersCtr = -1;
78 static gint ett_wkssvc_wkssvc_NetWkstaEnumUsersInfo = -1;
79 static gint ett_wkssvc_wkssvc_NetrWkstaUserInfo1101 = -1;
80 static gint ett_wkssvc_wkssvc_NetrWkstaUserInfo = -1;
81 static gint ett_wkssvc_wkssvc_NetWkstaTransportInfo0 = -1;
82 static gint ett_wkssvc_wkssvc_NetWkstaTransportCtr0 = -1;
83 static gint ett_wkssvc_wkssvc_NetWkstaTransportCtr = -1;
84 static gint ett_wkssvc_wkssvc_NetWkstaTransportInfo = -1;
85 static gint ett_wkssvc_wkssvc_NetrUseInfo3 = -1;
86 static gint ett_wkssvc_wkssvc_NetrUseInfo2 = -1;
87 static gint ett_wkssvc_wkssvc_NetrUseInfo1 = -1;
88 static gint ett_wkssvc_wkssvc_NetrUseInfo0 = -1;
89 static gint ett_wkssvc_wkssvc_NetrUseGetInfoCtr = -1;
90 static gint ett_wkssvc_wkssvc_NetrUseEnumCtr2 = -1;
91 static gint ett_wkssvc_wkssvc_NetrUseEnumCtr1 = -1;
92 static gint ett_wkssvc_wkssvc_NetrUseEnumCtr0 = -1;
93 static gint ett_wkssvc_wkssvc_NetrUseEnumCtr = -1;
94 static gint ett_wkssvc_wkssvc_NetrUseEnumInfo = -1;
95 static gint ett_wkssvc_wkssvc_NetrWorkstationStatistics = -1;
96 static gint ett_wkssvc_wkssvc_renameflags = -1;
97 static gint ett_wkssvc_wkssvc_PasswordBuffer = -1;
98 static gint ett_wkssvc_wkssvc_joinflags = -1;
99 static gint ett_wkssvc_wkssvc_ComputerNamesCtr = -1;
100
101
102 /* Header field declarations */
103 static gint hf_wkssvc_wkssvc_NetrUseInfo2_use_count = -1;
104 static gint hf_wkssvc_wkssvc_NetWkstaTransportInfo0_quality_of_service = -1;
105 static gint hf_wkssvc_wkssvc_NetWkstaInfo1045_pipe_maximum = -1;
106 static gint hf_wkssvc_wkssvc_NetrUseInfo2_password = -1;
107 static gint hf_wkssvc_wkssvc_NetrJoinDomain2_join_flags = -1;
108 static gint hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr1 = -1;
109 static gint hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_level = -1;
110 static gint hf_wkssvc_wkssvc_NetrUseEnum_entries_read = -1;
111 static gint hf_wkssvc_wkssvc_NetrSetPrimaryComputername_EncryptedPassword = -1;
112 static gint hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_parm_err = -1;
113 static gint hf_wkssvc_wkssvc_NetrUseEnum_info = -1;
114 static gint hf_wkssvc_wkssvc_NetrSetPrimaryComputername_Account = -1;
115 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown14 = -1;
116 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr_user0 = -1;
117 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus_domain_name = -1;
118 static gint hf_wkssvc_wkssvc_NetrUseInfo2_user_name = -1;
119 static gint hf_wkssvc_wkssvc_NetWkstaInfo101_version_major = -1;
120 static gint hf_wkssvc_wkssvc_NetrWkstaUserInfo1_other_domains = -1;
121 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus_Account = -1;
122 static gint hf_wkssvc_wkssvc_NetWkstaTransportCtr_ctr0 = -1;
123 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_dgram_event_reset_freq = -1;
124 static gint hf_wkssvc_wkssvc_NetWkstaInfo102_lan_root = -1;
125 static gint hf_wkssvc_wkssvc_NetrWkstaUserInfo1_user_name = -1;
126 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info502 = -1;
127 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown32 = -1;
128 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown29 = -1;
129 static gint hf_wkssvc_wkssvc_NetWkstaInfo1055_use_raw_write = -1;
130 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1051 = -1;
131 static gint hf_wkssvc_wkssvc_NetrValidateName2_name = -1;
132 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_dormant_file_limit = -1;
133 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_maximum_collection_count = -1;
134 static gint hf_wkssvc_wkssvc_NetrMessageBufferSend_server_name = -1;
135 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_use_write_raw_data = -1;
136 static gint hf_wkssvc_wkssvc_NetrEnumerateComputerNames_Reserved = -1;
137 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_size_char_buf = -1;
138 static gint hf_wkssvc_wkssvc_NetWkstaTransportCtr0_array = -1;
139 static gint hf_wkssvc_wkssvc_NetrEnumerateComputerNames_name_type = -1;
140 static gint hf_wkssvc_wkssvc_NetrUseAdd_parm_err = -1;
141 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown9 = -1;
142 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus2_num_ous = -1;
143 static gint hf_wkssvc_wkssvc_NetrRenameMachineInDomain_server_name = -1;
144 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown38 = -1;
145 static gint hf_wkssvc_wkssvc_NetrWkstaUserInfo1101_other_domains = -1;
146 static gint hf_wkssvc_wkssvc_NetWkstaGetInfo_level = -1;
147 static gint hf_wkssvc_wkssvc_NetrUseInfo1_ref_count = -1;
148 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown4 = -1;
149 static gint hf_wkssvc_wkssvc_NetrJoinDomain2_domain_name = -1;
150 static gint hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr2 = -1;
151 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown3 = -1;
152 static gint hf_wkssvc_wkssvc_NetrJoinDomain_join_flags = -1;
153 static gint hf_wkssvc_wkssvc_NetrUseDel_use_name = -1;
154 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_buf_files_deny_write = -1;
155 static gint hf_wkssvc_wkssvc_NetrUseGetInfo_use_name = -1;
156 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1060 = -1;
157 static gint hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_unknown4 = -1;
158 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1057 = -1;
159 static gint hf_wkssvc_wkssvc_NetWkstaTransportInfo_level = -1;
160 static gint hf_wkssvc_wkssvc_NetWkstaTransportInfo0_name = -1;
161 static gint hf_wkssvc_wkssvc_NetrUseEnumCtr1_array = -1;
162 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown20 = -1;
163 static gint hf_wkssvc_wkssvc_NetrUseEnum_server_name = -1;
164 static gint hf_wkssvc_lsa_String_name_size = -1;
165 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr1_entries_read = -1;
166 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown37 = -1;
167 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1058 = -1;
168 static gint hf_wkssvc_lsa_String_name_len = -1;
169 static gint hf_wkssvc_wkssvc_NetrUseGetInfo_server_name = -1;
170 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE = -1;
171 static gint hf_wkssvc_wkssvc_NetWkstaInfo1043_lock_maximum = -1;
172 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown24 = -1;
173 static gint hf_wkssvc_wkssvc_NetWkstaInfo102_domain_name = -1;
174 static gint hf_wkssvc_wkssvc_NetrUseDel_force_cond = -1;
175 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsers_resume_handle = -1;
176 static gint hf_wkssvc_wkssvc_NetrUseEnumCtr0_count = -1;
177 static gint hf_wkssvc_wkssvc_NetWkstaInfo1053_utilize_nt_caching = -1;
178 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_num_srv_announce_buffers = -1;
179 static gint hf_wkssvc_wkssvc_NetWkstaInfo100_platform_id = -1;
180 static gint hf_wkssvc_wkssvc_NetrSetPrimaryComputername_primary_name = -1;
181 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown36 = -1;
182 static gint hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info0 = -1;
183 static gint hf_wkssvc_wkssvc_NetrUseGetInfo_ctr = -1;
184 static gint hf_wkssvc_wkssvc_NetrUseInfo3_unknown2 = -1;
185 static gint hf_wkssvc_wkssvc_NetrWkstaUserInfo_info1 = -1;
186 static gint hf_wkssvc_wkssvc_NetWkstaInfo1048_use_opportunistic_locking = -1;
187 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown27 = -1;
188 static gint hf_wkssvc_wkssvc_NetWkstaTransportInfo0_vc_count = -1;
189 static gint hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_EncryptedPassword = -1;
190 static gint hf_wkssvc_wkssvc_NetrAddAlternateComputerName_Account = -1;
191 static gint hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_info = -1;
192 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsers_entries_read = -1;
193 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsers_prefmaxlen = -1;
194 static gint hf_wkssvc_wkssvc_NetrWkstaUserInfo1_logon_domain = -1;
195 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown16 = -1;
196 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_log_election_packets = -1;
197 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_use_raw_read = -1;
198 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus_unknown = -1;
199 static gint hf_wkssvc_wkssvc_NetrSetPrimaryComputername_Reserved = -1;
200 static gint hf_wkssvc_wkssvc_NetWkstaInfo1027_errorlog_sz = -1;
201 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1052 = -1;
202 static gint hf_wkssvc_wkssvc_NetWkstaInfo1012_maximum_collection_count = -1;
203 static gint hf_wkssvc_wkssvc_NetrJoinDomain2_admin_account = -1;
204 static gint hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr0 = -1;
205 static gint hf_wkssvc_wkssvc_NetWkstaInfo1050_use_close_behind = -1;
206 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_use_unlock_behind = -1;
207 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr_user1 = -1;
208 static gint hf_wkssvc_wkssvc_NetWkstaInfo102_version_minor = -1;
209 static gint hf_wkssvc_wkssvc_ComputerNamesCtr_count = -1;
210 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1048 = -1;
211 static gint hf_wkssvc_wkssvc_NetWkstaInfo1018_session_timeout = -1;
212 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_keep_connection = -1;
213 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown31 = -1;
214 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_max_commands = -1;
215 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_lock_quota = -1;
216 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown40 = -1;
217 static gint hf_wkssvc_wkssvc_NetWkstaInfo1033_max_threads = -1;
218 static gint hf_wkssvc_wkssvc_NetrUseAdd_level = -1;
219 static gint hf_wkssvc_wkssvc_renameflags_WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE = -1;
220 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown25 = -1;
221 static gint hf_wkssvc_wkssvc_NetrUseDel_server_name = -1;
222 static gint hf_wkssvc_wkssvc_NetrWkstaUserInfo1_logon_server = -1;
223 static gint hf_wkssvc_wkssvc_PasswordBuffer_data = -1;
224 static gint hf_wkssvc_wkssvc_NetrUseInfo3_unknown1 = -1;
225 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_cache_file_timeout = -1;
226 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_num_mailslot_buffers = -1;
227 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1055 = -1;
228 static gint hf_wkssvc_wkssvc_NetrRenameMachineInDomain_password = -1;
229 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown13 = -1;
230 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_utilize_nt_caching = -1;
231 static gint hf_wkssvc_wkssvc_NetWkstaInfo1061_use_512_byte_max_transfer = -1;
232 static gint hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_info = -1;
233 static gint hf_wkssvc_wkssvc_NetWkstaSetInfo_server_name = -1;
234 static gint hf_wkssvc_wkssvc_NetrJoinDomain2_encrypted_password = -1;
235 static gint hf_wkssvc_wkssvc_NetrUseEnum_prefmaxlen = -1;
236 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown2 = -1;
237 static gint hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_server_name = -1;
238 static gint hf_wkssvc_wkssvc_NetrWkstaTransportDel_server_name = -1;
239 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DEFER_SPN = -1;
240 static gint hf_wkssvc_wkssvc_NetWkstaInfo1010_char_wait = -1;
241 static gint hf_wkssvc_wkssvc_NetrRenameMachineInDomain_RenameOptions = -1;
242 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsers_server_name = -1;
243 static gint hf_wkssvc_wkssvc_NetrRenameMachineInDomain_Account = -1;
244 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown23 = -1;
245 static gint hf_wkssvc_wkssvc_NetrUseEnumInfo_ctr = -1;
246 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsersInfo_ctr = -1;
247 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr0_user0 = -1;
248 static gint hf_wkssvc_lsa_String_name = -1;
249 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_buf_read_only_files = -1;
250 static gint hf_wkssvc_wkssvc_NetrUnjoinDomain_server_name = -1;
251 static gint hf_wkssvc_wkssvc_NetWkstaInfo101_lan_root = -1;
252 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_TYPE = -1;
253 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_buf_named_pipes = -1;
254 static gint hf_wkssvc_wkssvc_NetrUseInfo2_ref_count = -1;
255 static gint hf_wkssvc_wkssvc_NetWkstaInfo1044_pipe_increment = -1;
256 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED = -1;
257 static gint hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_AlternateMachineNameToRemove = -1;
258 static gint hf_wkssvc_wkssvc_NetrUseEnumCtr2_array = -1;
259 static gint hf_wkssvc_wkssvc_NetWkstaGetInfo_info = -1;
260 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_max_illegal_dgram_events = -1;
261 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1047 = -1;
262 static gint hf_wkssvc_wkssvc_NetrValidateName_Password = -1;
263 static gint hf_wkssvc_wkssvc_NetWkstaInfo1028_print_buf_time = -1;
264 static gint hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info3 = -1;
265 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus2_Account = -1;
266 static gint hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_RenameOptions = -1;
267 static gint hf_wkssvc_wkssvc_NetrWkstaUserInfo_info1101 = -1;
268 static gint hf_wkssvc_wkssvc_NetrJoinDomain2_account_name = -1;
269 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown17 = -1;
270 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1013 = -1;
271 static gint hf_wkssvc_wkssvc_NetrValidateName2_server_name = -1;
272 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown34 = -1;
273 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1018 = -1;
274 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr0_entries_read = -1;
275 static gint hf_wkssvc_wkssvc_NetWkstaInfo1057_use_encryption = -1;
276 static gint hf_wkssvc_wkssvc_NetrUseInfo1_status = -1;
277 static gint hf_wkssvc_wkssvc_NetWkstaTransportInfo0_wan_link = -1;
278 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown35 = -1;
279 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown7 = -1;
280 static gint hf_wkssvc_wkssvc_NetWkstaSetInfo_parm_error = -1;
281 static gint hf_wkssvc_wkssvc_NetrUseInfo0_remote = -1;
282 static gint hf_wkssvc_wkssvc_NetrWkstaUserInfo_info0 = -1;
283 static gint hf_wkssvc_wkssvc_NetWkstaInfo1060_force_core_create_mode = -1;
284 static gint hf_wkssvc_wkssvc_NetrWkstaUserInfo0_user_name = -1;
285 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info101 = -1;
286 static gint hf_wkssvc_wkssvc_NetWkstaTransportInfo0_address = -1;
287 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown39 = -1;
288 static gint hf_wkssvc_wkssvc_NetrUseEnumCtr2_count = -1;
289 static gint hf_wkssvc_wkssvc_NetrGetJoinInformation_name_buffer = -1;
290 static gint hf_wkssvc_wkssvc_NetrRenameMachineInDomain_NewMachineName = -1;
291 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_lock_maximum = -1;
292 static gint hf_wkssvc_wkssvc_NetrUnjoinDomain_Account = -1;
293 static gint hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_level = -1;
294 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1049 = -1;
295 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus_num_ous = -1;
296 static gint hf_wkssvc_wkssvc_NetrUseInfo2_asg_type = -1;
297 static gint hf_wkssvc_wkssvc_NetrUseInfo1_password = -1;
298 static gint hf_wkssvc_wkssvc_NetrJoinDomain_unknown = -1;
299 static gint hf_wkssvc_wkssvc_NetrUseInfo1_local = -1;
300 static gint hf_wkssvc_wkssvc_NetWkstaInfo1054_use_raw_read = -1;
301 static gint hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_server_name = -1;
302 static gint hf_wkssvc_wkssvc_NetWkstaInfo1023_size_char_buf = -1;
303 static gint hf_wkssvc_wkssvc_NetWkstaInfo100_domain_name = -1;
304 static gint hf_wkssvc_wkssvc_NetWkstaTransportEnum_max_buffer = -1;
305 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT = -1;
306 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1042 = -1;
307 static gint hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_unknown = -1;
308 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1045 = -1;
309 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1011 = -1;
310 static gint hf_wkssvc_wkssvc_NetWkstaInfo1049_use_unlock_behind = -1;
311 static gint hf_wkssvc_wkssvc_NetWkstaInfo1062_read_ahead_throughput = -1;
312 static gint hf_wkssvc_wkssvc_NetWkstaInfo1056_use_write_raw_data = -1;
313 static gint hf_wkssvc_wkssvc_NetrWkstaTransportAdd_info0 = -1;
314 static gint hf_wkssvc_wkssvc_NetrValidateName_name = -1;
315 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown18 = -1;
316 static gint hf_wkssvc_wkssvc_NetrMessageBufferSend_message_size = -1;
317 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_UNSECURE = -1;
318 static gint hf_wkssvc_wkssvc_ComputerNamesCtr_computer_name = -1;
319 static gint hf_wkssvc_wkssvc_NetrValidateName2_name_type = -1;
320 static gint hf_wkssvc_wkssvc_NetrValidateName2_Account = -1;
321 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus_server_name = -1;
322 static gint hf_wkssvc_wkssvc_NetWkstaTransportEnum_total_entries = -1;
323 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE = -1;
324 static gint hf_wkssvc_wkssvc_NetrValidateName2_EncryptedPassword = -1;
325 static gint hf_wkssvc_wkssvc_NetrWkstaTransportDel_unknown3 = -1;
326 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1062 = -1;
327 static gint hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_unknown = -1;
328 static gint hf_wkssvc_wkssvc_NetrAddAlternateComputerName_server_name = -1;
329 static gint hf_wkssvc_wkssvc_NetrJoinDomain2_server_name = -1;
330 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info102 = -1;
331 static gint hf_wkssvc_wkssvc_NetrJoinDomain_Account = -1;
332 static gint hf_wkssvc_wkssvc_NetWkstaInfo1046_dormant_file_limit = -1;
333 static gint hf_wkssvc_wkssvc_NetrWkstaTransportAdd_parm_err = -1;
334 static gint hf_wkssvc_wkssvc_NetWkstaInfo102_version_major = -1;
335 static gint hf_wkssvc_platform_id = -1;
336 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown22 = -1;
337 static gint hf_wkssvc_wkssvc_NetrUseInfo1_use_count = -1;
338 static gint hf_wkssvc_wkssvc_NetrUnjoinDomain2_server_name = -1;
339 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_use_512_byte_max_transfer = -1;
340 static gint hf_wkssvc_wkssvc_NetWkstaTransportEnum_info = -1;
341 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1033 = -1;
342 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1046 = -1;
343 static gint hf_wkssvc_wkssvc_NetWkstaSetInfo_info = -1;
344 static gint hf_wkssvc_wkssvc_NetrMessageBufferSend_message_sender_name = -1;
345 static gint hf_wkssvc_wkssvc_NetrUseInfo1_remote = -1;
346 static gint hf_wkssvc_wkssvc_NetrUseInfo2_domain_name = -1;
347 static gint hf_wkssvc_wkssvc_NetrUseEnumCtr1_count = -1;
348 static gint hf_wkssvc_wkssvc_NetWkstaInfo1047_cache_file_timeout = -1;
349 static gint hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info2 = -1;
350 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown30 = -1;
351 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1028 = -1;
352 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info100 = -1;
353 static gint hf_wkssvc_wkssvc_NetrLogonDomainNameDel_domain_name = -1;
354 static gint hf_wkssvc_wkssvc_NetWkstaInfo1013_keep_connection = -1;
355 static gint hf_wkssvc_wkssvc_NetrEnumerateComputerNames_server_name = -1;
356 static gint hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_info = -1;
357 static gint hf_wkssvc_wkssvc_NetrMessageBufferSend_message_name = -1;
358 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_session_timeout = -1;
359 static gint hf_wkssvc_wkssvc_NetrUseEnumCtr0_array = -1;
360 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown6 = -1;
361 static gint hf_wkssvc_wkssvc_NetWkstaTransportInfo_ctr = -1;
362 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_collection_time = -1;
363 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1054 = -1;
364 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown10 = -1;
365 static gint hf_wkssvc_wkssvc_NetWkstaInfo1032_wrk_heuristics = -1;
366 static gint hf_wkssvc_wkssvc_NetWkstaInfo101_version_minor = -1;
367 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED = -1;
368 static gint hf_wkssvc_wkssvc_NetrWkstaTransportAdd_level = -1;
369 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown33 = -1;
370 static gint hf_wkssvc_wkssvc_NetrEnumerateComputerNames_ctr = -1;
371 static gint hf_wkssvc_wkssvc_NetWkstaTransportEnum_server_name = -1;
372 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_max_threads = -1;
373 static gint hf_wkssvc_wkssvc_NetWkstaInfo1042_lock_increment = -1;
374 static gint hf_wkssvc_wkssvc_NetrUseGetInfo_level = -1;
375 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1050 = -1;
376 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_lock_increment = -1;
377 static gint hf_wkssvc_wkssvc_NetrUseInfo2_local = -1;
378 static gint hf_wkssvc_wkssvc_NetrValidateName_server_name = -1;
379 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1041 = -1;
380 static gint hf_wkssvc_wkssvc_NetrUseInfo2_status = -1;
381 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown12 = -1;
382 static gint hf_wkssvc_wkssvc_NetrJoinDomain_account_ou = -1;
383 static gint hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_unknown3 = -1;
384 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown19 = -1;
385 static gint hf_wkssvc_wkssvc_NetrAddAlternateComputerName_EncryptedPassword = -1;
386 static gint hf_wkssvc_wkssvc_NetWkstaInfo1058_buf_files_deny_write = -1;
387 static gint hf_wkssvc_wkssvc_NetrUnjoinDomain2_account = -1;
388 static gint hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_unknown2 = -1;
389 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1043 = -1;
390 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown21 = -1;
391 static gint hf_wkssvc_wkssvc_NetWkstaInfo102_server_name = -1;
392 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_use_encryption = -1;
393 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1059 = -1;
394 static gint hf_wkssvc_wkssvc_NetrValidateName_name_type = -1;
395 static gint hf_wkssvc_wkssvc_NetrMessageBufferSend_message_buffer = -1;
396 static gint hf_wkssvc_wkssvc_NetWkstaTransportCtr0_count = -1;
397 static gint hf_wkssvc_wkssvc_NetrUseEnumInfo_level = -1;
398 static gint hf_wkssvc_wkssvc_NetWkstaInfo1041_lock_quota = -1;
399 static gint hf_wkssvc_wkssvc_NetrUseAdd_ctr = -1;
400 static gint hf_wkssvc_wkssvc_NetrUseEnum_resume_handle = -1;
401 static gint hf_wkssvc_wkssvc_NetWkstaInfo100_version_major = -1;
402 static gint hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_Reserved = -1;
403 static gint hf_wkssvc_wkssvc_NetrUseAdd_server_name = -1;
404 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown11 = -1;
405 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1012 = -1;
406 static gint hf_wkssvc_wkssvc_NetrUnjoinDomain_password = -1;
407 static gint hf_wkssvc_werror = -1;
408 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus2_domain_name = -1;
409 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_pipe_increment = -1;
410 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1044 = -1;
411 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus2_EncryptedPassword = -1;
412 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1010 = -1;
413 static gint hf_wkssvc_wkssvc_NetWkstaInfo1051_buf_named_pipes = -1;
414 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_read_ahead_throughput = -1;
415 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus_ous = -1;
416 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown5 = -1;
417 static gint hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_NewMachineName = -1;
418 static gint hf_wkssvc_wkssvc_NetrWkstaTransportDel_transport_name = -1;
419 static gint hf_wkssvc_wkssvc_NetrUseInfo0_local = -1;
420 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_use_raw_write = -1;
421 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus2_ous = -1;
422 static gint hf_wkssvc_wkssvc_NetWkstaInfo101_server_name = -1;
423 static gint hf_wkssvc_wkssvc_NetrGetJoinableOus2_server_name = -1;
424 static gint hf_wkssvc_wkssvc_NetWkstaInfo1059_buf_read_only_files = -1;
425 static gint hf_wkssvc_wkssvc_NetWkstaInfo100_version_minor = -1;
426 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE = -1;
427 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_use_close_behind = -1;
428 static gint hf_wkssvc_opnum = -1;
429 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_force_core_create_mode = -1;
430 static gint hf_wkssvc_wkssvc_NetWkstaInfo1011_collection_time = -1;
431 static gint hf_wkssvc_wkssvc_NetrGetJoinInformation_server_name = -1;
432 static gint hf_wkssvc_wkssvc_NetWkstaInfo101_domain_name = -1;
433 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1061 = -1;
434 static gint hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info1 = -1;
435 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsersInfo_level = -1;
436 static gint hf_wkssvc_wkssvc_NetrSetPrimaryComputername_server_name = -1;
437 static gint hf_wkssvc_wkssvc_NetrUnjoinDomain_unjoin_flags = -1;
438 static gint hf_wkssvc_wkssvc_NetWkstaTransportEnum_resume_handle = -1;
439 static gint hf_wkssvc_wkssvc_NetrJoinDomain_server_name = -1;
440 static gint hf_wkssvc_wkssvc_NetWkstaInfo102_platform_id = -1;
441 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown8 = -1;
442 static gint hf_wkssvc_wkssvc_NetrAddAlternateComputerName_Reserved = -1;
443 static gint hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME = -1;
444 static gint hf_wkssvc_wkssvc_NetrWkstaTransportAdd_server_name = -1;
445 static gint hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_server_name = -1;
446 static gint hf_wkssvc_wkssvc_NetWkstaInfo101_platform_id = -1;
447 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_use_opportunistic_locking = -1;
448 static gint hf_wkssvc_wkssvc_NetWkstaInfo100_server_name = -1;
449 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown28 = -1;
450 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr1_user1 = -1;
451 static gint hf_wkssvc_wkssvc_NetWkstaGetInfo_server_name = -1;
452 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1023 = -1;
453 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown15 = -1;
454 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_use_lock_read_unlock = -1;
455 static gint hf_wkssvc_wkssvc_NetrUseInfo1_asg_type = -1;
456 static gint hf_wkssvc_wkssvc_NetrUnjoinDomain2_unjoin_flags = -1;
457 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown1 = -1;
458 static gint hf_wkssvc_wkssvc_NetrLogonDomainNameAdd_domain_name = -1;
459 static gint hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown26 = -1;
460 static gint hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_Account = -1;
461 static gint hf_wkssvc_wkssvc_NetWkstaEnumUsers_info = -1;
462 static gint hf_wkssvc_wkssvc_NetrGetJoinInformation_name_type = -1;
463 static gint hf_wkssvc_wkssvc_NetrAddAlternateComputerName_NewAlternateMachineName = -1;
464 static gint hf_wkssvc_wkssvc_NetrUnjoinDomain2_encrypted_password = -1;
465 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_char_wait = -1;
466 static gint hf_wkssvc_wkssvc_NetWkstaInfo502_pipe_maximum = -1;
467 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1027 = -1;
468 static gint hf_wkssvc_wkssvc_NetWkstaInfo1052_use_lock_read_unlock = -1;
469 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1056 = -1;
470 static gint hf_wkssvc_wkssvc_NetrValidateName_Account = -1;
471 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1032 = -1;
472 static gint hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_Account = -1;
473 static gint hf_wkssvc_wkssvc_NetWkstaInfo_info1053 = -1;
474 static gint hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_EncryptedPassword = -1;
475 static gint hf_wkssvc_wkssvc_NetWkstaSetInfo_level = -1;
476 static gint hf_wkssvc_wkssvc_NetrJoinDomain_domain_name = -1;
477 static gint hf_wkssvc_wkssvc_NetWkstaInfo102_logged_on_users = -1;
478 static gint hf_wkssvc_wkssvc_NetrUseInfo2_remote = -1;
479
480 static gint proto_dcerpc_wkssvc = -1;
481 /* Version information */
482
483
484 static e_guid_t uuid_dcerpc_wkssvc = {
485         0x6bffd098, 0xa112, 0x3610,
486         { 0x98, 0x33, 0x46, 0xc3, 0xf8, 0x7e, 0x34, 0x5a }
487 };
488 static guint16 ver_dcerpc_wkssvc = 1;
489
490 static int wkssvc_dissect_element_lsa_String_name_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
491 static int wkssvc_dissect_element_lsa_String_name_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
492 static int wkssvc_dissect_element_lsa_String_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
493 static int wkssvc_dissect_element_lsa_String_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
494 static int wkssvc_dissect_element_NetWkstaInfo100_platform_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
495 static int wkssvc_dissect_element_NetWkstaInfo100_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
496 static int wkssvc_dissect_element_NetWkstaInfo100_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
497 static int wkssvc_dissect_element_NetWkstaInfo100_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
498 static int wkssvc_dissect_element_NetWkstaInfo100_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
499 static int wkssvc_dissect_element_NetWkstaInfo100_version_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
500 static int wkssvc_dissect_element_NetWkstaInfo100_version_minor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
501 static int wkssvc_dissect_element_NetWkstaInfo101_platform_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
502 static int wkssvc_dissect_element_NetWkstaInfo101_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
503 static int wkssvc_dissect_element_NetWkstaInfo101_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
504 static int wkssvc_dissect_element_NetWkstaInfo101_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
505 static int wkssvc_dissect_element_NetWkstaInfo101_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
506 static int wkssvc_dissect_element_NetWkstaInfo101_version_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
507 static int wkssvc_dissect_element_NetWkstaInfo101_version_minor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
508 static int wkssvc_dissect_element_NetWkstaInfo101_lan_root(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
509 static int wkssvc_dissect_element_NetWkstaInfo101_lan_root_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
510 static int wkssvc_dissect_element_NetWkstaInfo102_platform_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
511 static int wkssvc_dissect_element_NetWkstaInfo102_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
512 static int wkssvc_dissect_element_NetWkstaInfo102_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
513 static int wkssvc_dissect_element_NetWkstaInfo102_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
514 static int wkssvc_dissect_element_NetWkstaInfo102_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
515 static int wkssvc_dissect_element_NetWkstaInfo102_version_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
516 static int wkssvc_dissect_element_NetWkstaInfo102_version_minor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
517 static int wkssvc_dissect_element_NetWkstaInfo102_lan_root(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
518 static int wkssvc_dissect_element_NetWkstaInfo102_lan_root_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
519 static int wkssvc_dissect_element_NetWkstaInfo102_logged_on_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
520 static int wkssvc_dissect_element_NetWkstaInfo502_char_wait(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
521 static int wkssvc_dissect_element_NetWkstaInfo502_collection_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
522 static int wkssvc_dissect_element_NetWkstaInfo502_maximum_collection_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
523 static int wkssvc_dissect_element_NetWkstaInfo502_keep_connection(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
524 static int wkssvc_dissect_element_NetWkstaInfo502_max_commands(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
525 static int wkssvc_dissect_element_NetWkstaInfo502_session_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
526 static int wkssvc_dissect_element_NetWkstaInfo502_size_char_buf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
527 static int wkssvc_dissect_element_NetWkstaInfo502_max_threads(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
528 static int wkssvc_dissect_element_NetWkstaInfo502_lock_quota(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
529 static int wkssvc_dissect_element_NetWkstaInfo502_lock_increment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
530 static int wkssvc_dissect_element_NetWkstaInfo502_lock_maximum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
531 static int wkssvc_dissect_element_NetWkstaInfo502_pipe_increment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
532 static int wkssvc_dissect_element_NetWkstaInfo502_pipe_maximum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
533 static int wkssvc_dissect_element_NetWkstaInfo502_cache_file_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
534 static int wkssvc_dissect_element_NetWkstaInfo502_dormant_file_limit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
535 static int wkssvc_dissect_element_NetWkstaInfo502_read_ahead_throughput(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
536 static int wkssvc_dissect_element_NetWkstaInfo502_num_mailslot_buffers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
537 static int wkssvc_dissect_element_NetWkstaInfo502_num_srv_announce_buffers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
538 static int wkssvc_dissect_element_NetWkstaInfo502_max_illegal_dgram_events(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
539 static int wkssvc_dissect_element_NetWkstaInfo502_dgram_event_reset_freq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
540 static int wkssvc_dissect_element_NetWkstaInfo502_log_election_packets(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
541 static int wkssvc_dissect_element_NetWkstaInfo502_use_opportunistic_locking(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
542 static int wkssvc_dissect_element_NetWkstaInfo502_use_unlock_behind(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
543 static int wkssvc_dissect_element_NetWkstaInfo502_use_close_behind(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
544 static int wkssvc_dissect_element_NetWkstaInfo502_buf_named_pipes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
545 static int wkssvc_dissect_element_NetWkstaInfo502_use_lock_read_unlock(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
546 static int wkssvc_dissect_element_NetWkstaInfo502_utilize_nt_caching(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
547 static int wkssvc_dissect_element_NetWkstaInfo502_use_raw_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
548 static int wkssvc_dissect_element_NetWkstaInfo502_use_raw_write(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
549 static int wkssvc_dissect_element_NetWkstaInfo502_use_write_raw_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
550 static int wkssvc_dissect_element_NetWkstaInfo502_use_encryption(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
551 static int wkssvc_dissect_element_NetWkstaInfo502_buf_files_deny_write(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
552 static int wkssvc_dissect_element_NetWkstaInfo502_buf_read_only_files(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
553 static int wkssvc_dissect_element_NetWkstaInfo502_force_core_create_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
554 static int wkssvc_dissect_element_NetWkstaInfo502_use_512_byte_max_transfer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
555 static int wkssvc_dissect_element_NetWkstaInfo1010_char_wait(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
556 static int wkssvc_dissect_element_NetWkstaInfo1011_collection_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
557 static int wkssvc_dissect_element_NetWkstaInfo1012_maximum_collection_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
558 static int wkssvc_dissect_element_NetWkstaInfo1013_keep_connection(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
559 static int wkssvc_dissect_element_NetWkstaInfo1018_session_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
560 static int wkssvc_dissect_element_NetWkstaInfo1023_size_char_buf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
561 static int wkssvc_dissect_element_NetWkstaInfo1027_errorlog_sz(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
562 static int wkssvc_dissect_element_NetWkstaInfo1028_print_buf_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
563 static int wkssvc_dissect_element_NetWkstaInfo1032_wrk_heuristics(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
564 static int wkssvc_dissect_element_NetWkstaInfo1033_max_threads(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
565 static int wkssvc_dissect_element_NetWkstaInfo1041_lock_quota(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
566 static int wkssvc_dissect_element_NetWkstaInfo1042_lock_increment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
567 static int wkssvc_dissect_element_NetWkstaInfo1043_lock_maximum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
568 static int wkssvc_dissect_element_NetWkstaInfo1044_pipe_increment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
569 static int wkssvc_dissect_element_NetWkstaInfo1045_pipe_maximum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
570 static int wkssvc_dissect_element_NetWkstaInfo1046_dormant_file_limit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
571 static int wkssvc_dissect_element_NetWkstaInfo1047_cache_file_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
572 static int wkssvc_dissect_element_NetWkstaInfo1048_use_opportunistic_locking(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
573 static int wkssvc_dissect_element_NetWkstaInfo1049_use_unlock_behind(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
574 static int wkssvc_dissect_element_NetWkstaInfo1050_use_close_behind(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
575 static int wkssvc_dissect_element_NetWkstaInfo1051_buf_named_pipes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
576 static int wkssvc_dissect_element_NetWkstaInfo1052_use_lock_read_unlock(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
577 static int wkssvc_dissect_element_NetWkstaInfo1053_utilize_nt_caching(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
578 static int wkssvc_dissect_element_NetWkstaInfo1054_use_raw_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
579 static int wkssvc_dissect_element_NetWkstaInfo1055_use_raw_write(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
580 static int wkssvc_dissect_element_NetWkstaInfo1056_use_write_raw_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
581 static int wkssvc_dissect_element_NetWkstaInfo1057_use_encryption(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
582 static int wkssvc_dissect_element_NetWkstaInfo1058_buf_files_deny_write(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
583 static int wkssvc_dissect_element_NetWkstaInfo1059_buf_read_only_files(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
584 static int wkssvc_dissect_element_NetWkstaInfo1060_force_core_create_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
585 static int wkssvc_dissect_element_NetWkstaInfo1061_use_512_byte_max_transfer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
586 static int wkssvc_dissect_element_NetWkstaInfo1062_read_ahead_throughput(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
587 static int wkssvc_dissect_element_NetWkstaInfo_info100(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
588 static int wkssvc_dissect_element_NetWkstaInfo_info100_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
589 static int wkssvc_dissect_element_NetWkstaInfo_info101(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
590 static int wkssvc_dissect_element_NetWkstaInfo_info101_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
591 static int wkssvc_dissect_element_NetWkstaInfo_info102(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
592 static int wkssvc_dissect_element_NetWkstaInfo_info102_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
593 static int wkssvc_dissect_element_NetWkstaInfo_info502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
594 static int wkssvc_dissect_element_NetWkstaInfo_info502_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
595 static int wkssvc_dissect_element_NetWkstaInfo_info1010(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
596 static int wkssvc_dissect_element_NetWkstaInfo_info1010_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
597 static int wkssvc_dissect_element_NetWkstaInfo_info1011(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
598 static int wkssvc_dissect_element_NetWkstaInfo_info1011_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
599 static int wkssvc_dissect_element_NetWkstaInfo_info1012(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
600 static int wkssvc_dissect_element_NetWkstaInfo_info1012_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
601 static int wkssvc_dissect_element_NetWkstaInfo_info1013(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
602 static int wkssvc_dissect_element_NetWkstaInfo_info1013_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
603 static int wkssvc_dissect_element_NetWkstaInfo_info1018(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
604 static int wkssvc_dissect_element_NetWkstaInfo_info1018_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
605 static int wkssvc_dissect_element_NetWkstaInfo_info1023(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
606 static int wkssvc_dissect_element_NetWkstaInfo_info1023_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
607 static int wkssvc_dissect_element_NetWkstaInfo_info1027(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
608 static int wkssvc_dissect_element_NetWkstaInfo_info1027_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
609 static int wkssvc_dissect_element_NetWkstaInfo_info1028(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
610 static int wkssvc_dissect_element_NetWkstaInfo_info1028_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
611 static int wkssvc_dissect_element_NetWkstaInfo_info1032(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
612 static int wkssvc_dissect_element_NetWkstaInfo_info1032_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
613 static int wkssvc_dissect_element_NetWkstaInfo_info1033(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
614 static int wkssvc_dissect_element_NetWkstaInfo_info1033_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
615 static int wkssvc_dissect_element_NetWkstaInfo_info1041(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
616 static int wkssvc_dissect_element_NetWkstaInfo_info1041_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
617 static int wkssvc_dissect_element_NetWkstaInfo_info1042(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
618 static int wkssvc_dissect_element_NetWkstaInfo_info1042_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
619 static int wkssvc_dissect_element_NetWkstaInfo_info1043(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
620 static int wkssvc_dissect_element_NetWkstaInfo_info1043_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
621 static int wkssvc_dissect_element_NetWkstaInfo_info1044(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
622 static int wkssvc_dissect_element_NetWkstaInfo_info1044_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
623 static int wkssvc_dissect_element_NetWkstaInfo_info1045(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
624 static int wkssvc_dissect_element_NetWkstaInfo_info1045_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
625 static int wkssvc_dissect_element_NetWkstaInfo_info1046(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
626 static int wkssvc_dissect_element_NetWkstaInfo_info1046_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
627 static int wkssvc_dissect_element_NetWkstaInfo_info1047(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
628 static int wkssvc_dissect_element_NetWkstaInfo_info1047_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
629 static int wkssvc_dissect_element_NetWkstaInfo_info1048(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
630 static int wkssvc_dissect_element_NetWkstaInfo_info1048_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
631 static int wkssvc_dissect_element_NetWkstaInfo_info1049(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
632 static int wkssvc_dissect_element_NetWkstaInfo_info1049_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
633 static int wkssvc_dissect_element_NetWkstaInfo_info1050(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
634 static int wkssvc_dissect_element_NetWkstaInfo_info1050_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
635 static int wkssvc_dissect_element_NetWkstaInfo_info1051(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
636 static int wkssvc_dissect_element_NetWkstaInfo_info1051_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
637 static int wkssvc_dissect_element_NetWkstaInfo_info1052(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
638 static int wkssvc_dissect_element_NetWkstaInfo_info1052_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
639 static int wkssvc_dissect_element_NetWkstaInfo_info1053(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
640 static int wkssvc_dissect_element_NetWkstaInfo_info1053_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
641 static int wkssvc_dissect_element_NetWkstaInfo_info1054(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
642 static int wkssvc_dissect_element_NetWkstaInfo_info1054_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
643 static int wkssvc_dissect_element_NetWkstaInfo_info1055(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
644 static int wkssvc_dissect_element_NetWkstaInfo_info1055_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
645 static int wkssvc_dissect_element_NetWkstaInfo_info1056(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
646 static int wkssvc_dissect_element_NetWkstaInfo_info1056_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
647 static int wkssvc_dissect_element_NetWkstaInfo_info1057(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
648 static int wkssvc_dissect_element_NetWkstaInfo_info1057_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
649 static int wkssvc_dissect_element_NetWkstaInfo_info1058(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
650 static int wkssvc_dissect_element_NetWkstaInfo_info1058_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
651 static int wkssvc_dissect_element_NetWkstaInfo_info1059(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
652 static int wkssvc_dissect_element_NetWkstaInfo_info1059_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
653 static int wkssvc_dissect_element_NetWkstaInfo_info1060(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
654 static int wkssvc_dissect_element_NetWkstaInfo_info1060_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
655 static int wkssvc_dissect_element_NetWkstaInfo_info1061(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
656 static int wkssvc_dissect_element_NetWkstaInfo_info1061_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
657 static int wkssvc_dissect_element_NetWkstaInfo_info1062(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
658 static int wkssvc_dissect_element_NetWkstaInfo_info1062_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
659 static int wkssvc_dissect_element_NetrWkstaUserInfo0_user_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
660 static int wkssvc_dissect_element_NetrWkstaUserInfo0_user_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
661 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr0_entries_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
662 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr0_user0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
663 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr0_user0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
664 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr0_user0__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
665 static int wkssvc_dissect_element_NetrWkstaUserInfo1_user_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
666 static int wkssvc_dissect_element_NetrWkstaUserInfo1_user_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
667 static int wkssvc_dissect_element_NetrWkstaUserInfo1_logon_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
668 static int wkssvc_dissect_element_NetrWkstaUserInfo1_logon_domain_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
669 static int wkssvc_dissect_element_NetrWkstaUserInfo1_other_domains(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
670 static int wkssvc_dissect_element_NetrWkstaUserInfo1_other_domains_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
671 static int wkssvc_dissect_element_NetrWkstaUserInfo1_logon_server(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
672 static int wkssvc_dissect_element_NetrWkstaUserInfo1_logon_server_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
673 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr1_entries_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
674 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr1_user1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
675 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr1_user1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
676 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr1_user1__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
677 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr_user0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
678 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr_user0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
679 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr_user1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
680 static int wkssvc_dissect_element_NetWkstaEnumUsersCtr_user1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
681 static int wkssvc_dissect_element_NetWkstaEnumUsersInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
682 static int wkssvc_dissect_element_NetWkstaEnumUsersInfo_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
683 static int wkssvc_dissect_element_NetrWkstaUserInfo1101_other_domains(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
684 static int wkssvc_dissect_element_NetrWkstaUserInfo1101_other_domains_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
685 static int wkssvc_dissect_element_NetrWkstaUserInfo_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
686 static int wkssvc_dissect_element_NetrWkstaUserInfo_info0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
687 static int wkssvc_dissect_element_NetrWkstaUserInfo_info1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
688 static int wkssvc_dissect_element_NetrWkstaUserInfo_info1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
689 static int wkssvc_dissect_element_NetrWkstaUserInfo_info1101(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
690 static int wkssvc_dissect_element_NetrWkstaUserInfo_info1101_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
691 static int wkssvc_dissect_element_NetWkstaTransportInfo0_quality_of_service(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
692 static int wkssvc_dissect_element_NetWkstaTransportInfo0_vc_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
693 static int wkssvc_dissect_element_NetWkstaTransportInfo0_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
694 static int wkssvc_dissect_element_NetWkstaTransportInfo0_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
695 static int wkssvc_dissect_element_NetWkstaTransportInfo0_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
696 static int wkssvc_dissect_element_NetWkstaTransportInfo0_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
697 static int wkssvc_dissect_element_NetWkstaTransportInfo0_wan_link(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
698 static int wkssvc_dissect_element_NetWkstaTransportCtr0_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
699 static int wkssvc_dissect_element_NetWkstaTransportCtr0_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
700 static int wkssvc_dissect_element_NetWkstaTransportCtr0_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
701 static int wkssvc_dissect_element_NetWkstaTransportCtr0_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
702 static int wkssvc_dissect_element_NetWkstaTransportCtr_ctr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
703 static int wkssvc_dissect_element_NetWkstaTransportCtr_ctr0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
704 static int wkssvc_dissect_element_NetWkstaTransportInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
705 static int wkssvc_dissect_element_NetWkstaTransportInfo_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
706 static int wkssvc_dissect_element_NetrUseInfo3_unknown1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
707 static int wkssvc_dissect_element_NetrUseInfo3_unknown1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
708 static int wkssvc_dissect_element_NetrUseInfo3_unknown2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
709 static int wkssvc_dissect_element_NetrUseInfo3_unknown2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
710 static int wkssvc_dissect_element_NetrUseInfo2_local(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
711 static int wkssvc_dissect_element_NetrUseInfo2_local_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
712 static int wkssvc_dissect_element_NetrUseInfo2_remote(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
713 static int wkssvc_dissect_element_NetrUseInfo2_remote_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
714 static int wkssvc_dissect_element_NetrUseInfo2_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
715 static int wkssvc_dissect_element_NetrUseInfo2_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
716 static int wkssvc_dissect_element_NetrUseInfo2_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
717 static int wkssvc_dissect_element_NetrUseInfo2_asg_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
718 static int wkssvc_dissect_element_NetrUseInfo2_ref_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
719 static int wkssvc_dissect_element_NetrUseInfo2_use_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
720 static int wkssvc_dissect_element_NetrUseInfo2_user_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
721 static int wkssvc_dissect_element_NetrUseInfo2_user_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
722 static int wkssvc_dissect_element_NetrUseInfo2_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
723 static int wkssvc_dissect_element_NetrUseInfo2_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
724 static int wkssvc_dissect_element_NetrUseInfo1_local(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
725 static int wkssvc_dissect_element_NetrUseInfo1_local_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
726 static int wkssvc_dissect_element_NetrUseInfo1_remote(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
727 static int wkssvc_dissect_element_NetrUseInfo1_remote_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
728 static int wkssvc_dissect_element_NetrUseInfo1_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
729 static int wkssvc_dissect_element_NetrUseInfo1_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
730 static int wkssvc_dissect_element_NetrUseInfo1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
731 static int wkssvc_dissect_element_NetrUseInfo1_asg_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
732 static int wkssvc_dissect_element_NetrUseInfo1_ref_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
733 static int wkssvc_dissect_element_NetrUseInfo1_use_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
734 static int wkssvc_dissect_element_NetrUseInfo0_local(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
735 static int wkssvc_dissect_element_NetrUseInfo0_local_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
736 static int wkssvc_dissect_element_NetrUseInfo0_remote(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
737 static int wkssvc_dissect_element_NetrUseInfo0_remote_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
738 static int wkssvc_dissect_element_NetrUseGetInfoCtr_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
739 static int wkssvc_dissect_element_NetrUseGetInfoCtr_info0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
740 static int wkssvc_dissect_element_NetrUseGetInfoCtr_info1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
741 static int wkssvc_dissect_element_NetrUseGetInfoCtr_info1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
742 static int wkssvc_dissect_element_NetrUseGetInfoCtr_info2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
743 static int wkssvc_dissect_element_NetrUseGetInfoCtr_info2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
744 static int wkssvc_dissect_element_NetrUseGetInfoCtr_info3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
745 static int wkssvc_dissect_element_NetrUseGetInfoCtr_info3_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
746 static int wkssvc_dissect_element_NetrUseEnumCtr2_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
747 static int wkssvc_dissect_element_NetrUseEnumCtr2_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
748 static int wkssvc_dissect_element_NetrUseEnumCtr2_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
749 static int wkssvc_dissect_element_NetrUseEnumCtr2_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
750 static int wkssvc_dissect_element_NetrUseEnumCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
751 static int wkssvc_dissect_element_NetrUseEnumCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
752 static int wkssvc_dissect_element_NetrUseEnumCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
753 static int wkssvc_dissect_element_NetrUseEnumCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
754 static int wkssvc_dissect_element_NetrUseEnumCtr0_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
755 static int wkssvc_dissect_element_NetrUseEnumCtr0_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
756 static int wkssvc_dissect_element_NetrUseEnumCtr0_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
757 static int wkssvc_dissect_element_NetrUseEnumCtr0_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
758 static int wkssvc_dissect_element_NetrUseEnumCtr_ctr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
759 static int wkssvc_dissect_element_NetrUseEnumCtr_ctr0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
760 static int wkssvc_dissect_element_NetrUseEnumCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
761 static int wkssvc_dissect_element_NetrUseEnumCtr_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
762 static int wkssvc_dissect_element_NetrUseEnumCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
763 static int wkssvc_dissect_element_NetrUseEnumCtr_ctr2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
764 static int wkssvc_dissect_element_NetrUseEnumInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
765 static int wkssvc_dissect_element_NetrUseEnumInfo_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
766 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
767 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
768 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
769 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
770 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
771 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
772 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
773 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
774 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
775 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
776 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown11(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
777 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown12(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
778 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown13(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
779 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown14(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
780 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown15(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
781 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown16(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
782 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown17(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
783 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown18(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
784 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown19(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
785 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown20(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
786 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown21(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
787 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown22(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
788 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown23(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
789 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown24(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
790 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown25(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
791 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown26(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
792 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown27(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
793 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown28(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
794 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown29(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
795 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown30(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
796 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown31(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
797 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown32(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
798 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown33(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
799 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown34(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
800 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown35(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
801 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown36(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
802 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown37(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
803 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown38(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
804 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown39(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
805 static int wkssvc_dissect_element_NetrWorkstationStatistics_unknown40(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
806 static const true_false_string wkssvc_renameflags_WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE_tfs = {
807    "WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE is SET",
808    "WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE is NOT SET",
809 };
810 const value_string wkssvc_wkssvc_NetValidateNameType_vals[] = {
811         { NetSetupUnknown, "NetSetupUnknown" },
812         { NetSetupMachine, "NetSetupMachine" },
813         { NetSetupWorkgroup, "NetSetupWorkgroup" },
814         { NetSetupDomain, "NetSetupDomain" },
815         { NetSetupNonExistentDomain, "NetSetupNonExistentDomain" },
816         { NetSetupDnsMachine, "NetSetupDnsMachine" },
817 { 0, NULL }
818 };
819 const value_string wkssvc_wkssvc_NetJoinStatus_vals[] = {
820         { NetSetupUnknownStatus, "NetSetupUnknownStatus" },
821         { NetSetupUnjoined, "NetSetupUnjoined" },
822         { NetSetupWorkgroupName, "NetSetupWorkgroupName" },
823         { NetSetupDomainName, "NetSetupDomainName" },
824 { 0, NULL }
825 };
826 static int wkssvc_dissect_element_PasswordBuffer_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
827 static int wkssvc_dissect_element_PasswordBuffer_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
828 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME_tfs = {
829    "WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME is SET",
830    "WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME is NOT SET",
831 };
832 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT_tfs = {
833    "WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT is SET",
834    "WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT is NOT SET",
835 };
836 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DEFER_SPN_tfs = {
837    "Defer setting of servicePrincipalName and dNSHostName attributes on the computer object until a rename operation",
838    "Set servicePrincipalName and dNSHostName attributes on the computer object",
839 };
840 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED_tfs = {
841    "Set the machine password after domain join to passed password",
842    "Do not set the machine password after domain join to passed password",
843 };
844 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_UNSECURE_tfs = {
845    "Performs an unsecured join",
846    "Perform a secured join",
847 };
848 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED_tfs = {
849    "Allow a join to a new domain even if the computer is already joined to a domain",
850    "Do not allow join to a new domain if the computer is already joined to a domain",
851 };
852 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE_tfs = {
853    "The join operation is occuring as part of an upgrade of Windows 9x",
854    "The join operation is not part of a Windows 9x upgrade",
855 };
856 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE_tfs = {
857    "Delete the account when a domain is left",
858    "Do not delete the account when a domain is left",
859 };
860 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE_tfs = {
861    "Create the account on the domain",
862    "Do not create the account",
863 };
864 static const true_false_string wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_TYPE_tfs = {
865    "Join the computer to a domain",
866    "Join the computer to a workgroup",
867 };
868 const value_string wkssvc_wkssvc_ComputerNameType_vals[] = {
869         { NetPrimaryComputerName, "NetPrimaryComputerName" },
870         { NetAlternateComputerNames, "NetAlternateComputerNames" },
871         { NetAllComputerNames, "NetAllComputerNames" },
872         { NetComputerNameTypeMax, "NetComputerNameTypeMax" },
873 { 0, NULL }
874 };
875 static int wkssvc_dissect_element_ComputerNamesCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
876 static int wkssvc_dissect_element_ComputerNamesCtr_computer_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
877 static int wkssvc_dissect_element_ComputerNamesCtr_computer_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
878 static int wkssvc_dissect_element_ComputerNamesCtr_computer_name__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
879 static int wkssvc_dissect_element_NetWkstaGetInfo_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
880 static int wkssvc_dissect_element_NetWkstaGetInfo_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
881 static int wkssvc_dissect_element_NetWkstaGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
882 static int wkssvc_dissect_element_NetWkstaGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
883 static int wkssvc_dissect_element_NetWkstaGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
884 static int wkssvc_dissect_element_NetWkstaSetInfo_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
885 static int wkssvc_dissect_element_NetWkstaSetInfo_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
886 static int wkssvc_dissect_element_NetWkstaSetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
887 static int wkssvc_dissect_element_NetWkstaSetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
888 static int wkssvc_dissect_element_NetWkstaSetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
889 static int wkssvc_dissect_element_NetWkstaSetInfo_parm_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
890 static int wkssvc_dissect_element_NetWkstaSetInfo_parm_error_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
891 static int wkssvc_dissect_element_NetWkstaEnumUsers_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
892 static int wkssvc_dissect_element_NetWkstaEnumUsers_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
893 static int wkssvc_dissect_element_NetWkstaEnumUsers_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
894 static int wkssvc_dissect_element_NetWkstaEnumUsers_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
895 static int wkssvc_dissect_element_NetWkstaEnumUsers_prefmaxlen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
896 static int wkssvc_dissect_element_NetWkstaEnumUsers_entries_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
897 static int wkssvc_dissect_element_NetWkstaEnumUsers_entries_read_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
898 static int wkssvc_dissect_element_NetWkstaEnumUsers_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
899 static int wkssvc_dissect_element_NetWkstaEnumUsers_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
900 static int wkssvc_dissect_element_NetrWkstaUserGetInfo_unknown(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
901 static int wkssvc_dissect_element_NetrWkstaUserGetInfo_unknown_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
902 static int wkssvc_dissect_element_NetrWkstaUserGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
903 static int wkssvc_dissect_element_NetrWkstaUserGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
904 static int wkssvc_dissect_element_NetrWkstaUserGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
905 static int wkssvc_dissect_element_NetrWkstaUserSetInfo_unknown(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
906 static int wkssvc_dissect_element_NetrWkstaUserSetInfo_unknown_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
907 static int wkssvc_dissect_element_NetrWkstaUserSetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
908 static int wkssvc_dissect_element_NetrWkstaUserSetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
909 static int wkssvc_dissect_element_NetrWkstaUserSetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
910 static int wkssvc_dissect_element_NetrWkstaUserSetInfo_parm_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
911 static int wkssvc_dissect_element_NetrWkstaUserSetInfo_parm_err_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
912 static int wkssvc_dissect_element_NetWkstaTransportEnum_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
913 static int wkssvc_dissect_element_NetWkstaTransportEnum_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
914 static int wkssvc_dissect_element_NetWkstaTransportEnum_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
915 static int wkssvc_dissect_element_NetWkstaTransportEnum_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
916 static int wkssvc_dissect_element_NetWkstaTransportEnum_max_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
917 static int wkssvc_dissect_element_NetWkstaTransportEnum_total_entries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
918 static int wkssvc_dissect_element_NetWkstaTransportEnum_total_entries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
919 static int wkssvc_dissect_element_NetWkstaTransportEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
920 static int wkssvc_dissect_element_NetWkstaTransportEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
921 static int wkssvc_dissect_element_NetrWkstaTransportAdd_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
922 static int wkssvc_dissect_element_NetrWkstaTransportAdd_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
923 static int wkssvc_dissect_element_NetrWkstaTransportAdd_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
924 static int wkssvc_dissect_element_NetrWkstaTransportAdd_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
925 static int wkssvc_dissect_element_NetrWkstaTransportAdd_info0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
926 static int wkssvc_dissect_element_NetrWkstaTransportAdd_parm_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
927 static int wkssvc_dissect_element_NetrWkstaTransportAdd_parm_err_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
928 static int wkssvc_dissect_element_NetrWkstaTransportDel_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
929 static int wkssvc_dissect_element_NetrWkstaTransportDel_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
930 static int wkssvc_dissect_element_NetrWkstaTransportDel_transport_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
931 static int wkssvc_dissect_element_NetrWkstaTransportDel_transport_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
932 static int wkssvc_dissect_element_NetrWkstaTransportDel_unknown3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
933 static int wkssvc_dissect_element_NetrUseAdd_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
934 static int wkssvc_dissect_element_NetrUseAdd_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
935 static int wkssvc_dissect_element_NetrUseAdd_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
936 static int wkssvc_dissect_element_NetrUseAdd_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
937 static int wkssvc_dissect_element_NetrUseAdd_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
938 static int wkssvc_dissect_element_NetrUseAdd_parm_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
939 static int wkssvc_dissect_element_NetrUseAdd_parm_err_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
940 static int wkssvc_dissect_element_NetrUseGetInfo_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
941 static int wkssvc_dissect_element_NetrUseGetInfo_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
942 static int wkssvc_dissect_element_NetrUseGetInfo_use_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
943 static int wkssvc_dissect_element_NetrUseGetInfo_use_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
944 static int wkssvc_dissect_element_NetrUseGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
945 static int wkssvc_dissect_element_NetrUseGetInfo_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
946 static int wkssvc_dissect_element_NetrUseGetInfo_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
947 static int wkssvc_dissect_element_NetrUseDel_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
948 static int wkssvc_dissect_element_NetrUseDel_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
949 static int wkssvc_dissect_element_NetrUseDel_use_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
950 static int wkssvc_dissect_element_NetrUseDel_use_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
951 static int wkssvc_dissect_element_NetrUseDel_force_cond(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
952 static int wkssvc_dissect_element_NetrUseEnum_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
953 static int wkssvc_dissect_element_NetrUseEnum_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
954 static int wkssvc_dissect_element_NetrUseEnum_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
955 static int wkssvc_dissect_element_NetrUseEnum_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
956 static int wkssvc_dissect_element_NetrUseEnum_prefmaxlen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
957 static int wkssvc_dissect_element_NetrUseEnum_entries_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
958 static int wkssvc_dissect_element_NetrUseEnum_entries_read_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
959 static int wkssvc_dissect_element_NetrUseEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
960 static int wkssvc_dissect_element_NetrUseEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
961 static int wkssvc_dissect_element_NetrMessageBufferSend_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
962 static int wkssvc_dissect_element_NetrMessageBufferSend_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
963 static int wkssvc_dissect_element_NetrMessageBufferSend_message_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
964 static int wkssvc_dissect_element_NetrMessageBufferSend_message_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
965 static int wkssvc_dissect_element_NetrMessageBufferSend_message_sender_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
966 static int wkssvc_dissect_element_NetrMessageBufferSend_message_sender_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
967 static int wkssvc_dissect_element_NetrMessageBufferSend_message_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
968 static int wkssvc_dissect_element_NetrMessageBufferSend_message_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
969 static int wkssvc_dissect_element_NetrMessageBufferSend_message_buffer__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
970 static int wkssvc_dissect_element_NetrMessageBufferSend_message_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
971 static int wkssvc_dissect_element_NetrWorkstationStatisticsGet_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
972 static int wkssvc_dissect_element_NetrWorkstationStatisticsGet_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
973 static int wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
974 static int wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
975 static int wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
976 static int wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
977 static int wkssvc_dissect_element_NetrWorkstationStatisticsGet_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
978 static int wkssvc_dissect_element_NetrWorkstationStatisticsGet_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
979 static int wkssvc_dissect_element_NetrWorkstationStatisticsGet_info__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
980 static int wkssvc_dissect_element_NetrLogonDomainNameAdd_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
981 static int wkssvc_dissect_element_NetrLogonDomainNameAdd_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
982 static int wkssvc_dissect_element_NetrLogonDomainNameDel_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
983 static int wkssvc_dissect_element_NetrLogonDomainNameDel_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
984 static int wkssvc_dissect_element_NetrJoinDomain_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
985 static int wkssvc_dissect_element_NetrJoinDomain_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
986 static int wkssvc_dissect_element_NetrJoinDomain_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
987 static int wkssvc_dissect_element_NetrJoinDomain_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
988 static int wkssvc_dissect_element_NetrJoinDomain_account_ou(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
989 static int wkssvc_dissect_element_NetrJoinDomain_account_ou_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
990 static int wkssvc_dissect_element_NetrJoinDomain_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
991 static int wkssvc_dissect_element_NetrJoinDomain_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
992 static int wkssvc_dissect_element_NetrJoinDomain_unknown(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
993 static int wkssvc_dissect_element_NetrJoinDomain_unknown_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
994 static int wkssvc_dissect_element_NetrJoinDomain_join_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
995 static int wkssvc_dissect_element_NetrUnjoinDomain_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
996 static int wkssvc_dissect_element_NetrUnjoinDomain_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
997 static int wkssvc_dissect_element_NetrUnjoinDomain_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
998 static int wkssvc_dissect_element_NetrUnjoinDomain_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
999 static int wkssvc_dissect_element_NetrUnjoinDomain_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1000 static int wkssvc_dissect_element_NetrUnjoinDomain_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1001 static int wkssvc_dissect_element_NetrUnjoinDomain_unjoin_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1002 static int wkssvc_dissect_element_NetrRenameMachineInDomain_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1003 static int wkssvc_dissect_element_NetrRenameMachineInDomain_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1004 static int wkssvc_dissect_element_NetrRenameMachineInDomain_NewMachineName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1005 static int wkssvc_dissect_element_NetrRenameMachineInDomain_NewMachineName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1006 static int wkssvc_dissect_element_NetrRenameMachineInDomain_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1007 static int wkssvc_dissect_element_NetrRenameMachineInDomain_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1008 static int wkssvc_dissect_element_NetrRenameMachineInDomain_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1009 static int wkssvc_dissect_element_NetrRenameMachineInDomain_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1010 static int wkssvc_dissect_element_NetrRenameMachineInDomain_RenameOptions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1011 static int wkssvc_dissect_element_NetrValidateName_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1012 static int wkssvc_dissect_element_NetrValidateName_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1013 static int wkssvc_dissect_element_NetrValidateName_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1014 static int wkssvc_dissect_element_NetrValidateName_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1015 static int wkssvc_dissect_element_NetrValidateName_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1016 static int wkssvc_dissect_element_NetrValidateName_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1017 static int wkssvc_dissect_element_NetrValidateName_Password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1018 static int wkssvc_dissect_element_NetrValidateName_Password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1019 static int wkssvc_dissect_element_NetrValidateName_name_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1020 static int wkssvc_dissect_element_NetrGetJoinInformation_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1021 static int wkssvc_dissect_element_NetrGetJoinInformation_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1022 static int wkssvc_dissect_element_NetrGetJoinInformation_name_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1023 static int wkssvc_dissect_element_NetrGetJoinInformation_name_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1024 static int wkssvc_dissect_element_NetrGetJoinInformation_name_buffer__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1025 static int wkssvc_dissect_element_NetrGetJoinInformation_name_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1026 static int wkssvc_dissect_element_NetrGetJoinInformation_name_type_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1027 static int wkssvc_dissect_element_NetrGetJoinableOus_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1028 static int wkssvc_dissect_element_NetrGetJoinableOus_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1029 static int wkssvc_dissect_element_NetrGetJoinableOus_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1030 static int wkssvc_dissect_element_NetrGetJoinableOus_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1031 static int wkssvc_dissect_element_NetrGetJoinableOus_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1032 static int wkssvc_dissect_element_NetrGetJoinableOus_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1033 static int wkssvc_dissect_element_NetrGetJoinableOus_unknown(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1034 static int wkssvc_dissect_element_NetrGetJoinableOus_unknown_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1035 static int wkssvc_dissect_element_NetrGetJoinableOus_num_ous(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1036 static int wkssvc_dissect_element_NetrGetJoinableOus_num_ous_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1037 static int wkssvc_dissect_element_NetrGetJoinableOus_ous(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1038 static int wkssvc_dissect_element_NetrGetJoinableOus_ous_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1039 static int wkssvc_dissect_element_NetrGetJoinableOus_ous__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1040 static int wkssvc_dissect_element_NetrGetJoinableOus_ous___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1041 static int wkssvc_dissect_element_NetrGetJoinableOus_ous____(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1042 static int wkssvc_dissect_element_NetrJoinDomain2_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1043 static int wkssvc_dissect_element_NetrJoinDomain2_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1044 static int wkssvc_dissect_element_NetrJoinDomain2_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1045 static int wkssvc_dissect_element_NetrJoinDomain2_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1046 static int wkssvc_dissect_element_NetrJoinDomain2_account_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1047 static int wkssvc_dissect_element_NetrJoinDomain2_account_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1048 static int wkssvc_dissect_element_NetrJoinDomain2_admin_account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1049 static int wkssvc_dissect_element_NetrJoinDomain2_admin_account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1050 static int wkssvc_dissect_element_NetrJoinDomain2_encrypted_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1051 static int wkssvc_dissect_element_NetrJoinDomain2_encrypted_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1052 static int wkssvc_dissect_element_NetrJoinDomain2_join_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1053 static int wkssvc_dissect_element_NetrUnjoinDomain2_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1054 static int wkssvc_dissect_element_NetrUnjoinDomain2_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1055 static int wkssvc_dissect_element_NetrUnjoinDomain2_account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1056 static int wkssvc_dissect_element_NetrUnjoinDomain2_account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1057 static int wkssvc_dissect_element_NetrUnjoinDomain2_encrypted_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1058 static int wkssvc_dissect_element_NetrUnjoinDomain2_encrypted_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1059 static int wkssvc_dissect_element_NetrUnjoinDomain2_unjoin_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1060 static int wkssvc_dissect_element_NetrRenameMachineInDomain2_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1061 static int wkssvc_dissect_element_NetrRenameMachineInDomain2_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1062 static int wkssvc_dissect_element_NetrRenameMachineInDomain2_NewMachineName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1063 static int wkssvc_dissect_element_NetrRenameMachineInDomain2_NewMachineName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1064 static int wkssvc_dissect_element_NetrRenameMachineInDomain2_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1065 static int wkssvc_dissect_element_NetrRenameMachineInDomain2_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1066 static int wkssvc_dissect_element_NetrRenameMachineInDomain2_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1067 static int wkssvc_dissect_element_NetrRenameMachineInDomain2_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1068 static int wkssvc_dissect_element_NetrRenameMachineInDomain2_RenameOptions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1069 static int wkssvc_dissect_element_NetrValidateName2_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1070 static int wkssvc_dissect_element_NetrValidateName2_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1071 static int wkssvc_dissect_element_NetrValidateName2_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1072 static int wkssvc_dissect_element_NetrValidateName2_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1073 static int wkssvc_dissect_element_NetrValidateName2_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1074 static int wkssvc_dissect_element_NetrValidateName2_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1075 static int wkssvc_dissect_element_NetrValidateName2_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1076 static int wkssvc_dissect_element_NetrValidateName2_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1077 static int wkssvc_dissect_element_NetrValidateName2_name_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1078 static int wkssvc_dissect_element_NetrGetJoinableOus2_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1079 static int wkssvc_dissect_element_NetrGetJoinableOus2_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1080 static int wkssvc_dissect_element_NetrGetJoinableOus2_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1081 static int wkssvc_dissect_element_NetrGetJoinableOus2_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1082 static int wkssvc_dissect_element_NetrGetJoinableOus2_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1083 static int wkssvc_dissect_element_NetrGetJoinableOus2_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1084 static int wkssvc_dissect_element_NetrGetJoinableOus2_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1085 static int wkssvc_dissect_element_NetrGetJoinableOus2_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1086 static int wkssvc_dissect_element_NetrGetJoinableOus2_num_ous(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1087 static int wkssvc_dissect_element_NetrGetJoinableOus2_num_ous_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1088 static int wkssvc_dissect_element_NetrGetJoinableOus2_ous(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1089 static int wkssvc_dissect_element_NetrGetJoinableOus2_ous_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1090 static int wkssvc_dissect_element_NetrGetJoinableOus2_ous__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1091 static int wkssvc_dissect_element_NetrGetJoinableOus2_ous___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1092 static int wkssvc_dissect_element_NetrGetJoinableOus2_ous____(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1093 static int wkssvc_dissect_element_NetrAddAlternateComputerName_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1094 static int wkssvc_dissect_element_NetrAddAlternateComputerName_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1095 static int wkssvc_dissect_element_NetrAddAlternateComputerName_NewAlternateMachineName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1096 static int wkssvc_dissect_element_NetrAddAlternateComputerName_NewAlternateMachineName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1097 static int wkssvc_dissect_element_NetrAddAlternateComputerName_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1098 static int wkssvc_dissect_element_NetrAddAlternateComputerName_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1099 static int wkssvc_dissect_element_NetrAddAlternateComputerName_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1100 static int wkssvc_dissect_element_NetrAddAlternateComputerName_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1101 static int wkssvc_dissect_element_NetrAddAlternateComputerName_Reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1102 static int wkssvc_dissect_element_NetrRemoveAlternateComputerName_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1103 static int wkssvc_dissect_element_NetrRemoveAlternateComputerName_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1104 static int wkssvc_dissect_element_NetrRemoveAlternateComputerName_AlternateMachineNameToRemove(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1105 static int wkssvc_dissect_element_NetrRemoveAlternateComputerName_AlternateMachineNameToRemove_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1106 static int wkssvc_dissect_element_NetrRemoveAlternateComputerName_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1107 static int wkssvc_dissect_element_NetrRemoveAlternateComputerName_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1108 static int wkssvc_dissect_element_NetrRemoveAlternateComputerName_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1109 static int wkssvc_dissect_element_NetrRemoveAlternateComputerName_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1110 static int wkssvc_dissect_element_NetrRemoveAlternateComputerName_Reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1111 static int wkssvc_dissect_element_NetrSetPrimaryComputername_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1112 static int wkssvc_dissect_element_NetrSetPrimaryComputername_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1113 static int wkssvc_dissect_element_NetrSetPrimaryComputername_primary_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1114 static int wkssvc_dissect_element_NetrSetPrimaryComputername_primary_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1115 static int wkssvc_dissect_element_NetrSetPrimaryComputername_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1116 static int wkssvc_dissect_element_NetrSetPrimaryComputername_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1117 static int wkssvc_dissect_element_NetrSetPrimaryComputername_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1118 static int wkssvc_dissect_element_NetrSetPrimaryComputername_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1119 static int wkssvc_dissect_element_NetrSetPrimaryComputername_Reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1120 static int wkssvc_dissect_element_NetrEnumerateComputerNames_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1121 static int wkssvc_dissect_element_NetrEnumerateComputerNames_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1122 static int wkssvc_dissect_element_NetrEnumerateComputerNames_name_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1123 static int wkssvc_dissect_element_NetrEnumerateComputerNames_Reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1124 static int wkssvc_dissect_element_NetrEnumerateComputerNames_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1125 static int wkssvc_dissect_element_NetrEnumerateComputerNames_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1126 static int wkssvc_dissect_element_NetrEnumerateComputerNames_ctr__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_);
1127 /* Bug in pidl.  Can not handle these dependencies properly yet */
1128 static int
1129 wkssvc_dissect_struct_srvsvc_PlatformId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, int hf_index _U_, guint32 param _U_)
1130 {
1131         offset = srvsvc_dissect_enum_PlatformId(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_platform_id,0);
1132         return offset;
1133 }
1134 static int
1135 cnf_dissect_lsa_String(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, dcerpc_info *di, guint8 *drep, guint32 param, int hfindex)
1136 {
1137         proto_item *item = NULL;
1138         proto_tree *tree = NULL;
1139         int old_offset;
1140         header_field_info *hf_info;
1141         ALIGN_TO_4_BYTES;
1142         old_offset = offset;
1143         hf_info=proto_registrar_get_nth(hfindex);
1144         if (parent_tree) {
1145                 tree = proto_tree_add_subtree_format(parent_tree, tvb, offset, 0, ett_wkssvc_lsa_String, &item, "%s: ", hf_info->name);
1146         }
1147         
1148         offset = wkssvc_dissect_element_lsa_String_name_len(tvb, offset, pinfo, tree, di, drep);
1149         offset = wkssvc_dissect_element_lsa_String_name_size(tvb, offset, pinfo, tree, di, drep);
1150         offset = dissect_ndr_pointer_cb(
1151                 tvb, offset, pinfo, tree, di, drep,
1152                 dissect_ndr_wchar_cvstring, NDR_POINTER_UNIQUE,
1153                 hf_info->name, hfindex, cb_wstr_postprocess,
1154                 GINT_TO_POINTER(param));
1155         proto_item_set_len(item, offset-old_offset);
1156         return offset;
1157 }
1158 static int
1159 cnf_dissect_hyper(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep, guint32 param _U_, int hfindex)
1160 {
1161         offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hfindex, NULL);
1162         return offset;
1163 }
1164
1165
1166 /* IDL: struct { */
1167 /* IDL:         [value(strlen_m_term(name)*2)] uint16 name_len; */
1168 /* IDL:         [value(strlen_m_term(name)*2)] uint16 name_size; */
1169 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *name; */
1170 /* IDL: } */
1171
1172 static int
1173 wkssvc_dissect_element_lsa_String_name_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1174 {
1175         offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_lsa_String_name_len, 0);
1176
1177         return offset;
1178 }
1179
1180 static int
1181 wkssvc_dissect_element_lsa_String_name_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1182 {
1183         offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_lsa_String_name_size, 0);
1184
1185         return offset;
1186 }
1187
1188 static int
1189 wkssvc_dissect_element_lsa_String_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1190 {
1191         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_lsa_String_name_, NDR_POINTER_UNIQUE, "Pointer to Name (uint16)",hf_wkssvc_lsa_String_name);
1192
1193         return offset;
1194 }
1195
1196 static int
1197 wkssvc_dissect_element_lsa_String_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1198 {
1199         char *data;
1200
1201         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_lsa_String_name, FALSE, &data);
1202         proto_item_append_text(tree, ": %s", data);
1203
1204         return offset;
1205 }
1206
1207 int
1208 wkssvc_dissect_struct_lsa_String(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
1209 {
1210         proto_item *item = NULL;
1211         proto_tree *tree = NULL;
1212         int old_offset;
1213
1214         ALIGN_TO_4_BYTES;
1215
1216         old_offset = offset;
1217
1218         if (parent_tree) {
1219                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1220                 tree = proto_item_add_subtree(item, ett_wkssvc_lsa_String);
1221         }
1222         
1223         offset = wkssvc_dissect_element_lsa_String_name_len(tvb, offset, pinfo, tree, di, drep);
1224
1225         offset = wkssvc_dissect_element_lsa_String_name_size(tvb, offset, pinfo, tree, di, drep);
1226
1227         offset = wkssvc_dissect_element_lsa_String_name(tvb, offset, pinfo, tree, di, drep);
1228
1229
1230         proto_item_set_len(item, offset-old_offset);
1231
1232         return offset;
1233 }
1234
1235
1236 /* IDL: struct { */
1237 /* IDL:         srvsvc_PlatformId platform_id; */
1238 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *server_name; */
1239 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *domain_name; */
1240 /* IDL:         uint32 version_major; */
1241 /* IDL:         uint32 version_minor; */
1242 /* IDL: } */
1243
1244 static int
1245 wkssvc_dissect_element_NetWkstaInfo100_platform_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1246 {
1247         offset = wkssvc_dissect_struct_srvsvc_PlatformId(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo100_platform_id,0);
1248
1249         return offset;
1250 }
1251
1252 static int
1253 wkssvc_dissect_element_NetWkstaInfo100_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1254 {
1255         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo100_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetWkstaInfo100_server_name);
1256
1257         return offset;
1258 }
1259
1260 static int
1261 wkssvc_dissect_element_NetWkstaInfo100_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1262 {
1263         char *data;
1264
1265         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaInfo100_server_name, FALSE, &data);
1266         proto_item_append_text(tree, ": %s", data);
1267
1268         return offset;
1269 }
1270
1271 static int
1272 wkssvc_dissect_element_NetWkstaInfo100_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1273 {
1274         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo100_domain_name_, NDR_POINTER_UNIQUE, "Pointer to Domain Name (uint16)",hf_wkssvc_wkssvc_NetWkstaInfo100_domain_name);
1275
1276         return offset;
1277 }
1278
1279 static int
1280 wkssvc_dissect_element_NetWkstaInfo100_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1281 {
1282         char *data;
1283
1284         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaInfo100_domain_name, FALSE, &data);
1285         proto_item_append_text(tree, ": %s", data);
1286
1287         return offset;
1288 }
1289
1290 static int
1291 wkssvc_dissect_element_NetWkstaInfo100_version_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1292 {
1293         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo100_version_major, 0);
1294
1295         return offset;
1296 }
1297
1298 static int
1299 wkssvc_dissect_element_NetWkstaInfo100_version_minor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1300 {
1301         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo100_version_minor, 0);
1302
1303         return offset;
1304 }
1305
1306 int
1307 wkssvc_dissect_struct_NetWkstaInfo100(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
1308 {
1309         proto_item *item = NULL;
1310         proto_tree *tree = NULL;
1311         int old_offset;
1312
1313         ALIGN_TO_4_BYTES;
1314
1315         old_offset = offset;
1316
1317         if (parent_tree) {
1318                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1319                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo100);
1320         }
1321         
1322         offset = wkssvc_dissect_element_NetWkstaInfo100_platform_id(tvb, offset, pinfo, tree, di, drep);
1323
1324         offset = wkssvc_dissect_element_NetWkstaInfo100_server_name(tvb, offset, pinfo, tree, di, drep);
1325
1326         offset = wkssvc_dissect_element_NetWkstaInfo100_domain_name(tvb, offset, pinfo, tree, di, drep);
1327
1328         offset = wkssvc_dissect_element_NetWkstaInfo100_version_major(tvb, offset, pinfo, tree, di, drep);
1329
1330         offset = wkssvc_dissect_element_NetWkstaInfo100_version_minor(tvb, offset, pinfo, tree, di, drep);
1331
1332
1333         proto_item_set_len(item, offset-old_offset);
1334
1335         return offset;
1336 }
1337
1338
1339 /* IDL: struct { */
1340 /* IDL:         srvsvc_PlatformId platform_id; */
1341 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *server_name; */
1342 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *domain_name; */
1343 /* IDL:         uint32 version_major; */
1344 /* IDL:         uint32 version_minor; */
1345 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *lan_root; */
1346 /* IDL: } */
1347
1348 static int
1349 wkssvc_dissect_element_NetWkstaInfo101_platform_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1350 {
1351         offset = wkssvc_dissect_struct_srvsvc_PlatformId(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo101_platform_id,0);
1352
1353         return offset;
1354 }
1355
1356 static int
1357 wkssvc_dissect_element_NetWkstaInfo101_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1358 {
1359         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo101_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetWkstaInfo101_server_name);
1360
1361         return offset;
1362 }
1363
1364 static int
1365 wkssvc_dissect_element_NetWkstaInfo101_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1366 {
1367         char *data;
1368
1369         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaInfo101_server_name, FALSE, &data);
1370         proto_item_append_text(tree, ": %s", data);
1371
1372         return offset;
1373 }
1374
1375 static int
1376 wkssvc_dissect_element_NetWkstaInfo101_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1377 {
1378         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo101_domain_name_, NDR_POINTER_UNIQUE, "Pointer to Domain Name (uint16)",hf_wkssvc_wkssvc_NetWkstaInfo101_domain_name);
1379
1380         return offset;
1381 }
1382
1383 static int
1384 wkssvc_dissect_element_NetWkstaInfo101_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1385 {
1386         char *data;
1387
1388         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaInfo101_domain_name, FALSE, &data);
1389         proto_item_append_text(tree, ": %s", data);
1390
1391         return offset;
1392 }
1393
1394 static int
1395 wkssvc_dissect_element_NetWkstaInfo101_version_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1396 {
1397         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo101_version_major, 0);
1398
1399         return offset;
1400 }
1401
1402 static int
1403 wkssvc_dissect_element_NetWkstaInfo101_version_minor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1404 {
1405         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo101_version_minor, 0);
1406
1407         return offset;
1408 }
1409
1410 static int
1411 wkssvc_dissect_element_NetWkstaInfo101_lan_root(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1412 {
1413         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo101_lan_root_, NDR_POINTER_UNIQUE, "Pointer to Lan Root (uint16)",hf_wkssvc_wkssvc_NetWkstaInfo101_lan_root);
1414
1415         return offset;
1416 }
1417
1418 static int
1419 wkssvc_dissect_element_NetWkstaInfo101_lan_root_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1420 {
1421         char *data;
1422
1423         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaInfo101_lan_root, FALSE, &data);
1424         proto_item_append_text(tree, ": %s", data);
1425
1426         return offset;
1427 }
1428
1429 int
1430 wkssvc_dissect_struct_NetWkstaInfo101(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
1431 {
1432         proto_item *item = NULL;
1433         proto_tree *tree = NULL;
1434         int old_offset;
1435
1436         ALIGN_TO_4_BYTES;
1437
1438         old_offset = offset;
1439
1440         if (parent_tree) {
1441                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1442                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo101);
1443         }
1444         
1445         offset = wkssvc_dissect_element_NetWkstaInfo101_platform_id(tvb, offset, pinfo, tree, di, drep);
1446
1447         offset = wkssvc_dissect_element_NetWkstaInfo101_server_name(tvb, offset, pinfo, tree, di, drep);
1448
1449         offset = wkssvc_dissect_element_NetWkstaInfo101_domain_name(tvb, offset, pinfo, tree, di, drep);
1450
1451         offset = wkssvc_dissect_element_NetWkstaInfo101_version_major(tvb, offset, pinfo, tree, di, drep);
1452
1453         offset = wkssvc_dissect_element_NetWkstaInfo101_version_minor(tvb, offset, pinfo, tree, di, drep);
1454
1455         offset = wkssvc_dissect_element_NetWkstaInfo101_lan_root(tvb, offset, pinfo, tree, di, drep);
1456
1457
1458         proto_item_set_len(item, offset-old_offset);
1459
1460         return offset;
1461 }
1462
1463
1464 /* IDL: struct { */
1465 /* IDL:         srvsvc_PlatformId platform_id; */
1466 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *server_name; */
1467 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *domain_name; */
1468 /* IDL:         uint32 version_major; */
1469 /* IDL:         uint32 version_minor; */
1470 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *lan_root; */
1471 /* IDL:         uint32 logged_on_users; */
1472 /* IDL: } */
1473
1474 static int
1475 wkssvc_dissect_element_NetWkstaInfo102_platform_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1476 {
1477         offset = wkssvc_dissect_struct_srvsvc_PlatformId(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo102_platform_id,0);
1478
1479         return offset;
1480 }
1481
1482 static int
1483 wkssvc_dissect_element_NetWkstaInfo102_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1484 {
1485         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo102_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetWkstaInfo102_server_name);
1486
1487         return offset;
1488 }
1489
1490 static int
1491 wkssvc_dissect_element_NetWkstaInfo102_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1492 {
1493         char *data;
1494
1495         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaInfo102_server_name, FALSE, &data);
1496         proto_item_append_text(tree, ": %s", data);
1497
1498         return offset;
1499 }
1500
1501 static int
1502 wkssvc_dissect_element_NetWkstaInfo102_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1503 {
1504         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo102_domain_name_, NDR_POINTER_UNIQUE, "Pointer to Domain Name (uint16)",hf_wkssvc_wkssvc_NetWkstaInfo102_domain_name);
1505
1506         return offset;
1507 }
1508
1509 static int
1510 wkssvc_dissect_element_NetWkstaInfo102_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1511 {
1512         char *data;
1513
1514         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaInfo102_domain_name, FALSE, &data);
1515         proto_item_append_text(tree, ": %s", data);
1516
1517         return offset;
1518 }
1519
1520 static int
1521 wkssvc_dissect_element_NetWkstaInfo102_version_major(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1522 {
1523         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo102_version_major, 0);
1524
1525         return offset;
1526 }
1527
1528 static int
1529 wkssvc_dissect_element_NetWkstaInfo102_version_minor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1530 {
1531         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo102_version_minor, 0);
1532
1533         return offset;
1534 }
1535
1536 static int
1537 wkssvc_dissect_element_NetWkstaInfo102_lan_root(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1538 {
1539         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo102_lan_root_, NDR_POINTER_UNIQUE, "Pointer to Lan Root (uint16)",hf_wkssvc_wkssvc_NetWkstaInfo102_lan_root);
1540
1541         return offset;
1542 }
1543
1544 static int
1545 wkssvc_dissect_element_NetWkstaInfo102_lan_root_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1546 {
1547         char *data;
1548
1549         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaInfo102_lan_root, FALSE, &data);
1550         proto_item_append_text(tree, ": %s", data);
1551
1552         return offset;
1553 }
1554
1555 static int
1556 wkssvc_dissect_element_NetWkstaInfo102_logged_on_users(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1557 {
1558         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo102_logged_on_users, 0);
1559
1560         return offset;
1561 }
1562
1563 int
1564 wkssvc_dissect_struct_NetWkstaInfo102(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
1565 {
1566         proto_item *item = NULL;
1567         proto_tree *tree = NULL;
1568         int old_offset;
1569
1570         ALIGN_TO_4_BYTES;
1571
1572         old_offset = offset;
1573
1574         if (parent_tree) {
1575                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1576                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo102);
1577         }
1578         
1579         offset = wkssvc_dissect_element_NetWkstaInfo102_platform_id(tvb, offset, pinfo, tree, di, drep);
1580
1581         offset = wkssvc_dissect_element_NetWkstaInfo102_server_name(tvb, offset, pinfo, tree, di, drep);
1582
1583         offset = wkssvc_dissect_element_NetWkstaInfo102_domain_name(tvb, offset, pinfo, tree, di, drep);
1584
1585         offset = wkssvc_dissect_element_NetWkstaInfo102_version_major(tvb, offset, pinfo, tree, di, drep);
1586
1587         offset = wkssvc_dissect_element_NetWkstaInfo102_version_minor(tvb, offset, pinfo, tree, di, drep);
1588
1589         offset = wkssvc_dissect_element_NetWkstaInfo102_lan_root(tvb, offset, pinfo, tree, di, drep);
1590
1591         offset = wkssvc_dissect_element_NetWkstaInfo102_logged_on_users(tvb, offset, pinfo, tree, di, drep);
1592
1593
1594         proto_item_set_len(item, offset-old_offset);
1595
1596         return offset;
1597 }
1598
1599
1600 /* IDL: struct { */
1601 /* IDL:         uint32 char_wait; */
1602 /* IDL:         uint32 collection_time; */
1603 /* IDL:         uint32 maximum_collection_count; */
1604 /* IDL:         uint32 keep_connection; */
1605 /* IDL:         uint32 max_commands; */
1606 /* IDL:         uint32 session_timeout; */
1607 /* IDL:         uint32 size_char_buf; */
1608 /* IDL:         uint32 max_threads; */
1609 /* IDL:         uint32 lock_quota; */
1610 /* IDL:         uint32 lock_increment; */
1611 /* IDL:         uint32 lock_maximum; */
1612 /* IDL:         uint32 pipe_increment; */
1613 /* IDL:         uint32 pipe_maximum; */
1614 /* IDL:         uint32 cache_file_timeout; */
1615 /* IDL:         uint32 dormant_file_limit; */
1616 /* IDL:         uint32 read_ahead_throughput; */
1617 /* IDL:         uint32 num_mailslot_buffers; */
1618 /* IDL:         uint32 num_srv_announce_buffers; */
1619 /* IDL:         uint32 max_illegal_dgram_events; */
1620 /* IDL:         uint32 dgram_event_reset_freq; */
1621 /* IDL:         uint32 log_election_packets; */
1622 /* IDL:         uint32 use_opportunistic_locking; */
1623 /* IDL:         uint32 use_unlock_behind; */
1624 /* IDL:         uint32 use_close_behind; */
1625 /* IDL:         uint32 buf_named_pipes; */
1626 /* IDL:         uint32 use_lock_read_unlock; */
1627 /* IDL:         uint32 utilize_nt_caching; */
1628 /* IDL:         uint32 use_raw_read; */
1629 /* IDL:         uint32 use_raw_write; */
1630 /* IDL:         uint32 use_write_raw_data; */
1631 /* IDL:         uint32 use_encryption; */
1632 /* IDL:         uint32 buf_files_deny_write; */
1633 /* IDL:         uint32 buf_read_only_files; */
1634 /* IDL:         uint32 force_core_create_mode; */
1635 /* IDL:         uint32 use_512_byte_max_transfer; */
1636 /* IDL: } */
1637
1638 static int
1639 wkssvc_dissect_element_NetWkstaInfo502_char_wait(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1640 {
1641         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_char_wait, 0);
1642
1643         return offset;
1644 }
1645
1646 static int
1647 wkssvc_dissect_element_NetWkstaInfo502_collection_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1648 {
1649         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_collection_time, 0);
1650
1651         return offset;
1652 }
1653
1654 static int
1655 wkssvc_dissect_element_NetWkstaInfo502_maximum_collection_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1656 {
1657         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_maximum_collection_count, 0);
1658
1659         return offset;
1660 }
1661
1662 static int
1663 wkssvc_dissect_element_NetWkstaInfo502_keep_connection(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1664 {
1665         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_keep_connection, 0);
1666
1667         return offset;
1668 }
1669
1670 static int
1671 wkssvc_dissect_element_NetWkstaInfo502_max_commands(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1672 {
1673         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_max_commands, 0);
1674
1675         return offset;
1676 }
1677
1678 static int
1679 wkssvc_dissect_element_NetWkstaInfo502_session_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1680 {
1681         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_session_timeout, 0);
1682
1683         return offset;
1684 }
1685
1686 static int
1687 wkssvc_dissect_element_NetWkstaInfo502_size_char_buf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1688 {
1689         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_size_char_buf, 0);
1690
1691         return offset;
1692 }
1693
1694 static int
1695 wkssvc_dissect_element_NetWkstaInfo502_max_threads(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1696 {
1697         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_max_threads, 0);
1698
1699         return offset;
1700 }
1701
1702 static int
1703 wkssvc_dissect_element_NetWkstaInfo502_lock_quota(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1704 {
1705         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_lock_quota, 0);
1706
1707         return offset;
1708 }
1709
1710 static int
1711 wkssvc_dissect_element_NetWkstaInfo502_lock_increment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1712 {
1713         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_lock_increment, 0);
1714
1715         return offset;
1716 }
1717
1718 static int
1719 wkssvc_dissect_element_NetWkstaInfo502_lock_maximum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1720 {
1721         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_lock_maximum, 0);
1722
1723         return offset;
1724 }
1725
1726 static int
1727 wkssvc_dissect_element_NetWkstaInfo502_pipe_increment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1728 {
1729         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_pipe_increment, 0);
1730
1731         return offset;
1732 }
1733
1734 static int
1735 wkssvc_dissect_element_NetWkstaInfo502_pipe_maximum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1736 {
1737         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_pipe_maximum, 0);
1738
1739         return offset;
1740 }
1741
1742 static int
1743 wkssvc_dissect_element_NetWkstaInfo502_cache_file_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1744 {
1745         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_cache_file_timeout, 0);
1746
1747         return offset;
1748 }
1749
1750 static int
1751 wkssvc_dissect_element_NetWkstaInfo502_dormant_file_limit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1752 {
1753         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_dormant_file_limit, 0);
1754
1755         return offset;
1756 }
1757
1758 static int
1759 wkssvc_dissect_element_NetWkstaInfo502_read_ahead_throughput(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1760 {
1761         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_read_ahead_throughput, 0);
1762
1763         return offset;
1764 }
1765
1766 static int
1767 wkssvc_dissect_element_NetWkstaInfo502_num_mailslot_buffers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1768 {
1769         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_num_mailslot_buffers, 0);
1770
1771         return offset;
1772 }
1773
1774 static int
1775 wkssvc_dissect_element_NetWkstaInfo502_num_srv_announce_buffers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1776 {
1777         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_num_srv_announce_buffers, 0);
1778
1779         return offset;
1780 }
1781
1782 static int
1783 wkssvc_dissect_element_NetWkstaInfo502_max_illegal_dgram_events(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1784 {
1785         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_max_illegal_dgram_events, 0);
1786
1787         return offset;
1788 }
1789
1790 static int
1791 wkssvc_dissect_element_NetWkstaInfo502_dgram_event_reset_freq(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1792 {
1793         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_dgram_event_reset_freq, 0);
1794
1795         return offset;
1796 }
1797
1798 static int
1799 wkssvc_dissect_element_NetWkstaInfo502_log_election_packets(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1800 {
1801         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_log_election_packets, 0);
1802
1803         return offset;
1804 }
1805
1806 static int
1807 wkssvc_dissect_element_NetWkstaInfo502_use_opportunistic_locking(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1808 {
1809         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_use_opportunistic_locking, 0);
1810
1811         return offset;
1812 }
1813
1814 static int
1815 wkssvc_dissect_element_NetWkstaInfo502_use_unlock_behind(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1816 {
1817         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_use_unlock_behind, 0);
1818
1819         return offset;
1820 }
1821
1822 static int
1823 wkssvc_dissect_element_NetWkstaInfo502_use_close_behind(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1824 {
1825         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_use_close_behind, 0);
1826
1827         return offset;
1828 }
1829
1830 static int
1831 wkssvc_dissect_element_NetWkstaInfo502_buf_named_pipes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1832 {
1833         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_buf_named_pipes, 0);
1834
1835         return offset;
1836 }
1837
1838 static int
1839 wkssvc_dissect_element_NetWkstaInfo502_use_lock_read_unlock(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1840 {
1841         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_use_lock_read_unlock, 0);
1842
1843         return offset;
1844 }
1845
1846 static int
1847 wkssvc_dissect_element_NetWkstaInfo502_utilize_nt_caching(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1848 {
1849         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_utilize_nt_caching, 0);
1850
1851         return offset;
1852 }
1853
1854 static int
1855 wkssvc_dissect_element_NetWkstaInfo502_use_raw_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1856 {
1857         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_use_raw_read, 0);
1858
1859         return offset;
1860 }
1861
1862 static int
1863 wkssvc_dissect_element_NetWkstaInfo502_use_raw_write(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1864 {
1865         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_use_raw_write, 0);
1866
1867         return offset;
1868 }
1869
1870 static int
1871 wkssvc_dissect_element_NetWkstaInfo502_use_write_raw_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1872 {
1873         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_use_write_raw_data, 0);
1874
1875         return offset;
1876 }
1877
1878 static int
1879 wkssvc_dissect_element_NetWkstaInfo502_use_encryption(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1880 {
1881         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_use_encryption, 0);
1882
1883         return offset;
1884 }
1885
1886 static int
1887 wkssvc_dissect_element_NetWkstaInfo502_buf_files_deny_write(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1888 {
1889         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_buf_files_deny_write, 0);
1890
1891         return offset;
1892 }
1893
1894 static int
1895 wkssvc_dissect_element_NetWkstaInfo502_buf_read_only_files(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1896 {
1897         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_buf_read_only_files, 0);
1898
1899         return offset;
1900 }
1901
1902 static int
1903 wkssvc_dissect_element_NetWkstaInfo502_force_core_create_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1904 {
1905         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_force_core_create_mode, 0);
1906
1907         return offset;
1908 }
1909
1910 static int
1911 wkssvc_dissect_element_NetWkstaInfo502_use_512_byte_max_transfer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
1912 {
1913         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo502_use_512_byte_max_transfer, 0);
1914
1915         return offset;
1916 }
1917
1918 int
1919 wkssvc_dissect_struct_NetWkstaInfo502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
1920 {
1921         proto_item *item = NULL;
1922         proto_tree *tree = NULL;
1923         int old_offset;
1924
1925         ALIGN_TO_4_BYTES;
1926
1927         old_offset = offset;
1928
1929         if (parent_tree) {
1930                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1931                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo502);
1932         }
1933         
1934         offset = wkssvc_dissect_element_NetWkstaInfo502_char_wait(tvb, offset, pinfo, tree, di, drep);
1935
1936         offset = wkssvc_dissect_element_NetWkstaInfo502_collection_time(tvb, offset, pinfo, tree, di, drep);
1937
1938         offset = wkssvc_dissect_element_NetWkstaInfo502_maximum_collection_count(tvb, offset, pinfo, tree, di, drep);
1939
1940         offset = wkssvc_dissect_element_NetWkstaInfo502_keep_connection(tvb, offset, pinfo, tree, di, drep);
1941
1942         offset = wkssvc_dissect_element_NetWkstaInfo502_max_commands(tvb, offset, pinfo, tree, di, drep);
1943
1944         offset = wkssvc_dissect_element_NetWkstaInfo502_session_timeout(tvb, offset, pinfo, tree, di, drep);
1945
1946         offset = wkssvc_dissect_element_NetWkstaInfo502_size_char_buf(tvb, offset, pinfo, tree, di, drep);
1947
1948         offset = wkssvc_dissect_element_NetWkstaInfo502_max_threads(tvb, offset, pinfo, tree, di, drep);
1949
1950         offset = wkssvc_dissect_element_NetWkstaInfo502_lock_quota(tvb, offset, pinfo, tree, di, drep);
1951
1952         offset = wkssvc_dissect_element_NetWkstaInfo502_lock_increment(tvb, offset, pinfo, tree, di, drep);
1953
1954         offset = wkssvc_dissect_element_NetWkstaInfo502_lock_maximum(tvb, offset, pinfo, tree, di, drep);
1955
1956         offset = wkssvc_dissect_element_NetWkstaInfo502_pipe_increment(tvb, offset, pinfo, tree, di, drep);
1957
1958         offset = wkssvc_dissect_element_NetWkstaInfo502_pipe_maximum(tvb, offset, pinfo, tree, di, drep);
1959
1960         offset = wkssvc_dissect_element_NetWkstaInfo502_cache_file_timeout(tvb, offset, pinfo, tree, di, drep);
1961
1962         offset = wkssvc_dissect_element_NetWkstaInfo502_dormant_file_limit(tvb, offset, pinfo, tree, di, drep);
1963
1964         offset = wkssvc_dissect_element_NetWkstaInfo502_read_ahead_throughput(tvb, offset, pinfo, tree, di, drep);
1965
1966         offset = wkssvc_dissect_element_NetWkstaInfo502_num_mailslot_buffers(tvb, offset, pinfo, tree, di, drep);
1967
1968         offset = wkssvc_dissect_element_NetWkstaInfo502_num_srv_announce_buffers(tvb, offset, pinfo, tree, di, drep);
1969
1970         offset = wkssvc_dissect_element_NetWkstaInfo502_max_illegal_dgram_events(tvb, offset, pinfo, tree, di, drep);
1971
1972         offset = wkssvc_dissect_element_NetWkstaInfo502_dgram_event_reset_freq(tvb, offset, pinfo, tree, di, drep);
1973
1974         offset = wkssvc_dissect_element_NetWkstaInfo502_log_election_packets(tvb, offset, pinfo, tree, di, drep);
1975
1976         offset = wkssvc_dissect_element_NetWkstaInfo502_use_opportunistic_locking(tvb, offset, pinfo, tree, di, drep);
1977
1978         offset = wkssvc_dissect_element_NetWkstaInfo502_use_unlock_behind(tvb, offset, pinfo, tree, di, drep);
1979
1980         offset = wkssvc_dissect_element_NetWkstaInfo502_use_close_behind(tvb, offset, pinfo, tree, di, drep);
1981
1982         offset = wkssvc_dissect_element_NetWkstaInfo502_buf_named_pipes(tvb, offset, pinfo, tree, di, drep);
1983
1984         offset = wkssvc_dissect_element_NetWkstaInfo502_use_lock_read_unlock(tvb, offset, pinfo, tree, di, drep);
1985
1986         offset = wkssvc_dissect_element_NetWkstaInfo502_utilize_nt_caching(tvb, offset, pinfo, tree, di, drep);
1987
1988         offset = wkssvc_dissect_element_NetWkstaInfo502_use_raw_read(tvb, offset, pinfo, tree, di, drep);
1989
1990         offset = wkssvc_dissect_element_NetWkstaInfo502_use_raw_write(tvb, offset, pinfo, tree, di, drep);
1991
1992         offset = wkssvc_dissect_element_NetWkstaInfo502_use_write_raw_data(tvb, offset, pinfo, tree, di, drep);
1993
1994         offset = wkssvc_dissect_element_NetWkstaInfo502_use_encryption(tvb, offset, pinfo, tree, di, drep);
1995
1996         offset = wkssvc_dissect_element_NetWkstaInfo502_buf_files_deny_write(tvb, offset, pinfo, tree, di, drep);
1997
1998         offset = wkssvc_dissect_element_NetWkstaInfo502_buf_read_only_files(tvb, offset, pinfo, tree, di, drep);
1999
2000         offset = wkssvc_dissect_element_NetWkstaInfo502_force_core_create_mode(tvb, offset, pinfo, tree, di, drep);
2001
2002         offset = wkssvc_dissect_element_NetWkstaInfo502_use_512_byte_max_transfer(tvb, offset, pinfo, tree, di, drep);
2003
2004
2005         proto_item_set_len(item, offset-old_offset);
2006
2007         return offset;
2008 }
2009
2010
2011 /* IDL: struct { */
2012 /* IDL:         uint32 char_wait; */
2013 /* IDL: } */
2014
2015 static int
2016 wkssvc_dissect_element_NetWkstaInfo1010_char_wait(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2017 {
2018         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1010_char_wait, 0);
2019
2020         return offset;
2021 }
2022
2023 int
2024 wkssvc_dissect_struct_NetWkstaInfo1010(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2025 {
2026         proto_item *item = NULL;
2027         proto_tree *tree = NULL;
2028         int old_offset;
2029
2030         ALIGN_TO_4_BYTES;
2031
2032         old_offset = offset;
2033
2034         if (parent_tree) {
2035                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2036                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1010);
2037         }
2038         
2039         offset = wkssvc_dissect_element_NetWkstaInfo1010_char_wait(tvb, offset, pinfo, tree, di, drep);
2040
2041
2042         proto_item_set_len(item, offset-old_offset);
2043
2044         return offset;
2045 }
2046
2047
2048 /* IDL: struct { */
2049 /* IDL:         uint32 collection_time; */
2050 /* IDL: } */
2051
2052 static int
2053 wkssvc_dissect_element_NetWkstaInfo1011_collection_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2054 {
2055         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1011_collection_time, 0);
2056
2057         return offset;
2058 }
2059
2060 int
2061 wkssvc_dissect_struct_NetWkstaInfo1011(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2062 {
2063         proto_item *item = NULL;
2064         proto_tree *tree = NULL;
2065         int old_offset;
2066
2067         ALIGN_TO_4_BYTES;
2068
2069         old_offset = offset;
2070
2071         if (parent_tree) {
2072                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2073                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1011);
2074         }
2075         
2076         offset = wkssvc_dissect_element_NetWkstaInfo1011_collection_time(tvb, offset, pinfo, tree, di, drep);
2077
2078
2079         proto_item_set_len(item, offset-old_offset);
2080
2081         return offset;
2082 }
2083
2084
2085 /* IDL: struct { */
2086 /* IDL:         uint32 maximum_collection_count; */
2087 /* IDL: } */
2088
2089 static int
2090 wkssvc_dissect_element_NetWkstaInfo1012_maximum_collection_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2091 {
2092         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1012_maximum_collection_count, 0);
2093
2094         return offset;
2095 }
2096
2097 int
2098 wkssvc_dissect_struct_NetWkstaInfo1012(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2099 {
2100         proto_item *item = NULL;
2101         proto_tree *tree = NULL;
2102         int old_offset;
2103
2104         ALIGN_TO_4_BYTES;
2105
2106         old_offset = offset;
2107
2108         if (parent_tree) {
2109                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2110                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1012);
2111         }
2112         
2113         offset = wkssvc_dissect_element_NetWkstaInfo1012_maximum_collection_count(tvb, offset, pinfo, tree, di, drep);
2114
2115
2116         proto_item_set_len(item, offset-old_offset);
2117
2118         return offset;
2119 }
2120
2121
2122 /* IDL: struct { */
2123 /* IDL:         uint32 keep_connection; */
2124 /* IDL: } */
2125
2126 static int
2127 wkssvc_dissect_element_NetWkstaInfo1013_keep_connection(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2128 {
2129         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1013_keep_connection, 0);
2130
2131         return offset;
2132 }
2133
2134 int
2135 wkssvc_dissect_struct_NetWkstaInfo1013(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2136 {
2137         proto_item *item = NULL;
2138         proto_tree *tree = NULL;
2139         int old_offset;
2140
2141         ALIGN_TO_4_BYTES;
2142
2143         old_offset = offset;
2144
2145         if (parent_tree) {
2146                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2147                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1013);
2148         }
2149         
2150         offset = wkssvc_dissect_element_NetWkstaInfo1013_keep_connection(tvb, offset, pinfo, tree, di, drep);
2151
2152
2153         proto_item_set_len(item, offset-old_offset);
2154
2155         return offset;
2156 }
2157
2158
2159 /* IDL: struct { */
2160 /* IDL:         uint32 session_timeout; */
2161 /* IDL: } */
2162
2163 static int
2164 wkssvc_dissect_element_NetWkstaInfo1018_session_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2165 {
2166         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1018_session_timeout, 0);
2167
2168         return offset;
2169 }
2170
2171 int
2172 wkssvc_dissect_struct_NetWkstaInfo1018(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2173 {
2174         proto_item *item = NULL;
2175         proto_tree *tree = NULL;
2176         int old_offset;
2177
2178         ALIGN_TO_4_BYTES;
2179
2180         old_offset = offset;
2181
2182         if (parent_tree) {
2183                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2184                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1018);
2185         }
2186         
2187         offset = wkssvc_dissect_element_NetWkstaInfo1018_session_timeout(tvb, offset, pinfo, tree, di, drep);
2188
2189
2190         proto_item_set_len(item, offset-old_offset);
2191
2192         return offset;
2193 }
2194
2195
2196 /* IDL: struct { */
2197 /* IDL:         uint32 size_char_buf; */
2198 /* IDL: } */
2199
2200 static int
2201 wkssvc_dissect_element_NetWkstaInfo1023_size_char_buf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2202 {
2203         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1023_size_char_buf, 0);
2204
2205         return offset;
2206 }
2207
2208 int
2209 wkssvc_dissect_struct_NetWkstaInfo1023(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2210 {
2211         proto_item *item = NULL;
2212         proto_tree *tree = NULL;
2213         int old_offset;
2214
2215         ALIGN_TO_4_BYTES;
2216
2217         old_offset = offset;
2218
2219         if (parent_tree) {
2220                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2221                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1023);
2222         }
2223         
2224         offset = wkssvc_dissect_element_NetWkstaInfo1023_size_char_buf(tvb, offset, pinfo, tree, di, drep);
2225
2226
2227         proto_item_set_len(item, offset-old_offset);
2228
2229         return offset;
2230 }
2231
2232
2233 /* IDL: struct { */
2234 /* IDL:         uint32 errorlog_sz; */
2235 /* IDL: } */
2236
2237 static int
2238 wkssvc_dissect_element_NetWkstaInfo1027_errorlog_sz(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2239 {
2240         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1027_errorlog_sz, 0);
2241
2242         return offset;
2243 }
2244
2245 int
2246 wkssvc_dissect_struct_NetWkstaInfo1027(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2247 {
2248         proto_item *item = NULL;
2249         proto_tree *tree = NULL;
2250         int old_offset;
2251
2252         ALIGN_TO_4_BYTES;
2253
2254         old_offset = offset;
2255
2256         if (parent_tree) {
2257                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2258                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1027);
2259         }
2260         
2261         offset = wkssvc_dissect_element_NetWkstaInfo1027_errorlog_sz(tvb, offset, pinfo, tree, di, drep);
2262
2263
2264         proto_item_set_len(item, offset-old_offset);
2265
2266         return offset;
2267 }
2268
2269
2270 /* IDL: struct { */
2271 /* IDL:         uint32 print_buf_time; */
2272 /* IDL: } */
2273
2274 static int
2275 wkssvc_dissect_element_NetWkstaInfo1028_print_buf_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2276 {
2277         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1028_print_buf_time, 0);
2278
2279         return offset;
2280 }
2281
2282 int
2283 wkssvc_dissect_struct_NetWkstaInfo1028(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2284 {
2285         proto_item *item = NULL;
2286         proto_tree *tree = NULL;
2287         int old_offset;
2288
2289         ALIGN_TO_4_BYTES;
2290
2291         old_offset = offset;
2292
2293         if (parent_tree) {
2294                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2295                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1028);
2296         }
2297         
2298         offset = wkssvc_dissect_element_NetWkstaInfo1028_print_buf_time(tvb, offset, pinfo, tree, di, drep);
2299
2300
2301         proto_item_set_len(item, offset-old_offset);
2302
2303         return offset;
2304 }
2305
2306
2307 /* IDL: struct { */
2308 /* IDL:         uint32 wrk_heuristics; */
2309 /* IDL: } */
2310
2311 static int
2312 wkssvc_dissect_element_NetWkstaInfo1032_wrk_heuristics(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2313 {
2314         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1032_wrk_heuristics, 0);
2315
2316         return offset;
2317 }
2318
2319 int
2320 wkssvc_dissect_struct_NetWkstaInfo1032(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2321 {
2322         proto_item *item = NULL;
2323         proto_tree *tree = NULL;
2324         int old_offset;
2325
2326         ALIGN_TO_4_BYTES;
2327
2328         old_offset = offset;
2329
2330         if (parent_tree) {
2331                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2332                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1032);
2333         }
2334         
2335         offset = wkssvc_dissect_element_NetWkstaInfo1032_wrk_heuristics(tvb, offset, pinfo, tree, di, drep);
2336
2337
2338         proto_item_set_len(item, offset-old_offset);
2339
2340         return offset;
2341 }
2342
2343
2344 /* IDL: struct { */
2345 /* IDL:         uint32 max_threads; */
2346 /* IDL: } */
2347
2348 static int
2349 wkssvc_dissect_element_NetWkstaInfo1033_max_threads(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2350 {
2351         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1033_max_threads, 0);
2352
2353         return offset;
2354 }
2355
2356 int
2357 wkssvc_dissect_struct_NetWkstaInfo1033(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2358 {
2359         proto_item *item = NULL;
2360         proto_tree *tree = NULL;
2361         int old_offset;
2362
2363         ALIGN_TO_4_BYTES;
2364
2365         old_offset = offset;
2366
2367         if (parent_tree) {
2368                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2369                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1033);
2370         }
2371         
2372         offset = wkssvc_dissect_element_NetWkstaInfo1033_max_threads(tvb, offset, pinfo, tree, di, drep);
2373
2374
2375         proto_item_set_len(item, offset-old_offset);
2376
2377         return offset;
2378 }
2379
2380
2381 /* IDL: struct { */
2382 /* IDL:         uint32 lock_quota; */
2383 /* IDL: } */
2384
2385 static int
2386 wkssvc_dissect_element_NetWkstaInfo1041_lock_quota(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2387 {
2388         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1041_lock_quota, 0);
2389
2390         return offset;
2391 }
2392
2393 int
2394 wkssvc_dissect_struct_NetWkstaInfo1041(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2395 {
2396         proto_item *item = NULL;
2397         proto_tree *tree = NULL;
2398         int old_offset;
2399
2400         ALIGN_TO_4_BYTES;
2401
2402         old_offset = offset;
2403
2404         if (parent_tree) {
2405                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2406                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1041);
2407         }
2408         
2409         offset = wkssvc_dissect_element_NetWkstaInfo1041_lock_quota(tvb, offset, pinfo, tree, di, drep);
2410
2411
2412         proto_item_set_len(item, offset-old_offset);
2413
2414         return offset;
2415 }
2416
2417
2418 /* IDL: struct { */
2419 /* IDL:         uint32 lock_increment; */
2420 /* IDL: } */
2421
2422 static int
2423 wkssvc_dissect_element_NetWkstaInfo1042_lock_increment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2424 {
2425         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1042_lock_increment, 0);
2426
2427         return offset;
2428 }
2429
2430 int
2431 wkssvc_dissect_struct_NetWkstaInfo1042(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2432 {
2433         proto_item *item = NULL;
2434         proto_tree *tree = NULL;
2435         int old_offset;
2436
2437         ALIGN_TO_4_BYTES;
2438
2439         old_offset = offset;
2440
2441         if (parent_tree) {
2442                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2443                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1042);
2444         }
2445         
2446         offset = wkssvc_dissect_element_NetWkstaInfo1042_lock_increment(tvb, offset, pinfo, tree, di, drep);
2447
2448
2449         proto_item_set_len(item, offset-old_offset);
2450
2451         return offset;
2452 }
2453
2454
2455 /* IDL: struct { */
2456 /* IDL:         uint32 lock_maximum; */
2457 /* IDL: } */
2458
2459 static int
2460 wkssvc_dissect_element_NetWkstaInfo1043_lock_maximum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2461 {
2462         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1043_lock_maximum, 0);
2463
2464         return offset;
2465 }
2466
2467 int
2468 wkssvc_dissect_struct_NetWkstaInfo1043(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2469 {
2470         proto_item *item = NULL;
2471         proto_tree *tree = NULL;
2472         int old_offset;
2473
2474         ALIGN_TO_4_BYTES;
2475
2476         old_offset = offset;
2477
2478         if (parent_tree) {
2479                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2480                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1043);
2481         }
2482         
2483         offset = wkssvc_dissect_element_NetWkstaInfo1043_lock_maximum(tvb, offset, pinfo, tree, di, drep);
2484
2485
2486         proto_item_set_len(item, offset-old_offset);
2487
2488         return offset;
2489 }
2490
2491
2492 /* IDL: struct { */
2493 /* IDL:         uint32 pipe_increment; */
2494 /* IDL: } */
2495
2496 static int
2497 wkssvc_dissect_element_NetWkstaInfo1044_pipe_increment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2498 {
2499         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1044_pipe_increment, 0);
2500
2501         return offset;
2502 }
2503
2504 int
2505 wkssvc_dissect_struct_NetWkstaInfo1044(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2506 {
2507         proto_item *item = NULL;
2508         proto_tree *tree = NULL;
2509         int old_offset;
2510
2511         ALIGN_TO_4_BYTES;
2512
2513         old_offset = offset;
2514
2515         if (parent_tree) {
2516                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2517                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1044);
2518         }
2519         
2520         offset = wkssvc_dissect_element_NetWkstaInfo1044_pipe_increment(tvb, offset, pinfo, tree, di, drep);
2521
2522
2523         proto_item_set_len(item, offset-old_offset);
2524
2525         return offset;
2526 }
2527
2528
2529 /* IDL: struct { */
2530 /* IDL:         uint32 pipe_maximum; */
2531 /* IDL: } */
2532
2533 static int
2534 wkssvc_dissect_element_NetWkstaInfo1045_pipe_maximum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2535 {
2536         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1045_pipe_maximum, 0);
2537
2538         return offset;
2539 }
2540
2541 int
2542 wkssvc_dissect_struct_NetWkstaInfo1045(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2543 {
2544         proto_item *item = NULL;
2545         proto_tree *tree = NULL;
2546         int old_offset;
2547
2548         ALIGN_TO_4_BYTES;
2549
2550         old_offset = offset;
2551
2552         if (parent_tree) {
2553                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2554                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1045);
2555         }
2556         
2557         offset = wkssvc_dissect_element_NetWkstaInfo1045_pipe_maximum(tvb, offset, pinfo, tree, di, drep);
2558
2559
2560         proto_item_set_len(item, offset-old_offset);
2561
2562         return offset;
2563 }
2564
2565
2566 /* IDL: struct { */
2567 /* IDL:         uint32 dormant_file_limit; */
2568 /* IDL: } */
2569
2570 static int
2571 wkssvc_dissect_element_NetWkstaInfo1046_dormant_file_limit(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2572 {
2573         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1046_dormant_file_limit, 0);
2574
2575         return offset;
2576 }
2577
2578 int
2579 wkssvc_dissect_struct_NetWkstaInfo1046(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2580 {
2581         proto_item *item = NULL;
2582         proto_tree *tree = NULL;
2583         int old_offset;
2584
2585         ALIGN_TO_4_BYTES;
2586
2587         old_offset = offset;
2588
2589         if (parent_tree) {
2590                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2591                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1046);
2592         }
2593         
2594         offset = wkssvc_dissect_element_NetWkstaInfo1046_dormant_file_limit(tvb, offset, pinfo, tree, di, drep);
2595
2596
2597         proto_item_set_len(item, offset-old_offset);
2598
2599         return offset;
2600 }
2601
2602
2603 /* IDL: struct { */
2604 /* IDL:         uint32 cache_file_timeout; */
2605 /* IDL: } */
2606
2607 static int
2608 wkssvc_dissect_element_NetWkstaInfo1047_cache_file_timeout(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2609 {
2610         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1047_cache_file_timeout, 0);
2611
2612         return offset;
2613 }
2614
2615 int
2616 wkssvc_dissect_struct_NetWkstaInfo1047(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2617 {
2618         proto_item *item = NULL;
2619         proto_tree *tree = NULL;
2620         int old_offset;
2621
2622         ALIGN_TO_4_BYTES;
2623
2624         old_offset = offset;
2625
2626         if (parent_tree) {
2627                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2628                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1047);
2629         }
2630         
2631         offset = wkssvc_dissect_element_NetWkstaInfo1047_cache_file_timeout(tvb, offset, pinfo, tree, di, drep);
2632
2633
2634         proto_item_set_len(item, offset-old_offset);
2635
2636         return offset;
2637 }
2638
2639
2640 /* IDL: struct { */
2641 /* IDL:         uint32 use_opportunistic_locking; */
2642 /* IDL: } */
2643
2644 static int
2645 wkssvc_dissect_element_NetWkstaInfo1048_use_opportunistic_locking(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2646 {
2647         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1048_use_opportunistic_locking, 0);
2648
2649         return offset;
2650 }
2651
2652 int
2653 wkssvc_dissect_struct_NetWkstaInfo1048(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2654 {
2655         proto_item *item = NULL;
2656         proto_tree *tree = NULL;
2657         int old_offset;
2658
2659         ALIGN_TO_4_BYTES;
2660
2661         old_offset = offset;
2662
2663         if (parent_tree) {
2664                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2665                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1048);
2666         }
2667         
2668         offset = wkssvc_dissect_element_NetWkstaInfo1048_use_opportunistic_locking(tvb, offset, pinfo, tree, di, drep);
2669
2670
2671         proto_item_set_len(item, offset-old_offset);
2672
2673         return offset;
2674 }
2675
2676
2677 /* IDL: struct { */
2678 /* IDL:         uint32 use_unlock_behind; */
2679 /* IDL: } */
2680
2681 static int
2682 wkssvc_dissect_element_NetWkstaInfo1049_use_unlock_behind(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2683 {
2684         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1049_use_unlock_behind, 0);
2685
2686         return offset;
2687 }
2688
2689 int
2690 wkssvc_dissect_struct_NetWkstaInfo1049(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2691 {
2692         proto_item *item = NULL;
2693         proto_tree *tree = NULL;
2694         int old_offset;
2695
2696         ALIGN_TO_4_BYTES;
2697
2698         old_offset = offset;
2699
2700         if (parent_tree) {
2701                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2702                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1049);
2703         }
2704         
2705         offset = wkssvc_dissect_element_NetWkstaInfo1049_use_unlock_behind(tvb, offset, pinfo, tree, di, drep);
2706
2707
2708         proto_item_set_len(item, offset-old_offset);
2709
2710         return offset;
2711 }
2712
2713
2714 /* IDL: struct { */
2715 /* IDL:         uint32 use_close_behind; */
2716 /* IDL: } */
2717
2718 static int
2719 wkssvc_dissect_element_NetWkstaInfo1050_use_close_behind(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2720 {
2721         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1050_use_close_behind, 0);
2722
2723         return offset;
2724 }
2725
2726 int
2727 wkssvc_dissect_struct_NetWkstaInfo1050(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2728 {
2729         proto_item *item = NULL;
2730         proto_tree *tree = NULL;
2731         int old_offset;
2732
2733         ALIGN_TO_4_BYTES;
2734
2735         old_offset = offset;
2736
2737         if (parent_tree) {
2738                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2739                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1050);
2740         }
2741         
2742         offset = wkssvc_dissect_element_NetWkstaInfo1050_use_close_behind(tvb, offset, pinfo, tree, di, drep);
2743
2744
2745         proto_item_set_len(item, offset-old_offset);
2746
2747         return offset;
2748 }
2749
2750
2751 /* IDL: struct { */
2752 /* IDL:         uint32 buf_named_pipes; */
2753 /* IDL: } */
2754
2755 static int
2756 wkssvc_dissect_element_NetWkstaInfo1051_buf_named_pipes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2757 {
2758         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1051_buf_named_pipes, 0);
2759
2760         return offset;
2761 }
2762
2763 int
2764 wkssvc_dissect_struct_NetWkstaInfo1051(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2765 {
2766         proto_item *item = NULL;
2767         proto_tree *tree = NULL;
2768         int old_offset;
2769
2770         ALIGN_TO_4_BYTES;
2771
2772         old_offset = offset;
2773
2774         if (parent_tree) {
2775                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2776                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1051);
2777         }
2778         
2779         offset = wkssvc_dissect_element_NetWkstaInfo1051_buf_named_pipes(tvb, offset, pinfo, tree, di, drep);
2780
2781
2782         proto_item_set_len(item, offset-old_offset);
2783
2784         return offset;
2785 }
2786
2787
2788 /* IDL: struct { */
2789 /* IDL:         uint32 use_lock_read_unlock; */
2790 /* IDL: } */
2791
2792 static int
2793 wkssvc_dissect_element_NetWkstaInfo1052_use_lock_read_unlock(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2794 {
2795         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1052_use_lock_read_unlock, 0);
2796
2797         return offset;
2798 }
2799
2800 int
2801 wkssvc_dissect_struct_NetWkstaInfo1052(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2802 {
2803         proto_item *item = NULL;
2804         proto_tree *tree = NULL;
2805         int old_offset;
2806
2807         ALIGN_TO_4_BYTES;
2808
2809         old_offset = offset;
2810
2811         if (parent_tree) {
2812                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2813                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1052);
2814         }
2815         
2816         offset = wkssvc_dissect_element_NetWkstaInfo1052_use_lock_read_unlock(tvb, offset, pinfo, tree, di, drep);
2817
2818
2819         proto_item_set_len(item, offset-old_offset);
2820
2821         return offset;
2822 }
2823
2824
2825 /* IDL: struct { */
2826 /* IDL:         uint32 utilize_nt_caching; */
2827 /* IDL: } */
2828
2829 static int
2830 wkssvc_dissect_element_NetWkstaInfo1053_utilize_nt_caching(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2831 {
2832         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1053_utilize_nt_caching, 0);
2833
2834         return offset;
2835 }
2836
2837 int
2838 wkssvc_dissect_struct_NetWkstaInfo1053(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2839 {
2840         proto_item *item = NULL;
2841         proto_tree *tree = NULL;
2842         int old_offset;
2843
2844         ALIGN_TO_4_BYTES;
2845
2846         old_offset = offset;
2847
2848         if (parent_tree) {
2849                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2850                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1053);
2851         }
2852         
2853         offset = wkssvc_dissect_element_NetWkstaInfo1053_utilize_nt_caching(tvb, offset, pinfo, tree, di, drep);
2854
2855
2856         proto_item_set_len(item, offset-old_offset);
2857
2858         return offset;
2859 }
2860
2861
2862 /* IDL: struct { */
2863 /* IDL:         uint32 use_raw_read; */
2864 /* IDL: } */
2865
2866 static int
2867 wkssvc_dissect_element_NetWkstaInfo1054_use_raw_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2868 {
2869         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1054_use_raw_read, 0);
2870
2871         return offset;
2872 }
2873
2874 int
2875 wkssvc_dissect_struct_NetWkstaInfo1054(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2876 {
2877         proto_item *item = NULL;
2878         proto_tree *tree = NULL;
2879         int old_offset;
2880
2881         ALIGN_TO_4_BYTES;
2882
2883         old_offset = offset;
2884
2885         if (parent_tree) {
2886                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2887                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1054);
2888         }
2889         
2890         offset = wkssvc_dissect_element_NetWkstaInfo1054_use_raw_read(tvb, offset, pinfo, tree, di, drep);
2891
2892
2893         proto_item_set_len(item, offset-old_offset);
2894
2895         return offset;
2896 }
2897
2898
2899 /* IDL: struct { */
2900 /* IDL:         uint32 use_raw_write; */
2901 /* IDL: } */
2902
2903 static int
2904 wkssvc_dissect_element_NetWkstaInfo1055_use_raw_write(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2905 {
2906         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1055_use_raw_write, 0);
2907
2908         return offset;
2909 }
2910
2911 int
2912 wkssvc_dissect_struct_NetWkstaInfo1055(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2913 {
2914         proto_item *item = NULL;
2915         proto_tree *tree = NULL;
2916         int old_offset;
2917
2918         ALIGN_TO_4_BYTES;
2919
2920         old_offset = offset;
2921
2922         if (parent_tree) {
2923                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2924                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1055);
2925         }
2926         
2927         offset = wkssvc_dissect_element_NetWkstaInfo1055_use_raw_write(tvb, offset, pinfo, tree, di, drep);
2928
2929
2930         proto_item_set_len(item, offset-old_offset);
2931
2932         return offset;
2933 }
2934
2935
2936 /* IDL: struct { */
2937 /* IDL:         uint32 use_write_raw_data; */
2938 /* IDL: } */
2939
2940 static int
2941 wkssvc_dissect_element_NetWkstaInfo1056_use_write_raw_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2942 {
2943         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1056_use_write_raw_data, 0);
2944
2945         return offset;
2946 }
2947
2948 int
2949 wkssvc_dissect_struct_NetWkstaInfo1056(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2950 {
2951         proto_item *item = NULL;
2952         proto_tree *tree = NULL;
2953         int old_offset;
2954
2955         ALIGN_TO_4_BYTES;
2956
2957         old_offset = offset;
2958
2959         if (parent_tree) {
2960                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2961                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1056);
2962         }
2963         
2964         offset = wkssvc_dissect_element_NetWkstaInfo1056_use_write_raw_data(tvb, offset, pinfo, tree, di, drep);
2965
2966
2967         proto_item_set_len(item, offset-old_offset);
2968
2969         return offset;
2970 }
2971
2972
2973 /* IDL: struct { */
2974 /* IDL:         uint32 use_encryption; */
2975 /* IDL: } */
2976
2977 static int
2978 wkssvc_dissect_element_NetWkstaInfo1057_use_encryption(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
2979 {
2980         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1057_use_encryption, 0);
2981
2982         return offset;
2983 }
2984
2985 int
2986 wkssvc_dissect_struct_NetWkstaInfo1057(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
2987 {
2988         proto_item *item = NULL;
2989         proto_tree *tree = NULL;
2990         int old_offset;
2991
2992         ALIGN_TO_4_BYTES;
2993
2994         old_offset = offset;
2995
2996         if (parent_tree) {
2997                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2998                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1057);
2999         }
3000         
3001         offset = wkssvc_dissect_element_NetWkstaInfo1057_use_encryption(tvb, offset, pinfo, tree, di, drep);
3002
3003
3004         proto_item_set_len(item, offset-old_offset);
3005
3006         return offset;
3007 }
3008
3009
3010 /* IDL: struct { */
3011 /* IDL:         uint32 buf_files_deny_write; */
3012 /* IDL: } */
3013
3014 static int
3015 wkssvc_dissect_element_NetWkstaInfo1058_buf_files_deny_write(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3016 {
3017         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1058_buf_files_deny_write, 0);
3018
3019         return offset;
3020 }
3021
3022 int
3023 wkssvc_dissect_struct_NetWkstaInfo1058(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3024 {
3025         proto_item *item = NULL;
3026         proto_tree *tree = NULL;
3027         int old_offset;
3028
3029         ALIGN_TO_4_BYTES;
3030
3031         old_offset = offset;
3032
3033         if (parent_tree) {
3034                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3035                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1058);
3036         }
3037         
3038         offset = wkssvc_dissect_element_NetWkstaInfo1058_buf_files_deny_write(tvb, offset, pinfo, tree, di, drep);
3039
3040
3041         proto_item_set_len(item, offset-old_offset);
3042
3043         return offset;
3044 }
3045
3046
3047 /* IDL: struct { */
3048 /* IDL:         uint32 buf_read_only_files; */
3049 /* IDL: } */
3050
3051 static int
3052 wkssvc_dissect_element_NetWkstaInfo1059_buf_read_only_files(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3053 {
3054         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1059_buf_read_only_files, 0);
3055
3056         return offset;
3057 }
3058
3059 int
3060 wkssvc_dissect_struct_NetWkstaInfo1059(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3061 {
3062         proto_item *item = NULL;
3063         proto_tree *tree = NULL;
3064         int old_offset;
3065
3066         ALIGN_TO_4_BYTES;
3067
3068         old_offset = offset;
3069
3070         if (parent_tree) {
3071                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3072                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1059);
3073         }
3074         
3075         offset = wkssvc_dissect_element_NetWkstaInfo1059_buf_read_only_files(tvb, offset, pinfo, tree, di, drep);
3076
3077
3078         proto_item_set_len(item, offset-old_offset);
3079
3080         return offset;
3081 }
3082
3083
3084 /* IDL: struct { */
3085 /* IDL:         uint32 force_core_create_mode; */
3086 /* IDL: } */
3087
3088 static int
3089 wkssvc_dissect_element_NetWkstaInfo1060_force_core_create_mode(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3090 {
3091         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1060_force_core_create_mode, 0);
3092
3093         return offset;
3094 }
3095
3096 int
3097 wkssvc_dissect_struct_NetWkstaInfo1060(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3098 {
3099         proto_item *item = NULL;
3100         proto_tree *tree = NULL;
3101         int old_offset;
3102
3103         ALIGN_TO_4_BYTES;
3104
3105         old_offset = offset;
3106
3107         if (parent_tree) {
3108                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3109                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1060);
3110         }
3111         
3112         offset = wkssvc_dissect_element_NetWkstaInfo1060_force_core_create_mode(tvb, offset, pinfo, tree, di, drep);
3113
3114
3115         proto_item_set_len(item, offset-old_offset);
3116
3117         return offset;
3118 }
3119
3120
3121 /* IDL: struct { */
3122 /* IDL:         uint32 use_512_byte_max_transfer; */
3123 /* IDL: } */
3124
3125 static int
3126 wkssvc_dissect_element_NetWkstaInfo1061_use_512_byte_max_transfer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3127 {
3128         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1061_use_512_byte_max_transfer, 0);
3129
3130         return offset;
3131 }
3132
3133 int
3134 wkssvc_dissect_struct_NetWkstaInfo1061(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3135 {
3136         proto_item *item = NULL;
3137         proto_tree *tree = NULL;
3138         int old_offset;
3139
3140         ALIGN_TO_4_BYTES;
3141
3142         old_offset = offset;
3143
3144         if (parent_tree) {
3145                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3146                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1061);
3147         }
3148         
3149         offset = wkssvc_dissect_element_NetWkstaInfo1061_use_512_byte_max_transfer(tvb, offset, pinfo, tree, di, drep);
3150
3151
3152         proto_item_set_len(item, offset-old_offset);
3153
3154         return offset;
3155 }
3156
3157
3158 /* IDL: struct { */
3159 /* IDL:         uint32 read_ahead_throughput; */
3160 /* IDL: } */
3161
3162 static int
3163 wkssvc_dissect_element_NetWkstaInfo1062_read_ahead_throughput(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3164 {
3165         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaInfo1062_read_ahead_throughput, 0);
3166
3167         return offset;
3168 }
3169
3170 int
3171 wkssvc_dissect_struct_NetWkstaInfo1062(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3172 {
3173         proto_item *item = NULL;
3174         proto_tree *tree = NULL;
3175         int old_offset;
3176
3177         ALIGN_TO_4_BYTES;
3178
3179         old_offset = offset;
3180
3181         if (parent_tree) {
3182                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3183                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaInfo1062);
3184         }
3185         
3186         offset = wkssvc_dissect_element_NetWkstaInfo1062_read_ahead_throughput(tvb, offset, pinfo, tree, di, drep);
3187
3188
3189         proto_item_set_len(item, offset-old_offset);
3190
3191         return offset;
3192 }
3193
3194
3195 /* IDL: union { */
3196 /* IDL: [case(100)] [unique(1)] [case(100)] wkssvc_NetWkstaInfo100 *info100; */
3197 /* IDL: [case(101)] [unique(1)] [case(101)] wkssvc_NetWkstaInfo101 *info101; */
3198 /* IDL: [case(102)] [unique(1)] [case(102)] wkssvc_NetWkstaInfo102 *info102; */
3199 /* IDL: [case(502)] [unique(1)] [case(502)] wkssvc_NetWkstaInfo502 *info502; */
3200 /* IDL: [case(1010)] [unique(1)] [case(1010)] wkssvc_NetWkstaInfo1010 *info1010; */
3201 /* IDL: [case(1011)] [unique(1)] [case(1011)] wkssvc_NetWkstaInfo1011 *info1011; */
3202 /* IDL: [case(1012)] [unique(1)] [case(1012)] wkssvc_NetWkstaInfo1012 *info1012; */
3203 /* IDL: [case(1013)] [unique(1)] [case(1013)] wkssvc_NetWkstaInfo1013 *info1013; */
3204 /* IDL: [case(1018)] [unique(1)] [case(1018)] wkssvc_NetWkstaInfo1018 *info1018; */
3205 /* IDL: [case(1023)] [unique(1)] [case(1023)] wkssvc_NetWkstaInfo1023 *info1023; */
3206 /* IDL: [case(1027)] [unique(1)] [case(1027)] wkssvc_NetWkstaInfo1027 *info1027; */
3207 /* IDL: [case(1028)] [unique(1)] [case(1028)] wkssvc_NetWkstaInfo1028 *info1028; */
3208 /* IDL: [case(1032)] [unique(1)] [case(1032)] wkssvc_NetWkstaInfo1032 *info1032; */
3209 /* IDL: [case(1033)] [unique(1)] [case(1033)] wkssvc_NetWkstaInfo1033 *info1033; */
3210 /* IDL: [case(1041)] [unique(1)] [case(1041)] wkssvc_NetWkstaInfo1041 *info1041; */
3211 /* IDL: [case(1042)] [unique(1)] [case(1042)] wkssvc_NetWkstaInfo1042 *info1042; */
3212 /* IDL: [case(1043)] [unique(1)] [case(1043)] wkssvc_NetWkstaInfo1043 *info1043; */
3213 /* IDL: [case(1044)] [unique(1)] [case(1044)] wkssvc_NetWkstaInfo1044 *info1044; */
3214 /* IDL: [case(1045)] [unique(1)] [case(1045)] wkssvc_NetWkstaInfo1045 *info1045; */
3215 /* IDL: [case(1046)] [unique(1)] [case(1046)] wkssvc_NetWkstaInfo1046 *info1046; */
3216 /* IDL: [case(1047)] [unique(1)] [case(1047)] wkssvc_NetWkstaInfo1047 *info1047; */
3217 /* IDL: [case(1048)] [unique(1)] [case(1048)] wkssvc_NetWkstaInfo1048 *info1048; */
3218 /* IDL: [case(1049)] [unique(1)] [case(1049)] wkssvc_NetWkstaInfo1049 *info1049; */
3219 /* IDL: [case(1050)] [unique(1)] [case(1050)] wkssvc_NetWkstaInfo1050 *info1050; */
3220 /* IDL: [case(1051)] [unique(1)] [case(1051)] wkssvc_NetWkstaInfo1051 *info1051; */
3221 /* IDL: [case(1052)] [unique(1)] [case(1052)] wkssvc_NetWkstaInfo1052 *info1052; */
3222 /* IDL: [case(1053)] [unique(1)] [case(1053)] wkssvc_NetWkstaInfo1053 *info1053; */
3223 /* IDL: [case(1054)] [unique(1)] [case(1054)] wkssvc_NetWkstaInfo1054 *info1054; */
3224 /* IDL: [case(1055)] [unique(1)] [case(1055)] wkssvc_NetWkstaInfo1055 *info1055; */
3225 /* IDL: [case(1056)] [unique(1)] [case(1056)] wkssvc_NetWkstaInfo1056 *info1056; */
3226 /* IDL: [case(1057)] [unique(1)] [case(1057)] wkssvc_NetWkstaInfo1057 *info1057; */
3227 /* IDL: [case(1058)] [unique(1)] [case(1058)] wkssvc_NetWkstaInfo1058 *info1058; */
3228 /* IDL: [case(1059)] [unique(1)] [case(1059)] wkssvc_NetWkstaInfo1059 *info1059; */
3229 /* IDL: [case(1060)] [unique(1)] [case(1060)] wkssvc_NetWkstaInfo1060 *info1060; */
3230 /* IDL: [case(1061)] [unique(1)] [case(1061)] wkssvc_NetWkstaInfo1061 *info1061; */
3231 /* IDL: [case(1062)] [unique(1)] [case(1062)] wkssvc_NetWkstaInfo1062 *info1062; */
3232 /* IDL: [default] ; */
3233 /* IDL: } */
3234
3235 static int
3236 wkssvc_dissect_element_NetWkstaInfo_info100(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3237 {
3238         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info100_, NDR_POINTER_UNIQUE, "Pointer to Info100 (wkssvc_NetWkstaInfo100)",hf_wkssvc_wkssvc_NetWkstaInfo_info100);
3239
3240         return offset;
3241 }
3242
3243 static int
3244 wkssvc_dissect_element_NetWkstaInfo_info100_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3245 {
3246         offset = wkssvc_dissect_struct_NetWkstaInfo100(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info100,0);
3247
3248         return offset;
3249 }
3250
3251 static int
3252 wkssvc_dissect_element_NetWkstaInfo_info101(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3253 {
3254         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info101_, NDR_POINTER_UNIQUE, "Pointer to Info101 (wkssvc_NetWkstaInfo101)",hf_wkssvc_wkssvc_NetWkstaInfo_info101);
3255
3256         return offset;
3257 }
3258
3259 static int
3260 wkssvc_dissect_element_NetWkstaInfo_info101_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3261 {
3262         offset = wkssvc_dissect_struct_NetWkstaInfo101(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info101,0);
3263
3264         return offset;
3265 }
3266
3267 static int
3268 wkssvc_dissect_element_NetWkstaInfo_info102(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3269 {
3270         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info102_, NDR_POINTER_UNIQUE, "Pointer to Info102 (wkssvc_NetWkstaInfo102)",hf_wkssvc_wkssvc_NetWkstaInfo_info102);
3271
3272         return offset;
3273 }
3274
3275 static int
3276 wkssvc_dissect_element_NetWkstaInfo_info102_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3277 {
3278         offset = wkssvc_dissect_struct_NetWkstaInfo102(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info102,0);
3279
3280         return offset;
3281 }
3282
3283 static int
3284 wkssvc_dissect_element_NetWkstaInfo_info502(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3285 {
3286         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info502_, NDR_POINTER_UNIQUE, "Pointer to Info502 (wkssvc_NetWkstaInfo502)",hf_wkssvc_wkssvc_NetWkstaInfo_info502);
3287
3288         return offset;
3289 }
3290
3291 static int
3292 wkssvc_dissect_element_NetWkstaInfo_info502_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3293 {
3294         offset = wkssvc_dissect_struct_NetWkstaInfo502(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info502,0);
3295
3296         return offset;
3297 }
3298
3299 static int
3300 wkssvc_dissect_element_NetWkstaInfo_info1010(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3301 {
3302         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1010_, NDR_POINTER_UNIQUE, "Pointer to Info1010 (wkssvc_NetWkstaInfo1010)",hf_wkssvc_wkssvc_NetWkstaInfo_info1010);
3303
3304         return offset;
3305 }
3306
3307 static int
3308 wkssvc_dissect_element_NetWkstaInfo_info1010_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3309 {
3310         offset = wkssvc_dissect_struct_NetWkstaInfo1010(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1010,0);
3311
3312         return offset;
3313 }
3314
3315 static int
3316 wkssvc_dissect_element_NetWkstaInfo_info1011(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3317 {
3318         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1011_, NDR_POINTER_UNIQUE, "Pointer to Info1011 (wkssvc_NetWkstaInfo1011)",hf_wkssvc_wkssvc_NetWkstaInfo_info1011);
3319
3320         return offset;
3321 }
3322
3323 static int
3324 wkssvc_dissect_element_NetWkstaInfo_info1011_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3325 {
3326         offset = wkssvc_dissect_struct_NetWkstaInfo1011(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1011,0);
3327
3328         return offset;
3329 }
3330
3331 static int
3332 wkssvc_dissect_element_NetWkstaInfo_info1012(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3333 {
3334         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1012_, NDR_POINTER_UNIQUE, "Pointer to Info1012 (wkssvc_NetWkstaInfo1012)",hf_wkssvc_wkssvc_NetWkstaInfo_info1012);
3335
3336         return offset;
3337 }
3338
3339 static int
3340 wkssvc_dissect_element_NetWkstaInfo_info1012_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3341 {
3342         offset = wkssvc_dissect_struct_NetWkstaInfo1012(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1012,0);
3343
3344         return offset;
3345 }
3346
3347 static int
3348 wkssvc_dissect_element_NetWkstaInfo_info1013(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3349 {
3350         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1013_, NDR_POINTER_UNIQUE, "Pointer to Info1013 (wkssvc_NetWkstaInfo1013)",hf_wkssvc_wkssvc_NetWkstaInfo_info1013);
3351
3352         return offset;
3353 }
3354
3355 static int
3356 wkssvc_dissect_element_NetWkstaInfo_info1013_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3357 {
3358         offset = wkssvc_dissect_struct_NetWkstaInfo1013(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1013,0);
3359
3360         return offset;
3361 }
3362
3363 static int
3364 wkssvc_dissect_element_NetWkstaInfo_info1018(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3365 {
3366         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1018_, NDR_POINTER_UNIQUE, "Pointer to Info1018 (wkssvc_NetWkstaInfo1018)",hf_wkssvc_wkssvc_NetWkstaInfo_info1018);
3367
3368         return offset;
3369 }
3370
3371 static int
3372 wkssvc_dissect_element_NetWkstaInfo_info1018_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3373 {
3374         offset = wkssvc_dissect_struct_NetWkstaInfo1018(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1018,0);
3375
3376         return offset;
3377 }
3378
3379 static int
3380 wkssvc_dissect_element_NetWkstaInfo_info1023(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3381 {
3382         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1023_, NDR_POINTER_UNIQUE, "Pointer to Info1023 (wkssvc_NetWkstaInfo1023)",hf_wkssvc_wkssvc_NetWkstaInfo_info1023);
3383
3384         return offset;
3385 }
3386
3387 static int
3388 wkssvc_dissect_element_NetWkstaInfo_info1023_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3389 {
3390         offset = wkssvc_dissect_struct_NetWkstaInfo1023(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1023,0);
3391
3392         return offset;
3393 }
3394
3395 static int
3396 wkssvc_dissect_element_NetWkstaInfo_info1027(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3397 {
3398         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1027_, NDR_POINTER_UNIQUE, "Pointer to Info1027 (wkssvc_NetWkstaInfo1027)",hf_wkssvc_wkssvc_NetWkstaInfo_info1027);
3399
3400         return offset;
3401 }
3402
3403 static int
3404 wkssvc_dissect_element_NetWkstaInfo_info1027_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3405 {
3406         offset = wkssvc_dissect_struct_NetWkstaInfo1027(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1027,0);
3407
3408         return offset;
3409 }
3410
3411 static int
3412 wkssvc_dissect_element_NetWkstaInfo_info1028(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3413 {
3414         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1028_, NDR_POINTER_UNIQUE, "Pointer to Info1028 (wkssvc_NetWkstaInfo1028)",hf_wkssvc_wkssvc_NetWkstaInfo_info1028);
3415
3416         return offset;
3417 }
3418
3419 static int
3420 wkssvc_dissect_element_NetWkstaInfo_info1028_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3421 {
3422         offset = wkssvc_dissect_struct_NetWkstaInfo1028(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1028,0);
3423
3424         return offset;
3425 }
3426
3427 static int
3428 wkssvc_dissect_element_NetWkstaInfo_info1032(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3429 {
3430         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1032_, NDR_POINTER_UNIQUE, "Pointer to Info1032 (wkssvc_NetWkstaInfo1032)",hf_wkssvc_wkssvc_NetWkstaInfo_info1032);
3431
3432         return offset;
3433 }
3434
3435 static int
3436 wkssvc_dissect_element_NetWkstaInfo_info1032_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3437 {
3438         offset = wkssvc_dissect_struct_NetWkstaInfo1032(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1032,0);
3439
3440         return offset;
3441 }
3442
3443 static int
3444 wkssvc_dissect_element_NetWkstaInfo_info1033(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3445 {
3446         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1033_, NDR_POINTER_UNIQUE, "Pointer to Info1033 (wkssvc_NetWkstaInfo1033)",hf_wkssvc_wkssvc_NetWkstaInfo_info1033);
3447
3448         return offset;
3449 }
3450
3451 static int
3452 wkssvc_dissect_element_NetWkstaInfo_info1033_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3453 {
3454         offset = wkssvc_dissect_struct_NetWkstaInfo1033(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1033,0);
3455
3456         return offset;
3457 }
3458
3459 static int
3460 wkssvc_dissect_element_NetWkstaInfo_info1041(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3461 {
3462         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1041_, NDR_POINTER_UNIQUE, "Pointer to Info1041 (wkssvc_NetWkstaInfo1041)",hf_wkssvc_wkssvc_NetWkstaInfo_info1041);
3463
3464         return offset;
3465 }
3466
3467 static int
3468 wkssvc_dissect_element_NetWkstaInfo_info1041_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3469 {
3470         offset = wkssvc_dissect_struct_NetWkstaInfo1041(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1041,0);
3471
3472         return offset;
3473 }
3474
3475 static int
3476 wkssvc_dissect_element_NetWkstaInfo_info1042(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3477 {
3478         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1042_, NDR_POINTER_UNIQUE, "Pointer to Info1042 (wkssvc_NetWkstaInfo1042)",hf_wkssvc_wkssvc_NetWkstaInfo_info1042);
3479
3480         return offset;
3481 }
3482
3483 static int
3484 wkssvc_dissect_element_NetWkstaInfo_info1042_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3485 {
3486         offset = wkssvc_dissect_struct_NetWkstaInfo1042(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1042,0);
3487
3488         return offset;
3489 }
3490
3491 static int
3492 wkssvc_dissect_element_NetWkstaInfo_info1043(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3493 {
3494         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1043_, NDR_POINTER_UNIQUE, "Pointer to Info1043 (wkssvc_NetWkstaInfo1043)",hf_wkssvc_wkssvc_NetWkstaInfo_info1043);
3495
3496         return offset;
3497 }
3498
3499 static int
3500 wkssvc_dissect_element_NetWkstaInfo_info1043_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3501 {
3502         offset = wkssvc_dissect_struct_NetWkstaInfo1043(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1043,0);
3503
3504         return offset;
3505 }
3506
3507 static int
3508 wkssvc_dissect_element_NetWkstaInfo_info1044(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3509 {
3510         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1044_, NDR_POINTER_UNIQUE, "Pointer to Info1044 (wkssvc_NetWkstaInfo1044)",hf_wkssvc_wkssvc_NetWkstaInfo_info1044);
3511
3512         return offset;
3513 }
3514
3515 static int
3516 wkssvc_dissect_element_NetWkstaInfo_info1044_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3517 {
3518         offset = wkssvc_dissect_struct_NetWkstaInfo1044(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1044,0);
3519
3520         return offset;
3521 }
3522
3523 static int
3524 wkssvc_dissect_element_NetWkstaInfo_info1045(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3525 {
3526         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1045_, NDR_POINTER_UNIQUE, "Pointer to Info1045 (wkssvc_NetWkstaInfo1045)",hf_wkssvc_wkssvc_NetWkstaInfo_info1045);
3527
3528         return offset;
3529 }
3530
3531 static int
3532 wkssvc_dissect_element_NetWkstaInfo_info1045_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3533 {
3534         offset = wkssvc_dissect_struct_NetWkstaInfo1045(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1045,0);
3535
3536         return offset;
3537 }
3538
3539 static int
3540 wkssvc_dissect_element_NetWkstaInfo_info1046(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3541 {
3542         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1046_, NDR_POINTER_UNIQUE, "Pointer to Info1046 (wkssvc_NetWkstaInfo1046)",hf_wkssvc_wkssvc_NetWkstaInfo_info1046);
3543
3544         return offset;
3545 }
3546
3547 static int
3548 wkssvc_dissect_element_NetWkstaInfo_info1046_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3549 {
3550         offset = wkssvc_dissect_struct_NetWkstaInfo1046(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1046,0);
3551
3552         return offset;
3553 }
3554
3555 static int
3556 wkssvc_dissect_element_NetWkstaInfo_info1047(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3557 {
3558         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1047_, NDR_POINTER_UNIQUE, "Pointer to Info1047 (wkssvc_NetWkstaInfo1047)",hf_wkssvc_wkssvc_NetWkstaInfo_info1047);
3559
3560         return offset;
3561 }
3562
3563 static int
3564 wkssvc_dissect_element_NetWkstaInfo_info1047_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3565 {
3566         offset = wkssvc_dissect_struct_NetWkstaInfo1047(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1047,0);
3567
3568         return offset;
3569 }
3570
3571 static int
3572 wkssvc_dissect_element_NetWkstaInfo_info1048(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3573 {
3574         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1048_, NDR_POINTER_UNIQUE, "Pointer to Info1048 (wkssvc_NetWkstaInfo1048)",hf_wkssvc_wkssvc_NetWkstaInfo_info1048);
3575
3576         return offset;
3577 }
3578
3579 static int
3580 wkssvc_dissect_element_NetWkstaInfo_info1048_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3581 {
3582         offset = wkssvc_dissect_struct_NetWkstaInfo1048(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1048,0);
3583
3584         return offset;
3585 }
3586
3587 static int
3588 wkssvc_dissect_element_NetWkstaInfo_info1049(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3589 {
3590         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1049_, NDR_POINTER_UNIQUE, "Pointer to Info1049 (wkssvc_NetWkstaInfo1049)",hf_wkssvc_wkssvc_NetWkstaInfo_info1049);
3591
3592         return offset;
3593 }
3594
3595 static int
3596 wkssvc_dissect_element_NetWkstaInfo_info1049_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3597 {
3598         offset = wkssvc_dissect_struct_NetWkstaInfo1049(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1049,0);
3599
3600         return offset;
3601 }
3602
3603 static int
3604 wkssvc_dissect_element_NetWkstaInfo_info1050(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3605 {
3606         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1050_, NDR_POINTER_UNIQUE, "Pointer to Info1050 (wkssvc_NetWkstaInfo1050)",hf_wkssvc_wkssvc_NetWkstaInfo_info1050);
3607
3608         return offset;
3609 }
3610
3611 static int
3612 wkssvc_dissect_element_NetWkstaInfo_info1050_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3613 {
3614         offset = wkssvc_dissect_struct_NetWkstaInfo1050(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1050,0);
3615
3616         return offset;
3617 }
3618
3619 static int
3620 wkssvc_dissect_element_NetWkstaInfo_info1051(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3621 {
3622         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1051_, NDR_POINTER_UNIQUE, "Pointer to Info1051 (wkssvc_NetWkstaInfo1051)",hf_wkssvc_wkssvc_NetWkstaInfo_info1051);
3623
3624         return offset;
3625 }
3626
3627 static int
3628 wkssvc_dissect_element_NetWkstaInfo_info1051_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3629 {
3630         offset = wkssvc_dissect_struct_NetWkstaInfo1051(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1051,0);
3631
3632         return offset;
3633 }
3634
3635 static int
3636 wkssvc_dissect_element_NetWkstaInfo_info1052(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3637 {
3638         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1052_, NDR_POINTER_UNIQUE, "Pointer to Info1052 (wkssvc_NetWkstaInfo1052)",hf_wkssvc_wkssvc_NetWkstaInfo_info1052);
3639
3640         return offset;
3641 }
3642
3643 static int
3644 wkssvc_dissect_element_NetWkstaInfo_info1052_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3645 {
3646         offset = wkssvc_dissect_struct_NetWkstaInfo1052(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1052,0);
3647
3648         return offset;
3649 }
3650
3651 static int
3652 wkssvc_dissect_element_NetWkstaInfo_info1053(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3653 {
3654         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1053_, NDR_POINTER_UNIQUE, "Pointer to Info1053 (wkssvc_NetWkstaInfo1053)",hf_wkssvc_wkssvc_NetWkstaInfo_info1053);
3655
3656         return offset;
3657 }
3658
3659 static int
3660 wkssvc_dissect_element_NetWkstaInfo_info1053_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3661 {
3662         offset = wkssvc_dissect_struct_NetWkstaInfo1053(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1053,0);
3663
3664         return offset;
3665 }
3666
3667 static int
3668 wkssvc_dissect_element_NetWkstaInfo_info1054(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3669 {
3670         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1054_, NDR_POINTER_UNIQUE, "Pointer to Info1054 (wkssvc_NetWkstaInfo1054)",hf_wkssvc_wkssvc_NetWkstaInfo_info1054);
3671
3672         return offset;
3673 }
3674
3675 static int
3676 wkssvc_dissect_element_NetWkstaInfo_info1054_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3677 {
3678         offset = wkssvc_dissect_struct_NetWkstaInfo1054(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1054,0);
3679
3680         return offset;
3681 }
3682
3683 static int
3684 wkssvc_dissect_element_NetWkstaInfo_info1055(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3685 {
3686         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1055_, NDR_POINTER_UNIQUE, "Pointer to Info1055 (wkssvc_NetWkstaInfo1055)",hf_wkssvc_wkssvc_NetWkstaInfo_info1055);
3687
3688         return offset;
3689 }
3690
3691 static int
3692 wkssvc_dissect_element_NetWkstaInfo_info1055_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3693 {
3694         offset = wkssvc_dissect_struct_NetWkstaInfo1055(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1055,0);
3695
3696         return offset;
3697 }
3698
3699 static int
3700 wkssvc_dissect_element_NetWkstaInfo_info1056(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3701 {
3702         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1056_, NDR_POINTER_UNIQUE, "Pointer to Info1056 (wkssvc_NetWkstaInfo1056)",hf_wkssvc_wkssvc_NetWkstaInfo_info1056);
3703
3704         return offset;
3705 }
3706
3707 static int
3708 wkssvc_dissect_element_NetWkstaInfo_info1056_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3709 {
3710         offset = wkssvc_dissect_struct_NetWkstaInfo1056(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1056,0);
3711
3712         return offset;
3713 }
3714
3715 static int
3716 wkssvc_dissect_element_NetWkstaInfo_info1057(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3717 {
3718         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1057_, NDR_POINTER_UNIQUE, "Pointer to Info1057 (wkssvc_NetWkstaInfo1057)",hf_wkssvc_wkssvc_NetWkstaInfo_info1057);
3719
3720         return offset;
3721 }
3722
3723 static int
3724 wkssvc_dissect_element_NetWkstaInfo_info1057_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3725 {
3726         offset = wkssvc_dissect_struct_NetWkstaInfo1057(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1057,0);
3727
3728         return offset;
3729 }
3730
3731 static int
3732 wkssvc_dissect_element_NetWkstaInfo_info1058(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3733 {
3734         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1058_, NDR_POINTER_UNIQUE, "Pointer to Info1058 (wkssvc_NetWkstaInfo1058)",hf_wkssvc_wkssvc_NetWkstaInfo_info1058);
3735
3736         return offset;
3737 }
3738
3739 static int
3740 wkssvc_dissect_element_NetWkstaInfo_info1058_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3741 {
3742         offset = wkssvc_dissect_struct_NetWkstaInfo1058(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1058,0);
3743
3744         return offset;
3745 }
3746
3747 static int
3748 wkssvc_dissect_element_NetWkstaInfo_info1059(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3749 {
3750         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1059_, NDR_POINTER_UNIQUE, "Pointer to Info1059 (wkssvc_NetWkstaInfo1059)",hf_wkssvc_wkssvc_NetWkstaInfo_info1059);
3751
3752         return offset;
3753 }
3754
3755 static int
3756 wkssvc_dissect_element_NetWkstaInfo_info1059_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3757 {
3758         offset = wkssvc_dissect_struct_NetWkstaInfo1059(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1059,0);
3759
3760         return offset;
3761 }
3762
3763 static int
3764 wkssvc_dissect_element_NetWkstaInfo_info1060(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3765 {
3766         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1060_, NDR_POINTER_UNIQUE, "Pointer to Info1060 (wkssvc_NetWkstaInfo1060)",hf_wkssvc_wkssvc_NetWkstaInfo_info1060);
3767
3768         return offset;
3769 }
3770
3771 static int
3772 wkssvc_dissect_element_NetWkstaInfo_info1060_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3773 {
3774         offset = wkssvc_dissect_struct_NetWkstaInfo1060(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1060,0);
3775
3776         return offset;
3777 }
3778
3779 static int
3780 wkssvc_dissect_element_NetWkstaInfo_info1061(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3781 {
3782         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1061_, NDR_POINTER_UNIQUE, "Pointer to Info1061 (wkssvc_NetWkstaInfo1061)",hf_wkssvc_wkssvc_NetWkstaInfo_info1061);
3783
3784         return offset;
3785 }
3786
3787 static int
3788 wkssvc_dissect_element_NetWkstaInfo_info1061_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3789 {
3790         offset = wkssvc_dissect_struct_NetWkstaInfo1061(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1061,0);
3791
3792         return offset;
3793 }
3794
3795 static int
3796 wkssvc_dissect_element_NetWkstaInfo_info1062(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3797 {
3798         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaInfo_info1062_, NDR_POINTER_UNIQUE, "Pointer to Info1062 (wkssvc_NetWkstaInfo1062)",hf_wkssvc_wkssvc_NetWkstaInfo_info1062);
3799
3800         return offset;
3801 }
3802
3803 static int
3804 wkssvc_dissect_element_NetWkstaInfo_info1062_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3805 {
3806         offset = wkssvc_dissect_struct_NetWkstaInfo1062(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaInfo_info1062,0);
3807
3808         return offset;
3809 }
3810
3811 static int
3812 wkssvc_dissect_NetWkstaInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
3813 {
3814         proto_item *item = NULL;
3815         proto_tree *tree = NULL;
3816         int old_offset;
3817         guint32 level;
3818
3819         old_offset = offset;
3820         if (parent_tree) {
3821                 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_wkssvc_wkssvc_NetWkstaInfo, &item, "wkssvc_NetWkstaInfo");
3822         }
3823
3824         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
3825         ALIGN_TO_4_BYTES;
3826
3827         switch(level) {
3828                 case 100:
3829                         offset = wkssvc_dissect_element_NetWkstaInfo_info100(tvb, offset, pinfo, tree, di, drep);
3830                 break;
3831
3832                 case 101:
3833                         offset = wkssvc_dissect_element_NetWkstaInfo_info101(tvb, offset, pinfo, tree, di, drep);
3834                 break;
3835
3836                 case 102:
3837                         offset = wkssvc_dissect_element_NetWkstaInfo_info102(tvb, offset, pinfo, tree, di, drep);
3838                 break;
3839
3840                 case 502:
3841                         offset = wkssvc_dissect_element_NetWkstaInfo_info502(tvb, offset, pinfo, tree, di, drep);
3842                 break;
3843
3844                 case 1010:
3845                         offset = wkssvc_dissect_element_NetWkstaInfo_info1010(tvb, offset, pinfo, tree, di, drep);
3846                 break;
3847
3848                 case 1011:
3849                         offset = wkssvc_dissect_element_NetWkstaInfo_info1011(tvb, offset, pinfo, tree, di, drep);
3850                 break;
3851
3852                 case 1012:
3853                         offset = wkssvc_dissect_element_NetWkstaInfo_info1012(tvb, offset, pinfo, tree, di, drep);
3854                 break;
3855
3856                 case 1013:
3857                         offset = wkssvc_dissect_element_NetWkstaInfo_info1013(tvb, offset, pinfo, tree, di, drep);
3858                 break;
3859
3860                 case 1018:
3861                         offset = wkssvc_dissect_element_NetWkstaInfo_info1018(tvb, offset, pinfo, tree, di, drep);
3862                 break;
3863
3864                 case 1023:
3865                         offset = wkssvc_dissect_element_NetWkstaInfo_info1023(tvb, offset, pinfo, tree, di, drep);
3866                 break;
3867
3868                 case 1027:
3869                         offset = wkssvc_dissect_element_NetWkstaInfo_info1027(tvb, offset, pinfo, tree, di, drep);
3870                 break;
3871
3872                 case 1028:
3873                         offset = wkssvc_dissect_element_NetWkstaInfo_info1028(tvb, offset, pinfo, tree, di, drep);
3874                 break;
3875
3876                 case 1032:
3877                         offset = wkssvc_dissect_element_NetWkstaInfo_info1032(tvb, offset, pinfo, tree, di, drep);
3878                 break;
3879
3880                 case 1033:
3881                         offset = wkssvc_dissect_element_NetWkstaInfo_info1033(tvb, offset, pinfo, tree, di, drep);
3882                 break;
3883
3884                 case 1041:
3885                         offset = wkssvc_dissect_element_NetWkstaInfo_info1041(tvb, offset, pinfo, tree, di, drep);
3886                 break;
3887
3888                 case 1042:
3889                         offset = wkssvc_dissect_element_NetWkstaInfo_info1042(tvb, offset, pinfo, tree, di, drep);
3890                 break;
3891
3892                 case 1043:
3893                         offset = wkssvc_dissect_element_NetWkstaInfo_info1043(tvb, offset, pinfo, tree, di, drep);
3894                 break;
3895
3896                 case 1044:
3897                         offset = wkssvc_dissect_element_NetWkstaInfo_info1044(tvb, offset, pinfo, tree, di, drep);
3898                 break;
3899
3900                 case 1045:
3901                         offset = wkssvc_dissect_element_NetWkstaInfo_info1045(tvb, offset, pinfo, tree, di, drep);
3902                 break;
3903
3904                 case 1046:
3905                         offset = wkssvc_dissect_element_NetWkstaInfo_info1046(tvb, offset, pinfo, tree, di, drep);
3906                 break;
3907
3908                 case 1047:
3909                         offset = wkssvc_dissect_element_NetWkstaInfo_info1047(tvb, offset, pinfo, tree, di, drep);
3910                 break;
3911
3912                 case 1048:
3913                         offset = wkssvc_dissect_element_NetWkstaInfo_info1048(tvb, offset, pinfo, tree, di, drep);
3914                 break;
3915
3916                 case 1049:
3917                         offset = wkssvc_dissect_element_NetWkstaInfo_info1049(tvb, offset, pinfo, tree, di, drep);
3918                 break;
3919
3920                 case 1050:
3921                         offset = wkssvc_dissect_element_NetWkstaInfo_info1050(tvb, offset, pinfo, tree, di, drep);
3922                 break;
3923
3924                 case 1051:
3925                         offset = wkssvc_dissect_element_NetWkstaInfo_info1051(tvb, offset, pinfo, tree, di, drep);
3926                 break;
3927
3928                 case 1052:
3929                         offset = wkssvc_dissect_element_NetWkstaInfo_info1052(tvb, offset, pinfo, tree, di, drep);
3930                 break;
3931
3932                 case 1053:
3933                         offset = wkssvc_dissect_element_NetWkstaInfo_info1053(tvb, offset, pinfo, tree, di, drep);
3934                 break;
3935
3936                 case 1054:
3937                         offset = wkssvc_dissect_element_NetWkstaInfo_info1054(tvb, offset, pinfo, tree, di, drep);
3938                 break;
3939
3940                 case 1055:
3941                         offset = wkssvc_dissect_element_NetWkstaInfo_info1055(tvb, offset, pinfo, tree, di, drep);
3942                 break;
3943
3944                 case 1056:
3945                         offset = wkssvc_dissect_element_NetWkstaInfo_info1056(tvb, offset, pinfo, tree, di, drep);
3946                 break;
3947
3948                 case 1057:
3949                         offset = wkssvc_dissect_element_NetWkstaInfo_info1057(tvb, offset, pinfo, tree, di, drep);
3950                 break;
3951
3952                 case 1058:
3953                         offset = wkssvc_dissect_element_NetWkstaInfo_info1058(tvb, offset, pinfo, tree, di, drep);
3954                 break;
3955
3956                 case 1059:
3957                         offset = wkssvc_dissect_element_NetWkstaInfo_info1059(tvb, offset, pinfo, tree, di, drep);
3958                 break;
3959
3960                 case 1060:
3961                         offset = wkssvc_dissect_element_NetWkstaInfo_info1060(tvb, offset, pinfo, tree, di, drep);
3962                 break;
3963
3964                 case 1061:
3965                         offset = wkssvc_dissect_element_NetWkstaInfo_info1061(tvb, offset, pinfo, tree, di, drep);
3966                 break;
3967
3968                 case 1062:
3969                         offset = wkssvc_dissect_element_NetWkstaInfo_info1062(tvb, offset, pinfo, tree, di, drep);
3970                 break;
3971
3972                 default:
3973                 break;
3974         }
3975         proto_item_set_len(item, offset-old_offset);
3976
3977         return offset;
3978 }
3979
3980 /* IDL: struct { */
3981 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *user_name; */
3982 /* IDL: } */
3983
3984 static int
3985 wkssvc_dissect_element_NetrWkstaUserInfo0_user_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3986 {
3987         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWkstaUserInfo0_user_name_, NDR_POINTER_UNIQUE, "Pointer to User Name (uint16)",hf_wkssvc_wkssvc_NetrWkstaUserInfo0_user_name);
3988
3989         return offset;
3990 }
3991
3992 static int
3993 wkssvc_dissect_element_NetrWkstaUserInfo0_user_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
3994 {
3995         char *data;
3996
3997         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaUserInfo0_user_name, FALSE, &data);
3998         proto_item_append_text(tree, ": %s", data);
3999
4000         return offset;
4001 }
4002
4003 int
4004 wkssvc_dissect_struct_NetrWkstaUserInfo0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4005 {
4006         proto_item *item = NULL;
4007         proto_tree *tree = NULL;
4008         int old_offset;
4009
4010         ALIGN_TO_4_BYTES;
4011
4012         old_offset = offset;
4013
4014         if (parent_tree) {
4015                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4016                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrWkstaUserInfo0);
4017         }
4018         
4019         offset = wkssvc_dissect_element_NetrWkstaUserInfo0_user_name(tvb, offset, pinfo, tree, di, drep);
4020
4021
4022         proto_item_set_len(item, offset-old_offset);
4023
4024         return offset;
4025 }
4026
4027
4028 /* IDL: struct { */
4029 /* IDL:         uint32 entries_read; */
4030 /* IDL:         [unique(1)] [size_is(entries_read)] wkssvc_NetrWkstaUserInfo0 *user0; */
4031 /* IDL: } */
4032
4033 static int
4034 wkssvc_dissect_element_NetWkstaEnumUsersCtr0_entries_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4035 {
4036         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr0_entries_read, 0);
4037
4038         return offset;
4039 }
4040
4041 static int
4042 wkssvc_dissect_element_NetWkstaEnumUsersCtr0_user0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4043 {
4044         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaEnumUsersCtr0_user0_, NDR_POINTER_UNIQUE, "Pointer to User0 (wkssvc_NetrWkstaUserInfo0)",hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr0_user0);
4045
4046         return offset;
4047 }
4048
4049 static int
4050 wkssvc_dissect_element_NetWkstaEnumUsersCtr0_user0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4051 {
4052         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaEnumUsersCtr0_user0__);
4053
4054         return offset;
4055 }
4056
4057 static int
4058 wkssvc_dissect_element_NetWkstaEnumUsersCtr0_user0__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4059 {
4060         offset = wkssvc_dissect_struct_NetrWkstaUserInfo0(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr0_user0,0);
4061
4062         return offset;
4063 }
4064
4065 int
4066 wkssvc_dissect_struct_NetWkstaEnumUsersCtr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4067 {
4068         proto_item *item = NULL;
4069         proto_tree *tree = NULL;
4070         int old_offset;
4071
4072         ALIGN_TO_4_BYTES;
4073
4074         old_offset = offset;
4075
4076         if (parent_tree) {
4077                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4078                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaEnumUsersCtr0);
4079         }
4080         
4081         offset = wkssvc_dissect_element_NetWkstaEnumUsersCtr0_entries_read(tvb, offset, pinfo, tree, di, drep);
4082
4083         offset = wkssvc_dissect_element_NetWkstaEnumUsersCtr0_user0(tvb, offset, pinfo, tree, di, drep);
4084
4085
4086         proto_item_set_len(item, offset-old_offset);
4087
4088         return offset;
4089 }
4090
4091
4092 /* IDL: struct { */
4093 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *user_name; */
4094 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *logon_domain; */
4095 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *other_domains; */
4096 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *logon_server; */
4097 /* IDL: } */
4098
4099 static int
4100 wkssvc_dissect_element_NetrWkstaUserInfo1_user_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4101 {
4102         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWkstaUserInfo1_user_name_, NDR_POINTER_UNIQUE, "Pointer to User Name (uint16)",hf_wkssvc_wkssvc_NetrWkstaUserInfo1_user_name);
4103
4104         return offset;
4105 }
4106
4107 static int
4108 wkssvc_dissect_element_NetrWkstaUserInfo1_user_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4109 {
4110         char *data;
4111
4112         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaUserInfo1_user_name, FALSE, &data);
4113         proto_item_append_text(tree, ": %s", data);
4114
4115         return offset;
4116 }
4117
4118 static int
4119 wkssvc_dissect_element_NetrWkstaUserInfo1_logon_domain(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4120 {
4121         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWkstaUserInfo1_logon_domain_, NDR_POINTER_UNIQUE, "Pointer to Logon Domain (uint16)",hf_wkssvc_wkssvc_NetrWkstaUserInfo1_logon_domain);
4122
4123         return offset;
4124 }
4125
4126 static int
4127 wkssvc_dissect_element_NetrWkstaUserInfo1_logon_domain_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4128 {
4129         char *data;
4130
4131         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaUserInfo1_logon_domain, FALSE, &data);
4132         proto_item_append_text(tree, ": %s", data);
4133
4134         return offset;
4135 }
4136
4137 static int
4138 wkssvc_dissect_element_NetrWkstaUserInfo1_other_domains(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4139 {
4140         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWkstaUserInfo1_other_domains_, NDR_POINTER_UNIQUE, "Pointer to Other Domains (uint16)",hf_wkssvc_wkssvc_NetrWkstaUserInfo1_other_domains);
4141
4142         return offset;
4143 }
4144
4145 static int
4146 wkssvc_dissect_element_NetrWkstaUserInfo1_other_domains_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4147 {
4148         char *data;
4149
4150         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaUserInfo1_other_domains, FALSE, &data);
4151         proto_item_append_text(tree, ": %s", data);
4152
4153         return offset;
4154 }
4155
4156 static int
4157 wkssvc_dissect_element_NetrWkstaUserInfo1_logon_server(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4158 {
4159         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWkstaUserInfo1_logon_server_, NDR_POINTER_UNIQUE, "Pointer to Logon Server (uint16)",hf_wkssvc_wkssvc_NetrWkstaUserInfo1_logon_server);
4160
4161         return offset;
4162 }
4163
4164 static int
4165 wkssvc_dissect_element_NetrWkstaUserInfo1_logon_server_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4166 {
4167         char *data;
4168
4169         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaUserInfo1_logon_server, FALSE, &data);
4170         proto_item_append_text(tree, ": %s", data);
4171
4172         return offset;
4173 }
4174
4175 int
4176 wkssvc_dissect_struct_NetrWkstaUserInfo1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4177 {
4178         proto_item *item = NULL;
4179         proto_tree *tree = NULL;
4180         int old_offset;
4181
4182         ALIGN_TO_4_BYTES;
4183
4184         old_offset = offset;
4185
4186         if (parent_tree) {
4187                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4188                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrWkstaUserInfo1);
4189         }
4190         
4191         offset = wkssvc_dissect_element_NetrWkstaUserInfo1_user_name(tvb, offset, pinfo, tree, di, drep);
4192
4193         offset = wkssvc_dissect_element_NetrWkstaUserInfo1_logon_domain(tvb, offset, pinfo, tree, di, drep);
4194
4195         offset = wkssvc_dissect_element_NetrWkstaUserInfo1_other_domains(tvb, offset, pinfo, tree, di, drep);
4196
4197         offset = wkssvc_dissect_element_NetrWkstaUserInfo1_logon_server(tvb, offset, pinfo, tree, di, drep);
4198
4199
4200         proto_item_set_len(item, offset-old_offset);
4201
4202         return offset;
4203 }
4204
4205
4206 /* IDL: struct { */
4207 /* IDL:         uint32 entries_read; */
4208 /* IDL:         [unique(1)] [size_is(entries_read)] wkssvc_NetrWkstaUserInfo1 *user1; */
4209 /* IDL: } */
4210
4211 static int
4212 wkssvc_dissect_element_NetWkstaEnumUsersCtr1_entries_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4213 {
4214         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr1_entries_read, 0);
4215
4216         return offset;
4217 }
4218
4219 static int
4220 wkssvc_dissect_element_NetWkstaEnumUsersCtr1_user1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4221 {
4222         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaEnumUsersCtr1_user1_, NDR_POINTER_UNIQUE, "Pointer to User1 (wkssvc_NetrWkstaUserInfo1)",hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr1_user1);
4223
4224         return offset;
4225 }
4226
4227 static int
4228 wkssvc_dissect_element_NetWkstaEnumUsersCtr1_user1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4229 {
4230         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaEnumUsersCtr1_user1__);
4231
4232         return offset;
4233 }
4234
4235 static int
4236 wkssvc_dissect_element_NetWkstaEnumUsersCtr1_user1__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4237 {
4238         offset = wkssvc_dissect_struct_NetrWkstaUserInfo1(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr1_user1,0);
4239
4240         return offset;
4241 }
4242
4243 int
4244 wkssvc_dissect_struct_NetWkstaEnumUsersCtr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4245 {
4246         proto_item *item = NULL;
4247         proto_tree *tree = NULL;
4248         int old_offset;
4249
4250         ALIGN_TO_4_BYTES;
4251
4252         old_offset = offset;
4253
4254         if (parent_tree) {
4255                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4256                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaEnumUsersCtr1);
4257         }
4258         
4259         offset = wkssvc_dissect_element_NetWkstaEnumUsersCtr1_entries_read(tvb, offset, pinfo, tree, di, drep);
4260
4261         offset = wkssvc_dissect_element_NetWkstaEnumUsersCtr1_user1(tvb, offset, pinfo, tree, di, drep);
4262
4263
4264         proto_item_set_len(item, offset-old_offset);
4265
4266         return offset;
4267 }
4268
4269
4270 /* IDL: [switch_type(uint32)] union { */
4271 /* IDL: [case(0)] [unique(1)] [case(0)] wkssvc_NetWkstaEnumUsersCtr0 *user0; */
4272 /* IDL: [case(1)] [unique(1)] [case(1)] wkssvc_NetWkstaEnumUsersCtr1 *user1; */
4273 /* IDL: } */
4274
4275 static int
4276 wkssvc_dissect_element_NetWkstaEnumUsersCtr_user0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4277 {
4278         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaEnumUsersCtr_user0_, NDR_POINTER_UNIQUE, "Pointer to User0 (wkssvc_NetWkstaEnumUsersCtr0)",hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr_user0);
4279
4280         return offset;
4281 }
4282
4283 static int
4284 wkssvc_dissect_element_NetWkstaEnumUsersCtr_user0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4285 {
4286         offset = wkssvc_dissect_struct_NetWkstaEnumUsersCtr0(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr_user0,0);
4287
4288         return offset;
4289 }
4290
4291 static int
4292 wkssvc_dissect_element_NetWkstaEnumUsersCtr_user1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4293 {
4294         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaEnumUsersCtr_user1_, NDR_POINTER_UNIQUE, "Pointer to User1 (wkssvc_NetWkstaEnumUsersCtr1)",hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr_user1);
4295
4296         return offset;
4297 }
4298
4299 static int
4300 wkssvc_dissect_element_NetWkstaEnumUsersCtr_user1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4301 {
4302         offset = wkssvc_dissect_struct_NetWkstaEnumUsersCtr1(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr_user1,0);
4303
4304         return offset;
4305 }
4306
4307 static int
4308 wkssvc_dissect_NetWkstaEnumUsersCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4309 {
4310         proto_item *item = NULL;
4311         proto_tree *tree = NULL;
4312         int old_offset;
4313         guint32 level;
4314
4315         old_offset = offset;
4316         if (parent_tree) {
4317                 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_wkssvc_wkssvc_NetWkstaEnumUsersCtr, &item, "wkssvc_NetWkstaEnumUsersCtr");
4318         }
4319
4320         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
4321         ALIGN_TO_4_BYTES;
4322
4323         switch(level) {
4324                 case 0:
4325                         offset = wkssvc_dissect_element_NetWkstaEnumUsersCtr_user0(tvb, offset, pinfo, tree, di, drep);
4326                 break;
4327
4328                 case 1:
4329                         offset = wkssvc_dissect_element_NetWkstaEnumUsersCtr_user1(tvb, offset, pinfo, tree, di, drep);
4330                 break;
4331         }
4332         proto_item_set_len(item, offset-old_offset);
4333
4334         return offset;
4335 }
4336
4337 /* IDL: struct { */
4338 /* IDL:         uint32 level; */
4339 /* IDL:         [switch_is(level)] wkssvc_NetWkstaEnumUsersCtr ctr; */
4340 /* IDL: } */
4341
4342 static int
4343 wkssvc_dissect_element_NetWkstaEnumUsersInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4344 {
4345         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaEnumUsersInfo_level, 0);
4346
4347         return offset;
4348 }
4349
4350 static int
4351 wkssvc_dissect_element_NetWkstaEnumUsersInfo_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4352 {
4353         offset = wkssvc_dissect_NetWkstaEnumUsersCtr(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaEnumUsersInfo_ctr, 0);
4354
4355         return offset;
4356 }
4357
4358 int
4359 wkssvc_dissect_struct_NetWkstaEnumUsersInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4360 {
4361         proto_item *item = NULL;
4362         proto_tree *tree = NULL;
4363         int old_offset;
4364
4365         ALIGN_TO_4_BYTES;
4366
4367         old_offset = offset;
4368
4369         if (parent_tree) {
4370                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4371                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaEnumUsersInfo);
4372         }
4373         
4374         offset = wkssvc_dissect_element_NetWkstaEnumUsersInfo_level(tvb, offset, pinfo, tree, di, drep);
4375
4376         offset = wkssvc_dissect_element_NetWkstaEnumUsersInfo_ctr(tvb, offset, pinfo, tree, di, drep);
4377
4378
4379         proto_item_set_len(item, offset-old_offset);
4380
4381         return offset;
4382 }
4383
4384
4385 /* IDL: struct { */
4386 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *other_domains; */
4387 /* IDL: } */
4388
4389 static int
4390 wkssvc_dissect_element_NetrWkstaUserInfo1101_other_domains(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4391 {
4392         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWkstaUserInfo1101_other_domains_, NDR_POINTER_UNIQUE, "Pointer to Other Domains (uint16)",hf_wkssvc_wkssvc_NetrWkstaUserInfo1101_other_domains);
4393
4394         return offset;
4395 }
4396
4397 static int
4398 wkssvc_dissect_element_NetrWkstaUserInfo1101_other_domains_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4399 {
4400         char *data;
4401
4402         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaUserInfo1101_other_domains, FALSE, &data);
4403         proto_item_append_text(tree, ": %s", data);
4404
4405         return offset;
4406 }
4407
4408 int
4409 wkssvc_dissect_struct_NetrWkstaUserInfo1101(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4410 {
4411         proto_item *item = NULL;
4412         proto_tree *tree = NULL;
4413         int old_offset;
4414
4415         ALIGN_TO_4_BYTES;
4416
4417         old_offset = offset;
4418
4419         if (parent_tree) {
4420                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4421                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrWkstaUserInfo1101);
4422         }
4423         
4424         offset = wkssvc_dissect_element_NetrWkstaUserInfo1101_other_domains(tvb, offset, pinfo, tree, di, drep);
4425
4426
4427         proto_item_set_len(item, offset-old_offset);
4428
4429         return offset;
4430 }
4431
4432
4433 /* IDL: [switch_type(uint32)] union { */
4434 /* IDL: [case(0)] [unique(1)] [case(0)] wkssvc_NetrWkstaUserInfo0 *info0; */
4435 /* IDL: [case(1)] [unique(1)] [case(1)] wkssvc_NetrWkstaUserInfo1 *info1; */
4436 /* IDL: [case(1101)] [unique(1)] [case(1101)] wkssvc_NetrWkstaUserInfo1101 *info1101; */
4437 /* IDL: } */
4438
4439 static int
4440 wkssvc_dissect_element_NetrWkstaUserInfo_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4441 {
4442         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWkstaUserInfo_info0_, NDR_POINTER_UNIQUE, "Pointer to Info0 (wkssvc_NetrWkstaUserInfo0)",hf_wkssvc_wkssvc_NetrWkstaUserInfo_info0);
4443
4444         return offset;
4445 }
4446
4447 static int
4448 wkssvc_dissect_element_NetrWkstaUserInfo_info0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4449 {
4450         offset = wkssvc_dissect_struct_NetrWkstaUserInfo0(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrWkstaUserInfo_info0,0);
4451
4452         return offset;
4453 }
4454
4455 static int
4456 wkssvc_dissect_element_NetrWkstaUserInfo_info1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4457 {
4458         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWkstaUserInfo_info1_, NDR_POINTER_UNIQUE, "Pointer to Info1 (wkssvc_NetrWkstaUserInfo1)",hf_wkssvc_wkssvc_NetrWkstaUserInfo_info1);
4459
4460         return offset;
4461 }
4462
4463 static int
4464 wkssvc_dissect_element_NetrWkstaUserInfo_info1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4465 {
4466         offset = wkssvc_dissect_struct_NetrWkstaUserInfo1(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrWkstaUserInfo_info1,0);
4467
4468         return offset;
4469 }
4470
4471 static int
4472 wkssvc_dissect_element_NetrWkstaUserInfo_info1101(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4473 {
4474         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWkstaUserInfo_info1101_, NDR_POINTER_UNIQUE, "Pointer to Info1101 (wkssvc_NetrWkstaUserInfo1101)",hf_wkssvc_wkssvc_NetrWkstaUserInfo_info1101);
4475
4476         return offset;
4477 }
4478
4479 static int
4480 wkssvc_dissect_element_NetrWkstaUserInfo_info1101_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4481 {
4482         offset = wkssvc_dissect_struct_NetrWkstaUserInfo1101(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrWkstaUserInfo_info1101,0);
4483
4484         return offset;
4485 }
4486
4487 static int
4488 wkssvc_dissect_NetrWkstaUserInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4489 {
4490         proto_item *item = NULL;
4491         proto_tree *tree = NULL;
4492         int old_offset;
4493         guint32 level;
4494
4495         old_offset = offset;
4496         if (parent_tree) {
4497                 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_wkssvc_wkssvc_NetrWkstaUserInfo, &item, "wkssvc_NetrWkstaUserInfo");
4498         }
4499
4500         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
4501         ALIGN_TO_4_BYTES;
4502
4503         switch(level) {
4504                 case 0:
4505                         offset = wkssvc_dissect_element_NetrWkstaUserInfo_info0(tvb, offset, pinfo, tree, di, drep);
4506                 break;
4507
4508                 case 1:
4509                         offset = wkssvc_dissect_element_NetrWkstaUserInfo_info1(tvb, offset, pinfo, tree, di, drep);
4510                 break;
4511
4512                 case 1101:
4513                         offset = wkssvc_dissect_element_NetrWkstaUserInfo_info1101(tvb, offset, pinfo, tree, di, drep);
4514                 break;
4515         }
4516         proto_item_set_len(item, offset-old_offset);
4517
4518         return offset;
4519 }
4520
4521 /* IDL: struct { */
4522 /* IDL:         uint32 quality_of_service; */
4523 /* IDL:         uint32 vc_count; */
4524 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *name; */
4525 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *address; */
4526 /* IDL:         uint32 wan_link; */
4527 /* IDL: } */
4528
4529 static int
4530 wkssvc_dissect_element_NetWkstaTransportInfo0_quality_of_service(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4531 {
4532         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaTransportInfo0_quality_of_service, 0);
4533
4534         return offset;
4535 }
4536
4537 static int
4538 wkssvc_dissect_element_NetWkstaTransportInfo0_vc_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4539 {
4540         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaTransportInfo0_vc_count, 0);
4541
4542         return offset;
4543 }
4544
4545 static int
4546 wkssvc_dissect_element_NetWkstaTransportInfo0_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4547 {
4548         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaTransportInfo0_name_, NDR_POINTER_UNIQUE, "Pointer to Name (uint16)",hf_wkssvc_wkssvc_NetWkstaTransportInfo0_name);
4549
4550         return offset;
4551 }
4552
4553 static int
4554 wkssvc_dissect_element_NetWkstaTransportInfo0_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4555 {
4556         char *data;
4557
4558         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaTransportInfo0_name, FALSE, &data);
4559         proto_item_append_text(tree, ": %s", data);
4560
4561         return offset;
4562 }
4563
4564 static int
4565 wkssvc_dissect_element_NetWkstaTransportInfo0_address(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4566 {
4567         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaTransportInfo0_address_, NDR_POINTER_UNIQUE, "Pointer to Address (uint16)",hf_wkssvc_wkssvc_NetWkstaTransportInfo0_address);
4568
4569         return offset;
4570 }
4571
4572 static int
4573 wkssvc_dissect_element_NetWkstaTransportInfo0_address_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4574 {
4575         char *data;
4576
4577         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaTransportInfo0_address, FALSE, &data);
4578         proto_item_append_text(tree, ": %s", data);
4579
4580         return offset;
4581 }
4582
4583 static int
4584 wkssvc_dissect_element_NetWkstaTransportInfo0_wan_link(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4585 {
4586         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaTransportInfo0_wan_link, 0);
4587
4588         return offset;
4589 }
4590
4591 int
4592 wkssvc_dissect_struct_NetWkstaTransportInfo0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4593 {
4594         proto_item *item = NULL;
4595         proto_tree *tree = NULL;
4596         int old_offset;
4597
4598         ALIGN_TO_4_BYTES;
4599
4600         old_offset = offset;
4601
4602         if (parent_tree) {
4603                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4604                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaTransportInfo0);
4605         }
4606         
4607         offset = wkssvc_dissect_element_NetWkstaTransportInfo0_quality_of_service(tvb, offset, pinfo, tree, di, drep);
4608
4609         offset = wkssvc_dissect_element_NetWkstaTransportInfo0_vc_count(tvb, offset, pinfo, tree, di, drep);
4610
4611         offset = wkssvc_dissect_element_NetWkstaTransportInfo0_name(tvb, offset, pinfo, tree, di, drep);
4612
4613         offset = wkssvc_dissect_element_NetWkstaTransportInfo0_address(tvb, offset, pinfo, tree, di, drep);
4614
4615         offset = wkssvc_dissect_element_NetWkstaTransportInfo0_wan_link(tvb, offset, pinfo, tree, di, drep);
4616
4617
4618         proto_item_set_len(item, offset-old_offset);
4619
4620         return offset;
4621 }
4622
4623
4624 /* IDL: struct { */
4625 /* IDL:         uint32 count; */
4626 /* IDL:         [unique(1)] [size_is(count)] wkssvc_NetWkstaTransportInfo0 *array; */
4627 /* IDL: } */
4628
4629 static int
4630 wkssvc_dissect_element_NetWkstaTransportCtr0_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4631 {
4632         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaTransportCtr0_count, 0);
4633
4634         return offset;
4635 }
4636
4637 static int
4638 wkssvc_dissect_element_NetWkstaTransportCtr0_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4639 {
4640         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaTransportCtr0_array_, NDR_POINTER_UNIQUE, "Pointer to Array (wkssvc_NetWkstaTransportInfo0)",hf_wkssvc_wkssvc_NetWkstaTransportCtr0_array);
4641
4642         return offset;
4643 }
4644
4645 static int
4646 wkssvc_dissect_element_NetWkstaTransportCtr0_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4647 {
4648         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaTransportCtr0_array__);
4649
4650         return offset;
4651 }
4652
4653 static int
4654 wkssvc_dissect_element_NetWkstaTransportCtr0_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4655 {
4656         offset = wkssvc_dissect_struct_NetWkstaTransportInfo0(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaTransportCtr0_array,0);
4657
4658         return offset;
4659 }
4660
4661 int
4662 wkssvc_dissect_struct_NetWkstaTransportCtr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4663 {
4664         proto_item *item = NULL;
4665         proto_tree *tree = NULL;
4666         int old_offset;
4667
4668         ALIGN_TO_4_BYTES;
4669
4670         old_offset = offset;
4671
4672         if (parent_tree) {
4673                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4674                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaTransportCtr0);
4675         }
4676         
4677         offset = wkssvc_dissect_element_NetWkstaTransportCtr0_count(tvb, offset, pinfo, tree, di, drep);
4678
4679         offset = wkssvc_dissect_element_NetWkstaTransportCtr0_array(tvb, offset, pinfo, tree, di, drep);
4680
4681
4682         proto_item_set_len(item, offset-old_offset);
4683
4684         return offset;
4685 }
4686
4687
4688 /* IDL: union { */
4689 /* IDL: [case(0)] [unique(1)] [case(0)] wkssvc_NetWkstaTransportCtr0 *ctr0; */
4690 /* IDL: } */
4691
4692 static int
4693 wkssvc_dissect_element_NetWkstaTransportCtr_ctr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4694 {
4695         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaTransportCtr_ctr0_, NDR_POINTER_UNIQUE, "Pointer to Ctr0 (wkssvc_NetWkstaTransportCtr0)",hf_wkssvc_wkssvc_NetWkstaTransportCtr_ctr0);
4696
4697         return offset;
4698 }
4699
4700 static int
4701 wkssvc_dissect_element_NetWkstaTransportCtr_ctr0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4702 {
4703         offset = wkssvc_dissect_struct_NetWkstaTransportCtr0(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaTransportCtr_ctr0,0);
4704
4705         return offset;
4706 }
4707
4708 static int
4709 wkssvc_dissect_NetWkstaTransportCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4710 {
4711         proto_item *item = NULL;
4712         proto_tree *tree = NULL;
4713         int old_offset;
4714         guint32 level;
4715
4716         old_offset = offset;
4717         if (parent_tree) {
4718                 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_wkssvc_wkssvc_NetWkstaTransportCtr, &item, "wkssvc_NetWkstaTransportCtr");
4719         }
4720
4721         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
4722         ALIGN_TO_4_BYTES;
4723
4724         switch(level) {
4725                 case 0:
4726                         offset = wkssvc_dissect_element_NetWkstaTransportCtr_ctr0(tvb, offset, pinfo, tree, di, drep);
4727                 break;
4728         }
4729         proto_item_set_len(item, offset-old_offset);
4730
4731         return offset;
4732 }
4733
4734 /* IDL: struct { */
4735 /* IDL:         uint32 level; */
4736 /* IDL:         [switch_is(level)] wkssvc_NetWkstaTransportCtr ctr; */
4737 /* IDL: } */
4738
4739 static int
4740 wkssvc_dissect_element_NetWkstaTransportInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4741 {
4742         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaTransportInfo_level, 0);
4743
4744         return offset;
4745 }
4746
4747 static int
4748 wkssvc_dissect_element_NetWkstaTransportInfo_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4749 {
4750         offset = wkssvc_dissect_NetWkstaTransportCtr(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaTransportInfo_ctr, 0);
4751
4752         return offset;
4753 }
4754
4755 int
4756 wkssvc_dissect_struct_NetWkstaTransportInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4757 {
4758         proto_item *item = NULL;
4759         proto_tree *tree = NULL;
4760         int old_offset;
4761
4762         ALIGN_TO_4_BYTES;
4763
4764         old_offset = offset;
4765
4766         if (parent_tree) {
4767                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4768                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetWkstaTransportInfo);
4769         }
4770         
4771         offset = wkssvc_dissect_element_NetWkstaTransportInfo_level(tvb, offset, pinfo, tree, di, drep);
4772
4773         offset = wkssvc_dissect_element_NetWkstaTransportInfo_ctr(tvb, offset, pinfo, tree, di, drep);
4774
4775
4776         proto_item_set_len(item, offset-old_offset);
4777
4778         return offset;
4779 }
4780
4781
4782 /* IDL: struct { */
4783 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *unknown1; */
4784 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *unknown2; */
4785 /* IDL: } */
4786
4787 static int
4788 wkssvc_dissect_element_NetrUseInfo3_unknown1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4789 {
4790         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseInfo3_unknown1_, NDR_POINTER_UNIQUE, "Pointer to Unknown1 (uint16)",hf_wkssvc_wkssvc_NetrUseInfo3_unknown1);
4791
4792         return offset;
4793 }
4794
4795 static int
4796 wkssvc_dissect_element_NetrUseInfo3_unknown1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4797 {
4798         char *data;
4799
4800         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo3_unknown1, FALSE, &data);
4801         proto_item_append_text(tree, ": %s", data);
4802
4803         return offset;
4804 }
4805
4806 static int
4807 wkssvc_dissect_element_NetrUseInfo3_unknown2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4808 {
4809         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseInfo3_unknown2_, NDR_POINTER_UNIQUE, "Pointer to Unknown2 (uint16)",hf_wkssvc_wkssvc_NetrUseInfo3_unknown2);
4810
4811         return offset;
4812 }
4813
4814 static int
4815 wkssvc_dissect_element_NetrUseInfo3_unknown2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4816 {
4817         char *data;
4818
4819         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo3_unknown2, FALSE, &data);
4820         proto_item_append_text(tree, ": %s", data);
4821
4822         return offset;
4823 }
4824
4825 int
4826 wkssvc_dissect_struct_NetrUseInfo3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4827 {
4828         proto_item *item = NULL;
4829         proto_tree *tree = NULL;
4830         int old_offset;
4831
4832         ALIGN_TO_4_BYTES;
4833
4834         old_offset = offset;
4835
4836         if (parent_tree) {
4837                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4838                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrUseInfo3);
4839         }
4840         
4841         offset = wkssvc_dissect_element_NetrUseInfo3_unknown1(tvb, offset, pinfo, tree, di, drep);
4842
4843         offset = wkssvc_dissect_element_NetrUseInfo3_unknown2(tvb, offset, pinfo, tree, di, drep);
4844
4845
4846         proto_item_set_len(item, offset-old_offset);
4847
4848         return offset;
4849 }
4850
4851
4852 /* IDL: struct { */
4853 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *local; */
4854 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *remote; */
4855 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *password; */
4856 /* IDL:         uint32 status; */
4857 /* IDL:         uint32 asg_type; */
4858 /* IDL:         uint32 ref_count; */
4859 /* IDL:         uint32 use_count; */
4860 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *user_name; */
4861 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *domain_name; */
4862 /* IDL: } */
4863
4864 static int
4865 wkssvc_dissect_element_NetrUseInfo2_local(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4866 {
4867         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseInfo2_local_, NDR_POINTER_UNIQUE, "Pointer to Local (uint16)",hf_wkssvc_wkssvc_NetrUseInfo2_local);
4868
4869         return offset;
4870 }
4871
4872 static int
4873 wkssvc_dissect_element_NetrUseInfo2_local_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4874 {
4875         char *data;
4876
4877         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo2_local, FALSE, &data);
4878         proto_item_append_text(tree, ": %s", data);
4879
4880         return offset;
4881 }
4882
4883 static int
4884 wkssvc_dissect_element_NetrUseInfo2_remote(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4885 {
4886         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseInfo2_remote_, NDR_POINTER_UNIQUE, "Pointer to Remote (uint16)",hf_wkssvc_wkssvc_NetrUseInfo2_remote);
4887
4888         return offset;
4889 }
4890
4891 static int
4892 wkssvc_dissect_element_NetrUseInfo2_remote_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4893 {
4894         char *data;
4895
4896         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo2_remote, FALSE, &data);
4897         proto_item_append_text(tree, ": %s", data);
4898
4899         return offset;
4900 }
4901
4902 static int
4903 wkssvc_dissect_element_NetrUseInfo2_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4904 {
4905         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseInfo2_password_, NDR_POINTER_UNIQUE, "Pointer to Password (uint16)",hf_wkssvc_wkssvc_NetrUseInfo2_password);
4906
4907         return offset;
4908 }
4909
4910 static int
4911 wkssvc_dissect_element_NetrUseInfo2_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4912 {
4913         char *data;
4914
4915         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo2_password, FALSE, &data);
4916         proto_item_append_text(tree, ": %s", data);
4917
4918         return offset;
4919 }
4920
4921 static int
4922 wkssvc_dissect_element_NetrUseInfo2_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4923 {
4924         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseInfo2_status, 0);
4925
4926         return offset;
4927 }
4928
4929 static int
4930 wkssvc_dissect_element_NetrUseInfo2_asg_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4931 {
4932         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseInfo2_asg_type, 0);
4933
4934         return offset;
4935 }
4936
4937 static int
4938 wkssvc_dissect_element_NetrUseInfo2_ref_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4939 {
4940         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseInfo2_ref_count, 0);
4941
4942         return offset;
4943 }
4944
4945 static int
4946 wkssvc_dissect_element_NetrUseInfo2_use_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4947 {
4948         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseInfo2_use_count, 0);
4949
4950         return offset;
4951 }
4952
4953 static int
4954 wkssvc_dissect_element_NetrUseInfo2_user_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4955 {
4956         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseInfo2_user_name_, NDR_POINTER_UNIQUE, "Pointer to User Name (uint16)",hf_wkssvc_wkssvc_NetrUseInfo2_user_name);
4957
4958         return offset;
4959 }
4960
4961 static int
4962 wkssvc_dissect_element_NetrUseInfo2_user_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4963 {
4964         char *data;
4965
4966         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo2_user_name, FALSE, &data);
4967         proto_item_append_text(tree, ": %s", data);
4968
4969         return offset;
4970 }
4971
4972 static int
4973 wkssvc_dissect_element_NetrUseInfo2_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4974 {
4975         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseInfo2_domain_name_, NDR_POINTER_UNIQUE, "Pointer to Domain Name (uint16)",hf_wkssvc_wkssvc_NetrUseInfo2_domain_name);
4976
4977         return offset;
4978 }
4979
4980 static int
4981 wkssvc_dissect_element_NetrUseInfo2_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
4982 {
4983         char *data;
4984
4985         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo2_domain_name, FALSE, &data);
4986         proto_item_append_text(tree, ": %s", data);
4987
4988         return offset;
4989 }
4990
4991 int
4992 wkssvc_dissect_struct_NetrUseInfo2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
4993 {
4994         proto_item *item = NULL;
4995         proto_tree *tree = NULL;
4996         int old_offset;
4997
4998         ALIGN_TO_4_BYTES;
4999
5000         old_offset = offset;
5001
5002         if (parent_tree) {
5003                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5004                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrUseInfo2);
5005         }
5006         
5007         offset = wkssvc_dissect_element_NetrUseInfo2_local(tvb, offset, pinfo, tree, di, drep);
5008
5009         offset = wkssvc_dissect_element_NetrUseInfo2_remote(tvb, offset, pinfo, tree, di, drep);
5010
5011         offset = wkssvc_dissect_element_NetrUseInfo2_password(tvb, offset, pinfo, tree, di, drep);
5012
5013         offset = wkssvc_dissect_element_NetrUseInfo2_status(tvb, offset, pinfo, tree, di, drep);
5014
5015         offset = wkssvc_dissect_element_NetrUseInfo2_asg_type(tvb, offset, pinfo, tree, di, drep);
5016
5017         offset = wkssvc_dissect_element_NetrUseInfo2_ref_count(tvb, offset, pinfo, tree, di, drep);
5018
5019         offset = wkssvc_dissect_element_NetrUseInfo2_use_count(tvb, offset, pinfo, tree, di, drep);
5020
5021         offset = wkssvc_dissect_element_NetrUseInfo2_user_name(tvb, offset, pinfo, tree, di, drep);
5022
5023         offset = wkssvc_dissect_element_NetrUseInfo2_domain_name(tvb, offset, pinfo, tree, di, drep);
5024
5025
5026         proto_item_set_len(item, offset-old_offset);
5027
5028         return offset;
5029 }
5030
5031
5032 /* IDL: struct { */
5033 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *local; */
5034 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *remote; */
5035 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *password; */
5036 /* IDL:         uint32 status; */
5037 /* IDL:         uint32 asg_type; */
5038 /* IDL:         uint32 ref_count; */
5039 /* IDL:         uint32 use_count; */
5040 /* IDL: } */
5041
5042 static int
5043 wkssvc_dissect_element_NetrUseInfo1_local(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5044 {
5045         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseInfo1_local_, NDR_POINTER_UNIQUE, "Pointer to Local (uint16)",hf_wkssvc_wkssvc_NetrUseInfo1_local);
5046
5047         return offset;
5048 }
5049
5050 static int
5051 wkssvc_dissect_element_NetrUseInfo1_local_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5052 {
5053         char *data;
5054
5055         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo1_local, FALSE, &data);
5056         proto_item_append_text(tree, ": %s", data);
5057
5058         return offset;
5059 }
5060
5061 static int
5062 wkssvc_dissect_element_NetrUseInfo1_remote(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5063 {
5064         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseInfo1_remote_, NDR_POINTER_UNIQUE, "Pointer to Remote (uint16)",hf_wkssvc_wkssvc_NetrUseInfo1_remote);
5065
5066         return offset;
5067 }
5068
5069 static int
5070 wkssvc_dissect_element_NetrUseInfo1_remote_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5071 {
5072         char *data;
5073
5074         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo1_remote, FALSE, &data);
5075         proto_item_append_text(tree, ": %s", data);
5076
5077         return offset;
5078 }
5079
5080 static int
5081 wkssvc_dissect_element_NetrUseInfo1_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5082 {
5083         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseInfo1_password_, NDR_POINTER_UNIQUE, "Pointer to Password (uint16)",hf_wkssvc_wkssvc_NetrUseInfo1_password);
5084
5085         return offset;
5086 }
5087
5088 static int
5089 wkssvc_dissect_element_NetrUseInfo1_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5090 {
5091         char *data;
5092
5093         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo1_password, FALSE, &data);
5094         proto_item_append_text(tree, ": %s", data);
5095
5096         return offset;
5097 }
5098
5099 static int
5100 wkssvc_dissect_element_NetrUseInfo1_status(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5101 {
5102         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseInfo1_status, 0);
5103
5104         return offset;
5105 }
5106
5107 static int
5108 wkssvc_dissect_element_NetrUseInfo1_asg_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5109 {
5110         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseInfo1_asg_type, 0);
5111
5112         return offset;
5113 }
5114
5115 static int
5116 wkssvc_dissect_element_NetrUseInfo1_ref_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5117 {
5118         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseInfo1_ref_count, 0);
5119
5120         return offset;
5121 }
5122
5123 static int
5124 wkssvc_dissect_element_NetrUseInfo1_use_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5125 {
5126         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseInfo1_use_count, 0);
5127
5128         return offset;
5129 }
5130
5131 int
5132 wkssvc_dissect_struct_NetrUseInfo1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5133 {
5134         proto_item *item = NULL;
5135         proto_tree *tree = NULL;
5136         int old_offset;
5137
5138         ALIGN_TO_4_BYTES;
5139
5140         old_offset = offset;
5141
5142         if (parent_tree) {
5143                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5144                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrUseInfo1);
5145         }
5146         
5147         offset = wkssvc_dissect_element_NetrUseInfo1_local(tvb, offset, pinfo, tree, di, drep);
5148
5149         offset = wkssvc_dissect_element_NetrUseInfo1_remote(tvb, offset, pinfo, tree, di, drep);
5150
5151         offset = wkssvc_dissect_element_NetrUseInfo1_password(tvb, offset, pinfo, tree, di, drep);
5152
5153         offset = wkssvc_dissect_element_NetrUseInfo1_status(tvb, offset, pinfo, tree, di, drep);
5154
5155         offset = wkssvc_dissect_element_NetrUseInfo1_asg_type(tvb, offset, pinfo, tree, di, drep);
5156
5157         offset = wkssvc_dissect_element_NetrUseInfo1_ref_count(tvb, offset, pinfo, tree, di, drep);
5158
5159         offset = wkssvc_dissect_element_NetrUseInfo1_use_count(tvb, offset, pinfo, tree, di, drep);
5160
5161
5162         proto_item_set_len(item, offset-old_offset);
5163
5164         return offset;
5165 }
5166
5167
5168 /* IDL: struct { */
5169 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *local; */
5170 /* IDL:         [unique(1)] [charset(UTF16)] uint16 *remote; */
5171 /* IDL: } */
5172
5173 static int
5174 wkssvc_dissect_element_NetrUseInfo0_local(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5175 {
5176         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseInfo0_local_, NDR_POINTER_UNIQUE, "Pointer to Local (uint16)",hf_wkssvc_wkssvc_NetrUseInfo0_local);
5177
5178         return offset;
5179 }
5180
5181 static int
5182 wkssvc_dissect_element_NetrUseInfo0_local_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5183 {
5184         char *data;
5185
5186         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo0_local, FALSE, &data);
5187         proto_item_append_text(tree, ": %s", data);
5188
5189         return offset;
5190 }
5191
5192 static int
5193 wkssvc_dissect_element_NetrUseInfo0_remote(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5194 {
5195         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseInfo0_remote_, NDR_POINTER_UNIQUE, "Pointer to Remote (uint16)",hf_wkssvc_wkssvc_NetrUseInfo0_remote);
5196
5197         return offset;
5198 }
5199
5200 static int
5201 wkssvc_dissect_element_NetrUseInfo0_remote_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5202 {
5203         char *data;
5204
5205         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseInfo0_remote, FALSE, &data);
5206         proto_item_append_text(tree, ": %s", data);
5207
5208         return offset;
5209 }
5210
5211 int
5212 wkssvc_dissect_struct_NetrUseInfo0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5213 {
5214         proto_item *item = NULL;
5215         proto_tree *tree = NULL;
5216         int old_offset;
5217
5218         ALIGN_TO_4_BYTES;
5219
5220         old_offset = offset;
5221
5222         if (parent_tree) {
5223                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5224                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrUseInfo0);
5225         }
5226         
5227         offset = wkssvc_dissect_element_NetrUseInfo0_local(tvb, offset, pinfo, tree, di, drep);
5228
5229         offset = wkssvc_dissect_element_NetrUseInfo0_remote(tvb, offset, pinfo, tree, di, drep);
5230
5231
5232         proto_item_set_len(item, offset-old_offset);
5233
5234         return offset;
5235 }
5236
5237
5238 /* IDL: [switch_type(uint32)] union { */
5239 /* IDL: [case(0)] [unique(1)] [case(0)] wkssvc_NetrUseInfo0 *info0; */
5240 /* IDL: [case(1)] [unique(1)] [case(1)] wkssvc_NetrUseInfo1 *info1; */
5241 /* IDL: [case(2)] [unique(1)] [case(2)] wkssvc_NetrUseInfo2 *info2; */
5242 /* IDL: [case(3)] [unique(1)] [case(3)] wkssvc_NetrUseInfo3 *info3; */
5243 /* IDL: } */
5244
5245 static int
5246 wkssvc_dissect_element_NetrUseGetInfoCtr_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5247 {
5248         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseGetInfoCtr_info0_, NDR_POINTER_UNIQUE, "Pointer to Info0 (wkssvc_NetrUseInfo0)",hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info0);
5249
5250         return offset;
5251 }
5252
5253 static int
5254 wkssvc_dissect_element_NetrUseGetInfoCtr_info0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5255 {
5256         offset = wkssvc_dissect_struct_NetrUseInfo0(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info0,0);
5257
5258         return offset;
5259 }
5260
5261 static int
5262 wkssvc_dissect_element_NetrUseGetInfoCtr_info1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5263 {
5264         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseGetInfoCtr_info1_, NDR_POINTER_UNIQUE, "Pointer to Info1 (wkssvc_NetrUseInfo1)",hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info1);
5265
5266         return offset;
5267 }
5268
5269 static int
5270 wkssvc_dissect_element_NetrUseGetInfoCtr_info1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5271 {
5272         offset = wkssvc_dissect_struct_NetrUseInfo1(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info1,0);
5273
5274         return offset;
5275 }
5276
5277 static int
5278 wkssvc_dissect_element_NetrUseGetInfoCtr_info2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5279 {
5280         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseGetInfoCtr_info2_, NDR_POINTER_UNIQUE, "Pointer to Info2 (wkssvc_NetrUseInfo2)",hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info2);
5281
5282         return offset;
5283 }
5284
5285 static int
5286 wkssvc_dissect_element_NetrUseGetInfoCtr_info2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5287 {
5288         offset = wkssvc_dissect_struct_NetrUseInfo2(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info2,0);
5289
5290         return offset;
5291 }
5292
5293 static int
5294 wkssvc_dissect_element_NetrUseGetInfoCtr_info3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5295 {
5296         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseGetInfoCtr_info3_, NDR_POINTER_UNIQUE, "Pointer to Info3 (wkssvc_NetrUseInfo3)",hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info3);
5297
5298         return offset;
5299 }
5300
5301 static int
5302 wkssvc_dissect_element_NetrUseGetInfoCtr_info3_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5303 {
5304         offset = wkssvc_dissect_struct_NetrUseInfo3(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info3,0);
5305
5306         return offset;
5307 }
5308
5309 static int
5310 wkssvc_dissect_NetrUseGetInfoCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5311 {
5312         proto_item *item = NULL;
5313         proto_tree *tree = NULL;
5314         int old_offset;
5315         guint32 level;
5316
5317         old_offset = offset;
5318         if (parent_tree) {
5319                 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_wkssvc_wkssvc_NetrUseGetInfoCtr, &item, "wkssvc_NetrUseGetInfoCtr");
5320         }
5321
5322         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
5323         ALIGN_TO_4_BYTES;
5324
5325         switch(level) {
5326                 case 0:
5327                         offset = wkssvc_dissect_element_NetrUseGetInfoCtr_info0(tvb, offset, pinfo, tree, di, drep);
5328                 break;
5329
5330                 case 1:
5331                         offset = wkssvc_dissect_element_NetrUseGetInfoCtr_info1(tvb, offset, pinfo, tree, di, drep);
5332                 break;
5333
5334                 case 2:
5335                         offset = wkssvc_dissect_element_NetrUseGetInfoCtr_info2(tvb, offset, pinfo, tree, di, drep);
5336                 break;
5337
5338                 case 3:
5339                         offset = wkssvc_dissect_element_NetrUseGetInfoCtr_info3(tvb, offset, pinfo, tree, di, drep);
5340                 break;
5341         }
5342         proto_item_set_len(item, offset-old_offset);
5343
5344         return offset;
5345 }
5346
5347 /* IDL: struct { */
5348 /* IDL:         uint32 count; */
5349 /* IDL:         [unique(1)] [size_is(count)] wkssvc_NetrUseInfo2 *array; */
5350 /* IDL: } */
5351
5352 static int
5353 wkssvc_dissect_element_NetrUseEnumCtr2_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5354 {
5355         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseEnumCtr2_count, 0);
5356
5357         return offset;
5358 }
5359
5360 static int
5361 wkssvc_dissect_element_NetrUseEnumCtr2_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5362 {
5363         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseEnumCtr2_array_, NDR_POINTER_UNIQUE, "Pointer to Array (wkssvc_NetrUseInfo2)",hf_wkssvc_wkssvc_NetrUseEnumCtr2_array);
5364
5365         return offset;
5366 }
5367
5368 static int
5369 wkssvc_dissect_element_NetrUseEnumCtr2_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5370 {
5371         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseEnumCtr2_array__);
5372
5373         return offset;
5374 }
5375
5376 static int
5377 wkssvc_dissect_element_NetrUseEnumCtr2_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5378 {
5379         offset = wkssvc_dissect_struct_NetrUseInfo2(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrUseEnumCtr2_array,0);
5380
5381         return offset;
5382 }
5383
5384 int
5385 wkssvc_dissect_struct_NetrUseEnumCtr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5386 {
5387         proto_item *item = NULL;
5388         proto_tree *tree = NULL;
5389         int old_offset;
5390
5391         ALIGN_TO_4_BYTES;
5392
5393         old_offset = offset;
5394
5395         if (parent_tree) {
5396                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5397                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrUseEnumCtr2);
5398         }
5399         
5400         offset = wkssvc_dissect_element_NetrUseEnumCtr2_count(tvb, offset, pinfo, tree, di, drep);
5401
5402         offset = wkssvc_dissect_element_NetrUseEnumCtr2_array(tvb, offset, pinfo, tree, di, drep);
5403
5404
5405         proto_item_set_len(item, offset-old_offset);
5406
5407         return offset;
5408 }
5409
5410
5411 /* IDL: struct { */
5412 /* IDL:         uint32 count; */
5413 /* IDL:         [unique(1)] [size_is(count)] wkssvc_NetrUseInfo1 *array; */
5414 /* IDL: } */
5415
5416 static int
5417 wkssvc_dissect_element_NetrUseEnumCtr1_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5418 {
5419         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseEnumCtr1_count, 0);
5420
5421         return offset;
5422 }
5423
5424 static int
5425 wkssvc_dissect_element_NetrUseEnumCtr1_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5426 {
5427         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseEnumCtr1_array_, NDR_POINTER_UNIQUE, "Pointer to Array (wkssvc_NetrUseInfo1)",hf_wkssvc_wkssvc_NetrUseEnumCtr1_array);
5428
5429         return offset;
5430 }
5431
5432 static int
5433 wkssvc_dissect_element_NetrUseEnumCtr1_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5434 {
5435         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseEnumCtr1_array__);
5436
5437         return offset;
5438 }
5439
5440 static int
5441 wkssvc_dissect_element_NetrUseEnumCtr1_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5442 {
5443         offset = wkssvc_dissect_struct_NetrUseInfo1(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrUseEnumCtr1_array,0);
5444
5445         return offset;
5446 }
5447
5448 int
5449 wkssvc_dissect_struct_NetrUseEnumCtr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5450 {
5451         proto_item *item = NULL;
5452         proto_tree *tree = NULL;
5453         int old_offset;
5454
5455         ALIGN_TO_4_BYTES;
5456
5457         old_offset = offset;
5458
5459         if (parent_tree) {
5460                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5461                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrUseEnumCtr1);
5462         }
5463         
5464         offset = wkssvc_dissect_element_NetrUseEnumCtr1_count(tvb, offset, pinfo, tree, di, drep);
5465
5466         offset = wkssvc_dissect_element_NetrUseEnumCtr1_array(tvb, offset, pinfo, tree, di, drep);
5467
5468
5469         proto_item_set_len(item, offset-old_offset);
5470
5471         return offset;
5472 }
5473
5474
5475 /* IDL: struct { */
5476 /* IDL:         uint32 count; */
5477 /* IDL:         [unique(1)] [size_is(count)] wkssvc_NetrUseInfo0 *array; */
5478 /* IDL: } */
5479
5480 static int
5481 wkssvc_dissect_element_NetrUseEnumCtr0_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5482 {
5483         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseEnumCtr0_count, 0);
5484
5485         return offset;
5486 }
5487
5488 static int
5489 wkssvc_dissect_element_NetrUseEnumCtr0_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5490 {
5491         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseEnumCtr0_array_, NDR_POINTER_UNIQUE, "Pointer to Array (wkssvc_NetrUseInfo0)",hf_wkssvc_wkssvc_NetrUseEnumCtr0_array);
5492
5493         return offset;
5494 }
5495
5496 static int
5497 wkssvc_dissect_element_NetrUseEnumCtr0_array_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5498 {
5499         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseEnumCtr0_array__);
5500
5501         return offset;
5502 }
5503
5504 static int
5505 wkssvc_dissect_element_NetrUseEnumCtr0_array__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5506 {
5507         offset = wkssvc_dissect_struct_NetrUseInfo0(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrUseEnumCtr0_array,0);
5508
5509         return offset;
5510 }
5511
5512 int
5513 wkssvc_dissect_struct_NetrUseEnumCtr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5514 {
5515         proto_item *item = NULL;
5516         proto_tree *tree = NULL;
5517         int old_offset;
5518
5519         ALIGN_TO_4_BYTES;
5520
5521         old_offset = offset;
5522
5523         if (parent_tree) {
5524                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5525                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrUseEnumCtr0);
5526         }
5527         
5528         offset = wkssvc_dissect_element_NetrUseEnumCtr0_count(tvb, offset, pinfo, tree, di, drep);
5529
5530         offset = wkssvc_dissect_element_NetrUseEnumCtr0_array(tvb, offset, pinfo, tree, di, drep);
5531
5532
5533         proto_item_set_len(item, offset-old_offset);
5534
5535         return offset;
5536 }
5537
5538
5539 /* IDL: [switch_type(uint32)] union { */
5540 /* IDL: [case(0)] [unique(1)] [case(0)] wkssvc_NetrUseEnumCtr0 *ctr0; */
5541 /* IDL: [case(1)] [unique(1)] [case(1)] wkssvc_NetrUseEnumCtr1 *ctr1; */
5542 /* IDL: [case(2)] [unique(1)] [case(2)] wkssvc_NetrUseEnumCtr2 *ctr2; */
5543 /* IDL: } */
5544
5545 static int
5546 wkssvc_dissect_element_NetrUseEnumCtr_ctr0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5547 {
5548         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseEnumCtr_ctr0_, NDR_POINTER_UNIQUE, "Pointer to Ctr0 (wkssvc_NetrUseEnumCtr0)",hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr0);
5549
5550         return offset;
5551 }
5552
5553 static int
5554 wkssvc_dissect_element_NetrUseEnumCtr_ctr0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5555 {
5556         offset = wkssvc_dissect_struct_NetrUseEnumCtr0(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr0,0);
5557
5558         return offset;
5559 }
5560
5561 static int
5562 wkssvc_dissect_element_NetrUseEnumCtr_ctr1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5563 {
5564         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseEnumCtr_ctr1_, NDR_POINTER_UNIQUE, "Pointer to Ctr1 (wkssvc_NetrUseEnumCtr1)",hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr1);
5565
5566         return offset;
5567 }
5568
5569 static int
5570 wkssvc_dissect_element_NetrUseEnumCtr_ctr1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5571 {
5572         offset = wkssvc_dissect_struct_NetrUseEnumCtr1(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr1,0);
5573
5574         return offset;
5575 }
5576
5577 static int
5578 wkssvc_dissect_element_NetrUseEnumCtr_ctr2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5579 {
5580         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseEnumCtr_ctr2_, NDR_POINTER_UNIQUE, "Pointer to Ctr2 (wkssvc_NetrUseEnumCtr2)",hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr2);
5581
5582         return offset;
5583 }
5584
5585 static int
5586 wkssvc_dissect_element_NetrUseEnumCtr_ctr2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5587 {
5588         offset = wkssvc_dissect_struct_NetrUseEnumCtr2(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr2,0);
5589
5590         return offset;
5591 }
5592
5593 static int
5594 wkssvc_dissect_NetrUseEnumCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5595 {
5596         proto_item *item = NULL;
5597         proto_tree *tree = NULL;
5598         int old_offset;
5599         guint32 level;
5600
5601         old_offset = offset;
5602         if (parent_tree) {
5603                 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_wkssvc_wkssvc_NetrUseEnumCtr, &item, "wkssvc_NetrUseEnumCtr");
5604         }
5605
5606         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
5607         ALIGN_TO_4_BYTES;
5608
5609         switch(level) {
5610                 case 0:
5611                         offset = wkssvc_dissect_element_NetrUseEnumCtr_ctr0(tvb, offset, pinfo, tree, di, drep);
5612                 break;
5613
5614                 case 1:
5615                         offset = wkssvc_dissect_element_NetrUseEnumCtr_ctr1(tvb, offset, pinfo, tree, di, drep);
5616                 break;
5617
5618                 case 2:
5619                         offset = wkssvc_dissect_element_NetrUseEnumCtr_ctr2(tvb, offset, pinfo, tree, di, drep);
5620                 break;
5621         }
5622         proto_item_set_len(item, offset-old_offset);
5623
5624         return offset;
5625 }
5626
5627 /* IDL: struct { */
5628 /* IDL:         uint32 level; */
5629 /* IDL:         [switch_is(level)] wkssvc_NetrUseEnumCtr ctr; */
5630 /* IDL: } */
5631
5632 static int
5633 wkssvc_dissect_element_NetrUseEnumInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5634 {
5635         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseEnumInfo_level, 0);
5636
5637         return offset;
5638 }
5639
5640 static int
5641 wkssvc_dissect_element_NetrUseEnumInfo_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5642 {
5643         offset = wkssvc_dissect_NetrUseEnumCtr(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseEnumInfo_ctr, 0);
5644
5645         return offset;
5646 }
5647
5648 int
5649 wkssvc_dissect_struct_NetrUseEnumInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
5650 {
5651         proto_item *item = NULL;
5652         proto_tree *tree = NULL;
5653         int old_offset;
5654
5655         ALIGN_TO_4_BYTES;
5656
5657         old_offset = offset;
5658
5659         if (parent_tree) {
5660                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5661                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrUseEnumInfo);
5662         }
5663         
5664         offset = wkssvc_dissect_element_NetrUseEnumInfo_level(tvb, offset, pinfo, tree, di, drep);
5665
5666         offset = wkssvc_dissect_element_NetrUseEnumInfo_ctr(tvb, offset, pinfo, tree, di, drep);
5667
5668
5669         proto_item_set_len(item, offset-old_offset);
5670
5671         return offset;
5672 }
5673
5674
5675 /* IDL: struct { */
5676 /* IDL:         hyper unknown1; */
5677 /* IDL:         hyper unknown2; */
5678 /* IDL:         hyper unknown3; */
5679 /* IDL:         hyper unknown4; */
5680 /* IDL:         hyper unknown5; */
5681 /* IDL:         hyper unknown6; */
5682 /* IDL:         hyper unknown7; */
5683 /* IDL:         hyper unknown8; */
5684 /* IDL:         hyper unknown9; */
5685 /* IDL:         hyper unknown10; */
5686 /* IDL:         hyper unknown11; */
5687 /* IDL:         hyper unknown12; */
5688 /* IDL:         hyper unknown13; */
5689 /* IDL:         uint32 unknown14; */
5690 /* IDL:         uint32 unknown15; */
5691 /* IDL:         uint32 unknown16; */
5692 /* IDL:         uint32 unknown17; */
5693 /* IDL:         uint32 unknown18; */
5694 /* IDL:         uint32 unknown19; */
5695 /* IDL:         uint32 unknown20; */
5696 /* IDL:         uint32 unknown21; */
5697 /* IDL:         uint32 unknown22; */
5698 /* IDL:         uint32 unknown23; */
5699 /* IDL:         uint32 unknown24; */
5700 /* IDL:         uint32 unknown25; */
5701 /* IDL:         uint32 unknown26; */
5702 /* IDL:         uint32 unknown27; */
5703 /* IDL:         uint32 unknown28; */
5704 /* IDL:         uint32 unknown29; */
5705 /* IDL:         uint32 unknown30; */
5706 /* IDL:         uint32 unknown31; */
5707 /* IDL:         uint32 unknown32; */
5708 /* IDL:         uint32 unknown33; */
5709 /* IDL:         uint32 unknown34; */
5710 /* IDL:         uint32 unknown35; */
5711 /* IDL:         uint32 unknown36; */
5712 /* IDL:         uint32 unknown37; */
5713 /* IDL:         uint32 unknown38; */
5714 /* IDL:         uint32 unknown39; */
5715 /* IDL:         uint32 unknown40; */
5716 /* IDL: } */
5717
5718 static int
5719 wkssvc_dissect_element_NetrWorkstationStatistics_unknown1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5720 {
5721         offset=cnf_dissect_hyper(tvb, offset, pinfo, tree, di, drep, 0, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown1);
5722
5723         return offset;
5724 }
5725
5726 static int
5727 wkssvc_dissect_element_NetrWorkstationStatistics_unknown2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5728 {
5729         offset=cnf_dissect_hyper(tvb, offset, pinfo, tree, di, drep, 0, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown2);
5730
5731         return offset;
5732 }
5733
5734 static int
5735 wkssvc_dissect_element_NetrWorkstationStatistics_unknown3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5736 {
5737         offset=cnf_dissect_hyper(tvb, offset, pinfo, tree, di, drep, 0, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown3);
5738
5739         return offset;
5740 }
5741
5742 static int
5743 wkssvc_dissect_element_NetrWorkstationStatistics_unknown4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5744 {
5745         offset=cnf_dissect_hyper(tvb, offset, pinfo, tree, di, drep, 0, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown4);
5746
5747         return offset;
5748 }
5749
5750 static int
5751 wkssvc_dissect_element_NetrWorkstationStatistics_unknown5(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5752 {
5753         offset=cnf_dissect_hyper(tvb, offset, pinfo, tree, di, drep, 0, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown5);
5754
5755         return offset;
5756 }
5757
5758 static int
5759 wkssvc_dissect_element_NetrWorkstationStatistics_unknown6(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5760 {
5761         offset=cnf_dissect_hyper(tvb, offset, pinfo, tree, di, drep, 0, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown6);
5762
5763         return offset;
5764 }
5765
5766 static int
5767 wkssvc_dissect_element_NetrWorkstationStatistics_unknown7(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5768 {
5769         offset=cnf_dissect_hyper(tvb, offset, pinfo, tree, di, drep, 0, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown7);
5770
5771         return offset;
5772 }
5773
5774 static int
5775 wkssvc_dissect_element_NetrWorkstationStatistics_unknown8(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5776 {
5777         offset=cnf_dissect_hyper(tvb, offset, pinfo, tree, di, drep, 0, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown8);
5778
5779         return offset;
5780 }
5781
5782 static int
5783 wkssvc_dissect_element_NetrWorkstationStatistics_unknown9(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5784 {
5785         offset=cnf_dissect_hyper(tvb, offset, pinfo, tree, di, drep, 0, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown9);
5786
5787         return offset;
5788 }
5789
5790 static int
5791 wkssvc_dissect_element_NetrWorkstationStatistics_unknown10(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5792 {
5793         offset=cnf_dissect_hyper(tvb, offset, pinfo, tree, di, drep, 0, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown10);
5794
5795         return offset;
5796 }
5797
5798 static int
5799 wkssvc_dissect_element_NetrWorkstationStatistics_unknown11(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5800 {
5801         offset=cnf_dissect_hyper(tvb, offset, pinfo, tree, di, drep, 0, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown11);
5802
5803         return offset;
5804 }
5805
5806 static int
5807 wkssvc_dissect_element_NetrWorkstationStatistics_unknown12(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5808 {
5809         offset=cnf_dissect_hyper(tvb, offset, pinfo, tree, di, drep, 0, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown12);
5810
5811         return offset;
5812 }
5813
5814 static int
5815 wkssvc_dissect_element_NetrWorkstationStatistics_unknown13(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5816 {
5817         offset=cnf_dissect_hyper(tvb, offset, pinfo, tree, di, drep, 0, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown13);
5818
5819         return offset;
5820 }
5821
5822 static int
5823 wkssvc_dissect_element_NetrWorkstationStatistics_unknown14(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5824 {
5825         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown14, 0);
5826
5827         return offset;
5828 }
5829
5830 static int
5831 wkssvc_dissect_element_NetrWorkstationStatistics_unknown15(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5832 {
5833         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown15, 0);
5834
5835         return offset;
5836 }
5837
5838 static int
5839 wkssvc_dissect_element_NetrWorkstationStatistics_unknown16(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5840 {
5841         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown16, 0);
5842
5843         return offset;
5844 }
5845
5846 static int
5847 wkssvc_dissect_element_NetrWorkstationStatistics_unknown17(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5848 {
5849         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown17, 0);
5850
5851         return offset;
5852 }
5853
5854 static int
5855 wkssvc_dissect_element_NetrWorkstationStatistics_unknown18(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5856 {
5857         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown18, 0);
5858
5859         return offset;
5860 }
5861
5862 static int
5863 wkssvc_dissect_element_NetrWorkstationStatistics_unknown19(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5864 {
5865         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown19, 0);
5866
5867         return offset;
5868 }
5869
5870 static int
5871 wkssvc_dissect_element_NetrWorkstationStatistics_unknown20(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5872 {
5873         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown20, 0);
5874
5875         return offset;
5876 }
5877
5878 static int
5879 wkssvc_dissect_element_NetrWorkstationStatistics_unknown21(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5880 {
5881         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown21, 0);
5882
5883         return offset;
5884 }
5885
5886 static int
5887 wkssvc_dissect_element_NetrWorkstationStatistics_unknown22(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5888 {
5889         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown22, 0);
5890
5891         return offset;
5892 }
5893
5894 static int
5895 wkssvc_dissect_element_NetrWorkstationStatistics_unknown23(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5896 {
5897         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown23, 0);
5898
5899         return offset;
5900 }
5901
5902 static int
5903 wkssvc_dissect_element_NetrWorkstationStatistics_unknown24(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5904 {
5905         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown24, 0);
5906
5907         return offset;
5908 }
5909
5910 static int
5911 wkssvc_dissect_element_NetrWorkstationStatistics_unknown25(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5912 {
5913         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown25, 0);
5914
5915         return offset;
5916 }
5917
5918 static int
5919 wkssvc_dissect_element_NetrWorkstationStatistics_unknown26(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5920 {
5921         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown26, 0);
5922
5923         return offset;
5924 }
5925
5926 static int
5927 wkssvc_dissect_element_NetrWorkstationStatistics_unknown27(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5928 {
5929         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown27, 0);
5930
5931         return offset;
5932 }
5933
5934 static int
5935 wkssvc_dissect_element_NetrWorkstationStatistics_unknown28(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5936 {
5937         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown28, 0);
5938
5939         return offset;
5940 }
5941
5942 static int
5943 wkssvc_dissect_element_NetrWorkstationStatistics_unknown29(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5944 {
5945         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown29, 0);
5946
5947         return offset;
5948 }
5949
5950 static int
5951 wkssvc_dissect_element_NetrWorkstationStatistics_unknown30(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5952 {
5953         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown30, 0);
5954
5955         return offset;
5956 }
5957
5958 static int
5959 wkssvc_dissect_element_NetrWorkstationStatistics_unknown31(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5960 {
5961         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown31, 0);
5962
5963         return offset;
5964 }
5965
5966 static int
5967 wkssvc_dissect_element_NetrWorkstationStatistics_unknown32(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5968 {
5969         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown32, 0);
5970
5971         return offset;
5972 }
5973
5974 static int
5975 wkssvc_dissect_element_NetrWorkstationStatistics_unknown33(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5976 {
5977         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown33, 0);
5978
5979         return offset;
5980 }
5981
5982 static int
5983 wkssvc_dissect_element_NetrWorkstationStatistics_unknown34(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5984 {
5985         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown34, 0);
5986
5987         return offset;
5988 }
5989
5990 static int
5991 wkssvc_dissect_element_NetrWorkstationStatistics_unknown35(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
5992 {
5993         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown35, 0);
5994
5995         return offset;
5996 }
5997
5998 static int
5999 wkssvc_dissect_element_NetrWorkstationStatistics_unknown36(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6000 {
6001         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown36, 0);
6002
6003         return offset;
6004 }
6005
6006 static int
6007 wkssvc_dissect_element_NetrWorkstationStatistics_unknown37(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6008 {
6009         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown37, 0);
6010
6011         return offset;
6012 }
6013
6014 static int
6015 wkssvc_dissect_element_NetrWorkstationStatistics_unknown38(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6016 {
6017         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown38, 0);
6018
6019         return offset;
6020 }
6021
6022 static int
6023 wkssvc_dissect_element_NetrWorkstationStatistics_unknown39(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6024 {
6025         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown39, 0);
6026
6027         return offset;
6028 }
6029
6030 static int
6031 wkssvc_dissect_element_NetrWorkstationStatistics_unknown40(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6032 {
6033         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown40, 0);
6034
6035         return offset;
6036 }
6037
6038 int
6039 wkssvc_dissect_struct_NetrWorkstationStatistics(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
6040 {
6041         proto_item *item = NULL;
6042         proto_tree *tree = NULL;
6043         int old_offset;
6044
6045         ALIGN_TO_8_BYTES;
6046
6047         old_offset = offset;
6048
6049         if (parent_tree) {
6050                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6051                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_NetrWorkstationStatistics);
6052         }
6053         
6054         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown1(tvb, offset, pinfo, tree, di, drep);
6055
6056         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown2(tvb, offset, pinfo, tree, di, drep);
6057
6058         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown3(tvb, offset, pinfo, tree, di, drep);
6059
6060         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown4(tvb, offset, pinfo, tree, di, drep);
6061
6062         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown5(tvb, offset, pinfo, tree, di, drep);
6063
6064         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown6(tvb, offset, pinfo, tree, di, drep);
6065
6066         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown7(tvb, offset, pinfo, tree, di, drep);
6067
6068         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown8(tvb, offset, pinfo, tree, di, drep);
6069
6070         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown9(tvb, offset, pinfo, tree, di, drep);
6071
6072         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown10(tvb, offset, pinfo, tree, di, drep);
6073
6074         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown11(tvb, offset, pinfo, tree, di, drep);
6075
6076         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown12(tvb, offset, pinfo, tree, di, drep);
6077
6078         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown13(tvb, offset, pinfo, tree, di, drep);
6079
6080         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown14(tvb, offset, pinfo, tree, di, drep);
6081
6082         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown15(tvb, offset, pinfo, tree, di, drep);
6083
6084         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown16(tvb, offset, pinfo, tree, di, drep);
6085
6086         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown17(tvb, offset, pinfo, tree, di, drep);
6087
6088         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown18(tvb, offset, pinfo, tree, di, drep);
6089
6090         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown19(tvb, offset, pinfo, tree, di, drep);
6091
6092         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown20(tvb, offset, pinfo, tree, di, drep);
6093
6094         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown21(tvb, offset, pinfo, tree, di, drep);
6095
6096         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown22(tvb, offset, pinfo, tree, di, drep);
6097
6098         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown23(tvb, offset, pinfo, tree, di, drep);
6099
6100         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown24(tvb, offset, pinfo, tree, di, drep);
6101
6102         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown25(tvb, offset, pinfo, tree, di, drep);
6103
6104         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown26(tvb, offset, pinfo, tree, di, drep);
6105
6106         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown27(tvb, offset, pinfo, tree, di, drep);
6107
6108         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown28(tvb, offset, pinfo, tree, di, drep);
6109
6110         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown29(tvb, offset, pinfo, tree, di, drep);
6111
6112         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown30(tvb, offset, pinfo, tree, di, drep);
6113
6114         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown31(tvb, offset, pinfo, tree, di, drep);
6115
6116         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown32(tvb, offset, pinfo, tree, di, drep);
6117
6118         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown33(tvb, offset, pinfo, tree, di, drep);
6119
6120         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown34(tvb, offset, pinfo, tree, di, drep);
6121
6122         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown35(tvb, offset, pinfo, tree, di, drep);
6123
6124         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown36(tvb, offset, pinfo, tree, di, drep);
6125
6126         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown37(tvb, offset, pinfo, tree, di, drep);
6127
6128         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown38(tvb, offset, pinfo, tree, di, drep);
6129
6130         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown39(tvb, offset, pinfo, tree, di, drep);
6131
6132         offset = wkssvc_dissect_element_NetrWorkstationStatistics_unknown40(tvb, offset, pinfo, tree, di, drep);
6133
6134
6135         proto_item_set_len(item, offset-old_offset);
6136
6137         return offset;
6138 }
6139
6140
6141 /* IDL: bitmap { */
6142 /* IDL:         WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE =  0x00000002 , */
6143 /* IDL: } */
6144
6145 int
6146 wkssvc_dissect_bitmap_renameflags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
6147 {
6148         proto_item *item = NULL;
6149         proto_tree *tree = NULL;
6150
6151         guint32 flags;
6152         ALIGN_TO_4_BYTES;
6153
6154         if (parent_tree) {
6155                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, TRUE);
6156                 tree = proto_item_add_subtree(item,ett_wkssvc_wkssvc_renameflags);
6157         }
6158
6159         offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, di, drep, -1, &flags);
6160         proto_item_append_text(item, ": ");
6161
6162         if (!flags)
6163                 proto_item_append_text(item, "(No values set)");
6164
6165         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_renameflags_WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE, tvb, offset-4, 4, flags);
6166         if (flags&( 0x00000002 )){
6167                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE");
6168                 if (flags & (~( 0x00000002 )))
6169                         proto_item_append_text(item, ", ");
6170         }
6171         flags&=(~( 0x00000002 ));
6172
6173         if (flags) {
6174                 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
6175         }
6176
6177         return offset;
6178 }
6179
6180
6181 /* IDL: enum { */
6182 /* IDL:         NetSetupUnknown=0, */
6183 /* IDL:         NetSetupMachine=1, */
6184 /* IDL:         NetSetupWorkgroup=2, */
6185 /* IDL:         NetSetupDomain=3, */
6186 /* IDL:         NetSetupNonExistentDomain=4, */
6187 /* IDL:         NetSetupDnsMachine=5, */
6188 /* IDL: } */
6189
6190 int
6191 wkssvc_dissect_enum_NetValidateNameType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
6192 {
6193         guint16 parameter=0;
6194         if(param){
6195                 parameter=(guint16)*param;
6196         }
6197         offset = dissect_ndr_uint16(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
6198         if(param){
6199                 *param=(guint32)parameter;
6200         }
6201         return offset;
6202 }
6203
6204
6205 /* IDL: enum { */
6206 /* IDL:         NetSetupUnknownStatus=0, */
6207 /* IDL:         NetSetupUnjoined=1, */
6208 /* IDL:         NetSetupWorkgroupName=2, */
6209 /* IDL:         NetSetupDomainName=3, */
6210 /* IDL: } */
6211
6212 int
6213 wkssvc_dissect_enum_NetJoinStatus(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
6214 {
6215         guint16 parameter=0;
6216         if(param){
6217                 parameter=(guint16)*param;
6218         }
6219         offset = dissect_ndr_uint16(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
6220         if(param){
6221                 *param=(guint32)parameter;
6222         }
6223         return offset;
6224 }
6225
6226
6227 /* IDL: struct { */
6228 /* IDL:         uint8 data[524]; */
6229 /* IDL: } */
6230
6231 static int
6232 wkssvc_dissect_element_PasswordBuffer_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6233 {
6234         int i;
6235         for (i = 0; i < 524; i++)
6236                 offset = wkssvc_dissect_element_PasswordBuffer_data_(tvb, offset, pinfo, tree, di, drep);
6237
6238         return offset;
6239 }
6240
6241 static int
6242 wkssvc_dissect_element_PasswordBuffer_data_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6243 {
6244         offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_PasswordBuffer_data, 0);
6245
6246         return offset;
6247 }
6248
6249 int
6250 wkssvc_dissect_struct_PasswordBuffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
6251 {
6252         proto_item *item = NULL;
6253         proto_tree *tree = NULL;
6254         int old_offset;
6255
6256
6257         old_offset = offset;
6258
6259         if (parent_tree) {
6260                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6261                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_PasswordBuffer);
6262         }
6263         
6264         offset = wkssvc_dissect_element_PasswordBuffer_data(tvb, offset, pinfo, tree, di, drep);
6265
6266
6267         proto_item_set_len(item, offset-old_offset);
6268
6269         return offset;
6270 }
6271
6272
6273 /* IDL: bitmap { */
6274 /* IDL:         WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME =  0x00000400 , */
6275 /* IDL:         WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT =  0x00000200 , */
6276 /* IDL:         WKSSVC_JOIN_FLAGS_DEFER_SPN =  0x00000100 , */
6277 /* IDL:         WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED =  0x00000080 , */
6278 /* IDL:         WKSSVC_JOIN_FLAGS_JOIN_UNSECURE =  0x00000040 , */
6279 /* IDL:         WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED =  0x00000020 , */
6280 /* IDL:         WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE =  0x00000010 , */
6281 /* IDL:         WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE =  0x00000004 , */
6282 /* IDL:         WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE =  0x00000002 , */
6283 /* IDL:         WKSSVC_JOIN_FLAGS_JOIN_TYPE =  0x00000001 , */
6284 /* IDL: } */
6285
6286 int
6287 wkssvc_dissect_bitmap_joinflags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
6288 {
6289         proto_item *item = NULL;
6290         proto_tree *tree = NULL;
6291
6292         guint32 flags;
6293         ALIGN_TO_4_BYTES;
6294
6295         if (parent_tree) {
6296                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, TRUE);
6297                 tree = proto_item_add_subtree(item,ett_wkssvc_wkssvc_joinflags);
6298         }
6299
6300         offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, di, drep, -1, &flags);
6301         proto_item_append_text(item, ": ");
6302
6303         if (!flags)
6304                 proto_item_append_text(item, "(No values set)");
6305
6306         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME, tvb, offset-4, 4, flags);
6307         if (flags&( 0x00000400 )){
6308                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME");
6309                 if (flags & (~( 0x00000400 )))
6310                         proto_item_append_text(item, ", ");
6311         }
6312         flags&=(~( 0x00000400 ));
6313
6314         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT, tvb, offset-4, 4, flags);
6315         if (flags&( 0x00000200 )){
6316                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT");
6317                 if (flags & (~( 0x00000200 )))
6318                         proto_item_append_text(item, ", ");
6319         }
6320         flags&=(~( 0x00000200 ));
6321
6322         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DEFER_SPN, tvb, offset-4, 4, flags);
6323         if (flags&( 0x00000100 )){
6324                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_DEFER_SPN");
6325                 if (flags & (~( 0x00000100 )))
6326                         proto_item_append_text(item, ", ");
6327         }
6328         flags&=(~( 0x00000100 ));
6329
6330         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED, tvb, offset-4, 4, flags);
6331         if (flags&( 0x00000080 )){
6332                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED");
6333                 if (flags & (~( 0x00000080 )))
6334                         proto_item_append_text(item, ", ");
6335         }
6336         flags&=(~( 0x00000080 ));
6337
6338         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_UNSECURE, tvb, offset-4, 4, flags);
6339         if (flags&( 0x00000040 )){
6340                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_JOIN_UNSECURE");
6341                 if (flags & (~( 0x00000040 )))
6342                         proto_item_append_text(item, ", ");
6343         }
6344         flags&=(~( 0x00000040 ));
6345
6346         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED, tvb, offset-4, 4, flags);
6347         if (flags&( 0x00000020 )){
6348                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED");
6349                 if (flags & (~( 0x00000020 )))
6350                         proto_item_append_text(item, ", ");
6351         }
6352         flags&=(~( 0x00000020 ));
6353
6354         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE, tvb, offset-4, 4, flags);
6355         if (flags&( 0x00000010 )){
6356                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE");
6357                 if (flags & (~( 0x00000010 )))
6358                         proto_item_append_text(item, ", ");
6359         }
6360         flags&=(~( 0x00000010 ));
6361
6362         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE, tvb, offset-4, 4, flags);
6363         if (flags&( 0x00000004 )){
6364                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE");
6365                 if (flags & (~( 0x00000004 )))
6366                         proto_item_append_text(item, ", ");
6367         }
6368         flags&=(~( 0x00000004 ));
6369
6370         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE, tvb, offset-4, 4, flags);
6371         if (flags&( 0x00000002 )){
6372                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE");
6373                 if (flags & (~( 0x00000002 )))
6374                         proto_item_append_text(item, ", ");
6375         }
6376         flags&=(~( 0x00000002 ));
6377
6378         proto_tree_add_boolean(tree, hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_TYPE, tvb, offset-4, 4, flags);
6379         if (flags&( 0x00000001 )){
6380                 proto_item_append_text(item, "WKSSVC_JOIN_FLAGS_JOIN_TYPE");
6381                 if (flags & (~( 0x00000001 )))
6382                         proto_item_append_text(item, ", ");
6383         }
6384         flags&=(~( 0x00000001 ));
6385
6386         if (flags) {
6387                 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
6388         }
6389
6390         return offset;
6391 }
6392
6393
6394 /* IDL: enum { */
6395 /* IDL:         NetPrimaryComputerName=0, */
6396 /* IDL:         NetAlternateComputerNames=1, */
6397 /* IDL:         NetAllComputerNames=2, */
6398 /* IDL:         NetComputerNameTypeMax=3, */
6399 /* IDL: } */
6400
6401 int
6402 wkssvc_dissect_enum_ComputerNameType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_)
6403 {
6404         guint16 parameter=0;
6405         if(param){
6406                 parameter=(guint16)*param;
6407         }
6408         offset = dissect_ndr_uint16(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
6409         if(param){
6410                 *param=(guint32)parameter;
6411         }
6412         return offset;
6413 }
6414
6415
6416 /* IDL: struct { */
6417 /* IDL:         uint32 count; */
6418 /* IDL:         [unique(1)] [size_is(count)] lsa_String *computer_name; */
6419 /* IDL: } */
6420
6421 static int
6422 wkssvc_dissect_element_ComputerNamesCtr_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6423 {
6424         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_ComputerNamesCtr_count, 0);
6425
6426         return offset;
6427 }
6428
6429 static int
6430 wkssvc_dissect_element_ComputerNamesCtr_computer_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6431 {
6432         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_ComputerNamesCtr_computer_name_, NDR_POINTER_UNIQUE, "Pointer to Computer Name (lsa_String)",hf_wkssvc_wkssvc_ComputerNamesCtr_computer_name);
6433
6434         return offset;
6435 }
6436
6437 static int
6438 wkssvc_dissect_element_ComputerNamesCtr_computer_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6439 {
6440         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_ComputerNamesCtr_computer_name__);
6441
6442         return offset;
6443 }
6444
6445 static int
6446 wkssvc_dissect_element_ComputerNamesCtr_computer_name__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6447 {
6448         offset=cnf_dissect_lsa_String(tvb, offset, pinfo, tree, di, drep, 0, hf_wkssvc_wkssvc_ComputerNamesCtr_computer_name);
6449
6450         return offset;
6451 }
6452
6453 int
6454 wkssvc_dissect_struct_ComputerNamesCtr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
6455 {
6456         proto_item *item = NULL;
6457         proto_tree *tree = NULL;
6458         int old_offset;
6459
6460         ALIGN_TO_4_BYTES;
6461
6462         old_offset = offset;
6463
6464         if (parent_tree) {
6465                 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6466                 tree = proto_item_add_subtree(item, ett_wkssvc_wkssvc_ComputerNamesCtr);
6467         }
6468         
6469         offset = wkssvc_dissect_element_ComputerNamesCtr_count(tvb, offset, pinfo, tree, di, drep);
6470
6471         offset = wkssvc_dissect_element_ComputerNamesCtr_computer_name(tvb, offset, pinfo, tree, di, drep);
6472
6473
6474         proto_item_set_len(item, offset-old_offset);
6475
6476         return offset;
6477 }
6478
6479 static int
6480 wkssvc_dissect_element_NetWkstaGetInfo_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6481 {
6482         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaGetInfo_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetWkstaGetInfo_server_name);
6483
6484         return offset;
6485 }
6486
6487 static int
6488 wkssvc_dissect_element_NetWkstaGetInfo_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6489 {
6490         char *data;
6491
6492         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaGetInfo_server_name, FALSE, &data);
6493         proto_item_append_text(tree, ": %s", data);
6494
6495         return offset;
6496 }
6497
6498 static int
6499 wkssvc_dissect_element_NetWkstaGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6500 {
6501         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaGetInfo_level, PIDL_SET_COL_INFO);
6502
6503         return offset;
6504 }
6505
6506 static int
6507 wkssvc_dissect_element_NetWkstaGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6508 {
6509         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaGetInfo_info_, NDR_POINTER_REF, "Pointer to Info (wkssvc_NetWkstaInfo)",hf_wkssvc_wkssvc_NetWkstaGetInfo_info);
6510
6511         return offset;
6512 }
6513
6514 static int
6515 wkssvc_dissect_element_NetWkstaGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6516 {
6517         offset = wkssvc_dissect_NetWkstaInfo(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaGetInfo_info, 0);
6518
6519         return offset;
6520 }
6521
6522 /* IDL: WERROR wkssvc_NetWkstaGetInfo( */
6523 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
6524 /* IDL: [in] uint32 level, */
6525 /* IDL: [out] [ref] [switch_is(level)] wkssvc_NetWkstaInfo *info */
6526 /* IDL: ); */
6527
6528 static int
6529 wkssvc_dissect_NetWkstaGetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6530 {
6531         guint32 status;
6532
6533         di->dcerpc_procedure_name="NetWkstaGetInfo";
6534         offset = wkssvc_dissect_element_NetWkstaGetInfo_info(tvb, offset, pinfo, tree, di, drep);
6535         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6536
6537         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
6538
6539         if (status != 0)
6540                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
6541
6542         return offset;
6543 }
6544
6545 static int
6546 wkssvc_dissect_NetWkstaGetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6547 {
6548         di->dcerpc_procedure_name="NetWkstaGetInfo";
6549         offset = wkssvc_dissect_element_NetWkstaGetInfo_server_name(tvb, offset, pinfo, tree, di, drep);
6550         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6551         offset = wkssvc_dissect_element_NetWkstaGetInfo_level(tvb, offset, pinfo, tree, di, drep);
6552         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6553         return offset;
6554 }
6555
6556 static int
6557 wkssvc_dissect_element_NetWkstaSetInfo_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6558 {
6559         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaSetInfo_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetWkstaSetInfo_server_name);
6560
6561         return offset;
6562 }
6563
6564 static int
6565 wkssvc_dissect_element_NetWkstaSetInfo_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6566 {
6567         char *data;
6568
6569         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaSetInfo_server_name, FALSE, &data);
6570         proto_item_append_text(tree, ": %s", data);
6571
6572         return offset;
6573 }
6574
6575 static int
6576 wkssvc_dissect_element_NetWkstaSetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6577 {
6578         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaSetInfo_level, 0);
6579
6580         return offset;
6581 }
6582
6583 static int
6584 wkssvc_dissect_element_NetWkstaSetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6585 {
6586         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaSetInfo_info_, NDR_POINTER_REF, "Pointer to Info (wkssvc_NetWkstaInfo)",hf_wkssvc_wkssvc_NetWkstaSetInfo_info);
6587
6588         return offset;
6589 }
6590
6591 static int
6592 wkssvc_dissect_element_NetWkstaSetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6593 {
6594         offset = wkssvc_dissect_NetWkstaInfo(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaSetInfo_info, 0);
6595
6596         return offset;
6597 }
6598
6599 static int
6600 wkssvc_dissect_element_NetWkstaSetInfo_parm_error(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6601 {
6602         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaSetInfo_parm_error_, NDR_POINTER_REF, "Pointer to Parm Error (uint32)",hf_wkssvc_wkssvc_NetWkstaSetInfo_parm_error);
6603
6604         return offset;
6605 }
6606
6607 static int
6608 wkssvc_dissect_element_NetWkstaSetInfo_parm_error_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6609 {
6610         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaSetInfo_parm_error, 0);
6611
6612         return offset;
6613 }
6614
6615 /* IDL: WERROR wkssvc_NetWkstaSetInfo( */
6616 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
6617 /* IDL: [in] uint32 level, */
6618 /* IDL: [in] [ref] [switch_is(level)] wkssvc_NetWkstaInfo *info, */
6619 /* IDL: [out] [in] [ref] uint32 *parm_error */
6620 /* IDL: ); */
6621
6622 static int
6623 wkssvc_dissect_NetWkstaSetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6624 {
6625         guint32 status;
6626
6627         di->dcerpc_procedure_name="NetWkstaSetInfo";
6628         offset = wkssvc_dissect_element_NetWkstaSetInfo_parm_error(tvb, offset, pinfo, tree, di, drep);
6629         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6630
6631         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
6632
6633         if (status != 0)
6634                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
6635
6636         return offset;
6637 }
6638
6639 static int
6640 wkssvc_dissect_NetWkstaSetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6641 {
6642         di->dcerpc_procedure_name="NetWkstaSetInfo";
6643         offset = wkssvc_dissect_element_NetWkstaSetInfo_server_name(tvb, offset, pinfo, tree, di, drep);
6644         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6645         offset = wkssvc_dissect_element_NetWkstaSetInfo_level(tvb, offset, pinfo, tree, di, drep);
6646         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6647         offset = wkssvc_dissect_element_NetWkstaSetInfo_info(tvb, offset, pinfo, tree, di, drep);
6648         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6649         offset = wkssvc_dissect_element_NetWkstaSetInfo_parm_error(tvb, offset, pinfo, tree, di, drep);
6650         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6651         return offset;
6652 }
6653
6654 static int
6655 wkssvc_dissect_element_NetWkstaEnumUsers_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6656 {
6657         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaEnumUsers_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetWkstaEnumUsers_server_name);
6658
6659         return offset;
6660 }
6661
6662 static int
6663 wkssvc_dissect_element_NetWkstaEnumUsers_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6664 {
6665         char *data;
6666
6667         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaEnumUsers_server_name, FALSE, &data);
6668         proto_item_append_text(tree, ": %s", data);
6669
6670         return offset;
6671 }
6672
6673 static int
6674 wkssvc_dissect_element_NetWkstaEnumUsers_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6675 {
6676         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaEnumUsers_info_, NDR_POINTER_REF, "Pointer to Info (wkssvc_NetWkstaEnumUsersInfo)",hf_wkssvc_wkssvc_NetWkstaEnumUsers_info);
6677
6678         return offset;
6679 }
6680
6681 static int
6682 wkssvc_dissect_element_NetWkstaEnumUsers_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6683 {
6684         offset = wkssvc_dissect_struct_NetWkstaEnumUsersInfo(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaEnumUsers_info,0);
6685
6686         return offset;
6687 }
6688
6689 static int
6690 wkssvc_dissect_element_NetWkstaEnumUsers_prefmaxlen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6691 {
6692         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaEnumUsers_prefmaxlen, 0);
6693
6694         return offset;
6695 }
6696
6697 static int
6698 wkssvc_dissect_element_NetWkstaEnumUsers_entries_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6699 {
6700         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaEnumUsers_entries_read_, NDR_POINTER_REF, "Pointer to Entries Read (uint32)",hf_wkssvc_wkssvc_NetWkstaEnumUsers_entries_read);
6701
6702         return offset;
6703 }
6704
6705 static int
6706 wkssvc_dissect_element_NetWkstaEnumUsers_entries_read_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6707 {
6708         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaEnumUsers_entries_read, 0);
6709
6710         return offset;
6711 }
6712
6713 static int
6714 wkssvc_dissect_element_NetWkstaEnumUsers_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6715 {
6716         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaEnumUsers_resume_handle_, NDR_POINTER_UNIQUE, "Pointer to Resume Handle (uint32)",hf_wkssvc_wkssvc_NetWkstaEnumUsers_resume_handle);
6717
6718         return offset;
6719 }
6720
6721 static int
6722 wkssvc_dissect_element_NetWkstaEnumUsers_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6723 {
6724         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaEnumUsers_resume_handle, 0);
6725
6726         return offset;
6727 }
6728
6729 /* IDL: WERROR wkssvc_NetWkstaEnumUsers( */
6730 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
6731 /* IDL: [out] [in] [ref] wkssvc_NetWkstaEnumUsersInfo *info, */
6732 /* IDL: [in] uint32 prefmaxlen, */
6733 /* IDL: [out] [ref] uint32 *entries_read, */
6734 /* IDL: [unique(1)] [out] [in] uint32 *resume_handle */
6735 /* IDL: ); */
6736
6737 static int
6738 wkssvc_dissect_NetWkstaEnumUsers_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6739 {
6740         guint32 status;
6741
6742         di->dcerpc_procedure_name="NetWkstaEnumUsers";
6743         offset = wkssvc_dissect_element_NetWkstaEnumUsers_info(tvb, offset, pinfo, tree, di, drep);
6744         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6745
6746         offset = wkssvc_dissect_element_NetWkstaEnumUsers_entries_read(tvb, offset, pinfo, tree, di, drep);
6747         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6748
6749         offset = wkssvc_dissect_element_NetWkstaEnumUsers_resume_handle(tvb, offset, pinfo, tree, di, drep);
6750         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6751
6752         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
6753
6754         if (status != 0)
6755                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
6756
6757         return offset;
6758 }
6759
6760 static int
6761 wkssvc_dissect_NetWkstaEnumUsers_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6762 {
6763         di->dcerpc_procedure_name="NetWkstaEnumUsers";
6764         offset = wkssvc_dissect_element_NetWkstaEnumUsers_server_name(tvb, offset, pinfo, tree, di, drep);
6765         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6766         offset = wkssvc_dissect_element_NetWkstaEnumUsers_info(tvb, offset, pinfo, tree, di, drep);
6767         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6768         offset = wkssvc_dissect_element_NetWkstaEnumUsers_prefmaxlen(tvb, offset, pinfo, tree, di, drep);
6769         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6770         offset = wkssvc_dissect_element_NetWkstaEnumUsers_resume_handle(tvb, offset, pinfo, tree, di, drep);
6771         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6772         return offset;
6773 }
6774
6775 static int
6776 wkssvc_dissect_element_NetrWkstaUserGetInfo_unknown(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6777 {
6778         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWkstaUserGetInfo_unknown_, NDR_POINTER_UNIQUE, "Pointer to Unknown (uint16)",hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_unknown);
6779
6780         return offset;
6781 }
6782
6783 static int
6784 wkssvc_dissect_element_NetrWkstaUserGetInfo_unknown_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6785 {
6786         char *data;
6787
6788         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_unknown, FALSE, &data);
6789         proto_item_append_text(tree, ": %s", data);
6790
6791         return offset;
6792 }
6793
6794 static int
6795 wkssvc_dissect_element_NetrWkstaUserGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6796 {
6797         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_level, 0);
6798
6799         return offset;
6800 }
6801
6802 static int
6803 wkssvc_dissect_element_NetrWkstaUserGetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6804 {
6805         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWkstaUserGetInfo_info_, NDR_POINTER_REF, "Pointer to Info (wkssvc_NetrWkstaUserInfo)",hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_info);
6806
6807         return offset;
6808 }
6809
6810 static int
6811 wkssvc_dissect_element_NetrWkstaUserGetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6812 {
6813         offset = wkssvc_dissect_NetrWkstaUserInfo(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_info, 0);
6814
6815         return offset;
6816 }
6817
6818 /* IDL: WERROR wkssvc_NetrWkstaUserGetInfo( */
6819 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *unknown, */
6820 /* IDL: [in] uint32 level, */
6821 /* IDL: [out] [ref] [switch_is(level)] wkssvc_NetrWkstaUserInfo *info */
6822 /* IDL: ); */
6823
6824 static int
6825 wkssvc_dissect_NetrWkstaUserGetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6826 {
6827         guint32 status;
6828
6829         di->dcerpc_procedure_name="NetrWkstaUserGetInfo";
6830         offset = wkssvc_dissect_element_NetrWkstaUserGetInfo_info(tvb, offset, pinfo, tree, di, drep);
6831         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6832
6833         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
6834
6835         if (status != 0)
6836                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
6837
6838         return offset;
6839 }
6840
6841 static int
6842 wkssvc_dissect_NetrWkstaUserGetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6843 {
6844         di->dcerpc_procedure_name="NetrWkstaUserGetInfo";
6845         offset = wkssvc_dissect_element_NetrWkstaUserGetInfo_unknown(tvb, offset, pinfo, tree, di, drep);
6846         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6847         offset = wkssvc_dissect_element_NetrWkstaUserGetInfo_level(tvb, offset, pinfo, tree, di, drep);
6848         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6849         return offset;
6850 }
6851
6852 static int
6853 wkssvc_dissect_element_NetrWkstaUserSetInfo_unknown(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6854 {
6855         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWkstaUserSetInfo_unknown_, NDR_POINTER_UNIQUE, "Pointer to Unknown (uint16)",hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_unknown);
6856
6857         return offset;
6858 }
6859
6860 static int
6861 wkssvc_dissect_element_NetrWkstaUserSetInfo_unknown_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6862 {
6863         char *data;
6864
6865         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_unknown, FALSE, &data);
6866         proto_item_append_text(tree, ": %s", data);
6867
6868         return offset;
6869 }
6870
6871 static int
6872 wkssvc_dissect_element_NetrWkstaUserSetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6873 {
6874         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_level, 0);
6875
6876         return offset;
6877 }
6878
6879 static int
6880 wkssvc_dissect_element_NetrWkstaUserSetInfo_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6881 {
6882         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWkstaUserSetInfo_info_, NDR_POINTER_REF, "Pointer to Info (wkssvc_NetrWkstaUserInfo)",hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_info);
6883
6884         return offset;
6885 }
6886
6887 static int
6888 wkssvc_dissect_element_NetrWkstaUserSetInfo_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6889 {
6890         offset = wkssvc_dissect_NetrWkstaUserInfo(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_info, 0);
6891
6892         return offset;
6893 }
6894
6895 static int
6896 wkssvc_dissect_element_NetrWkstaUserSetInfo_parm_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6897 {
6898         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWkstaUserSetInfo_parm_err_, NDR_POINTER_UNIQUE, "Pointer to Parm Err (uint32)",hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_parm_err);
6899
6900         return offset;
6901 }
6902
6903 static int
6904 wkssvc_dissect_element_NetrWkstaUserSetInfo_parm_err_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6905 {
6906         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_parm_err, 0);
6907
6908         return offset;
6909 }
6910
6911 /* IDL: WERROR wkssvc_NetrWkstaUserSetInfo( */
6912 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *unknown, */
6913 /* IDL: [in] uint32 level, */
6914 /* IDL: [ref] [in] [switch_is(level)] wkssvc_NetrWkstaUserInfo *info, */
6915 /* IDL: [unique(1)] [out] [in] uint32 *parm_err */
6916 /* IDL: ); */
6917
6918 static int
6919 wkssvc_dissect_NetrWkstaUserSetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6920 {
6921         guint32 status;
6922
6923         di->dcerpc_procedure_name="NetrWkstaUserSetInfo";
6924         offset = wkssvc_dissect_element_NetrWkstaUserSetInfo_parm_err(tvb, offset, pinfo, tree, di, drep);
6925         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6926
6927         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
6928
6929         if (status != 0)
6930                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
6931
6932         return offset;
6933 }
6934
6935 static int
6936 wkssvc_dissect_NetrWkstaUserSetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6937 {
6938         di->dcerpc_procedure_name="NetrWkstaUserSetInfo";
6939         offset = wkssvc_dissect_element_NetrWkstaUserSetInfo_unknown(tvb, offset, pinfo, tree, di, drep);
6940         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6941         offset = wkssvc_dissect_element_NetrWkstaUserSetInfo_level(tvb, offset, pinfo, tree, di, drep);
6942         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6943         offset = wkssvc_dissect_element_NetrWkstaUserSetInfo_info(tvb, offset, pinfo, tree, di, drep);
6944         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6945         offset = wkssvc_dissect_element_NetrWkstaUserSetInfo_parm_err(tvb, offset, pinfo, tree, di, drep);
6946         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6947         return offset;
6948 }
6949
6950 static int
6951 wkssvc_dissect_element_NetWkstaTransportEnum_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6952 {
6953         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaTransportEnum_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetWkstaTransportEnum_server_name);
6954
6955         return offset;
6956 }
6957
6958 static int
6959 wkssvc_dissect_element_NetWkstaTransportEnum_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6960 {
6961         char *data;
6962
6963         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetWkstaTransportEnum_server_name, FALSE, &data);
6964         proto_item_append_text(tree, ": %s", data);
6965
6966         return offset;
6967 }
6968
6969 static int
6970 wkssvc_dissect_element_NetWkstaTransportEnum_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6971 {
6972         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaTransportEnum_info_, NDR_POINTER_REF, "Pointer to Info (wkssvc_NetWkstaTransportInfo)",hf_wkssvc_wkssvc_NetWkstaTransportEnum_info);
6973
6974         return offset;
6975 }
6976
6977 static int
6978 wkssvc_dissect_element_NetWkstaTransportEnum_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6979 {
6980         offset = wkssvc_dissect_struct_NetWkstaTransportInfo(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetWkstaTransportEnum_info,0);
6981
6982         return offset;
6983 }
6984
6985 static int
6986 wkssvc_dissect_element_NetWkstaTransportEnum_max_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6987 {
6988         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaTransportEnum_max_buffer, 0);
6989
6990         return offset;
6991 }
6992
6993 static int
6994 wkssvc_dissect_element_NetWkstaTransportEnum_total_entries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
6995 {
6996         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaTransportEnum_total_entries_, NDR_POINTER_REF, "Pointer to Total Entries (uint32)",hf_wkssvc_wkssvc_NetWkstaTransportEnum_total_entries);
6997
6998         return offset;
6999 }
7000
7001 static int
7002 wkssvc_dissect_element_NetWkstaTransportEnum_total_entries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7003 {
7004         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaTransportEnum_total_entries, 0);
7005
7006         return offset;
7007 }
7008
7009 static int
7010 wkssvc_dissect_element_NetWkstaTransportEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7011 {
7012         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetWkstaTransportEnum_resume_handle_, NDR_POINTER_UNIQUE, "Pointer to Resume Handle (uint32)",hf_wkssvc_wkssvc_NetWkstaTransportEnum_resume_handle);
7013
7014         return offset;
7015 }
7016
7017 static int
7018 wkssvc_dissect_element_NetWkstaTransportEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7019 {
7020         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetWkstaTransportEnum_resume_handle, 0);
7021
7022         return offset;
7023 }
7024
7025 /* IDL: WERROR wkssvc_NetWkstaTransportEnum( */
7026 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
7027 /* IDL: [out] [in] [ref] wkssvc_NetWkstaTransportInfo *info, */
7028 /* IDL: [in] uint32 max_buffer, */
7029 /* IDL: [out] [ref] uint32 *total_entries, */
7030 /* IDL: [unique(1)] [out] [in] uint32 *resume_handle */
7031 /* IDL: ); */
7032
7033 static int
7034 wkssvc_dissect_NetWkstaTransportEnum_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7035 {
7036         guint32 status;
7037
7038         di->dcerpc_procedure_name="NetWkstaTransportEnum";
7039         offset = wkssvc_dissect_element_NetWkstaTransportEnum_info(tvb, offset, pinfo, tree, di, drep);
7040         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7041
7042         offset = wkssvc_dissect_element_NetWkstaTransportEnum_total_entries(tvb, offset, pinfo, tree, di, drep);
7043         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7044
7045         offset = wkssvc_dissect_element_NetWkstaTransportEnum_resume_handle(tvb, offset, pinfo, tree, di, drep);
7046         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7047
7048         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
7049
7050         if (status != 0)
7051                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7052
7053         return offset;
7054 }
7055
7056 static int
7057 wkssvc_dissect_NetWkstaTransportEnum_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7058 {
7059         di->dcerpc_procedure_name="NetWkstaTransportEnum";
7060         offset = wkssvc_dissect_element_NetWkstaTransportEnum_server_name(tvb, offset, pinfo, tree, di, drep);
7061         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7062         offset = wkssvc_dissect_element_NetWkstaTransportEnum_info(tvb, offset, pinfo, tree, di, drep);
7063         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7064         offset = wkssvc_dissect_element_NetWkstaTransportEnum_max_buffer(tvb, offset, pinfo, tree, di, drep);
7065         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7066         offset = wkssvc_dissect_element_NetWkstaTransportEnum_resume_handle(tvb, offset, pinfo, tree, di, drep);
7067         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7068         return offset;
7069 }
7070
7071 static int
7072 wkssvc_dissect_element_NetrWkstaTransportAdd_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7073 {
7074         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWkstaTransportAdd_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrWkstaTransportAdd_server_name);
7075
7076         return offset;
7077 }
7078
7079 static int
7080 wkssvc_dissect_element_NetrWkstaTransportAdd_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7081 {
7082         char *data;
7083
7084         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaTransportAdd_server_name, FALSE, &data);
7085         proto_item_append_text(tree, ": %s", data);
7086
7087         return offset;
7088 }
7089
7090 static int
7091 wkssvc_dissect_element_NetrWkstaTransportAdd_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7092 {
7093         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWkstaTransportAdd_level, 0);
7094
7095         return offset;
7096 }
7097
7098 static int
7099 wkssvc_dissect_element_NetrWkstaTransportAdd_info0(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7100 {
7101         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWkstaTransportAdd_info0_, NDR_POINTER_REF, "Pointer to Info0 (wkssvc_NetWkstaTransportInfo0)",hf_wkssvc_wkssvc_NetrWkstaTransportAdd_info0);
7102
7103         return offset;
7104 }
7105
7106 static int
7107 wkssvc_dissect_element_NetrWkstaTransportAdd_info0_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7108 {
7109         offset = wkssvc_dissect_struct_NetWkstaTransportInfo0(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrWkstaTransportAdd_info0,0);
7110
7111         return offset;
7112 }
7113
7114 static int
7115 wkssvc_dissect_element_NetrWkstaTransportAdd_parm_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7116 {
7117         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWkstaTransportAdd_parm_err_, NDR_POINTER_UNIQUE, "Pointer to Parm Err (uint32)",hf_wkssvc_wkssvc_NetrWkstaTransportAdd_parm_err);
7118
7119         return offset;
7120 }
7121
7122 static int
7123 wkssvc_dissect_element_NetrWkstaTransportAdd_parm_err_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7124 {
7125         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWkstaTransportAdd_parm_err, 0);
7126
7127         return offset;
7128 }
7129
7130 /* IDL: WERROR wkssvc_NetrWkstaTransportAdd( */
7131 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
7132 /* IDL: [in] uint32 level, */
7133 /* IDL: [in] [ref] wkssvc_NetWkstaTransportInfo0 *info0, */
7134 /* IDL: [unique(1)] [out] [in] uint32 *parm_err */
7135 /* IDL: ); */
7136
7137 static int
7138 wkssvc_dissect_NetrWkstaTransportAdd_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7139 {
7140         guint32 status;
7141
7142         di->dcerpc_procedure_name="NetrWkstaTransportAdd";
7143         offset = wkssvc_dissect_element_NetrWkstaTransportAdd_parm_err(tvb, offset, pinfo, tree, di, drep);
7144         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7145
7146         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
7147
7148         if (status != 0)
7149                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7150
7151         return offset;
7152 }
7153
7154 static int
7155 wkssvc_dissect_NetrWkstaTransportAdd_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7156 {
7157         di->dcerpc_procedure_name="NetrWkstaTransportAdd";
7158         offset = wkssvc_dissect_element_NetrWkstaTransportAdd_server_name(tvb, offset, pinfo, tree, di, drep);
7159         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7160         offset = wkssvc_dissect_element_NetrWkstaTransportAdd_level(tvb, offset, pinfo, tree, di, drep);
7161         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7162         offset = wkssvc_dissect_element_NetrWkstaTransportAdd_info0(tvb, offset, pinfo, tree, di, drep);
7163         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7164         offset = wkssvc_dissect_element_NetrWkstaTransportAdd_parm_err(tvb, offset, pinfo, tree, di, drep);
7165         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7166         return offset;
7167 }
7168
7169 static int
7170 wkssvc_dissect_element_NetrWkstaTransportDel_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7171 {
7172         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWkstaTransportDel_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrWkstaTransportDel_server_name);
7173
7174         return offset;
7175 }
7176
7177 static int
7178 wkssvc_dissect_element_NetrWkstaTransportDel_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7179 {
7180         char *data;
7181
7182         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaTransportDel_server_name, FALSE, &data);
7183         proto_item_append_text(tree, ": %s", data);
7184
7185         return offset;
7186 }
7187
7188 static int
7189 wkssvc_dissect_element_NetrWkstaTransportDel_transport_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7190 {
7191         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWkstaTransportDel_transport_name_, NDR_POINTER_UNIQUE, "Pointer to Transport Name (uint16)",hf_wkssvc_wkssvc_NetrWkstaTransportDel_transport_name);
7192
7193         return offset;
7194 }
7195
7196 static int
7197 wkssvc_dissect_element_NetrWkstaTransportDel_transport_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7198 {
7199         char *data;
7200
7201         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWkstaTransportDel_transport_name, FALSE, &data);
7202         proto_item_append_text(tree, ": %s", data);
7203
7204         return offset;
7205 }
7206
7207 static int
7208 wkssvc_dissect_element_NetrWkstaTransportDel_unknown3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7209 {
7210         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWkstaTransportDel_unknown3, 0);
7211
7212         return offset;
7213 }
7214
7215 /* IDL: WERROR wkssvc_NetrWkstaTransportDel( */
7216 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
7217 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *transport_name, */
7218 /* IDL: [in] uint32 unknown3 */
7219 /* IDL: ); */
7220
7221 static int
7222 wkssvc_dissect_NetrWkstaTransportDel_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7223 {
7224         guint32 status;
7225
7226         di->dcerpc_procedure_name="NetrWkstaTransportDel";
7227         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
7228
7229         if (status != 0)
7230                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7231
7232         return offset;
7233 }
7234
7235 static int
7236 wkssvc_dissect_NetrWkstaTransportDel_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7237 {
7238         di->dcerpc_procedure_name="NetrWkstaTransportDel";
7239         offset = wkssvc_dissect_element_NetrWkstaTransportDel_server_name(tvb, offset, pinfo, tree, di, drep);
7240         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7241         offset = wkssvc_dissect_element_NetrWkstaTransportDel_transport_name(tvb, offset, pinfo, tree, di, drep);
7242         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7243         offset = wkssvc_dissect_element_NetrWkstaTransportDel_unknown3(tvb, offset, pinfo, tree, di, drep);
7244         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7245         return offset;
7246 }
7247
7248 static int
7249 wkssvc_dissect_element_NetrUseAdd_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7250 {
7251         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseAdd_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrUseAdd_server_name);
7252
7253         return offset;
7254 }
7255
7256 static int
7257 wkssvc_dissect_element_NetrUseAdd_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7258 {
7259         char *data;
7260
7261         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseAdd_server_name, FALSE, &data);
7262         proto_item_append_text(tree, ": %s", data);
7263
7264         return offset;
7265 }
7266
7267 static int
7268 wkssvc_dissect_element_NetrUseAdd_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7269 {
7270         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseAdd_level, 0);
7271
7272         return offset;
7273 }
7274
7275 static int
7276 wkssvc_dissect_element_NetrUseAdd_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7277 {
7278         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseAdd_ctr_, NDR_POINTER_REF, "Pointer to Ctr (wkssvc_NetrUseGetInfoCtr)",hf_wkssvc_wkssvc_NetrUseAdd_ctr);
7279
7280         return offset;
7281 }
7282
7283 static int
7284 wkssvc_dissect_element_NetrUseAdd_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7285 {
7286         offset = wkssvc_dissect_NetrUseGetInfoCtr(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseAdd_ctr, 0);
7287
7288         return offset;
7289 }
7290
7291 static int
7292 wkssvc_dissect_element_NetrUseAdd_parm_err(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7293 {
7294         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseAdd_parm_err_, NDR_POINTER_UNIQUE, "Pointer to Parm Err (uint32)",hf_wkssvc_wkssvc_NetrUseAdd_parm_err);
7295
7296         return offset;
7297 }
7298
7299 static int
7300 wkssvc_dissect_element_NetrUseAdd_parm_err_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7301 {
7302         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseAdd_parm_err, 0);
7303
7304         return offset;
7305 }
7306
7307 /* IDL: WERROR wkssvc_NetrUseAdd( */
7308 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
7309 /* IDL: [in] uint32 level, */
7310 /* IDL: [ref] [in] [switch_is(level)] wkssvc_NetrUseGetInfoCtr *ctr, */
7311 /* IDL: [unique(1)] [out] [in] uint32 *parm_err */
7312 /* IDL: ); */
7313
7314 static int
7315 wkssvc_dissect_NetrUseAdd_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7316 {
7317         guint32 status;
7318
7319         di->dcerpc_procedure_name="NetrUseAdd";
7320         offset = wkssvc_dissect_element_NetrUseAdd_parm_err(tvb, offset, pinfo, tree, di, drep);
7321         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7322
7323         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
7324
7325         if (status != 0)
7326                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7327
7328         return offset;
7329 }
7330
7331 static int
7332 wkssvc_dissect_NetrUseAdd_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7333 {
7334         di->dcerpc_procedure_name="NetrUseAdd";
7335         offset = wkssvc_dissect_element_NetrUseAdd_server_name(tvb, offset, pinfo, tree, di, drep);
7336         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7337         offset = wkssvc_dissect_element_NetrUseAdd_level(tvb, offset, pinfo, tree, di, drep);
7338         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7339         offset = wkssvc_dissect_element_NetrUseAdd_ctr(tvb, offset, pinfo, tree, di, drep);
7340         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7341         offset = wkssvc_dissect_element_NetrUseAdd_parm_err(tvb, offset, pinfo, tree, di, drep);
7342         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7343         return offset;
7344 }
7345
7346 static int
7347 wkssvc_dissect_element_NetrUseGetInfo_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7348 {
7349         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseGetInfo_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrUseGetInfo_server_name);
7350
7351         return offset;
7352 }
7353
7354 static int
7355 wkssvc_dissect_element_NetrUseGetInfo_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7356 {
7357         char *data;
7358
7359         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseGetInfo_server_name, FALSE, &data);
7360         proto_item_append_text(tree, ": %s", data);
7361
7362         return offset;
7363 }
7364
7365 static int
7366 wkssvc_dissect_element_NetrUseGetInfo_use_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7367 {
7368         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseGetInfo_use_name_, NDR_POINTER_REF, "Pointer to Use Name (uint16)",hf_wkssvc_wkssvc_NetrUseGetInfo_use_name);
7369
7370         return offset;
7371 }
7372
7373 static int
7374 wkssvc_dissect_element_NetrUseGetInfo_use_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7375 {
7376         char *data;
7377
7378         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseGetInfo_use_name, FALSE, &data);
7379         proto_item_append_text(tree, ": %s", data);
7380
7381         return offset;
7382 }
7383
7384 static int
7385 wkssvc_dissect_element_NetrUseGetInfo_level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7386 {
7387         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseGetInfo_level, 0);
7388
7389         return offset;
7390 }
7391
7392 static int
7393 wkssvc_dissect_element_NetrUseGetInfo_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7394 {
7395         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseGetInfo_ctr_, NDR_POINTER_REF, "Pointer to Ctr (wkssvc_NetrUseGetInfoCtr)",hf_wkssvc_wkssvc_NetrUseGetInfo_ctr);
7396
7397         return offset;
7398 }
7399
7400 static int
7401 wkssvc_dissect_element_NetrUseGetInfo_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7402 {
7403         offset = wkssvc_dissect_NetrUseGetInfoCtr(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseGetInfo_ctr, 0);
7404
7405         return offset;
7406 }
7407
7408 /* IDL: WERROR wkssvc_NetrUseGetInfo( */
7409 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
7410 /* IDL: [ref] [in] [charset(UTF16)] uint16 *use_name, */
7411 /* IDL: [in] uint32 level, */
7412 /* IDL: [out] [ref] [switch_is(level)] wkssvc_NetrUseGetInfoCtr *ctr */
7413 /* IDL: ); */
7414
7415 static int
7416 wkssvc_dissect_NetrUseGetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7417 {
7418         guint32 status;
7419
7420         di->dcerpc_procedure_name="NetrUseGetInfo";
7421         offset = wkssvc_dissect_element_NetrUseGetInfo_ctr(tvb, offset, pinfo, tree, di, drep);
7422         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7423
7424         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
7425
7426         if (status != 0)
7427                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7428
7429         return offset;
7430 }
7431
7432 static int
7433 wkssvc_dissect_NetrUseGetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7434 {
7435         di->dcerpc_procedure_name="NetrUseGetInfo";
7436         offset = wkssvc_dissect_element_NetrUseGetInfo_server_name(tvb, offset, pinfo, tree, di, drep);
7437         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7438         offset = wkssvc_dissect_element_NetrUseGetInfo_use_name(tvb, offset, pinfo, tree, di, drep);
7439         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7440         offset = wkssvc_dissect_element_NetrUseGetInfo_level(tvb, offset, pinfo, tree, di, drep);
7441         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7442         return offset;
7443 }
7444
7445 static int
7446 wkssvc_dissect_element_NetrUseDel_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7447 {
7448         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseDel_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrUseDel_server_name);
7449
7450         return offset;
7451 }
7452
7453 static int
7454 wkssvc_dissect_element_NetrUseDel_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7455 {
7456         char *data;
7457
7458         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseDel_server_name, FALSE, &data);
7459         proto_item_append_text(tree, ": %s", data);
7460
7461         return offset;
7462 }
7463
7464 static int
7465 wkssvc_dissect_element_NetrUseDel_use_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7466 {
7467         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseDel_use_name_, NDR_POINTER_REF, "Pointer to Use Name (uint16)",hf_wkssvc_wkssvc_NetrUseDel_use_name);
7468
7469         return offset;
7470 }
7471
7472 static int
7473 wkssvc_dissect_element_NetrUseDel_use_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7474 {
7475         char *data;
7476
7477         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseDel_use_name, FALSE, &data);
7478         proto_item_append_text(tree, ": %s", data);
7479
7480         return offset;
7481 }
7482
7483 static int
7484 wkssvc_dissect_element_NetrUseDel_force_cond(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7485 {
7486         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseDel_force_cond, 0);
7487
7488         return offset;
7489 }
7490
7491 /* IDL: WERROR wkssvc_NetrUseDel( */
7492 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
7493 /* IDL: [ref] [in] [charset(UTF16)] uint16 *use_name, */
7494 /* IDL: [in] uint32 force_cond */
7495 /* IDL: ); */
7496
7497 static int
7498 wkssvc_dissect_NetrUseDel_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7499 {
7500         guint32 status;
7501
7502         di->dcerpc_procedure_name="NetrUseDel";
7503         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
7504
7505         if (status != 0)
7506                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7507
7508         return offset;
7509 }
7510
7511 static int
7512 wkssvc_dissect_NetrUseDel_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7513 {
7514         di->dcerpc_procedure_name="NetrUseDel";
7515         offset = wkssvc_dissect_element_NetrUseDel_server_name(tvb, offset, pinfo, tree, di, drep);
7516         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7517         offset = wkssvc_dissect_element_NetrUseDel_use_name(tvb, offset, pinfo, tree, di, drep);
7518         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7519         offset = wkssvc_dissect_element_NetrUseDel_force_cond(tvb, offset, pinfo, tree, di, drep);
7520         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7521         return offset;
7522 }
7523
7524 static int
7525 wkssvc_dissect_element_NetrUseEnum_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7526 {
7527         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseEnum_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrUseEnum_server_name);
7528
7529         return offset;
7530 }
7531
7532 static int
7533 wkssvc_dissect_element_NetrUseEnum_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7534 {
7535         char *data;
7536
7537         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUseEnum_server_name, FALSE, &data);
7538         proto_item_append_text(tree, ": %s", data);
7539
7540         return offset;
7541 }
7542
7543 static int
7544 wkssvc_dissect_element_NetrUseEnum_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7545 {
7546         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseEnum_info_, NDR_POINTER_REF, "Pointer to Info (wkssvc_NetrUseEnumInfo)",hf_wkssvc_wkssvc_NetrUseEnum_info);
7547
7548         return offset;
7549 }
7550
7551 static int
7552 wkssvc_dissect_element_NetrUseEnum_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7553 {
7554         offset = wkssvc_dissect_struct_NetrUseEnumInfo(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrUseEnum_info,0);
7555
7556         return offset;
7557 }
7558
7559 static int
7560 wkssvc_dissect_element_NetrUseEnum_prefmaxlen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7561 {
7562         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseEnum_prefmaxlen, 0);
7563
7564         return offset;
7565 }
7566
7567 static int
7568 wkssvc_dissect_element_NetrUseEnum_entries_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7569 {
7570         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseEnum_entries_read_, NDR_POINTER_REF, "Pointer to Entries Read (uint32)",hf_wkssvc_wkssvc_NetrUseEnum_entries_read);
7571
7572         return offset;
7573 }
7574
7575 static int
7576 wkssvc_dissect_element_NetrUseEnum_entries_read_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7577 {
7578         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseEnum_entries_read, 0);
7579
7580         return offset;
7581 }
7582
7583 static int
7584 wkssvc_dissect_element_NetrUseEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7585 {
7586         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUseEnum_resume_handle_, NDR_POINTER_UNIQUE, "Pointer to Resume Handle (uint32)",hf_wkssvc_wkssvc_NetrUseEnum_resume_handle);
7587
7588         return offset;
7589 }
7590
7591 static int
7592 wkssvc_dissect_element_NetrUseEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7593 {
7594         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUseEnum_resume_handle, 0);
7595
7596         return offset;
7597 }
7598
7599 /* IDL: WERROR wkssvc_NetrUseEnum( */
7600 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
7601 /* IDL: [out] [in] [ref] wkssvc_NetrUseEnumInfo *info, */
7602 /* IDL: [in] uint32 prefmaxlen, */
7603 /* IDL: [out] [ref] uint32 *entries_read, */
7604 /* IDL: [unique(1)] [out] [in] uint32 *resume_handle */
7605 /* IDL: ); */
7606
7607 static int
7608 wkssvc_dissect_NetrUseEnum_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7609 {
7610         guint32 status;
7611
7612         di->dcerpc_procedure_name="NetrUseEnum";
7613         offset = wkssvc_dissect_element_NetrUseEnum_info(tvb, offset, pinfo, tree, di, drep);
7614         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7615
7616         offset = wkssvc_dissect_element_NetrUseEnum_entries_read(tvb, offset, pinfo, tree, di, drep);
7617         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7618
7619         offset = wkssvc_dissect_element_NetrUseEnum_resume_handle(tvb, offset, pinfo, tree, di, drep);
7620         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7621
7622         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
7623
7624         if (status != 0)
7625                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7626
7627         return offset;
7628 }
7629
7630 static int
7631 wkssvc_dissect_NetrUseEnum_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7632 {
7633         di->dcerpc_procedure_name="NetrUseEnum";
7634         offset = wkssvc_dissect_element_NetrUseEnum_server_name(tvb, offset, pinfo, tree, di, drep);
7635         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7636         offset = wkssvc_dissect_element_NetrUseEnum_info(tvb, offset, pinfo, tree, di, drep);
7637         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7638         offset = wkssvc_dissect_element_NetrUseEnum_prefmaxlen(tvb, offset, pinfo, tree, di, drep);
7639         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7640         offset = wkssvc_dissect_element_NetrUseEnum_resume_handle(tvb, offset, pinfo, tree, di, drep);
7641         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7642         return offset;
7643 }
7644
7645 static int
7646 wkssvc_dissect_element_NetrMessageBufferSend_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7647 {
7648         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrMessageBufferSend_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrMessageBufferSend_server_name);
7649
7650         return offset;
7651 }
7652
7653 static int
7654 wkssvc_dissect_element_NetrMessageBufferSend_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7655 {
7656         char *data;
7657
7658         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrMessageBufferSend_server_name, FALSE, &data);
7659         proto_item_append_text(tree, ": %s", data);
7660
7661         return offset;
7662 }
7663
7664 static int
7665 wkssvc_dissect_element_NetrMessageBufferSend_message_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7666 {
7667         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrMessageBufferSend_message_name_, NDR_POINTER_REF, "Pointer to Message Name (uint16)",hf_wkssvc_wkssvc_NetrMessageBufferSend_message_name);
7668
7669         return offset;
7670 }
7671
7672 static int
7673 wkssvc_dissect_element_NetrMessageBufferSend_message_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7674 {
7675         char *data;
7676
7677         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrMessageBufferSend_message_name, FALSE, &data);
7678         proto_item_append_text(tree, ": %s", data);
7679
7680         return offset;
7681 }
7682
7683 static int
7684 wkssvc_dissect_element_NetrMessageBufferSend_message_sender_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7685 {
7686         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrMessageBufferSend_message_sender_name_, NDR_POINTER_UNIQUE, "Pointer to Message Sender Name (uint16)",hf_wkssvc_wkssvc_NetrMessageBufferSend_message_sender_name);
7687
7688         return offset;
7689 }
7690
7691 static int
7692 wkssvc_dissect_element_NetrMessageBufferSend_message_sender_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7693 {
7694         char *data;
7695
7696         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrMessageBufferSend_message_sender_name, FALSE, &data);
7697         proto_item_append_text(tree, ": %s", data);
7698
7699         return offset;
7700 }
7701
7702 static int
7703 wkssvc_dissect_element_NetrMessageBufferSend_message_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7704 {
7705         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrMessageBufferSend_message_buffer_, NDR_POINTER_REF, "Pointer to Message Buffer (uint8)",hf_wkssvc_wkssvc_NetrMessageBufferSend_message_buffer);
7706
7707         return offset;
7708 }
7709
7710 static int
7711 wkssvc_dissect_element_NetrMessageBufferSend_message_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7712 {
7713         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrMessageBufferSend_message_buffer__);
7714
7715         return offset;
7716 }
7717
7718 static int
7719 wkssvc_dissect_element_NetrMessageBufferSend_message_buffer__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7720 {
7721         offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrMessageBufferSend_message_buffer, 0);
7722
7723         return offset;
7724 }
7725
7726 static int
7727 wkssvc_dissect_element_NetrMessageBufferSend_message_size(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7728 {
7729         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrMessageBufferSend_message_size, 0);
7730
7731         return offset;
7732 }
7733
7734 /* IDL: WERROR wkssvc_NetrMessageBufferSend( */
7735 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
7736 /* IDL: [ref] [in] [charset(UTF16)] uint16 *message_name, */
7737 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *message_sender_name, */
7738 /* IDL: [ref] [in] [size_is(message_size)] uint8 *message_buffer, */
7739 /* IDL: [in] uint32 message_size */
7740 /* IDL: ); */
7741
7742 static int
7743 wkssvc_dissect_NetrMessageBufferSend_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7744 {
7745         guint32 status;
7746
7747         di->dcerpc_procedure_name="NetrMessageBufferSend";
7748         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
7749
7750         if (status != 0)
7751                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7752
7753         return offset;
7754 }
7755
7756 static int
7757 wkssvc_dissect_NetrMessageBufferSend_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7758 {
7759         di->dcerpc_procedure_name="NetrMessageBufferSend";
7760         offset = wkssvc_dissect_element_NetrMessageBufferSend_server_name(tvb, offset, pinfo, tree, di, drep);
7761         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7762         offset = wkssvc_dissect_element_NetrMessageBufferSend_message_name(tvb, offset, pinfo, tree, di, drep);
7763         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7764         offset = wkssvc_dissect_element_NetrMessageBufferSend_message_sender_name(tvb, offset, pinfo, tree, di, drep);
7765         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7766         offset = wkssvc_dissect_element_NetrMessageBufferSend_message_buffer(tvb, offset, pinfo, tree, di, drep);
7767         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7768         offset = wkssvc_dissect_element_NetrMessageBufferSend_message_size(tvb, offset, pinfo, tree, di, drep);
7769         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7770         return offset;
7771 }
7772
7773 static int
7774 wkssvc_dissect_element_NetrWorkstationStatisticsGet_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7775 {
7776         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWorkstationStatisticsGet_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_server_name);
7777
7778         return offset;
7779 }
7780
7781 static int
7782 wkssvc_dissect_element_NetrWorkstationStatisticsGet_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7783 {
7784         char *data;
7785
7786         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_server_name, FALSE, &data);
7787         proto_item_append_text(tree, ": %s", data);
7788
7789         return offset;
7790 }
7791
7792 static int
7793 wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7794 {
7795         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown2_, NDR_POINTER_UNIQUE, "Pointer to Unknown2 (uint16)",hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_unknown2);
7796
7797         return offset;
7798 }
7799
7800 static int
7801 wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7802 {
7803         char *data;
7804
7805         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_unknown2, FALSE, &data);
7806         proto_item_append_text(tree, ": %s", data);
7807
7808         return offset;
7809 }
7810
7811 static int
7812 wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7813 {
7814         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_unknown3, 0);
7815
7816         return offset;
7817 }
7818
7819 static int
7820 wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7821 {
7822         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_unknown4, 0);
7823
7824         return offset;
7825 }
7826
7827 static int
7828 wkssvc_dissect_element_NetrWorkstationStatisticsGet_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7829 {
7830         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWorkstationStatisticsGet_info_, NDR_POINTER_REF, "Pointer to Info (wkssvc_NetrWorkstationStatistics)",hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_info);
7831
7832         return offset;
7833 }
7834
7835 static int
7836 wkssvc_dissect_element_NetrWorkstationStatisticsGet_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7837 {
7838         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrWorkstationStatisticsGet_info__, NDR_POINTER_REF, "Pointer to Info (wkssvc_NetrWorkstationStatistics)",hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_info);
7839
7840         return offset;
7841 }
7842
7843 static int
7844 wkssvc_dissect_element_NetrWorkstationStatisticsGet_info__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7845 {
7846         offset = wkssvc_dissect_struct_NetrWorkstationStatistics(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_info,0);
7847
7848         return offset;
7849 }
7850
7851 /* IDL: WERROR wkssvc_NetrWorkstationStatisticsGet( */
7852 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
7853 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *unknown2, */
7854 /* IDL: [in] uint32 unknown3, */
7855 /* IDL: [in] uint32 unknown4, */
7856 /* IDL: [out] [ref] wkssvc_NetrWorkstationStatistics **info */
7857 /* IDL: ); */
7858
7859 static int
7860 wkssvc_dissect_NetrWorkstationStatisticsGet_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7861 {
7862         guint32 status;
7863
7864         di->dcerpc_procedure_name="NetrWorkstationStatisticsGet";
7865         offset = wkssvc_dissect_element_NetrWorkstationStatisticsGet_info(tvb, offset, pinfo, tree, di, drep);
7866         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7867
7868         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
7869
7870         if (status != 0)
7871                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7872
7873         return offset;
7874 }
7875
7876 static int
7877 wkssvc_dissect_NetrWorkstationStatisticsGet_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7878 {
7879         di->dcerpc_procedure_name="NetrWorkstationStatisticsGet";
7880         offset = wkssvc_dissect_element_NetrWorkstationStatisticsGet_server_name(tvb, offset, pinfo, tree, di, drep);
7881         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7882         offset = wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown2(tvb, offset, pinfo, tree, di, drep);
7883         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7884         offset = wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown3(tvb, offset, pinfo, tree, di, drep);
7885         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7886         offset = wkssvc_dissect_element_NetrWorkstationStatisticsGet_unknown4(tvb, offset, pinfo, tree, di, drep);
7887         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7888         return offset;
7889 }
7890
7891 static int
7892 wkssvc_dissect_element_NetrLogonDomainNameAdd_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7893 {
7894         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrLogonDomainNameAdd_domain_name_, NDR_POINTER_REF, "Pointer to Domain Name (uint16)",hf_wkssvc_wkssvc_NetrLogonDomainNameAdd_domain_name);
7895
7896         return offset;
7897 }
7898
7899 static int
7900 wkssvc_dissect_element_NetrLogonDomainNameAdd_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7901 {
7902         char *data;
7903
7904         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrLogonDomainNameAdd_domain_name, FALSE, &data);
7905         proto_item_append_text(tree, ": %s", data);
7906
7907         return offset;
7908 }
7909
7910 /* IDL: WERROR wkssvc_NetrLogonDomainNameAdd( */
7911 /* IDL: [ref] [in] [charset(UTF16)] uint16 *domain_name */
7912 /* IDL: ); */
7913
7914 static int
7915 wkssvc_dissect_NetrLogonDomainNameAdd_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7916 {
7917         guint32 status;
7918
7919         di->dcerpc_procedure_name="NetrLogonDomainNameAdd";
7920         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
7921
7922         if (status != 0)
7923                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7924
7925         return offset;
7926 }
7927
7928 static int
7929 wkssvc_dissect_NetrLogonDomainNameAdd_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7930 {
7931         di->dcerpc_procedure_name="NetrLogonDomainNameAdd";
7932         offset = wkssvc_dissect_element_NetrLogonDomainNameAdd_domain_name(tvb, offset, pinfo, tree, di, drep);
7933         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7934         return offset;
7935 }
7936
7937 static int
7938 wkssvc_dissect_element_NetrLogonDomainNameDel_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7939 {
7940         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrLogonDomainNameDel_domain_name_, NDR_POINTER_REF, "Pointer to Domain Name (uint16)",hf_wkssvc_wkssvc_NetrLogonDomainNameDel_domain_name);
7941
7942         return offset;
7943 }
7944
7945 static int
7946 wkssvc_dissect_element_NetrLogonDomainNameDel_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7947 {
7948         char *data;
7949
7950         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrLogonDomainNameDel_domain_name, FALSE, &data);
7951         proto_item_append_text(tree, ": %s", data);
7952
7953         return offset;
7954 }
7955
7956 /* IDL: WERROR wkssvc_NetrLogonDomainNameDel( */
7957 /* IDL: [ref] [in] [charset(UTF16)] uint16 *domain_name */
7958 /* IDL: ); */
7959
7960 static int
7961 wkssvc_dissect_NetrLogonDomainNameDel_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7962 {
7963         guint32 status;
7964
7965         di->dcerpc_procedure_name="NetrLogonDomainNameDel";
7966         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
7967
7968         if (status != 0)
7969                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
7970
7971         return offset;
7972 }
7973
7974 static int
7975 wkssvc_dissect_NetrLogonDomainNameDel_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7976 {
7977         di->dcerpc_procedure_name="NetrLogonDomainNameDel";
7978         offset = wkssvc_dissect_element_NetrLogonDomainNameDel_domain_name(tvb, offset, pinfo, tree, di, drep);
7979         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7980         return offset;
7981 }
7982
7983 static int
7984 wkssvc_dissect_element_NetrJoinDomain_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7985 {
7986         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrJoinDomain_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrJoinDomain_server_name);
7987
7988         return offset;
7989 }
7990
7991 static int
7992 wkssvc_dissect_element_NetrJoinDomain_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
7993 {
7994         char *data;
7995
7996         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrJoinDomain_server_name, FALSE, &data);
7997         proto_item_append_text(tree, ": %s", data);
7998
7999         return offset;
8000 }
8001
8002 static int
8003 wkssvc_dissect_element_NetrJoinDomain_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8004 {
8005         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrJoinDomain_domain_name_, NDR_POINTER_REF, "Pointer to Domain Name (uint16)",hf_wkssvc_wkssvc_NetrJoinDomain_domain_name);
8006
8007         return offset;
8008 }
8009
8010 static int
8011 wkssvc_dissect_element_NetrJoinDomain_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8012 {
8013         char *data;
8014
8015         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrJoinDomain_domain_name, FALSE, &data);
8016         proto_item_append_text(tree, ": %s", data);
8017
8018         return offset;
8019 }
8020
8021 static int
8022 wkssvc_dissect_element_NetrJoinDomain_account_ou(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8023 {
8024         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrJoinDomain_account_ou_, NDR_POINTER_UNIQUE, "Pointer to Account Ou (uint16)",hf_wkssvc_wkssvc_NetrJoinDomain_account_ou);
8025
8026         return offset;
8027 }
8028
8029 static int
8030 wkssvc_dissect_element_NetrJoinDomain_account_ou_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8031 {
8032         char *data;
8033
8034         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrJoinDomain_account_ou, FALSE, &data);
8035         proto_item_append_text(tree, ": %s", data);
8036
8037         return offset;
8038 }
8039
8040 static int
8041 wkssvc_dissect_element_NetrJoinDomain_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8042 {
8043         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrJoinDomain_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrJoinDomain_Account);
8044
8045         return offset;
8046 }
8047
8048 static int
8049 wkssvc_dissect_element_NetrJoinDomain_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8050 {
8051         char *data;
8052
8053         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrJoinDomain_Account, FALSE, &data);
8054         proto_item_append_text(tree, ": %s", data);
8055
8056         return offset;
8057 }
8058
8059 static int
8060 wkssvc_dissect_element_NetrJoinDomain_unknown(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8061 {
8062         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrJoinDomain_unknown_, NDR_POINTER_UNIQUE, "Pointer to Unknown (uint16)",hf_wkssvc_wkssvc_NetrJoinDomain_unknown);
8063
8064         return offset;
8065 }
8066
8067 static int
8068 wkssvc_dissect_element_NetrJoinDomain_unknown_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8069 {
8070         char *data;
8071
8072         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrJoinDomain_unknown, FALSE, &data);
8073         proto_item_append_text(tree, ": %s", data);
8074
8075         return offset;
8076 }
8077
8078 static int
8079 wkssvc_dissect_element_NetrJoinDomain_join_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8080 {
8081         offset = wkssvc_dissect_bitmap_joinflags(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrJoinDomain_join_flags, 0);
8082
8083         return offset;
8084 }
8085
8086 /* IDL: WERROR wkssvc_NetrJoinDomain( */
8087 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
8088 /* IDL: [ref] [in] [charset(UTF16)] uint16 *domain_name, */
8089 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *account_ou, */
8090 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
8091 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *unknown, */
8092 /* IDL: [in] wkssvc_joinflags join_flags */
8093 /* IDL: ); */
8094
8095 static int
8096 wkssvc_dissect_NetrJoinDomain_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8097 {
8098         guint32 status;
8099
8100         di->dcerpc_procedure_name="NetrJoinDomain";
8101         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
8102
8103         if (status != 0)
8104                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
8105
8106         return offset;
8107 }
8108
8109 static int
8110 wkssvc_dissect_NetrJoinDomain_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8111 {
8112         di->dcerpc_procedure_name="NetrJoinDomain";
8113         offset = wkssvc_dissect_element_NetrJoinDomain_server_name(tvb, offset, pinfo, tree, di, drep);
8114         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8115         offset = wkssvc_dissect_element_NetrJoinDomain_domain_name(tvb, offset, pinfo, tree, di, drep);
8116         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8117         offset = wkssvc_dissect_element_NetrJoinDomain_account_ou(tvb, offset, pinfo, tree, di, drep);
8118         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8119         offset = wkssvc_dissect_element_NetrJoinDomain_Account(tvb, offset, pinfo, tree, di, drep);
8120         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8121         offset = wkssvc_dissect_element_NetrJoinDomain_unknown(tvb, offset, pinfo, tree, di, drep);
8122         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8123         offset = wkssvc_dissect_element_NetrJoinDomain_join_flags(tvb, offset, pinfo, tree, di, drep);
8124         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8125         return offset;
8126 }
8127
8128 static int
8129 wkssvc_dissect_element_NetrUnjoinDomain_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8130 {
8131         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUnjoinDomain_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrUnjoinDomain_server_name);
8132
8133         return offset;
8134 }
8135
8136 static int
8137 wkssvc_dissect_element_NetrUnjoinDomain_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8138 {
8139         char *data;
8140
8141         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUnjoinDomain_server_name, FALSE, &data);
8142         proto_item_append_text(tree, ": %s", data);
8143
8144         return offset;
8145 }
8146
8147 static int
8148 wkssvc_dissect_element_NetrUnjoinDomain_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8149 {
8150         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUnjoinDomain_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrUnjoinDomain_Account);
8151
8152         return offset;
8153 }
8154
8155 static int
8156 wkssvc_dissect_element_NetrUnjoinDomain_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8157 {
8158         char *data;
8159
8160         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUnjoinDomain_Account, FALSE, &data);
8161         proto_item_append_text(tree, ": %s", data);
8162
8163         return offset;
8164 }
8165
8166 static int
8167 wkssvc_dissect_element_NetrUnjoinDomain_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8168 {
8169         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUnjoinDomain_password_, NDR_POINTER_UNIQUE, "Pointer to Password (uint16)",hf_wkssvc_wkssvc_NetrUnjoinDomain_password);
8170
8171         return offset;
8172 }
8173
8174 static int
8175 wkssvc_dissect_element_NetrUnjoinDomain_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8176 {
8177         char *data;
8178
8179         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUnjoinDomain_password, FALSE, &data);
8180         proto_item_append_text(tree, ": %s", data);
8181
8182         return offset;
8183 }
8184
8185 static int
8186 wkssvc_dissect_element_NetrUnjoinDomain_unjoin_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8187 {
8188         offset = wkssvc_dissect_bitmap_joinflags(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUnjoinDomain_unjoin_flags, 0);
8189
8190         return offset;
8191 }
8192
8193 /* IDL: WERROR wkssvc_NetrUnjoinDomain( */
8194 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
8195 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
8196 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *password, */
8197 /* IDL: [in] wkssvc_joinflags unjoin_flags */
8198 /* IDL: ); */
8199
8200 static int
8201 wkssvc_dissect_NetrUnjoinDomain_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8202 {
8203         guint32 status;
8204
8205         di->dcerpc_procedure_name="NetrUnjoinDomain";
8206         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
8207
8208         if (status != 0)
8209                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
8210
8211         return offset;
8212 }
8213
8214 static int
8215 wkssvc_dissect_NetrUnjoinDomain_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8216 {
8217         di->dcerpc_procedure_name="NetrUnjoinDomain";
8218         offset = wkssvc_dissect_element_NetrUnjoinDomain_server_name(tvb, offset, pinfo, tree, di, drep);
8219         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8220         offset = wkssvc_dissect_element_NetrUnjoinDomain_Account(tvb, offset, pinfo, tree, di, drep);
8221         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8222         offset = wkssvc_dissect_element_NetrUnjoinDomain_password(tvb, offset, pinfo, tree, di, drep);
8223         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8224         offset = wkssvc_dissect_element_NetrUnjoinDomain_unjoin_flags(tvb, offset, pinfo, tree, di, drep);
8225         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8226         return offset;
8227 }
8228
8229 static int
8230 wkssvc_dissect_element_NetrRenameMachineInDomain_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8231 {
8232         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrRenameMachineInDomain_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrRenameMachineInDomain_server_name);
8233
8234         return offset;
8235 }
8236
8237 static int
8238 wkssvc_dissect_element_NetrRenameMachineInDomain_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8239 {
8240         char *data;
8241
8242         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrRenameMachineInDomain_server_name, FALSE, &data);
8243         proto_item_append_text(tree, ": %s", data);
8244
8245         return offset;
8246 }
8247
8248 static int
8249 wkssvc_dissect_element_NetrRenameMachineInDomain_NewMachineName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8250 {
8251         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrRenameMachineInDomain_NewMachineName_, NDR_POINTER_UNIQUE, "Pointer to Newmachinename (uint16)",hf_wkssvc_wkssvc_NetrRenameMachineInDomain_NewMachineName);
8252
8253         return offset;
8254 }
8255
8256 static int
8257 wkssvc_dissect_element_NetrRenameMachineInDomain_NewMachineName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8258 {
8259         char *data;
8260
8261         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrRenameMachineInDomain_NewMachineName, FALSE, &data);
8262         proto_item_append_text(tree, ": %s", data);
8263
8264         return offset;
8265 }
8266
8267 static int
8268 wkssvc_dissect_element_NetrRenameMachineInDomain_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8269 {
8270         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrRenameMachineInDomain_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrRenameMachineInDomain_Account);
8271
8272         return offset;
8273 }
8274
8275 static int
8276 wkssvc_dissect_element_NetrRenameMachineInDomain_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8277 {
8278         char *data;
8279
8280         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrRenameMachineInDomain_Account, FALSE, &data);
8281         proto_item_append_text(tree, ": %s", data);
8282
8283         return offset;
8284 }
8285
8286 static int
8287 wkssvc_dissect_element_NetrRenameMachineInDomain_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8288 {
8289         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrRenameMachineInDomain_password_, NDR_POINTER_UNIQUE, "Pointer to Password (uint16)",hf_wkssvc_wkssvc_NetrRenameMachineInDomain_password);
8290
8291         return offset;
8292 }
8293
8294 static int
8295 wkssvc_dissect_element_NetrRenameMachineInDomain_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8296 {
8297         char *data;
8298
8299         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrRenameMachineInDomain_password, FALSE, &data);
8300         proto_item_append_text(tree, ": %s", data);
8301
8302         return offset;
8303 }
8304
8305 static int
8306 wkssvc_dissect_element_NetrRenameMachineInDomain_RenameOptions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8307 {
8308         offset = wkssvc_dissect_bitmap_renameflags(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrRenameMachineInDomain_RenameOptions, 0);
8309
8310         return offset;
8311 }
8312
8313 /* IDL: WERROR wkssvc_NetrRenameMachineInDomain( */
8314 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
8315 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *NewMachineName, */
8316 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
8317 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *password, */
8318 /* IDL: [in] wkssvc_renameflags RenameOptions */
8319 /* IDL: ); */
8320
8321 static int
8322 wkssvc_dissect_NetrRenameMachineInDomain_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8323 {
8324         guint32 status;
8325
8326         di->dcerpc_procedure_name="NetrRenameMachineInDomain";
8327         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
8328
8329         if (status != 0)
8330                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
8331
8332         return offset;
8333 }
8334
8335 static int
8336 wkssvc_dissect_NetrRenameMachineInDomain_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8337 {
8338         di->dcerpc_procedure_name="NetrRenameMachineInDomain";
8339         offset = wkssvc_dissect_element_NetrRenameMachineInDomain_server_name(tvb, offset, pinfo, tree, di, drep);
8340         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8341         offset = wkssvc_dissect_element_NetrRenameMachineInDomain_NewMachineName(tvb, offset, pinfo, tree, di, drep);
8342         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8343         offset = wkssvc_dissect_element_NetrRenameMachineInDomain_Account(tvb, offset, pinfo, tree, di, drep);
8344         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8345         offset = wkssvc_dissect_element_NetrRenameMachineInDomain_password(tvb, offset, pinfo, tree, di, drep);
8346         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8347         offset = wkssvc_dissect_element_NetrRenameMachineInDomain_RenameOptions(tvb, offset, pinfo, tree, di, drep);
8348         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8349         return offset;
8350 }
8351
8352 static int
8353 wkssvc_dissect_element_NetrValidateName_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8354 {
8355         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrValidateName_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrValidateName_server_name);
8356
8357         return offset;
8358 }
8359
8360 static int
8361 wkssvc_dissect_element_NetrValidateName_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8362 {
8363         char *data;
8364
8365         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrValidateName_server_name, FALSE, &data);
8366         proto_item_append_text(tree, ": %s", data);
8367
8368         return offset;
8369 }
8370
8371 static int
8372 wkssvc_dissect_element_NetrValidateName_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8373 {
8374         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrValidateName_name_, NDR_POINTER_REF, "Pointer to Name (uint16)",hf_wkssvc_wkssvc_NetrValidateName_name);
8375
8376         return offset;
8377 }
8378
8379 static int
8380 wkssvc_dissect_element_NetrValidateName_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8381 {
8382         char *data;
8383
8384         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrValidateName_name, FALSE, &data);
8385         proto_item_append_text(tree, ": %s", data);
8386
8387         return offset;
8388 }
8389
8390 static int
8391 wkssvc_dissect_element_NetrValidateName_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8392 {
8393         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrValidateName_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrValidateName_Account);
8394
8395         return offset;
8396 }
8397
8398 static int
8399 wkssvc_dissect_element_NetrValidateName_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8400 {
8401         char *data;
8402
8403         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrValidateName_Account, FALSE, &data);
8404         proto_item_append_text(tree, ": %s", data);
8405
8406         return offset;
8407 }
8408
8409 static int
8410 wkssvc_dissect_element_NetrValidateName_Password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8411 {
8412         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrValidateName_Password_, NDR_POINTER_UNIQUE, "Pointer to Password (uint16)",hf_wkssvc_wkssvc_NetrValidateName_Password);
8413
8414         return offset;
8415 }
8416
8417 static int
8418 wkssvc_dissect_element_NetrValidateName_Password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8419 {
8420         char *data;
8421
8422         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrValidateName_Password, FALSE, &data);
8423         proto_item_append_text(tree, ": %s", data);
8424
8425         return offset;
8426 }
8427
8428 static int
8429 wkssvc_dissect_element_NetrValidateName_name_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8430 {
8431         offset = wkssvc_dissect_enum_NetValidateNameType(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrValidateName_name_type, 0);
8432
8433         return offset;
8434 }
8435
8436 /* IDL: WERROR wkssvc_NetrValidateName( */
8437 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
8438 /* IDL: [ref] [in] [charset(UTF16)] uint16 *name, */
8439 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
8440 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Password, */
8441 /* IDL: [in] wkssvc_NetValidateNameType name_type */
8442 /* IDL: ); */
8443
8444 static int
8445 wkssvc_dissect_NetrValidateName_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8446 {
8447         guint32 status;
8448
8449         di->dcerpc_procedure_name="NetrValidateName";
8450         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
8451
8452         if (status != 0)
8453                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
8454
8455         return offset;
8456 }
8457
8458 static int
8459 wkssvc_dissect_NetrValidateName_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8460 {
8461         di->dcerpc_procedure_name="NetrValidateName";
8462         offset = wkssvc_dissect_element_NetrValidateName_server_name(tvb, offset, pinfo, tree, di, drep);
8463         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8464         offset = wkssvc_dissect_element_NetrValidateName_name(tvb, offset, pinfo, tree, di, drep);
8465         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8466         offset = wkssvc_dissect_element_NetrValidateName_Account(tvb, offset, pinfo, tree, di, drep);
8467         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8468         offset = wkssvc_dissect_element_NetrValidateName_Password(tvb, offset, pinfo, tree, di, drep);
8469         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8470         offset = wkssvc_dissect_element_NetrValidateName_name_type(tvb, offset, pinfo, tree, di, drep);
8471         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8472         return offset;
8473 }
8474
8475 static int
8476 wkssvc_dissect_element_NetrGetJoinInformation_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8477 {
8478         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinInformation_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrGetJoinInformation_server_name);
8479
8480         return offset;
8481 }
8482
8483 static int
8484 wkssvc_dissect_element_NetrGetJoinInformation_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8485 {
8486         char *data;
8487
8488         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinInformation_server_name, FALSE, &data);
8489         proto_item_append_text(tree, ": %s", data);
8490
8491         return offset;
8492 }
8493
8494 static int
8495 wkssvc_dissect_element_NetrGetJoinInformation_name_buffer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8496 {
8497         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinInformation_name_buffer_, NDR_POINTER_REF, "Pointer to Name Buffer (uint16)",hf_wkssvc_wkssvc_NetrGetJoinInformation_name_buffer);
8498
8499         return offset;
8500 }
8501
8502 static int
8503 wkssvc_dissect_element_NetrGetJoinInformation_name_buffer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8504 {
8505         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinInformation_name_buffer__, NDR_POINTER_REF, "Pointer to Name Buffer (uint16)",hf_wkssvc_wkssvc_NetrGetJoinInformation_name_buffer);
8506
8507         return offset;
8508 }
8509
8510 static int
8511 wkssvc_dissect_element_NetrGetJoinInformation_name_buffer__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8512 {
8513         char *data;
8514
8515         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinInformation_name_buffer, FALSE, &data);
8516         proto_item_append_text(tree, ": %s", data);
8517
8518         return offset;
8519 }
8520
8521 static int
8522 wkssvc_dissect_element_NetrGetJoinInformation_name_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8523 {
8524         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinInformation_name_type_, NDR_POINTER_REF, "Pointer to Name Type (wkssvc_NetJoinStatus)",hf_wkssvc_wkssvc_NetrGetJoinInformation_name_type);
8525
8526         return offset;
8527 }
8528
8529 static int
8530 wkssvc_dissect_element_NetrGetJoinInformation_name_type_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8531 {
8532         offset = wkssvc_dissect_enum_NetJoinStatus(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrGetJoinInformation_name_type, 0);
8533
8534         return offset;
8535 }
8536
8537 /* IDL: WERROR wkssvc_NetrGetJoinInformation( */
8538 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
8539 /* IDL: [out] [ref] [in] [charset(UTF16)] uint16 **name_buffer, */
8540 /* IDL: [out] [ref] wkssvc_NetJoinStatus *name_type */
8541 /* IDL: ); */
8542
8543 static int
8544 wkssvc_dissect_NetrGetJoinInformation_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8545 {
8546         guint32 status;
8547
8548         di->dcerpc_procedure_name="NetrGetJoinInformation";
8549         offset = wkssvc_dissect_element_NetrGetJoinInformation_name_buffer(tvb, offset, pinfo, tree, di, drep);
8550         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8551
8552         offset = wkssvc_dissect_element_NetrGetJoinInformation_name_type(tvb, offset, pinfo, tree, di, drep);
8553         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8554
8555         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
8556
8557         if (status != 0)
8558                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
8559
8560         return offset;
8561 }
8562
8563 static int
8564 wkssvc_dissect_NetrGetJoinInformation_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8565 {
8566         di->dcerpc_procedure_name="NetrGetJoinInformation";
8567         offset = wkssvc_dissect_element_NetrGetJoinInformation_server_name(tvb, offset, pinfo, tree, di, drep);
8568         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8569         offset = wkssvc_dissect_element_NetrGetJoinInformation_name_buffer(tvb, offset, pinfo, tree, di, drep);
8570         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8571         return offset;
8572 }
8573
8574 static int
8575 wkssvc_dissect_element_NetrGetJoinableOus_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8576 {
8577         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinableOus_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus_server_name);
8578
8579         return offset;
8580 }
8581
8582 static int
8583 wkssvc_dissect_element_NetrGetJoinableOus_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8584 {
8585         char *data;
8586
8587         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinableOus_server_name, FALSE, &data);
8588         proto_item_append_text(tree, ": %s", data);
8589
8590         return offset;
8591 }
8592
8593 static int
8594 wkssvc_dissect_element_NetrGetJoinableOus_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8595 {
8596         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinableOus_domain_name_, NDR_POINTER_REF, "Pointer to Domain Name (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus_domain_name);
8597
8598         return offset;
8599 }
8600
8601 static int
8602 wkssvc_dissect_element_NetrGetJoinableOus_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8603 {
8604         char *data;
8605
8606         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinableOus_domain_name, FALSE, &data);
8607         proto_item_append_text(tree, ": %s", data);
8608
8609         return offset;
8610 }
8611
8612 static int
8613 wkssvc_dissect_element_NetrGetJoinableOus_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8614 {
8615         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinableOus_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus_Account);
8616
8617         return offset;
8618 }
8619
8620 static int
8621 wkssvc_dissect_element_NetrGetJoinableOus_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8622 {
8623         char *data;
8624
8625         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinableOus_Account, FALSE, &data);
8626         proto_item_append_text(tree, ": %s", data);
8627
8628         return offset;
8629 }
8630
8631 static int
8632 wkssvc_dissect_element_NetrGetJoinableOus_unknown(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8633 {
8634         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinableOus_unknown_, NDR_POINTER_UNIQUE, "Pointer to Unknown (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus_unknown);
8635
8636         return offset;
8637 }
8638
8639 static int
8640 wkssvc_dissect_element_NetrGetJoinableOus_unknown_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8641 {
8642         char *data;
8643
8644         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinableOus_unknown, FALSE, &data);
8645         proto_item_append_text(tree, ": %s", data);
8646
8647         return offset;
8648 }
8649
8650 static int
8651 wkssvc_dissect_element_NetrGetJoinableOus_num_ous(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8652 {
8653         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinableOus_num_ous_, NDR_POINTER_REF, "Pointer to Num Ous (uint32)",hf_wkssvc_wkssvc_NetrGetJoinableOus_num_ous);
8654
8655         return offset;
8656 }
8657
8658 static int
8659 wkssvc_dissect_element_NetrGetJoinableOus_num_ous_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8660 {
8661         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrGetJoinableOus_num_ous, 0);
8662
8663         return offset;
8664 }
8665
8666 static int
8667 wkssvc_dissect_element_NetrGetJoinableOus_ous(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8668 {
8669         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinableOus_ous_, NDR_POINTER_REF, "Pointer to Ous (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus_ous);
8670
8671         return offset;
8672 }
8673
8674 static int
8675 wkssvc_dissect_element_NetrGetJoinableOus_ous_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8676 {
8677         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinableOus_ous__);
8678
8679         return offset;
8680 }
8681
8682 static int
8683 wkssvc_dissect_element_NetrGetJoinableOus_ous__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8684 {
8685         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinableOus_ous___, NDR_POINTER_REF, "Pointer to Ous (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus_ous);
8686
8687         return offset;
8688 }
8689
8690 static int
8691 wkssvc_dissect_element_NetrGetJoinableOus_ous___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8692 {
8693         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinableOus_ous____, NDR_POINTER_REF, "Pointer to Ous (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus_ous);
8694
8695         return offset;
8696 }
8697
8698 static int
8699 wkssvc_dissect_element_NetrGetJoinableOus_ous____(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8700 {
8701         char *data;
8702
8703         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinableOus_ous, FALSE, &data);
8704         proto_item_append_text(tree, ": %s", data);
8705
8706         return offset;
8707 }
8708
8709 /* IDL: WERROR wkssvc_NetrGetJoinableOus( */
8710 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
8711 /* IDL: [ref] [in] [charset(UTF16)] uint16 *domain_name, */
8712 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
8713 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *unknown, */
8714 /* IDL: [out] [in] [ref] uint32 *num_ous, */
8715 /* IDL: [out] [ref] [charset(UTF16)] [size_is(*num_ous)] uint16 ***ous */
8716 /* IDL: ); */
8717
8718 static int
8719 wkssvc_dissect_NetrGetJoinableOus_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8720 {
8721         guint32 status;
8722
8723         di->dcerpc_procedure_name="NetrGetJoinableOus";
8724         offset = wkssvc_dissect_element_NetrGetJoinableOus_num_ous(tvb, offset, pinfo, tree, di, drep);
8725         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8726
8727         offset = wkssvc_dissect_element_NetrGetJoinableOus_ous(tvb, offset, pinfo, tree, di, drep);
8728         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8729
8730         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
8731
8732         if (status != 0)
8733                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
8734
8735         return offset;
8736 }
8737
8738 static int
8739 wkssvc_dissect_NetrGetJoinableOus_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8740 {
8741         di->dcerpc_procedure_name="NetrGetJoinableOus";
8742         offset = wkssvc_dissect_element_NetrGetJoinableOus_server_name(tvb, offset, pinfo, tree, di, drep);
8743         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8744         offset = wkssvc_dissect_element_NetrGetJoinableOus_domain_name(tvb, offset, pinfo, tree, di, drep);
8745         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8746         offset = wkssvc_dissect_element_NetrGetJoinableOus_Account(tvb, offset, pinfo, tree, di, drep);
8747         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8748         offset = wkssvc_dissect_element_NetrGetJoinableOus_unknown(tvb, offset, pinfo, tree, di, drep);
8749         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8750         offset = wkssvc_dissect_element_NetrGetJoinableOus_num_ous(tvb, offset, pinfo, tree, di, drep);
8751         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8752         return offset;
8753 }
8754
8755 static int
8756 wkssvc_dissect_element_NetrJoinDomain2_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8757 {
8758         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrJoinDomain2_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrJoinDomain2_server_name);
8759
8760         return offset;
8761 }
8762
8763 static int
8764 wkssvc_dissect_element_NetrJoinDomain2_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8765 {
8766         char *data;
8767
8768         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrJoinDomain2_server_name, FALSE, &data);
8769         proto_item_append_text(tree, ": %s", data);
8770
8771         return offset;
8772 }
8773
8774 static int
8775 wkssvc_dissect_element_NetrJoinDomain2_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8776 {
8777         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrJoinDomain2_domain_name_, NDR_POINTER_REF, "Pointer to Domain Name (uint16)",hf_wkssvc_wkssvc_NetrJoinDomain2_domain_name);
8778
8779         return offset;
8780 }
8781
8782 static int
8783 wkssvc_dissect_element_NetrJoinDomain2_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8784 {
8785         char *data;
8786
8787         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrJoinDomain2_domain_name, FALSE, &data);
8788         proto_item_append_text(tree, ": %s", data);
8789
8790         return offset;
8791 }
8792
8793 static int
8794 wkssvc_dissect_element_NetrJoinDomain2_account_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8795 {
8796         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrJoinDomain2_account_name_, NDR_POINTER_UNIQUE, "Pointer to Account Name (uint16)",hf_wkssvc_wkssvc_NetrJoinDomain2_account_name);
8797
8798         return offset;
8799 }
8800
8801 static int
8802 wkssvc_dissect_element_NetrJoinDomain2_account_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8803 {
8804         char *data;
8805
8806         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrJoinDomain2_account_name, FALSE, &data);
8807         proto_item_append_text(tree, ": %s", data);
8808
8809         return offset;
8810 }
8811
8812 static int
8813 wkssvc_dissect_element_NetrJoinDomain2_admin_account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8814 {
8815         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrJoinDomain2_admin_account_, NDR_POINTER_UNIQUE, "Pointer to Admin Account (uint16)",hf_wkssvc_wkssvc_NetrJoinDomain2_admin_account);
8816
8817         return offset;
8818 }
8819
8820 static int
8821 wkssvc_dissect_element_NetrJoinDomain2_admin_account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8822 {
8823         char *data;
8824
8825         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrJoinDomain2_admin_account, FALSE, &data);
8826         proto_item_append_text(tree, ": %s", data);
8827
8828         return offset;
8829 }
8830
8831 static int
8832 wkssvc_dissect_element_NetrJoinDomain2_encrypted_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8833 {
8834         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrJoinDomain2_encrypted_password_, NDR_POINTER_UNIQUE, "Pointer to Encrypted Password (wkssvc_PasswordBuffer)",hf_wkssvc_wkssvc_NetrJoinDomain2_encrypted_password);
8835
8836         return offset;
8837 }
8838
8839 static int
8840 wkssvc_dissect_element_NetrJoinDomain2_encrypted_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8841 {
8842         offset = wkssvc_dissect_struct_PasswordBuffer(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrJoinDomain2_encrypted_password,0);
8843
8844         return offset;
8845 }
8846
8847 static int
8848 wkssvc_dissect_element_NetrJoinDomain2_join_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8849 {
8850         offset = wkssvc_dissect_bitmap_joinflags(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrJoinDomain2_join_flags, 0);
8851
8852         return offset;
8853 }
8854
8855 /* IDL: WERROR wkssvc_NetrJoinDomain2( */
8856 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
8857 /* IDL: [ref] [in] [charset(UTF16)] uint16 *domain_name, */
8858 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *account_name, */
8859 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *admin_account, */
8860 /* IDL: [unique(1)] [in] wkssvc_PasswordBuffer *encrypted_password, */
8861 /* IDL: [in] wkssvc_joinflags join_flags */
8862 /* IDL: ); */
8863
8864 static int
8865 wkssvc_dissect_NetrJoinDomain2_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8866 {
8867         guint32 status;
8868
8869         di->dcerpc_procedure_name="NetrJoinDomain2";
8870         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
8871
8872         if (status != 0)
8873                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
8874
8875         return offset;
8876 }
8877
8878 static int
8879 wkssvc_dissect_NetrJoinDomain2_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8880 {
8881         di->dcerpc_procedure_name="NetrJoinDomain2";
8882         offset = wkssvc_dissect_element_NetrJoinDomain2_server_name(tvb, offset, pinfo, tree, di, drep);
8883         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8884         offset = wkssvc_dissect_element_NetrJoinDomain2_domain_name(tvb, offset, pinfo, tree, di, drep);
8885         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8886         offset = wkssvc_dissect_element_NetrJoinDomain2_account_name(tvb, offset, pinfo, tree, di, drep);
8887         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8888         offset = wkssvc_dissect_element_NetrJoinDomain2_admin_account(tvb, offset, pinfo, tree, di, drep);
8889         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8890         offset = wkssvc_dissect_element_NetrJoinDomain2_encrypted_password(tvb, offset, pinfo, tree, di, drep);
8891         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8892         offset = wkssvc_dissect_element_NetrJoinDomain2_join_flags(tvb, offset, pinfo, tree, di, drep);
8893         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8894         return offset;
8895 }
8896
8897 static int
8898 wkssvc_dissect_element_NetrUnjoinDomain2_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8899 {
8900         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUnjoinDomain2_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrUnjoinDomain2_server_name);
8901
8902         return offset;
8903 }
8904
8905 static int
8906 wkssvc_dissect_element_NetrUnjoinDomain2_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8907 {
8908         char *data;
8909
8910         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUnjoinDomain2_server_name, FALSE, &data);
8911         proto_item_append_text(tree, ": %s", data);
8912
8913         return offset;
8914 }
8915
8916 static int
8917 wkssvc_dissect_element_NetrUnjoinDomain2_account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8918 {
8919         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUnjoinDomain2_account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrUnjoinDomain2_account);
8920
8921         return offset;
8922 }
8923
8924 static int
8925 wkssvc_dissect_element_NetrUnjoinDomain2_account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8926 {
8927         char *data;
8928
8929         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrUnjoinDomain2_account, FALSE, &data);
8930         proto_item_append_text(tree, ": %s", data);
8931
8932         return offset;
8933 }
8934
8935 static int
8936 wkssvc_dissect_element_NetrUnjoinDomain2_encrypted_password(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8937 {
8938         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrUnjoinDomain2_encrypted_password_, NDR_POINTER_UNIQUE, "Pointer to Encrypted Password (wkssvc_PasswordBuffer)",hf_wkssvc_wkssvc_NetrUnjoinDomain2_encrypted_password);
8939
8940         return offset;
8941 }
8942
8943 static int
8944 wkssvc_dissect_element_NetrUnjoinDomain2_encrypted_password_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8945 {
8946         offset = wkssvc_dissect_struct_PasswordBuffer(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrUnjoinDomain2_encrypted_password,0);
8947
8948         return offset;
8949 }
8950
8951 static int
8952 wkssvc_dissect_element_NetrUnjoinDomain2_unjoin_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8953 {
8954         offset = wkssvc_dissect_bitmap_joinflags(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrUnjoinDomain2_unjoin_flags, 0);
8955
8956         return offset;
8957 }
8958
8959 /* IDL: WERROR wkssvc_NetrUnjoinDomain2( */
8960 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
8961 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *account, */
8962 /* IDL: [unique(1)] [in] wkssvc_PasswordBuffer *encrypted_password, */
8963 /* IDL: [in] wkssvc_joinflags unjoin_flags */
8964 /* IDL: ); */
8965
8966 static int
8967 wkssvc_dissect_NetrUnjoinDomain2_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8968 {
8969         guint32 status;
8970
8971         di->dcerpc_procedure_name="NetrUnjoinDomain2";
8972         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
8973
8974         if (status != 0)
8975                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
8976
8977         return offset;
8978 }
8979
8980 static int
8981 wkssvc_dissect_NetrUnjoinDomain2_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8982 {
8983         di->dcerpc_procedure_name="NetrUnjoinDomain2";
8984         offset = wkssvc_dissect_element_NetrUnjoinDomain2_server_name(tvb, offset, pinfo, tree, di, drep);
8985         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8986         offset = wkssvc_dissect_element_NetrUnjoinDomain2_account(tvb, offset, pinfo, tree, di, drep);
8987         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8988         offset = wkssvc_dissect_element_NetrUnjoinDomain2_encrypted_password(tvb, offset, pinfo, tree, di, drep);
8989         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8990         offset = wkssvc_dissect_element_NetrUnjoinDomain2_unjoin_flags(tvb, offset, pinfo, tree, di, drep);
8991         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8992         return offset;
8993 }
8994
8995 static int
8996 wkssvc_dissect_element_NetrRenameMachineInDomain2_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
8997 {
8998         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrRenameMachineInDomain2_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_server_name);
8999
9000         return offset;
9001 }
9002
9003 static int
9004 wkssvc_dissect_element_NetrRenameMachineInDomain2_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9005 {
9006         char *data;
9007
9008         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_server_name, FALSE, &data);
9009         proto_item_append_text(tree, ": %s", data);
9010
9011         return offset;
9012 }
9013
9014 static int
9015 wkssvc_dissect_element_NetrRenameMachineInDomain2_NewMachineName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9016 {
9017         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrRenameMachineInDomain2_NewMachineName_, NDR_POINTER_UNIQUE, "Pointer to Newmachinename (uint16)",hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_NewMachineName);
9018
9019         return offset;
9020 }
9021
9022 static int
9023 wkssvc_dissect_element_NetrRenameMachineInDomain2_NewMachineName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9024 {
9025         char *data;
9026
9027         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_NewMachineName, FALSE, &data);
9028         proto_item_append_text(tree, ": %s", data);
9029
9030         return offset;
9031 }
9032
9033 static int
9034 wkssvc_dissect_element_NetrRenameMachineInDomain2_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9035 {
9036         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrRenameMachineInDomain2_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_Account);
9037
9038         return offset;
9039 }
9040
9041 static int
9042 wkssvc_dissect_element_NetrRenameMachineInDomain2_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9043 {
9044         char *data;
9045
9046         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_Account, FALSE, &data);
9047         proto_item_append_text(tree, ": %s", data);
9048
9049         return offset;
9050 }
9051
9052 static int
9053 wkssvc_dissect_element_NetrRenameMachineInDomain2_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9054 {
9055         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrRenameMachineInDomain2_EncryptedPassword_, NDR_POINTER_UNIQUE, "Pointer to Encryptedpassword (wkssvc_PasswordBuffer)",hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_EncryptedPassword);
9056
9057         return offset;
9058 }
9059
9060 static int
9061 wkssvc_dissect_element_NetrRenameMachineInDomain2_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9062 {
9063         offset = wkssvc_dissect_struct_PasswordBuffer(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_EncryptedPassword,0);
9064
9065         return offset;
9066 }
9067
9068 static int
9069 wkssvc_dissect_element_NetrRenameMachineInDomain2_RenameOptions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9070 {
9071         offset = wkssvc_dissect_bitmap_renameflags(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_RenameOptions, 0);
9072
9073         return offset;
9074 }
9075
9076 /* IDL: WERROR wkssvc_NetrRenameMachineInDomain2( */
9077 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
9078 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *NewMachineName, */
9079 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
9080 /* IDL: [unique(1)] [in] wkssvc_PasswordBuffer *EncryptedPassword, */
9081 /* IDL: [in] wkssvc_renameflags RenameOptions */
9082 /* IDL: ); */
9083
9084 static int
9085 wkssvc_dissect_NetrRenameMachineInDomain2_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9086 {
9087         guint32 status;
9088
9089         di->dcerpc_procedure_name="NetrRenameMachineInDomain2";
9090         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
9091
9092         if (status != 0)
9093                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
9094
9095         return offset;
9096 }
9097
9098 static int
9099 wkssvc_dissect_NetrRenameMachineInDomain2_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9100 {
9101         di->dcerpc_procedure_name="NetrRenameMachineInDomain2";
9102         offset = wkssvc_dissect_element_NetrRenameMachineInDomain2_server_name(tvb, offset, pinfo, tree, di, drep);
9103         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9104         offset = wkssvc_dissect_element_NetrRenameMachineInDomain2_NewMachineName(tvb, offset, pinfo, tree, di, drep);
9105         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9106         offset = wkssvc_dissect_element_NetrRenameMachineInDomain2_Account(tvb, offset, pinfo, tree, di, drep);
9107         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9108         offset = wkssvc_dissect_element_NetrRenameMachineInDomain2_EncryptedPassword(tvb, offset, pinfo, tree, di, drep);
9109         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9110         offset = wkssvc_dissect_element_NetrRenameMachineInDomain2_RenameOptions(tvb, offset, pinfo, tree, di, drep);
9111         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9112         return offset;
9113 }
9114
9115 static int
9116 wkssvc_dissect_element_NetrValidateName2_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9117 {
9118         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrValidateName2_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrValidateName2_server_name);
9119
9120         return offset;
9121 }
9122
9123 static int
9124 wkssvc_dissect_element_NetrValidateName2_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9125 {
9126         char *data;
9127
9128         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrValidateName2_server_name, FALSE, &data);
9129         proto_item_append_text(tree, ": %s", data);
9130
9131         return offset;
9132 }
9133
9134 static int
9135 wkssvc_dissect_element_NetrValidateName2_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9136 {
9137         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrValidateName2_name_, NDR_POINTER_REF, "Pointer to Name (uint16)",hf_wkssvc_wkssvc_NetrValidateName2_name);
9138
9139         return offset;
9140 }
9141
9142 static int
9143 wkssvc_dissect_element_NetrValidateName2_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9144 {
9145         char *data;
9146
9147         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrValidateName2_name, FALSE, &data);
9148         proto_item_append_text(tree, ": %s", data);
9149
9150         return offset;
9151 }
9152
9153 static int
9154 wkssvc_dissect_element_NetrValidateName2_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9155 {
9156         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrValidateName2_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrValidateName2_Account);
9157
9158         return offset;
9159 }
9160
9161 static int
9162 wkssvc_dissect_element_NetrValidateName2_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9163 {
9164         char *data;
9165
9166         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrValidateName2_Account, FALSE, &data);
9167         proto_item_append_text(tree, ": %s", data);
9168
9169         return offset;
9170 }
9171
9172 static int
9173 wkssvc_dissect_element_NetrValidateName2_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9174 {
9175         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrValidateName2_EncryptedPassword_, NDR_POINTER_UNIQUE, "Pointer to Encryptedpassword (wkssvc_PasswordBuffer)",hf_wkssvc_wkssvc_NetrValidateName2_EncryptedPassword);
9176
9177         return offset;
9178 }
9179
9180 static int
9181 wkssvc_dissect_element_NetrValidateName2_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9182 {
9183         offset = wkssvc_dissect_struct_PasswordBuffer(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrValidateName2_EncryptedPassword,0);
9184
9185         return offset;
9186 }
9187
9188 static int
9189 wkssvc_dissect_element_NetrValidateName2_name_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9190 {
9191         offset = wkssvc_dissect_enum_NetValidateNameType(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrValidateName2_name_type, 0);
9192
9193         return offset;
9194 }
9195
9196 /* IDL: WERROR wkssvc_NetrValidateName2( */
9197 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
9198 /* IDL: [ref] [in] [charset(UTF16)] uint16 *name, */
9199 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
9200 /* IDL: [unique(1)] [in] wkssvc_PasswordBuffer *EncryptedPassword, */
9201 /* IDL: [in] wkssvc_NetValidateNameType name_type */
9202 /* IDL: ); */
9203
9204 static int
9205 wkssvc_dissect_NetrValidateName2_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9206 {
9207         guint32 status;
9208
9209         di->dcerpc_procedure_name="NetrValidateName2";
9210         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
9211
9212         if (status != 0)
9213                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
9214
9215         return offset;
9216 }
9217
9218 static int
9219 wkssvc_dissect_NetrValidateName2_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9220 {
9221         di->dcerpc_procedure_name="NetrValidateName2";
9222         offset = wkssvc_dissect_element_NetrValidateName2_server_name(tvb, offset, pinfo, tree, di, drep);
9223         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9224         offset = wkssvc_dissect_element_NetrValidateName2_name(tvb, offset, pinfo, tree, di, drep);
9225         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9226         offset = wkssvc_dissect_element_NetrValidateName2_Account(tvb, offset, pinfo, tree, di, drep);
9227         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9228         offset = wkssvc_dissect_element_NetrValidateName2_EncryptedPassword(tvb, offset, pinfo, tree, di, drep);
9229         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9230         offset = wkssvc_dissect_element_NetrValidateName2_name_type(tvb, offset, pinfo, tree, di, drep);
9231         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9232         return offset;
9233 }
9234
9235 static int
9236 wkssvc_dissect_element_NetrGetJoinableOus2_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9237 {
9238         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinableOus2_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus2_server_name);
9239
9240         return offset;
9241 }
9242
9243 static int
9244 wkssvc_dissect_element_NetrGetJoinableOus2_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9245 {
9246         char *data;
9247
9248         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinableOus2_server_name, FALSE, &data);
9249         proto_item_append_text(tree, ": %s", data);
9250
9251         return offset;
9252 }
9253
9254 static int
9255 wkssvc_dissect_element_NetrGetJoinableOus2_domain_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9256 {
9257         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinableOus2_domain_name_, NDR_POINTER_REF, "Pointer to Domain Name (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus2_domain_name);
9258
9259         return offset;
9260 }
9261
9262 static int
9263 wkssvc_dissect_element_NetrGetJoinableOus2_domain_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9264 {
9265         char *data;
9266
9267         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinableOus2_domain_name, FALSE, &data);
9268         proto_item_append_text(tree, ": %s", data);
9269
9270         return offset;
9271 }
9272
9273 static int
9274 wkssvc_dissect_element_NetrGetJoinableOus2_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9275 {
9276         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinableOus2_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus2_Account);
9277
9278         return offset;
9279 }
9280
9281 static int
9282 wkssvc_dissect_element_NetrGetJoinableOus2_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9283 {
9284         char *data;
9285
9286         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinableOus2_Account, FALSE, &data);
9287         proto_item_append_text(tree, ": %s", data);
9288
9289         return offset;
9290 }
9291
9292 static int
9293 wkssvc_dissect_element_NetrGetJoinableOus2_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9294 {
9295         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinableOus2_EncryptedPassword_, NDR_POINTER_UNIQUE, "Pointer to Encryptedpassword (wkssvc_PasswordBuffer)",hf_wkssvc_wkssvc_NetrGetJoinableOus2_EncryptedPassword);
9296
9297         return offset;
9298 }
9299
9300 static int
9301 wkssvc_dissect_element_NetrGetJoinableOus2_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9302 {
9303         offset = wkssvc_dissect_struct_PasswordBuffer(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrGetJoinableOus2_EncryptedPassword,0);
9304
9305         return offset;
9306 }
9307
9308 static int
9309 wkssvc_dissect_element_NetrGetJoinableOus2_num_ous(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9310 {
9311         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinableOus2_num_ous_, NDR_POINTER_REF, "Pointer to Num Ous (uint32)",hf_wkssvc_wkssvc_NetrGetJoinableOus2_num_ous);
9312
9313         return offset;
9314 }
9315
9316 static int
9317 wkssvc_dissect_element_NetrGetJoinableOus2_num_ous_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9318 {
9319         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrGetJoinableOus2_num_ous, 0);
9320
9321         return offset;
9322 }
9323
9324 static int
9325 wkssvc_dissect_element_NetrGetJoinableOus2_ous(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9326 {
9327         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinableOus2_ous_, NDR_POINTER_REF, "Pointer to Ous (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus2_ous);
9328
9329         return offset;
9330 }
9331
9332 static int
9333 wkssvc_dissect_element_NetrGetJoinableOus2_ous_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9334 {
9335         offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinableOus2_ous__);
9336
9337         return offset;
9338 }
9339
9340 static int
9341 wkssvc_dissect_element_NetrGetJoinableOus2_ous__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9342 {
9343         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinableOus2_ous___, NDR_POINTER_REF, "Pointer to Ous (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus2_ous);
9344
9345         return offset;
9346 }
9347
9348 static int
9349 wkssvc_dissect_element_NetrGetJoinableOus2_ous___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9350 {
9351         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrGetJoinableOus2_ous____, NDR_POINTER_REF, "Pointer to Ous (uint16)",hf_wkssvc_wkssvc_NetrGetJoinableOus2_ous);
9352
9353         return offset;
9354 }
9355
9356 static int
9357 wkssvc_dissect_element_NetrGetJoinableOus2_ous____(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9358 {
9359         char *data;
9360
9361         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrGetJoinableOus2_ous, FALSE, &data);
9362         proto_item_append_text(tree, ": %s", data);
9363
9364         return offset;
9365 }
9366
9367 /* IDL: WERROR wkssvc_NetrGetJoinableOus2( */
9368 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
9369 /* IDL: [ref] [in] [charset(UTF16)] uint16 *domain_name, */
9370 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
9371 /* IDL: [unique(1)] [in] wkssvc_PasswordBuffer *EncryptedPassword, */
9372 /* IDL: [out] [in] [ref] uint32 *num_ous, */
9373 /* IDL: [out] [ref] [charset(UTF16)] [size_is(*num_ous)] uint16 ***ous */
9374 /* IDL: ); */
9375
9376 static int
9377 wkssvc_dissect_NetrGetJoinableOus2_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9378 {
9379         guint32 status;
9380
9381         di->dcerpc_procedure_name="NetrGetJoinableOus2";
9382         offset = wkssvc_dissect_element_NetrGetJoinableOus2_num_ous(tvb, offset, pinfo, tree, di, drep);
9383         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9384
9385         offset = wkssvc_dissect_element_NetrGetJoinableOus2_ous(tvb, offset, pinfo, tree, di, drep);
9386         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9387
9388         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
9389
9390         if (status != 0)
9391                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
9392
9393         return offset;
9394 }
9395
9396 static int
9397 wkssvc_dissect_NetrGetJoinableOus2_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9398 {
9399         di->dcerpc_procedure_name="NetrGetJoinableOus2";
9400         offset = wkssvc_dissect_element_NetrGetJoinableOus2_server_name(tvb, offset, pinfo, tree, di, drep);
9401         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9402         offset = wkssvc_dissect_element_NetrGetJoinableOus2_domain_name(tvb, offset, pinfo, tree, di, drep);
9403         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9404         offset = wkssvc_dissect_element_NetrGetJoinableOus2_Account(tvb, offset, pinfo, tree, di, drep);
9405         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9406         offset = wkssvc_dissect_element_NetrGetJoinableOus2_EncryptedPassword(tvb, offset, pinfo, tree, di, drep);
9407         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9408         offset = wkssvc_dissect_element_NetrGetJoinableOus2_num_ous(tvb, offset, pinfo, tree, di, drep);
9409         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9410         return offset;
9411 }
9412
9413 static int
9414 wkssvc_dissect_element_NetrAddAlternateComputerName_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9415 {
9416         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrAddAlternateComputerName_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrAddAlternateComputerName_server_name);
9417
9418         return offset;
9419 }
9420
9421 static int
9422 wkssvc_dissect_element_NetrAddAlternateComputerName_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9423 {
9424         char *data;
9425
9426         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrAddAlternateComputerName_server_name, FALSE, &data);
9427         proto_item_append_text(tree, ": %s", data);
9428
9429         return offset;
9430 }
9431
9432 static int
9433 wkssvc_dissect_element_NetrAddAlternateComputerName_NewAlternateMachineName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9434 {
9435         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrAddAlternateComputerName_NewAlternateMachineName_, NDR_POINTER_UNIQUE, "Pointer to Newalternatemachinename (uint16)",hf_wkssvc_wkssvc_NetrAddAlternateComputerName_NewAlternateMachineName);
9436
9437         return offset;
9438 }
9439
9440 static int
9441 wkssvc_dissect_element_NetrAddAlternateComputerName_NewAlternateMachineName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9442 {
9443         char *data;
9444
9445         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrAddAlternateComputerName_NewAlternateMachineName, FALSE, &data);
9446         proto_item_append_text(tree, ": %s", data);
9447
9448         return offset;
9449 }
9450
9451 static int
9452 wkssvc_dissect_element_NetrAddAlternateComputerName_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9453 {
9454         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrAddAlternateComputerName_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrAddAlternateComputerName_Account);
9455
9456         return offset;
9457 }
9458
9459 static int
9460 wkssvc_dissect_element_NetrAddAlternateComputerName_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9461 {
9462         char *data;
9463
9464         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrAddAlternateComputerName_Account, FALSE, &data);
9465         proto_item_append_text(tree, ": %s", data);
9466
9467         return offset;
9468 }
9469
9470 static int
9471 wkssvc_dissect_element_NetrAddAlternateComputerName_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9472 {
9473         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrAddAlternateComputerName_EncryptedPassword_, NDR_POINTER_UNIQUE, "Pointer to Encryptedpassword (wkssvc_PasswordBuffer)",hf_wkssvc_wkssvc_NetrAddAlternateComputerName_EncryptedPassword);
9474
9475         return offset;
9476 }
9477
9478 static int
9479 wkssvc_dissect_element_NetrAddAlternateComputerName_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9480 {
9481         offset = wkssvc_dissect_struct_PasswordBuffer(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrAddAlternateComputerName_EncryptedPassword,0);
9482
9483         return offset;
9484 }
9485
9486 static int
9487 wkssvc_dissect_element_NetrAddAlternateComputerName_Reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9488 {
9489         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrAddAlternateComputerName_Reserved, 0);
9490
9491         return offset;
9492 }
9493
9494 /* IDL: WERROR wkssvc_NetrAddAlternateComputerName( */
9495 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
9496 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *NewAlternateMachineName, */
9497 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
9498 /* IDL: [unique(1)] [in] wkssvc_PasswordBuffer *EncryptedPassword, */
9499 /* IDL: [in] uint32 Reserved */
9500 /* IDL: ); */
9501
9502 static int
9503 wkssvc_dissect_NetrAddAlternateComputerName_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9504 {
9505         guint32 status;
9506
9507         di->dcerpc_procedure_name="NetrAddAlternateComputerName";
9508         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
9509
9510         if (status != 0)
9511                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
9512
9513         return offset;
9514 }
9515
9516 static int
9517 wkssvc_dissect_NetrAddAlternateComputerName_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9518 {
9519         di->dcerpc_procedure_name="NetrAddAlternateComputerName";
9520         offset = wkssvc_dissect_element_NetrAddAlternateComputerName_server_name(tvb, offset, pinfo, tree, di, drep);
9521         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9522         offset = wkssvc_dissect_element_NetrAddAlternateComputerName_NewAlternateMachineName(tvb, offset, pinfo, tree, di, drep);
9523         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9524         offset = wkssvc_dissect_element_NetrAddAlternateComputerName_Account(tvb, offset, pinfo, tree, di, drep);
9525         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9526         offset = wkssvc_dissect_element_NetrAddAlternateComputerName_EncryptedPassword(tvb, offset, pinfo, tree, di, drep);
9527         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9528         offset = wkssvc_dissect_element_NetrAddAlternateComputerName_Reserved(tvb, offset, pinfo, tree, di, drep);
9529         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9530         return offset;
9531 }
9532
9533 static int
9534 wkssvc_dissect_element_NetrRemoveAlternateComputerName_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9535 {
9536         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrRemoveAlternateComputerName_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_server_name);
9537
9538         return offset;
9539 }
9540
9541 static int
9542 wkssvc_dissect_element_NetrRemoveAlternateComputerName_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9543 {
9544         char *data;
9545
9546         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_server_name, FALSE, &data);
9547         proto_item_append_text(tree, ": %s", data);
9548
9549         return offset;
9550 }
9551
9552 static int
9553 wkssvc_dissect_element_NetrRemoveAlternateComputerName_AlternateMachineNameToRemove(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9554 {
9555         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrRemoveAlternateComputerName_AlternateMachineNameToRemove_, NDR_POINTER_UNIQUE, "Pointer to Alternatemachinenametoremove (uint16)",hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_AlternateMachineNameToRemove);
9556
9557         return offset;
9558 }
9559
9560 static int
9561 wkssvc_dissect_element_NetrRemoveAlternateComputerName_AlternateMachineNameToRemove_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9562 {
9563         char *data;
9564
9565         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_AlternateMachineNameToRemove, FALSE, &data);
9566         proto_item_append_text(tree, ": %s", data);
9567
9568         return offset;
9569 }
9570
9571 static int
9572 wkssvc_dissect_element_NetrRemoveAlternateComputerName_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9573 {
9574         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrRemoveAlternateComputerName_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_Account);
9575
9576         return offset;
9577 }
9578
9579 static int
9580 wkssvc_dissect_element_NetrRemoveAlternateComputerName_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9581 {
9582         char *data;
9583
9584         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_Account, FALSE, &data);
9585         proto_item_append_text(tree, ": %s", data);
9586
9587         return offset;
9588 }
9589
9590 static int
9591 wkssvc_dissect_element_NetrRemoveAlternateComputerName_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9592 {
9593         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrRemoveAlternateComputerName_EncryptedPassword_, NDR_POINTER_UNIQUE, "Pointer to Encryptedpassword (wkssvc_PasswordBuffer)",hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_EncryptedPassword);
9594
9595         return offset;
9596 }
9597
9598 static int
9599 wkssvc_dissect_element_NetrRemoveAlternateComputerName_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9600 {
9601         offset = wkssvc_dissect_struct_PasswordBuffer(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_EncryptedPassword,0);
9602
9603         return offset;
9604 }
9605
9606 static int
9607 wkssvc_dissect_element_NetrRemoveAlternateComputerName_Reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9608 {
9609         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_Reserved, 0);
9610
9611         return offset;
9612 }
9613
9614 /* IDL: WERROR wkssvc_NetrRemoveAlternateComputerName( */
9615 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
9616 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *AlternateMachineNameToRemove, */
9617 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
9618 /* IDL: [unique(1)] [in] wkssvc_PasswordBuffer *EncryptedPassword, */
9619 /* IDL: [in] uint32 Reserved */
9620 /* IDL: ); */
9621
9622 static int
9623 wkssvc_dissect_NetrRemoveAlternateComputerName_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9624 {
9625         guint32 status;
9626
9627         di->dcerpc_procedure_name="NetrRemoveAlternateComputerName";
9628         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
9629
9630         if (status != 0)
9631                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
9632
9633         return offset;
9634 }
9635
9636 static int
9637 wkssvc_dissect_NetrRemoveAlternateComputerName_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9638 {
9639         di->dcerpc_procedure_name="NetrRemoveAlternateComputerName";
9640         offset = wkssvc_dissect_element_NetrRemoveAlternateComputerName_server_name(tvb, offset, pinfo, tree, di, drep);
9641         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9642         offset = wkssvc_dissect_element_NetrRemoveAlternateComputerName_AlternateMachineNameToRemove(tvb, offset, pinfo, tree, di, drep);
9643         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9644         offset = wkssvc_dissect_element_NetrRemoveAlternateComputerName_Account(tvb, offset, pinfo, tree, di, drep);
9645         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9646         offset = wkssvc_dissect_element_NetrRemoveAlternateComputerName_EncryptedPassword(tvb, offset, pinfo, tree, di, drep);
9647         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9648         offset = wkssvc_dissect_element_NetrRemoveAlternateComputerName_Reserved(tvb, offset, pinfo, tree, di, drep);
9649         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9650         return offset;
9651 }
9652
9653 static int
9654 wkssvc_dissect_element_NetrSetPrimaryComputername_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9655 {
9656         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrSetPrimaryComputername_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrSetPrimaryComputername_server_name);
9657
9658         return offset;
9659 }
9660
9661 static int
9662 wkssvc_dissect_element_NetrSetPrimaryComputername_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9663 {
9664         char *data;
9665
9666         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrSetPrimaryComputername_server_name, FALSE, &data);
9667         proto_item_append_text(tree, ": %s", data);
9668
9669         return offset;
9670 }
9671
9672 static int
9673 wkssvc_dissect_element_NetrSetPrimaryComputername_primary_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9674 {
9675         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrSetPrimaryComputername_primary_name_, NDR_POINTER_UNIQUE, "Pointer to Primary Name (uint16)",hf_wkssvc_wkssvc_NetrSetPrimaryComputername_primary_name);
9676
9677         return offset;
9678 }
9679
9680 static int
9681 wkssvc_dissect_element_NetrSetPrimaryComputername_primary_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9682 {
9683         char *data;
9684
9685         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrSetPrimaryComputername_primary_name, FALSE, &data);
9686         proto_item_append_text(tree, ": %s", data);
9687
9688         return offset;
9689 }
9690
9691 static int
9692 wkssvc_dissect_element_NetrSetPrimaryComputername_Account(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9693 {
9694         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrSetPrimaryComputername_Account_, NDR_POINTER_UNIQUE, "Pointer to Account (uint16)",hf_wkssvc_wkssvc_NetrSetPrimaryComputername_Account);
9695
9696         return offset;
9697 }
9698
9699 static int
9700 wkssvc_dissect_element_NetrSetPrimaryComputername_Account_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9701 {
9702         char *data;
9703
9704         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrSetPrimaryComputername_Account, FALSE, &data);
9705         proto_item_append_text(tree, ": %s", data);
9706
9707         return offset;
9708 }
9709
9710 static int
9711 wkssvc_dissect_element_NetrSetPrimaryComputername_EncryptedPassword(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9712 {
9713         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrSetPrimaryComputername_EncryptedPassword_, NDR_POINTER_UNIQUE, "Pointer to Encryptedpassword (wkssvc_PasswordBuffer)",hf_wkssvc_wkssvc_NetrSetPrimaryComputername_EncryptedPassword);
9714
9715         return offset;
9716 }
9717
9718 static int
9719 wkssvc_dissect_element_NetrSetPrimaryComputername_EncryptedPassword_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9720 {
9721         offset = wkssvc_dissect_struct_PasswordBuffer(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrSetPrimaryComputername_EncryptedPassword,0);
9722
9723         return offset;
9724 }
9725
9726 static int
9727 wkssvc_dissect_element_NetrSetPrimaryComputername_Reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9728 {
9729         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrSetPrimaryComputername_Reserved, 0);
9730
9731         return offset;
9732 }
9733
9734 /* IDL: WERROR wkssvc_NetrSetPrimaryComputername( */
9735 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
9736 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *primary_name, */
9737 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *Account, */
9738 /* IDL: [unique(1)] [in] wkssvc_PasswordBuffer *EncryptedPassword, */
9739 /* IDL: [in] uint32 Reserved */
9740 /* IDL: ); */
9741
9742 static int
9743 wkssvc_dissect_NetrSetPrimaryComputername_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9744 {
9745         guint32 status;
9746
9747         di->dcerpc_procedure_name="NetrSetPrimaryComputername";
9748         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
9749
9750         if (status != 0)
9751                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
9752
9753         return offset;
9754 }
9755
9756 static int
9757 wkssvc_dissect_NetrSetPrimaryComputername_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9758 {
9759         di->dcerpc_procedure_name="NetrSetPrimaryComputername";
9760         offset = wkssvc_dissect_element_NetrSetPrimaryComputername_server_name(tvb, offset, pinfo, tree, di, drep);
9761         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9762         offset = wkssvc_dissect_element_NetrSetPrimaryComputername_primary_name(tvb, offset, pinfo, tree, di, drep);
9763         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9764         offset = wkssvc_dissect_element_NetrSetPrimaryComputername_Account(tvb, offset, pinfo, tree, di, drep);
9765         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9766         offset = wkssvc_dissect_element_NetrSetPrimaryComputername_EncryptedPassword(tvb, offset, pinfo, tree, di, drep);
9767         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9768         offset = wkssvc_dissect_element_NetrSetPrimaryComputername_Reserved(tvb, offset, pinfo, tree, di, drep);
9769         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9770         return offset;
9771 }
9772
9773 static int
9774 wkssvc_dissect_element_NetrEnumerateComputerNames_server_name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9775 {
9776         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrEnumerateComputerNames_server_name_, NDR_POINTER_UNIQUE, "Pointer to Server Name (uint16)",hf_wkssvc_wkssvc_NetrEnumerateComputerNames_server_name);
9777
9778         return offset;
9779 }
9780
9781 static int
9782 wkssvc_dissect_element_NetrEnumerateComputerNames_server_name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9783 {
9784         char *data;
9785
9786         offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_wkssvc_wkssvc_NetrEnumerateComputerNames_server_name, FALSE, &data);
9787         proto_item_append_text(tree, ": %s", data);
9788
9789         return offset;
9790 }
9791
9792 static int
9793 wkssvc_dissect_element_NetrEnumerateComputerNames_name_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9794 {
9795         offset = wkssvc_dissect_enum_ComputerNameType(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrEnumerateComputerNames_name_type, 0);
9796
9797         return offset;
9798 }
9799
9800 static int
9801 wkssvc_dissect_element_NetrEnumerateComputerNames_Reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9802 {
9803         offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_wkssvc_NetrEnumerateComputerNames_Reserved, 0);
9804
9805         return offset;
9806 }
9807
9808 static int
9809 wkssvc_dissect_element_NetrEnumerateComputerNames_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9810 {
9811         offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrEnumerateComputerNames_ctr_, NDR_POINTER_REF, "Pointer to Ctr (wkssvc_ComputerNamesCtr)",hf_wkssvc_wkssvc_NetrEnumerateComputerNames_ctr);
9812
9813         return offset;
9814 }
9815
9816 static int
9817 wkssvc_dissect_element_NetrEnumerateComputerNames_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9818 {
9819         offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, wkssvc_dissect_element_NetrEnumerateComputerNames_ctr__, NDR_POINTER_REF, "Pointer to Ctr (wkssvc_ComputerNamesCtr)",hf_wkssvc_wkssvc_NetrEnumerateComputerNames_ctr);
9820
9821         return offset;
9822 }
9823
9824 static int
9825 wkssvc_dissect_element_NetrEnumerateComputerNames_ctr__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9826 {
9827         offset = wkssvc_dissect_struct_ComputerNamesCtr(tvb,offset,pinfo,tree,di,drep,hf_wkssvc_wkssvc_NetrEnumerateComputerNames_ctr,0);
9828
9829         return offset;
9830 }
9831
9832 /* IDL: WERROR wkssvc_NetrEnumerateComputerNames( */
9833 /* IDL: [unique(1)] [in] [charset(UTF16)] uint16 *server_name, */
9834 /* IDL: [in] wkssvc_ComputerNameType name_type, */
9835 /* IDL: [in] uint32 Reserved, */
9836 /* IDL: [out] [ref] wkssvc_ComputerNamesCtr **ctr */
9837 /* IDL: ); */
9838
9839 static int
9840 wkssvc_dissect_NetrEnumerateComputerNames_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9841 {
9842         guint32 status;
9843
9844         di->dcerpc_procedure_name="NetrEnumerateComputerNames";
9845         offset = wkssvc_dissect_element_NetrEnumerateComputerNames_ctr(tvb, offset, pinfo, tree, di, drep);
9846         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9847
9848         offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_wkssvc_werror, &status);
9849
9850         if (status != 0)
9851                 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x"));
9852
9853         return offset;
9854 }
9855
9856 static int
9857 wkssvc_dissect_NetrEnumerateComputerNames_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)
9858 {
9859         di->dcerpc_procedure_name="NetrEnumerateComputerNames";
9860         offset = wkssvc_dissect_element_NetrEnumerateComputerNames_server_name(tvb, offset, pinfo, tree, di, drep);
9861         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9862         offset = wkssvc_dissect_element_NetrEnumerateComputerNames_name_type(tvb, offset, pinfo, tree, di, drep);
9863         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9864         offset = wkssvc_dissect_element_NetrEnumerateComputerNames_Reserved(tvb, offset, pinfo, tree, di, drep);
9865         offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9866         return offset;
9867 }
9868
9869
9870 static dcerpc_sub_dissector wkssvc_dissectors[] = {
9871         { 0, "NetWkstaGetInfo",
9872            wkssvc_dissect_NetWkstaGetInfo_request, wkssvc_dissect_NetWkstaGetInfo_response},
9873         { 1, "NetWkstaSetInfo",
9874            wkssvc_dissect_NetWkstaSetInfo_request, wkssvc_dissect_NetWkstaSetInfo_response},
9875         { 2, "NetWkstaEnumUsers",
9876            wkssvc_dissect_NetWkstaEnumUsers_request, wkssvc_dissect_NetWkstaEnumUsers_response},
9877         { 3, "NetrWkstaUserGetInfo",
9878            wkssvc_dissect_NetrWkstaUserGetInfo_request, wkssvc_dissect_NetrWkstaUserGetInfo_response},
9879         { 4, "NetrWkstaUserSetInfo",
9880            wkssvc_dissect_NetrWkstaUserSetInfo_request, wkssvc_dissect_NetrWkstaUserSetInfo_response},
9881         { 5, "NetWkstaTransportEnum",
9882            wkssvc_dissect_NetWkstaTransportEnum_request, wkssvc_dissect_NetWkstaTransportEnum_response},
9883         { 6, "NetrWkstaTransportAdd",
9884            wkssvc_dissect_NetrWkstaTransportAdd_request, wkssvc_dissect_NetrWkstaTransportAdd_response},
9885         { 7, "NetrWkstaTransportDel",
9886            wkssvc_dissect_NetrWkstaTransportDel_request, wkssvc_dissect_NetrWkstaTransportDel_response},
9887         { 8, "NetrUseAdd",
9888            wkssvc_dissect_NetrUseAdd_request, wkssvc_dissect_NetrUseAdd_response},
9889         { 9, "NetrUseGetInfo",
9890            wkssvc_dissect_NetrUseGetInfo_request, wkssvc_dissect_NetrUseGetInfo_response},
9891         { 10, "NetrUseDel",
9892            wkssvc_dissect_NetrUseDel_request, wkssvc_dissect_NetrUseDel_response},
9893         { 11, "NetrUseEnum",
9894            wkssvc_dissect_NetrUseEnum_request, wkssvc_dissect_NetrUseEnum_response},
9895         { 12, "NetrMessageBufferSend",
9896            wkssvc_dissect_NetrMessageBufferSend_request, wkssvc_dissect_NetrMessageBufferSend_response},
9897         { 13, "NetrWorkstationStatisticsGet",
9898            wkssvc_dissect_NetrWorkstationStatisticsGet_request, wkssvc_dissect_NetrWorkstationStatisticsGet_response},
9899         { 14, "NetrLogonDomainNameAdd",
9900            wkssvc_dissect_NetrLogonDomainNameAdd_request, wkssvc_dissect_NetrLogonDomainNameAdd_response},
9901         { 15, "NetrLogonDomainNameDel",
9902            wkssvc_dissect_NetrLogonDomainNameDel_request, wkssvc_dissect_NetrLogonDomainNameDel_response},
9903         { 16, "NetrJoinDomain",
9904            wkssvc_dissect_NetrJoinDomain_request, wkssvc_dissect_NetrJoinDomain_response},
9905         { 17, "NetrUnjoinDomain",
9906            wkssvc_dissect_NetrUnjoinDomain_request, wkssvc_dissect_NetrUnjoinDomain_response},
9907         { 18, "NetrRenameMachineInDomain",
9908            wkssvc_dissect_NetrRenameMachineInDomain_request, wkssvc_dissect_NetrRenameMachineInDomain_response},
9909         { 19, "NetrValidateName",
9910            wkssvc_dissect_NetrValidateName_request, wkssvc_dissect_NetrValidateName_response},
9911         { 20, "NetrGetJoinInformation",
9912            wkssvc_dissect_NetrGetJoinInformation_request, wkssvc_dissect_NetrGetJoinInformation_response},
9913         { 21, "NetrGetJoinableOus",
9914            wkssvc_dissect_NetrGetJoinableOus_request, wkssvc_dissect_NetrGetJoinableOus_response},
9915         { 22, "NetrJoinDomain2",
9916            wkssvc_dissect_NetrJoinDomain2_request, wkssvc_dissect_NetrJoinDomain2_response},
9917         { 23, "NetrUnjoinDomain2",
9918            wkssvc_dissect_NetrUnjoinDomain2_request, wkssvc_dissect_NetrUnjoinDomain2_response},
9919         { 24, "NetrRenameMachineInDomain2",
9920            wkssvc_dissect_NetrRenameMachineInDomain2_request, wkssvc_dissect_NetrRenameMachineInDomain2_response},
9921         { 25, "NetrValidateName2",
9922            wkssvc_dissect_NetrValidateName2_request, wkssvc_dissect_NetrValidateName2_response},
9923         { 26, "NetrGetJoinableOus2",
9924            wkssvc_dissect_NetrGetJoinableOus2_request, wkssvc_dissect_NetrGetJoinableOus2_response},
9925         { 27, "NetrAddAlternateComputerName",
9926            wkssvc_dissect_NetrAddAlternateComputerName_request, wkssvc_dissect_NetrAddAlternateComputerName_response},
9927         { 28, "NetrRemoveAlternateComputerName",
9928            wkssvc_dissect_NetrRemoveAlternateComputerName_request, wkssvc_dissect_NetrRemoveAlternateComputerName_response},
9929         { 29, "NetrSetPrimaryComputername",
9930            wkssvc_dissect_NetrSetPrimaryComputername_request, wkssvc_dissect_NetrSetPrimaryComputername_response},
9931         { 30, "NetrEnumerateComputerNames",
9932            wkssvc_dissect_NetrEnumerateComputerNames_request, wkssvc_dissect_NetrEnumerateComputerNames_response},
9933         { 0, NULL, NULL, NULL }
9934 };
9935
9936 void proto_register_dcerpc_wkssvc(void)
9937 {
9938         static hf_register_info hf[] = {
9939         { &hf_wkssvc_wkssvc_NetrUseInfo2_use_count, 
9940           { "Use Count", "wkssvc.wkssvc_NetrUseInfo2.use_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9941         { &hf_wkssvc_wkssvc_NetWkstaTransportInfo0_quality_of_service, 
9942           { "Quality Of Service", "wkssvc.wkssvc_NetWkstaTransportInfo0.quality_of_service", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9943         { &hf_wkssvc_wkssvc_NetWkstaInfo1045_pipe_maximum, 
9944           { "Pipe Maximum", "wkssvc.wkssvc_NetWkstaInfo1045.pipe_maximum", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9945         { &hf_wkssvc_wkssvc_NetrUseInfo2_password, 
9946           { "Password", "wkssvc.wkssvc_NetrUseInfo2.password", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9947         { &hf_wkssvc_wkssvc_NetrJoinDomain2_join_flags, 
9948           { "Join Flags", "wkssvc.wkssvc_NetrJoinDomain2.join_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
9949         { &hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr1, 
9950           { "Ctr1", "wkssvc.wkssvc_NetrUseEnumCtr.ctr1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9951         { &hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_level, 
9952           { "Level", "wkssvc.wkssvc_NetrWkstaUserSetInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9953         { &hf_wkssvc_wkssvc_NetrUseEnum_entries_read, 
9954           { "Entries Read", "wkssvc.wkssvc_NetrUseEnum.entries_read", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9955         { &hf_wkssvc_wkssvc_NetrSetPrimaryComputername_EncryptedPassword, 
9956           { "Encryptedpassword", "wkssvc.wkssvc_NetrSetPrimaryComputername.EncryptedPassword", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9957         { &hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_parm_err, 
9958           { "Parm Err", "wkssvc.wkssvc_NetrWkstaUserSetInfo.parm_err", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9959         { &hf_wkssvc_wkssvc_NetrUseEnum_info, 
9960           { "Info", "wkssvc.wkssvc_NetrUseEnum.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9961         { &hf_wkssvc_wkssvc_NetrSetPrimaryComputername_Account, 
9962           { "Account", "wkssvc.wkssvc_NetrSetPrimaryComputername.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9963         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown14, 
9964           { "Unknown14", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown14", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9965         { &hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr_user0, 
9966           { "User0", "wkssvc.wkssvc_NetWkstaEnumUsersCtr.user0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9967         { &hf_wkssvc_wkssvc_NetrGetJoinableOus_domain_name, 
9968           { "Domain Name", "wkssvc.wkssvc_NetrGetJoinableOus.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9969         { &hf_wkssvc_wkssvc_NetrUseInfo2_user_name, 
9970           { "User Name", "wkssvc.wkssvc_NetrUseInfo2.user_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9971         { &hf_wkssvc_wkssvc_NetWkstaInfo101_version_major, 
9972           { "Version Major", "wkssvc.wkssvc_NetWkstaInfo101.version_major", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9973         { &hf_wkssvc_wkssvc_NetrWkstaUserInfo1_other_domains, 
9974           { "Other Domains", "wkssvc.wkssvc_NetrWkstaUserInfo1.other_domains", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9975         { &hf_wkssvc_wkssvc_NetrGetJoinableOus_Account, 
9976           { "Account", "wkssvc.wkssvc_NetrGetJoinableOus.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9977         { &hf_wkssvc_wkssvc_NetWkstaTransportCtr_ctr0, 
9978           { "Ctr0", "wkssvc.wkssvc_NetWkstaTransportCtr.ctr0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9979         { &hf_wkssvc_wkssvc_NetWkstaInfo502_dgram_event_reset_freq, 
9980           { "Dgram Event Reset Freq", "wkssvc.wkssvc_NetWkstaInfo502.dgram_event_reset_freq", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9981         { &hf_wkssvc_wkssvc_NetWkstaInfo102_lan_root, 
9982           { "Lan Root", "wkssvc.wkssvc_NetWkstaInfo102.lan_root", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9983         { &hf_wkssvc_wkssvc_NetrWkstaUserInfo1_user_name, 
9984           { "User Name", "wkssvc.wkssvc_NetrWkstaUserInfo1.user_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9985         { &hf_wkssvc_wkssvc_NetWkstaInfo_info502, 
9986           { "Info502", "wkssvc.wkssvc_NetWkstaInfo.info502", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9987         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown32, 
9988           { "Unknown32", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown32", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9989         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown29, 
9990           { "Unknown29", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown29", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9991         { &hf_wkssvc_wkssvc_NetWkstaInfo1055_use_raw_write, 
9992           { "Use Raw Write", "wkssvc.wkssvc_NetWkstaInfo1055.use_raw_write", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9993         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1051, 
9994           { "Info1051", "wkssvc.wkssvc_NetWkstaInfo.info1051", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9995         { &hf_wkssvc_wkssvc_NetrValidateName2_name, 
9996           { "Name", "wkssvc.wkssvc_NetrValidateName2.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9997         { &hf_wkssvc_wkssvc_NetWkstaInfo502_dormant_file_limit, 
9998           { "Dormant File Limit", "wkssvc.wkssvc_NetWkstaInfo502.dormant_file_limit", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9999         { &hf_wkssvc_wkssvc_NetWkstaInfo502_maximum_collection_count, 
10000           { "Maximum Collection Count", "wkssvc.wkssvc_NetWkstaInfo502.maximum_collection_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10001         { &hf_wkssvc_wkssvc_NetrMessageBufferSend_server_name, 
10002           { "Server Name", "wkssvc.wkssvc_NetrMessageBufferSend.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10003         { &hf_wkssvc_wkssvc_NetWkstaInfo502_use_write_raw_data, 
10004           { "Use Write Raw Data", "wkssvc.wkssvc_NetWkstaInfo502.use_write_raw_data", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10005         { &hf_wkssvc_wkssvc_NetrEnumerateComputerNames_Reserved, 
10006           { "Reserved", "wkssvc.wkssvc_NetrEnumerateComputerNames.Reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10007         { &hf_wkssvc_wkssvc_NetWkstaInfo502_size_char_buf, 
10008           { "Size Char Buf", "wkssvc.wkssvc_NetWkstaInfo502.size_char_buf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10009         { &hf_wkssvc_wkssvc_NetWkstaTransportCtr0_array, 
10010           { "Array", "wkssvc.wkssvc_NetWkstaTransportCtr0.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10011         { &hf_wkssvc_wkssvc_NetrEnumerateComputerNames_name_type, 
10012           { "Name Type", "wkssvc.wkssvc_NetrEnumerateComputerNames.name_type", FT_UINT16, BASE_DEC, VALS(wkssvc_wkssvc_ComputerNameType_vals), 0, NULL, HFILL }},
10013         { &hf_wkssvc_wkssvc_NetrUseAdd_parm_err, 
10014           { "Parm Err", "wkssvc.wkssvc_NetrUseAdd.parm_err", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10015         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown9, 
10016           { "Unknown9", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown9", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10017         { &hf_wkssvc_wkssvc_NetrGetJoinableOus2_num_ous, 
10018           { "Num Ous", "wkssvc.wkssvc_NetrGetJoinableOus2.num_ous", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10019         { &hf_wkssvc_wkssvc_NetrRenameMachineInDomain_server_name, 
10020           { "Server Name", "wkssvc.wkssvc_NetrRenameMachineInDomain.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10021         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown38, 
10022           { "Unknown38", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown38", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10023         { &hf_wkssvc_wkssvc_NetrWkstaUserInfo1101_other_domains, 
10024           { "Other Domains", "wkssvc.wkssvc_NetrWkstaUserInfo1101.other_domains", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10025         { &hf_wkssvc_wkssvc_NetWkstaGetInfo_level, 
10026           { "Level", "wkssvc.wkssvc_NetWkstaGetInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10027         { &hf_wkssvc_wkssvc_NetrUseInfo1_ref_count, 
10028           { "Ref Count", "wkssvc.wkssvc_NetrUseInfo1.ref_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10029         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown4, 
10030           { "Unknown4", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown4", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10031         { &hf_wkssvc_wkssvc_NetrJoinDomain2_domain_name, 
10032           { "Domain Name", "wkssvc.wkssvc_NetrJoinDomain2.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10033         { &hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr2, 
10034           { "Ctr2", "wkssvc.wkssvc_NetrUseEnumCtr.ctr2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10035         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown3, 
10036           { "Unknown3", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown3", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10037         { &hf_wkssvc_wkssvc_NetrJoinDomain_join_flags, 
10038           { "Join Flags", "wkssvc.wkssvc_NetrJoinDomain.join_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
10039         { &hf_wkssvc_wkssvc_NetrUseDel_use_name, 
10040           { "Use Name", "wkssvc.wkssvc_NetrUseDel.use_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10041         { &hf_wkssvc_wkssvc_NetWkstaInfo502_buf_files_deny_write, 
10042           { "Buf Files Deny Write", "wkssvc.wkssvc_NetWkstaInfo502.buf_files_deny_write", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10043         { &hf_wkssvc_wkssvc_NetrUseGetInfo_use_name, 
10044           { "Use Name", "wkssvc.wkssvc_NetrUseGetInfo.use_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10045         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1060, 
10046           { "Info1060", "wkssvc.wkssvc_NetWkstaInfo.info1060", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10047         { &hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_unknown4, 
10048           { "Unknown4", "wkssvc.wkssvc_NetrWorkstationStatisticsGet.unknown4", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10049         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1057, 
10050           { "Info1057", "wkssvc.wkssvc_NetWkstaInfo.info1057", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10051         { &hf_wkssvc_wkssvc_NetWkstaTransportInfo_level, 
10052           { "Level", "wkssvc.wkssvc_NetWkstaTransportInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10053         { &hf_wkssvc_wkssvc_NetWkstaTransportInfo0_name, 
10054           { "Name", "wkssvc.wkssvc_NetWkstaTransportInfo0.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10055         { &hf_wkssvc_wkssvc_NetrUseEnumCtr1_array, 
10056           { "Array", "wkssvc.wkssvc_NetrUseEnumCtr1.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10057         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown20, 
10058           { "Unknown20", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown20", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10059         { &hf_wkssvc_wkssvc_NetrUseEnum_server_name, 
10060           { "Server Name", "wkssvc.wkssvc_NetrUseEnum.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10061         { &hf_wkssvc_lsa_String_name_size, 
10062           { "Name Size", "wkssvc.lsa_String.name_size", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
10063         { &hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr1_entries_read, 
10064           { "Entries Read", "wkssvc.wkssvc_NetWkstaEnumUsersCtr1.entries_read", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10065         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown37, 
10066           { "Unknown37", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown37", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10067         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1058, 
10068           { "Info1058", "wkssvc.wkssvc_NetWkstaInfo.info1058", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10069         { &hf_wkssvc_lsa_String_name_len, 
10070           { "Name Len", "wkssvc.lsa_String.name_len", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
10071         { &hf_wkssvc_wkssvc_NetrUseGetInfo_server_name, 
10072           { "Server Name", "wkssvc.wkssvc_NetrUseGetInfo.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10073         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE, 
10074           { "Wkssvc Join Flags Account Delete", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE_tfs), ( 0x00000004 ), NULL, HFILL }},
10075         { &hf_wkssvc_wkssvc_NetWkstaInfo1043_lock_maximum, 
10076           { "Lock Maximum", "wkssvc.wkssvc_NetWkstaInfo1043.lock_maximum", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10077         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown24, 
10078           { "Unknown24", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown24", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10079         { &hf_wkssvc_wkssvc_NetWkstaInfo102_domain_name, 
10080           { "Domain Name", "wkssvc.wkssvc_NetWkstaInfo102.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10081         { &hf_wkssvc_wkssvc_NetrUseDel_force_cond, 
10082           { "Force Cond", "wkssvc.wkssvc_NetrUseDel.force_cond", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10083         { &hf_wkssvc_wkssvc_NetWkstaEnumUsers_resume_handle, 
10084           { "Resume Handle", "wkssvc.wkssvc_NetWkstaEnumUsers.resume_handle", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10085         { &hf_wkssvc_wkssvc_NetrUseEnumCtr0_count, 
10086           { "Count", "wkssvc.wkssvc_NetrUseEnumCtr0.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10087         { &hf_wkssvc_wkssvc_NetWkstaInfo1053_utilize_nt_caching, 
10088           { "Utilize Nt Caching", "wkssvc.wkssvc_NetWkstaInfo1053.utilize_nt_caching", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10089         { &hf_wkssvc_wkssvc_NetWkstaInfo502_num_srv_announce_buffers, 
10090           { "Num Srv Announce Buffers", "wkssvc.wkssvc_NetWkstaInfo502.num_srv_announce_buffers", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10091         { &hf_wkssvc_wkssvc_NetWkstaInfo100_platform_id, 
10092           { "Platform Id", "wkssvc.wkssvc_NetWkstaInfo100.platform_id", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10093         { &hf_wkssvc_wkssvc_NetrSetPrimaryComputername_primary_name, 
10094           { "Primary Name", "wkssvc.wkssvc_NetrSetPrimaryComputername.primary_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10095         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown36, 
10096           { "Unknown36", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown36", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10097         { &hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info0, 
10098           { "Info0", "wkssvc.wkssvc_NetrUseGetInfoCtr.info0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10099         { &hf_wkssvc_wkssvc_NetrUseGetInfo_ctr, 
10100           { "Ctr", "wkssvc.wkssvc_NetrUseGetInfo.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10101         { &hf_wkssvc_wkssvc_NetrUseInfo3_unknown2, 
10102           { "Unknown2", "wkssvc.wkssvc_NetrUseInfo3.unknown2", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10103         { &hf_wkssvc_wkssvc_NetrWkstaUserInfo_info1, 
10104           { "Info1", "wkssvc.wkssvc_NetrWkstaUserInfo.info1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10105         { &hf_wkssvc_wkssvc_NetWkstaInfo1048_use_opportunistic_locking, 
10106           { "Use Opportunistic Locking", "wkssvc.wkssvc_NetWkstaInfo1048.use_opportunistic_locking", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10107         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown27, 
10108           { "Unknown27", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown27", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10109         { &hf_wkssvc_wkssvc_NetWkstaTransportInfo0_vc_count, 
10110           { "Vc Count", "wkssvc.wkssvc_NetWkstaTransportInfo0.vc_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10111         { &hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_EncryptedPassword, 
10112           { "Encryptedpassword", "wkssvc.wkssvc_NetrRemoveAlternateComputerName.EncryptedPassword", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10113         { &hf_wkssvc_wkssvc_NetrAddAlternateComputerName_Account, 
10114           { "Account", "wkssvc.wkssvc_NetrAddAlternateComputerName.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10115         { &hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_info, 
10116           { "Info", "wkssvc.wkssvc_NetrWkstaUserGetInfo.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10117         { &hf_wkssvc_wkssvc_NetWkstaEnumUsers_entries_read, 
10118           { "Entries Read", "wkssvc.wkssvc_NetWkstaEnumUsers.entries_read", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10119         { &hf_wkssvc_wkssvc_NetWkstaEnumUsers_prefmaxlen, 
10120           { "Prefmaxlen", "wkssvc.wkssvc_NetWkstaEnumUsers.prefmaxlen", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10121         { &hf_wkssvc_wkssvc_NetrWkstaUserInfo1_logon_domain, 
10122           { "Logon Domain", "wkssvc.wkssvc_NetrWkstaUserInfo1.logon_domain", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10123         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown16, 
10124           { "Unknown16", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown16", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10125         { &hf_wkssvc_wkssvc_NetWkstaInfo502_log_election_packets, 
10126           { "Log Election Packets", "wkssvc.wkssvc_NetWkstaInfo502.log_election_packets", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10127         { &hf_wkssvc_wkssvc_NetWkstaInfo502_use_raw_read, 
10128           { "Use Raw Read", "wkssvc.wkssvc_NetWkstaInfo502.use_raw_read", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10129         { &hf_wkssvc_wkssvc_NetrGetJoinableOus_unknown, 
10130           { "Unknown", "wkssvc.wkssvc_NetrGetJoinableOus.unknown", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10131         { &hf_wkssvc_wkssvc_NetrSetPrimaryComputername_Reserved, 
10132           { "Reserved", "wkssvc.wkssvc_NetrSetPrimaryComputername.Reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10133         { &hf_wkssvc_wkssvc_NetWkstaInfo1027_errorlog_sz, 
10134           { "Errorlog Sz", "wkssvc.wkssvc_NetWkstaInfo1027.errorlog_sz", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10135         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1052, 
10136           { "Info1052", "wkssvc.wkssvc_NetWkstaInfo.info1052", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10137         { &hf_wkssvc_wkssvc_NetWkstaInfo1012_maximum_collection_count, 
10138           { "Maximum Collection Count", "wkssvc.wkssvc_NetWkstaInfo1012.maximum_collection_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10139         { &hf_wkssvc_wkssvc_NetrJoinDomain2_admin_account, 
10140           { "Admin Account", "wkssvc.wkssvc_NetrJoinDomain2.admin_account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10141         { &hf_wkssvc_wkssvc_NetrUseEnumCtr_ctr0, 
10142           { "Ctr0", "wkssvc.wkssvc_NetrUseEnumCtr.ctr0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10143         { &hf_wkssvc_wkssvc_NetWkstaInfo1050_use_close_behind, 
10144           { "Use Close Behind", "wkssvc.wkssvc_NetWkstaInfo1050.use_close_behind", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10145         { &hf_wkssvc_wkssvc_NetWkstaInfo502_use_unlock_behind, 
10146           { "Use Unlock Behind", "wkssvc.wkssvc_NetWkstaInfo502.use_unlock_behind", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10147         { &hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr_user1, 
10148           { "User1", "wkssvc.wkssvc_NetWkstaEnumUsersCtr.user1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10149         { &hf_wkssvc_wkssvc_NetWkstaInfo102_version_minor, 
10150           { "Version Minor", "wkssvc.wkssvc_NetWkstaInfo102.version_minor", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10151         { &hf_wkssvc_wkssvc_ComputerNamesCtr_count, 
10152           { "Count", "wkssvc.wkssvc_ComputerNamesCtr.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10153         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1048, 
10154           { "Info1048", "wkssvc.wkssvc_NetWkstaInfo.info1048", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10155         { &hf_wkssvc_wkssvc_NetWkstaInfo1018_session_timeout, 
10156           { "Session Timeout", "wkssvc.wkssvc_NetWkstaInfo1018.session_timeout", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10157         { &hf_wkssvc_wkssvc_NetWkstaInfo502_keep_connection, 
10158           { "Keep Connection", "wkssvc.wkssvc_NetWkstaInfo502.keep_connection", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10159         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown31, 
10160           { "Unknown31", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown31", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10161         { &hf_wkssvc_wkssvc_NetWkstaInfo502_max_commands, 
10162           { "Max Commands", "wkssvc.wkssvc_NetWkstaInfo502.max_commands", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10163         { &hf_wkssvc_wkssvc_NetWkstaInfo502_lock_quota, 
10164           { "Lock Quota", "wkssvc.wkssvc_NetWkstaInfo502.lock_quota", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10165         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown40, 
10166           { "Unknown40", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown40", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10167         { &hf_wkssvc_wkssvc_NetWkstaInfo1033_max_threads, 
10168           { "Max Threads", "wkssvc.wkssvc_NetWkstaInfo1033.max_threads", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10169         { &hf_wkssvc_wkssvc_NetrUseAdd_level, 
10170           { "Level", "wkssvc.wkssvc_NetrUseAdd.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10171         { &hf_wkssvc_wkssvc_renameflags_WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE, 
10172           { "Wkssvc Join Flags Account Create", "wkssvc.wkssvc_renameflags.WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE", FT_BOOLEAN, 32, TFS(&wkssvc_renameflags_WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE_tfs), ( 0x00000002 ), NULL, HFILL }},
10173         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown25, 
10174           { "Unknown25", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown25", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10175         { &hf_wkssvc_wkssvc_NetrUseDel_server_name, 
10176           { "Server Name", "wkssvc.wkssvc_NetrUseDel.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10177         { &hf_wkssvc_wkssvc_NetrWkstaUserInfo1_logon_server, 
10178           { "Logon Server", "wkssvc.wkssvc_NetrWkstaUserInfo1.logon_server", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10179         { &hf_wkssvc_wkssvc_PasswordBuffer_data, 
10180           { "Data", "wkssvc.wkssvc_PasswordBuffer.data", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10181         { &hf_wkssvc_wkssvc_NetrUseInfo3_unknown1, 
10182           { "Unknown1", "wkssvc.wkssvc_NetrUseInfo3.unknown1", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10183         { &hf_wkssvc_wkssvc_NetWkstaInfo502_cache_file_timeout, 
10184           { "Cache File Timeout", "wkssvc.wkssvc_NetWkstaInfo502.cache_file_timeout", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10185         { &hf_wkssvc_wkssvc_NetWkstaInfo502_num_mailslot_buffers, 
10186           { "Num Mailslot Buffers", "wkssvc.wkssvc_NetWkstaInfo502.num_mailslot_buffers", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10187         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1055, 
10188           { "Info1055", "wkssvc.wkssvc_NetWkstaInfo.info1055", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10189         { &hf_wkssvc_wkssvc_NetrRenameMachineInDomain_password, 
10190           { "Password", "wkssvc.wkssvc_NetrRenameMachineInDomain.password", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10191         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown13, 
10192           { "Unknown13", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown13", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10193         { &hf_wkssvc_wkssvc_NetWkstaInfo502_utilize_nt_caching, 
10194           { "Utilize Nt Caching", "wkssvc.wkssvc_NetWkstaInfo502.utilize_nt_caching", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10195         { &hf_wkssvc_wkssvc_NetWkstaInfo1061_use_512_byte_max_transfer, 
10196           { "Use 512 Byte Max Transfer", "wkssvc.wkssvc_NetWkstaInfo1061.use_512_byte_max_transfer", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10197         { &hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_info, 
10198           { "Info", "wkssvc.wkssvc_NetrWorkstationStatisticsGet.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10199         { &hf_wkssvc_wkssvc_NetWkstaSetInfo_server_name, 
10200           { "Server Name", "wkssvc.wkssvc_NetWkstaSetInfo.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10201         { &hf_wkssvc_wkssvc_NetrJoinDomain2_encrypted_password, 
10202           { "Encrypted Password", "wkssvc.wkssvc_NetrJoinDomain2.encrypted_password", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10203         { &hf_wkssvc_wkssvc_NetrUseEnum_prefmaxlen, 
10204           { "Prefmaxlen", "wkssvc.wkssvc_NetrUseEnum.prefmaxlen", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10205         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown2, 
10206           { "Unknown2", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown2", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10207         { &hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_server_name, 
10208           { "Server Name", "wkssvc.wkssvc_NetrWorkstationStatisticsGet.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10209         { &hf_wkssvc_wkssvc_NetrWkstaTransportDel_server_name, 
10210           { "Server Name", "wkssvc.wkssvc_NetrWkstaTransportDel.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10211         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DEFER_SPN, 
10212           { "Wkssvc Join Flags Defer Spn", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_DEFER_SPN", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DEFER_SPN_tfs), ( 0x00000100 ), NULL, HFILL }},
10213         { &hf_wkssvc_wkssvc_NetWkstaInfo1010_char_wait, 
10214           { "Char Wait", "wkssvc.wkssvc_NetWkstaInfo1010.char_wait", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10215         { &hf_wkssvc_wkssvc_NetrRenameMachineInDomain_RenameOptions, 
10216           { "Renameoptions", "wkssvc.wkssvc_NetrRenameMachineInDomain.RenameOptions", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
10217         { &hf_wkssvc_wkssvc_NetWkstaEnumUsers_server_name, 
10218           { "Server Name", "wkssvc.wkssvc_NetWkstaEnumUsers.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10219         { &hf_wkssvc_wkssvc_NetrRenameMachineInDomain_Account, 
10220           { "Account", "wkssvc.wkssvc_NetrRenameMachineInDomain.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10221         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown23, 
10222           { "Unknown23", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown23", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10223         { &hf_wkssvc_wkssvc_NetrUseEnumInfo_ctr, 
10224           { "Ctr", "wkssvc.wkssvc_NetrUseEnumInfo.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10225         { &hf_wkssvc_wkssvc_NetWkstaEnumUsersInfo_ctr, 
10226           { "Ctr", "wkssvc.wkssvc_NetWkstaEnumUsersInfo.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10227         { &hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr0_user0, 
10228           { "User0", "wkssvc.wkssvc_NetWkstaEnumUsersCtr0.user0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10229         { &hf_wkssvc_lsa_String_name, 
10230           { "Name", "wkssvc.lsa_String.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10231         { &hf_wkssvc_wkssvc_NetWkstaInfo502_buf_read_only_files, 
10232           { "Buf Read Only Files", "wkssvc.wkssvc_NetWkstaInfo502.buf_read_only_files", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10233         { &hf_wkssvc_wkssvc_NetrUnjoinDomain_server_name, 
10234           { "Server Name", "wkssvc.wkssvc_NetrUnjoinDomain.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10235         { &hf_wkssvc_wkssvc_NetWkstaInfo101_lan_root, 
10236           { "Lan Root", "wkssvc.wkssvc_NetWkstaInfo101.lan_root", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10237         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_TYPE, 
10238           { "Wkssvc Join Flags Join Type", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_JOIN_TYPE", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_TYPE_tfs), ( 0x00000001 ), NULL, HFILL }},
10239         { &hf_wkssvc_wkssvc_NetWkstaInfo502_buf_named_pipes, 
10240           { "Buf Named Pipes", "wkssvc.wkssvc_NetWkstaInfo502.buf_named_pipes", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10241         { &hf_wkssvc_wkssvc_NetrUseInfo2_ref_count, 
10242           { "Ref Count", "wkssvc.wkssvc_NetrUseInfo2.ref_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10243         { &hf_wkssvc_wkssvc_NetWkstaInfo1044_pipe_increment, 
10244           { "Pipe Increment", "wkssvc.wkssvc_NetWkstaInfo1044.pipe_increment", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10245         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED, 
10246           { "Wkssvc Join Flags Domain Join If Joined", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED_tfs), ( 0x00000020 ), NULL, HFILL }},
10247         { &hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_AlternateMachineNameToRemove, 
10248           { "Alternatemachinenametoremove", "wkssvc.wkssvc_NetrRemoveAlternateComputerName.AlternateMachineNameToRemove", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10249         { &hf_wkssvc_wkssvc_NetrUseEnumCtr2_array, 
10250           { "Array", "wkssvc.wkssvc_NetrUseEnumCtr2.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10251         { &hf_wkssvc_wkssvc_NetWkstaGetInfo_info, 
10252           { "Info", "wkssvc.wkssvc_NetWkstaGetInfo.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10253         { &hf_wkssvc_wkssvc_NetWkstaInfo502_max_illegal_dgram_events, 
10254           { "Max Illegal Dgram Events", "wkssvc.wkssvc_NetWkstaInfo502.max_illegal_dgram_events", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10255         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1047, 
10256           { "Info1047", "wkssvc.wkssvc_NetWkstaInfo.info1047", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10257         { &hf_wkssvc_wkssvc_NetrValidateName_Password, 
10258           { "Password", "wkssvc.wkssvc_NetrValidateName.Password", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10259         { &hf_wkssvc_wkssvc_NetWkstaInfo1028_print_buf_time, 
10260           { "Print Buf Time", "wkssvc.wkssvc_NetWkstaInfo1028.print_buf_time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10261         { &hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info3, 
10262           { "Info3", "wkssvc.wkssvc_NetrUseGetInfoCtr.info3", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10263         { &hf_wkssvc_wkssvc_NetrGetJoinableOus2_Account, 
10264           { "Account", "wkssvc.wkssvc_NetrGetJoinableOus2.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10265         { &hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_RenameOptions, 
10266           { "Renameoptions", "wkssvc.wkssvc_NetrRenameMachineInDomain2.RenameOptions", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
10267         { &hf_wkssvc_wkssvc_NetrWkstaUserInfo_info1101, 
10268           { "Info1101", "wkssvc.wkssvc_NetrWkstaUserInfo.info1101", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10269         { &hf_wkssvc_wkssvc_NetrJoinDomain2_account_name, 
10270           { "Account Name", "wkssvc.wkssvc_NetrJoinDomain2.account_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10271         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown17, 
10272           { "Unknown17", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown17", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10273         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1013, 
10274           { "Info1013", "wkssvc.wkssvc_NetWkstaInfo.info1013", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10275         { &hf_wkssvc_wkssvc_NetrValidateName2_server_name, 
10276           { "Server Name", "wkssvc.wkssvc_NetrValidateName2.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10277         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown34, 
10278           { "Unknown34", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown34", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10279         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1018, 
10280           { "Info1018", "wkssvc.wkssvc_NetWkstaInfo.info1018", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10281         { &hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr0_entries_read, 
10282           { "Entries Read", "wkssvc.wkssvc_NetWkstaEnumUsersCtr0.entries_read", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10283         { &hf_wkssvc_wkssvc_NetWkstaInfo1057_use_encryption, 
10284           { "Use Encryption", "wkssvc.wkssvc_NetWkstaInfo1057.use_encryption", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10285         { &hf_wkssvc_wkssvc_NetrUseInfo1_status, 
10286           { "Status", "wkssvc.wkssvc_NetrUseInfo1.status", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10287         { &hf_wkssvc_wkssvc_NetWkstaTransportInfo0_wan_link, 
10288           { "Wan Link", "wkssvc.wkssvc_NetWkstaTransportInfo0.wan_link", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10289         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown35, 
10290           { "Unknown35", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown35", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10291         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown7, 
10292           { "Unknown7", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown7", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10293         { &hf_wkssvc_wkssvc_NetWkstaSetInfo_parm_error, 
10294           { "Parm Error", "wkssvc.wkssvc_NetWkstaSetInfo.parm_error", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10295         { &hf_wkssvc_wkssvc_NetrUseInfo0_remote, 
10296           { "Remote", "wkssvc.wkssvc_NetrUseInfo0.remote", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10297         { &hf_wkssvc_wkssvc_NetrWkstaUserInfo_info0, 
10298           { "Info0", "wkssvc.wkssvc_NetrWkstaUserInfo.info0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10299         { &hf_wkssvc_wkssvc_NetWkstaInfo1060_force_core_create_mode, 
10300           { "Force Core Create Mode", "wkssvc.wkssvc_NetWkstaInfo1060.force_core_create_mode", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10301         { &hf_wkssvc_wkssvc_NetrWkstaUserInfo0_user_name, 
10302           { "User Name", "wkssvc.wkssvc_NetrWkstaUserInfo0.user_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10303         { &hf_wkssvc_wkssvc_NetWkstaInfo_info101, 
10304           { "Info101", "wkssvc.wkssvc_NetWkstaInfo.info101", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10305         { &hf_wkssvc_wkssvc_NetWkstaTransportInfo0_address, 
10306           { "Address", "wkssvc.wkssvc_NetWkstaTransportInfo0.address", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10307         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown39, 
10308           { "Unknown39", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown39", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10309         { &hf_wkssvc_wkssvc_NetrUseEnumCtr2_count, 
10310           { "Count", "wkssvc.wkssvc_NetrUseEnumCtr2.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10311         { &hf_wkssvc_wkssvc_NetrGetJoinInformation_name_buffer, 
10312           { "Name Buffer", "wkssvc.wkssvc_NetrGetJoinInformation.name_buffer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10313         { &hf_wkssvc_wkssvc_NetrRenameMachineInDomain_NewMachineName, 
10314           { "Newmachinename", "wkssvc.wkssvc_NetrRenameMachineInDomain.NewMachineName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10315         { &hf_wkssvc_wkssvc_NetWkstaInfo502_lock_maximum, 
10316           { "Lock Maximum", "wkssvc.wkssvc_NetWkstaInfo502.lock_maximum", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10317         { &hf_wkssvc_wkssvc_NetrUnjoinDomain_Account, 
10318           { "Account", "wkssvc.wkssvc_NetrUnjoinDomain.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10319         { &hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_level, 
10320           { "Level", "wkssvc.wkssvc_NetrWkstaUserGetInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10321         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1049, 
10322           { "Info1049", "wkssvc.wkssvc_NetWkstaInfo.info1049", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10323         { &hf_wkssvc_wkssvc_NetrGetJoinableOus_num_ous, 
10324           { "Num Ous", "wkssvc.wkssvc_NetrGetJoinableOus.num_ous", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10325         { &hf_wkssvc_wkssvc_NetrUseInfo2_asg_type, 
10326           { "Asg Type", "wkssvc.wkssvc_NetrUseInfo2.asg_type", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10327         { &hf_wkssvc_wkssvc_NetrUseInfo1_password, 
10328           { "Password", "wkssvc.wkssvc_NetrUseInfo1.password", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10329         { &hf_wkssvc_wkssvc_NetrJoinDomain_unknown, 
10330           { "Unknown", "wkssvc.wkssvc_NetrJoinDomain.unknown", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10331         { &hf_wkssvc_wkssvc_NetrUseInfo1_local, 
10332           { "Local", "wkssvc.wkssvc_NetrUseInfo1.local", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10333         { &hf_wkssvc_wkssvc_NetWkstaInfo1054_use_raw_read, 
10334           { "Use Raw Read", "wkssvc.wkssvc_NetWkstaInfo1054.use_raw_read", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10335         { &hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_server_name, 
10336           { "Server Name", "wkssvc.wkssvc_NetrRenameMachineInDomain2.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10337         { &hf_wkssvc_wkssvc_NetWkstaInfo1023_size_char_buf, 
10338           { "Size Char Buf", "wkssvc.wkssvc_NetWkstaInfo1023.size_char_buf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10339         { &hf_wkssvc_wkssvc_NetWkstaInfo100_domain_name, 
10340           { "Domain Name", "wkssvc.wkssvc_NetWkstaInfo100.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10341         { &hf_wkssvc_wkssvc_NetWkstaTransportEnum_max_buffer, 
10342           { "Max Buffer", "wkssvc.wkssvc_NetWkstaTransportEnum.max_buffer", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10343         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT, 
10344           { "Wkssvc Join Flags Join Dc Account", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT_tfs), ( 0x00000200 ), NULL, HFILL }},
10345         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1042, 
10346           { "Info1042", "wkssvc.wkssvc_NetWkstaInfo.info1042", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10347         { &hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_unknown, 
10348           { "Unknown", "wkssvc.wkssvc_NetrWkstaUserSetInfo.unknown", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10349         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1045, 
10350           { "Info1045", "wkssvc.wkssvc_NetWkstaInfo.info1045", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10351         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1011, 
10352           { "Info1011", "wkssvc.wkssvc_NetWkstaInfo.info1011", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10353         { &hf_wkssvc_wkssvc_NetWkstaInfo1049_use_unlock_behind, 
10354           { "Use Unlock Behind", "wkssvc.wkssvc_NetWkstaInfo1049.use_unlock_behind", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10355         { &hf_wkssvc_wkssvc_NetWkstaInfo1062_read_ahead_throughput, 
10356           { "Read Ahead Throughput", "wkssvc.wkssvc_NetWkstaInfo1062.read_ahead_throughput", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10357         { &hf_wkssvc_wkssvc_NetWkstaInfo1056_use_write_raw_data, 
10358           { "Use Write Raw Data", "wkssvc.wkssvc_NetWkstaInfo1056.use_write_raw_data", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10359         { &hf_wkssvc_wkssvc_NetrWkstaTransportAdd_info0, 
10360           { "Info0", "wkssvc.wkssvc_NetrWkstaTransportAdd.info0", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10361         { &hf_wkssvc_wkssvc_NetrValidateName_name, 
10362           { "Name", "wkssvc.wkssvc_NetrValidateName.name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10363         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown18, 
10364           { "Unknown18", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown18", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10365         { &hf_wkssvc_wkssvc_NetrMessageBufferSend_message_size, 
10366           { "Message Size", "wkssvc.wkssvc_NetrMessageBufferSend.message_size", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10367         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_UNSECURE, 
10368           { "Wkssvc Join Flags Join Unsecure", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_JOIN_UNSECURE", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_UNSECURE_tfs), ( 0x00000040 ), NULL, HFILL }},
10369         { &hf_wkssvc_wkssvc_ComputerNamesCtr_computer_name, 
10370           { "Computer Name", "wkssvc.wkssvc_ComputerNamesCtr.computer_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10371         { &hf_wkssvc_wkssvc_NetrValidateName2_name_type, 
10372           { "Name Type", "wkssvc.wkssvc_NetrValidateName2.name_type", FT_UINT16, BASE_DEC, VALS(wkssvc_wkssvc_NetValidateNameType_vals), 0, NULL, HFILL }},
10373         { &hf_wkssvc_wkssvc_NetrValidateName2_Account, 
10374           { "Account", "wkssvc.wkssvc_NetrValidateName2.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10375         { &hf_wkssvc_wkssvc_NetrGetJoinableOus_server_name, 
10376           { "Server Name", "wkssvc.wkssvc_NetrGetJoinableOus.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10377         { &hf_wkssvc_wkssvc_NetWkstaTransportEnum_total_entries, 
10378           { "Total Entries", "wkssvc.wkssvc_NetWkstaTransportEnum.total_entries", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10379         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE, 
10380           { "Wkssvc Join Flags Win9x Upgrade", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE_tfs), ( 0x00000010 ), NULL, HFILL }},
10381         { &hf_wkssvc_wkssvc_NetrValidateName2_EncryptedPassword, 
10382           { "Encryptedpassword", "wkssvc.wkssvc_NetrValidateName2.EncryptedPassword", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10383         { &hf_wkssvc_wkssvc_NetrWkstaTransportDel_unknown3, 
10384           { "Unknown3", "wkssvc.wkssvc_NetrWkstaTransportDel.unknown3", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10385         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1062, 
10386           { "Info1062", "wkssvc.wkssvc_NetWkstaInfo.info1062", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10387         { &hf_wkssvc_wkssvc_NetrWkstaUserGetInfo_unknown, 
10388           { "Unknown", "wkssvc.wkssvc_NetrWkstaUserGetInfo.unknown", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10389         { &hf_wkssvc_wkssvc_NetrAddAlternateComputerName_server_name, 
10390           { "Server Name", "wkssvc.wkssvc_NetrAddAlternateComputerName.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10391         { &hf_wkssvc_wkssvc_NetrJoinDomain2_server_name, 
10392           { "Server Name", "wkssvc.wkssvc_NetrJoinDomain2.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10393         { &hf_wkssvc_wkssvc_NetWkstaInfo_info102, 
10394           { "Info102", "wkssvc.wkssvc_NetWkstaInfo.info102", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10395         { &hf_wkssvc_wkssvc_NetrJoinDomain_Account, 
10396           { "Account", "wkssvc.wkssvc_NetrJoinDomain.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10397         { &hf_wkssvc_wkssvc_NetWkstaInfo1046_dormant_file_limit, 
10398           { "Dormant File Limit", "wkssvc.wkssvc_NetWkstaInfo1046.dormant_file_limit", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10399         { &hf_wkssvc_wkssvc_NetrWkstaTransportAdd_parm_err, 
10400           { "Parm Err", "wkssvc.wkssvc_NetrWkstaTransportAdd.parm_err", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10401         { &hf_wkssvc_wkssvc_NetWkstaInfo102_version_major, 
10402           { "Version Major", "wkssvc.wkssvc_NetWkstaInfo102.version_major", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10403         { &hf_wkssvc_platform_id, 
10404           { "Platform Id", "wkssvc.platform_id", FT_UINT32, BASE_DEC, VALS(srvsvc_srvsvc_PlatformId_vals), 0, NULL, HFILL }},
10405         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown22, 
10406           { "Unknown22", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown22", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10407         { &hf_wkssvc_wkssvc_NetrUseInfo1_use_count, 
10408           { "Use Count", "wkssvc.wkssvc_NetrUseInfo1.use_count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10409         { &hf_wkssvc_wkssvc_NetrUnjoinDomain2_server_name, 
10410           { "Server Name", "wkssvc.wkssvc_NetrUnjoinDomain2.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10411         { &hf_wkssvc_wkssvc_NetWkstaInfo502_use_512_byte_max_transfer, 
10412           { "Use 512 Byte Max Transfer", "wkssvc.wkssvc_NetWkstaInfo502.use_512_byte_max_transfer", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10413         { &hf_wkssvc_wkssvc_NetWkstaTransportEnum_info, 
10414           { "Info", "wkssvc.wkssvc_NetWkstaTransportEnum.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10415         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1033, 
10416           { "Info1033", "wkssvc.wkssvc_NetWkstaInfo.info1033", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10417         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1046, 
10418           { "Info1046", "wkssvc.wkssvc_NetWkstaInfo.info1046", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10419         { &hf_wkssvc_wkssvc_NetWkstaSetInfo_info, 
10420           { "Info", "wkssvc.wkssvc_NetWkstaSetInfo.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10421         { &hf_wkssvc_wkssvc_NetrMessageBufferSend_message_sender_name, 
10422           { "Message Sender Name", "wkssvc.wkssvc_NetrMessageBufferSend.message_sender_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10423         { &hf_wkssvc_wkssvc_NetrUseInfo1_remote, 
10424           { "Remote", "wkssvc.wkssvc_NetrUseInfo1.remote", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10425         { &hf_wkssvc_wkssvc_NetrUseInfo2_domain_name, 
10426           { "Domain Name", "wkssvc.wkssvc_NetrUseInfo2.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10427         { &hf_wkssvc_wkssvc_NetrUseEnumCtr1_count, 
10428           { "Count", "wkssvc.wkssvc_NetrUseEnumCtr1.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10429         { &hf_wkssvc_wkssvc_NetWkstaInfo1047_cache_file_timeout, 
10430           { "Cache File Timeout", "wkssvc.wkssvc_NetWkstaInfo1047.cache_file_timeout", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10431         { &hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info2, 
10432           { "Info2", "wkssvc.wkssvc_NetrUseGetInfoCtr.info2", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10433         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown30, 
10434           { "Unknown30", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown30", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10435         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1028, 
10436           { "Info1028", "wkssvc.wkssvc_NetWkstaInfo.info1028", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10437         { &hf_wkssvc_wkssvc_NetWkstaInfo_info100, 
10438           { "Info100", "wkssvc.wkssvc_NetWkstaInfo.info100", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10439         { &hf_wkssvc_wkssvc_NetrLogonDomainNameDel_domain_name, 
10440           { "Domain Name", "wkssvc.wkssvc_NetrLogonDomainNameDel.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10441         { &hf_wkssvc_wkssvc_NetWkstaInfo1013_keep_connection, 
10442           { "Keep Connection", "wkssvc.wkssvc_NetWkstaInfo1013.keep_connection", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10443         { &hf_wkssvc_wkssvc_NetrEnumerateComputerNames_server_name, 
10444           { "Server Name", "wkssvc.wkssvc_NetrEnumerateComputerNames.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10445         { &hf_wkssvc_wkssvc_NetrWkstaUserSetInfo_info, 
10446           { "Info", "wkssvc.wkssvc_NetrWkstaUserSetInfo.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10447         { &hf_wkssvc_wkssvc_NetrMessageBufferSend_message_name, 
10448           { "Message Name", "wkssvc.wkssvc_NetrMessageBufferSend.message_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10449         { &hf_wkssvc_wkssvc_NetWkstaInfo502_session_timeout, 
10450           { "Session Timeout", "wkssvc.wkssvc_NetWkstaInfo502.session_timeout", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10451         { &hf_wkssvc_wkssvc_NetrUseEnumCtr0_array, 
10452           { "Array", "wkssvc.wkssvc_NetrUseEnumCtr0.array", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10453         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown6, 
10454           { "Unknown6", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown6", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10455         { &hf_wkssvc_wkssvc_NetWkstaTransportInfo_ctr, 
10456           { "Ctr", "wkssvc.wkssvc_NetWkstaTransportInfo.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10457         { &hf_wkssvc_wkssvc_NetWkstaInfo502_collection_time, 
10458           { "Collection Time", "wkssvc.wkssvc_NetWkstaInfo502.collection_time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10459         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1054, 
10460           { "Info1054", "wkssvc.wkssvc_NetWkstaInfo.info1054", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10461         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown10, 
10462           { "Unknown10", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown10", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10463         { &hf_wkssvc_wkssvc_NetWkstaInfo1032_wrk_heuristics, 
10464           { "Wrk Heuristics", "wkssvc.wkssvc_NetWkstaInfo1032.wrk_heuristics", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10465         { &hf_wkssvc_wkssvc_NetWkstaInfo101_version_minor, 
10466           { "Version Minor", "wkssvc.wkssvc_NetWkstaInfo101.version_minor", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10467         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED, 
10468           { "Wkssvc Join Flags Machine Pwd Passed", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED_tfs), ( 0x00000080 ), NULL, HFILL }},
10469         { &hf_wkssvc_wkssvc_NetrWkstaTransportAdd_level, 
10470           { "Level", "wkssvc.wkssvc_NetrWkstaTransportAdd.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10471         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown33, 
10472           { "Unknown33", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown33", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10473         { &hf_wkssvc_wkssvc_NetrEnumerateComputerNames_ctr, 
10474           { "Ctr", "wkssvc.wkssvc_NetrEnumerateComputerNames.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10475         { &hf_wkssvc_wkssvc_NetWkstaTransportEnum_server_name, 
10476           { "Server Name", "wkssvc.wkssvc_NetWkstaTransportEnum.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10477         { &hf_wkssvc_wkssvc_NetWkstaInfo502_max_threads, 
10478           { "Max Threads", "wkssvc.wkssvc_NetWkstaInfo502.max_threads", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10479         { &hf_wkssvc_wkssvc_NetWkstaInfo1042_lock_increment, 
10480           { "Lock Increment", "wkssvc.wkssvc_NetWkstaInfo1042.lock_increment", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10481         { &hf_wkssvc_wkssvc_NetrUseGetInfo_level, 
10482           { "Level", "wkssvc.wkssvc_NetrUseGetInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10483         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1050, 
10484           { "Info1050", "wkssvc.wkssvc_NetWkstaInfo.info1050", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10485         { &hf_wkssvc_wkssvc_NetWkstaInfo502_lock_increment, 
10486           { "Lock Increment", "wkssvc.wkssvc_NetWkstaInfo502.lock_increment", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10487         { &hf_wkssvc_wkssvc_NetrUseInfo2_local, 
10488           { "Local", "wkssvc.wkssvc_NetrUseInfo2.local", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10489         { &hf_wkssvc_wkssvc_NetrValidateName_server_name, 
10490           { "Server Name", "wkssvc.wkssvc_NetrValidateName.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10491         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1041, 
10492           { "Info1041", "wkssvc.wkssvc_NetWkstaInfo.info1041", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10493         { &hf_wkssvc_wkssvc_NetrUseInfo2_status, 
10494           { "Status", "wkssvc.wkssvc_NetrUseInfo2.status", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10495         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown12, 
10496           { "Unknown12", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown12", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10497         { &hf_wkssvc_wkssvc_NetrJoinDomain_account_ou, 
10498           { "Account Ou", "wkssvc.wkssvc_NetrJoinDomain.account_ou", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10499         { &hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_unknown3, 
10500           { "Unknown3", "wkssvc.wkssvc_NetrWorkstationStatisticsGet.unknown3", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10501         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown19, 
10502           { "Unknown19", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown19", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10503         { &hf_wkssvc_wkssvc_NetrAddAlternateComputerName_EncryptedPassword, 
10504           { "Encryptedpassword", "wkssvc.wkssvc_NetrAddAlternateComputerName.EncryptedPassword", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10505         { &hf_wkssvc_wkssvc_NetWkstaInfo1058_buf_files_deny_write, 
10506           { "Buf Files Deny Write", "wkssvc.wkssvc_NetWkstaInfo1058.buf_files_deny_write", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10507         { &hf_wkssvc_wkssvc_NetrUnjoinDomain2_account, 
10508           { "Account", "wkssvc.wkssvc_NetrUnjoinDomain2.account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10509         { &hf_wkssvc_wkssvc_NetrWorkstationStatisticsGet_unknown2, 
10510           { "Unknown2", "wkssvc.wkssvc_NetrWorkstationStatisticsGet.unknown2", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10511         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1043, 
10512           { "Info1043", "wkssvc.wkssvc_NetWkstaInfo.info1043", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10513         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown21, 
10514           { "Unknown21", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown21", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10515         { &hf_wkssvc_wkssvc_NetWkstaInfo102_server_name, 
10516           { "Server Name", "wkssvc.wkssvc_NetWkstaInfo102.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10517         { &hf_wkssvc_wkssvc_NetWkstaInfo502_use_encryption, 
10518           { "Use Encryption", "wkssvc.wkssvc_NetWkstaInfo502.use_encryption", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10519         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1059, 
10520           { "Info1059", "wkssvc.wkssvc_NetWkstaInfo.info1059", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10521         { &hf_wkssvc_wkssvc_NetrValidateName_name_type, 
10522           { "Name Type", "wkssvc.wkssvc_NetrValidateName.name_type", FT_UINT16, BASE_DEC, VALS(wkssvc_wkssvc_NetValidateNameType_vals), 0, NULL, HFILL }},
10523         { &hf_wkssvc_wkssvc_NetrMessageBufferSend_message_buffer, 
10524           { "Message Buffer", "wkssvc.wkssvc_NetrMessageBufferSend.message_buffer", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10525         { &hf_wkssvc_wkssvc_NetWkstaTransportCtr0_count, 
10526           { "Count", "wkssvc.wkssvc_NetWkstaTransportCtr0.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10527         { &hf_wkssvc_wkssvc_NetrUseEnumInfo_level, 
10528           { "Level", "wkssvc.wkssvc_NetrUseEnumInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10529         { &hf_wkssvc_wkssvc_NetWkstaInfo1041_lock_quota, 
10530           { "Lock Quota", "wkssvc.wkssvc_NetWkstaInfo1041.lock_quota", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10531         { &hf_wkssvc_wkssvc_NetrUseAdd_ctr, 
10532           { "Ctr", "wkssvc.wkssvc_NetrUseAdd.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10533         { &hf_wkssvc_wkssvc_NetrUseEnum_resume_handle, 
10534           { "Resume Handle", "wkssvc.wkssvc_NetrUseEnum.resume_handle", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10535         { &hf_wkssvc_wkssvc_NetWkstaInfo100_version_major, 
10536           { "Version Major", "wkssvc.wkssvc_NetWkstaInfo100.version_major", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10537         { &hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_Reserved, 
10538           { "Reserved", "wkssvc.wkssvc_NetrRemoveAlternateComputerName.Reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10539         { &hf_wkssvc_wkssvc_NetrUseAdd_server_name, 
10540           { "Server Name", "wkssvc.wkssvc_NetrUseAdd.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10541         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown11, 
10542           { "Unknown11", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown11", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10543         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1012, 
10544           { "Info1012", "wkssvc.wkssvc_NetWkstaInfo.info1012", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10545         { &hf_wkssvc_wkssvc_NetrUnjoinDomain_password, 
10546           { "Password", "wkssvc.wkssvc_NetrUnjoinDomain.password", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10547         { &hf_wkssvc_werror, 
10548           { "Windows Error", "wkssvc.werror", FT_UINT32, BASE_HEX, VALS(WERR_errors), 0, NULL, HFILL }},
10549         { &hf_wkssvc_wkssvc_NetrGetJoinableOus2_domain_name, 
10550           { "Domain Name", "wkssvc.wkssvc_NetrGetJoinableOus2.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10551         { &hf_wkssvc_wkssvc_NetWkstaInfo502_pipe_increment, 
10552           { "Pipe Increment", "wkssvc.wkssvc_NetWkstaInfo502.pipe_increment", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10553         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1044, 
10554           { "Info1044", "wkssvc.wkssvc_NetWkstaInfo.info1044", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10555         { &hf_wkssvc_wkssvc_NetrGetJoinableOus2_EncryptedPassword, 
10556           { "Encryptedpassword", "wkssvc.wkssvc_NetrGetJoinableOus2.EncryptedPassword", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10557         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1010, 
10558           { "Info1010", "wkssvc.wkssvc_NetWkstaInfo.info1010", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10559         { &hf_wkssvc_wkssvc_NetWkstaInfo1051_buf_named_pipes, 
10560           { "Buf Named Pipes", "wkssvc.wkssvc_NetWkstaInfo1051.buf_named_pipes", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10561         { &hf_wkssvc_wkssvc_NetWkstaInfo502_read_ahead_throughput, 
10562           { "Read Ahead Throughput", "wkssvc.wkssvc_NetWkstaInfo502.read_ahead_throughput", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10563         { &hf_wkssvc_wkssvc_NetrGetJoinableOus_ous, 
10564           { "Ous", "wkssvc.wkssvc_NetrGetJoinableOus.ous", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10565         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown5, 
10566           { "Unknown5", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown5", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10567         { &hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_NewMachineName, 
10568           { "Newmachinename", "wkssvc.wkssvc_NetrRenameMachineInDomain2.NewMachineName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10569         { &hf_wkssvc_wkssvc_NetrWkstaTransportDel_transport_name, 
10570           { "Transport Name", "wkssvc.wkssvc_NetrWkstaTransportDel.transport_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10571         { &hf_wkssvc_wkssvc_NetrUseInfo0_local, 
10572           { "Local", "wkssvc.wkssvc_NetrUseInfo0.local", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10573         { &hf_wkssvc_wkssvc_NetWkstaInfo502_use_raw_write, 
10574           { "Use Raw Write", "wkssvc.wkssvc_NetWkstaInfo502.use_raw_write", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10575         { &hf_wkssvc_wkssvc_NetrGetJoinableOus2_ous, 
10576           { "Ous", "wkssvc.wkssvc_NetrGetJoinableOus2.ous", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10577         { &hf_wkssvc_wkssvc_NetWkstaInfo101_server_name, 
10578           { "Server Name", "wkssvc.wkssvc_NetWkstaInfo101.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10579         { &hf_wkssvc_wkssvc_NetrGetJoinableOus2_server_name, 
10580           { "Server Name", "wkssvc.wkssvc_NetrGetJoinableOus2.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10581         { &hf_wkssvc_wkssvc_NetWkstaInfo1059_buf_read_only_files, 
10582           { "Buf Read Only Files", "wkssvc.wkssvc_NetWkstaInfo1059.buf_read_only_files", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10583         { &hf_wkssvc_wkssvc_NetWkstaInfo100_version_minor, 
10584           { "Version Minor", "wkssvc.wkssvc_NetWkstaInfo100.version_minor", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10585         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE, 
10586           { "Wkssvc Join Flags Account Create", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE_tfs), ( 0x00000002 ), NULL, HFILL }},
10587         { &hf_wkssvc_wkssvc_NetWkstaInfo502_use_close_behind, 
10588           { "Use Close Behind", "wkssvc.wkssvc_NetWkstaInfo502.use_close_behind", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10589         { &hf_wkssvc_opnum, 
10590           { "Operation", "wkssvc.opnum", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
10591         { &hf_wkssvc_wkssvc_NetWkstaInfo502_force_core_create_mode, 
10592           { "Force Core Create Mode", "wkssvc.wkssvc_NetWkstaInfo502.force_core_create_mode", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10593         { &hf_wkssvc_wkssvc_NetWkstaInfo1011_collection_time, 
10594           { "Collection Time", "wkssvc.wkssvc_NetWkstaInfo1011.collection_time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10595         { &hf_wkssvc_wkssvc_NetrGetJoinInformation_server_name, 
10596           { "Server Name", "wkssvc.wkssvc_NetrGetJoinInformation.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10597         { &hf_wkssvc_wkssvc_NetWkstaInfo101_domain_name, 
10598           { "Domain Name", "wkssvc.wkssvc_NetWkstaInfo101.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10599         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1061, 
10600           { "Info1061", "wkssvc.wkssvc_NetWkstaInfo.info1061", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10601         { &hf_wkssvc_wkssvc_NetrUseGetInfoCtr_info1, 
10602           { "Info1", "wkssvc.wkssvc_NetrUseGetInfoCtr.info1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10603         { &hf_wkssvc_wkssvc_NetWkstaEnumUsersInfo_level, 
10604           { "Level", "wkssvc.wkssvc_NetWkstaEnumUsersInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10605         { &hf_wkssvc_wkssvc_NetrSetPrimaryComputername_server_name, 
10606           { "Server Name", "wkssvc.wkssvc_NetrSetPrimaryComputername.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10607         { &hf_wkssvc_wkssvc_NetrUnjoinDomain_unjoin_flags, 
10608           { "Unjoin Flags", "wkssvc.wkssvc_NetrUnjoinDomain.unjoin_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
10609         { &hf_wkssvc_wkssvc_NetWkstaTransportEnum_resume_handle, 
10610           { "Resume Handle", "wkssvc.wkssvc_NetWkstaTransportEnum.resume_handle", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10611         { &hf_wkssvc_wkssvc_NetrJoinDomain_server_name, 
10612           { "Server Name", "wkssvc.wkssvc_NetrJoinDomain.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10613         { &hf_wkssvc_wkssvc_NetWkstaInfo102_platform_id, 
10614           { "Platform Id", "wkssvc.wkssvc_NetWkstaInfo102.platform_id", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10615         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown8, 
10616           { "Unknown8", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown8", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10617         { &hf_wkssvc_wkssvc_NetrAddAlternateComputerName_Reserved, 
10618           { "Reserved", "wkssvc.wkssvc_NetrAddAlternateComputerName.Reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10619         { &hf_wkssvc_wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME, 
10620           { "Wkssvc Join Flags Join With New Name", "wkssvc.wkssvc_joinflags.WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME", FT_BOOLEAN, 32, TFS(&wkssvc_joinflags_WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME_tfs), ( 0x00000400 ), NULL, HFILL }},
10621         { &hf_wkssvc_wkssvc_NetrWkstaTransportAdd_server_name, 
10622           { "Server Name", "wkssvc.wkssvc_NetrWkstaTransportAdd.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10623         { &hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_server_name, 
10624           { "Server Name", "wkssvc.wkssvc_NetrRemoveAlternateComputerName.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10625         { &hf_wkssvc_wkssvc_NetWkstaInfo101_platform_id, 
10626           { "Platform Id", "wkssvc.wkssvc_NetWkstaInfo101.platform_id", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10627         { &hf_wkssvc_wkssvc_NetWkstaInfo502_use_opportunistic_locking, 
10628           { "Use Opportunistic Locking", "wkssvc.wkssvc_NetWkstaInfo502.use_opportunistic_locking", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10629         { &hf_wkssvc_wkssvc_NetWkstaInfo100_server_name, 
10630           { "Server Name", "wkssvc.wkssvc_NetWkstaInfo100.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10631         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown28, 
10632           { "Unknown28", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown28", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10633         { &hf_wkssvc_wkssvc_NetWkstaEnumUsersCtr1_user1, 
10634           { "User1", "wkssvc.wkssvc_NetWkstaEnumUsersCtr1.user1", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10635         { &hf_wkssvc_wkssvc_NetWkstaGetInfo_server_name, 
10636           { "Server Name", "wkssvc.wkssvc_NetWkstaGetInfo.server_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10637         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1023, 
10638           { "Info1023", "wkssvc.wkssvc_NetWkstaInfo.info1023", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10639         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown15, 
10640           { "Unknown15", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown15", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10641         { &hf_wkssvc_wkssvc_NetWkstaInfo502_use_lock_read_unlock, 
10642           { "Use Lock Read Unlock", "wkssvc.wkssvc_NetWkstaInfo502.use_lock_read_unlock", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10643         { &hf_wkssvc_wkssvc_NetrUseInfo1_asg_type, 
10644           { "Asg Type", "wkssvc.wkssvc_NetrUseInfo1.asg_type", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10645         { &hf_wkssvc_wkssvc_NetrUnjoinDomain2_unjoin_flags, 
10646           { "Unjoin Flags", "wkssvc.wkssvc_NetrUnjoinDomain2.unjoin_flags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
10647         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown1, 
10648           { "Unknown1", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown1", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10649         { &hf_wkssvc_wkssvc_NetrLogonDomainNameAdd_domain_name, 
10650           { "Domain Name", "wkssvc.wkssvc_NetrLogonDomainNameAdd.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10651         { &hf_wkssvc_wkssvc_NetrWorkstationStatistics_unknown26, 
10652           { "Unknown26", "wkssvc.wkssvc_NetrWorkstationStatistics.unknown26", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10653         { &hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_Account, 
10654           { "Account", "wkssvc.wkssvc_NetrRenameMachineInDomain2.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10655         { &hf_wkssvc_wkssvc_NetWkstaEnumUsers_info, 
10656           { "Info", "wkssvc.wkssvc_NetWkstaEnumUsers.info", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10657         { &hf_wkssvc_wkssvc_NetrGetJoinInformation_name_type, 
10658           { "Name Type", "wkssvc.wkssvc_NetrGetJoinInformation.name_type", FT_UINT16, BASE_DEC, VALS(wkssvc_wkssvc_NetJoinStatus_vals), 0, NULL, HFILL }},
10659         { &hf_wkssvc_wkssvc_NetrAddAlternateComputerName_NewAlternateMachineName, 
10660           { "Newalternatemachinename", "wkssvc.wkssvc_NetrAddAlternateComputerName.NewAlternateMachineName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10661         { &hf_wkssvc_wkssvc_NetrUnjoinDomain2_encrypted_password, 
10662           { "Encrypted Password", "wkssvc.wkssvc_NetrUnjoinDomain2.encrypted_password", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10663         { &hf_wkssvc_wkssvc_NetWkstaInfo502_char_wait, 
10664           { "Char Wait", "wkssvc.wkssvc_NetWkstaInfo502.char_wait", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10665         { &hf_wkssvc_wkssvc_NetWkstaInfo502_pipe_maximum, 
10666           { "Pipe Maximum", "wkssvc.wkssvc_NetWkstaInfo502.pipe_maximum", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10667         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1027, 
10668           { "Info1027", "wkssvc.wkssvc_NetWkstaInfo.info1027", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10669         { &hf_wkssvc_wkssvc_NetWkstaInfo1052_use_lock_read_unlock, 
10670           { "Use Lock Read Unlock", "wkssvc.wkssvc_NetWkstaInfo1052.use_lock_read_unlock", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10671         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1056, 
10672           { "Info1056", "wkssvc.wkssvc_NetWkstaInfo.info1056", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10673         { &hf_wkssvc_wkssvc_NetrValidateName_Account, 
10674           { "Account", "wkssvc.wkssvc_NetrValidateName.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10675         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1032, 
10676           { "Info1032", "wkssvc.wkssvc_NetWkstaInfo.info1032", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10677         { &hf_wkssvc_wkssvc_NetrRemoveAlternateComputerName_Account, 
10678           { "Account", "wkssvc.wkssvc_NetrRemoveAlternateComputerName.Account", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10679         { &hf_wkssvc_wkssvc_NetWkstaInfo_info1053, 
10680           { "Info1053", "wkssvc.wkssvc_NetWkstaInfo.info1053", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10681         { &hf_wkssvc_wkssvc_NetrRenameMachineInDomain2_EncryptedPassword, 
10682           { "Encryptedpassword", "wkssvc.wkssvc_NetrRenameMachineInDomain2.EncryptedPassword", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10683         { &hf_wkssvc_wkssvc_NetWkstaSetInfo_level, 
10684           { "Level", "wkssvc.wkssvc_NetWkstaSetInfo.level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10685         { &hf_wkssvc_wkssvc_NetrJoinDomain_domain_name, 
10686           { "Domain Name", "wkssvc.wkssvc_NetrJoinDomain.domain_name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10687         { &hf_wkssvc_wkssvc_NetWkstaInfo102_logged_on_users, 
10688           { "Logged On Users", "wkssvc.wkssvc_NetWkstaInfo102.logged_on_users", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10689         { &hf_wkssvc_wkssvc_NetrUseInfo2_remote, 
10690           { "Remote", "wkssvc.wkssvc_NetrUseInfo2.remote", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10691         };
10692
10693
10694         static gint *ett[] = {
10695                 &ett_dcerpc_wkssvc,
10696                 &ett_wkssvc_lsa_String,
10697                 &ett_wkssvc_wkssvc_NetWkstaInfo100,
10698                 &ett_wkssvc_wkssvc_NetWkstaInfo101,
10699                 &ett_wkssvc_wkssvc_NetWkstaInfo102,
10700                 &ett_wkssvc_wkssvc_NetWkstaInfo502,
10701                 &ett_wkssvc_wkssvc_NetWkstaInfo1010,
10702                 &ett_wkssvc_wkssvc_NetWkstaInfo1011,
10703                 &ett_wkssvc_wkssvc_NetWkstaInfo1012,
10704                 &ett_wkssvc_wkssvc_NetWkstaInfo1013,
10705                 &ett_wkssvc_wkssvc_NetWkstaInfo1018,
10706                 &ett_wkssvc_wkssvc_NetWkstaInfo1023,
10707                 &ett_wkssvc_wkssvc_NetWkstaInfo1027,
10708                 &ett_wkssvc_wkssvc_NetWkstaInfo1028,
10709                 &ett_wkssvc_wkssvc_NetWkstaInfo1032,
10710                 &ett_wkssvc_wkssvc_NetWkstaInfo1033,
10711                 &ett_wkssvc_wkssvc_NetWkstaInfo1041,
10712                 &ett_wkssvc_wkssvc_NetWkstaInfo1042,
10713                 &ett_wkssvc_wkssvc_NetWkstaInfo1043,
10714                 &ett_wkssvc_wkssvc_NetWkstaInfo1044,
10715                 &ett_wkssvc_wkssvc_NetWkstaInfo1045,
10716                 &ett_wkssvc_wkssvc_NetWkstaInfo1046,
10717                 &ett_wkssvc_wkssvc_NetWkstaInfo1047,
10718                 &ett_wkssvc_wkssvc_NetWkstaInfo1048,
10719                 &ett_wkssvc_wkssvc_NetWkstaInfo1049,
10720                 &ett_wkssvc_wkssvc_NetWkstaInfo1050,
10721                 &ett_wkssvc_wkssvc_NetWkstaInfo1051,
10722                 &ett_wkssvc_wkssvc_NetWkstaInfo1052,
10723                 &ett_wkssvc_wkssvc_NetWkstaInfo1053,
10724                 &ett_wkssvc_wkssvc_NetWkstaInfo1054,
10725                 &ett_wkssvc_wkssvc_NetWkstaInfo1055,
10726                 &ett_wkssvc_wkssvc_NetWkstaInfo1056,
10727                 &ett_wkssvc_wkssvc_NetWkstaInfo1057,
10728                 &ett_wkssvc_wkssvc_NetWkstaInfo1058,
10729                 &ett_wkssvc_wkssvc_NetWkstaInfo1059,
10730                 &ett_wkssvc_wkssvc_NetWkstaInfo1060,
10731                 &ett_wkssvc_wkssvc_NetWkstaInfo1061,
10732                 &ett_wkssvc_wkssvc_NetWkstaInfo1062,
10733                 &ett_wkssvc_wkssvc_NetWkstaInfo,
10734                 &ett_wkssvc_wkssvc_NetrWkstaUserInfo0,
10735                 &ett_wkssvc_wkssvc_NetWkstaEnumUsersCtr0,
10736                 &ett_wkssvc_wkssvc_NetrWkstaUserInfo1,
10737                 &ett_wkssvc_wkssvc_NetWkstaEnumUsersCtr1,
10738                 &ett_wkssvc_wkssvc_NetWkstaEnumUsersCtr,
10739                 &ett_wkssvc_wkssvc_NetWkstaEnumUsersInfo,
10740                 &ett_wkssvc_wkssvc_NetrWkstaUserInfo1101,
10741                 &ett_wkssvc_wkssvc_NetrWkstaUserInfo,
10742                 &ett_wkssvc_wkssvc_NetWkstaTransportInfo0,
10743                 &ett_wkssvc_wkssvc_NetWkstaTransportCtr0,
10744                 &ett_wkssvc_wkssvc_NetWkstaTransportCtr,
10745                 &ett_wkssvc_wkssvc_NetWkstaTransportInfo,
10746                 &ett_wkssvc_wkssvc_NetrUseInfo3,
10747                 &ett_wkssvc_wkssvc_NetrUseInfo2,
10748                 &ett_wkssvc_wkssvc_NetrUseInfo1,
10749                 &ett_wkssvc_wkssvc_NetrUseInfo0,
10750                 &ett_wkssvc_wkssvc_NetrUseGetInfoCtr,
10751                 &ett_wkssvc_wkssvc_NetrUseEnumCtr2,
10752                 &ett_wkssvc_wkssvc_NetrUseEnumCtr1,
10753                 &ett_wkssvc_wkssvc_NetrUseEnumCtr0,
10754                 &ett_wkssvc_wkssvc_NetrUseEnumCtr,
10755                 &ett_wkssvc_wkssvc_NetrUseEnumInfo,
10756                 &ett_wkssvc_wkssvc_NetrWorkstationStatistics,
10757                 &ett_wkssvc_wkssvc_renameflags,
10758                 &ett_wkssvc_wkssvc_PasswordBuffer,
10759                 &ett_wkssvc_wkssvc_joinflags,
10760                 &ett_wkssvc_wkssvc_ComputerNamesCtr,
10761         };
10762
10763         proto_dcerpc_wkssvc = proto_register_protocol("Workstation Service", "WKSSVC", "wkssvc");
10764         proto_register_field_array(proto_dcerpc_wkssvc, hf, array_length (hf));
10765         proto_register_subtree_array(ett, array_length(ett));
10766 }
10767
10768 void proto_reg_handoff_dcerpc_wkssvc(void)
10769 {
10770         dcerpc_init_uuid(proto_dcerpc_wkssvc, ett_dcerpc_wkssvc,
10771                 &uuid_dcerpc_wkssvc, ver_dcerpc_wkssvc,
10772                 wkssvc_dissectors, hf_wkssvc_opnum);
10773 }