Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-iwbemloginclientidex.c
blob1e90f3954ce5c0420ed41a9f420c9ed4898f335d
1 /* DO NOT EDIT
2 This file was automatically generated by Pidl
3 from iwbemloginclientidex.idl and iwbemloginclientidex.cnf.
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 https://wiki.wireshark.org/Pidl
9 */
12 #include "config.h"
13 #include <string.h>
14 #include <wsutil/array.h>
15 #include <epan/packet.h>
16 #include <epan/tfs.h>
18 #include "packet-dcerpc.h"
19 #include "packet-dcerpc-nt.h"
20 #include "packet-windows-common.h"
21 #include "packet-dcerpc-iwbemloginclientidex.h"
22 void proto_register_dcerpc_IWbemLoginClientIDEx(void);
23 void proto_reg_handoff_dcerpc_IWbemLoginClientIDEx(void);
25 /* Ett declarations */
26 static int ett_IWbemLoginClientIDEx_SetClientInfoEx_orpcthis;
27 static int ett_IWbemLoginClientIDEx_SetClientInfoEx_orpcthat;
28 static int ett_dcerpc_IWbemLoginClientIDEx;
29 static int ett_IWbemLoginClientIDEx_ORPCTHIS;
30 static int ett_IWbemLoginClientIDEx_ORPCTHAT;
31 static int ett_IWbemLoginClientIDEx_FILETIME;
34 /* Header field declarations */
35 static int hf_IWbemLoginClientIDEx_FILETIME_dwHighDateTime;
36 static int hf_IWbemLoginClientIDEx_FILETIME_dwLowDateTime;
37 static int hf_IWbemLoginClientIDEx_SetClientInfoEx_ClientMachine;
38 static int hf_IWbemLoginClientIDEx_SetClientInfoEx_ClientMachineFQDN;
39 static int hf_IWbemLoginClientIDEx_SetClientInfoEx_ClientProcId;
40 static int hf_IWbemLoginClientIDEx_SetClientInfoEx_ClientProcessCreationTime;
41 static int hf_IWbemLoginClientIDEx_SetClientInfoEx_Reserved;
42 static int hf_IWbemLoginClientIDEx_SetClientInfoEx_orpcthat;
43 static int hf_IWbemLoginClientIDEx_SetClientInfoEx_orpcthis;
44 static int hf_IWbemLoginClientIDEx_opnum;
45 static int hf_IWbemLoginClientIDEx_werror;
47 static int proto_dcerpc_IWbemLoginClientIDEx;
48 /* Version information */
51 static e_guid_t uuid_dcerpc_IWbemLoginClientIDEx = {
52 0x9f6c78ef, 0xfce5, 0x42fa,
53 { 0xab, 0xea, 0x3e, 0x7d, 0xf9, 0x19, 0x21, 0xdc }
55 static uint16_t ver_dcerpc_IWbemLoginClientIDEx = 0;
57 static int IWbemLoginClientIDEx_dissect_element_FILETIME_dwLowDateTime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
58 static int IWbemLoginClientIDEx_dissect_element_FILETIME_dwHighDateTime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
59 static int IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_orpcthis(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
60 static int IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_ClientMachine(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
61 static int IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_ClientMachine_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
62 static int IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_ClientMachineFQDN(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
63 static int IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_ClientMachineFQDN_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
64 static int IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_ClientProcId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
65 static int IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_ClientProcessCreationTime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
66 static int IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_Reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
67 static int IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_orpcthat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
68 static int IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_orpcthat_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
69 #include "packet-dcom.h"
70 /* SetClientInfoEx */
71 static int
72 IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_orpcthis(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
74 proto_item *sub_item;
75 proto_tree *sub_tree;
76 sub_item = proto_tree_add_item(tree, hf_IWbemLoginClientIDEx_SetClientInfoEx_orpcthis, tvb, offset, 0, ENC_NA);
77 sub_tree = proto_item_add_subtree(sub_item, ett_IWbemLoginClientIDEx_SetClientInfoEx_orpcthis);
78 offset = dissect_dcom_this(tvb, offset, pinfo, sub_tree, di, drep);
79 return offset;
81 static int
82 IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_orpcthat_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
84 proto_item *sub_item;
85 proto_tree *sub_tree;
86 sub_item = proto_tree_add_item(tree, hf_IWbemLoginClientIDEx_SetClientInfoEx_orpcthat, tvb, offset, 0, ENC_NA);
87 sub_tree = proto_item_add_subtree(sub_item, ett_IWbemLoginClientIDEx_SetClientInfoEx_orpcthat);
88 offset = dissect_dcom_that(tvb, offset, pinfo, sub_tree, di, drep);
89 return offset;
93 /* IDL: struct { */
94 /* IDL: } */
96 int
97 IWbemLoginClientIDEx_dissect_struct_ORPCTHIS(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
99 proto_item *item = NULL;
100 int old_offset;
102 old_offset = offset;
104 if (parent_tree) {
105 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
109 proto_item_set_len(item, offset-old_offset);
112 return offset;
116 /* IDL: struct { */
117 /* IDL: } */
120 IWbemLoginClientIDEx_dissect_struct_ORPCTHAT(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
122 proto_item *item = NULL;
123 int old_offset;
125 old_offset = offset;
127 if (parent_tree) {
128 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
132 proto_item_set_len(item, offset-old_offset);
135 return offset;
139 /* IDL: struct { */
140 /* IDL: uint32 dwLowDateTime; */
141 /* IDL: uint32 dwHighDateTime; */
142 /* IDL: } */
144 static int
145 IWbemLoginClientIDEx_dissect_element_FILETIME_dwLowDateTime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
147 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_IWbemLoginClientIDEx_FILETIME_dwLowDateTime, 0);
149 return offset;
152 static int
153 IWbemLoginClientIDEx_dissect_element_FILETIME_dwHighDateTime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
155 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_IWbemLoginClientIDEx_FILETIME_dwHighDateTime, 0);
157 return offset;
161 IWbemLoginClientIDEx_dissect_struct_FILETIME(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
163 proto_item *item = NULL;
164 proto_tree *tree = NULL;
165 int old_offset;
167 ALIGN_TO_4_BYTES;
169 old_offset = offset;
171 if (parent_tree) {
172 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
173 tree = proto_item_add_subtree(item, ett_IWbemLoginClientIDEx_FILETIME);
176 offset = IWbemLoginClientIDEx_dissect_element_FILETIME_dwLowDateTime(tvb, offset, pinfo, tree, di, drep);
178 offset = IWbemLoginClientIDEx_dissect_element_FILETIME_dwHighDateTime(tvb, offset, pinfo, tree, di, drep);
181 proto_item_set_len(item, offset-old_offset);
184 if (di->call_data->flags & DCERPC_IS_NDR64) {
185 ALIGN_TO_4_BYTES;
188 return offset;
191 /* IDL: WERROR iwbemloginclientidex_opnum0( */
192 /* IDL: */
193 /* IDL: ); */
195 static int
196 IWbemLoginClientIDEx_dissect_iwbemloginclientidex_opnum0_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
198 uint32_t status;
200 di->dcerpc_procedure_name="iwbemloginclientidex_opnum0";
201 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_IWbemLoginClientIDEx_werror, &status);
203 if (status != 0)
204 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
206 return offset;
209 static int
210 IWbemLoginClientIDEx_dissect_iwbemloginclientidex_opnum0_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
212 di->dcerpc_procedure_name="iwbemloginclientidex_opnum0";
213 return offset;
216 /* IDL: WERROR iwbemloginclientidex_opnum1( */
217 /* IDL: */
218 /* IDL: ); */
220 static int
221 IWbemLoginClientIDEx_dissect_iwbemloginclientidex_opnum1_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
223 uint32_t status;
225 di->dcerpc_procedure_name="iwbemloginclientidex_opnum1";
226 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_IWbemLoginClientIDEx_werror, &status);
228 if (status != 0)
229 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
231 return offset;
234 static int
235 IWbemLoginClientIDEx_dissect_iwbemloginclientidex_opnum1_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
237 di->dcerpc_procedure_name="iwbemloginclientidex_opnum1";
238 return offset;
241 /* IDL: WERROR iwbemloginclientidex_opnum2( */
242 /* IDL: */
243 /* IDL: ); */
245 static int
246 IWbemLoginClientIDEx_dissect_iwbemloginclientidex_opnum2_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
248 uint32_t status;
250 di->dcerpc_procedure_name="iwbemloginclientidex_opnum2";
251 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_IWbemLoginClientIDEx_werror, &status);
253 if (status != 0)
254 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
256 return offset;
259 static int
260 IWbemLoginClientIDEx_dissect_iwbemloginclientidex_opnum2_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
262 di->dcerpc_procedure_name="iwbemloginclientidex_opnum2";
263 return offset;
266 static int
267 IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_ClientMachine(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
269 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_ClientMachine_, NDR_POINTER_UNIQUE, "Pointer to ClientMachine (uint16)",hf_IWbemLoginClientIDEx_SetClientInfoEx_ClientMachine);
271 return offset;
274 static int
275 IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_ClientMachine_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
277 char *data = NULL;
278 struct ndr_generic_array nga = { .is_conformant = false, };
280 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
282 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
283 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_IWbemLoginClientIDEx_SetClientInfoEx_ClientMachine, false, &nga, &data);
284 proto_item_append_text(tree, ": %s", data);
286 return offset;
289 static int
290 IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_ClientMachineFQDN(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
292 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_ClientMachineFQDN_, NDR_POINTER_UNIQUE, "Pointer to ClientMachineFQDN (uint16)",hf_IWbemLoginClientIDEx_SetClientInfoEx_ClientMachineFQDN);
294 return offset;
297 static int
298 IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_ClientMachineFQDN_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
300 char *data = NULL;
301 struct ndr_generic_array nga = { .is_conformant = false, };
303 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
305 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
306 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_IWbemLoginClientIDEx_SetClientInfoEx_ClientMachineFQDN, false, &nga, &data);
307 proto_item_append_text(tree, ": %s", data);
309 return offset;
312 static int
313 IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_ClientProcId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
315 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_IWbemLoginClientIDEx_SetClientInfoEx_ClientProcId, 0);
317 return offset;
320 static int
321 IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_ClientProcessCreationTime(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
323 offset = IWbemLoginClientIDEx_dissect_struct_FILETIME(tvb,offset,pinfo,tree,di,drep,hf_IWbemLoginClientIDEx_SetClientInfoEx_ClientProcessCreationTime,0);
325 return offset;
328 static int
329 IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_Reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
331 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_IWbemLoginClientIDEx_SetClientInfoEx_Reserved, 0);
333 return offset;
336 static int
337 IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_orpcthat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
339 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_orpcthat_, NDR_POINTER_REF, "Pointer to Orpcthat (ORPCTHAT)",hf_IWbemLoginClientIDEx_SetClientInfoEx_orpcthat);
341 return offset;
344 /* IDL: WERROR SetClientInfoEx( */
345 /* IDL: [in] ORPCTHIS orpcthis, */
346 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *ClientMachine, */
347 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *ClientMachineFQDN, */
348 /* IDL: [in] uint32 ClientProcId, */
349 /* IDL: [in] FILETIME ClientProcessCreationTime, */
350 /* IDL: [in] uint32 Reserved, */
351 /* IDL: [out] [ref] ORPCTHAT *orpcthat */
352 /* IDL: ); */
354 static int
355 IWbemLoginClientIDEx_dissect_SetClientInfoEx_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
357 uint32_t status;
359 di->dcerpc_procedure_name="SetClientInfoEx";
360 offset = IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_orpcthat(tvb, offset, pinfo, tree, di, drep);
361 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
363 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_IWbemLoginClientIDEx_werror, &status);
365 if (status != 0)
366 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
368 return offset;
371 static int
372 IWbemLoginClientIDEx_dissect_SetClientInfoEx_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
374 di->dcerpc_procedure_name="SetClientInfoEx";
375 offset = IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_orpcthis(tvb, offset, pinfo, tree, di, drep);
376 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
377 offset = IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_ClientMachine(tvb, offset, pinfo, tree, di, drep);
378 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
379 offset = IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_ClientMachineFQDN(tvb, offset, pinfo, tree, di, drep);
380 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
381 offset = IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_ClientProcId(tvb, offset, pinfo, tree, di, drep);
382 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
383 offset = IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_ClientProcessCreationTime(tvb, offset, pinfo, tree, di, drep);
384 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
385 offset = IWbemLoginClientIDEx_dissect_element_SetClientInfoEx_Reserved(tvb, offset, pinfo, tree, di, drep);
386 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
387 return offset;
391 static const dcerpc_sub_dissector IWbemLoginClientIDEx_dissectors[] = {
392 { 0, "iwbemloginclientidex_opnum0",
393 IWbemLoginClientIDEx_dissect_iwbemloginclientidex_opnum0_request, IWbemLoginClientIDEx_dissect_iwbemloginclientidex_opnum0_response},
394 { 1, "iwbemloginclientidex_opnum1",
395 IWbemLoginClientIDEx_dissect_iwbemloginclientidex_opnum1_request, IWbemLoginClientIDEx_dissect_iwbemloginclientidex_opnum1_response},
396 { 2, "iwbemloginclientidex_opnum2",
397 IWbemLoginClientIDEx_dissect_iwbemloginclientidex_opnum2_request, IWbemLoginClientIDEx_dissect_iwbemloginclientidex_opnum2_response},
398 { 3, "SetClientInfoEx",
399 IWbemLoginClientIDEx_dissect_SetClientInfoEx_request, IWbemLoginClientIDEx_dissect_SetClientInfoEx_response},
400 { 0, NULL, NULL, NULL }
403 void proto_register_dcerpc_IWbemLoginClientIDEx(void)
405 static hf_register_info hf[] = {
406 { &hf_IWbemLoginClientIDEx_FILETIME_dwHighDateTime,
407 { "DwHighDateTime", "IWbemLoginClientIDEx.FILETIME.dwHighDateTime", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
408 { &hf_IWbemLoginClientIDEx_FILETIME_dwLowDateTime,
409 { "DwLowDateTime", "IWbemLoginClientIDEx.FILETIME.dwLowDateTime", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
410 { &hf_IWbemLoginClientIDEx_SetClientInfoEx_ClientMachine,
411 { "ClientMachine", "IWbemLoginClientIDEx.SetClientInfoEx.ClientMachine", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
412 { &hf_IWbemLoginClientIDEx_SetClientInfoEx_ClientMachineFQDN,
413 { "ClientMachineFQDN", "IWbemLoginClientIDEx.SetClientInfoEx.ClientMachineFQDN", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
414 { &hf_IWbemLoginClientIDEx_SetClientInfoEx_ClientProcId,
415 { "ClientProcId", "IWbemLoginClientIDEx.SetClientInfoEx.ClientProcId", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
416 { &hf_IWbemLoginClientIDEx_SetClientInfoEx_ClientProcessCreationTime,
417 { "ClientProcessCreationTime", "IWbemLoginClientIDEx.SetClientInfoEx.ClientProcessCreationTime", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
418 { &hf_IWbemLoginClientIDEx_SetClientInfoEx_Reserved,
419 { "Reserved", "IWbemLoginClientIDEx.SetClientInfoEx.Reserved", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
420 { &hf_IWbemLoginClientIDEx_SetClientInfoEx_orpcthat,
421 { "Orpcthat", "IWbemLoginClientIDEx.SetClientInfoEx.orpcthat", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
422 { &hf_IWbemLoginClientIDEx_SetClientInfoEx_orpcthis,
423 { "Orpcthis", "IWbemLoginClientIDEx.SetClientInfoEx.orpcthis", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
424 { &hf_IWbemLoginClientIDEx_opnum,
425 { "Operation", "IWbemLoginClientIDEx.opnum", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
426 { &hf_IWbemLoginClientIDEx_werror,
427 { "Windows Error", "IWbemLoginClientIDEx.werror", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
431 static int *ett[] = {
432 &ett_IWbemLoginClientIDEx_SetClientInfoEx_orpcthis,
433 &ett_IWbemLoginClientIDEx_SetClientInfoEx_orpcthat,
434 &ett_dcerpc_IWbemLoginClientIDEx,
435 &ett_IWbemLoginClientIDEx_ORPCTHIS,
436 &ett_IWbemLoginClientIDEx_ORPCTHAT,
437 &ett_IWbemLoginClientIDEx_FILETIME,
440 proto_dcerpc_IWbemLoginClientIDEx = proto_register_protocol("IWBEMLOGINCLIENTIDEX (pidl)", "IWBEMLOGINCLIENTIDEX", "IWbemLoginClientIDEx");
441 proto_register_field_array(proto_dcerpc_IWbemLoginClientIDEx, hf, array_length (hf));
442 proto_register_subtree_array(ett, array_length(ett));
445 void proto_reg_handoff_dcerpc_IWbemLoginClientIDEx(void)
447 dcerpc_init_uuid(proto_dcerpc_IWbemLoginClientIDEx, ett_dcerpc_IWbemLoginClientIDEx,
448 &uuid_dcerpc_IWbemLoginClientIDEx, ver_dcerpc_IWbemLoginClientIDEx,
449 IWbemLoginClientIDEx_dissectors, hf_IWbemLoginClientIDEx_opnum);