regen pidl all: rm epan/dissectors/pidl/*-stamp; pushd epan/dissectors/pidl/ && make...
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-winspool.c
blobc96be4072bba499d719bac07eabe2d620c2234d5
1 /* DO NOT EDIT
2 This file was automatically generated by Pidl
3 from winspool.idl and winspool.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-winspool.h"
22 void proto_register_dcerpc_iremotewinspool(void);
23 void proto_reg_handoff_dcerpc_iremotewinspool(void);
25 /* Ett declarations */
26 static int ett_dcerpc_iremotewinspool;
27 static int ett_iremotewinspool_winspool_NOTIFY_REPLY_CONTAINER;
28 static int ett_iremotewinspool_winspool_NOTIFY_OPTIONS_CONTAINER;
29 static int ett_iremotewinspool_winspool_PrintPropertyValueUnion;
30 static int ett_iremotewinspool_winspool_PrintPropertyValue;
31 static int ett_iremotewinspool_winspool_PrintNamedProperty;
32 static int ett_iremotewinspool_winspool_PrintPropertiesCollection;
33 static int ett_iremotewinspool_winspool_InstallPrinterDriverFromPackageFlags;
34 static int ett_iremotewinspool_winspool_UploadPrinterDriverPackageFlags;
37 /* Header field declarations */
38 static int hf_iremotewinspool_hresult;
39 static int hf_iremotewinspool_opnum;
40 static int hf_iremotewinspool_sec_desc_buf_len;
41 static int hf_iremotewinspool_werror;
42 static int hf_iremotewinspool_winspool_AsyncAbortPrinter_hPrinter;
43 static int hf_iremotewinspool_winspool_AsyncAddForm_hPrinter;
44 static int hf_iremotewinspool_winspool_AsyncAddForm_pFormInfoContainer;
45 static int hf_iremotewinspool_winspool_AsyncAddJob_Level;
46 static int hf_iremotewinspool_winspool_AsyncAddJob_cbBuf;
47 static int hf_iremotewinspool_winspool_AsyncAddJob_hPrinter;
48 static int hf_iremotewinspool_winspool_AsyncAddJob_pAddJob;
49 static int hf_iremotewinspool_winspool_AsyncAddJob_pcbNeeded;
50 static int hf_iremotewinspool_winspool_AsyncAddMonitor_Name;
51 static int hf_iremotewinspool_winspool_AsyncAddMonitor_pMonitorContainer;
52 static int hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pPrintServer;
53 static int hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pPrinterName;
54 static int hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pProvider;
55 static int hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pServer;
56 static int hf_iremotewinspool_winspool_AsyncAddPort_pMonitorName;
57 static int hf_iremotewinspool_winspool_AsyncAddPort_pName;
58 static int hf_iremotewinspool_winspool_AsyncAddPort_pPortContainer;
59 static int hf_iremotewinspool_winspool_AsyncAddPort_pPortVarContainer;
60 static int hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pEnvironment;
61 static int hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pName;
62 static int hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pPathName;
63 static int hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pPrintProcessorName;
64 static int hf_iremotewinspool_winspool_AsyncAddPrinterDriver_dwFileCopyFlags;
65 static int hf_iremotewinspool_winspool_AsyncAddPrinterDriver_pDriverContainer;
66 static int hf_iremotewinspool_winspool_AsyncAddPrinterDriver_pName;
67 static int hf_iremotewinspool_winspool_AsyncAddPrinter_pClientInfo;
68 static int hf_iremotewinspool_winspool_AsyncAddPrinter_pDevModeContainer;
69 static int hf_iremotewinspool_winspool_AsyncAddPrinter_pHandle;
70 static int hf_iremotewinspool_winspool_AsyncAddPrinter_pName;
71 static int hf_iremotewinspool_winspool_AsyncAddPrinter_pPrinterContainer;
72 static int hf_iremotewinspool_winspool_AsyncAddPrinter_pSecurityContainer;
73 static int hf_iremotewinspool_winspool_AsyncClosePrinter_phPrinter;
74 static int hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_CoreDriverGUID;
75 static int hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_dwlDriverVersion;
76 static int hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_ftDriverDate;
77 static int hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pbDriverInstalled;
78 static int hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pszEnvironment;
79 static int hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pszServer;
80 static int hf_iremotewinspool_winspool_AsyncCreatePrinterIC_hPrinter;
81 static int hf_iremotewinspool_winspool_AsyncCreatePrinterIC_pDevModeContainer;
82 static int hf_iremotewinspool_winspool_AsyncCreatePrinterIC_pHandle;
83 static int hf_iremotewinspool_winspool_AsyncDeleteForm_hPrinter;
84 static int hf_iremotewinspool_winspool_AsyncDeleteForm_pFormName;
85 static int hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_JobId;
86 static int hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_hPrinter;
87 static int hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_pszName;
88 static int hf_iremotewinspool_winspool_AsyncDeleteMonitor_Name;
89 static int hf_iremotewinspool_winspool_AsyncDeleteMonitor_pEnvironment;
90 static int hf_iremotewinspool_winspool_AsyncDeleteMonitor_pMonitorName;
91 static int hf_iremotewinspool_winspool_AsyncDeletePerMachineConnection_pPrinterName;
92 static int hf_iremotewinspool_winspool_AsyncDeletePerMachineConnection_pServer;
93 static int hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_Name;
94 static int hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_pEnvironment;
95 static int hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_pPrintProcessorName;
96 static int hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_hPrinter;
97 static int hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_pKeyName;
98 static int hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_pValueName;
99 static int hf_iremotewinspool_winspool_AsyncDeletePrinterData_hPrinter;
100 static int hf_iremotewinspool_winspool_AsyncDeletePrinterData_pValueName;
101 static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_dwDeleteFlag;
102 static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_dwVersionNum;
103 static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pDriverName;
104 static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pEnvironment;
105 static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pName;
106 static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszEnvironment;
107 static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszInfPath;
108 static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszServer;
109 static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pDriverName;
110 static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pEnvironment;
111 static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pName;
112 static int hf_iremotewinspool_winspool_AsyncDeletePrinterIC_phPrinterIC;
113 static int hf_iremotewinspool_winspool_AsyncDeletePrinterKey_hPrinter;
114 static int hf_iremotewinspool_winspool_AsyncDeletePrinterKey_pKeyName;
115 static int hf_iremotewinspool_winspool_AsyncDeletePrinter_hPrinter;
116 static int hf_iremotewinspool_winspool_AsyncEndDocPrinter_hPrinter;
117 static int hf_iremotewinspool_winspool_AsyncEndPagePrinter_hPrinter;
118 static int hf_iremotewinspool_winspool_AsyncEnumForms_Level;
119 static int hf_iremotewinspool_winspool_AsyncEnumForms_cbBuf;
120 static int hf_iremotewinspool_winspool_AsyncEnumForms_hPrinter;
121 static int hf_iremotewinspool_winspool_AsyncEnumForms_pForm;
122 static int hf_iremotewinspool_winspool_AsyncEnumForms_pcReturned;
123 static int hf_iremotewinspool_winspool_AsyncEnumForms_pcbNeeded;
124 static int hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_JobId;
125 static int hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_hPrinter;
126 static int hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_pcProperties;
127 static int hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_ppProperties;
128 static int hf_iremotewinspool_winspool_AsyncEnumJobs_FirstJob;
129 static int hf_iremotewinspool_winspool_AsyncEnumJobs_Level;
130 static int hf_iremotewinspool_winspool_AsyncEnumJobs_NoJobs;
131 static int hf_iremotewinspool_winspool_AsyncEnumJobs_cbBuf;
132 static int hf_iremotewinspool_winspool_AsyncEnumJobs_hPrinter;
133 static int hf_iremotewinspool_winspool_AsyncEnumJobs_pJob;
134 static int hf_iremotewinspool_winspool_AsyncEnumJobs_pcReturned;
135 static int hf_iremotewinspool_winspool_AsyncEnumJobs_pcbNeeded;
136 static int hf_iremotewinspool_winspool_AsyncEnumMonitors_Level;
137 static int hf_iremotewinspool_winspool_AsyncEnumMonitors_cbBuf;
138 static int hf_iremotewinspool_winspool_AsyncEnumMonitors_pMonitor;
139 static int hf_iremotewinspool_winspool_AsyncEnumMonitors_pName;
140 static int hf_iremotewinspool_winspool_AsyncEnumMonitors_pcReturned;
141 static int hf_iremotewinspool_winspool_AsyncEnumMonitors_pcbNeeded;
142 static int hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_cbBuf;
143 static int hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pPrinterEnum;
144 static int hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pServer;
145 static int hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pcReturned;
146 static int hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pcbNeeded;
147 static int hf_iremotewinspool_winspool_AsyncEnumPorts_Level;
148 static int hf_iremotewinspool_winspool_AsyncEnumPorts_cbBuf;
149 static int hf_iremotewinspool_winspool_AsyncEnumPorts_pName;
150 static int hf_iremotewinspool_winspool_AsyncEnumPorts_pPort;
151 static int hf_iremotewinspool_winspool_AsyncEnumPorts_pcReturned;
152 static int hf_iremotewinspool_winspool_AsyncEnumPorts_pcbNeeded;
153 static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_Level;
154 static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_cbBuf;
155 static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes;
156 static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pName;
157 static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pPrintProcessorName;
158 static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pcReturned;
159 static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pcbNeeded;
160 static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_Level;
161 static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_cbBuf;
162 static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pEnvironment;
163 static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pName;
164 static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo;
165 static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pcReturned;
166 static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pcbNeeded;
167 static int hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_cbEnumValues;
168 static int hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_hPrinter;
169 static int hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pEnumValues;
170 static int hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pKeyName;
171 static int hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pcbEnumValues;
172 static int hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pnEnumValues;
173 static int hf_iremotewinspool_winspool_AsyncEnumPrinterData_cbData;
174 static int hf_iremotewinspool_winspool_AsyncEnumPrinterData_cbValueName;
175 static int hf_iremotewinspool_winspool_AsyncEnumPrinterData_dwIndex;
176 static int hf_iremotewinspool_winspool_AsyncEnumPrinterData_hPrinter;
177 static int hf_iremotewinspool_winspool_AsyncEnumPrinterData_pData;
178 static int hf_iremotewinspool_winspool_AsyncEnumPrinterData_pType;
179 static int hf_iremotewinspool_winspool_AsyncEnumPrinterData_pValueName;
180 static int hf_iremotewinspool_winspool_AsyncEnumPrinterData_pcbData;
181 static int hf_iremotewinspool_winspool_AsyncEnumPrinterData_pcbValueName;
182 static int hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_Level;
183 static int hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_cbBuf;
184 static int hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pDrivers;
185 static int hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pEnvironment;
186 static int hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pName;
187 static int hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pcReturned;
188 static int hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pcbNeeded;
189 static int hf_iremotewinspool_winspool_AsyncEnumPrinterKey_cbSubkey;
190 static int hf_iremotewinspool_winspool_AsyncEnumPrinterKey_hPrinter;
191 static int hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pKeyName;
192 static int hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pSubkey;
193 static int hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pcbSubkey;
194 static int hf_iremotewinspool_winspool_AsyncEnumPrinters_Flags;
195 static int hf_iremotewinspool_winspool_AsyncEnumPrinters_Level;
196 static int hf_iremotewinspool_winspool_AsyncEnumPrinters_cbBuf;
197 static int hf_iremotewinspool_winspool_AsyncEnumPrinters_pName;
198 static int hf_iremotewinspool_winspool_AsyncEnumPrinters_pPrinterEnum;
199 static int hf_iremotewinspool_winspool_AsyncEnumPrinters_pcReturned;
200 static int hf_iremotewinspool_winspool_AsyncEnumPrinters_pcbNeeded;
201 static int hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_cCorePrinterDrivers;
202 static int hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_cchCoreDrivers;
203 static int hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pCorePrinterDrivers;
204 static int hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszEnvironment;
205 static int hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszServer;
206 static int hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies;
207 static int hf_iremotewinspool_winspool_AsyncGetForm_Level;
208 static int hf_iremotewinspool_winspool_AsyncGetForm_cbBuf;
209 static int hf_iremotewinspool_winspool_AsyncGetForm_hPrinter;
210 static int hf_iremotewinspool_winspool_AsyncGetForm_pForm;
211 static int hf_iremotewinspool_winspool_AsyncGetForm_pFormName;
212 static int hf_iremotewinspool_winspool_AsyncGetForm_pcbNeeded;
213 static int hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_JobId;
214 static int hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_hPrinter;
215 static int hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_pValue;
216 static int hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_pszName;
217 static int hf_iremotewinspool_winspool_AsyncGetJob_JobId;
218 static int hf_iremotewinspool_winspool_AsyncGetJob_Level;
219 static int hf_iremotewinspool_winspool_AsyncGetJob_cbBuf;
220 static int hf_iremotewinspool_winspool_AsyncGetJob_hPrinter;
221 static int hf_iremotewinspool_winspool_AsyncGetJob_pJob;
222 static int hf_iremotewinspool_winspool_AsyncGetJob_pcbNeeded;
223 static int hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_Level;
224 static int hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_cbBuf;
225 static int hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pEnvironment;
226 static int hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pName;
227 static int hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory;
228 static int hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pcbNeeded;
229 static int hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_hPrinter;
230 static int hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_nSize;
231 static int hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pData;
232 static int hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pKeyName;
233 static int hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pType;
234 static int hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pValueName;
235 static int hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pcbNeeded;
236 static int hf_iremotewinspool_winspool_AsyncGetPrinterData_hPrinter;
237 static int hf_iremotewinspool_winspool_AsyncGetPrinterData_nSize;
238 static int hf_iremotewinspool_winspool_AsyncGetPrinterData_pData;
239 static int hf_iremotewinspool_winspool_AsyncGetPrinterData_pType;
240 static int hf_iremotewinspool_winspool_AsyncGetPrinterData_pValueName;
241 static int hf_iremotewinspool_winspool_AsyncGetPrinterData_pcbNeeded;
242 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_Level;
243 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_cbBuf;
244 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory;
245 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pEnvironment;
246 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pName;
247 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pcbNeeded;
248 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_cchDriverPackageCab;
249 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pcchRequiredSize;
250 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab;
251 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszEnvironment;
252 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszLanguage;
253 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszPackageID;
254 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszServer;
255 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriver_Level;
256 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriver_cbBuf;
257 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriver_dwClientMajorVersion;
258 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriver_dwClientMinorVersion;
259 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriver_hPrinter;
260 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pDriver;
261 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pEnvironment;
262 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pcbNeeded;
263 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pdwServerMaxVersion;
264 static int hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pdwServerMinVersion;
265 static int hf_iremotewinspool_winspool_AsyncGetPrinter_Level;
266 static int hf_iremotewinspool_winspool_AsyncGetPrinter_cbBuf;
267 static int hf_iremotewinspool_winspool_AsyncGetPrinter_hPrinter;
268 static int hf_iremotewinspool_winspool_AsyncGetPrinter_pPrinter;
269 static int hf_iremotewinspool_winspool_AsyncGetPrinter_pcbNeeded;
270 static int hf_iremotewinspool_winspool_AsyncGetRemoteNotifications_hRpcHandle;
271 static int hf_iremotewinspool_winspool_AsyncGetRemoteNotifications_ppNotifyData;
272 static int hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_dwFlags;
273 static int hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszDriverName;
274 static int hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszEnvironment;
275 static int hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszInfPath;
276 static int hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszServer;
277 static int hf_iremotewinspool_winspool_AsyncLogJobInfoForBranchOffice_hPrinter;
278 static int hf_iremotewinspool_winspool_AsyncLogJobInfoForBranchOffice_pBranchOfficeJobDataContainer;
279 static int hf_iremotewinspool_winspool_AsyncOpenPrinter_AccessRequired;
280 static int hf_iremotewinspool_winspool_AsyncOpenPrinter_pClientInfo;
281 static int hf_iremotewinspool_winspool_AsyncOpenPrinter_pDatatype;
282 static int hf_iremotewinspool_winspool_AsyncOpenPrinter_pDevModeContainer;
283 static int hf_iremotewinspool_winspool_AsyncOpenPrinter_pHandle;
284 static int hf_iremotewinspool_winspool_AsyncOpenPrinter_pPrinterName;
285 static int hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_cIn;
286 static int hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_cOut;
287 static int hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_hPrinterIC;
288 static int hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn;
289 static int hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut;
290 static int hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_ul;
291 static int hf_iremotewinspool_winspool_AsyncReadPrinter_cbBuf;
292 static int hf_iremotewinspool_winspool_AsyncReadPrinter_hPrinter;
293 static int hf_iremotewinspool_winspool_AsyncReadPrinter_pBuf;
294 static int hf_iremotewinspool_winspool_AsyncReadPrinter_pcNoBytesRead;
295 static int hf_iremotewinspool_winspool_AsyncResetPrinter_hPrinter;
296 static int hf_iremotewinspool_winspool_AsyncResetPrinter_pDatatype;
297 static int hf_iremotewinspool_winspool_AsyncResetPrinter_pDevModeContainer;
298 static int hf_iremotewinspool_winspool_AsyncScheduleJob_JobId;
299 static int hf_iremotewinspool_winspool_AsyncScheduleJob_hPrinter;
300 static int hf_iremotewinspool_winspool_AsyncSendRecvBidiData_hPrinter;
301 static int hf_iremotewinspool_winspool_AsyncSendRecvBidiData_pAction;
302 static int hf_iremotewinspool_winspool_AsyncSendRecvBidiData_pReqData;
303 static int hf_iremotewinspool_winspool_AsyncSendRecvBidiData_ppRespData;
304 static int hf_iremotewinspool_winspool_AsyncSetForm_hPrinter;
305 static int hf_iremotewinspool_winspool_AsyncSetForm_pFormInfoContainer;
306 static int hf_iremotewinspool_winspool_AsyncSetForm_pFormName;
307 static int hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_JobId;
308 static int hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_hPrinter;
309 static int hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_pProperty;
310 static int hf_iremotewinspool_winspool_AsyncSetJob_Command;
311 static int hf_iremotewinspool_winspool_AsyncSetJob_JobId;
312 static int hf_iremotewinspool_winspool_AsyncSetJob_hPrinter;
313 static int hf_iremotewinspool_winspool_AsyncSetJob_pJobContainer;
314 static int hf_iremotewinspool_winspool_AsyncSetPort_pName;
315 static int hf_iremotewinspool_winspool_AsyncSetPort_pPortContainer;
316 static int hf_iremotewinspool_winspool_AsyncSetPort_pPortName;
317 static int hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_Type;
318 static int hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_cbData;
319 static int hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_hPrinter;
320 static int hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pData;
321 static int hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pKeyName;
322 static int hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pValueName;
323 static int hf_iremotewinspool_winspool_AsyncSetPrinterData_Type;
324 static int hf_iremotewinspool_winspool_AsyncSetPrinterData_cbData;
325 static int hf_iremotewinspool_winspool_AsyncSetPrinterData_hPrinter;
326 static int hf_iremotewinspool_winspool_AsyncSetPrinterData_pData;
327 static int hf_iremotewinspool_winspool_AsyncSetPrinterData_pValueName;
328 static int hf_iremotewinspool_winspool_AsyncSetPrinter_Command;
329 static int hf_iremotewinspool_winspool_AsyncSetPrinter_hPrinter;
330 static int hf_iremotewinspool_winspool_AsyncSetPrinter_pDevModeContainer;
331 static int hf_iremotewinspool_winspool_AsyncSetPrinter_pPrinterContainer;
332 static int hf_iremotewinspool_winspool_AsyncSetPrinter_pSecurityContainer;
333 static int hf_iremotewinspool_winspool_AsyncStartDocPrinter_hPrinter;
334 static int hf_iremotewinspool_winspool_AsyncStartDocPrinter_pDocInfoContainer;
335 static int hf_iremotewinspool_winspool_AsyncStartDocPrinter_pJobId;
336 static int hf_iremotewinspool_winspool_AsyncStartPagePrinter_hPrinter;
337 static int hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_dwFlags;
338 static int hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pcchDestInfPath;
339 static int hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath;
340 static int hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszEnvironment;
341 static int hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszInfPath;
342 static int hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszServer;
343 static int hf_iremotewinspool_winspool_AsyncWritePrinter_cbBuf;
344 static int hf_iremotewinspool_winspool_AsyncWritePrinter_hPrinter;
345 static int hf_iremotewinspool_winspool_AsyncWritePrinter_pBuf;
346 static int hf_iremotewinspool_winspool_AsyncWritePrinter_pcWritten;
347 static int hf_iremotewinspool_winspool_AsyncXcvData_cbInputData;
348 static int hf_iremotewinspool_winspool_AsyncXcvData_cbOutputData;
349 static int hf_iremotewinspool_winspool_AsyncXcvData_hXcv;
350 static int hf_iremotewinspool_winspool_AsyncXcvData_pInputData;
351 static int hf_iremotewinspool_winspool_AsyncXcvData_pOutputData;
352 static int hf_iremotewinspool_winspool_AsyncXcvData_pcbOutputNeeded;
353 static int hf_iremotewinspool_winspool_AsyncXcvData_pdwStatus;
354 static int hf_iremotewinspool_winspool_AsyncXcvData_pszDataName;
355 static int hf_iremotewinspool_winspool_InstallPrinterDriverFromPackageFlags_IPDFP_COPY_ALL_FILES;
356 static int hf_iremotewinspool_winspool_NOTIFY_OPTIONS_CONTAINER_pOptions;
357 static int hf_iremotewinspool_winspool_NOTIFY_REPLY_CONTAINER_pInfo;
358 static int hf_iremotewinspool_winspool_PrintNamedProperty_propertyName;
359 static int hf_iremotewinspool_winspool_PrintNamedProperty_propertyValue;
360 static int hf_iremotewinspool_winspool_PrintPropertiesCollection_numberOfProperties;
361 static int hf_iremotewinspool_winspool_PrintPropertiesCollection_propertiesCollection;
362 static int hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyByte;
363 static int hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyDevModeContainer;
364 static int hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyInt32;
365 static int hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyInt64;
366 static int hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyOptionsContainer;
367 static int hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyReplyContainer;
368 static int hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertySDContainer;
369 static int hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyString;
370 static int hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyTimeContainer;
371 static int hf_iremotewinspool_winspool_PrintPropertyValue_PropertyType;
372 static int hf_iremotewinspool_winspool_PrintPropertyValue_value;
373 static int hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_hRpcHandle;
374 static int hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_pNotifyFilter;
375 static int hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_ppNotifyData;
376 static int hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_hPrinter;
377 static int hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_pNotifyFilter;
378 static int hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_phRpcHandle;
379 static int hf_iremotewinspool_winspool_SyncUnRegisterForRemoteNotifications_phRpcHandle;
380 static int hf_iremotewinspool_winspool_UploadPrinterDriverPackageFlags_UPDP_CHECK_DRIVERSTORE;
381 static int hf_iremotewinspool_winspool_UploadPrinterDriverPackageFlags_UPDP_UPLOAD_ALWAYS;
383 static int proto_dcerpc_iremotewinspool;
384 /* Version information */
387 static e_guid_t uuid_dcerpc_iremotewinspool = {
388 0x76f03f96, 0xcdfd, 0x44fc,
389 { 0xa2, 0x2c, 0x64, 0x95, 0x0a, 0x00, 0x12, 0x09 }
391 static uint16_t ver_dcerpc_iremotewinspool = 1;
393 static int iremotewinspool_dissect_element_winspool_NOTIFY_REPLY_CONTAINER_pInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
394 static int iremotewinspool_dissect_element_winspool_NOTIFY_REPLY_CONTAINER_pInfo_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
395 static int iremotewinspool_dissect_element_winspool_NOTIFY_OPTIONS_CONTAINER_pOptions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
396 static int iremotewinspool_dissect_element_winspool_NOTIFY_OPTIONS_CONTAINER_pOptions_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
397 const value_string iremotewinspool_winspool_PrintPropertyType_vals[] = {
398 { winspool_PropertyTypeString, "winspool_PropertyTypeString" },
399 { winspool_PropertyTypeInt32, "winspool_PropertyTypeInt32" },
400 { winspool_PropertyTypeInt64, "winspool_PropertyTypeInt64" },
401 { winspool_PropertyTypeByte, "winspool_PropertyTypeByte" },
402 { winspool_PropertyTypeTime, "winspool_PropertyTypeTime" },
403 { winspool_PropertyTypeDevMode, "winspool_PropertyTypeDevMode" },
404 { winspool_PropertyTypeSD, "winspool_PropertyTypeSD" },
405 { winspool_PropertyTypeNotificationReply, "winspool_PropertyTypeNotificationReply" },
406 { winspool_PropertyTypeNotificationOptions, "winspool_PropertyTypeNotificationOptions" },
407 { 0, NULL }
409 static int iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyString(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
410 static int iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyString_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
411 static int iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyInt32(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
412 static int iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyInt64(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
413 static int iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyByte(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
414 static int iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyTimeContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
415 static int iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyDevModeContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
416 static int iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertySDContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
417 static int iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyReplyContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
418 static int iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyOptionsContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
419 static int iremotewinspool_dissect_element_winspool_PrintPropertyValue_PropertyType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t *PropertyType);
420 static int iremotewinspool_dissect_element_winspool_PrintPropertyValue_value(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t PropertyType);
421 static int iremotewinspool_dissect_element_winspool_PrintNamedProperty_propertyName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
422 static int iremotewinspool_dissect_element_winspool_PrintNamedProperty_propertyName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
423 static int iremotewinspool_dissect_element_winspool_PrintNamedProperty_propertyValue(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
424 static int iremotewinspool_dissect_element_winspool_PrintPropertiesCollection_numberOfProperties(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
425 static int iremotewinspool_dissect_element_winspool_PrintPropertiesCollection_propertiesCollection(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
426 static int iremotewinspool_dissect_element_winspool_PrintPropertiesCollection_propertiesCollection_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
427 static int iremotewinspool_dissect_element_winspool_PrintPropertiesCollection_propertiesCollection__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
428 static const true_false_string winspool_InstallPrinterDriverFromPackageFlags_IPDFP_COPY_ALL_FILES_tfs = {
429 "IPDFP_COPY_ALL_FILES is SET",
430 "IPDFP_COPY_ALL_FILES is NOT SET",
432 static const true_false_string winspool_UploadPrinterDriverPackageFlags_UPDP_UPLOAD_ALWAYS_tfs = {
433 "UPDP_UPLOAD_ALWAYS is SET",
434 "UPDP_UPLOAD_ALWAYS is NOT SET",
436 static const true_false_string winspool_UploadPrinterDriverPackageFlags_UPDP_CHECK_DRIVERSTORE_tfs = {
437 "UPDP_CHECK_DRIVERSTORE is SET",
438 "UPDP_CHECK_DRIVERSTORE is NOT SET",
440 static int iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pPrinterName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
441 static int iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pPrinterName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
442 static int iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pHandle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
443 static int iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pHandle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
444 static int iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pDatatype(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
445 static int iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pDatatype_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
446 static int iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pDevModeContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
447 static int iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pDevModeContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
448 static int iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_AccessRequired(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
449 static int iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pClientInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
450 static int iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pClientInfo_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
451 static int iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
452 static int iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
453 static int iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pPrinterContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
454 static int iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pPrinterContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
455 static int iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pDevModeContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
456 static int iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pDevModeContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
457 static int iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pSecurityContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
458 static int iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pSecurityContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
459 static int iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pClientInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
460 static int iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pClientInfo_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
461 static int iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pHandle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
462 static int iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pHandle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
463 static int iremotewinspool_dissect_element_winspool_AsyncSetJob_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
464 static int iremotewinspool_dissect_element_winspool_AsyncSetJob_JobId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
465 static int iremotewinspool_dissect_element_winspool_AsyncSetJob_pJobContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
466 static int iremotewinspool_dissect_element_winspool_AsyncSetJob_pJobContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
467 static int iremotewinspool_dissect_element_winspool_AsyncSetJob_Command(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
468 static int iremotewinspool_dissect_element_winspool_AsyncGetJob_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
469 static int iremotewinspool_dissect_element_winspool_AsyncGetJob_JobId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
470 static int iremotewinspool_dissect_element_winspool_AsyncGetJob_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
471 static int iremotewinspool_dissect_element_winspool_AsyncGetJob_pJob(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
472 static int iremotewinspool_dissect_element_winspool_AsyncGetJob_pJob_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
473 static int iremotewinspool_dissect_element_winspool_AsyncGetJob_pJob__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
474 static int iremotewinspool_dissect_element_winspool_AsyncGetJob_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
475 static int iremotewinspool_dissect_element_winspool_AsyncGetJob_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
476 static int iremotewinspool_dissect_element_winspool_AsyncGetJob_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
477 static int iremotewinspool_dissect_element_winspool_AsyncEnumJobs_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
478 static int iremotewinspool_dissect_element_winspool_AsyncEnumJobs_FirstJob(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
479 static int iremotewinspool_dissect_element_winspool_AsyncEnumJobs_NoJobs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
480 static int iremotewinspool_dissect_element_winspool_AsyncEnumJobs_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
481 static int iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pJob(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
482 static int iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pJob_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
483 static int iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pJob__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
484 static int iremotewinspool_dissect_element_winspool_AsyncEnumJobs_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
485 static int iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
486 static int iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
487 static int iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pcReturned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
488 static int iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pcReturned_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
489 static int iremotewinspool_dissect_element_winspool_AsyncAddJob_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
490 static int iremotewinspool_dissect_element_winspool_AsyncAddJob_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
491 static int iremotewinspool_dissect_element_winspool_AsyncAddJob_pAddJob(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
492 static int iremotewinspool_dissect_element_winspool_AsyncAddJob_pAddJob_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
493 static int iremotewinspool_dissect_element_winspool_AsyncAddJob_pAddJob__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
494 static int iremotewinspool_dissect_element_winspool_AsyncAddJob_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
495 static int iremotewinspool_dissect_element_winspool_AsyncAddJob_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
496 static int iremotewinspool_dissect_element_winspool_AsyncAddJob_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
497 static int iremotewinspool_dissect_element_winspool_AsyncScheduleJob_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
498 static int iremotewinspool_dissect_element_winspool_AsyncScheduleJob_JobId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
499 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
500 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
501 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pPrinterContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
502 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pPrinterContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
503 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pDevModeContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
504 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pDevModeContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
505 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pSecurityContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
506 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pSecurityContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
507 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinter_Command(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
508 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
509 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinter_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
510 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
511 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pPrinter_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
512 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pPrinter__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
513 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinter_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
514 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
515 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
516 static int iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
517 static int iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_pDocInfoContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
518 static int iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_pDocInfoContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
519 static int iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_pJobId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
520 static int iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_pJobId_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
521 static int iremotewinspool_dissect_element_winspool_AsyncStartPagePrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
522 static int iremotewinspool_dissect_element_winspool_AsyncWritePrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
523 static int iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
524 static int iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pBuf_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
525 static int iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pBuf__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
526 static int iremotewinspool_dissect_element_winspool_AsyncWritePrinter_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
527 static int iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pcWritten(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
528 static int iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pcWritten_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
529 static int iremotewinspool_dissect_element_winspool_AsyncEndPagePrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
530 static int iremotewinspool_dissect_element_winspool_AsyncEndDocPrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
531 static int iremotewinspool_dissect_element_winspool_AsyncAbortPrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
532 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
533 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pValueName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
534 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pValueName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
535 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
536 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pType_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
537 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
538 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
539 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pData__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
540 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_nSize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
541 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
542 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
543 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
544 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pKeyName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
545 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pKeyName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
546 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pValueName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
547 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pValueName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
548 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
549 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pType_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
550 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
551 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
552 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pData__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
553 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_nSize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
554 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
555 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
556 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
557 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pValueName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
558 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pValueName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
559 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_Type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
560 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
561 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
562 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pData__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
563 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_cbData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
564 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
565 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pKeyName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
566 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pKeyName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
567 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pValueName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
568 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pValueName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
569 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_Type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
570 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
571 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
572 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pData__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
573 static int iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_cbData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
574 static int iremotewinspool_dissect_element_winspool_AsyncClosePrinter_phPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
575 static int iremotewinspool_dissect_element_winspool_AsyncClosePrinter_phPrinter_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
576 static int iremotewinspool_dissect_element_winspool_AsyncAddForm_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
577 static int iremotewinspool_dissect_element_winspool_AsyncAddForm_pFormInfoContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
578 static int iremotewinspool_dissect_element_winspool_AsyncAddForm_pFormInfoContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
579 static int iremotewinspool_dissect_element_winspool_AsyncDeleteForm_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
580 static int iremotewinspool_dissect_element_winspool_AsyncDeleteForm_pFormName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
581 static int iremotewinspool_dissect_element_winspool_AsyncDeleteForm_pFormName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
582 static int iremotewinspool_dissect_element_winspool_AsyncGetForm_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
583 static int iremotewinspool_dissect_element_winspool_AsyncGetForm_pFormName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
584 static int iremotewinspool_dissect_element_winspool_AsyncGetForm_pFormName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
585 static int iremotewinspool_dissect_element_winspool_AsyncGetForm_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
586 static int iremotewinspool_dissect_element_winspool_AsyncGetForm_pForm(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
587 static int iremotewinspool_dissect_element_winspool_AsyncGetForm_pForm_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
588 static int iremotewinspool_dissect_element_winspool_AsyncGetForm_pForm__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
589 static int iremotewinspool_dissect_element_winspool_AsyncGetForm_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
590 static int iremotewinspool_dissect_element_winspool_AsyncGetForm_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
591 static int iremotewinspool_dissect_element_winspool_AsyncGetForm_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
592 static int iremotewinspool_dissect_element_winspool_AsyncSetForm_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
593 static int iremotewinspool_dissect_element_winspool_AsyncSetForm_pFormName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
594 static int iremotewinspool_dissect_element_winspool_AsyncSetForm_pFormName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
595 static int iremotewinspool_dissect_element_winspool_AsyncSetForm_pFormInfoContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
596 static int iremotewinspool_dissect_element_winspool_AsyncSetForm_pFormInfoContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
597 static int iremotewinspool_dissect_element_winspool_AsyncEnumForms_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
598 static int iremotewinspool_dissect_element_winspool_AsyncEnumForms_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
599 static int iremotewinspool_dissect_element_winspool_AsyncEnumForms_pForm(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
600 static int iremotewinspool_dissect_element_winspool_AsyncEnumForms_pForm_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
601 static int iremotewinspool_dissect_element_winspool_AsyncEnumForms_pForm__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
602 static int iremotewinspool_dissect_element_winspool_AsyncEnumForms_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
603 static int iremotewinspool_dissect_element_winspool_AsyncEnumForms_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
604 static int iremotewinspool_dissect_element_winspool_AsyncEnumForms_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
605 static int iremotewinspool_dissect_element_winspool_AsyncEnumForms_pcReturned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
606 static int iremotewinspool_dissect_element_winspool_AsyncEnumForms_pcReturned_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
607 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
608 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
609 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
610 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
611 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pDriver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
612 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pDriver_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
613 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pDriver__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
614 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
615 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
616 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
617 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_dwClientMajorVersion(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
618 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_dwClientMinorVersion(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
619 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pdwServerMaxVersion(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
620 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pdwServerMaxVersion_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
621 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pdwServerMinVersion(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
622 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pdwServerMinVersion_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
623 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
624 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_dwIndex(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
625 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pValueName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
626 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pValueName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
627 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pValueName__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
628 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_cbValueName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
629 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pcbValueName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
630 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pcbValueName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
631 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
632 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pType_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
633 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
634 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
635 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pData__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
636 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_cbData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
637 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pcbData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
638 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pcbData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
639 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
640 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pKeyName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
641 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pKeyName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
642 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pEnumValues(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
643 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pEnumValues_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
644 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pEnumValues__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
645 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_cbEnumValues(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
646 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pcbEnumValues(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
647 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pcbEnumValues_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
648 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pnEnumValues(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
649 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pnEnumValues_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
650 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
651 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pKeyName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
652 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pKeyName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
653 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pSubkey(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
654 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pSubkey_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
655 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pSubkey__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
656 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_cbSubkey(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
657 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pcbSubkey(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
658 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pcbSubkey_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
659 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterData_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
660 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterData_pValueName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
661 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterData_pValueName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
662 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
663 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_pKeyName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
664 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_pKeyName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
665 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_pValueName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
666 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_pValueName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
667 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterKey_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
668 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterKey_pKeyName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
669 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterKey_pKeyName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
670 static int iremotewinspool_dissect_element_winspool_AsyncXcvData_hXcv(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
671 static int iremotewinspool_dissect_element_winspool_AsyncXcvData_pszDataName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
672 static int iremotewinspool_dissect_element_winspool_AsyncXcvData_pszDataName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
673 static int iremotewinspool_dissect_element_winspool_AsyncXcvData_pInputData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
674 static int iremotewinspool_dissect_element_winspool_AsyncXcvData_pInputData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
675 static int iremotewinspool_dissect_element_winspool_AsyncXcvData_pInputData__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
676 static int iremotewinspool_dissect_element_winspool_AsyncXcvData_cbInputData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
677 static int iremotewinspool_dissect_element_winspool_AsyncXcvData_pOutputData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
678 static int iremotewinspool_dissect_element_winspool_AsyncXcvData_pOutputData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
679 static int iremotewinspool_dissect_element_winspool_AsyncXcvData_pOutputData__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
680 static int iremotewinspool_dissect_element_winspool_AsyncXcvData_cbOutputData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
681 static int iremotewinspool_dissect_element_winspool_AsyncXcvData_pcbOutputNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
682 static int iremotewinspool_dissect_element_winspool_AsyncXcvData_pcbOutputNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
683 static int iremotewinspool_dissect_element_winspool_AsyncXcvData_pdwStatus(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
684 static int iremotewinspool_dissect_element_winspool_AsyncXcvData_pdwStatus_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
685 static int iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
686 static int iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_pAction(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
687 static int iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_pAction_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
688 static int iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_pReqData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
689 static int iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_pReqData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
690 static int iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_ppRespData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
691 static int iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_ppRespData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
692 static int iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_ppRespData__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
693 static int iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
694 static int iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_pHandle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
695 static int iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_pHandle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
696 static int iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_pDevModeContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
697 static int iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_pDevModeContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
698 static int iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_hPrinterIC(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
699 static int iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
700 static int iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
701 static int iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
702 static int iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_cIn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
703 static int iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
704 static int iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
705 static int iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
706 static int iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_cOut(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
707 static int iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_ul(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
708 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterIC_phPrinterIC(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
709 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterIC_phPrinterIC_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
710 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_Flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
711 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
712 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
713 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
714 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pPrinterEnum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
715 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pPrinterEnum_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
716 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pPrinterEnum__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
717 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
718 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
719 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
720 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pcReturned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
721 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pcReturned_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
722 static int iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
723 static int iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
724 static int iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_pDriverContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
725 static int iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_pDriverContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
726 static int iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_dwFileCopyFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
727 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
728 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
729 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
730 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
731 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
732 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pDrivers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
733 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pDrivers_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
734 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pDrivers__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
735 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
736 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
737 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
738 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pcReturned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
739 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pcReturned_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
740 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
741 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
742 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
743 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
744 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
745 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
746 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
747 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
748 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
749 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
750 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
751 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
752 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
753 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
754 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
755 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pDriverName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
756 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pDriverName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
757 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
758 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
759 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
760 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
761 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pDriverName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
762 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pDriverName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
763 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_dwDeleteFlag(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
764 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_dwVersionNum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
765 static int iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
766 static int iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
767 static int iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
768 static int iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
769 static int iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pPathName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
770 static int iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pPathName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
771 static int iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pPrintProcessorName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
772 static int iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pPrintProcessorName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
773 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
774 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
775 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
776 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
777 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
778 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
779 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
780 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
781 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
782 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
783 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
784 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pcReturned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
785 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pcReturned_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
786 static int iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
787 static int iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
788 static int iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
789 static int iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
790 static int iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
791 static int iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
792 static int iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
793 static int iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
794 static int iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
795 static int iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
796 static int iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
797 static int iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
798 static int iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
799 static int iremotewinspool_dissect_element_winspool_AsyncEnumPorts_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
800 static int iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pPort(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
801 static int iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pPort_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
802 static int iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pPort__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
803 static int iremotewinspool_dissect_element_winspool_AsyncEnumPorts_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
804 static int iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
805 static int iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
806 static int iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pcReturned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
807 static int iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pcReturned_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
808 static int iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
809 static int iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
810 static int iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
811 static int iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pMonitor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
812 static int iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pMonitor_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
813 static int iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pMonitor__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
814 static int iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
815 static int iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
816 static int iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
817 static int iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pcReturned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
818 static int iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pcReturned_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
819 static int iremotewinspool_dissect_element_winspool_AsyncAddPort_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
820 static int iremotewinspool_dissect_element_winspool_AsyncAddPort_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
821 static int iremotewinspool_dissect_element_winspool_AsyncAddPort_pPortContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
822 static int iremotewinspool_dissect_element_winspool_AsyncAddPort_pPortContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
823 static int iremotewinspool_dissect_element_winspool_AsyncAddPort_pPortVarContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
824 static int iremotewinspool_dissect_element_winspool_AsyncAddPort_pPortVarContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
825 static int iremotewinspool_dissect_element_winspool_AsyncAddPort_pMonitorName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
826 static int iremotewinspool_dissect_element_winspool_AsyncAddPort_pMonitorName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
827 static int iremotewinspool_dissect_element_winspool_AsyncSetPort_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
828 static int iremotewinspool_dissect_element_winspool_AsyncSetPort_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
829 static int iremotewinspool_dissect_element_winspool_AsyncSetPort_pPortName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
830 static int iremotewinspool_dissect_element_winspool_AsyncSetPort_pPortName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
831 static int iremotewinspool_dissect_element_winspool_AsyncSetPort_pPortContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
832 static int iremotewinspool_dissect_element_winspool_AsyncSetPort_pPortContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
833 static int iremotewinspool_dissect_element_winspool_AsyncAddMonitor_Name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
834 static int iremotewinspool_dissect_element_winspool_AsyncAddMonitor_Name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
835 static int iremotewinspool_dissect_element_winspool_AsyncAddMonitor_pMonitorContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
836 static int iremotewinspool_dissect_element_winspool_AsyncAddMonitor_pMonitorContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
837 static int iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_Name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
838 static int iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_Name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
839 static int iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_pEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
840 static int iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_pEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
841 static int iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_pMonitorName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
842 static int iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_pMonitorName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
843 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_Name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
844 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_Name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
845 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_pEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
846 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_pEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
847 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_pPrintProcessorName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
848 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_pPrintProcessorName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
849 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
850 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
851 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pPrintProcessorName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
852 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pPrintProcessorName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
853 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
854 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
855 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
856 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
857 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
858 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
859 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
860 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pcReturned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
861 static int iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pcReturned_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
862 static int iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pServer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
863 static int iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pServer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
864 static int iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pPrinterName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
865 static int iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pPrinterName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
866 static int iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pPrintServer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
867 static int iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pPrintServer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
868 static int iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pProvider(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
869 static int iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pProvider_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
870 static int iremotewinspool_dissect_element_winspool_AsyncDeletePerMachineConnection_pServer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
871 static int iremotewinspool_dissect_element_winspool_AsyncDeletePerMachineConnection_pServer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
872 static int iremotewinspool_dissect_element_winspool_AsyncDeletePerMachineConnection_pPrinterName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
873 static int iremotewinspool_dissect_element_winspool_AsyncDeletePerMachineConnection_pPrinterName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
874 static int iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pServer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
875 static int iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pServer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
876 static int iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pPrinterEnum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
877 static int iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pPrinterEnum_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
878 static int iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pPrinterEnum__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
879 static int iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
880 static int iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
881 static int iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
882 static int iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pcReturned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
883 static int iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pcReturned_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
884 static int iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
885 static int iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_pNotifyFilter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
886 static int iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_pNotifyFilter_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
887 static int iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_phRpcHandle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
888 static int iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_phRpcHandle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
889 static int iremotewinspool_dissect_element_winspool_SyncUnRegisterForRemoteNotifications_phRpcHandle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
890 static int iremotewinspool_dissect_element_winspool_SyncUnRegisterForRemoteNotifications_phRpcHandle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
891 static int iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_hRpcHandle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
892 static int iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_pNotifyFilter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
893 static int iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_pNotifyFilter_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
894 static int iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_ppNotifyData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
895 static int iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_ppNotifyData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
896 static int iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_ppNotifyData__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
897 static int iremotewinspool_dissect_element_winspool_AsyncGetRemoteNotifications_hRpcHandle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
898 static int iremotewinspool_dissect_element_winspool_AsyncGetRemoteNotifications_ppNotifyData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
899 static int iremotewinspool_dissect_element_winspool_AsyncGetRemoteNotifications_ppNotifyData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
900 static int iremotewinspool_dissect_element_winspool_AsyncGetRemoteNotifications_ppNotifyData__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
901 static int iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszServer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
902 static int iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszServer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
903 static int iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszInfPath(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
904 static int iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszInfPath_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
905 static int iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszDriverName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
906 static int iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszDriverName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
907 static int iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
908 static int iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
909 static int iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_dwFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
910 static int iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszServer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
911 static int iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszServer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
912 static int iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszInfPath(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
913 static int iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszInfPath_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
914 static int iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
915 static int iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
916 static int iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_dwFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
917 static int iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
918 static int iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
919 static int iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
920 static int iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pcchDestInfPath(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
921 static int iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pcchDestInfPath_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
922 static int iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszServer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
923 static int iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszServer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
924 static int iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
925 static int iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
926 static int iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_cchCoreDrivers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
927 static int iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
928 static int iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
929 static int iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
930 static int iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_cCorePrinterDrivers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
931 static int iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pCorePrinterDrivers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
932 static int iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pCorePrinterDrivers_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
933 static int iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pCorePrinterDrivers__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
934 static int iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pszServer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
935 static int iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pszServer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
936 static int iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pszEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
937 static int iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pszEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
938 static int iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_CoreDriverGUID(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
939 static int iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_ftDriverDate(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
940 static int iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_dwlDriverVersion(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
941 static int iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pbDriverInstalled(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
942 static int iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pbDriverInstalled_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
943 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszServer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
944 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszServer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
945 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
946 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
947 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszLanguage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
948 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszLanguage_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
949 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszPackageID(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
950 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszPackageID_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
951 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
952 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
953 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
954 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_cchDriverPackageCab(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
955 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pcchRequiredSize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
956 static int iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pcchRequiredSize_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
957 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszServer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
958 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszServer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
959 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszInfPath(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
960 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszInfPath_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
961 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
962 static int iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
963 static int iremotewinspool_dissect_element_winspool_AsyncReadPrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
964 static int iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
965 static int iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pBuf_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
966 static int iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pBuf__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
967 static int iremotewinspool_dissect_element_winspool_AsyncReadPrinter_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
968 static int iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pcNoBytesRead(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
969 static int iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pcNoBytesRead_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
970 static int iremotewinspool_dissect_element_winspool_AsyncResetPrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
971 static int iremotewinspool_dissect_element_winspool_AsyncResetPrinter_pDatatype(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
972 static int iremotewinspool_dissect_element_winspool_AsyncResetPrinter_pDatatype_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
973 static int iremotewinspool_dissect_element_winspool_AsyncResetPrinter_pDevModeContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
974 static int iremotewinspool_dissect_element_winspool_AsyncResetPrinter_pDevModeContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
975 static int iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
976 static int iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_JobId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
977 static int iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_pszName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
978 static int iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_pszName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
979 static int iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_pValue(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
980 static int iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_pValue_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
981 static int iremotewinspool_dissect_element_winspool_AsyncSetJobNamedProperty_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
982 static int iremotewinspool_dissect_element_winspool_AsyncSetJobNamedProperty_JobId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
983 static int iremotewinspool_dissect_element_winspool_AsyncSetJobNamedProperty_pProperty(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
984 static int iremotewinspool_dissect_element_winspool_AsyncSetJobNamedProperty_pProperty_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
985 static int iremotewinspool_dissect_element_winspool_AsyncDeleteJobNamedProperty_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
986 static int iremotewinspool_dissect_element_winspool_AsyncDeleteJobNamedProperty_JobId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
987 static int iremotewinspool_dissect_element_winspool_AsyncDeleteJobNamedProperty_pszName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
988 static int iremotewinspool_dissect_element_winspool_AsyncDeleteJobNamedProperty_pszName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
989 static int iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
990 static int iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_JobId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
991 static int iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_pcProperties(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
992 static int iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_pcProperties_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
993 static int iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_ppProperties(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
994 static int iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_ppProperties_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
995 static int iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_ppProperties__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
996 static int iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_ppProperties___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
997 static int iremotewinspool_dissect_element_winspool_AsyncLogJobInfoForBranchOffice_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
998 static int iremotewinspool_dissect_element_winspool_AsyncLogJobInfoForBranchOffice_pBranchOfficeJobDataContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
999 static int iremotewinspool_dissect_element_winspool_AsyncLogJobInfoForBranchOffice_pBranchOfficeJobDataContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
1000 #include "packet-smb.h"
1001 #include "packet-smb-browse.h"
1002 extern struct access_mask_info spoolss_printer_access_mask_info;
1003 static int
1004 iremotewinspool_dissect_sec_desc_buf(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, uint8_t *drep)
1006 uint32_t len;
1007 if(di->conformant_run){
1008 /*just a run to handle conformant arrays, nothing to dissect */
1009 return offset;
1011 offset = dissect_ndr_uint32 (tvb, offset, pinfo, tree, di, drep,
1012 hf_iremotewinspool_sec_desc_buf_len, &len);
1013 dissect_nt_sec_desc(
1014 tvb, offset, pinfo, tree, drep, true, len,
1015 &spoolss_printer_access_mask_info);
1016 offset += len;
1017 return offset;
1021 /* IDL: struct { */
1022 /* IDL: [unique(1)] spoolss_NotifyInfo *pInfo; */
1023 /* IDL: } */
1025 static int
1026 iremotewinspool_dissect_element_winspool_NOTIFY_REPLY_CONTAINER_pInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1028 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_NOTIFY_REPLY_CONTAINER_pInfo_, NDR_POINTER_UNIQUE, "Pointer to PInfo (spoolss_NotifyInfo)",hf_iremotewinspool_winspool_NOTIFY_REPLY_CONTAINER_pInfo);
1030 return offset;
1033 static int
1034 iremotewinspool_dissect_element_winspool_NOTIFY_REPLY_CONTAINER_pInfo_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1036 offset = dissect_NOTIFY_INFO(tvb, offset, pinfo, tree, di, drep);
1038 return offset;
1042 iremotewinspool_dissect_struct_winspool_NOTIFY_REPLY_CONTAINER(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_)
1044 proto_item *item = NULL;
1045 proto_tree *tree = NULL;
1046 int old_offset;
1048 ALIGN_TO_5_BYTES;
1050 old_offset = offset;
1052 if (parent_tree) {
1053 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1054 tree = proto_item_add_subtree(item, ett_iremotewinspool_winspool_NOTIFY_REPLY_CONTAINER);
1057 offset = iremotewinspool_dissect_element_winspool_NOTIFY_REPLY_CONTAINER_pInfo(tvb, offset, pinfo, tree, di, drep);
1060 proto_item_set_len(item, offset-old_offset);
1063 if (di->call_data->flags & DCERPC_IS_NDR64) {
1064 ALIGN_TO_5_BYTES;
1067 return offset;
1071 /* IDL: struct { */
1072 /* IDL: [unique(1)] spoolss_NotifyOption *pOptions; */
1073 /* IDL: } */
1075 static int
1076 iremotewinspool_dissect_element_winspool_NOTIFY_OPTIONS_CONTAINER_pOptions(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1078 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_NOTIFY_OPTIONS_CONTAINER_pOptions_, NDR_POINTER_UNIQUE, "Pointer to POptions (spoolss_NotifyOption)",hf_iremotewinspool_winspool_NOTIFY_OPTIONS_CONTAINER_pOptions);
1080 return offset;
1083 static int
1084 iremotewinspool_dissect_element_winspool_NOTIFY_OPTIONS_CONTAINER_pOptions_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1086 offset = dissect_NOTIFY_OPTIONS_ARRAY_CTR(tvb, offset, pinfo, tree, di, drep);
1088 return offset;
1092 iremotewinspool_dissect_struct_winspool_NOTIFY_OPTIONS_CONTAINER(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_)
1094 proto_item *item = NULL;
1095 proto_tree *tree = NULL;
1096 int old_offset;
1098 ALIGN_TO_5_BYTES;
1100 old_offset = offset;
1102 if (parent_tree) {
1103 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1104 tree = proto_item_add_subtree(item, ett_iremotewinspool_winspool_NOTIFY_OPTIONS_CONTAINER);
1107 offset = iremotewinspool_dissect_element_winspool_NOTIFY_OPTIONS_CONTAINER_pOptions(tvb, offset, pinfo, tree, di, drep);
1110 proto_item_set_len(item, offset-old_offset);
1113 if (di->call_data->flags & DCERPC_IS_NDR64) {
1114 ALIGN_TO_5_BYTES;
1117 return offset;
1121 /* IDL: enum { */
1122 /* IDL: winspool_PropertyTypeString=1, */
1123 /* IDL: winspool_PropertyTypeInt32=2, */
1124 /* IDL: winspool_PropertyTypeInt64=3, */
1125 /* IDL: winspool_PropertyTypeByte=4, */
1126 /* IDL: winspool_PropertyTypeTime=5, */
1127 /* IDL: winspool_PropertyTypeDevMode=6, */
1128 /* IDL: winspool_PropertyTypeSD=7, */
1129 /* IDL: winspool_PropertyTypeNotificationReply=8, */
1130 /* IDL: winspool_PropertyTypeNotificationOptions=9, */
1131 /* IDL: } */
1134 iremotewinspool_dissect_enum_winspool_PrintPropertyType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t *param _U_)
1136 uint32_t parameter=0;
1137 if (param) {
1138 parameter = *param;
1140 offset = dissect_ndr_uint1632(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);
1141 if (param) {
1142 *param = parameter;
1144 return offset;
1148 /* IDL: [ms_union(1)] [switch_type(winspool_PrintPropertyType)] union { */
1149 /* IDL: [case(winspool_PropertyTypeString)] [case(winspool_PropertyTypeString)] [charset(UTF16)] [unique(1)] uint16 *propertyString; */
1150 /* IDL: [case(winspool_PropertyTypeInt32)] [case(winspool_PropertyTypeInt32)] uint32 propertyInt32; */
1151 /* IDL: [case(winspool_PropertyTypeInt64)] [case(winspool_PropertyTypeInt64)] hyper propertyInt64; */
1152 /* IDL: [case(winspool_PropertyTypeByte)] [case(winspool_PropertyTypeByte)] uint8 propertyByte; */
1153 /* IDL: [case(winspool_PropertyTypeTime)] [case(winspool_PropertyTypeTime)] spoolss_TimeCtr propertyTimeContainer; */
1154 /* IDL: [case(winspool_PropertyTypeDevMode)] [case(winspool_PropertyTypeDevMode)] spoolss_DevmodeContainer propertyDevModeContainer; */
1155 /* IDL: [case(winspool_PropertyTypeSD)] [case(winspool_PropertyTypeSD)] sec_desc_buf propertySDContainer; */
1156 /* IDL: [case(winspool_PropertyTypeNotificationReply)] [case(winspool_PropertyTypeNotificationReply)] winspool_NOTIFY_REPLY_CONTAINER propertyReplyContainer; */
1157 /* IDL: [case(winspool_PropertyTypeNotificationOptions)] [case(winspool_PropertyTypeNotificationOptions)] winspool_NOTIFY_OPTIONS_CONTAINER propertyOptionsContainer; */
1158 /* IDL: } */
1160 static int
1161 iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyString(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1163 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyString_, NDR_POINTER_UNIQUE, "Pointer to PropertyString (uint16)",hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyString);
1165 return offset;
1168 static int
1169 iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyString_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1171 char *data = NULL;
1172 struct ndr_generic_array nga = { .is_conformant = false, };
1174 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
1176 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
1177 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyString, false, &nga, &data);
1178 proto_item_append_text(tree, ": %s", data);
1180 return offset;
1183 static int
1184 iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyInt32(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1186 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyInt32, 0);
1188 return offset;
1191 static int
1192 iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyInt64(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1194 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyInt64, NULL);
1196 return offset;
1199 static int
1200 iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyByte(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1202 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyByte, 0);
1204 return offset;
1207 static int
1208 iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyTimeContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1210 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
1212 return offset;
1215 static int
1216 iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyDevModeContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1218 offset = dissect_DEVMODE_CTR(tvb, offset, pinfo, tree, di, drep);
1220 return offset;
1223 static int
1224 iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertySDContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1226 offset = iremotewinspool_dissect_sec_desc_buf(tvb, offset, pinfo, tree, di, drep);
1228 return offset;
1231 static int
1232 iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyReplyContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1234 offset = iremotewinspool_dissect_struct_winspool_NOTIFY_REPLY_CONTAINER(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyReplyContainer,0);
1236 return offset;
1239 static int
1240 iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyOptionsContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1242 offset = iremotewinspool_dissect_struct_winspool_NOTIFY_OPTIONS_CONTAINER(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyOptionsContainer,0);
1244 return offset;
1247 static int
1248 iremotewinspool_dissect_winspool_PrintPropertyValueUnion(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_)
1250 proto_item *item = NULL;
1251 proto_tree *tree = NULL;
1252 int old_offset;
1253 uint32_t level;
1255 old_offset = offset;
1256 if (parent_tree) {
1257 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_iremotewinspool_winspool_PrintPropertyValueUnion, &item, "winspool_PrintPropertyValueUnion");
1260 UNION_ALIGN_TO_8_BYTES;
1261 offset = dissect_ndr_uint1632(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
1262 /* ms_union is always aligned to the largest union arm*/
1263 ALIGN_TO_8_BYTES;
1265 switch(level) {
1266 case winspool_PropertyTypeString:
1267 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyString(tvb, offset, pinfo, tree, di, drep);
1268 break;
1270 case winspool_PropertyTypeInt32:
1271 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyInt32(tvb, offset, pinfo, tree, di, drep);
1272 break;
1274 case winspool_PropertyTypeInt64:
1275 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyInt64(tvb, offset, pinfo, tree, di, drep);
1276 break;
1278 case winspool_PropertyTypeByte:
1279 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyByte(tvb, offset, pinfo, tree, di, drep);
1280 break;
1282 case winspool_PropertyTypeTime:
1283 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyTimeContainer(tvb, offset, pinfo, tree, di, drep);
1284 break;
1286 case winspool_PropertyTypeDevMode:
1287 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyDevModeContainer(tvb, offset, pinfo, tree, di, drep);
1288 break;
1290 case winspool_PropertyTypeSD:
1291 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertySDContainer(tvb, offset, pinfo, tree, di, drep);
1292 break;
1294 case winspool_PropertyTypeNotificationReply:
1295 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyReplyContainer(tvb, offset, pinfo, tree, di, drep);
1296 break;
1298 case winspool_PropertyTypeNotificationOptions:
1299 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyOptionsContainer(tvb, offset, pinfo, tree, di, drep);
1300 break;
1302 proto_item_set_len(item, offset-old_offset);
1305 return offset;
1308 /* IDL: struct { */
1309 /* IDL: winspool_PrintPropertyType PropertyType; */
1310 /* IDL: [switch_is(PropertyType)] winspool_PrintPropertyValueUnion value; */
1311 /* IDL: } */
1313 static int
1314 iremotewinspool_dissect_element_winspool_PrintPropertyValue_PropertyType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t *PropertyType)
1316 offset = iremotewinspool_dissect_enum_winspool_PrintPropertyType(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_PrintPropertyValue_PropertyType, PropertyType);
1318 return offset;
1321 static int
1322 iremotewinspool_dissect_element_winspool_PrintPropertyValue_value(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, uint32_t PropertyType)
1324 offset = iremotewinspool_dissect_winspool_PrintPropertyValueUnion(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_PrintPropertyValue_value, PropertyType);
1326 return offset;
1330 iremotewinspool_dissect_struct_winspool_PrintPropertyValue(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_)
1332 uint32_t PropertyType = 0;
1333 proto_item *item = NULL;
1334 proto_tree *tree = NULL;
1335 int old_offset;
1337 ALIGN_TO_8_BYTES;
1339 old_offset = offset;
1341 if (parent_tree) {
1342 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1343 tree = proto_item_add_subtree(item, ett_iremotewinspool_winspool_PrintPropertyValue);
1346 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValue_PropertyType(tvb, offset, pinfo, tree, di, drep, &PropertyType);
1348 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValue_value(tvb, offset, pinfo, tree, di, drep, PropertyType);
1351 proto_item_set_len(item, offset-old_offset);
1354 if (di->call_data->flags & DCERPC_IS_NDR64) {
1355 ALIGN_TO_8_BYTES;
1358 return offset;
1362 /* IDL: struct { */
1363 /* IDL: [charset(UTF16)] [unique(1)] uint16 *propertyName; */
1364 /* IDL: winspool_PrintPropertyValue propertyValue; */
1365 /* IDL: } */
1367 static int
1368 iremotewinspool_dissect_element_winspool_PrintNamedProperty_propertyName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1370 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_PrintNamedProperty_propertyName_, NDR_POINTER_UNIQUE, "Pointer to PropertyName (uint16)",hf_iremotewinspool_winspool_PrintNamedProperty_propertyName);
1372 return offset;
1375 static int
1376 iremotewinspool_dissect_element_winspool_PrintNamedProperty_propertyName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1378 char *data = NULL;
1379 struct ndr_generic_array nga = { .is_conformant = false, };
1381 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
1383 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
1384 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_PrintNamedProperty_propertyName, false, &nga, &data);
1385 proto_item_append_text(tree, ": %s", data);
1387 return offset;
1390 static int
1391 iremotewinspool_dissect_element_winspool_PrintNamedProperty_propertyValue(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1393 offset = iremotewinspool_dissect_struct_winspool_PrintPropertyValue(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_PrintNamedProperty_propertyValue,0);
1395 return offset;
1399 iremotewinspool_dissect_struct_winspool_PrintNamedProperty(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_)
1401 proto_item *item = NULL;
1402 proto_tree *tree = NULL;
1403 int old_offset;
1405 ALIGN_TO_8_BYTES;
1407 old_offset = offset;
1409 if (parent_tree) {
1410 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1411 tree = proto_item_add_subtree(item, ett_iremotewinspool_winspool_PrintNamedProperty);
1414 offset = iremotewinspool_dissect_element_winspool_PrintNamedProperty_propertyName(tvb, offset, pinfo, tree, di, drep);
1416 offset = iremotewinspool_dissect_element_winspool_PrintNamedProperty_propertyValue(tvb, offset, pinfo, tree, di, drep);
1419 proto_item_set_len(item, offset-old_offset);
1422 if (di->call_data->flags & DCERPC_IS_NDR64) {
1423 ALIGN_TO_8_BYTES;
1426 return offset;
1430 /* IDL: struct { */
1431 /* IDL: [range(0,50)] uint32 numberOfProperties; */
1432 /* IDL: [size_is(numberOfProperties)] [unique(1)] winspool_PrintNamedProperty *propertiesCollection; */
1433 /* IDL: } */
1435 static int
1436 iremotewinspool_dissect_element_winspool_PrintPropertiesCollection_numberOfProperties(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1438 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_PrintPropertiesCollection_numberOfProperties, 0);
1440 return offset;
1443 static int
1444 iremotewinspool_dissect_element_winspool_PrintPropertiesCollection_propertiesCollection(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1446 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_PrintPropertiesCollection_propertiesCollection_, NDR_POINTER_UNIQUE, "Pointer to PropertiesCollection (winspool_PrintNamedProperty)",hf_iremotewinspool_winspool_PrintPropertiesCollection_propertiesCollection);
1448 return offset;
1451 static int
1452 iremotewinspool_dissect_element_winspool_PrintPropertiesCollection_propertiesCollection_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1454 struct ndr_generic_array nga = { .is_conformant = false, };
1456 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
1458 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_PrintPropertiesCollection_propertiesCollection__);
1460 return offset;
1463 static int
1464 iremotewinspool_dissect_element_winspool_PrintPropertiesCollection_propertiesCollection__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1466 offset = iremotewinspool_dissect_struct_winspool_PrintNamedProperty(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_PrintPropertiesCollection_propertiesCollection,0);
1468 return offset;
1472 iremotewinspool_dissect_struct_winspool_PrintPropertiesCollection(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_)
1474 proto_item *item = NULL;
1475 proto_tree *tree = NULL;
1476 int old_offset;
1478 ALIGN_TO_5_BYTES;
1480 old_offset = offset;
1482 if (parent_tree) {
1483 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1484 tree = proto_item_add_subtree(item, ett_iremotewinspool_winspool_PrintPropertiesCollection);
1487 offset = iremotewinspool_dissect_element_winspool_PrintPropertiesCollection_numberOfProperties(tvb, offset, pinfo, tree, di, drep);
1489 offset = iremotewinspool_dissect_element_winspool_PrintPropertiesCollection_propertiesCollection(tvb, offset, pinfo, tree, di, drep);
1492 proto_item_set_len(item, offset-old_offset);
1495 if (di->call_data->flags & DCERPC_IS_NDR64) {
1496 ALIGN_TO_5_BYTES;
1499 return offset;
1503 /* IDL: bitmap { */
1504 /* IDL: IPDFP_FLAG_NONE = 0x00000000 , */
1505 /* IDL: IPDFP_COPY_ALL_FILES = 0x00000001 , */
1506 /* IDL: } */
1509 iremotewinspool_dissect_bitmap_winspool_InstallPrinterDriverFromPackageFlags(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_)
1511 proto_item *item;
1512 static int * const iremotewinspool_winspool_InstallPrinterDriverFromPackageFlags_fields[] = {
1513 &hf_iremotewinspool_winspool_InstallPrinterDriverFromPackageFlags_IPDFP_COPY_ALL_FILES,
1514 NULL
1516 uint32_t flags;
1517 ALIGN_TO_4_BYTES;
1519 item = proto_tree_add_bitmask_with_flags(parent_tree, tvb, offset, hf_index,
1520 ett_iremotewinspool_winspool_InstallPrinterDriverFromPackageFlags, iremotewinspool_winspool_InstallPrinterDriverFromPackageFlags_fields, DREP_ENC_INTEGER(drep), BMT_NO_FALSE);
1522 offset = dissect_ndr_uint32(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);
1524 if (!flags)
1525 proto_item_append_text(item, ": (No values set)");
1527 if (flags & (~0x00000001)) {
1528 flags &= (~0x00000001);
1529 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
1532 return offset;
1536 /* IDL: bitmap { */
1537 /* IDL: UPDP_FLAG_NONE = 0x00000000 , */
1538 /* IDL: UPDP_UPLOAD_ALWAYS = 0x00000002 , */
1539 /* IDL: UPDP_CHECK_DRIVERSTORE = 0x00000004 , */
1540 /* IDL: } */
1543 iremotewinspool_dissect_bitmap_winspool_UploadPrinterDriverPackageFlags(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_)
1545 proto_item *item;
1546 static int * const iremotewinspool_winspool_UploadPrinterDriverPackageFlags_fields[] = {
1547 &hf_iremotewinspool_winspool_UploadPrinterDriverPackageFlags_UPDP_UPLOAD_ALWAYS,
1548 &hf_iremotewinspool_winspool_UploadPrinterDriverPackageFlags_UPDP_CHECK_DRIVERSTORE,
1549 NULL
1551 uint32_t flags;
1552 ALIGN_TO_4_BYTES;
1554 item = proto_tree_add_bitmask_with_flags(parent_tree, tvb, offset, hf_index,
1555 ett_iremotewinspool_winspool_UploadPrinterDriverPackageFlags, iremotewinspool_winspool_UploadPrinterDriverPackageFlags_fields, DREP_ENC_INTEGER(drep), BMT_NO_FALSE);
1557 offset = dissect_ndr_uint32(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);
1559 if (!flags)
1560 proto_item_append_text(item, ": (No values set)");
1562 if (flags & (~0x00000006)) {
1563 flags &= (~0x00000006);
1564 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
1567 return offset;
1570 static int
1571 iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pPrinterName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1573 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pPrinterName_, NDR_POINTER_UNIQUE, "Pointer to PPrinterName (uint16)",hf_iremotewinspool_winspool_AsyncOpenPrinter_pPrinterName);
1575 return offset;
1578 static int
1579 iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pPrinterName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1581 char *data = NULL;
1582 struct ndr_generic_array nga = { .is_conformant = false, };
1584 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
1586 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
1587 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncOpenPrinter_pPrinterName, false, &nga, &data);
1588 proto_item_append_text(tree, ": %s", data);
1590 return offset;
1593 static int
1594 iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pHandle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1596 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pHandle_, NDR_POINTER_REF, "Pointer to PHandle (policy_handle)",hf_iremotewinspool_winspool_AsyncOpenPrinter_pHandle);
1598 return offset;
1601 static int
1602 iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pHandle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1604 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncOpenPrinter_pHandle, 0);
1606 return offset;
1609 static int
1610 iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pDatatype(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1612 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pDatatype_, NDR_POINTER_UNIQUE, "Pointer to PDatatype (uint16)",hf_iremotewinspool_winspool_AsyncOpenPrinter_pDatatype);
1614 return offset;
1617 static int
1618 iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pDatatype_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1620 char *data = NULL;
1621 struct ndr_generic_array nga = { .is_conformant = false, };
1623 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
1625 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
1626 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncOpenPrinter_pDatatype, false, &nga, &data);
1627 proto_item_append_text(tree, ": %s", data);
1629 return offset;
1632 static int
1633 iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pDevModeContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1635 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pDevModeContainer_, NDR_POINTER_REF, "Pointer to PDevModeContainer (spoolss_DevmodeContainer)",hf_iremotewinspool_winspool_AsyncOpenPrinter_pDevModeContainer);
1637 return offset;
1640 static int
1641 iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pDevModeContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1643 offset = dissect_DEVMODE_CTR(tvb, offset, pinfo, tree, di, drep);
1645 return offset;
1648 static int
1649 iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_AccessRequired(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1651 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncOpenPrinter_AccessRequired, 0);
1653 return offset;
1656 static int
1657 iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pClientInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1659 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pClientInfo_, NDR_POINTER_REF, "Pointer to PClientInfo (spoolss_UserLevelCtr)",hf_iremotewinspool_winspool_AsyncOpenPrinter_pClientInfo);
1661 return offset;
1664 static int
1665 iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pClientInfo_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1667 offset = dissect_USER_LEVEL_CTR(tvb, offset, pinfo, tree, di, drep);
1669 return offset;
1672 /* IDL: WERROR winspool_AsyncOpenPrinter( */
1673 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pPrinterName, */
1674 /* IDL: [out] [ref] policy_handle *pHandle, */
1675 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pDatatype, */
1676 /* IDL: [in] [ref] spoolss_DevmodeContainer *pDevModeContainer, */
1677 /* IDL: [in] uint32 AccessRequired, */
1678 /* IDL: [in] [ref] spoolss_UserLevelCtr *pClientInfo */
1679 /* IDL: ); */
1681 static int
1682 iremotewinspool_dissect_winspool_AsyncOpenPrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1684 uint32_t status;
1686 di->dcerpc_procedure_name="winspool_AsyncOpenPrinter";
1687 offset = iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pHandle(tvb, offset, pinfo, tree, di, drep);
1688 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1690 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
1692 if (status != 0)
1693 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
1695 return offset;
1698 static int
1699 iremotewinspool_dissect_winspool_AsyncOpenPrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1701 di->dcerpc_procedure_name="winspool_AsyncOpenPrinter";
1702 offset = iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pPrinterName(tvb, offset, pinfo, tree, di, drep);
1703 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1704 offset = iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pDatatype(tvb, offset, pinfo, tree, di, drep);
1705 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1706 offset = iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pDevModeContainer(tvb, offset, pinfo, tree, di, drep);
1707 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1708 offset = iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_AccessRequired(tvb, offset, pinfo, tree, di, drep);
1709 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1710 offset = iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pClientInfo(tvb, offset, pinfo, tree, di, drep);
1711 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1712 return offset;
1715 static int
1716 iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1718 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pName_, NDR_POINTER_UNIQUE, "Pointer to PName (uint16)",hf_iremotewinspool_winspool_AsyncAddPrinter_pName);
1720 return offset;
1723 static int
1724 iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1726 char *data = NULL;
1727 struct ndr_generic_array nga = { .is_conformant = false, };
1729 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
1731 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
1732 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPrinter_pName, false, &nga, &data);
1733 proto_item_append_text(tree, ": %s", data);
1735 return offset;
1738 static int
1739 iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pPrinterContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1741 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pPrinterContainer_, NDR_POINTER_REF, "Pointer to PPrinterContainer (spoolss_SetPrinterInfoCtr)",hf_iremotewinspool_winspool_AsyncAddPrinter_pPrinterContainer);
1743 return offset;
1746 static int
1747 iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pPrinterContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1749 offset = dissect_SPOOL_PRINTER_INFO(tvb, offset, pinfo, tree, di, drep);
1751 return offset;
1754 static int
1755 iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pDevModeContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1757 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pDevModeContainer_, NDR_POINTER_REF, "Pointer to PDevModeContainer (spoolss_DevmodeContainer)",hf_iremotewinspool_winspool_AsyncAddPrinter_pDevModeContainer);
1759 return offset;
1762 static int
1763 iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pDevModeContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1765 offset = dissect_DEVMODE_CTR(tvb, offset, pinfo, tree, di, drep);
1767 return offset;
1770 static int
1771 iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pSecurityContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1773 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pSecurityContainer_, NDR_POINTER_REF, "Pointer to PSecurityContainer (sec_desc_buf)",hf_iremotewinspool_winspool_AsyncAddPrinter_pSecurityContainer);
1775 return offset;
1778 static int
1779 iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pSecurityContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1781 offset = iremotewinspool_dissect_sec_desc_buf(tvb, offset, pinfo, tree, di, drep);
1783 return offset;
1786 static int
1787 iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pClientInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1789 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pClientInfo_, NDR_POINTER_REF, "Pointer to PClientInfo (spoolss_UserLevelCtr)",hf_iremotewinspool_winspool_AsyncAddPrinter_pClientInfo);
1791 return offset;
1794 static int
1795 iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pClientInfo_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1797 offset = dissect_USER_LEVEL_CTR(tvb, offset, pinfo, tree, di, drep);
1799 return offset;
1802 static int
1803 iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pHandle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1805 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pHandle_, NDR_POINTER_REF, "Pointer to PHandle (policy_handle)",hf_iremotewinspool_winspool_AsyncAddPrinter_pHandle);
1807 return offset;
1810 static int
1811 iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pHandle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1813 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddPrinter_pHandle, 0);
1815 return offset;
1818 /* IDL: WERROR winspool_AsyncAddPrinter( */
1819 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
1820 /* IDL: [in] [ref] spoolss_SetPrinterInfoCtr *pPrinterContainer, */
1821 /* IDL: [in] [ref] spoolss_DevmodeContainer *pDevModeContainer, */
1822 /* IDL: [in] [ref] sec_desc_buf *pSecurityContainer, */
1823 /* IDL: [in] [ref] spoolss_UserLevelCtr *pClientInfo, */
1824 /* IDL: [out] [ref] policy_handle *pHandle */
1825 /* IDL: ); */
1827 static int
1828 iremotewinspool_dissect_winspool_AsyncAddPrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1830 uint32_t status;
1832 di->dcerpc_procedure_name="winspool_AsyncAddPrinter";
1833 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pHandle(tvb, offset, pinfo, tree, di, drep);
1834 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1836 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
1838 if (status != 0)
1839 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
1841 return offset;
1844 static int
1845 iremotewinspool_dissect_winspool_AsyncAddPrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1847 di->dcerpc_procedure_name="winspool_AsyncAddPrinter";
1848 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pName(tvb, offset, pinfo, tree, di, drep);
1849 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1850 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pPrinterContainer(tvb, offset, pinfo, tree, di, drep);
1851 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1852 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pDevModeContainer(tvb, offset, pinfo, tree, di, drep);
1853 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1854 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pSecurityContainer(tvb, offset, pinfo, tree, di, drep);
1855 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1856 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pClientInfo(tvb, offset, pinfo, tree, di, drep);
1857 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1858 return offset;
1861 static int
1862 iremotewinspool_dissect_element_winspool_AsyncSetJob_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1864 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetJob_hPrinter, 0);
1866 return offset;
1869 static int
1870 iremotewinspool_dissect_element_winspool_AsyncSetJob_JobId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1872 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetJob_JobId, 0);
1874 return offset;
1877 static int
1878 iremotewinspool_dissect_element_winspool_AsyncSetJob_pJobContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1880 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSetJob_pJobContainer_, NDR_POINTER_UNIQUE, "Pointer to PJobContainer (spoolss_JobInfoContainer)",hf_iremotewinspool_winspool_AsyncSetJob_pJobContainer);
1882 return offset;
1885 static int
1886 iremotewinspool_dissect_element_winspool_AsyncSetJob_pJobContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1888 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
1890 return offset;
1893 static int
1894 iremotewinspool_dissect_element_winspool_AsyncSetJob_Command(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1896 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetJob_Command, 0);
1898 return offset;
1901 /* IDL: WERROR winspool_AsyncSetJob( */
1902 /* IDL: [in] policy_handle hPrinter, */
1903 /* IDL: [in] uint32 JobId, */
1904 /* IDL: [in] [unique(1)] spoolss_JobInfoContainer *pJobContainer, */
1905 /* IDL: [in] uint32 Command */
1906 /* IDL: ); */
1908 static int
1909 iremotewinspool_dissect_winspool_AsyncSetJob_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1911 uint32_t status;
1913 di->dcerpc_procedure_name="winspool_AsyncSetJob";
1914 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
1916 if (status != 0)
1917 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
1919 return offset;
1922 static int
1923 iremotewinspool_dissect_winspool_AsyncSetJob_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1925 di->dcerpc_procedure_name="winspool_AsyncSetJob";
1926 offset = iremotewinspool_dissect_element_winspool_AsyncSetJob_hPrinter(tvb, offset, pinfo, tree, di, drep);
1927 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1928 offset = iremotewinspool_dissect_element_winspool_AsyncSetJob_JobId(tvb, offset, pinfo, tree, di, drep);
1929 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1930 offset = iremotewinspool_dissect_element_winspool_AsyncSetJob_pJobContainer(tvb, offset, pinfo, tree, di, drep);
1931 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1932 offset = iremotewinspool_dissect_element_winspool_AsyncSetJob_Command(tvb, offset, pinfo, tree, di, drep);
1933 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1934 return offset;
1937 static int
1938 iremotewinspool_dissect_element_winspool_AsyncGetJob_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1940 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJob_hPrinter, 0);
1942 return offset;
1945 static int
1946 iremotewinspool_dissect_element_winspool_AsyncGetJob_JobId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1948 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJob_JobId, 0);
1950 return offset;
1953 static int
1954 iremotewinspool_dissect_element_winspool_AsyncGetJob_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1956 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJob_Level, 0);
1958 return offset;
1961 static int
1962 iremotewinspool_dissect_element_winspool_AsyncGetJob_pJob(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1964 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetJob_pJob_, NDR_POINTER_UNIQUE, "Pointer to PJob (uint8)",hf_iremotewinspool_winspool_AsyncGetJob_pJob);
1966 return offset;
1969 static int
1970 iremotewinspool_dissect_element_winspool_AsyncGetJob_pJob_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1972 struct ndr_generic_array nga = { .is_conformant = false, };
1974 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
1976 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncGetJob_pJob__);
1978 return offset;
1981 static int
1982 iremotewinspool_dissect_element_winspool_AsyncGetJob_pJob__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1984 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJob_pJob, 0);
1986 return offset;
1989 static int
1990 iremotewinspool_dissect_element_winspool_AsyncGetJob_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
1992 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJob_cbBuf, 0);
1994 return offset;
1997 static int
1998 iremotewinspool_dissect_element_winspool_AsyncGetJob_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2000 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetJob_pcbNeeded_, NDR_POINTER_REF, "Pointer to PcbNeeded (uint32)",hf_iremotewinspool_winspool_AsyncGetJob_pcbNeeded);
2002 return offset;
2005 static int
2006 iremotewinspool_dissect_element_winspool_AsyncGetJob_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2008 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJob_pcbNeeded, 0);
2010 return offset;
2013 /* IDL: WERROR winspool_AsyncGetJob( */
2014 /* IDL: [in] policy_handle hPrinter, */
2015 /* IDL: [in] uint32 JobId, */
2016 /* IDL: [in] uint32 Level, */
2017 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pJob, */
2018 /* IDL: [in] uint32 cbBuf, */
2019 /* IDL: [out] [ref] uint32 *pcbNeeded */
2020 /* IDL: ); */
2022 static int
2023 iremotewinspool_dissect_winspool_AsyncGetJob_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2025 uint32_t status;
2027 di->dcerpc_procedure_name="winspool_AsyncGetJob";
2028 offset = iremotewinspool_dissect_element_winspool_AsyncGetJob_pJob(tvb, offset, pinfo, tree, di, drep);
2029 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2031 offset = iremotewinspool_dissect_element_winspool_AsyncGetJob_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
2032 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2034 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2036 if (status != 0)
2037 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2039 return offset;
2042 static int
2043 iremotewinspool_dissect_winspool_AsyncGetJob_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2045 di->dcerpc_procedure_name="winspool_AsyncGetJob";
2046 offset = iremotewinspool_dissect_element_winspool_AsyncGetJob_hPrinter(tvb, offset, pinfo, tree, di, drep);
2047 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2048 offset = iremotewinspool_dissect_element_winspool_AsyncGetJob_JobId(tvb, offset, pinfo, tree, di, drep);
2049 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2050 offset = iremotewinspool_dissect_element_winspool_AsyncGetJob_Level(tvb, offset, pinfo, tree, di, drep);
2051 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2052 offset = iremotewinspool_dissect_element_winspool_AsyncGetJob_pJob(tvb, offset, pinfo, tree, di, drep);
2053 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2054 offset = iremotewinspool_dissect_element_winspool_AsyncGetJob_cbBuf(tvb, offset, pinfo, tree, di, drep);
2055 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2056 return offset;
2059 static int
2060 iremotewinspool_dissect_element_winspool_AsyncEnumJobs_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2062 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_hPrinter, 0);
2064 return offset;
2067 static int
2068 iremotewinspool_dissect_element_winspool_AsyncEnumJobs_FirstJob(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2070 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_FirstJob, 0);
2072 return offset;
2075 static int
2076 iremotewinspool_dissect_element_winspool_AsyncEnumJobs_NoJobs(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2078 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_NoJobs, 0);
2080 return offset;
2083 static int
2084 iremotewinspool_dissect_element_winspool_AsyncEnumJobs_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2086 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_Level, 0);
2088 return offset;
2091 static int
2092 iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pJob(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2094 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pJob_, NDR_POINTER_UNIQUE, "Pointer to PJob (uint8)",hf_iremotewinspool_winspool_AsyncEnumJobs_pJob);
2096 return offset;
2099 static int
2100 iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pJob_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2102 struct ndr_generic_array nga = { .is_conformant = false, };
2104 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2106 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pJob__);
2108 return offset;
2111 static int
2112 iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pJob__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2114 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_pJob, 0);
2116 return offset;
2119 static int
2120 iremotewinspool_dissect_element_winspool_AsyncEnumJobs_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2122 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_cbBuf, 0);
2124 return offset;
2127 static int
2128 iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2130 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pcbNeeded_, NDR_POINTER_REF, "Pointer to PcbNeeded (uint32)",hf_iremotewinspool_winspool_AsyncEnumJobs_pcbNeeded);
2132 return offset;
2135 static int
2136 iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2138 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_pcbNeeded, 0);
2140 return offset;
2143 static int
2144 iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pcReturned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2146 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pcReturned_, NDR_POINTER_REF, "Pointer to PcReturned (uint32)",hf_iremotewinspool_winspool_AsyncEnumJobs_pcReturned);
2148 return offset;
2151 static int
2152 iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pcReturned_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2154 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_pcReturned, 0);
2156 return offset;
2159 /* IDL: WERROR winspool_AsyncEnumJobs( */
2160 /* IDL: [in] policy_handle hPrinter, */
2161 /* IDL: [in] uint32 FirstJob, */
2162 /* IDL: [in] uint32 NoJobs, */
2163 /* IDL: [in] uint32 Level, */
2164 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pJob, */
2165 /* IDL: [in] uint32 cbBuf, */
2166 /* IDL: [out] [ref] uint32 *pcbNeeded, */
2167 /* IDL: [out] [ref] uint32 *pcReturned */
2168 /* IDL: ); */
2170 static int
2171 iremotewinspool_dissect_winspool_AsyncEnumJobs_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2173 uint32_t status;
2175 di->dcerpc_procedure_name="winspool_AsyncEnumJobs";
2176 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pJob(tvb, offset, pinfo, tree, di, drep);
2177 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2179 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
2180 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2182 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pcReturned(tvb, offset, pinfo, tree, di, drep);
2183 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2185 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2187 if (status != 0)
2188 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2190 return offset;
2193 static int
2194 iremotewinspool_dissect_winspool_AsyncEnumJobs_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2196 di->dcerpc_procedure_name="winspool_AsyncEnumJobs";
2197 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobs_hPrinter(tvb, offset, pinfo, tree, di, drep);
2198 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2199 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobs_FirstJob(tvb, offset, pinfo, tree, di, drep);
2200 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2201 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobs_NoJobs(tvb, offset, pinfo, tree, di, drep);
2202 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2203 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobs_Level(tvb, offset, pinfo, tree, di, drep);
2204 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2205 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pJob(tvb, offset, pinfo, tree, di, drep);
2206 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2207 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobs_cbBuf(tvb, offset, pinfo, tree, di, drep);
2208 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2209 return offset;
2212 static int
2213 iremotewinspool_dissect_element_winspool_AsyncAddJob_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2215 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddJob_hPrinter, 0);
2217 return offset;
2220 static int
2221 iremotewinspool_dissect_element_winspool_AsyncAddJob_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2223 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddJob_Level, 0);
2225 return offset;
2228 static int
2229 iremotewinspool_dissect_element_winspool_AsyncAddJob_pAddJob(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2231 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddJob_pAddJob_, NDR_POINTER_UNIQUE, "Pointer to PAddJob (uint8)",hf_iremotewinspool_winspool_AsyncAddJob_pAddJob);
2233 return offset;
2236 static int
2237 iremotewinspool_dissect_element_winspool_AsyncAddJob_pAddJob_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2239 struct ndr_generic_array nga = { .is_conformant = false, };
2241 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2243 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncAddJob_pAddJob__);
2245 return offset;
2248 static int
2249 iremotewinspool_dissect_element_winspool_AsyncAddJob_pAddJob__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2251 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddJob_pAddJob, 0);
2253 return offset;
2256 static int
2257 iremotewinspool_dissect_element_winspool_AsyncAddJob_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2259 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddJob_cbBuf, 0);
2261 return offset;
2264 static int
2265 iremotewinspool_dissect_element_winspool_AsyncAddJob_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2267 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddJob_pcbNeeded_, NDR_POINTER_REF, "Pointer to PcbNeeded (uint32)",hf_iremotewinspool_winspool_AsyncAddJob_pcbNeeded);
2269 return offset;
2272 static int
2273 iremotewinspool_dissect_element_winspool_AsyncAddJob_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2275 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddJob_pcbNeeded, 0);
2277 return offset;
2280 /* IDL: WERROR winspool_AsyncAddJob( */
2281 /* IDL: [in] policy_handle hPrinter, */
2282 /* IDL: [in] uint32 Level, */
2283 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pAddJob, */
2284 /* IDL: [in] uint32 cbBuf, */
2285 /* IDL: [out] [ref] uint32 *pcbNeeded */
2286 /* IDL: ); */
2288 static int
2289 iremotewinspool_dissect_winspool_AsyncAddJob_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2291 uint32_t status;
2293 di->dcerpc_procedure_name="winspool_AsyncAddJob";
2294 offset = iremotewinspool_dissect_element_winspool_AsyncAddJob_pAddJob(tvb, offset, pinfo, tree, di, drep);
2295 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2297 offset = iremotewinspool_dissect_element_winspool_AsyncAddJob_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
2298 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2300 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2302 if (status != 0)
2303 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2305 return offset;
2308 static int
2309 iremotewinspool_dissect_winspool_AsyncAddJob_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2311 di->dcerpc_procedure_name="winspool_AsyncAddJob";
2312 offset = iremotewinspool_dissect_element_winspool_AsyncAddJob_hPrinter(tvb, offset, pinfo, tree, di, drep);
2313 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2314 offset = iremotewinspool_dissect_element_winspool_AsyncAddJob_Level(tvb, offset, pinfo, tree, di, drep);
2315 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2316 offset = iremotewinspool_dissect_element_winspool_AsyncAddJob_pAddJob(tvb, offset, pinfo, tree, di, drep);
2317 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2318 offset = iremotewinspool_dissect_element_winspool_AsyncAddJob_cbBuf(tvb, offset, pinfo, tree, di, drep);
2319 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2320 return offset;
2323 static int
2324 iremotewinspool_dissect_element_winspool_AsyncScheduleJob_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2326 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncScheduleJob_hPrinter, 0);
2328 return offset;
2331 static int
2332 iremotewinspool_dissect_element_winspool_AsyncScheduleJob_JobId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2334 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncScheduleJob_JobId, 0);
2336 return offset;
2339 /* IDL: WERROR winspool_AsyncScheduleJob( */
2340 /* IDL: [in] policy_handle hPrinter, */
2341 /* IDL: [in] uint32 JobId */
2342 /* IDL: ); */
2344 static int
2345 iremotewinspool_dissect_winspool_AsyncScheduleJob_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2347 uint32_t status;
2349 di->dcerpc_procedure_name="winspool_AsyncScheduleJob";
2350 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2352 if (status != 0)
2353 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2355 return offset;
2358 static int
2359 iremotewinspool_dissect_winspool_AsyncScheduleJob_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2361 di->dcerpc_procedure_name="winspool_AsyncScheduleJob";
2362 offset = iremotewinspool_dissect_element_winspool_AsyncScheduleJob_hPrinter(tvb, offset, pinfo, tree, di, drep);
2363 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2364 offset = iremotewinspool_dissect_element_winspool_AsyncScheduleJob_JobId(tvb, offset, pinfo, tree, di, drep);
2365 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2366 return offset;
2369 static int
2370 iremotewinspool_dissect_element_winspool_AsyncDeletePrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2372 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinter_hPrinter, 0);
2374 return offset;
2377 /* IDL: WERROR winspool_AsyncDeletePrinter( */
2378 /* IDL: [in] policy_handle hPrinter */
2379 /* IDL: ); */
2381 static int
2382 iremotewinspool_dissect_winspool_AsyncDeletePrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2384 uint32_t status;
2386 di->dcerpc_procedure_name="winspool_AsyncDeletePrinter";
2387 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2389 if (status != 0)
2390 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2392 return offset;
2395 static int
2396 iremotewinspool_dissect_winspool_AsyncDeletePrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2398 di->dcerpc_procedure_name="winspool_AsyncDeletePrinter";
2399 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
2400 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2401 return offset;
2404 static int
2405 iremotewinspool_dissect_element_winspool_AsyncSetPrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2407 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinter_hPrinter, 0);
2409 return offset;
2412 static int
2413 iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pPrinterContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2415 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pPrinterContainer_, NDR_POINTER_REF, "Pointer to PPrinterContainer (spoolss_SetPrinterInfoCtr)",hf_iremotewinspool_winspool_AsyncSetPrinter_pPrinterContainer);
2417 return offset;
2420 static int
2421 iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pPrinterContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2423 offset = dissect_SPOOL_PRINTER_INFO(tvb, offset, pinfo, tree, di, drep);
2425 return offset;
2428 static int
2429 iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pDevModeContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2431 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pDevModeContainer_, NDR_POINTER_REF, "Pointer to PDevModeContainer (spoolss_DevmodeContainer)",hf_iremotewinspool_winspool_AsyncSetPrinter_pDevModeContainer);
2433 return offset;
2436 static int
2437 iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pDevModeContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2439 offset = dissect_DEVMODE_CTR(tvb, offset, pinfo, tree, di, drep);
2441 return offset;
2444 static int
2445 iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pSecurityContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2447 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pSecurityContainer_, NDR_POINTER_REF, "Pointer to PSecurityContainer (sec_desc_buf)",hf_iremotewinspool_winspool_AsyncSetPrinter_pSecurityContainer);
2449 return offset;
2452 static int
2453 iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pSecurityContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2455 offset = iremotewinspool_dissect_sec_desc_buf(tvb, offset, pinfo, tree, di, drep);
2457 return offset;
2460 static int
2461 iremotewinspool_dissect_element_winspool_AsyncSetPrinter_Command(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2463 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinter_Command, 0);
2465 return offset;
2468 /* IDL: WERROR winspool_AsyncSetPrinter( */
2469 /* IDL: [in] policy_handle hPrinter, */
2470 /* IDL: [in] [ref] spoolss_SetPrinterInfoCtr *pPrinterContainer, */
2471 /* IDL: [in] [ref] spoolss_DevmodeContainer *pDevModeContainer, */
2472 /* IDL: [in] [ref] sec_desc_buf *pSecurityContainer, */
2473 /* IDL: [in] uint32 Command */
2474 /* IDL: ); */
2476 static int
2477 iremotewinspool_dissect_winspool_AsyncSetPrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2479 uint32_t status;
2481 di->dcerpc_procedure_name="winspool_AsyncSetPrinter";
2482 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2484 if (status != 0)
2485 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2487 return offset;
2490 static int
2491 iremotewinspool_dissect_winspool_AsyncSetPrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2493 di->dcerpc_procedure_name="winspool_AsyncSetPrinter";
2494 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
2495 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2496 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pPrinterContainer(tvb, offset, pinfo, tree, di, drep);
2497 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2498 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pDevModeContainer(tvb, offset, pinfo, tree, di, drep);
2499 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2500 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pSecurityContainer(tvb, offset, pinfo, tree, di, drep);
2501 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2502 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinter_Command(tvb, offset, pinfo, tree, di, drep);
2503 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2504 return offset;
2507 static int
2508 iremotewinspool_dissect_element_winspool_AsyncGetPrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2510 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinter_hPrinter, 0);
2512 return offset;
2515 static int
2516 iremotewinspool_dissect_element_winspool_AsyncGetPrinter_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2518 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinter_Level, 0);
2520 return offset;
2523 static int
2524 iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2526 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pPrinter_, NDR_POINTER_UNIQUE, "Pointer to PPrinter (uint8)",hf_iremotewinspool_winspool_AsyncGetPrinter_pPrinter);
2528 return offset;
2531 static int
2532 iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pPrinter_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2534 struct ndr_generic_array nga = { .is_conformant = false, };
2536 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2538 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pPrinter__);
2540 return offset;
2543 static int
2544 iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pPrinter__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2546 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinter_pPrinter, 0);
2548 return offset;
2551 static int
2552 iremotewinspool_dissect_element_winspool_AsyncGetPrinter_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2554 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinter_cbBuf, 0);
2556 return offset;
2559 static int
2560 iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2562 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pcbNeeded_, NDR_POINTER_REF, "Pointer to PcbNeeded (uint32)",hf_iremotewinspool_winspool_AsyncGetPrinter_pcbNeeded);
2564 return offset;
2567 static int
2568 iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2570 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinter_pcbNeeded, 0);
2572 return offset;
2575 /* IDL: WERROR winspool_AsyncGetPrinter( */
2576 /* IDL: [in] policy_handle hPrinter, */
2577 /* IDL: [in] uint32 Level, */
2578 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pPrinter, */
2579 /* IDL: [in] uint32 cbBuf, */
2580 /* IDL: [out] [ref] uint32 *pcbNeeded */
2581 /* IDL: ); */
2583 static int
2584 iremotewinspool_dissect_winspool_AsyncGetPrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2586 uint32_t status;
2588 di->dcerpc_procedure_name="winspool_AsyncGetPrinter";
2589 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pPrinter(tvb, offset, pinfo, tree, di, drep);
2590 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2592 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
2593 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2595 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2597 if (status != 0)
2598 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2600 return offset;
2603 static int
2604 iremotewinspool_dissect_winspool_AsyncGetPrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2606 di->dcerpc_procedure_name="winspool_AsyncGetPrinter";
2607 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
2608 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2609 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinter_Level(tvb, offset, pinfo, tree, di, drep);
2610 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2611 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pPrinter(tvb, offset, pinfo, tree, di, drep);
2612 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2613 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinter_cbBuf(tvb, offset, pinfo, tree, di, drep);
2614 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2615 return offset;
2618 static int
2619 iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2621 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncStartDocPrinter_hPrinter, 0);
2623 return offset;
2626 static int
2627 iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_pDocInfoContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2629 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_pDocInfoContainer_, NDR_POINTER_REF, "Pointer to PDocInfoContainer (spoolss_DocumentInfoCtr)",hf_iremotewinspool_winspool_AsyncStartDocPrinter_pDocInfoContainer);
2631 return offset;
2634 static int
2635 iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_pDocInfoContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2637 offset = dissect_spoolss_doc_info_ctr(tvb, offset, pinfo, tree, di, drep);
2639 return offset;
2642 static int
2643 iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_pJobId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2645 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_pJobId_, NDR_POINTER_REF, "Pointer to PJobId (uint32)",hf_iremotewinspool_winspool_AsyncStartDocPrinter_pJobId);
2647 return offset;
2650 static int
2651 iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_pJobId_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2653 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncStartDocPrinter_pJobId, 0);
2655 return offset;
2658 /* IDL: WERROR winspool_AsyncStartDocPrinter( */
2659 /* IDL: [in] policy_handle hPrinter, */
2660 /* IDL: [in] [ref] spoolss_DocumentInfoCtr *pDocInfoContainer, */
2661 /* IDL: [out] [ref] uint32 *pJobId */
2662 /* IDL: ); */
2664 static int
2665 iremotewinspool_dissect_winspool_AsyncStartDocPrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2667 uint32_t status;
2669 di->dcerpc_procedure_name="winspool_AsyncStartDocPrinter";
2670 offset = iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_pJobId(tvb, offset, pinfo, tree, di, drep);
2671 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2673 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2675 if (status != 0)
2676 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2678 return offset;
2681 static int
2682 iremotewinspool_dissect_winspool_AsyncStartDocPrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2684 di->dcerpc_procedure_name="winspool_AsyncStartDocPrinter";
2685 offset = iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
2686 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2687 offset = iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_pDocInfoContainer(tvb, offset, pinfo, tree, di, drep);
2688 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2689 return offset;
2692 static int
2693 iremotewinspool_dissect_element_winspool_AsyncStartPagePrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2695 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncStartPagePrinter_hPrinter, 0);
2697 return offset;
2700 /* IDL: WERROR winspool_AsyncStartPagePrinter( */
2701 /* IDL: [in] policy_handle hPrinter */
2702 /* IDL: ); */
2704 static int
2705 iremotewinspool_dissect_winspool_AsyncStartPagePrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2707 uint32_t status;
2709 di->dcerpc_procedure_name="winspool_AsyncStartPagePrinter";
2710 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2712 if (status != 0)
2713 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2715 return offset;
2718 static int
2719 iremotewinspool_dissect_winspool_AsyncStartPagePrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2721 di->dcerpc_procedure_name="winspool_AsyncStartPagePrinter";
2722 offset = iremotewinspool_dissect_element_winspool_AsyncStartPagePrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
2723 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2724 return offset;
2727 static int
2728 iremotewinspool_dissect_element_winspool_AsyncWritePrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2730 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncWritePrinter_hPrinter, 0);
2732 return offset;
2735 static int
2736 iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2738 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pBuf_, NDR_POINTER_REF, "Pointer to PBuf (uint8)",hf_iremotewinspool_winspool_AsyncWritePrinter_pBuf);
2740 return offset;
2743 static int
2744 iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pBuf_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2746 struct ndr_generic_array nga = { .is_conformant = false, };
2748 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2750 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pBuf__);
2752 return offset;
2755 static int
2756 iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pBuf__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2758 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncWritePrinter_pBuf, 0);
2760 return offset;
2763 static int
2764 iremotewinspool_dissect_element_winspool_AsyncWritePrinter_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2766 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncWritePrinter_cbBuf, 0);
2768 return offset;
2771 static int
2772 iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pcWritten(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2774 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pcWritten_, NDR_POINTER_REF, "Pointer to PcWritten (uint32)",hf_iremotewinspool_winspool_AsyncWritePrinter_pcWritten);
2776 return offset;
2779 static int
2780 iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pcWritten_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2782 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncWritePrinter_pcWritten, 0);
2784 return offset;
2787 /* IDL: WERROR winspool_AsyncWritePrinter( */
2788 /* IDL: [in] policy_handle hPrinter, */
2789 /* IDL: [in] [ref] [size_is(cbBuf)] uint8 *pBuf, */
2790 /* IDL: [in] uint32 cbBuf, */
2791 /* IDL: [out] [ref] uint32 *pcWritten */
2792 /* IDL: ); */
2794 static int
2795 iremotewinspool_dissect_winspool_AsyncWritePrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2797 uint32_t status;
2799 di->dcerpc_procedure_name="winspool_AsyncWritePrinter";
2800 offset = iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pcWritten(tvb, offset, pinfo, tree, di, drep);
2801 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2803 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2805 if (status != 0)
2806 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2808 return offset;
2811 static int
2812 iremotewinspool_dissect_winspool_AsyncWritePrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2814 di->dcerpc_procedure_name="winspool_AsyncWritePrinter";
2815 offset = iremotewinspool_dissect_element_winspool_AsyncWritePrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
2816 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2817 offset = iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pBuf(tvb, offset, pinfo, tree, di, drep);
2818 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2819 offset = iremotewinspool_dissect_element_winspool_AsyncWritePrinter_cbBuf(tvb, offset, pinfo, tree, di, drep);
2820 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2821 return offset;
2824 static int
2825 iremotewinspool_dissect_element_winspool_AsyncEndPagePrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2827 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEndPagePrinter_hPrinter, 0);
2829 return offset;
2832 /* IDL: WERROR winspool_AsyncEndPagePrinter( */
2833 /* IDL: [in] policy_handle hPrinter */
2834 /* IDL: ); */
2836 static int
2837 iremotewinspool_dissect_winspool_AsyncEndPagePrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2839 uint32_t status;
2841 di->dcerpc_procedure_name="winspool_AsyncEndPagePrinter";
2842 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2844 if (status != 0)
2845 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2847 return offset;
2850 static int
2851 iremotewinspool_dissect_winspool_AsyncEndPagePrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2853 di->dcerpc_procedure_name="winspool_AsyncEndPagePrinter";
2854 offset = iremotewinspool_dissect_element_winspool_AsyncEndPagePrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
2855 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2856 return offset;
2859 static int
2860 iremotewinspool_dissect_element_winspool_AsyncEndDocPrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2862 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEndDocPrinter_hPrinter, 0);
2864 return offset;
2867 /* IDL: WERROR winspool_AsyncEndDocPrinter( */
2868 /* IDL: [in] policy_handle hPrinter */
2869 /* IDL: ); */
2871 static int
2872 iremotewinspool_dissect_winspool_AsyncEndDocPrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2874 uint32_t status;
2876 di->dcerpc_procedure_name="winspool_AsyncEndDocPrinter";
2877 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2879 if (status != 0)
2880 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2882 return offset;
2885 static int
2886 iremotewinspool_dissect_winspool_AsyncEndDocPrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2888 di->dcerpc_procedure_name="winspool_AsyncEndDocPrinter";
2889 offset = iremotewinspool_dissect_element_winspool_AsyncEndDocPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
2890 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2891 return offset;
2894 static int
2895 iremotewinspool_dissect_element_winspool_AsyncAbortPrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2897 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAbortPrinter_hPrinter, 0);
2899 return offset;
2902 /* IDL: WERROR winspool_AsyncAbortPrinter( */
2903 /* IDL: [in] policy_handle hPrinter */
2904 /* IDL: ); */
2906 static int
2907 iremotewinspool_dissect_winspool_AsyncAbortPrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2909 uint32_t status;
2911 di->dcerpc_procedure_name="winspool_AsyncAbortPrinter";
2912 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2914 if (status != 0)
2915 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2917 return offset;
2920 static int
2921 iremotewinspool_dissect_winspool_AsyncAbortPrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2923 di->dcerpc_procedure_name="winspool_AsyncAbortPrinter";
2924 offset = iremotewinspool_dissect_element_winspool_AsyncAbortPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
2925 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2926 return offset;
2929 static int
2930 iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2932 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterData_hPrinter, 0);
2934 return offset;
2937 static int
2938 iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pValueName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2940 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pValueName_, NDR_POINTER_REF, "Pointer to PValueName (uint16)",hf_iremotewinspool_winspool_AsyncGetPrinterData_pValueName);
2942 return offset;
2945 static int
2946 iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pValueName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2948 char *data = NULL;
2949 struct ndr_generic_array nga = { .is_conformant = false, };
2951 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2953 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2954 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterData_pValueName, false, &nga, &data);
2955 proto_item_append_text(tree, ": %s", data);
2957 return offset;
2960 static int
2961 iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2963 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pType_, NDR_POINTER_REF, "Pointer to PType (uint32)",hf_iremotewinspool_winspool_AsyncGetPrinterData_pType);
2965 return offset;
2968 static int
2969 iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pType_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2971 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterData_pType, 0);
2973 return offset;
2976 static int
2977 iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2979 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pData_, NDR_POINTER_REF, "Pointer to PData (uint8)",hf_iremotewinspool_winspool_AsyncGetPrinterData_pData);
2981 return offset;
2984 static int
2985 iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2987 struct ndr_generic_array nga = { .is_conformant = false, };
2989 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
2991 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pData__);
2993 return offset;
2996 static int
2997 iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pData__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
2999 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterData_pData, 0);
3001 return offset;
3004 static int
3005 iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_nSize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3007 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterData_nSize, 0);
3009 return offset;
3012 static int
3013 iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3015 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pcbNeeded_, NDR_POINTER_REF, "Pointer to PcbNeeded (uint32)",hf_iremotewinspool_winspool_AsyncGetPrinterData_pcbNeeded);
3017 return offset;
3020 static int
3021 iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3023 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterData_pcbNeeded, 0);
3025 return offset;
3028 /* IDL: WERROR winspool_AsyncGetPrinterData( */
3029 /* IDL: [in] policy_handle hPrinter, */
3030 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pValueName, */
3031 /* IDL: [out] [ref] uint32 *pType, */
3032 /* IDL: [out] [ref] [size_is(nSize)] uint8 *pData, */
3033 /* IDL: [in] uint32 nSize, */
3034 /* IDL: [out] [ref] uint32 *pcbNeeded */
3035 /* IDL: ); */
3037 static int
3038 iremotewinspool_dissect_winspool_AsyncGetPrinterData_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3040 uint32_t status;
3042 di->dcerpc_procedure_name="winspool_AsyncGetPrinterData";
3043 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pType(tvb, offset, pinfo, tree, di, drep);
3044 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3046 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pData(tvb, offset, pinfo, tree, di, drep);
3047 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3049 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
3050 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3052 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
3054 if (status != 0)
3055 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3057 return offset;
3060 static int
3061 iremotewinspool_dissect_winspool_AsyncGetPrinterData_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3063 di->dcerpc_procedure_name="winspool_AsyncGetPrinterData";
3064 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_hPrinter(tvb, offset, pinfo, tree, di, drep);
3065 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3066 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pValueName(tvb, offset, pinfo, tree, di, drep);
3067 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3068 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_nSize(tvb, offset, pinfo, tree, di, drep);
3069 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3070 return offset;
3073 static int
3074 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3076 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_hPrinter, 0);
3078 return offset;
3081 static int
3082 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pKeyName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3084 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pKeyName_, NDR_POINTER_REF, "Pointer to PKeyName (uint16)",hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pKeyName);
3086 return offset;
3089 static int
3090 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pKeyName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3092 char *data = NULL;
3093 struct ndr_generic_array nga = { .is_conformant = false, };
3095 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3097 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3098 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pKeyName, false, &nga, &data);
3099 proto_item_append_text(tree, ": %s", data);
3101 return offset;
3104 static int
3105 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pValueName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3107 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pValueName_, NDR_POINTER_REF, "Pointer to PValueName (uint16)",hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pValueName);
3109 return offset;
3112 static int
3113 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pValueName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3115 char *data = NULL;
3116 struct ndr_generic_array nga = { .is_conformant = false, };
3118 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3120 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3121 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pValueName, false, &nga, &data);
3122 proto_item_append_text(tree, ": %s", data);
3124 return offset;
3127 static int
3128 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3130 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pType_, NDR_POINTER_REF, "Pointer to PType (uint32)",hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pType);
3132 return offset;
3135 static int
3136 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pType_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3138 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pType, 0);
3140 return offset;
3143 static int
3144 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3146 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pData_, NDR_POINTER_REF, "Pointer to PData (uint8)",hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pData);
3148 return offset;
3151 static int
3152 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3154 struct ndr_generic_array nga = { .is_conformant = false, };
3156 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3158 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pData__);
3160 return offset;
3163 static int
3164 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pData__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3166 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pData, 0);
3168 return offset;
3171 static int
3172 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_nSize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3174 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_nSize, 0);
3176 return offset;
3179 static int
3180 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3182 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pcbNeeded_, NDR_POINTER_REF, "Pointer to PcbNeeded (uint32)",hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pcbNeeded);
3184 return offset;
3187 static int
3188 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3190 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pcbNeeded, 0);
3192 return offset;
3195 /* IDL: WERROR winspool_AsyncGetPrinterDataEx( */
3196 /* IDL: [in] policy_handle hPrinter, */
3197 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pKeyName, */
3198 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pValueName, */
3199 /* IDL: [out] [ref] uint32 *pType, */
3200 /* IDL: [out] [ref] [size_is(nSize)] uint8 *pData, */
3201 /* IDL: [in] uint32 nSize, */
3202 /* IDL: [out] [ref] uint32 *pcbNeeded */
3203 /* IDL: ); */
3205 static int
3206 iremotewinspool_dissect_winspool_AsyncGetPrinterDataEx_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3208 uint32_t status;
3210 di->dcerpc_procedure_name="winspool_AsyncGetPrinterDataEx";
3211 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pType(tvb, offset, pinfo, tree, di, drep);
3212 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3214 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pData(tvb, offset, pinfo, tree, di, drep);
3215 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3217 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
3218 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3220 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
3222 if (status != 0)
3223 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3225 return offset;
3228 static int
3229 iremotewinspool_dissect_winspool_AsyncGetPrinterDataEx_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3231 di->dcerpc_procedure_name="winspool_AsyncGetPrinterDataEx";
3232 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_hPrinter(tvb, offset, pinfo, tree, di, drep);
3233 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3234 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pKeyName(tvb, offset, pinfo, tree, di, drep);
3235 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3236 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pValueName(tvb, offset, pinfo, tree, di, drep);
3237 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3238 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_nSize(tvb, offset, pinfo, tree, di, drep);
3239 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3240 return offset;
3243 static int
3244 iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3246 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterData_hPrinter, 0);
3248 return offset;
3251 static int
3252 iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pValueName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3254 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pValueName_, NDR_POINTER_REF, "Pointer to PValueName (uint16)",hf_iremotewinspool_winspool_AsyncSetPrinterData_pValueName);
3256 return offset;
3259 static int
3260 iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pValueName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3262 char *data = NULL;
3263 struct ndr_generic_array nga = { .is_conformant = false, };
3265 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3267 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3268 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSetPrinterData_pValueName, false, &nga, &data);
3269 proto_item_append_text(tree, ": %s", data);
3271 return offset;
3274 static int
3275 iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_Type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3277 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterData_Type, 0);
3279 return offset;
3282 static int
3283 iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3285 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pData_, NDR_POINTER_REF, "Pointer to PData (uint8)",hf_iremotewinspool_winspool_AsyncSetPrinterData_pData);
3287 return offset;
3290 static int
3291 iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3293 struct ndr_generic_array nga = { .is_conformant = false, };
3295 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3297 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pData__);
3299 return offset;
3302 static int
3303 iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pData__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3305 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterData_pData, 0);
3307 return offset;
3310 static int
3311 iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_cbData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3313 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterData_cbData, 0);
3315 return offset;
3318 /* IDL: WERROR winspool_AsyncSetPrinterData( */
3319 /* IDL: [in] policy_handle hPrinter, */
3320 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pValueName, */
3321 /* IDL: [in] uint32 Type, */
3322 /* IDL: [in] [ref] [size_is(cbData)] uint8 *pData, */
3323 /* IDL: [in] uint32 cbData */
3324 /* IDL: ); */
3326 static int
3327 iremotewinspool_dissect_winspool_AsyncSetPrinterData_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3329 uint32_t status;
3331 di->dcerpc_procedure_name="winspool_AsyncSetPrinterData";
3332 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
3334 if (status != 0)
3335 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3337 return offset;
3340 static int
3341 iremotewinspool_dissect_winspool_AsyncSetPrinterData_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3343 di->dcerpc_procedure_name="winspool_AsyncSetPrinterData";
3344 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_hPrinter(tvb, offset, pinfo, tree, di, drep);
3345 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3346 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pValueName(tvb, offset, pinfo, tree, di, drep);
3347 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3348 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_Type(tvb, offset, pinfo, tree, di, drep);
3349 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3350 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pData(tvb, offset, pinfo, tree, di, drep);
3351 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3352 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_cbData(tvb, offset, pinfo, tree, di, drep);
3353 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3354 return offset;
3357 static int
3358 iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3360 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_hPrinter, 0);
3362 return offset;
3365 static int
3366 iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pKeyName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3368 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pKeyName_, NDR_POINTER_REF, "Pointer to PKeyName (uint16)",hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pKeyName);
3370 return offset;
3373 static int
3374 iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pKeyName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3376 char *data = NULL;
3377 struct ndr_generic_array nga = { .is_conformant = false, };
3379 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3381 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3382 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pKeyName, false, &nga, &data);
3383 proto_item_append_text(tree, ": %s", data);
3385 return offset;
3388 static int
3389 iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pValueName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3391 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pValueName_, NDR_POINTER_REF, "Pointer to PValueName (uint16)",hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pValueName);
3393 return offset;
3396 static int
3397 iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pValueName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3399 char *data = NULL;
3400 struct ndr_generic_array nga = { .is_conformant = false, };
3402 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3404 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3405 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pValueName, false, &nga, &data);
3406 proto_item_append_text(tree, ": %s", data);
3408 return offset;
3411 static int
3412 iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_Type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3414 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_Type, 0);
3416 return offset;
3419 static int
3420 iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3422 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pData_, NDR_POINTER_REF, "Pointer to PData (uint8)",hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pData);
3424 return offset;
3427 static int
3428 iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3430 struct ndr_generic_array nga = { .is_conformant = false, };
3432 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3434 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pData__);
3436 return offset;
3439 static int
3440 iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pData__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3442 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pData, 0);
3444 return offset;
3447 static int
3448 iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_cbData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3450 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_cbData, 0);
3452 return offset;
3455 /* IDL: WERROR winspool_AsyncSetPrinterDataEx( */
3456 /* IDL: [in] policy_handle hPrinter, */
3457 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pKeyName, */
3458 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pValueName, */
3459 /* IDL: [in] uint32 Type, */
3460 /* IDL: [in] [ref] [size_is(cbData)] uint8 *pData, */
3461 /* IDL: [in] uint32 cbData */
3462 /* IDL: ); */
3464 static int
3465 iremotewinspool_dissect_winspool_AsyncSetPrinterDataEx_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3467 uint32_t status;
3469 di->dcerpc_procedure_name="winspool_AsyncSetPrinterDataEx";
3470 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
3472 if (status != 0)
3473 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3475 return offset;
3478 static int
3479 iremotewinspool_dissect_winspool_AsyncSetPrinterDataEx_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3481 di->dcerpc_procedure_name="winspool_AsyncSetPrinterDataEx";
3482 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_hPrinter(tvb, offset, pinfo, tree, di, drep);
3483 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3484 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pKeyName(tvb, offset, pinfo, tree, di, drep);
3485 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3486 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pValueName(tvb, offset, pinfo, tree, di, drep);
3487 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3488 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_Type(tvb, offset, pinfo, tree, di, drep);
3489 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3490 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pData(tvb, offset, pinfo, tree, di, drep);
3491 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3492 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_cbData(tvb, offset, pinfo, tree, di, drep);
3493 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3494 return offset;
3497 static int
3498 iremotewinspool_dissect_element_winspool_AsyncClosePrinter_phPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3500 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncClosePrinter_phPrinter_, NDR_POINTER_REF, "Pointer to PhPrinter (policy_handle)",hf_iremotewinspool_winspool_AsyncClosePrinter_phPrinter);
3502 return offset;
3505 static int
3506 iremotewinspool_dissect_element_winspool_AsyncClosePrinter_phPrinter_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3508 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncClosePrinter_phPrinter, 0);
3510 return offset;
3513 /* IDL: WERROR winspool_AsyncClosePrinter( */
3514 /* IDL: [in] [out] [ref] policy_handle *phPrinter */
3515 /* IDL: ); */
3517 static int
3518 iremotewinspool_dissect_winspool_AsyncClosePrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3520 uint32_t status;
3522 di->dcerpc_procedure_name="winspool_AsyncClosePrinter";
3523 offset = iremotewinspool_dissect_element_winspool_AsyncClosePrinter_phPrinter(tvb, offset, pinfo, tree, di, drep);
3524 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3526 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
3528 if (status != 0)
3529 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3531 return offset;
3534 static int
3535 iremotewinspool_dissect_winspool_AsyncClosePrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3537 di->dcerpc_procedure_name="winspool_AsyncClosePrinter";
3538 offset = iremotewinspool_dissect_element_winspool_AsyncClosePrinter_phPrinter(tvb, offset, pinfo, tree, di, drep);
3539 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3540 return offset;
3543 static int
3544 iremotewinspool_dissect_element_winspool_AsyncAddForm_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3546 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddForm_hPrinter, 0);
3548 return offset;
3551 static int
3552 iremotewinspool_dissect_element_winspool_AsyncAddForm_pFormInfoContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3554 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddForm_pFormInfoContainer_, NDR_POINTER_REF, "Pointer to PFormInfoContainer (spoolss_AddFormInfoCtr)",hf_iremotewinspool_winspool_AsyncAddForm_pFormInfoContainer);
3556 return offset;
3559 static int
3560 iremotewinspool_dissect_element_winspool_AsyncAddForm_pFormInfoContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3562 offset = dissect_FORM_CTR(tvb, offset, pinfo, tree, di, drep);
3564 return offset;
3567 /* IDL: WERROR winspool_AsyncAddForm( */
3568 /* IDL: [in] policy_handle hPrinter, */
3569 /* IDL: [in] [ref] spoolss_AddFormInfoCtr *pFormInfoContainer */
3570 /* IDL: ); */
3572 static int
3573 iremotewinspool_dissect_winspool_AsyncAddForm_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3575 uint32_t status;
3577 di->dcerpc_procedure_name="winspool_AsyncAddForm";
3578 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
3580 if (status != 0)
3581 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3583 return offset;
3586 static int
3587 iremotewinspool_dissect_winspool_AsyncAddForm_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3589 di->dcerpc_procedure_name="winspool_AsyncAddForm";
3590 offset = iremotewinspool_dissect_element_winspool_AsyncAddForm_hPrinter(tvb, offset, pinfo, tree, di, drep);
3591 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3592 offset = iremotewinspool_dissect_element_winspool_AsyncAddForm_pFormInfoContainer(tvb, offset, pinfo, tree, di, drep);
3593 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3594 return offset;
3597 static int
3598 iremotewinspool_dissect_element_winspool_AsyncDeleteForm_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3600 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeleteForm_hPrinter, 0);
3602 return offset;
3605 static int
3606 iremotewinspool_dissect_element_winspool_AsyncDeleteForm_pFormName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3608 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeleteForm_pFormName_, NDR_POINTER_REF, "Pointer to PFormName (uint16)",hf_iremotewinspool_winspool_AsyncDeleteForm_pFormName);
3610 return offset;
3613 static int
3614 iremotewinspool_dissect_element_winspool_AsyncDeleteForm_pFormName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3616 char *data = NULL;
3617 struct ndr_generic_array nga = { .is_conformant = false, };
3619 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3621 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3622 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeleteForm_pFormName, false, &nga, &data);
3623 proto_item_append_text(tree, ": %s", data);
3625 return offset;
3628 /* IDL: WERROR winspool_AsyncDeleteForm( */
3629 /* IDL: [in] policy_handle hPrinter, */
3630 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pFormName */
3631 /* IDL: ); */
3633 static int
3634 iremotewinspool_dissect_winspool_AsyncDeleteForm_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3636 uint32_t status;
3638 di->dcerpc_procedure_name="winspool_AsyncDeleteForm";
3639 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
3641 if (status != 0)
3642 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3644 return offset;
3647 static int
3648 iremotewinspool_dissect_winspool_AsyncDeleteForm_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3650 di->dcerpc_procedure_name="winspool_AsyncDeleteForm";
3651 offset = iremotewinspool_dissect_element_winspool_AsyncDeleteForm_hPrinter(tvb, offset, pinfo, tree, di, drep);
3652 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3653 offset = iremotewinspool_dissect_element_winspool_AsyncDeleteForm_pFormName(tvb, offset, pinfo, tree, di, drep);
3654 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3655 return offset;
3658 static int
3659 iremotewinspool_dissect_element_winspool_AsyncGetForm_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3661 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetForm_hPrinter, 0);
3663 return offset;
3666 static int
3667 iremotewinspool_dissect_element_winspool_AsyncGetForm_pFormName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3669 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetForm_pFormName_, NDR_POINTER_REF, "Pointer to PFormName (uint16)",hf_iremotewinspool_winspool_AsyncGetForm_pFormName);
3671 return offset;
3674 static int
3675 iremotewinspool_dissect_element_winspool_AsyncGetForm_pFormName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3677 char *data = NULL;
3678 struct ndr_generic_array nga = { .is_conformant = false, };
3680 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3682 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3683 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetForm_pFormName, false, &nga, &data);
3684 proto_item_append_text(tree, ": %s", data);
3686 return offset;
3689 static int
3690 iremotewinspool_dissect_element_winspool_AsyncGetForm_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3692 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetForm_Level, 0);
3694 return offset;
3697 static int
3698 iremotewinspool_dissect_element_winspool_AsyncGetForm_pForm(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3700 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetForm_pForm_, NDR_POINTER_UNIQUE, "Pointer to PForm (uint8)",hf_iremotewinspool_winspool_AsyncGetForm_pForm);
3702 return offset;
3705 static int
3706 iremotewinspool_dissect_element_winspool_AsyncGetForm_pForm_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3708 struct ndr_generic_array nga = { .is_conformant = false, };
3710 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3712 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncGetForm_pForm__);
3714 return offset;
3717 static int
3718 iremotewinspool_dissect_element_winspool_AsyncGetForm_pForm__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3720 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetForm_pForm, 0);
3722 return offset;
3725 static int
3726 iremotewinspool_dissect_element_winspool_AsyncGetForm_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3728 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetForm_cbBuf, 0);
3730 return offset;
3733 static int
3734 iremotewinspool_dissect_element_winspool_AsyncGetForm_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3736 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetForm_pcbNeeded_, NDR_POINTER_REF, "Pointer to PcbNeeded (uint32)",hf_iremotewinspool_winspool_AsyncGetForm_pcbNeeded);
3738 return offset;
3741 static int
3742 iremotewinspool_dissect_element_winspool_AsyncGetForm_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3744 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetForm_pcbNeeded, 0);
3746 return offset;
3749 /* IDL: WERROR winspool_AsyncGetForm( */
3750 /* IDL: [in] policy_handle hPrinter, */
3751 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pFormName, */
3752 /* IDL: [in] uint32 Level, */
3753 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pForm, */
3754 /* IDL: [in] uint32 cbBuf, */
3755 /* IDL: [out] [ref] uint32 *pcbNeeded */
3756 /* IDL: ); */
3758 static int
3759 iremotewinspool_dissect_winspool_AsyncGetForm_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3761 uint32_t status;
3763 di->dcerpc_procedure_name="winspool_AsyncGetForm";
3764 offset = iremotewinspool_dissect_element_winspool_AsyncGetForm_pForm(tvb, offset, pinfo, tree, di, drep);
3765 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3767 offset = iremotewinspool_dissect_element_winspool_AsyncGetForm_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
3768 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3770 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
3772 if (status != 0)
3773 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3775 return offset;
3778 static int
3779 iremotewinspool_dissect_winspool_AsyncGetForm_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3781 di->dcerpc_procedure_name="winspool_AsyncGetForm";
3782 offset = iremotewinspool_dissect_element_winspool_AsyncGetForm_hPrinter(tvb, offset, pinfo, tree, di, drep);
3783 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3784 offset = iremotewinspool_dissect_element_winspool_AsyncGetForm_pFormName(tvb, offset, pinfo, tree, di, drep);
3785 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3786 offset = iremotewinspool_dissect_element_winspool_AsyncGetForm_Level(tvb, offset, pinfo, tree, di, drep);
3787 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3788 offset = iremotewinspool_dissect_element_winspool_AsyncGetForm_pForm(tvb, offset, pinfo, tree, di, drep);
3789 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3790 offset = iremotewinspool_dissect_element_winspool_AsyncGetForm_cbBuf(tvb, offset, pinfo, tree, di, drep);
3791 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3792 return offset;
3795 static int
3796 iremotewinspool_dissect_element_winspool_AsyncSetForm_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3798 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetForm_hPrinter, 0);
3800 return offset;
3803 static int
3804 iremotewinspool_dissect_element_winspool_AsyncSetForm_pFormName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3806 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSetForm_pFormName_, NDR_POINTER_REF, "Pointer to PFormName (uint16)",hf_iremotewinspool_winspool_AsyncSetForm_pFormName);
3808 return offset;
3811 static int
3812 iremotewinspool_dissect_element_winspool_AsyncSetForm_pFormName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3814 char *data = NULL;
3815 struct ndr_generic_array nga = { .is_conformant = false, };
3817 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3819 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3820 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSetForm_pFormName, false, &nga, &data);
3821 proto_item_append_text(tree, ": %s", data);
3823 return offset;
3826 static int
3827 iremotewinspool_dissect_element_winspool_AsyncSetForm_pFormInfoContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3829 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSetForm_pFormInfoContainer_, NDR_POINTER_REF, "Pointer to PFormInfoContainer (spoolss_AddFormInfoCtr)",hf_iremotewinspool_winspool_AsyncSetForm_pFormInfoContainer);
3831 return offset;
3834 static int
3835 iremotewinspool_dissect_element_winspool_AsyncSetForm_pFormInfoContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3837 offset = dissect_FORM_CTR(tvb, offset, pinfo, tree, di, drep);
3839 return offset;
3842 /* IDL: WERROR winspool_AsyncSetForm( */
3843 /* IDL: [in] policy_handle hPrinter, */
3844 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pFormName, */
3845 /* IDL: [in] [ref] spoolss_AddFormInfoCtr *pFormInfoContainer */
3846 /* IDL: ); */
3848 static int
3849 iremotewinspool_dissect_winspool_AsyncSetForm_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3851 uint32_t status;
3853 di->dcerpc_procedure_name="winspool_AsyncSetForm";
3854 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
3856 if (status != 0)
3857 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3859 return offset;
3862 static int
3863 iremotewinspool_dissect_winspool_AsyncSetForm_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3865 di->dcerpc_procedure_name="winspool_AsyncSetForm";
3866 offset = iremotewinspool_dissect_element_winspool_AsyncSetForm_hPrinter(tvb, offset, pinfo, tree, di, drep);
3867 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3868 offset = iremotewinspool_dissect_element_winspool_AsyncSetForm_pFormName(tvb, offset, pinfo, tree, di, drep);
3869 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3870 offset = iremotewinspool_dissect_element_winspool_AsyncSetForm_pFormInfoContainer(tvb, offset, pinfo, tree, di, drep);
3871 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3872 return offset;
3875 static int
3876 iremotewinspool_dissect_element_winspool_AsyncEnumForms_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3878 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumForms_hPrinter, 0);
3880 return offset;
3883 static int
3884 iremotewinspool_dissect_element_winspool_AsyncEnumForms_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3886 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumForms_Level, 0);
3888 return offset;
3891 static int
3892 iremotewinspool_dissect_element_winspool_AsyncEnumForms_pForm(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3894 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumForms_pForm_, NDR_POINTER_UNIQUE, "Pointer to PForm (uint8)",hf_iremotewinspool_winspool_AsyncEnumForms_pForm);
3896 return offset;
3899 static int
3900 iremotewinspool_dissect_element_winspool_AsyncEnumForms_pForm_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3902 struct ndr_generic_array nga = { .is_conformant = false, };
3904 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
3906 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncEnumForms_pForm__);
3908 return offset;
3911 static int
3912 iremotewinspool_dissect_element_winspool_AsyncEnumForms_pForm__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3914 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumForms_pForm, 0);
3916 return offset;
3919 static int
3920 iremotewinspool_dissect_element_winspool_AsyncEnumForms_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3922 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumForms_cbBuf, 0);
3924 return offset;
3927 static int
3928 iremotewinspool_dissect_element_winspool_AsyncEnumForms_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3930 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumForms_pcbNeeded_, NDR_POINTER_REF, "Pointer to PcbNeeded (uint32)",hf_iremotewinspool_winspool_AsyncEnumForms_pcbNeeded);
3932 return offset;
3935 static int
3936 iremotewinspool_dissect_element_winspool_AsyncEnumForms_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3938 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumForms_pcbNeeded, 0);
3940 return offset;
3943 static int
3944 iremotewinspool_dissect_element_winspool_AsyncEnumForms_pcReturned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3946 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumForms_pcReturned_, NDR_POINTER_REF, "Pointer to PcReturned (uint32)",hf_iremotewinspool_winspool_AsyncEnumForms_pcReturned);
3948 return offset;
3951 static int
3952 iremotewinspool_dissect_element_winspool_AsyncEnumForms_pcReturned_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3954 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumForms_pcReturned, 0);
3956 return offset;
3959 /* IDL: WERROR winspool_AsyncEnumForms( */
3960 /* IDL: [in] policy_handle hPrinter, */
3961 /* IDL: [in] uint32 Level, */
3962 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pForm, */
3963 /* IDL: [in] uint32 cbBuf, */
3964 /* IDL: [out] [ref] uint32 *pcbNeeded, */
3965 /* IDL: [out] [ref] uint32 *pcReturned */
3966 /* IDL: ); */
3968 static int
3969 iremotewinspool_dissect_winspool_AsyncEnumForms_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3971 uint32_t status;
3973 di->dcerpc_procedure_name="winspool_AsyncEnumForms";
3974 offset = iremotewinspool_dissect_element_winspool_AsyncEnumForms_pForm(tvb, offset, pinfo, tree, di, drep);
3975 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3977 offset = iremotewinspool_dissect_element_winspool_AsyncEnumForms_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
3978 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3980 offset = iremotewinspool_dissect_element_winspool_AsyncEnumForms_pcReturned(tvb, offset, pinfo, tree, di, drep);
3981 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3983 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
3985 if (status != 0)
3986 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3988 return offset;
3991 static int
3992 iremotewinspool_dissect_winspool_AsyncEnumForms_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
3994 di->dcerpc_procedure_name="winspool_AsyncEnumForms";
3995 offset = iremotewinspool_dissect_element_winspool_AsyncEnumForms_hPrinter(tvb, offset, pinfo, tree, di, drep);
3996 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3997 offset = iremotewinspool_dissect_element_winspool_AsyncEnumForms_Level(tvb, offset, pinfo, tree, di, drep);
3998 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3999 offset = iremotewinspool_dissect_element_winspool_AsyncEnumForms_pForm(tvb, offset, pinfo, tree, di, drep);
4000 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4001 offset = iremotewinspool_dissect_element_winspool_AsyncEnumForms_cbBuf(tvb, offset, pinfo, tree, di, drep);
4002 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4003 return offset;
4006 static int
4007 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4009 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_hPrinter, 0);
4011 return offset;
4014 static int
4015 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4017 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pEnvironment_, NDR_POINTER_UNIQUE, "Pointer to PEnvironment (uint16)",hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pEnvironment);
4019 return offset;
4022 static int
4023 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4025 char *data = NULL;
4026 struct ndr_generic_array nga = { .is_conformant = false, };
4028 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4030 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4031 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pEnvironment, false, &nga, &data);
4032 proto_item_append_text(tree, ": %s", data);
4034 return offset;
4037 static int
4038 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4040 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_Level, 0);
4042 return offset;
4045 static int
4046 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pDriver(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4048 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pDriver_, NDR_POINTER_UNIQUE, "Pointer to PDriver (uint8)",hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pDriver);
4050 return offset;
4053 static int
4054 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pDriver_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4056 struct ndr_generic_array nga = { .is_conformant = false, };
4058 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4060 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pDriver__);
4062 return offset;
4065 static int
4066 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pDriver__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4068 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pDriver, 0);
4070 return offset;
4073 static int
4074 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4076 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_cbBuf, 0);
4078 return offset;
4081 static int
4082 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4084 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pcbNeeded_, NDR_POINTER_REF, "Pointer to PcbNeeded (uint32)",hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pcbNeeded);
4086 return offset;
4089 static int
4090 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4092 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pcbNeeded, 0);
4094 return offset;
4097 static int
4098 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_dwClientMajorVersion(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4100 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_dwClientMajorVersion, 0);
4102 return offset;
4105 static int
4106 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_dwClientMinorVersion(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4108 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_dwClientMinorVersion, 0);
4110 return offset;
4113 static int
4114 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pdwServerMaxVersion(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4116 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pdwServerMaxVersion_, NDR_POINTER_REF, "Pointer to PdwServerMaxVersion (uint32)",hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pdwServerMaxVersion);
4118 return offset;
4121 static int
4122 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pdwServerMaxVersion_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4124 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pdwServerMaxVersion, 0);
4126 return offset;
4129 static int
4130 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pdwServerMinVersion(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4132 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pdwServerMinVersion_, NDR_POINTER_REF, "Pointer to PdwServerMinVersion (uint32)",hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pdwServerMinVersion);
4134 return offset;
4137 static int
4138 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pdwServerMinVersion_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4140 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pdwServerMinVersion, 0);
4142 return offset;
4145 /* IDL: WERROR winspool_AsyncGetPrinterDriver( */
4146 /* IDL: [in] policy_handle hPrinter, */
4147 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pEnvironment, */
4148 /* IDL: [in] uint32 Level, */
4149 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pDriver, */
4150 /* IDL: [in] uint32 cbBuf, */
4151 /* IDL: [out] [ref] uint32 *pcbNeeded, */
4152 /* IDL: [in] uint32 dwClientMajorVersion, */
4153 /* IDL: [in] uint32 dwClientMinorVersion, */
4154 /* IDL: [out] [ref] uint32 *pdwServerMaxVersion, */
4155 /* IDL: [out] [ref] uint32 *pdwServerMinVersion */
4156 /* IDL: ); */
4158 static int
4159 iremotewinspool_dissect_winspool_AsyncGetPrinterDriver_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4161 uint32_t status;
4163 di->dcerpc_procedure_name="winspool_AsyncGetPrinterDriver";
4164 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pDriver(tvb, offset, pinfo, tree, di, drep);
4165 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4167 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
4168 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4170 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pdwServerMaxVersion(tvb, offset, pinfo, tree, di, drep);
4171 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4173 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pdwServerMinVersion(tvb, offset, pinfo, tree, di, drep);
4174 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4176 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
4178 if (status != 0)
4179 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
4181 return offset;
4184 static int
4185 iremotewinspool_dissect_winspool_AsyncGetPrinterDriver_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4187 di->dcerpc_procedure_name="winspool_AsyncGetPrinterDriver";
4188 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_hPrinter(tvb, offset, pinfo, tree, di, drep);
4189 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4190 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pEnvironment(tvb, offset, pinfo, tree, di, drep);
4191 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4192 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_Level(tvb, offset, pinfo, tree, di, drep);
4193 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4194 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pDriver(tvb, offset, pinfo, tree, di, drep);
4195 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4196 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_cbBuf(tvb, offset, pinfo, tree, di, drep);
4197 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4198 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_dwClientMajorVersion(tvb, offset, pinfo, tree, di, drep);
4199 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4200 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_dwClientMinorVersion(tvb, offset, pinfo, tree, di, drep);
4201 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4202 return offset;
4205 static int
4206 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4208 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_hPrinter, 0);
4210 return offset;
4213 static int
4214 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_dwIndex(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4216 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_dwIndex, 0);
4218 return offset;
4221 static int
4222 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pValueName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4224 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pValueName_, NDR_POINTER_REF, "Pointer to PValueName (uint16)",hf_iremotewinspool_winspool_AsyncEnumPrinterData_pValueName);
4226 return offset;
4229 static int
4230 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pValueName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4232 struct ndr_generic_array nga = { .is_conformant = false, };
4234 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4236 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pValueName__);
4238 return offset;
4241 static int
4242 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pValueName__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4244 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_pValueName, 0);
4246 return offset;
4249 static int
4250 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_cbValueName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4252 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_cbValueName, 0);
4254 return offset;
4257 static int
4258 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pcbValueName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4260 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pcbValueName_, NDR_POINTER_REF, "Pointer to PcbValueName (uint32)",hf_iremotewinspool_winspool_AsyncEnumPrinterData_pcbValueName);
4262 return offset;
4265 static int
4266 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pcbValueName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4268 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_pcbValueName, 0);
4270 return offset;
4273 static int
4274 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4276 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pType_, NDR_POINTER_REF, "Pointer to PType (uint32)",hf_iremotewinspool_winspool_AsyncEnumPrinterData_pType);
4278 return offset;
4281 static int
4282 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pType_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4284 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_pType, 0);
4286 return offset;
4289 static int
4290 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4292 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pData_, NDR_POINTER_REF, "Pointer to PData (uint8)",hf_iremotewinspool_winspool_AsyncEnumPrinterData_pData);
4294 return offset;
4297 static int
4298 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4300 struct ndr_generic_array nga = { .is_conformant = false, };
4302 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4304 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pData__);
4306 return offset;
4309 static int
4310 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pData__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4312 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_pData, 0);
4314 return offset;
4317 static int
4318 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_cbData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4320 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_cbData, 0);
4322 return offset;
4325 static int
4326 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pcbData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4328 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pcbData_, NDR_POINTER_REF, "Pointer to PcbData (uint32)",hf_iremotewinspool_winspool_AsyncEnumPrinterData_pcbData);
4330 return offset;
4333 static int
4334 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pcbData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4336 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_pcbData, 0);
4338 return offset;
4341 /* IDL: WERROR winspool_AsyncEnumPrinterData( */
4342 /* IDL: [in] policy_handle hPrinter, */
4343 /* IDL: [in] uint32 dwIndex, */
4344 /* IDL: [out] [ref] [size_is(cbValueName/2)] uint16 *pValueName, */
4345 /* IDL: [in] uint32 cbValueName, */
4346 /* IDL: [out] [ref] uint32 *pcbValueName, */
4347 /* IDL: [out] [ref] uint32 *pType, */
4348 /* IDL: [out] [ref] [size_is(cbData)] uint8 *pData, */
4349 /* IDL: [in] uint32 cbData, */
4350 /* IDL: [out] [ref] uint32 *pcbData */
4351 /* IDL: ); */
4353 static int
4354 iremotewinspool_dissect_winspool_AsyncEnumPrinterData_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4356 uint32_t status;
4358 di->dcerpc_procedure_name="winspool_AsyncEnumPrinterData";
4359 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pValueName(tvb, offset, pinfo, tree, di, drep);
4360 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4362 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pcbValueName(tvb, offset, pinfo, tree, di, drep);
4363 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4365 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pType(tvb, offset, pinfo, tree, di, drep);
4366 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4368 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pData(tvb, offset, pinfo, tree, di, drep);
4369 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4371 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pcbData(tvb, offset, pinfo, tree, di, drep);
4372 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4374 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
4376 if (status != 0)
4377 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
4379 return offset;
4382 static int
4383 iremotewinspool_dissect_winspool_AsyncEnumPrinterData_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4385 di->dcerpc_procedure_name="winspool_AsyncEnumPrinterData";
4386 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_hPrinter(tvb, offset, pinfo, tree, di, drep);
4387 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4388 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_dwIndex(tvb, offset, pinfo, tree, di, drep);
4389 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4390 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_cbValueName(tvb, offset, pinfo, tree, di, drep);
4391 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4392 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_cbData(tvb, offset, pinfo, tree, di, drep);
4393 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4394 return offset;
4397 static int
4398 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4400 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_hPrinter, 0);
4402 return offset;
4405 static int
4406 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pKeyName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4408 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pKeyName_, NDR_POINTER_REF, "Pointer to PKeyName (uint16)",hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pKeyName);
4410 return offset;
4413 static int
4414 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pKeyName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4416 char *data = NULL;
4417 struct ndr_generic_array nga = { .is_conformant = false, };
4419 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4421 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4422 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pKeyName, false, &nga, &data);
4423 proto_item_append_text(tree, ": %s", data);
4425 return offset;
4428 static int
4429 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pEnumValues(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4431 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pEnumValues_, NDR_POINTER_REF, "Pointer to PEnumValues (uint8)",hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pEnumValues);
4433 return offset;
4436 static int
4437 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pEnumValues_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4439 struct ndr_generic_array nga = { .is_conformant = false, };
4441 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4443 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pEnumValues__);
4445 return offset;
4448 static int
4449 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pEnumValues__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4451 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pEnumValues, 0);
4453 return offset;
4456 static int
4457 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_cbEnumValues(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4459 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_cbEnumValues, 0);
4461 return offset;
4464 static int
4465 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pcbEnumValues(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4467 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pcbEnumValues_, NDR_POINTER_REF, "Pointer to PcbEnumValues (uint32)",hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pcbEnumValues);
4469 return offset;
4472 static int
4473 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pcbEnumValues_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4475 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pcbEnumValues, 0);
4477 return offset;
4480 static int
4481 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pnEnumValues(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4483 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pnEnumValues_, NDR_POINTER_REF, "Pointer to PnEnumValues (uint32)",hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pnEnumValues);
4485 return offset;
4488 static int
4489 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pnEnumValues_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4491 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pnEnumValues, 0);
4493 return offset;
4496 /* IDL: WERROR winspool_AsyncEnumPrinterDataEx( */
4497 /* IDL: [in] policy_handle hPrinter, */
4498 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pKeyName, */
4499 /* IDL: [out] [ref] [size_is(cbEnumValues)] uint8 *pEnumValues, */
4500 /* IDL: [in] uint32 cbEnumValues, */
4501 /* IDL: [out] [ref] uint32 *pcbEnumValues, */
4502 /* IDL: [out] [ref] uint32 *pnEnumValues */
4503 /* IDL: ); */
4505 static int
4506 iremotewinspool_dissect_winspool_AsyncEnumPrinterDataEx_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4508 uint32_t status;
4510 di->dcerpc_procedure_name="winspool_AsyncEnumPrinterDataEx";
4511 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pEnumValues(tvb, offset, pinfo, tree, di, drep);
4512 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4514 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pcbEnumValues(tvb, offset, pinfo, tree, di, drep);
4515 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4517 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pnEnumValues(tvb, offset, pinfo, tree, di, drep);
4518 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4520 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
4522 if (status != 0)
4523 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
4525 return offset;
4528 static int
4529 iremotewinspool_dissect_winspool_AsyncEnumPrinterDataEx_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4531 di->dcerpc_procedure_name="winspool_AsyncEnumPrinterDataEx";
4532 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_hPrinter(tvb, offset, pinfo, tree, di, drep);
4533 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4534 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pKeyName(tvb, offset, pinfo, tree, di, drep);
4535 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4536 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_cbEnumValues(tvb, offset, pinfo, tree, di, drep);
4537 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4538 return offset;
4541 static int
4542 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4544 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterKey_hPrinter, 0);
4546 return offset;
4549 static int
4550 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pKeyName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4552 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pKeyName_, NDR_POINTER_REF, "Pointer to PKeyName (uint16)",hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pKeyName);
4554 return offset;
4557 static int
4558 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pKeyName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4560 char *data = NULL;
4561 struct ndr_generic_array nga = { .is_conformant = false, };
4563 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4565 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4566 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pKeyName, false, &nga, &data);
4567 proto_item_append_text(tree, ": %s", data);
4569 return offset;
4572 static int
4573 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pSubkey(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4575 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pSubkey_, NDR_POINTER_REF, "Pointer to PSubkey (uint16)",hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pSubkey);
4577 return offset;
4580 static int
4581 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pSubkey_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4583 struct ndr_generic_array nga = { .is_conformant = false, };
4585 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4587 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pSubkey__);
4589 return offset;
4592 static int
4593 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pSubkey__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4595 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pSubkey, 0);
4597 return offset;
4600 static int
4601 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_cbSubkey(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4603 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterKey_cbSubkey, 0);
4605 return offset;
4608 static int
4609 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pcbSubkey(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4611 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pcbSubkey_, NDR_POINTER_REF, "Pointer to PcbSubkey (uint32)",hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pcbSubkey);
4613 return offset;
4616 static int
4617 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pcbSubkey_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4619 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pcbSubkey, 0);
4621 return offset;
4624 /* IDL: WERROR winspool_AsyncEnumPrinterKey( */
4625 /* IDL: [in] policy_handle hPrinter, */
4626 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pKeyName, */
4627 /* IDL: [out] [ref] [size_is(cbSubkey/2)] uint16 *pSubkey, */
4628 /* IDL: [in] uint32 cbSubkey, */
4629 /* IDL: [out] [ref] uint32 *pcbSubkey */
4630 /* IDL: ); */
4632 static int
4633 iremotewinspool_dissect_winspool_AsyncEnumPrinterKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4635 uint32_t status;
4637 di->dcerpc_procedure_name="winspool_AsyncEnumPrinterKey";
4638 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pSubkey(tvb, offset, pinfo, tree, di, drep);
4639 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4641 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pcbSubkey(tvb, offset, pinfo, tree, di, drep);
4642 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4644 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
4646 if (status != 0)
4647 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
4649 return offset;
4652 static int
4653 iremotewinspool_dissect_winspool_AsyncEnumPrinterKey_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4655 di->dcerpc_procedure_name="winspool_AsyncEnumPrinterKey";
4656 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_hPrinter(tvb, offset, pinfo, tree, di, drep);
4657 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4658 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pKeyName(tvb, offset, pinfo, tree, di, drep);
4659 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4660 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_cbSubkey(tvb, offset, pinfo, tree, di, drep);
4661 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4662 return offset;
4665 static int
4666 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterData_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4668 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinterData_hPrinter, 0);
4670 return offset;
4673 static int
4674 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterData_pValueName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4676 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeletePrinterData_pValueName_, NDR_POINTER_REF, "Pointer to PValueName (uint16)",hf_iremotewinspool_winspool_AsyncDeletePrinterData_pValueName);
4678 return offset;
4681 static int
4682 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterData_pValueName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4684 char *data = NULL;
4685 struct ndr_generic_array nga = { .is_conformant = false, };
4687 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4689 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4690 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterData_pValueName, false, &nga, &data);
4691 proto_item_append_text(tree, ": %s", data);
4693 return offset;
4696 /* IDL: WERROR winspool_AsyncDeletePrinterData( */
4697 /* IDL: [in] policy_handle hPrinter, */
4698 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pValueName */
4699 /* IDL: ); */
4701 static int
4702 iremotewinspool_dissect_winspool_AsyncDeletePrinterData_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4704 uint32_t status;
4706 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterData";
4707 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
4709 if (status != 0)
4710 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
4712 return offset;
4715 static int
4716 iremotewinspool_dissect_winspool_AsyncDeletePrinterData_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4718 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterData";
4719 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterData_hPrinter(tvb, offset, pinfo, tree, di, drep);
4720 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4721 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterData_pValueName(tvb, offset, pinfo, tree, di, drep);
4722 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4723 return offset;
4726 static int
4727 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4729 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_hPrinter, 0);
4731 return offset;
4734 static int
4735 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_pKeyName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4737 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_pKeyName_, NDR_POINTER_REF, "Pointer to PKeyName (uint16)",hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_pKeyName);
4739 return offset;
4742 static int
4743 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_pKeyName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4745 char *data = NULL;
4746 struct ndr_generic_array nga = { .is_conformant = false, };
4748 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4750 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4751 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_pKeyName, false, &nga, &data);
4752 proto_item_append_text(tree, ": %s", data);
4754 return offset;
4757 static int
4758 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_pValueName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4760 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_pValueName_, NDR_POINTER_REF, "Pointer to PValueName (uint16)",hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_pValueName);
4762 return offset;
4765 static int
4766 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_pValueName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4768 char *data = NULL;
4769 struct ndr_generic_array nga = { .is_conformant = false, };
4771 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4773 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4774 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_pValueName, false, &nga, &data);
4775 proto_item_append_text(tree, ": %s", data);
4777 return offset;
4780 /* IDL: WERROR winspool_AsyncDeletePrinterDataEx( */
4781 /* IDL: [in] policy_handle hPrinter, */
4782 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pKeyName, */
4783 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pValueName */
4784 /* IDL: ); */
4786 static int
4787 iremotewinspool_dissect_winspool_AsyncDeletePrinterDataEx_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4789 uint32_t status;
4791 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDataEx";
4792 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
4794 if (status != 0)
4795 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
4797 return offset;
4800 static int
4801 iremotewinspool_dissect_winspool_AsyncDeletePrinterDataEx_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4803 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDataEx";
4804 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_hPrinter(tvb, offset, pinfo, tree, di, drep);
4805 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4806 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_pKeyName(tvb, offset, pinfo, tree, di, drep);
4807 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4808 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_pValueName(tvb, offset, pinfo, tree, di, drep);
4809 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4810 return offset;
4813 static int
4814 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterKey_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4816 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinterKey_hPrinter, 0);
4818 return offset;
4821 static int
4822 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterKey_pKeyName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4824 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeletePrinterKey_pKeyName_, NDR_POINTER_REF, "Pointer to PKeyName (uint16)",hf_iremotewinspool_winspool_AsyncDeletePrinterKey_pKeyName);
4826 return offset;
4829 static int
4830 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterKey_pKeyName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4832 char *data = NULL;
4833 struct ndr_generic_array nga = { .is_conformant = false, };
4835 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4837 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4838 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterKey_pKeyName, false, &nga, &data);
4839 proto_item_append_text(tree, ": %s", data);
4841 return offset;
4844 /* IDL: WERROR winspool_AsyncDeletePrinterKey( */
4845 /* IDL: [in] policy_handle hPrinter, */
4846 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pKeyName */
4847 /* IDL: ); */
4849 static int
4850 iremotewinspool_dissect_winspool_AsyncDeletePrinterKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4852 uint32_t status;
4854 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterKey";
4855 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
4857 if (status != 0)
4858 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
4860 return offset;
4863 static int
4864 iremotewinspool_dissect_winspool_AsyncDeletePrinterKey_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4866 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterKey";
4867 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterKey_hPrinter(tvb, offset, pinfo, tree, di, drep);
4868 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4869 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterKey_pKeyName(tvb, offset, pinfo, tree, di, drep);
4870 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4871 return offset;
4874 static int
4875 iremotewinspool_dissect_element_winspool_AsyncXcvData_hXcv(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4877 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_hXcv, 0);
4879 return offset;
4882 static int
4883 iremotewinspool_dissect_element_winspool_AsyncXcvData_pszDataName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4885 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncXcvData_pszDataName_, NDR_POINTER_REF, "Pointer to PszDataName (uint16)",hf_iremotewinspool_winspool_AsyncXcvData_pszDataName);
4887 return offset;
4890 static int
4891 iremotewinspool_dissect_element_winspool_AsyncXcvData_pszDataName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4893 char *data = NULL;
4894 struct ndr_generic_array nga = { .is_conformant = false, };
4896 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4898 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4899 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncXcvData_pszDataName, false, &nga, &data);
4900 proto_item_append_text(tree, ": %s", data);
4902 return offset;
4905 static int
4906 iremotewinspool_dissect_element_winspool_AsyncXcvData_pInputData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4908 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncXcvData_pInputData_, NDR_POINTER_REF, "Pointer to PInputData (uint8)",hf_iremotewinspool_winspool_AsyncXcvData_pInputData);
4910 return offset;
4913 static int
4914 iremotewinspool_dissect_element_winspool_AsyncXcvData_pInputData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4916 struct ndr_generic_array nga = { .is_conformant = false, };
4918 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4920 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncXcvData_pInputData__);
4922 return offset;
4925 static int
4926 iremotewinspool_dissect_element_winspool_AsyncXcvData_pInputData__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4928 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_pInputData, 0);
4930 return offset;
4933 static int
4934 iremotewinspool_dissect_element_winspool_AsyncXcvData_cbInputData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4936 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_cbInputData, 0);
4938 return offset;
4941 static int
4942 iremotewinspool_dissect_element_winspool_AsyncXcvData_pOutputData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4944 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncXcvData_pOutputData_, NDR_POINTER_REF, "Pointer to POutputData (uint8)",hf_iremotewinspool_winspool_AsyncXcvData_pOutputData);
4946 return offset;
4949 static int
4950 iremotewinspool_dissect_element_winspool_AsyncXcvData_pOutputData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4952 struct ndr_generic_array nga = { .is_conformant = false, };
4954 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
4956 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncXcvData_pOutputData__);
4958 return offset;
4961 static int
4962 iremotewinspool_dissect_element_winspool_AsyncXcvData_pOutputData__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4964 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_pOutputData, 0);
4966 return offset;
4969 static int
4970 iremotewinspool_dissect_element_winspool_AsyncXcvData_cbOutputData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4972 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_cbOutputData, 0);
4974 return offset;
4977 static int
4978 iremotewinspool_dissect_element_winspool_AsyncXcvData_pcbOutputNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4980 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncXcvData_pcbOutputNeeded_, NDR_POINTER_REF, "Pointer to PcbOutputNeeded (uint32)",hf_iremotewinspool_winspool_AsyncXcvData_pcbOutputNeeded);
4982 return offset;
4985 static int
4986 iremotewinspool_dissect_element_winspool_AsyncXcvData_pcbOutputNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4988 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_pcbOutputNeeded, 0);
4990 return offset;
4993 static int
4994 iremotewinspool_dissect_element_winspool_AsyncXcvData_pdwStatus(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
4996 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncXcvData_pdwStatus_, NDR_POINTER_REF, "Pointer to PdwStatus (uint32)",hf_iremotewinspool_winspool_AsyncXcvData_pdwStatus);
4998 return offset;
5001 static int
5002 iremotewinspool_dissect_element_winspool_AsyncXcvData_pdwStatus_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5004 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_pdwStatus, 0);
5006 return offset;
5009 /* IDL: WERROR winspool_AsyncXcvData( */
5010 /* IDL: [in] policy_handle hXcv, */
5011 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszDataName, */
5012 /* IDL: [in] [ref] [size_is(cbInputData)] uint8 *pInputData, */
5013 /* IDL: [in] uint32 cbInputData, */
5014 /* IDL: [out] [ref] [size_is(cbOutputData)] uint8 *pOutputData, */
5015 /* IDL: [in] uint32 cbOutputData, */
5016 /* IDL: [out] [ref] uint32 *pcbOutputNeeded, */
5017 /* IDL: [in] [out] [ref] uint32 *pdwStatus */
5018 /* IDL: ); */
5020 static int
5021 iremotewinspool_dissect_winspool_AsyncXcvData_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5023 uint32_t status;
5025 di->dcerpc_procedure_name="winspool_AsyncXcvData";
5026 offset = iremotewinspool_dissect_element_winspool_AsyncXcvData_pOutputData(tvb, offset, pinfo, tree, di, drep);
5027 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5029 offset = iremotewinspool_dissect_element_winspool_AsyncXcvData_pcbOutputNeeded(tvb, offset, pinfo, tree, di, drep);
5030 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5032 offset = iremotewinspool_dissect_element_winspool_AsyncXcvData_pdwStatus(tvb, offset, pinfo, tree, di, drep);
5033 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5035 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
5037 if (status != 0)
5038 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
5040 return offset;
5043 static int
5044 iremotewinspool_dissect_winspool_AsyncXcvData_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5046 di->dcerpc_procedure_name="winspool_AsyncXcvData";
5047 offset = iremotewinspool_dissect_element_winspool_AsyncXcvData_hXcv(tvb, offset, pinfo, tree, di, drep);
5048 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5049 offset = iremotewinspool_dissect_element_winspool_AsyncXcvData_pszDataName(tvb, offset, pinfo, tree, di, drep);
5050 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5051 offset = iremotewinspool_dissect_element_winspool_AsyncXcvData_pInputData(tvb, offset, pinfo, tree, di, drep);
5052 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5053 offset = iremotewinspool_dissect_element_winspool_AsyncXcvData_cbInputData(tvb, offset, pinfo, tree, di, drep);
5054 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5055 offset = iremotewinspool_dissect_element_winspool_AsyncXcvData_cbOutputData(tvb, offset, pinfo, tree, di, drep);
5056 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5057 offset = iremotewinspool_dissect_element_winspool_AsyncXcvData_pdwStatus(tvb, offset, pinfo, tree, di, drep);
5058 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5059 return offset;
5062 static int
5063 iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5065 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSendRecvBidiData_hPrinter, 0);
5067 return offset;
5070 static int
5071 iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_pAction(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5073 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_pAction_, NDR_POINTER_UNIQUE, "Pointer to PAction (uint16)",hf_iremotewinspool_winspool_AsyncSendRecvBidiData_pAction);
5075 return offset;
5078 static int
5079 iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_pAction_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5081 char *data = NULL;
5082 struct ndr_generic_array nga = { .is_conformant = false, };
5084 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5086 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5087 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSendRecvBidiData_pAction, false, &nga, &data);
5088 proto_item_append_text(tree, ": %s", data);
5090 return offset;
5093 static int
5094 iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_pReqData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5096 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_pReqData_, NDR_POINTER_REF, "Pointer to PReqData (RPC_BIDI_REQUEST_CONTAINER)",hf_iremotewinspool_winspool_AsyncSendRecvBidiData_pReqData);
5098 return offset;
5101 static int
5102 iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_pReqData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5104 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
5106 return offset;
5109 static int
5110 iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_ppRespData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5112 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_ppRespData_, NDR_POINTER_REF, "Pointer to PpRespData (RPC_BIDI_RESPONSE_CONTAINER)",hf_iremotewinspool_winspool_AsyncSendRecvBidiData_ppRespData);
5114 return offset;
5117 static int
5118 iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_ppRespData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5120 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_ppRespData__, NDR_POINTER_UNIQUE, "Pointer to PpRespData (RPC_BIDI_RESPONSE_CONTAINER)",hf_iremotewinspool_winspool_AsyncSendRecvBidiData_ppRespData);
5122 return offset;
5125 static int
5126 iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_ppRespData__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5128 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
5130 return offset;
5133 /* IDL: WERROR winspool_AsyncSendRecvBidiData( */
5134 /* IDL: [in] policy_handle hPrinter, */
5135 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pAction, */
5136 /* IDL: [in] [ref] RPC_BIDI_REQUEST_CONTAINER *pReqData, */
5137 /* IDL: [out] [ref] RPC_BIDI_RESPONSE_CONTAINER **ppRespData */
5138 /* IDL: ); */
5140 static int
5141 iremotewinspool_dissect_winspool_AsyncSendRecvBidiData_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5143 uint32_t status;
5145 di->dcerpc_procedure_name="winspool_AsyncSendRecvBidiData";
5146 offset = iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_ppRespData(tvb, offset, pinfo, tree, di, drep);
5147 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5149 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
5151 if (status != 0)
5152 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
5154 return offset;
5157 static int
5158 iremotewinspool_dissect_winspool_AsyncSendRecvBidiData_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5160 di->dcerpc_procedure_name="winspool_AsyncSendRecvBidiData";
5161 offset = iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_hPrinter(tvb, offset, pinfo, tree, di, drep);
5162 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5163 offset = iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_pAction(tvb, offset, pinfo, tree, di, drep);
5164 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5165 offset = iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_pReqData(tvb, offset, pinfo, tree, di, drep);
5166 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5167 return offset;
5170 static int
5171 iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5173 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncCreatePrinterIC_hPrinter, 0);
5175 return offset;
5178 static int
5179 iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_pHandle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5181 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_pHandle_, NDR_POINTER_REF, "Pointer to PHandle (policy_handle)",hf_iremotewinspool_winspool_AsyncCreatePrinterIC_pHandle);
5183 return offset;
5186 static int
5187 iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_pHandle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5189 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncCreatePrinterIC_pHandle, 0);
5191 return offset;
5194 static int
5195 iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_pDevModeContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5197 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_pDevModeContainer_, NDR_POINTER_REF, "Pointer to PDevModeContainer (spoolss_DevmodeContainer)",hf_iremotewinspool_winspool_AsyncCreatePrinterIC_pDevModeContainer);
5199 return offset;
5202 static int
5203 iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_pDevModeContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5205 offset = dissect_DEVMODE_CTR(tvb, offset, pinfo, tree, di, drep);
5207 return offset;
5210 /* IDL: WERROR winspool_AsyncCreatePrinterIC( */
5211 /* IDL: [in] policy_handle hPrinter, */
5212 /* IDL: [out] [ref] policy_handle *pHandle, */
5213 /* IDL: [in] [ref] spoolss_DevmodeContainer *pDevModeContainer */
5214 /* IDL: ); */
5216 static int
5217 iremotewinspool_dissect_winspool_AsyncCreatePrinterIC_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5219 uint32_t status;
5221 di->dcerpc_procedure_name="winspool_AsyncCreatePrinterIC";
5222 offset = iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_pHandle(tvb, offset, pinfo, tree, di, drep);
5223 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5225 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
5227 if (status != 0)
5228 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
5230 return offset;
5233 static int
5234 iremotewinspool_dissect_winspool_AsyncCreatePrinterIC_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5236 di->dcerpc_procedure_name="winspool_AsyncCreatePrinterIC";
5237 offset = iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_hPrinter(tvb, offset, pinfo, tree, di, drep);
5238 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5239 offset = iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_pDevModeContainer(tvb, offset, pinfo, tree, di, drep);
5240 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5241 return offset;
5244 static int
5245 iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_hPrinterIC(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5247 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_hPrinterIC, 0);
5249 return offset;
5252 static int
5253 iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5255 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn_, NDR_POINTER_REF, "Pointer to PIn (uint8)",hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn);
5257 return offset;
5260 static int
5261 iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5263 struct ndr_generic_array nga = { .is_conformant = false, };
5265 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5267 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn__);
5269 return offset;
5272 static int
5273 iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5275 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn, 0);
5277 return offset;
5280 static int
5281 iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_cIn(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5283 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_cIn, 0);
5285 return offset;
5288 static int
5289 iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5291 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut_, NDR_POINTER_REF, "Pointer to POut (uint8)",hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut);
5293 return offset;
5296 static int
5297 iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5299 struct ndr_generic_array nga = { .is_conformant = false, };
5301 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5303 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut__);
5305 return offset;
5308 static int
5309 iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5311 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut, 0);
5313 return offset;
5316 static int
5317 iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_cOut(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5319 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_cOut, 0);
5321 return offset;
5324 static int
5325 iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_ul(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5327 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_ul, 0);
5329 return offset;
5332 /* IDL: WERROR winspool_AsyncPlayGdiScriptOnPrinterIC( */
5333 /* IDL: [in] policy_handle hPrinterIC, */
5334 /* IDL: [in] [ref] [size_is(cIn)] uint8 *pIn, */
5335 /* IDL: [in] uint32 cIn, */
5336 /* IDL: [out] [ref] [size_is(cOut)] uint8 *pOut, */
5337 /* IDL: [in] uint32 cOut, */
5338 /* IDL: [in] uint32 ul */
5339 /* IDL: ); */
5341 static int
5342 iremotewinspool_dissect_winspool_AsyncPlayGdiScriptOnPrinterIC_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5344 uint32_t status;
5346 di->dcerpc_procedure_name="winspool_AsyncPlayGdiScriptOnPrinterIC";
5347 offset = iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut(tvb, offset, pinfo, tree, di, drep);
5348 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5350 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
5352 if (status != 0)
5353 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
5355 return offset;
5358 static int
5359 iremotewinspool_dissect_winspool_AsyncPlayGdiScriptOnPrinterIC_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5361 di->dcerpc_procedure_name="winspool_AsyncPlayGdiScriptOnPrinterIC";
5362 offset = iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_hPrinterIC(tvb, offset, pinfo, tree, di, drep);
5363 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5364 offset = iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn(tvb, offset, pinfo, tree, di, drep);
5365 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5366 offset = iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_cIn(tvb, offset, pinfo, tree, di, drep);
5367 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5368 offset = iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_cOut(tvb, offset, pinfo, tree, di, drep);
5369 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5370 offset = iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_ul(tvb, offset, pinfo, tree, di, drep);
5371 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5372 return offset;
5375 static int
5376 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterIC_phPrinterIC(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5378 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeletePrinterIC_phPrinterIC_, NDR_POINTER_REF, "Pointer to PhPrinterIC (policy_handle)",hf_iremotewinspool_winspool_AsyncDeletePrinterIC_phPrinterIC);
5380 return offset;
5383 static int
5384 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterIC_phPrinterIC_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5386 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinterIC_phPrinterIC, 0);
5388 return offset;
5391 /* IDL: WERROR winspool_AsyncDeletePrinterIC( */
5392 /* IDL: [in] [out] [ref] policy_handle *phPrinterIC */
5393 /* IDL: ); */
5395 static int
5396 iremotewinspool_dissect_winspool_AsyncDeletePrinterIC_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5398 uint32_t status;
5400 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterIC";
5401 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterIC_phPrinterIC(tvb, offset, pinfo, tree, di, drep);
5402 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5404 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
5406 if (status != 0)
5407 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
5409 return offset;
5412 static int
5413 iremotewinspool_dissect_winspool_AsyncDeletePrinterIC_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5415 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterIC";
5416 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterIC_phPrinterIC(tvb, offset, pinfo, tree, di, drep);
5417 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5418 return offset;
5421 static int
5422 iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_Flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5424 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinters_Flags, 0);
5426 return offset;
5429 static int
5430 iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5432 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pName_, NDR_POINTER_UNIQUE, "Pointer to PName (uint16)",hf_iremotewinspool_winspool_AsyncEnumPrinters_pName);
5434 return offset;
5437 static int
5438 iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5440 char *data = NULL;
5441 struct ndr_generic_array nga = { .is_conformant = false, };
5443 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5445 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5446 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrinters_pName, false, &nga, &data);
5447 proto_item_append_text(tree, ": %s", data);
5449 return offset;
5452 static int
5453 iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5455 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinters_Level, 0);
5457 return offset;
5460 static int
5461 iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pPrinterEnum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5463 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pPrinterEnum_, NDR_POINTER_UNIQUE, "Pointer to PPrinterEnum (uint8)",hf_iremotewinspool_winspool_AsyncEnumPrinters_pPrinterEnum);
5465 return offset;
5468 static int
5469 iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pPrinterEnum_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5471 struct ndr_generic_array nga = { .is_conformant = false, };
5473 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5475 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pPrinterEnum__);
5477 return offset;
5480 static int
5481 iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pPrinterEnum__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5483 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinters_pPrinterEnum, 0);
5485 return offset;
5488 static int
5489 iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5491 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinters_cbBuf, 0);
5493 return offset;
5496 static int
5497 iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5499 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pcbNeeded_, NDR_POINTER_REF, "Pointer to PcbNeeded (uint32)",hf_iremotewinspool_winspool_AsyncEnumPrinters_pcbNeeded);
5501 return offset;
5504 static int
5505 iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5507 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinters_pcbNeeded, 0);
5509 return offset;
5512 static int
5513 iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pcReturned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5515 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pcReturned_, NDR_POINTER_REF, "Pointer to PcReturned (uint32)",hf_iremotewinspool_winspool_AsyncEnumPrinters_pcReturned);
5517 return offset;
5520 static int
5521 iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pcReturned_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5523 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinters_pcReturned, 0);
5525 return offset;
5528 /* IDL: WERROR winspool_AsyncEnumPrinters( */
5529 /* IDL: [in] uint32 Flags, */
5530 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
5531 /* IDL: [in] uint32 Level, */
5532 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pPrinterEnum, */
5533 /* IDL: [in] uint32 cbBuf, */
5534 /* IDL: [out] [ref] uint32 *pcbNeeded, */
5535 /* IDL: [out] [ref] uint32 *pcReturned */
5536 /* IDL: ); */
5538 static int
5539 iremotewinspool_dissect_winspool_AsyncEnumPrinters_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5541 uint32_t status;
5543 di->dcerpc_procedure_name="winspool_AsyncEnumPrinters";
5544 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pPrinterEnum(tvb, offset, pinfo, tree, di, drep);
5545 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5547 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
5548 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5550 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pcReturned(tvb, offset, pinfo, tree, di, drep);
5551 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5553 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
5555 if (status != 0)
5556 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
5558 return offset;
5561 static int
5562 iremotewinspool_dissect_winspool_AsyncEnumPrinters_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5564 di->dcerpc_procedure_name="winspool_AsyncEnumPrinters";
5565 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_Flags(tvb, offset, pinfo, tree, di, drep);
5566 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5567 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pName(tvb, offset, pinfo, tree, di, drep);
5568 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5569 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_Level(tvb, offset, pinfo, tree, di, drep);
5570 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5571 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pPrinterEnum(tvb, offset, pinfo, tree, di, drep);
5572 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5573 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_cbBuf(tvb, offset, pinfo, tree, di, drep);
5574 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5575 return offset;
5578 static int
5579 iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5581 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_pName_, NDR_POINTER_UNIQUE, "Pointer to PName (uint16)",hf_iremotewinspool_winspool_AsyncAddPrinterDriver_pName);
5583 return offset;
5586 static int
5587 iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5589 char *data = NULL;
5590 struct ndr_generic_array nga = { .is_conformant = false, };
5592 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5594 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5595 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPrinterDriver_pName, false, &nga, &data);
5596 proto_item_append_text(tree, ": %s", data);
5598 return offset;
5601 static int
5602 iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_pDriverContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5604 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_pDriverContainer_, NDR_POINTER_REF, "Pointer to PDriverContainer (spoolss_AddDriverInfoCtr)",hf_iremotewinspool_winspool_AsyncAddPrinterDriver_pDriverContainer);
5606 return offset;
5609 static int
5610 iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_pDriverContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5612 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
5614 return offset;
5617 static int
5618 iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_dwFileCopyFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5620 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddPrinterDriver_dwFileCopyFlags, 0);
5622 return offset;
5625 /* IDL: WERROR winspool_AsyncAddPrinterDriver( */
5626 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
5627 /* IDL: [in] [ref] spoolss_AddDriverInfoCtr *pDriverContainer, */
5628 /* IDL: [in] uint32 dwFileCopyFlags */
5629 /* IDL: ); */
5631 static int
5632 iremotewinspool_dissect_winspool_AsyncAddPrinterDriver_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5634 uint32_t status;
5636 di->dcerpc_procedure_name="winspool_AsyncAddPrinterDriver";
5637 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
5639 if (status != 0)
5640 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
5642 return offset;
5645 static int
5646 iremotewinspool_dissect_winspool_AsyncAddPrinterDriver_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5648 di->dcerpc_procedure_name="winspool_AsyncAddPrinterDriver";
5649 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_pName(tvb, offset, pinfo, tree, di, drep);
5650 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5651 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_pDriverContainer(tvb, offset, pinfo, tree, di, drep);
5652 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5653 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_dwFileCopyFlags(tvb, offset, pinfo, tree, di, drep);
5654 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5655 return offset;
5658 static int
5659 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5661 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pName_, NDR_POINTER_UNIQUE, "Pointer to PName (uint16)",hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pName);
5663 return offset;
5666 static int
5667 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5669 char *data = NULL;
5670 struct ndr_generic_array nga = { .is_conformant = false, };
5672 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5674 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5675 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pName, false, &nga, &data);
5676 proto_item_append_text(tree, ": %s", data);
5678 return offset;
5681 static int
5682 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5684 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pEnvironment_, NDR_POINTER_UNIQUE, "Pointer to PEnvironment (uint16)",hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pEnvironment);
5686 return offset;
5689 static int
5690 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5692 char *data = NULL;
5693 struct ndr_generic_array nga = { .is_conformant = false, };
5695 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5697 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5698 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pEnvironment, false, &nga, &data);
5699 proto_item_append_text(tree, ": %s", data);
5701 return offset;
5704 static int
5705 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5707 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_Level, 0);
5709 return offset;
5712 static int
5713 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pDrivers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5715 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pDrivers_, NDR_POINTER_UNIQUE, "Pointer to PDrivers (uint8)",hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pDrivers);
5717 return offset;
5720 static int
5721 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pDrivers_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5723 struct ndr_generic_array nga = { .is_conformant = false, };
5725 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5727 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pDrivers__);
5729 return offset;
5732 static int
5733 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pDrivers__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5735 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pDrivers, 0);
5737 return offset;
5740 static int
5741 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5743 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_cbBuf, 0);
5745 return offset;
5748 static int
5749 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5751 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pcbNeeded_, NDR_POINTER_REF, "Pointer to PcbNeeded (uint32)",hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pcbNeeded);
5753 return offset;
5756 static int
5757 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5759 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pcbNeeded, 0);
5761 return offset;
5764 static int
5765 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pcReturned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5767 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pcReturned_, NDR_POINTER_REF, "Pointer to PcReturned (uint32)",hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pcReturned);
5769 return offset;
5772 static int
5773 iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pcReturned_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5775 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pcReturned, 0);
5777 return offset;
5780 /* IDL: WERROR winspool_AsyncEnumPrinterDrivers( */
5781 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
5782 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pEnvironment, */
5783 /* IDL: [in] uint32 Level, */
5784 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pDrivers, */
5785 /* IDL: [in] uint32 cbBuf, */
5786 /* IDL: [out] [ref] uint32 *pcbNeeded, */
5787 /* IDL: [out] [ref] uint32 *pcReturned */
5788 /* IDL: ); */
5790 static int
5791 iremotewinspool_dissect_winspool_AsyncEnumPrinterDrivers_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5793 uint32_t status;
5795 di->dcerpc_procedure_name="winspool_AsyncEnumPrinterDrivers";
5796 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pDrivers(tvb, offset, pinfo, tree, di, drep);
5797 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5799 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
5800 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5802 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pcReturned(tvb, offset, pinfo, tree, di, drep);
5803 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5805 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
5807 if (status != 0)
5808 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
5810 return offset;
5813 static int
5814 iremotewinspool_dissect_winspool_AsyncEnumPrinterDrivers_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5816 di->dcerpc_procedure_name="winspool_AsyncEnumPrinterDrivers";
5817 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pName(tvb, offset, pinfo, tree, di, drep);
5818 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5819 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pEnvironment(tvb, offset, pinfo, tree, di, drep);
5820 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5821 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_Level(tvb, offset, pinfo, tree, di, drep);
5822 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5823 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pDrivers(tvb, offset, pinfo, tree, di, drep);
5824 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5825 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_cbBuf(tvb, offset, pinfo, tree, di, drep);
5826 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5827 return offset;
5830 static int
5831 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5833 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pName_, NDR_POINTER_UNIQUE, "Pointer to PName (uint16)",hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pName);
5835 return offset;
5838 static int
5839 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5841 char *data = NULL;
5842 struct ndr_generic_array nga = { .is_conformant = false, };
5844 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5846 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5847 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pName, false, &nga, &data);
5848 proto_item_append_text(tree, ": %s", data);
5850 return offset;
5853 static int
5854 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5856 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pEnvironment_, NDR_POINTER_UNIQUE, "Pointer to PEnvironment (uint16)",hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pEnvironment);
5858 return offset;
5861 static int
5862 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5864 char *data = NULL;
5865 struct ndr_generic_array nga = { .is_conformant = false, };
5867 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5869 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5870 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pEnvironment, false, &nga, &data);
5871 proto_item_append_text(tree, ": %s", data);
5873 return offset;
5876 static int
5877 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5879 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_Level, 0);
5881 return offset;
5884 static int
5885 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5887 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory_, NDR_POINTER_UNIQUE, "Pointer to PDriverDirectory (uint8)",hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory);
5889 return offset;
5892 static int
5893 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5895 struct ndr_generic_array nga = { .is_conformant = false, };
5897 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5899 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory__);
5901 return offset;
5904 static int
5905 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5907 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory, 0);
5909 return offset;
5912 static int
5913 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5915 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_cbBuf, 0);
5917 return offset;
5920 static int
5921 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5923 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pcbNeeded_, NDR_POINTER_REF, "Pointer to PcbNeeded (uint32)",hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pcbNeeded);
5925 return offset;
5928 static int
5929 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5931 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pcbNeeded, 0);
5933 return offset;
5936 /* IDL: WERROR winspool_AsyncGetPrinterDriverDirectory( */
5937 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
5938 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pEnvironment, */
5939 /* IDL: [in] uint32 Level, */
5940 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pDriverDirectory, */
5941 /* IDL: [in] uint32 cbBuf, */
5942 /* IDL: [out] [ref] uint32 *pcbNeeded */
5943 /* IDL: ); */
5945 static int
5946 iremotewinspool_dissect_winspool_AsyncGetPrinterDriverDirectory_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5948 uint32_t status;
5950 di->dcerpc_procedure_name="winspool_AsyncGetPrinterDriverDirectory";
5951 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory(tvb, offset, pinfo, tree, di, drep);
5952 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5954 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
5955 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5957 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
5959 if (status != 0)
5960 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
5962 return offset;
5965 static int
5966 iremotewinspool_dissect_winspool_AsyncGetPrinterDriverDirectory_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5968 di->dcerpc_procedure_name="winspool_AsyncGetPrinterDriverDirectory";
5969 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pName(tvb, offset, pinfo, tree, di, drep);
5970 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5971 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pEnvironment(tvb, offset, pinfo, tree, di, drep);
5972 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5973 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_Level(tvb, offset, pinfo, tree, di, drep);
5974 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5975 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory(tvb, offset, pinfo, tree, di, drep);
5976 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5977 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_cbBuf(tvb, offset, pinfo, tree, di, drep);
5978 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5979 return offset;
5982 static int
5983 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5985 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pName_, NDR_POINTER_UNIQUE, "Pointer to PName (uint16)",hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pName);
5987 return offset;
5990 static int
5991 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
5993 char *data = NULL;
5994 struct ndr_generic_array nga = { .is_conformant = false, };
5996 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5998 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
5999 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pName, false, &nga, &data);
6000 proto_item_append_text(tree, ": %s", data);
6002 return offset;
6005 static int
6006 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6008 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pEnvironment_, NDR_POINTER_REF, "Pointer to PEnvironment (uint16)",hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pEnvironment);
6010 return offset;
6013 static int
6014 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6016 char *data = NULL;
6017 struct ndr_generic_array nga = { .is_conformant = false, };
6019 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6021 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6022 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pEnvironment, false, &nga, &data);
6023 proto_item_append_text(tree, ": %s", data);
6025 return offset;
6028 static int
6029 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pDriverName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6031 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pDriverName_, NDR_POINTER_REF, "Pointer to PDriverName (uint16)",hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pDriverName);
6033 return offset;
6036 static int
6037 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pDriverName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6039 char *data = NULL;
6040 struct ndr_generic_array nga = { .is_conformant = false, };
6042 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6044 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6045 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pDriverName, false, &nga, &data);
6046 proto_item_append_text(tree, ": %s", data);
6048 return offset;
6051 /* IDL: WERROR winspool_AsyncDeletePrinterDriver( */
6052 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
6053 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pEnvironment, */
6054 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pDriverName */
6055 /* IDL: ); */
6057 static int
6058 iremotewinspool_dissect_winspool_AsyncDeletePrinterDriver_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6060 uint32_t status;
6062 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDriver";
6063 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
6065 if (status != 0)
6066 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
6068 return offset;
6071 static int
6072 iremotewinspool_dissect_winspool_AsyncDeletePrinterDriver_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6074 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDriver";
6075 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pName(tvb, offset, pinfo, tree, di, drep);
6076 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6077 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pEnvironment(tvb, offset, pinfo, tree, di, drep);
6078 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6079 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pDriverName(tvb, offset, pinfo, tree, di, drep);
6080 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6081 return offset;
6084 static int
6085 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6087 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pName_, NDR_POINTER_UNIQUE, "Pointer to PName (uint16)",hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pName);
6089 return offset;
6092 static int
6093 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6095 char *data = NULL;
6096 struct ndr_generic_array nga = { .is_conformant = false, };
6098 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6100 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6101 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pName, false, &nga, &data);
6102 proto_item_append_text(tree, ": %s", data);
6104 return offset;
6107 static int
6108 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6110 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pEnvironment_, NDR_POINTER_REF, "Pointer to PEnvironment (uint16)",hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pEnvironment);
6112 return offset;
6115 static int
6116 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6118 char *data = NULL;
6119 struct ndr_generic_array nga = { .is_conformant = false, };
6121 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6123 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6124 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pEnvironment, false, &nga, &data);
6125 proto_item_append_text(tree, ": %s", data);
6127 return offset;
6130 static int
6131 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pDriverName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6133 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pDriverName_, NDR_POINTER_REF, "Pointer to PDriverName (uint16)",hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pDriverName);
6135 return offset;
6138 static int
6139 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pDriverName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6141 char *data = NULL;
6142 struct ndr_generic_array nga = { .is_conformant = false, };
6144 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6146 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6147 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pDriverName, false, &nga, &data);
6148 proto_item_append_text(tree, ": %s", data);
6150 return offset;
6153 static int
6154 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_dwDeleteFlag(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6156 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_dwDeleteFlag, 0);
6158 return offset;
6161 static int
6162 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_dwVersionNum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6164 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_dwVersionNum, 0);
6166 return offset;
6169 /* IDL: WERROR winspool_AsyncDeletePrinterDriverEx( */
6170 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
6171 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pEnvironment, */
6172 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pDriverName, */
6173 /* IDL: [in] uint32 dwDeleteFlag, */
6174 /* IDL: [in] uint32 dwVersionNum */
6175 /* IDL: ); */
6177 static int
6178 iremotewinspool_dissect_winspool_AsyncDeletePrinterDriverEx_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6180 uint32_t status;
6182 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDriverEx";
6183 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
6185 if (status != 0)
6186 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
6188 return offset;
6191 static int
6192 iremotewinspool_dissect_winspool_AsyncDeletePrinterDriverEx_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6194 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDriverEx";
6195 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pName(tvb, offset, pinfo, tree, di, drep);
6196 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6197 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pEnvironment(tvb, offset, pinfo, tree, di, drep);
6198 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6199 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pDriverName(tvb, offset, pinfo, tree, di, drep);
6200 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6201 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_dwDeleteFlag(tvb, offset, pinfo, tree, di, drep);
6202 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6203 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_dwVersionNum(tvb, offset, pinfo, tree, di, drep);
6204 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6205 return offset;
6208 static int
6209 iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6211 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pName_, NDR_POINTER_UNIQUE, "Pointer to PName (uint16)",hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pName);
6213 return offset;
6216 static int
6217 iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6219 char *data = NULL;
6220 struct ndr_generic_array nga = { .is_conformant = false, };
6222 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6224 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6225 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pName, false, &nga, &data);
6226 proto_item_append_text(tree, ": %s", data);
6228 return offset;
6231 static int
6232 iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6234 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pEnvironment_, NDR_POINTER_REF, "Pointer to PEnvironment (uint16)",hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pEnvironment);
6236 return offset;
6239 static int
6240 iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6242 char *data = NULL;
6243 struct ndr_generic_array nga = { .is_conformant = false, };
6245 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6247 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6248 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pEnvironment, false, &nga, &data);
6249 proto_item_append_text(tree, ": %s", data);
6251 return offset;
6254 static int
6255 iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pPathName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6257 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pPathName_, NDR_POINTER_REF, "Pointer to PPathName (uint16)",hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pPathName);
6259 return offset;
6262 static int
6263 iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pPathName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6265 char *data = NULL;
6266 struct ndr_generic_array nga = { .is_conformant = false, };
6268 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6270 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6271 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pPathName, false, &nga, &data);
6272 proto_item_append_text(tree, ": %s", data);
6274 return offset;
6277 static int
6278 iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pPrintProcessorName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6280 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pPrintProcessorName_, NDR_POINTER_REF, "Pointer to PPrintProcessorName (uint16)",hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pPrintProcessorName);
6282 return offset;
6285 static int
6286 iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pPrintProcessorName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6288 char *data = NULL;
6289 struct ndr_generic_array nga = { .is_conformant = false, };
6291 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6293 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6294 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pPrintProcessorName, false, &nga, &data);
6295 proto_item_append_text(tree, ": %s", data);
6297 return offset;
6300 /* IDL: WERROR winspool_AsyncAddPrintProcessor( */
6301 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
6302 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pEnvironment, */
6303 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pPathName, */
6304 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pPrintProcessorName */
6305 /* IDL: ); */
6307 static int
6308 iremotewinspool_dissect_winspool_AsyncAddPrintProcessor_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6310 uint32_t status;
6312 di->dcerpc_procedure_name="winspool_AsyncAddPrintProcessor";
6313 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
6315 if (status != 0)
6316 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
6318 return offset;
6321 static int
6322 iremotewinspool_dissect_winspool_AsyncAddPrintProcessor_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6324 di->dcerpc_procedure_name="winspool_AsyncAddPrintProcessor";
6325 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pName(tvb, offset, pinfo, tree, di, drep);
6326 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6327 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pEnvironment(tvb, offset, pinfo, tree, di, drep);
6328 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6329 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pPathName(tvb, offset, pinfo, tree, di, drep);
6330 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6331 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pPrintProcessorName(tvb, offset, pinfo, tree, di, drep);
6332 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6333 return offset;
6336 static int
6337 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6339 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pName_, NDR_POINTER_UNIQUE, "Pointer to PName (uint16)",hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pName);
6341 return offset;
6344 static int
6345 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6347 char *data = NULL;
6348 struct ndr_generic_array nga = { .is_conformant = false, };
6350 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6352 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6353 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pName, false, &nga, &data);
6354 proto_item_append_text(tree, ": %s", data);
6356 return offset;
6359 static int
6360 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6362 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pEnvironment_, NDR_POINTER_UNIQUE, "Pointer to PEnvironment (uint16)",hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pEnvironment);
6364 return offset;
6367 static int
6368 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6370 char *data = NULL;
6371 struct ndr_generic_array nga = { .is_conformant = false, };
6373 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6375 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6376 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pEnvironment, false, &nga, &data);
6377 proto_item_append_text(tree, ": %s", data);
6379 return offset;
6382 static int
6383 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6385 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_Level, 0);
6387 return offset;
6390 static int
6391 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6393 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo_, NDR_POINTER_UNIQUE, "Pointer to PPrintProcessorInfo (uint8)",hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo);
6395 return offset;
6398 static int
6399 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6401 struct ndr_generic_array nga = { .is_conformant = false, };
6403 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6405 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo__);
6407 return offset;
6410 static int
6411 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6413 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo, 0);
6415 return offset;
6418 static int
6419 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6421 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_cbBuf, 0);
6423 return offset;
6426 static int
6427 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6429 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pcbNeeded_, NDR_POINTER_REF, "Pointer to PcbNeeded (uint32)",hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pcbNeeded);
6431 return offset;
6434 static int
6435 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6437 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pcbNeeded, 0);
6439 return offset;
6442 static int
6443 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pcReturned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6445 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pcReturned_, NDR_POINTER_REF, "Pointer to PcReturned (uint32)",hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pcReturned);
6447 return offset;
6450 static int
6451 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pcReturned_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6453 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pcReturned, 0);
6455 return offset;
6458 /* IDL: WERROR winspool_AsyncEnumPrintProcessors( */
6459 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
6460 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pEnvironment, */
6461 /* IDL: [in] uint32 Level, */
6462 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pPrintProcessorInfo, */
6463 /* IDL: [in] uint32 cbBuf, */
6464 /* IDL: [out] [ref] uint32 *pcbNeeded, */
6465 /* IDL: [out] [ref] uint32 *pcReturned */
6466 /* IDL: ); */
6468 static int
6469 iremotewinspool_dissect_winspool_AsyncEnumPrintProcessors_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6471 uint32_t status;
6473 di->dcerpc_procedure_name="winspool_AsyncEnumPrintProcessors";
6474 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo(tvb, offset, pinfo, tree, di, drep);
6475 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6477 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
6478 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6480 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pcReturned(tvb, offset, pinfo, tree, di, drep);
6481 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6483 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
6485 if (status != 0)
6486 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
6488 return offset;
6491 static int
6492 iremotewinspool_dissect_winspool_AsyncEnumPrintProcessors_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6494 di->dcerpc_procedure_name="winspool_AsyncEnumPrintProcessors";
6495 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pName(tvb, offset, pinfo, tree, di, drep);
6496 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6497 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pEnvironment(tvb, offset, pinfo, tree, di, drep);
6498 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6499 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_Level(tvb, offset, pinfo, tree, di, drep);
6500 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6501 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo(tvb, offset, pinfo, tree, di, drep);
6502 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6503 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_cbBuf(tvb, offset, pinfo, tree, di, drep);
6504 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6505 return offset;
6508 static int
6509 iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6511 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pName_, NDR_POINTER_UNIQUE, "Pointer to PName (uint16)",hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pName);
6513 return offset;
6516 static int
6517 iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6519 char *data = NULL;
6520 struct ndr_generic_array nga = { .is_conformant = false, };
6522 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6524 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6525 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pName, false, &nga, &data);
6526 proto_item_append_text(tree, ": %s", data);
6528 return offset;
6531 static int
6532 iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6534 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pEnvironment_, NDR_POINTER_UNIQUE, "Pointer to PEnvironment (uint16)",hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pEnvironment);
6536 return offset;
6539 static int
6540 iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6542 char *data = NULL;
6543 struct ndr_generic_array nga = { .is_conformant = false, };
6545 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6547 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6548 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pEnvironment, false, &nga, &data);
6549 proto_item_append_text(tree, ": %s", data);
6551 return offset;
6554 static int
6555 iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6557 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_Level, 0);
6559 return offset;
6562 static int
6563 iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6565 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory_, NDR_POINTER_UNIQUE, "Pointer to PPrintProcessorDirectory (uint8)",hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory);
6567 return offset;
6570 static int
6571 iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6573 struct ndr_generic_array nga = { .is_conformant = false, };
6575 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6577 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory__);
6579 return offset;
6582 static int
6583 iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6585 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory, 0);
6587 return offset;
6590 static int
6591 iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6593 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_cbBuf, 0);
6595 return offset;
6598 static int
6599 iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6601 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pcbNeeded_, NDR_POINTER_REF, "Pointer to PcbNeeded (uint32)",hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pcbNeeded);
6603 return offset;
6606 static int
6607 iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6609 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pcbNeeded, 0);
6611 return offset;
6614 /* IDL: WERROR winspool_AsyncGetPrintProcessorDirectory( */
6615 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
6616 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pEnvironment, */
6617 /* IDL: [in] uint32 Level, */
6618 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pPrintProcessorDirectory, */
6619 /* IDL: [in] uint32 cbBuf, */
6620 /* IDL: [out] [ref] uint32 *pcbNeeded */
6621 /* IDL: ); */
6623 static int
6624 iremotewinspool_dissect_winspool_AsyncGetPrintProcessorDirectory_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6626 uint32_t status;
6628 di->dcerpc_procedure_name="winspool_AsyncGetPrintProcessorDirectory";
6629 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory(tvb, offset, pinfo, tree, di, drep);
6630 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6632 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
6633 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6635 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
6637 if (status != 0)
6638 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
6640 return offset;
6643 static int
6644 iremotewinspool_dissect_winspool_AsyncGetPrintProcessorDirectory_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6646 di->dcerpc_procedure_name="winspool_AsyncGetPrintProcessorDirectory";
6647 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pName(tvb, offset, pinfo, tree, di, drep);
6648 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6649 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pEnvironment(tvb, offset, pinfo, tree, di, drep);
6650 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6651 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_Level(tvb, offset, pinfo, tree, di, drep);
6652 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6653 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory(tvb, offset, pinfo, tree, di, drep);
6654 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6655 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_cbBuf(tvb, offset, pinfo, tree, di, drep);
6656 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6657 return offset;
6660 static int
6661 iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6663 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pName_, NDR_POINTER_UNIQUE, "Pointer to PName (uint16)",hf_iremotewinspool_winspool_AsyncEnumPorts_pName);
6665 return offset;
6668 static int
6669 iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6671 char *data = NULL;
6672 struct ndr_generic_array nga = { .is_conformant = false, };
6674 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6676 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6677 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPorts_pName, false, &nga, &data);
6678 proto_item_append_text(tree, ": %s", data);
6680 return offset;
6683 static int
6684 iremotewinspool_dissect_element_winspool_AsyncEnumPorts_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6686 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPorts_Level, 0);
6688 return offset;
6691 static int
6692 iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pPort(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6694 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pPort_, NDR_POINTER_UNIQUE, "Pointer to PPort (uint8)",hf_iremotewinspool_winspool_AsyncEnumPorts_pPort);
6696 return offset;
6699 static int
6700 iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pPort_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6702 struct ndr_generic_array nga = { .is_conformant = false, };
6704 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6706 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pPort__);
6708 return offset;
6711 static int
6712 iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pPort__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6714 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPorts_pPort, 0);
6716 return offset;
6719 static int
6720 iremotewinspool_dissect_element_winspool_AsyncEnumPorts_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6722 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPorts_cbBuf, 0);
6724 return offset;
6727 static int
6728 iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6730 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pcbNeeded_, NDR_POINTER_REF, "Pointer to PcbNeeded (uint32)",hf_iremotewinspool_winspool_AsyncEnumPorts_pcbNeeded);
6732 return offset;
6735 static int
6736 iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6738 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPorts_pcbNeeded, 0);
6740 return offset;
6743 static int
6744 iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pcReturned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6746 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pcReturned_, NDR_POINTER_REF, "Pointer to PcReturned (uint32)",hf_iremotewinspool_winspool_AsyncEnumPorts_pcReturned);
6748 return offset;
6751 static int
6752 iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pcReturned_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6754 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPorts_pcReturned, 0);
6756 return offset;
6759 /* IDL: WERROR winspool_AsyncEnumPorts( */
6760 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
6761 /* IDL: [in] uint32 Level, */
6762 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pPort, */
6763 /* IDL: [in] uint32 cbBuf, */
6764 /* IDL: [out] [ref] uint32 *pcbNeeded, */
6765 /* IDL: [out] [ref] uint32 *pcReturned */
6766 /* IDL: ); */
6768 static int
6769 iremotewinspool_dissect_winspool_AsyncEnumPorts_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6771 uint32_t status;
6773 di->dcerpc_procedure_name="winspool_AsyncEnumPorts";
6774 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pPort(tvb, offset, pinfo, tree, di, drep);
6775 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6777 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
6778 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6780 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pcReturned(tvb, offset, pinfo, tree, di, drep);
6781 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6783 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
6785 if (status != 0)
6786 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
6788 return offset;
6791 static int
6792 iremotewinspool_dissect_winspool_AsyncEnumPorts_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6794 di->dcerpc_procedure_name="winspool_AsyncEnumPorts";
6795 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pName(tvb, offset, pinfo, tree, di, drep);
6796 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6797 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPorts_Level(tvb, offset, pinfo, tree, di, drep);
6798 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6799 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pPort(tvb, offset, pinfo, tree, di, drep);
6800 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6801 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPorts_cbBuf(tvb, offset, pinfo, tree, di, drep);
6802 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6803 return offset;
6806 static int
6807 iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6809 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pName_, NDR_POINTER_UNIQUE, "Pointer to PName (uint16)",hf_iremotewinspool_winspool_AsyncEnumMonitors_pName);
6811 return offset;
6814 static int
6815 iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6817 char *data = NULL;
6818 struct ndr_generic_array nga = { .is_conformant = false, };
6820 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6822 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6823 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumMonitors_pName, false, &nga, &data);
6824 proto_item_append_text(tree, ": %s", data);
6826 return offset;
6829 static int
6830 iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6832 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumMonitors_Level, 0);
6834 return offset;
6837 static int
6838 iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pMonitor(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6840 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pMonitor_, NDR_POINTER_UNIQUE, "Pointer to PMonitor (uint8)",hf_iremotewinspool_winspool_AsyncEnumMonitors_pMonitor);
6842 return offset;
6845 static int
6846 iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pMonitor_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6848 struct ndr_generic_array nga = { .is_conformant = false, };
6850 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6852 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pMonitor__);
6854 return offset;
6857 static int
6858 iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pMonitor__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6860 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumMonitors_pMonitor, 0);
6862 return offset;
6865 static int
6866 iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6868 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumMonitors_cbBuf, 0);
6870 return offset;
6873 static int
6874 iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6876 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pcbNeeded_, NDR_POINTER_REF, "Pointer to PcbNeeded (uint32)",hf_iremotewinspool_winspool_AsyncEnumMonitors_pcbNeeded);
6878 return offset;
6881 static int
6882 iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6884 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumMonitors_pcbNeeded, 0);
6886 return offset;
6889 static int
6890 iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pcReturned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6892 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pcReturned_, NDR_POINTER_REF, "Pointer to PcReturned (uint32)",hf_iremotewinspool_winspool_AsyncEnumMonitors_pcReturned);
6894 return offset;
6897 static int
6898 iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pcReturned_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6900 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumMonitors_pcReturned, 0);
6902 return offset;
6905 /* IDL: WERROR winspool_AsyncEnumMonitors( */
6906 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
6907 /* IDL: [in] uint32 Level, */
6908 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pMonitor, */
6909 /* IDL: [in] uint32 cbBuf, */
6910 /* IDL: [out] [ref] uint32 *pcbNeeded, */
6911 /* IDL: [out] [ref] uint32 *pcReturned */
6912 /* IDL: ); */
6914 static int
6915 iremotewinspool_dissect_winspool_AsyncEnumMonitors_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6917 uint32_t status;
6919 di->dcerpc_procedure_name="winspool_AsyncEnumMonitors";
6920 offset = iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pMonitor(tvb, offset, pinfo, tree, di, drep);
6921 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6923 offset = iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
6924 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6926 offset = iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pcReturned(tvb, offset, pinfo, tree, di, drep);
6927 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6929 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
6931 if (status != 0)
6932 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
6934 return offset;
6937 static int
6938 iremotewinspool_dissect_winspool_AsyncEnumMonitors_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6940 di->dcerpc_procedure_name="winspool_AsyncEnumMonitors";
6941 offset = iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pName(tvb, offset, pinfo, tree, di, drep);
6942 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6943 offset = iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_Level(tvb, offset, pinfo, tree, di, drep);
6944 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6945 offset = iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pMonitor(tvb, offset, pinfo, tree, di, drep);
6946 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6947 offset = iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_cbBuf(tvb, offset, pinfo, tree, di, drep);
6948 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6949 return offset;
6952 static int
6953 iremotewinspool_dissect_element_winspool_AsyncAddPort_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6955 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddPort_pName_, NDR_POINTER_UNIQUE, "Pointer to PName (uint16)",hf_iremotewinspool_winspool_AsyncAddPort_pName);
6957 return offset;
6960 static int
6961 iremotewinspool_dissect_element_winspool_AsyncAddPort_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6963 char *data = NULL;
6964 struct ndr_generic_array nga = { .is_conformant = false, };
6966 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6968 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
6969 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPort_pName, false, &nga, &data);
6970 proto_item_append_text(tree, ": %s", data);
6972 return offset;
6975 static int
6976 iremotewinspool_dissect_element_winspool_AsyncAddPort_pPortContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6978 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddPort_pPortContainer_, NDR_POINTER_REF, "Pointer to PPortContainer (spoolss_SetPortInfoContainer)",hf_iremotewinspool_winspool_AsyncAddPort_pPortContainer);
6980 return offset;
6983 static int
6984 iremotewinspool_dissect_element_winspool_AsyncAddPort_pPortContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6986 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
6988 return offset;
6991 static int
6992 iremotewinspool_dissect_element_winspool_AsyncAddPort_pPortVarContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
6994 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddPort_pPortVarContainer_, NDR_POINTER_REF, "Pointer to PPortVarContainer (spoolss_PortVarContainer)",hf_iremotewinspool_winspool_AsyncAddPort_pPortVarContainer);
6996 return offset;
6999 static int
7000 iremotewinspool_dissect_element_winspool_AsyncAddPort_pPortVarContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7002 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
7004 return offset;
7007 static int
7008 iremotewinspool_dissect_element_winspool_AsyncAddPort_pMonitorName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7010 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddPort_pMonitorName_, NDR_POINTER_REF, "Pointer to PMonitorName (uint16)",hf_iremotewinspool_winspool_AsyncAddPort_pMonitorName);
7012 return offset;
7015 static int
7016 iremotewinspool_dissect_element_winspool_AsyncAddPort_pMonitorName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7018 char *data = NULL;
7019 struct ndr_generic_array nga = { .is_conformant = false, };
7021 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7023 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7024 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPort_pMonitorName, false, &nga, &data);
7025 proto_item_append_text(tree, ": %s", data);
7027 return offset;
7030 /* IDL: WERROR winspool_AsyncAddPort( */
7031 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
7032 /* IDL: [in] [ref] spoolss_SetPortInfoContainer *pPortContainer, */
7033 /* IDL: [in] [ref] spoolss_PortVarContainer *pPortVarContainer, */
7034 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pMonitorName */
7035 /* IDL: ); */
7037 static int
7038 iremotewinspool_dissect_winspool_AsyncAddPort_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7040 uint32_t status;
7042 di->dcerpc_procedure_name="winspool_AsyncAddPort";
7043 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
7045 if (status != 0)
7046 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
7048 return offset;
7051 static int
7052 iremotewinspool_dissect_winspool_AsyncAddPort_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7054 di->dcerpc_procedure_name="winspool_AsyncAddPort";
7055 offset = iremotewinspool_dissect_element_winspool_AsyncAddPort_pName(tvb, offset, pinfo, tree, di, drep);
7056 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7057 offset = iremotewinspool_dissect_element_winspool_AsyncAddPort_pPortContainer(tvb, offset, pinfo, tree, di, drep);
7058 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7059 offset = iremotewinspool_dissect_element_winspool_AsyncAddPort_pPortVarContainer(tvb, offset, pinfo, tree, di, drep);
7060 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7061 offset = iremotewinspool_dissect_element_winspool_AsyncAddPort_pMonitorName(tvb, offset, pinfo, tree, di, drep);
7062 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7063 return offset;
7066 static int
7067 iremotewinspool_dissect_element_winspool_AsyncSetPort_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7069 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSetPort_pName_, NDR_POINTER_UNIQUE, "Pointer to PName (uint16)",hf_iremotewinspool_winspool_AsyncSetPort_pName);
7071 return offset;
7074 static int
7075 iremotewinspool_dissect_element_winspool_AsyncSetPort_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7077 char *data = NULL;
7078 struct ndr_generic_array nga = { .is_conformant = false, };
7080 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7082 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7083 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSetPort_pName, false, &nga, &data);
7084 proto_item_append_text(tree, ": %s", data);
7086 return offset;
7089 static int
7090 iremotewinspool_dissect_element_winspool_AsyncSetPort_pPortName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7092 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSetPort_pPortName_, NDR_POINTER_UNIQUE, "Pointer to PPortName (uint16)",hf_iremotewinspool_winspool_AsyncSetPort_pPortName);
7094 return offset;
7097 static int
7098 iremotewinspool_dissect_element_winspool_AsyncSetPort_pPortName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7100 char *data = NULL;
7101 struct ndr_generic_array nga = { .is_conformant = false, };
7103 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7105 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7106 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSetPort_pPortName, false, &nga, &data);
7107 proto_item_append_text(tree, ": %s", data);
7109 return offset;
7112 static int
7113 iremotewinspool_dissect_element_winspool_AsyncSetPort_pPortContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7115 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSetPort_pPortContainer_, NDR_POINTER_REF, "Pointer to PPortContainer (spoolss_SetPortInfoContainer)",hf_iremotewinspool_winspool_AsyncSetPort_pPortContainer);
7117 return offset;
7120 static int
7121 iremotewinspool_dissect_element_winspool_AsyncSetPort_pPortContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7123 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
7125 return offset;
7128 /* IDL: WERROR winspool_AsyncSetPort( */
7129 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
7130 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pPortName, */
7131 /* IDL: [in] [ref] spoolss_SetPortInfoContainer *pPortContainer */
7132 /* IDL: ); */
7134 static int
7135 iremotewinspool_dissect_winspool_AsyncSetPort_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7137 uint32_t status;
7139 di->dcerpc_procedure_name="winspool_AsyncSetPort";
7140 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
7142 if (status != 0)
7143 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
7145 return offset;
7148 static int
7149 iremotewinspool_dissect_winspool_AsyncSetPort_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7151 di->dcerpc_procedure_name="winspool_AsyncSetPort";
7152 offset = iremotewinspool_dissect_element_winspool_AsyncSetPort_pName(tvb, offset, pinfo, tree, di, drep);
7153 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7154 offset = iremotewinspool_dissect_element_winspool_AsyncSetPort_pPortName(tvb, offset, pinfo, tree, di, drep);
7155 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7156 offset = iremotewinspool_dissect_element_winspool_AsyncSetPort_pPortContainer(tvb, offset, pinfo, tree, di, drep);
7157 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7158 return offset;
7161 static int
7162 iremotewinspool_dissect_element_winspool_AsyncAddMonitor_Name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7164 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddMonitor_Name_, NDR_POINTER_UNIQUE, "Pointer to Name (uint16)",hf_iremotewinspool_winspool_AsyncAddMonitor_Name);
7166 return offset;
7169 static int
7170 iremotewinspool_dissect_element_winspool_AsyncAddMonitor_Name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7172 char *data = NULL;
7173 struct ndr_generic_array nga = { .is_conformant = false, };
7175 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7177 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7178 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddMonitor_Name, false, &nga, &data);
7179 proto_item_append_text(tree, ": %s", data);
7181 return offset;
7184 static int
7185 iremotewinspool_dissect_element_winspool_AsyncAddMonitor_pMonitorContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7187 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddMonitor_pMonitorContainer_, NDR_POINTER_REF, "Pointer to PMonitorContainer (spoolss_MonitorContainer)",hf_iremotewinspool_winspool_AsyncAddMonitor_pMonitorContainer);
7189 return offset;
7192 static int
7193 iremotewinspool_dissect_element_winspool_AsyncAddMonitor_pMonitorContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7195 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
7197 return offset;
7200 /* IDL: WERROR winspool_AsyncAddMonitor( */
7201 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *Name, */
7202 /* IDL: [in] [ref] spoolss_MonitorContainer *pMonitorContainer */
7203 /* IDL: ); */
7205 static int
7206 iremotewinspool_dissect_winspool_AsyncAddMonitor_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7208 uint32_t status;
7210 di->dcerpc_procedure_name="winspool_AsyncAddMonitor";
7211 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
7213 if (status != 0)
7214 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
7216 return offset;
7219 static int
7220 iremotewinspool_dissect_winspool_AsyncAddMonitor_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7222 di->dcerpc_procedure_name="winspool_AsyncAddMonitor";
7223 offset = iremotewinspool_dissect_element_winspool_AsyncAddMonitor_Name(tvb, offset, pinfo, tree, di, drep);
7224 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7225 offset = iremotewinspool_dissect_element_winspool_AsyncAddMonitor_pMonitorContainer(tvb, offset, pinfo, tree, di, drep);
7226 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7227 return offset;
7230 static int
7231 iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_Name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7233 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_Name_, NDR_POINTER_UNIQUE, "Pointer to Name (uint16)",hf_iremotewinspool_winspool_AsyncDeleteMonitor_Name);
7235 return offset;
7238 static int
7239 iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_Name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7241 char *data = NULL;
7242 struct ndr_generic_array nga = { .is_conformant = false, };
7244 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7246 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7247 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeleteMonitor_Name, false, &nga, &data);
7248 proto_item_append_text(tree, ": %s", data);
7250 return offset;
7253 static int
7254 iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_pEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7256 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_pEnvironment_, NDR_POINTER_UNIQUE, "Pointer to PEnvironment (uint16)",hf_iremotewinspool_winspool_AsyncDeleteMonitor_pEnvironment);
7258 return offset;
7261 static int
7262 iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_pEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7264 char *data = NULL;
7265 struct ndr_generic_array nga = { .is_conformant = false, };
7267 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7269 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7270 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeleteMonitor_pEnvironment, false, &nga, &data);
7271 proto_item_append_text(tree, ": %s", data);
7273 return offset;
7276 static int
7277 iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_pMonitorName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7279 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_pMonitorName_, NDR_POINTER_REF, "Pointer to PMonitorName (uint16)",hf_iremotewinspool_winspool_AsyncDeleteMonitor_pMonitorName);
7281 return offset;
7284 static int
7285 iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_pMonitorName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7287 char *data = NULL;
7288 struct ndr_generic_array nga = { .is_conformant = false, };
7290 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7292 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7293 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeleteMonitor_pMonitorName, false, &nga, &data);
7294 proto_item_append_text(tree, ": %s", data);
7296 return offset;
7299 /* IDL: WERROR winspool_AsyncDeleteMonitor( */
7300 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *Name, */
7301 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pEnvironment, */
7302 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pMonitorName */
7303 /* IDL: ); */
7305 static int
7306 iremotewinspool_dissect_winspool_AsyncDeleteMonitor_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7308 uint32_t status;
7310 di->dcerpc_procedure_name="winspool_AsyncDeleteMonitor";
7311 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
7313 if (status != 0)
7314 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
7316 return offset;
7319 static int
7320 iremotewinspool_dissect_winspool_AsyncDeleteMonitor_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7322 di->dcerpc_procedure_name="winspool_AsyncDeleteMonitor";
7323 offset = iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_Name(tvb, offset, pinfo, tree, di, drep);
7324 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7325 offset = iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_pEnvironment(tvb, offset, pinfo, tree, di, drep);
7326 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7327 offset = iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_pMonitorName(tvb, offset, pinfo, tree, di, drep);
7328 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7329 return offset;
7332 static int
7333 iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_Name(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7335 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_Name_, NDR_POINTER_UNIQUE, "Pointer to Name (uint16)",hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_Name);
7337 return offset;
7340 static int
7341 iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_Name_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7343 char *data = NULL;
7344 struct ndr_generic_array nga = { .is_conformant = false, };
7346 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7348 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7349 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_Name, false, &nga, &data);
7350 proto_item_append_text(tree, ": %s", data);
7352 return offset;
7355 static int
7356 iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_pEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7358 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_pEnvironment_, NDR_POINTER_UNIQUE, "Pointer to PEnvironment (uint16)",hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_pEnvironment);
7360 return offset;
7363 static int
7364 iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_pEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7366 char *data = NULL;
7367 struct ndr_generic_array nga = { .is_conformant = false, };
7369 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7371 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7372 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_pEnvironment, false, &nga, &data);
7373 proto_item_append_text(tree, ": %s", data);
7375 return offset;
7378 static int
7379 iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_pPrintProcessorName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7381 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_pPrintProcessorName_, NDR_POINTER_REF, "Pointer to PPrintProcessorName (uint16)",hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_pPrintProcessorName);
7383 return offset;
7386 static int
7387 iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_pPrintProcessorName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7389 char *data = NULL;
7390 struct ndr_generic_array nga = { .is_conformant = false, };
7392 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7394 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7395 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_pPrintProcessorName, false, &nga, &data);
7396 proto_item_append_text(tree, ": %s", data);
7398 return offset;
7401 /* IDL: WERROR winspool_AsyncDeletePrintProcessor( */
7402 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *Name, */
7403 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pEnvironment, */
7404 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pPrintProcessorName */
7405 /* IDL: ); */
7407 static int
7408 iremotewinspool_dissect_winspool_AsyncDeletePrintProcessor_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7410 uint32_t status;
7412 di->dcerpc_procedure_name="winspool_AsyncDeletePrintProcessor";
7413 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
7415 if (status != 0)
7416 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
7418 return offset;
7421 static int
7422 iremotewinspool_dissect_winspool_AsyncDeletePrintProcessor_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7424 di->dcerpc_procedure_name="winspool_AsyncDeletePrintProcessor";
7425 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_Name(tvb, offset, pinfo, tree, di, drep);
7426 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7427 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_pEnvironment(tvb, offset, pinfo, tree, di, drep);
7428 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7429 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_pPrintProcessorName(tvb, offset, pinfo, tree, di, drep);
7430 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7431 return offset;
7434 static int
7435 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7437 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pName_, NDR_POINTER_UNIQUE, "Pointer to PName (uint16)",hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pName);
7439 return offset;
7442 static int
7443 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7445 char *data = NULL;
7446 struct ndr_generic_array nga = { .is_conformant = false, };
7448 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7450 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7451 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pName, false, &nga, &data);
7452 proto_item_append_text(tree, ": %s", data);
7454 return offset;
7457 static int
7458 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pPrintProcessorName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7460 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pPrintProcessorName_, NDR_POINTER_UNIQUE, "Pointer to PPrintProcessorName (uint16)",hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pPrintProcessorName);
7462 return offset;
7465 static int
7466 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pPrintProcessorName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7468 char *data = NULL;
7469 struct ndr_generic_array nga = { .is_conformant = false, };
7471 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7473 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7474 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pPrintProcessorName, false, &nga, &data);
7475 proto_item_append_text(tree, ": %s", data);
7477 return offset;
7480 static int
7481 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_Level(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7483 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_Level, 0);
7485 return offset;
7488 static int
7489 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7491 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes_, NDR_POINTER_UNIQUE, "Pointer to PDatatypes (uint8)",hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes);
7493 return offset;
7496 static int
7497 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7499 struct ndr_generic_array nga = { .is_conformant = false, };
7501 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7503 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes__);
7505 return offset;
7508 static int
7509 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7511 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes, 0);
7513 return offset;
7516 static int
7517 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7519 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_cbBuf, 0);
7521 return offset;
7524 static int
7525 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7527 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pcbNeeded_, NDR_POINTER_REF, "Pointer to PcbNeeded (uint32)",hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pcbNeeded);
7529 return offset;
7532 static int
7533 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7535 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pcbNeeded, 0);
7537 return offset;
7540 static int
7541 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pcReturned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7543 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pcReturned_, NDR_POINTER_REF, "Pointer to PcReturned (uint32)",hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pcReturned);
7545 return offset;
7548 static int
7549 iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pcReturned_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7551 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pcReturned, 0);
7553 return offset;
7556 /* IDL: WERROR winspool_AsyncEnumPrintProcessorDatatypes( */
7557 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
7558 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pPrintProcessorName, */
7559 /* IDL: [in] uint32 Level, */
7560 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pDatatypes, */
7561 /* IDL: [in] uint32 cbBuf, */
7562 /* IDL: [out] [ref] uint32 *pcbNeeded, */
7563 /* IDL: [out] [ref] uint32 *pcReturned */
7564 /* IDL: ); */
7566 static int
7567 iremotewinspool_dissect_winspool_AsyncEnumPrintProcessorDatatypes_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7569 uint32_t status;
7571 di->dcerpc_procedure_name="winspool_AsyncEnumPrintProcessorDatatypes";
7572 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes(tvb, offset, pinfo, tree, di, drep);
7573 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7575 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
7576 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7578 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pcReturned(tvb, offset, pinfo, tree, di, drep);
7579 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7581 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
7583 if (status != 0)
7584 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
7586 return offset;
7589 static int
7590 iremotewinspool_dissect_winspool_AsyncEnumPrintProcessorDatatypes_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7592 di->dcerpc_procedure_name="winspool_AsyncEnumPrintProcessorDatatypes";
7593 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pName(tvb, offset, pinfo, tree, di, drep);
7594 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7595 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pPrintProcessorName(tvb, offset, pinfo, tree, di, drep);
7596 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7597 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_Level(tvb, offset, pinfo, tree, di, drep);
7598 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7599 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes(tvb, offset, pinfo, tree, di, drep);
7600 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7601 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_cbBuf(tvb, offset, pinfo, tree, di, drep);
7602 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7603 return offset;
7606 static int
7607 iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pServer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7609 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pServer_, NDR_POINTER_UNIQUE, "Pointer to PServer (uint16)",hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pServer);
7611 return offset;
7614 static int
7615 iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pServer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7617 char *data = NULL;
7618 struct ndr_generic_array nga = { .is_conformant = false, };
7620 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7622 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7623 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pServer, false, &nga, &data);
7624 proto_item_append_text(tree, ": %s", data);
7626 return offset;
7629 static int
7630 iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pPrinterName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7632 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pPrinterName_, NDR_POINTER_REF, "Pointer to PPrinterName (uint16)",hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pPrinterName);
7634 return offset;
7637 static int
7638 iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pPrinterName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7640 char *data = NULL;
7641 struct ndr_generic_array nga = { .is_conformant = false, };
7643 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7645 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7646 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pPrinterName, false, &nga, &data);
7647 proto_item_append_text(tree, ": %s", data);
7649 return offset;
7652 static int
7653 iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pPrintServer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7655 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pPrintServer_, NDR_POINTER_REF, "Pointer to PPrintServer (uint16)",hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pPrintServer);
7657 return offset;
7660 static int
7661 iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pPrintServer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7663 char *data = NULL;
7664 struct ndr_generic_array nga = { .is_conformant = false, };
7666 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7668 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7669 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pPrintServer, false, &nga, &data);
7670 proto_item_append_text(tree, ": %s", data);
7672 return offset;
7675 static int
7676 iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pProvider(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7678 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pProvider_, NDR_POINTER_REF, "Pointer to PProvider (uint16)",hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pProvider);
7680 return offset;
7683 static int
7684 iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pProvider_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7686 char *data = NULL;
7687 struct ndr_generic_array nga = { .is_conformant = false, };
7689 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7691 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7692 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pProvider, false, &nga, &data);
7693 proto_item_append_text(tree, ": %s", data);
7695 return offset;
7698 /* IDL: WERROR winspool_AsyncAddPerMachineConnection( */
7699 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pServer, */
7700 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pPrinterName, */
7701 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pPrintServer, */
7702 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pProvider */
7703 /* IDL: ); */
7705 static int
7706 iremotewinspool_dissect_winspool_AsyncAddPerMachineConnection_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7708 uint32_t status;
7710 di->dcerpc_procedure_name="winspool_AsyncAddPerMachineConnection";
7711 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
7713 if (status != 0)
7714 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
7716 return offset;
7719 static int
7720 iremotewinspool_dissect_winspool_AsyncAddPerMachineConnection_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7722 di->dcerpc_procedure_name="winspool_AsyncAddPerMachineConnection";
7723 offset = iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pServer(tvb, offset, pinfo, tree, di, drep);
7724 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7725 offset = iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pPrinterName(tvb, offset, pinfo, tree, di, drep);
7726 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7727 offset = iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pPrintServer(tvb, offset, pinfo, tree, di, drep);
7728 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7729 offset = iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pProvider(tvb, offset, pinfo, tree, di, drep);
7730 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7731 return offset;
7734 static int
7735 iremotewinspool_dissect_element_winspool_AsyncDeletePerMachineConnection_pServer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7737 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeletePerMachineConnection_pServer_, NDR_POINTER_UNIQUE, "Pointer to PServer (uint16)",hf_iremotewinspool_winspool_AsyncDeletePerMachineConnection_pServer);
7739 return offset;
7742 static int
7743 iremotewinspool_dissect_element_winspool_AsyncDeletePerMachineConnection_pServer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7745 char *data = NULL;
7746 struct ndr_generic_array nga = { .is_conformant = false, };
7748 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7750 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7751 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePerMachineConnection_pServer, false, &nga, &data);
7752 proto_item_append_text(tree, ": %s", data);
7754 return offset;
7757 static int
7758 iremotewinspool_dissect_element_winspool_AsyncDeletePerMachineConnection_pPrinterName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7760 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeletePerMachineConnection_pPrinterName_, NDR_POINTER_REF, "Pointer to PPrinterName (uint16)",hf_iremotewinspool_winspool_AsyncDeletePerMachineConnection_pPrinterName);
7762 return offset;
7765 static int
7766 iremotewinspool_dissect_element_winspool_AsyncDeletePerMachineConnection_pPrinterName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7768 char *data = NULL;
7769 struct ndr_generic_array nga = { .is_conformant = false, };
7771 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7773 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7774 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePerMachineConnection_pPrinterName, false, &nga, &data);
7775 proto_item_append_text(tree, ": %s", data);
7777 return offset;
7780 /* IDL: WERROR winspool_AsyncDeletePerMachineConnection( */
7781 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pServer, */
7782 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pPrinterName */
7783 /* IDL: ); */
7785 static int
7786 iremotewinspool_dissect_winspool_AsyncDeletePerMachineConnection_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7788 uint32_t status;
7790 di->dcerpc_procedure_name="winspool_AsyncDeletePerMachineConnection";
7791 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
7793 if (status != 0)
7794 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
7796 return offset;
7799 static int
7800 iremotewinspool_dissect_winspool_AsyncDeletePerMachineConnection_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7802 di->dcerpc_procedure_name="winspool_AsyncDeletePerMachineConnection";
7803 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePerMachineConnection_pServer(tvb, offset, pinfo, tree, di, drep);
7804 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7805 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePerMachineConnection_pPrinterName(tvb, offset, pinfo, tree, di, drep);
7806 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7807 return offset;
7810 static int
7811 iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pServer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7813 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pServer_, NDR_POINTER_UNIQUE, "Pointer to PServer (uint16)",hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pServer);
7815 return offset;
7818 static int
7819 iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pServer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7821 char *data = NULL;
7822 struct ndr_generic_array nga = { .is_conformant = false, };
7824 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7826 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7827 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pServer, false, &nga, &data);
7828 proto_item_append_text(tree, ": %s", data);
7830 return offset;
7833 static int
7834 iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pPrinterEnum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7836 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pPrinterEnum_, NDR_POINTER_UNIQUE, "Pointer to PPrinterEnum (uint8)",hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pPrinterEnum);
7838 return offset;
7841 static int
7842 iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pPrinterEnum_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7844 struct ndr_generic_array nga = { .is_conformant = false, };
7846 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
7848 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pPrinterEnum__);
7850 return offset;
7853 static int
7854 iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pPrinterEnum__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7856 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pPrinterEnum, 0);
7858 return offset;
7861 static int
7862 iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7864 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_cbBuf, 0);
7866 return offset;
7869 static int
7870 iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pcbNeeded(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7872 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pcbNeeded_, NDR_POINTER_REF, "Pointer to PcbNeeded (uint32)",hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pcbNeeded);
7874 return offset;
7877 static int
7878 iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pcbNeeded_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7880 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pcbNeeded, 0);
7882 return offset;
7885 static int
7886 iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pcReturned(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7888 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pcReturned_, NDR_POINTER_REF, "Pointer to PcReturned (uint32)",hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pcReturned);
7890 return offset;
7893 static int
7894 iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pcReturned_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7896 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pcReturned, 0);
7898 return offset;
7901 /* IDL: WERROR winspool_AsyncEnumPerMachineConnections( */
7902 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pServer, */
7903 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pPrinterEnum, */
7904 /* IDL: [in] uint32 cbBuf, */
7905 /* IDL: [out] [ref] uint32 *pcbNeeded, */
7906 /* IDL: [out] [ref] uint32 *pcReturned */
7907 /* IDL: ); */
7909 static int
7910 iremotewinspool_dissect_winspool_AsyncEnumPerMachineConnections_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7912 uint32_t status;
7914 di->dcerpc_procedure_name="winspool_AsyncEnumPerMachineConnections";
7915 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pPrinterEnum(tvb, offset, pinfo, tree, di, drep);
7916 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7918 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
7919 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7921 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pcReturned(tvb, offset, pinfo, tree, di, drep);
7922 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7924 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
7926 if (status != 0)
7927 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
7929 return offset;
7932 static int
7933 iremotewinspool_dissect_winspool_AsyncEnumPerMachineConnections_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7935 di->dcerpc_procedure_name="winspool_AsyncEnumPerMachineConnections";
7936 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pServer(tvb, offset, pinfo, tree, di, drep);
7937 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7938 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pPrinterEnum(tvb, offset, pinfo, tree, di, drep);
7939 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7940 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_cbBuf(tvb, offset, pinfo, tree, di, drep);
7941 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7942 return offset;
7945 static int
7946 iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7948 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_hPrinter, 0);
7950 return offset;
7953 static int
7954 iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_pNotifyFilter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7956 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_pNotifyFilter_, NDR_POINTER_REF, "Pointer to PNotifyFilter (winspool_PrintPropertiesCollection)",hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_pNotifyFilter);
7958 return offset;
7961 static int
7962 iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_pNotifyFilter_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7964 offset = iremotewinspool_dissect_struct_winspool_PrintPropertiesCollection(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_pNotifyFilter,0);
7966 return offset;
7969 static int
7970 iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_phRpcHandle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7972 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_phRpcHandle_, NDR_POINTER_REF, "Pointer to PhRpcHandle (policy_handle)",hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_phRpcHandle);
7974 return offset;
7977 static int
7978 iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_phRpcHandle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7980 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_phRpcHandle, 0);
7982 return offset;
7985 /* IDL: HRESULT winspool_SyncRegisterForRemoteNotifications( */
7986 /* IDL: [in] policy_handle hPrinter, */
7987 /* IDL: [in] [ref] winspool_PrintPropertiesCollection *pNotifyFilter, */
7988 /* IDL: [out] [ref] policy_handle *phRpcHandle */
7989 /* IDL: ); */
7991 static int
7992 iremotewinspool_dissect_winspool_SyncRegisterForRemoteNotifications_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
7994 uint32_t status;
7996 di->dcerpc_procedure_name="winspool_SyncRegisterForRemoteNotifications";
7997 offset = iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_phRpcHandle(tvb, offset, pinfo, tree, di, drep);
7998 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8000 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status);
8002 if (status != 0)
8003 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x"));
8005 return offset;
8008 static int
8009 iremotewinspool_dissect_winspool_SyncRegisterForRemoteNotifications_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8011 di->dcerpc_procedure_name="winspool_SyncRegisterForRemoteNotifications";
8012 offset = iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_hPrinter(tvb, offset, pinfo, tree, di, drep);
8013 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8014 offset = iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_pNotifyFilter(tvb, offset, pinfo, tree, di, drep);
8015 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8016 return offset;
8019 static int
8020 iremotewinspool_dissect_element_winspool_SyncUnRegisterForRemoteNotifications_phRpcHandle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8022 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_SyncUnRegisterForRemoteNotifications_phRpcHandle_, NDR_POINTER_REF, "Pointer to PhRpcHandle (policy_handle)",hf_iremotewinspool_winspool_SyncUnRegisterForRemoteNotifications_phRpcHandle);
8024 return offset;
8027 static int
8028 iremotewinspool_dissect_element_winspool_SyncUnRegisterForRemoteNotifications_phRpcHandle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8030 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_SyncUnRegisterForRemoteNotifications_phRpcHandle, 0);
8032 return offset;
8035 /* IDL: HRESULT winspool_SyncUnRegisterForRemoteNotifications( */
8036 /* IDL: [in] [out] [ref] policy_handle *phRpcHandle */
8037 /* IDL: ); */
8039 static int
8040 iremotewinspool_dissect_winspool_SyncUnRegisterForRemoteNotifications_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8042 uint32_t status;
8044 di->dcerpc_procedure_name="winspool_SyncUnRegisterForRemoteNotifications";
8045 offset = iremotewinspool_dissect_element_winspool_SyncUnRegisterForRemoteNotifications_phRpcHandle(tvb, offset, pinfo, tree, di, drep);
8046 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8048 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status);
8050 if (status != 0)
8051 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x"));
8053 return offset;
8056 static int
8057 iremotewinspool_dissect_winspool_SyncUnRegisterForRemoteNotifications_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8059 di->dcerpc_procedure_name="winspool_SyncUnRegisterForRemoteNotifications";
8060 offset = iremotewinspool_dissect_element_winspool_SyncUnRegisterForRemoteNotifications_phRpcHandle(tvb, offset, pinfo, tree, di, drep);
8061 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8062 return offset;
8065 static int
8066 iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_hRpcHandle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8068 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_hRpcHandle, 0);
8070 return offset;
8073 static int
8074 iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_pNotifyFilter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8076 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_pNotifyFilter_, NDR_POINTER_REF, "Pointer to PNotifyFilter (winspool_PrintPropertiesCollection)",hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_pNotifyFilter);
8078 return offset;
8081 static int
8082 iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_pNotifyFilter_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8084 offset = iremotewinspool_dissect_struct_winspool_PrintPropertiesCollection(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_pNotifyFilter,0);
8086 return offset;
8089 static int
8090 iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_ppNotifyData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8092 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_ppNotifyData_, NDR_POINTER_REF, "Pointer to PpNotifyData (winspool_PrintPropertiesCollection)",hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_ppNotifyData);
8094 return offset;
8097 static int
8098 iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_ppNotifyData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8100 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_ppNotifyData__, NDR_POINTER_UNIQUE, "Pointer to PpNotifyData (winspool_PrintPropertiesCollection)",hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_ppNotifyData);
8102 return offset;
8105 static int
8106 iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_ppNotifyData__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8108 offset = iremotewinspool_dissect_struct_winspool_PrintPropertiesCollection(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_ppNotifyData,0);
8110 return offset;
8113 /* IDL: HRESULT winspool_SyncRefreshRemoteNotifications( */
8114 /* IDL: [in] policy_handle hRpcHandle, */
8115 /* IDL: [in] [ref] winspool_PrintPropertiesCollection *pNotifyFilter, */
8116 /* IDL: [out] [ref] winspool_PrintPropertiesCollection **ppNotifyData */
8117 /* IDL: ); */
8119 static int
8120 iremotewinspool_dissect_winspool_SyncRefreshRemoteNotifications_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8122 uint32_t status;
8124 di->dcerpc_procedure_name="winspool_SyncRefreshRemoteNotifications";
8125 offset = iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_ppNotifyData(tvb, offset, pinfo, tree, di, drep);
8126 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8128 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status);
8130 if (status != 0)
8131 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x"));
8133 return offset;
8136 static int
8137 iremotewinspool_dissect_winspool_SyncRefreshRemoteNotifications_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8139 di->dcerpc_procedure_name="winspool_SyncRefreshRemoteNotifications";
8140 offset = iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_hRpcHandle(tvb, offset, pinfo, tree, di, drep);
8141 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8142 offset = iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_pNotifyFilter(tvb, offset, pinfo, tree, di, drep);
8143 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8144 return offset;
8147 static int
8148 iremotewinspool_dissect_element_winspool_AsyncGetRemoteNotifications_hRpcHandle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8150 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetRemoteNotifications_hRpcHandle, 0);
8152 return offset;
8155 static int
8156 iremotewinspool_dissect_element_winspool_AsyncGetRemoteNotifications_ppNotifyData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8158 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetRemoteNotifications_ppNotifyData_, NDR_POINTER_REF, "Pointer to PpNotifyData (winspool_PrintPropertiesCollection)",hf_iremotewinspool_winspool_AsyncGetRemoteNotifications_ppNotifyData);
8160 return offset;
8163 static int
8164 iremotewinspool_dissect_element_winspool_AsyncGetRemoteNotifications_ppNotifyData_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8166 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetRemoteNotifications_ppNotifyData__, NDR_POINTER_UNIQUE, "Pointer to PpNotifyData (winspool_PrintPropertiesCollection)",hf_iremotewinspool_winspool_AsyncGetRemoteNotifications_ppNotifyData);
8168 return offset;
8171 static int
8172 iremotewinspool_dissect_element_winspool_AsyncGetRemoteNotifications_ppNotifyData__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8174 offset = iremotewinspool_dissect_struct_winspool_PrintPropertiesCollection(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_AsyncGetRemoteNotifications_ppNotifyData,0);
8176 return offset;
8179 /* IDL: HRESULT winspool_AsyncGetRemoteNotifications( */
8180 /* IDL: [in] policy_handle hRpcHandle, */
8181 /* IDL: [out] [ref] winspool_PrintPropertiesCollection **ppNotifyData */
8182 /* IDL: ); */
8184 static int
8185 iremotewinspool_dissect_winspool_AsyncGetRemoteNotifications_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8187 uint32_t status;
8189 di->dcerpc_procedure_name="winspool_AsyncGetRemoteNotifications";
8190 offset = iremotewinspool_dissect_element_winspool_AsyncGetRemoteNotifications_ppNotifyData(tvb, offset, pinfo, tree, di, drep);
8191 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8193 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status);
8195 if (status != 0)
8196 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x"));
8198 return offset;
8201 static int
8202 iremotewinspool_dissect_winspool_AsyncGetRemoteNotifications_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8204 di->dcerpc_procedure_name="winspool_AsyncGetRemoteNotifications";
8205 offset = iremotewinspool_dissect_element_winspool_AsyncGetRemoteNotifications_hRpcHandle(tvb, offset, pinfo, tree, di, drep);
8206 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8207 return offset;
8210 static int
8211 iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszServer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8213 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszServer_, NDR_POINTER_UNIQUE, "Pointer to PszServer (uint16)",hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszServer);
8215 return offset;
8218 static int
8219 iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszServer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8221 char *data = NULL;
8222 struct ndr_generic_array nga = { .is_conformant = false, };
8224 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8226 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8227 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszServer, false, &nga, &data);
8228 proto_item_append_text(tree, ": %s", data);
8230 return offset;
8233 static int
8234 iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszInfPath(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8236 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszInfPath_, NDR_POINTER_UNIQUE, "Pointer to PszInfPath (uint16)",hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszInfPath);
8238 return offset;
8241 static int
8242 iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszInfPath_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8244 char *data = NULL;
8245 struct ndr_generic_array nga = { .is_conformant = false, };
8247 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8249 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8250 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszInfPath, false, &nga, &data);
8251 proto_item_append_text(tree, ": %s", data);
8253 return offset;
8256 static int
8257 iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszDriverName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8259 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszDriverName_, NDR_POINTER_REF, "Pointer to PszDriverName (uint16)",hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszDriverName);
8261 return offset;
8264 static int
8265 iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszDriverName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8267 char *data = NULL;
8268 struct ndr_generic_array nga = { .is_conformant = false, };
8270 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8272 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8273 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszDriverName, false, &nga, &data);
8274 proto_item_append_text(tree, ": %s", data);
8276 return offset;
8279 static int
8280 iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8282 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszEnvironment_, NDR_POINTER_REF, "Pointer to PszEnvironment (uint16)",hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszEnvironment);
8284 return offset;
8287 static int
8288 iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8290 char *data = NULL;
8291 struct ndr_generic_array nga = { .is_conformant = false, };
8293 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8295 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8296 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszEnvironment, false, &nga, &data);
8297 proto_item_append_text(tree, ": %s", data);
8299 return offset;
8302 static int
8303 iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_dwFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8305 offset = iremotewinspool_dissect_bitmap_winspool_InstallPrinterDriverFromPackageFlags(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_dwFlags, 0);
8307 return offset;
8310 /* IDL: HRESULT winspool_AsyncInstallPrinterDriverFromPackage( */
8311 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pszServer, */
8312 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pszInfPath, */
8313 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszDriverName, */
8314 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszEnvironment, */
8315 /* IDL: [in] winspool_InstallPrinterDriverFromPackageFlags dwFlags */
8316 /* IDL: ); */
8318 static int
8319 iremotewinspool_dissect_winspool_AsyncInstallPrinterDriverFromPackage_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8321 uint32_t status;
8323 di->dcerpc_procedure_name="winspool_AsyncInstallPrinterDriverFromPackage";
8324 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status);
8326 if (status != 0)
8327 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x"));
8329 return offset;
8332 static int
8333 iremotewinspool_dissect_winspool_AsyncInstallPrinterDriverFromPackage_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8335 di->dcerpc_procedure_name="winspool_AsyncInstallPrinterDriverFromPackage";
8336 offset = iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszServer(tvb, offset, pinfo, tree, di, drep);
8337 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8338 offset = iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszInfPath(tvb, offset, pinfo, tree, di, drep);
8339 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8340 offset = iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszDriverName(tvb, offset, pinfo, tree, di, drep);
8341 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8342 offset = iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszEnvironment(tvb, offset, pinfo, tree, di, drep);
8343 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8344 offset = iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_dwFlags(tvb, offset, pinfo, tree, di, drep);
8345 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8346 return offset;
8349 static int
8350 iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszServer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8352 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszServer_, NDR_POINTER_UNIQUE, "Pointer to PszServer (uint16)",hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszServer);
8354 return offset;
8357 static int
8358 iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszServer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8360 char *data = NULL;
8361 struct ndr_generic_array nga = { .is_conformant = false, };
8363 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8365 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8366 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszServer, false, &nga, &data);
8367 proto_item_append_text(tree, ": %s", data);
8369 return offset;
8372 static int
8373 iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszInfPath(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8375 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszInfPath_, NDR_POINTER_REF, "Pointer to PszInfPath (uint16)",hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszInfPath);
8377 return offset;
8380 static int
8381 iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszInfPath_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8383 char *data = NULL;
8384 struct ndr_generic_array nga = { .is_conformant = false, };
8386 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8388 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8389 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszInfPath, false, &nga, &data);
8390 proto_item_append_text(tree, ": %s", data);
8392 return offset;
8395 static int
8396 iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8398 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszEnvironment_, NDR_POINTER_REF, "Pointer to PszEnvironment (uint16)",hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszEnvironment);
8400 return offset;
8403 static int
8404 iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8406 char *data = NULL;
8407 struct ndr_generic_array nga = { .is_conformant = false, };
8409 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8411 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8412 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszEnvironment, false, &nga, &data);
8413 proto_item_append_text(tree, ": %s", data);
8415 return offset;
8418 static int
8419 iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_dwFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8421 offset = iremotewinspool_dissect_bitmap_winspool_UploadPrinterDriverPackageFlags(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_dwFlags, 0);
8423 return offset;
8426 static int
8427 iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8429 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath_, NDR_POINTER_UNIQUE, "Pointer to PszDestInfPath (uint16)",hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath);
8431 return offset;
8434 static int
8435 iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8437 struct ndr_generic_array nga = { .is_conformant = false, };
8439 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8441 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath__);
8443 return offset;
8446 static int
8447 iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8449 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath, 0);
8451 return offset;
8454 static int
8455 iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pcchDestInfPath(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8457 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pcchDestInfPath_, NDR_POINTER_REF, "Pointer to PcchDestInfPath (uint32)",hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pcchDestInfPath);
8459 return offset;
8462 static int
8463 iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pcchDestInfPath_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8465 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pcchDestInfPath, 0);
8467 return offset;
8470 /* IDL: HRESULT winspool_AsyncUploadPrinterDriverPackage( */
8471 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pszServer, */
8472 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszInfPath, */
8473 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszEnvironment, */
8474 /* IDL: [in] winspool_UploadPrinterDriverPackageFlags dwFlags, */
8475 /* IDL: [charset(UTF16)] [in] [out] [size_is(*pcchDestInfPath)] [unique(1)] uint16 *pszDestInfPath, */
8476 /* IDL: [in] [out] [ref] uint32 *pcchDestInfPath */
8477 /* IDL: ); */
8479 static int
8480 iremotewinspool_dissect_winspool_AsyncUploadPrinterDriverPackage_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8482 uint32_t status;
8484 di->dcerpc_procedure_name="winspool_AsyncUploadPrinterDriverPackage";
8485 offset = iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath(tvb, offset, pinfo, tree, di, drep);
8486 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8488 offset = iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pcchDestInfPath(tvb, offset, pinfo, tree, di, drep);
8489 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8491 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status);
8493 if (status != 0)
8494 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x"));
8496 return offset;
8499 static int
8500 iremotewinspool_dissect_winspool_AsyncUploadPrinterDriverPackage_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8502 di->dcerpc_procedure_name="winspool_AsyncUploadPrinterDriverPackage";
8503 offset = iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszServer(tvb, offset, pinfo, tree, di, drep);
8504 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8505 offset = iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszInfPath(tvb, offset, pinfo, tree, di, drep);
8506 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8507 offset = iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszEnvironment(tvb, offset, pinfo, tree, di, drep);
8508 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8509 offset = iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_dwFlags(tvb, offset, pinfo, tree, di, drep);
8510 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8511 offset = iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath(tvb, offset, pinfo, tree, di, drep);
8512 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8513 offset = iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pcchDestInfPath(tvb, offset, pinfo, tree, di, drep);
8514 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8515 return offset;
8518 static int
8519 iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszServer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8521 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszServer_, NDR_POINTER_UNIQUE, "Pointer to PszServer (uint16)",hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszServer);
8523 return offset;
8526 static int
8527 iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszServer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8529 char *data = NULL;
8530 struct ndr_generic_array nga = { .is_conformant = false, };
8532 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8534 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8535 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszServer, false, &nga, &data);
8536 proto_item_append_text(tree, ": %s", data);
8538 return offset;
8541 static int
8542 iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8544 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszEnvironment_, NDR_POINTER_REF, "Pointer to PszEnvironment (uint16)",hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszEnvironment);
8546 return offset;
8549 static int
8550 iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8552 char *data = NULL;
8553 struct ndr_generic_array nga = { .is_conformant = false, };
8555 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8557 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8558 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszEnvironment, false, &nga, &data);
8559 proto_item_append_text(tree, ": %s", data);
8561 return offset;
8564 static int
8565 iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_cchCoreDrivers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8567 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_cchCoreDrivers, 0);
8569 return offset;
8572 static int
8573 iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8575 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies_, NDR_POINTER_REF, "Pointer to PszzCoreDriverDependencies (uint16)",hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies);
8577 return offset;
8580 static int
8581 iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8583 struct ndr_generic_array nga = { .is_conformant = false, };
8585 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8587 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies__);
8589 return offset;
8592 static int
8593 iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8595 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies, 0);
8597 return offset;
8600 static int
8601 iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_cCorePrinterDrivers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8603 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_cCorePrinterDrivers, 0);
8605 return offset;
8608 static int
8609 iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pCorePrinterDrivers(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8611 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pCorePrinterDrivers_, NDR_POINTER_REF, "Pointer to PCorePrinterDrivers (spoolss_CorePrinterDriver)",hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pCorePrinterDrivers);
8613 return offset;
8616 static int
8617 iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pCorePrinterDrivers_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8619 struct ndr_generic_array nga = { .is_conformant = false, };
8621 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8623 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pCorePrinterDrivers__);
8625 return offset;
8628 static int
8629 iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pCorePrinterDrivers__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8631 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
8633 return offset;
8636 /* IDL: HRESULT winspool_AsyncGetCorePrinterDrivers( */
8637 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pszServer, */
8638 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszEnvironment, */
8639 /* IDL: [in] uint32 cchCoreDrivers, */
8640 /* IDL: [in] [ref] [size_is(cchCoreDrivers)] uint16 *pszzCoreDriverDependencies, */
8641 /* IDL: [in] uint32 cCorePrinterDrivers, */
8642 /* IDL: [out] [ref] [size_is(cCorePrinterDrivers)] spoolss_CorePrinterDriver *pCorePrinterDrivers */
8643 /* IDL: ); */
8645 static int
8646 iremotewinspool_dissect_winspool_AsyncGetCorePrinterDrivers_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8648 uint32_t status;
8650 di->dcerpc_procedure_name="winspool_AsyncGetCorePrinterDrivers";
8651 offset = iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pCorePrinterDrivers(tvb, offset, pinfo, tree, di, drep);
8652 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8654 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status);
8656 if (status != 0)
8657 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x"));
8659 return offset;
8662 static int
8663 iremotewinspool_dissect_winspool_AsyncGetCorePrinterDrivers_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8665 di->dcerpc_procedure_name="winspool_AsyncGetCorePrinterDrivers";
8666 offset = iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszServer(tvb, offset, pinfo, tree, di, drep);
8667 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8668 offset = iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszEnvironment(tvb, offset, pinfo, tree, di, drep);
8669 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8670 offset = iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_cchCoreDrivers(tvb, offset, pinfo, tree, di, drep);
8671 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8672 offset = iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies(tvb, offset, pinfo, tree, di, drep);
8673 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8674 offset = iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_cCorePrinterDrivers(tvb, offset, pinfo, tree, di, drep);
8675 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8676 return offset;
8679 static int
8680 iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pszServer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8682 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pszServer_, NDR_POINTER_UNIQUE, "Pointer to PszServer (uint16)",hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pszServer);
8684 return offset;
8687 static int
8688 iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pszServer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8690 char *data = NULL;
8691 struct ndr_generic_array nga = { .is_conformant = false, };
8693 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8695 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8696 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pszServer, false, &nga, &data);
8697 proto_item_append_text(tree, ": %s", data);
8699 return offset;
8702 static int
8703 iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pszEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8705 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pszEnvironment_, NDR_POINTER_REF, "Pointer to PszEnvironment (uint16)",hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pszEnvironment);
8707 return offset;
8710 static int
8711 iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pszEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8713 char *data = NULL;
8714 struct ndr_generic_array nga = { .is_conformant = false, };
8716 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8718 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8719 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pszEnvironment, false, &nga, &data);
8720 proto_item_append_text(tree, ": %s", data);
8722 return offset;
8725 static int
8726 iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_CoreDriverGUID(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8728 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_CoreDriverGUID, NULL);
8730 return offset;
8733 static int
8734 iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_ftDriverDate(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8736 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_ftDriverDate);
8738 return offset;
8741 static int
8742 iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_dwlDriverVersion(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8744 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_dwlDriverVersion, NULL);
8746 return offset;
8749 static int
8750 iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pbDriverInstalled(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8752 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pbDriverInstalled_, NDR_POINTER_REF, "Pointer to PbDriverInstalled (int32)",hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pbDriverInstalled);
8754 return offset;
8757 static int
8758 iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pbDriverInstalled_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8760 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pbDriverInstalled, 0);
8762 return offset;
8765 /* IDL: HRESULT winspool_AsyncCorePrinterDriverInstalled( */
8766 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pszServer, */
8767 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszEnvironment, */
8768 /* IDL: [in] GUID CoreDriverGUID, */
8769 /* IDL: [in] NTTIME ftDriverDate, */
8770 /* IDL: [in] hyper dwlDriverVersion, */
8771 /* IDL: [out] [ref] int32 *pbDriverInstalled */
8772 /* IDL: ); */
8774 static int
8775 iremotewinspool_dissect_winspool_AsyncCorePrinterDriverInstalled_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8777 uint32_t status;
8779 di->dcerpc_procedure_name="winspool_AsyncCorePrinterDriverInstalled";
8780 offset = iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pbDriverInstalled(tvb, offset, pinfo, tree, di, drep);
8781 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8783 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status);
8785 if (status != 0)
8786 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x"));
8788 return offset;
8791 static int
8792 iremotewinspool_dissect_winspool_AsyncCorePrinterDriverInstalled_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8794 di->dcerpc_procedure_name="winspool_AsyncCorePrinterDriverInstalled";
8795 offset = iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pszServer(tvb, offset, pinfo, tree, di, drep);
8796 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8797 offset = iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pszEnvironment(tvb, offset, pinfo, tree, di, drep);
8798 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8799 offset = iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_CoreDriverGUID(tvb, offset, pinfo, tree, di, drep);
8800 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8801 offset = iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_ftDriverDate(tvb, offset, pinfo, tree, di, drep);
8802 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8803 offset = iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_dwlDriverVersion(tvb, offset, pinfo, tree, di, drep);
8804 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8805 return offset;
8808 static int
8809 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszServer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8811 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszServer_, NDR_POINTER_UNIQUE, "Pointer to PszServer (uint16)",hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszServer);
8813 return offset;
8816 static int
8817 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszServer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8819 char *data = NULL;
8820 struct ndr_generic_array nga = { .is_conformant = false, };
8822 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8824 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8825 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszServer, false, &nga, &data);
8826 proto_item_append_text(tree, ": %s", data);
8828 return offset;
8831 static int
8832 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8834 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszEnvironment_, NDR_POINTER_REF, "Pointer to PszEnvironment (uint16)",hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszEnvironment);
8836 return offset;
8839 static int
8840 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8842 char *data = NULL;
8843 struct ndr_generic_array nga = { .is_conformant = false, };
8845 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8847 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8848 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszEnvironment, false, &nga, &data);
8849 proto_item_append_text(tree, ": %s", data);
8851 return offset;
8854 static int
8855 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszLanguage(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8857 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszLanguage_, NDR_POINTER_UNIQUE, "Pointer to PszLanguage (uint16)",hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszLanguage);
8859 return offset;
8862 static int
8863 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszLanguage_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8865 char *data = NULL;
8866 struct ndr_generic_array nga = { .is_conformant = false, };
8868 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8870 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8871 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszLanguage, false, &nga, &data);
8872 proto_item_append_text(tree, ": %s", data);
8874 return offset;
8877 static int
8878 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszPackageID(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8880 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszPackageID_, NDR_POINTER_REF, "Pointer to PszPackageID (uint16)",hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszPackageID);
8882 return offset;
8885 static int
8886 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszPackageID_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8888 char *data = NULL;
8889 struct ndr_generic_array nga = { .is_conformant = false, };
8891 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8893 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8894 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszPackageID, false, &nga, &data);
8895 proto_item_append_text(tree, ": %s", data);
8897 return offset;
8900 static int
8901 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8903 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab_, NDR_POINTER_UNIQUE, "Pointer to PszDriverPackageCab (uint16)",hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab);
8905 return offset;
8908 static int
8909 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8911 struct ndr_generic_array nga = { .is_conformant = false, };
8913 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
8915 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab__);
8917 return offset;
8920 static int
8921 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8923 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab, 0);
8925 return offset;
8928 static int
8929 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_cchDriverPackageCab(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8931 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_cchDriverPackageCab, 0);
8933 return offset;
8936 static int
8937 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pcchRequiredSize(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8939 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pcchRequiredSize_, NDR_POINTER_REF, "Pointer to PcchRequiredSize (uint32)",hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pcchRequiredSize);
8941 return offset;
8944 static int
8945 iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pcchRequiredSize_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8947 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pcchRequiredSize, 0);
8949 return offset;
8952 /* IDL: HRESULT winspool_AsyncGetPrinterDriverPackagePath( */
8953 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pszServer, */
8954 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszEnvironment, */
8955 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pszLanguage, */
8956 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszPackageID, */
8957 /* IDL: [in] [out] [size_is(cchDriverPackageCab)] [unique(1)] uint16 *pszDriverPackageCab, */
8958 /* IDL: [in] uint32 cchDriverPackageCab, */
8959 /* IDL: [out] [ref] uint32 *pcchRequiredSize */
8960 /* IDL: ); */
8962 static int
8963 iremotewinspool_dissect_winspool_AsyncGetPrinterDriverPackagePath_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8965 uint32_t status;
8967 di->dcerpc_procedure_name="winspool_AsyncGetPrinterDriverPackagePath";
8968 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab(tvb, offset, pinfo, tree, di, drep);
8969 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8971 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pcchRequiredSize(tvb, offset, pinfo, tree, di, drep);
8972 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8974 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status);
8976 if (status != 0)
8977 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x"));
8979 return offset;
8982 static int
8983 iremotewinspool_dissect_winspool_AsyncGetPrinterDriverPackagePath_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
8985 di->dcerpc_procedure_name="winspool_AsyncGetPrinterDriverPackagePath";
8986 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszServer(tvb, offset, pinfo, tree, di, drep);
8987 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8988 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszEnvironment(tvb, offset, pinfo, tree, di, drep);
8989 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8990 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszLanguage(tvb, offset, pinfo, tree, di, drep);
8991 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8992 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszPackageID(tvb, offset, pinfo, tree, di, drep);
8993 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8994 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab(tvb, offset, pinfo, tree, di, drep);
8995 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8996 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_cchDriverPackageCab(tvb, offset, pinfo, tree, di, drep);
8997 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8998 return offset;
9001 static int
9002 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszServer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9004 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszServer_, NDR_POINTER_UNIQUE, "Pointer to PszServer (uint16)",hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszServer);
9006 return offset;
9009 static int
9010 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszServer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9012 char *data = NULL;
9013 struct ndr_generic_array nga = { .is_conformant = false, };
9015 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
9017 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
9018 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszServer, false, &nga, &data);
9019 proto_item_append_text(tree, ": %s", data);
9021 return offset;
9024 static int
9025 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszInfPath(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9027 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszInfPath_, NDR_POINTER_REF, "Pointer to PszInfPath (uint16)",hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszInfPath);
9029 return offset;
9032 static int
9033 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszInfPath_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9035 char *data = NULL;
9036 struct ndr_generic_array nga = { .is_conformant = false, };
9038 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
9040 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
9041 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszInfPath, false, &nga, &data);
9042 proto_item_append_text(tree, ": %s", data);
9044 return offset;
9047 static int
9048 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszEnvironment(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9050 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszEnvironment_, NDR_POINTER_REF, "Pointer to PszEnvironment (uint16)",hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszEnvironment);
9052 return offset;
9055 static int
9056 iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszEnvironment_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9058 char *data = NULL;
9059 struct ndr_generic_array nga = { .is_conformant = false, };
9061 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
9063 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
9064 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszEnvironment, false, &nga, &data);
9065 proto_item_append_text(tree, ": %s", data);
9067 return offset;
9070 /* IDL: HRESULT winspool_AsyncDeletePrinterDriverPackage( */
9071 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pszServer, */
9072 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszInfPath, */
9073 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszEnvironment */
9074 /* IDL: ); */
9076 static int
9077 iremotewinspool_dissect_winspool_AsyncDeletePrinterDriverPackage_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9079 uint32_t status;
9081 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDriverPackage";
9082 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status);
9084 if (status != 0)
9085 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x"));
9087 return offset;
9090 static int
9091 iremotewinspool_dissect_winspool_AsyncDeletePrinterDriverPackage_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9093 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDriverPackage";
9094 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszServer(tvb, offset, pinfo, tree, di, drep);
9095 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9096 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszInfPath(tvb, offset, pinfo, tree, di, drep);
9097 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9098 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszEnvironment(tvb, offset, pinfo, tree, di, drep);
9099 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9100 return offset;
9103 static int
9104 iremotewinspool_dissect_element_winspool_AsyncReadPrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9106 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncReadPrinter_hPrinter, 0);
9108 return offset;
9111 static int
9112 iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9114 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pBuf_, NDR_POINTER_REF, "Pointer to PBuf (uint8)",hf_iremotewinspool_winspool_AsyncReadPrinter_pBuf);
9116 return offset;
9119 static int
9120 iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pBuf_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9122 struct ndr_generic_array nga = { .is_conformant = false, };
9124 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
9126 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pBuf__);
9128 return offset;
9131 static int
9132 iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pBuf__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9134 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncReadPrinter_pBuf, 0);
9136 return offset;
9139 static int
9140 iremotewinspool_dissect_element_winspool_AsyncReadPrinter_cbBuf(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9142 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncReadPrinter_cbBuf, 0);
9144 return offset;
9147 static int
9148 iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pcNoBytesRead(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9150 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pcNoBytesRead_, NDR_POINTER_REF, "Pointer to PcNoBytesRead (uint32)",hf_iremotewinspool_winspool_AsyncReadPrinter_pcNoBytesRead);
9152 return offset;
9155 static int
9156 iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pcNoBytesRead_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9158 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncReadPrinter_pcNoBytesRead, 0);
9160 return offset;
9163 /* IDL: WERROR winspool_AsyncReadPrinter( */
9164 /* IDL: [in] policy_handle hPrinter, */
9165 /* IDL: [out] [ref] [size_is(cbBuf)] uint8 *pBuf, */
9166 /* IDL: [in] uint32 cbBuf, */
9167 /* IDL: [out] [ref] uint32 *pcNoBytesRead */
9168 /* IDL: ); */
9170 static int
9171 iremotewinspool_dissect_winspool_AsyncReadPrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9173 uint32_t status;
9175 di->dcerpc_procedure_name="winspool_AsyncReadPrinter";
9176 offset = iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pBuf(tvb, offset, pinfo, tree, di, drep);
9177 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9179 offset = iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pcNoBytesRead(tvb, offset, pinfo, tree, di, drep);
9180 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9182 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
9184 if (status != 0)
9185 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
9187 return offset;
9190 static int
9191 iremotewinspool_dissect_winspool_AsyncReadPrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9193 di->dcerpc_procedure_name="winspool_AsyncReadPrinter";
9194 offset = iremotewinspool_dissect_element_winspool_AsyncReadPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
9195 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9196 offset = iremotewinspool_dissect_element_winspool_AsyncReadPrinter_cbBuf(tvb, offset, pinfo, tree, di, drep);
9197 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9198 return offset;
9201 static int
9202 iremotewinspool_dissect_element_winspool_AsyncResetPrinter_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9204 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncResetPrinter_hPrinter, 0);
9206 return offset;
9209 static int
9210 iremotewinspool_dissect_element_winspool_AsyncResetPrinter_pDatatype(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9212 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncResetPrinter_pDatatype_, NDR_POINTER_UNIQUE, "Pointer to PDatatype (uint16)",hf_iremotewinspool_winspool_AsyncResetPrinter_pDatatype);
9214 return offset;
9217 static int
9218 iremotewinspool_dissect_element_winspool_AsyncResetPrinter_pDatatype_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9220 char *data = NULL;
9221 struct ndr_generic_array nga = { .is_conformant = false, };
9223 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
9225 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
9226 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncResetPrinter_pDatatype, false, &nga, &data);
9227 proto_item_append_text(tree, ": %s", data);
9229 return offset;
9232 static int
9233 iremotewinspool_dissect_element_winspool_AsyncResetPrinter_pDevModeContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9235 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncResetPrinter_pDevModeContainer_, NDR_POINTER_REF, "Pointer to PDevModeContainer (spoolss_DevmodeContainer)",hf_iremotewinspool_winspool_AsyncResetPrinter_pDevModeContainer);
9237 return offset;
9240 static int
9241 iremotewinspool_dissect_element_winspool_AsyncResetPrinter_pDevModeContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9243 offset = dissect_DEVMODE_CTR(tvb, offset, pinfo, tree, di, drep);
9245 return offset;
9248 /* IDL: WERROR winspool_AsyncResetPrinter( */
9249 /* IDL: [in] policy_handle hPrinter, */
9250 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pDatatype, */
9251 /* IDL: [in] [ref] spoolss_DevmodeContainer *pDevModeContainer */
9252 /* IDL: ); */
9254 static int
9255 iremotewinspool_dissect_winspool_AsyncResetPrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9257 uint32_t status;
9259 di->dcerpc_procedure_name="winspool_AsyncResetPrinter";
9260 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
9262 if (status != 0)
9263 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
9265 return offset;
9268 static int
9269 iremotewinspool_dissect_winspool_AsyncResetPrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9271 di->dcerpc_procedure_name="winspool_AsyncResetPrinter";
9272 offset = iremotewinspool_dissect_element_winspool_AsyncResetPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
9273 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9274 offset = iremotewinspool_dissect_element_winspool_AsyncResetPrinter_pDatatype(tvb, offset, pinfo, tree, di, drep);
9275 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9276 offset = iremotewinspool_dissect_element_winspool_AsyncResetPrinter_pDevModeContainer(tvb, offset, pinfo, tree, di, drep);
9277 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9278 return offset;
9281 static int
9282 iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9284 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_hPrinter, 0);
9286 return offset;
9289 static int
9290 iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_JobId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9292 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_JobId, 0);
9294 return offset;
9297 static int
9298 iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_pszName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9300 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_pszName_, NDR_POINTER_REF, "Pointer to PszName (uint16)",hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_pszName);
9302 return offset;
9305 static int
9306 iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_pszName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9308 char *data = NULL;
9309 struct ndr_generic_array nga = { .is_conformant = false, };
9311 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
9313 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
9314 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_pszName, false, &nga, &data);
9315 proto_item_append_text(tree, ": %s", data);
9317 return offset;
9320 static int
9321 iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_pValue(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9323 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_pValue_, NDR_POINTER_REF, "Pointer to PValue (spoolss_PrintPropertyValue)",hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_pValue);
9325 return offset;
9328 static int
9329 iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_pValue_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9331 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
9333 return offset;
9336 /* IDL: WERROR winspool_AsyncGetJobNamedPropertyValue( */
9337 /* IDL: [in] policy_handle hPrinter, */
9338 /* IDL: [in] uint32 JobId, */
9339 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszName, */
9340 /* IDL: [out] [ref] spoolss_PrintPropertyValue *pValue */
9341 /* IDL: ); */
9343 static int
9344 iremotewinspool_dissect_winspool_AsyncGetJobNamedPropertyValue_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9346 uint32_t status;
9348 di->dcerpc_procedure_name="winspool_AsyncGetJobNamedPropertyValue";
9349 offset = iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_pValue(tvb, offset, pinfo, tree, di, drep);
9350 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9352 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
9354 if (status != 0)
9355 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
9357 return offset;
9360 static int
9361 iremotewinspool_dissect_winspool_AsyncGetJobNamedPropertyValue_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9363 di->dcerpc_procedure_name="winspool_AsyncGetJobNamedPropertyValue";
9364 offset = iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_hPrinter(tvb, offset, pinfo, tree, di, drep);
9365 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9366 offset = iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_JobId(tvb, offset, pinfo, tree, di, drep);
9367 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9368 offset = iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_pszName(tvb, offset, pinfo, tree, di, drep);
9369 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9370 return offset;
9373 static int
9374 iremotewinspool_dissect_element_winspool_AsyncSetJobNamedProperty_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9376 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_hPrinter, 0);
9378 return offset;
9381 static int
9382 iremotewinspool_dissect_element_winspool_AsyncSetJobNamedProperty_JobId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9384 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_JobId, 0);
9386 return offset;
9389 static int
9390 iremotewinspool_dissect_element_winspool_AsyncSetJobNamedProperty_pProperty(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9392 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSetJobNamedProperty_pProperty_, NDR_POINTER_REF, "Pointer to PProperty (spoolss_PrintNamedProperty)",hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_pProperty);
9394 return offset;
9397 static int
9398 iremotewinspool_dissect_element_winspool_AsyncSetJobNamedProperty_pProperty_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9400 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
9402 return offset;
9405 /* IDL: WERROR winspool_AsyncSetJobNamedProperty( */
9406 /* IDL: [in] policy_handle hPrinter, */
9407 /* IDL: [in] uint32 JobId, */
9408 /* IDL: [in] [ref] spoolss_PrintNamedProperty *pProperty */
9409 /* IDL: ); */
9411 static int
9412 iremotewinspool_dissect_winspool_AsyncSetJobNamedProperty_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9414 uint32_t status;
9416 di->dcerpc_procedure_name="winspool_AsyncSetJobNamedProperty";
9417 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
9419 if (status != 0)
9420 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
9422 return offset;
9425 static int
9426 iremotewinspool_dissect_winspool_AsyncSetJobNamedProperty_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9428 di->dcerpc_procedure_name="winspool_AsyncSetJobNamedProperty";
9429 offset = iremotewinspool_dissect_element_winspool_AsyncSetJobNamedProperty_hPrinter(tvb, offset, pinfo, tree, di, drep);
9430 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9431 offset = iremotewinspool_dissect_element_winspool_AsyncSetJobNamedProperty_JobId(tvb, offset, pinfo, tree, di, drep);
9432 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9433 offset = iremotewinspool_dissect_element_winspool_AsyncSetJobNamedProperty_pProperty(tvb, offset, pinfo, tree, di, drep);
9434 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9435 return offset;
9438 static int
9439 iremotewinspool_dissect_element_winspool_AsyncDeleteJobNamedProperty_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9441 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_hPrinter, 0);
9443 return offset;
9446 static int
9447 iremotewinspool_dissect_element_winspool_AsyncDeleteJobNamedProperty_JobId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9449 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_JobId, 0);
9451 return offset;
9454 static int
9455 iremotewinspool_dissect_element_winspool_AsyncDeleteJobNamedProperty_pszName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9457 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncDeleteJobNamedProperty_pszName_, NDR_POINTER_REF, "Pointer to PszName (uint16)",hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_pszName);
9459 return offset;
9462 static int
9463 iremotewinspool_dissect_element_winspool_AsyncDeleteJobNamedProperty_pszName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9465 char *data = NULL;
9466 struct ndr_generic_array nga = { .is_conformant = false, };
9468 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
9470 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
9471 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_pszName, false, &nga, &data);
9472 proto_item_append_text(tree, ": %s", data);
9474 return offset;
9477 /* IDL: WERROR winspool_AsyncDeleteJobNamedProperty( */
9478 /* IDL: [in] policy_handle hPrinter, */
9479 /* IDL: [in] uint32 JobId, */
9480 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszName */
9481 /* IDL: ); */
9483 static int
9484 iremotewinspool_dissect_winspool_AsyncDeleteJobNamedProperty_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9486 uint32_t status;
9488 di->dcerpc_procedure_name="winspool_AsyncDeleteJobNamedProperty";
9489 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
9491 if (status != 0)
9492 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
9494 return offset;
9497 static int
9498 iremotewinspool_dissect_winspool_AsyncDeleteJobNamedProperty_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9500 di->dcerpc_procedure_name="winspool_AsyncDeleteJobNamedProperty";
9501 offset = iremotewinspool_dissect_element_winspool_AsyncDeleteJobNamedProperty_hPrinter(tvb, offset, pinfo, tree, di, drep);
9502 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9503 offset = iremotewinspool_dissect_element_winspool_AsyncDeleteJobNamedProperty_JobId(tvb, offset, pinfo, tree, di, drep);
9504 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9505 offset = iremotewinspool_dissect_element_winspool_AsyncDeleteJobNamedProperty_pszName(tvb, offset, pinfo, tree, di, drep);
9506 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9507 return offset;
9510 static int
9511 iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9513 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_hPrinter, 0);
9515 return offset;
9518 static int
9519 iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_JobId(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9521 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_JobId, 0);
9523 return offset;
9526 static int
9527 iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_pcProperties(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9529 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_pcProperties_, NDR_POINTER_REF, "Pointer to PcProperties (uint32)",hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_pcProperties);
9531 return offset;
9534 static int
9535 iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_pcProperties_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9537 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_pcProperties, 0);
9539 return offset;
9542 static int
9543 iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_ppProperties(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9545 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_ppProperties_, NDR_POINTER_REF, "Pointer to PpProperties (spoolss_PrintNamedProperty)",hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_ppProperties);
9547 return offset;
9550 static int
9551 iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_ppProperties_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9553 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_ppProperties__, NDR_POINTER_UNIQUE, "Pointer to PpProperties (spoolss_PrintNamedProperty)",hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_ppProperties);
9555 return offset;
9558 static int
9559 iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_ppProperties__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9561 struct ndr_generic_array nga = { .is_conformant = false, };
9563 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
9565 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_ppProperties___);
9567 return offset;
9570 static int
9571 iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_ppProperties___(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9573 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
9575 return offset;
9578 /* IDL: WERROR winspool_AsyncEnumJobNamedProperties( */
9579 /* IDL: [in] policy_handle hPrinter, */
9580 /* IDL: [in] uint32 JobId, */
9581 /* IDL: [out] [ref] uint32 *pcProperties, */
9582 /* IDL: [out] [ref] [size_is(,*pcProperties)] spoolss_PrintNamedProperty **ppProperties */
9583 /* IDL: ); */
9585 static int
9586 iremotewinspool_dissect_winspool_AsyncEnumJobNamedProperties_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9588 uint32_t status;
9590 di->dcerpc_procedure_name="winspool_AsyncEnumJobNamedProperties";
9591 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_pcProperties(tvb, offset, pinfo, tree, di, drep);
9592 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9594 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_ppProperties(tvb, offset, pinfo, tree, di, drep);
9595 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9597 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
9599 if (status != 0)
9600 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
9602 return offset;
9605 static int
9606 iremotewinspool_dissect_winspool_AsyncEnumJobNamedProperties_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9608 di->dcerpc_procedure_name="winspool_AsyncEnumJobNamedProperties";
9609 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_hPrinter(tvb, offset, pinfo, tree, di, drep);
9610 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9611 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_JobId(tvb, offset, pinfo, tree, di, drep);
9612 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9613 return offset;
9616 static int
9617 iremotewinspool_dissect_element_winspool_AsyncLogJobInfoForBranchOffice_hPrinter(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9619 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncLogJobInfoForBranchOffice_hPrinter, 0);
9621 return offset;
9624 static int
9625 iremotewinspool_dissect_element_winspool_AsyncLogJobInfoForBranchOffice_pBranchOfficeJobDataContainer(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9627 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncLogJobInfoForBranchOffice_pBranchOfficeJobDataContainer_, NDR_POINTER_REF, "Pointer to PBranchOfficeJobDataContainer (spoolss_BranchOfficeJobDataContainer)",hf_iremotewinspool_winspool_AsyncLogJobInfoForBranchOffice_pBranchOfficeJobDataContainer);
9629 return offset;
9632 static int
9633 iremotewinspool_dissect_element_winspool_AsyncLogJobInfoForBranchOffice_pBranchOfficeJobDataContainer_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9635 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
9637 return offset;
9640 /* IDL: WERROR winspool_AsyncLogJobInfoForBranchOffice( */
9641 /* IDL: [in] policy_handle hPrinter, */
9642 /* IDL: [in] [ref] spoolss_BranchOfficeJobDataContainer *pBranchOfficeJobDataContainer */
9643 /* IDL: ); */
9645 static int
9646 iremotewinspool_dissect_winspool_AsyncLogJobInfoForBranchOffice_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9648 uint32_t status;
9650 di->dcerpc_procedure_name="winspool_AsyncLogJobInfoForBranchOffice";
9651 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
9653 if (status != 0)
9654 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
9656 return offset;
9659 static int
9660 iremotewinspool_dissect_winspool_AsyncLogJobInfoForBranchOffice_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
9662 di->dcerpc_procedure_name="winspool_AsyncLogJobInfoForBranchOffice";
9663 offset = iremotewinspool_dissect_element_winspool_AsyncLogJobInfoForBranchOffice_hPrinter(tvb, offset, pinfo, tree, di, drep);
9664 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9665 offset = iremotewinspool_dissect_element_winspool_AsyncLogJobInfoForBranchOffice_pBranchOfficeJobDataContainer(tvb, offset, pinfo, tree, di, drep);
9666 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9667 return offset;
9671 static const dcerpc_sub_dissector iremotewinspool_dissectors[] = {
9672 { 0, "winspool_AsyncOpenPrinter",
9673 iremotewinspool_dissect_winspool_AsyncOpenPrinter_request, iremotewinspool_dissect_winspool_AsyncOpenPrinter_response},
9674 { 1, "winspool_AsyncAddPrinter",
9675 iremotewinspool_dissect_winspool_AsyncAddPrinter_request, iremotewinspool_dissect_winspool_AsyncAddPrinter_response},
9676 { 2, "winspool_AsyncSetJob",
9677 iremotewinspool_dissect_winspool_AsyncSetJob_request, iremotewinspool_dissect_winspool_AsyncSetJob_response},
9678 { 3, "winspool_AsyncGetJob",
9679 iremotewinspool_dissect_winspool_AsyncGetJob_request, iremotewinspool_dissect_winspool_AsyncGetJob_response},
9680 { 4, "winspool_AsyncEnumJobs",
9681 iremotewinspool_dissect_winspool_AsyncEnumJobs_request, iremotewinspool_dissect_winspool_AsyncEnumJobs_response},
9682 { 5, "winspool_AsyncAddJob",
9683 iremotewinspool_dissect_winspool_AsyncAddJob_request, iremotewinspool_dissect_winspool_AsyncAddJob_response},
9684 { 6, "winspool_AsyncScheduleJob",
9685 iremotewinspool_dissect_winspool_AsyncScheduleJob_request, iremotewinspool_dissect_winspool_AsyncScheduleJob_response},
9686 { 7, "winspool_AsyncDeletePrinter",
9687 iremotewinspool_dissect_winspool_AsyncDeletePrinter_request, iremotewinspool_dissect_winspool_AsyncDeletePrinter_response},
9688 { 8, "winspool_AsyncSetPrinter",
9689 iremotewinspool_dissect_winspool_AsyncSetPrinter_request, iremotewinspool_dissect_winspool_AsyncSetPrinter_response},
9690 { 9, "winspool_AsyncGetPrinter",
9691 iremotewinspool_dissect_winspool_AsyncGetPrinter_request, iremotewinspool_dissect_winspool_AsyncGetPrinter_response},
9692 { 10, "winspool_AsyncStartDocPrinter",
9693 iremotewinspool_dissect_winspool_AsyncStartDocPrinter_request, iremotewinspool_dissect_winspool_AsyncStartDocPrinter_response},
9694 { 11, "winspool_AsyncStartPagePrinter",
9695 iremotewinspool_dissect_winspool_AsyncStartPagePrinter_request, iremotewinspool_dissect_winspool_AsyncStartPagePrinter_response},
9696 { 12, "winspool_AsyncWritePrinter",
9697 iremotewinspool_dissect_winspool_AsyncWritePrinter_request, iremotewinspool_dissect_winspool_AsyncWritePrinter_response},
9698 { 13, "winspool_AsyncEndPagePrinter",
9699 iremotewinspool_dissect_winspool_AsyncEndPagePrinter_request, iremotewinspool_dissect_winspool_AsyncEndPagePrinter_response},
9700 { 14, "winspool_AsyncEndDocPrinter",
9701 iremotewinspool_dissect_winspool_AsyncEndDocPrinter_request, iremotewinspool_dissect_winspool_AsyncEndDocPrinter_response},
9702 { 15, "winspool_AsyncAbortPrinter",
9703 iremotewinspool_dissect_winspool_AsyncAbortPrinter_request, iremotewinspool_dissect_winspool_AsyncAbortPrinter_response},
9704 { 16, "winspool_AsyncGetPrinterData",
9705 iremotewinspool_dissect_winspool_AsyncGetPrinterData_request, iremotewinspool_dissect_winspool_AsyncGetPrinterData_response},
9706 { 17, "winspool_AsyncGetPrinterDataEx",
9707 iremotewinspool_dissect_winspool_AsyncGetPrinterDataEx_request, iremotewinspool_dissect_winspool_AsyncGetPrinterDataEx_response},
9708 { 18, "winspool_AsyncSetPrinterData",
9709 iremotewinspool_dissect_winspool_AsyncSetPrinterData_request, iremotewinspool_dissect_winspool_AsyncSetPrinterData_response},
9710 { 19, "winspool_AsyncSetPrinterDataEx",
9711 iremotewinspool_dissect_winspool_AsyncSetPrinterDataEx_request, iremotewinspool_dissect_winspool_AsyncSetPrinterDataEx_response},
9712 { 20, "winspool_AsyncClosePrinter",
9713 iremotewinspool_dissect_winspool_AsyncClosePrinter_request, iremotewinspool_dissect_winspool_AsyncClosePrinter_response},
9714 { 21, "winspool_AsyncAddForm",
9715 iremotewinspool_dissect_winspool_AsyncAddForm_request, iremotewinspool_dissect_winspool_AsyncAddForm_response},
9716 { 22, "winspool_AsyncDeleteForm",
9717 iremotewinspool_dissect_winspool_AsyncDeleteForm_request, iremotewinspool_dissect_winspool_AsyncDeleteForm_response},
9718 { 23, "winspool_AsyncGetForm",
9719 iremotewinspool_dissect_winspool_AsyncGetForm_request, iremotewinspool_dissect_winspool_AsyncGetForm_response},
9720 { 24, "winspool_AsyncSetForm",
9721 iremotewinspool_dissect_winspool_AsyncSetForm_request, iremotewinspool_dissect_winspool_AsyncSetForm_response},
9722 { 25, "winspool_AsyncEnumForms",
9723 iremotewinspool_dissect_winspool_AsyncEnumForms_request, iremotewinspool_dissect_winspool_AsyncEnumForms_response},
9724 { 26, "winspool_AsyncGetPrinterDriver",
9725 iremotewinspool_dissect_winspool_AsyncGetPrinterDriver_request, iremotewinspool_dissect_winspool_AsyncGetPrinterDriver_response},
9726 { 27, "winspool_AsyncEnumPrinterData",
9727 iremotewinspool_dissect_winspool_AsyncEnumPrinterData_request, iremotewinspool_dissect_winspool_AsyncEnumPrinterData_response},
9728 { 28, "winspool_AsyncEnumPrinterDataEx",
9729 iremotewinspool_dissect_winspool_AsyncEnumPrinterDataEx_request, iremotewinspool_dissect_winspool_AsyncEnumPrinterDataEx_response},
9730 { 29, "winspool_AsyncEnumPrinterKey",
9731 iremotewinspool_dissect_winspool_AsyncEnumPrinterKey_request, iremotewinspool_dissect_winspool_AsyncEnumPrinterKey_response},
9732 { 30, "winspool_AsyncDeletePrinterData",
9733 iremotewinspool_dissect_winspool_AsyncDeletePrinterData_request, iremotewinspool_dissect_winspool_AsyncDeletePrinterData_response},
9734 { 31, "winspool_AsyncDeletePrinterDataEx",
9735 iremotewinspool_dissect_winspool_AsyncDeletePrinterDataEx_request, iremotewinspool_dissect_winspool_AsyncDeletePrinterDataEx_response},
9736 { 32, "winspool_AsyncDeletePrinterKey",
9737 iremotewinspool_dissect_winspool_AsyncDeletePrinterKey_request, iremotewinspool_dissect_winspool_AsyncDeletePrinterKey_response},
9738 { 33, "winspool_AsyncXcvData",
9739 iremotewinspool_dissect_winspool_AsyncXcvData_request, iremotewinspool_dissect_winspool_AsyncXcvData_response},
9740 { 34, "winspool_AsyncSendRecvBidiData",
9741 iremotewinspool_dissect_winspool_AsyncSendRecvBidiData_request, iremotewinspool_dissect_winspool_AsyncSendRecvBidiData_response},
9742 { 35, "winspool_AsyncCreatePrinterIC",
9743 iremotewinspool_dissect_winspool_AsyncCreatePrinterIC_request, iremotewinspool_dissect_winspool_AsyncCreatePrinterIC_response},
9744 { 36, "winspool_AsyncPlayGdiScriptOnPrinterIC",
9745 iremotewinspool_dissect_winspool_AsyncPlayGdiScriptOnPrinterIC_request, iremotewinspool_dissect_winspool_AsyncPlayGdiScriptOnPrinterIC_response},
9746 { 37, "winspool_AsyncDeletePrinterIC",
9747 iremotewinspool_dissect_winspool_AsyncDeletePrinterIC_request, iremotewinspool_dissect_winspool_AsyncDeletePrinterIC_response},
9748 { 38, "winspool_AsyncEnumPrinters",
9749 iremotewinspool_dissect_winspool_AsyncEnumPrinters_request, iremotewinspool_dissect_winspool_AsyncEnumPrinters_response},
9750 { 39, "winspool_AsyncAddPrinterDriver",
9751 iremotewinspool_dissect_winspool_AsyncAddPrinterDriver_request, iremotewinspool_dissect_winspool_AsyncAddPrinterDriver_response},
9752 { 40, "winspool_AsyncEnumPrinterDrivers",
9753 iremotewinspool_dissect_winspool_AsyncEnumPrinterDrivers_request, iremotewinspool_dissect_winspool_AsyncEnumPrinterDrivers_response},
9754 { 41, "winspool_AsyncGetPrinterDriverDirectory",
9755 iremotewinspool_dissect_winspool_AsyncGetPrinterDriverDirectory_request, iremotewinspool_dissect_winspool_AsyncGetPrinterDriverDirectory_response},
9756 { 42, "winspool_AsyncDeletePrinterDriver",
9757 iremotewinspool_dissect_winspool_AsyncDeletePrinterDriver_request, iremotewinspool_dissect_winspool_AsyncDeletePrinterDriver_response},
9758 { 43, "winspool_AsyncDeletePrinterDriverEx",
9759 iremotewinspool_dissect_winspool_AsyncDeletePrinterDriverEx_request, iremotewinspool_dissect_winspool_AsyncDeletePrinterDriverEx_response},
9760 { 44, "winspool_AsyncAddPrintProcessor",
9761 iremotewinspool_dissect_winspool_AsyncAddPrintProcessor_request, iremotewinspool_dissect_winspool_AsyncAddPrintProcessor_response},
9762 { 45, "winspool_AsyncEnumPrintProcessors",
9763 iremotewinspool_dissect_winspool_AsyncEnumPrintProcessors_request, iremotewinspool_dissect_winspool_AsyncEnumPrintProcessors_response},
9764 { 46, "winspool_AsyncGetPrintProcessorDirectory",
9765 iremotewinspool_dissect_winspool_AsyncGetPrintProcessorDirectory_request, iremotewinspool_dissect_winspool_AsyncGetPrintProcessorDirectory_response},
9766 { 47, "winspool_AsyncEnumPorts",
9767 iremotewinspool_dissect_winspool_AsyncEnumPorts_request, iremotewinspool_dissect_winspool_AsyncEnumPorts_response},
9768 { 48, "winspool_AsyncEnumMonitors",
9769 iremotewinspool_dissect_winspool_AsyncEnumMonitors_request, iremotewinspool_dissect_winspool_AsyncEnumMonitors_response},
9770 { 49, "winspool_AsyncAddPort",
9771 iremotewinspool_dissect_winspool_AsyncAddPort_request, iremotewinspool_dissect_winspool_AsyncAddPort_response},
9772 { 50, "winspool_AsyncSetPort",
9773 iremotewinspool_dissect_winspool_AsyncSetPort_request, iremotewinspool_dissect_winspool_AsyncSetPort_response},
9774 { 51, "winspool_AsyncAddMonitor",
9775 iremotewinspool_dissect_winspool_AsyncAddMonitor_request, iremotewinspool_dissect_winspool_AsyncAddMonitor_response},
9776 { 52, "winspool_AsyncDeleteMonitor",
9777 iremotewinspool_dissect_winspool_AsyncDeleteMonitor_request, iremotewinspool_dissect_winspool_AsyncDeleteMonitor_response},
9778 { 53, "winspool_AsyncDeletePrintProcessor",
9779 iremotewinspool_dissect_winspool_AsyncDeletePrintProcessor_request, iremotewinspool_dissect_winspool_AsyncDeletePrintProcessor_response},
9780 { 54, "winspool_AsyncEnumPrintProcessorDatatypes",
9781 iremotewinspool_dissect_winspool_AsyncEnumPrintProcessorDatatypes_request, iremotewinspool_dissect_winspool_AsyncEnumPrintProcessorDatatypes_response},
9782 { 55, "winspool_AsyncAddPerMachineConnection",
9783 iremotewinspool_dissect_winspool_AsyncAddPerMachineConnection_request, iremotewinspool_dissect_winspool_AsyncAddPerMachineConnection_response},
9784 { 56, "winspool_AsyncDeletePerMachineConnection",
9785 iremotewinspool_dissect_winspool_AsyncDeletePerMachineConnection_request, iremotewinspool_dissect_winspool_AsyncDeletePerMachineConnection_response},
9786 { 57, "winspool_AsyncEnumPerMachineConnections",
9787 iremotewinspool_dissect_winspool_AsyncEnumPerMachineConnections_request, iremotewinspool_dissect_winspool_AsyncEnumPerMachineConnections_response},
9788 { 58, "winspool_SyncRegisterForRemoteNotifications",
9789 iremotewinspool_dissect_winspool_SyncRegisterForRemoteNotifications_request, iremotewinspool_dissect_winspool_SyncRegisterForRemoteNotifications_response},
9790 { 59, "winspool_SyncUnRegisterForRemoteNotifications",
9791 iremotewinspool_dissect_winspool_SyncUnRegisterForRemoteNotifications_request, iremotewinspool_dissect_winspool_SyncUnRegisterForRemoteNotifications_response},
9792 { 60, "winspool_SyncRefreshRemoteNotifications",
9793 iremotewinspool_dissect_winspool_SyncRefreshRemoteNotifications_request, iremotewinspool_dissect_winspool_SyncRefreshRemoteNotifications_response},
9794 { 61, "winspool_AsyncGetRemoteNotifications",
9795 iremotewinspool_dissect_winspool_AsyncGetRemoteNotifications_request, iremotewinspool_dissect_winspool_AsyncGetRemoteNotifications_response},
9796 { 62, "winspool_AsyncInstallPrinterDriverFromPackage",
9797 iremotewinspool_dissect_winspool_AsyncInstallPrinterDriverFromPackage_request, iremotewinspool_dissect_winspool_AsyncInstallPrinterDriverFromPackage_response},
9798 { 63, "winspool_AsyncUploadPrinterDriverPackage",
9799 iremotewinspool_dissect_winspool_AsyncUploadPrinterDriverPackage_request, iremotewinspool_dissect_winspool_AsyncUploadPrinterDriverPackage_response},
9800 { 64, "winspool_AsyncGetCorePrinterDrivers",
9801 iremotewinspool_dissect_winspool_AsyncGetCorePrinterDrivers_request, iremotewinspool_dissect_winspool_AsyncGetCorePrinterDrivers_response},
9802 { 65, "winspool_AsyncCorePrinterDriverInstalled",
9803 iremotewinspool_dissect_winspool_AsyncCorePrinterDriverInstalled_request, iremotewinspool_dissect_winspool_AsyncCorePrinterDriverInstalled_response},
9804 { 66, "winspool_AsyncGetPrinterDriverPackagePath",
9805 iremotewinspool_dissect_winspool_AsyncGetPrinterDriverPackagePath_request, iremotewinspool_dissect_winspool_AsyncGetPrinterDriverPackagePath_response},
9806 { 67, "winspool_AsyncDeletePrinterDriverPackage",
9807 iremotewinspool_dissect_winspool_AsyncDeletePrinterDriverPackage_request, iremotewinspool_dissect_winspool_AsyncDeletePrinterDriverPackage_response},
9808 { 68, "winspool_AsyncReadPrinter",
9809 iremotewinspool_dissect_winspool_AsyncReadPrinter_request, iremotewinspool_dissect_winspool_AsyncReadPrinter_response},
9810 { 69, "winspool_AsyncResetPrinter",
9811 iremotewinspool_dissect_winspool_AsyncResetPrinter_request, iremotewinspool_dissect_winspool_AsyncResetPrinter_response},
9812 { 70, "winspool_AsyncGetJobNamedPropertyValue",
9813 iremotewinspool_dissect_winspool_AsyncGetJobNamedPropertyValue_request, iremotewinspool_dissect_winspool_AsyncGetJobNamedPropertyValue_response},
9814 { 71, "winspool_AsyncSetJobNamedProperty",
9815 iremotewinspool_dissect_winspool_AsyncSetJobNamedProperty_request, iremotewinspool_dissect_winspool_AsyncSetJobNamedProperty_response},
9816 { 72, "winspool_AsyncDeleteJobNamedProperty",
9817 iremotewinspool_dissect_winspool_AsyncDeleteJobNamedProperty_request, iremotewinspool_dissect_winspool_AsyncDeleteJobNamedProperty_response},
9818 { 73, "winspool_AsyncEnumJobNamedProperties",
9819 iremotewinspool_dissect_winspool_AsyncEnumJobNamedProperties_request, iremotewinspool_dissect_winspool_AsyncEnumJobNamedProperties_response},
9820 { 74, "winspool_AsyncLogJobInfoForBranchOffice",
9821 iremotewinspool_dissect_winspool_AsyncLogJobInfoForBranchOffice_request, iremotewinspool_dissect_winspool_AsyncLogJobInfoForBranchOffice_response},
9822 { 0, NULL, NULL, NULL }
9825 void proto_register_dcerpc_iremotewinspool(void)
9827 static hf_register_info hf[] = {
9828 { &hf_iremotewinspool_hresult,
9829 { "HRES Windows Error", "iremotewinspool.hresult", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &HRES_errors_ext, 0, NULL, HFILL }},
9830 { &hf_iremotewinspool_opnum,
9831 { "Operation", "iremotewinspool.opnum", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
9832 { &hf_iremotewinspool_sec_desc_buf_len,
9833 { "Sec Desc Buf Len", "iremotewinspool.sec_desc_buf_len", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9834 { &hf_iremotewinspool_werror,
9835 { "Windows Error", "iremotewinspool.werror", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
9836 { &hf_iremotewinspool_winspool_AsyncAbortPrinter_hPrinter,
9837 { "HPrinter", "iremotewinspool.winspool_AsyncAbortPrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9838 { &hf_iremotewinspool_winspool_AsyncAddForm_hPrinter,
9839 { "HPrinter", "iremotewinspool.winspool_AsyncAddForm.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9840 { &hf_iremotewinspool_winspool_AsyncAddForm_pFormInfoContainer,
9841 { "PFormInfoContainer", "iremotewinspool.winspool_AsyncAddForm.pFormInfoContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9842 { &hf_iremotewinspool_winspool_AsyncAddJob_Level,
9843 { "Level", "iremotewinspool.winspool_AsyncAddJob.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9844 { &hf_iremotewinspool_winspool_AsyncAddJob_cbBuf,
9845 { "CbBuf", "iremotewinspool.winspool_AsyncAddJob.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9846 { &hf_iremotewinspool_winspool_AsyncAddJob_hPrinter,
9847 { "HPrinter", "iremotewinspool.winspool_AsyncAddJob.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9848 { &hf_iremotewinspool_winspool_AsyncAddJob_pAddJob,
9849 { "PAddJob", "iremotewinspool.winspool_AsyncAddJob.pAddJob", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9850 { &hf_iremotewinspool_winspool_AsyncAddJob_pcbNeeded,
9851 { "PcbNeeded", "iremotewinspool.winspool_AsyncAddJob.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9852 { &hf_iremotewinspool_winspool_AsyncAddMonitor_Name,
9853 { "Name", "iremotewinspool.winspool_AsyncAddMonitor.Name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9854 { &hf_iremotewinspool_winspool_AsyncAddMonitor_pMonitorContainer,
9855 { "PMonitorContainer", "iremotewinspool.winspool_AsyncAddMonitor.pMonitorContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9856 { &hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pPrintServer,
9857 { "PPrintServer", "iremotewinspool.winspool_AsyncAddPerMachineConnection.pPrintServer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9858 { &hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pPrinterName,
9859 { "PPrinterName", "iremotewinspool.winspool_AsyncAddPerMachineConnection.pPrinterName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9860 { &hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pProvider,
9861 { "PProvider", "iremotewinspool.winspool_AsyncAddPerMachineConnection.pProvider", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9862 { &hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pServer,
9863 { "PServer", "iremotewinspool.winspool_AsyncAddPerMachineConnection.pServer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9864 { &hf_iremotewinspool_winspool_AsyncAddPort_pMonitorName,
9865 { "PMonitorName", "iremotewinspool.winspool_AsyncAddPort.pMonitorName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9866 { &hf_iremotewinspool_winspool_AsyncAddPort_pName,
9867 { "PName", "iremotewinspool.winspool_AsyncAddPort.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9868 { &hf_iremotewinspool_winspool_AsyncAddPort_pPortContainer,
9869 { "PPortContainer", "iremotewinspool.winspool_AsyncAddPort.pPortContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9870 { &hf_iremotewinspool_winspool_AsyncAddPort_pPortVarContainer,
9871 { "PPortVarContainer", "iremotewinspool.winspool_AsyncAddPort.pPortVarContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9872 { &hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pEnvironment,
9873 { "PEnvironment", "iremotewinspool.winspool_AsyncAddPrintProcessor.pEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9874 { &hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pName,
9875 { "PName", "iremotewinspool.winspool_AsyncAddPrintProcessor.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9876 { &hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pPathName,
9877 { "PPathName", "iremotewinspool.winspool_AsyncAddPrintProcessor.pPathName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9878 { &hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pPrintProcessorName,
9879 { "PPrintProcessorName", "iremotewinspool.winspool_AsyncAddPrintProcessor.pPrintProcessorName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9880 { &hf_iremotewinspool_winspool_AsyncAddPrinterDriver_dwFileCopyFlags,
9881 { "DwFileCopyFlags", "iremotewinspool.winspool_AsyncAddPrinterDriver.dwFileCopyFlags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9882 { &hf_iremotewinspool_winspool_AsyncAddPrinterDriver_pDriverContainer,
9883 { "PDriverContainer", "iremotewinspool.winspool_AsyncAddPrinterDriver.pDriverContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9884 { &hf_iremotewinspool_winspool_AsyncAddPrinterDriver_pName,
9885 { "PName", "iremotewinspool.winspool_AsyncAddPrinterDriver.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9886 { &hf_iremotewinspool_winspool_AsyncAddPrinter_pClientInfo,
9887 { "PClientInfo", "iremotewinspool.winspool_AsyncAddPrinter.pClientInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9888 { &hf_iremotewinspool_winspool_AsyncAddPrinter_pDevModeContainer,
9889 { "PDevModeContainer", "iremotewinspool.winspool_AsyncAddPrinter.pDevModeContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9890 { &hf_iremotewinspool_winspool_AsyncAddPrinter_pHandle,
9891 { "PHandle", "iremotewinspool.winspool_AsyncAddPrinter.pHandle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9892 { &hf_iremotewinspool_winspool_AsyncAddPrinter_pName,
9893 { "PName", "iremotewinspool.winspool_AsyncAddPrinter.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9894 { &hf_iremotewinspool_winspool_AsyncAddPrinter_pPrinterContainer,
9895 { "PPrinterContainer", "iremotewinspool.winspool_AsyncAddPrinter.pPrinterContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9896 { &hf_iremotewinspool_winspool_AsyncAddPrinter_pSecurityContainer,
9897 { "PSecurityContainer", "iremotewinspool.winspool_AsyncAddPrinter.pSecurityContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9898 { &hf_iremotewinspool_winspool_AsyncClosePrinter_phPrinter,
9899 { "PhPrinter", "iremotewinspool.winspool_AsyncClosePrinter.phPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9900 { &hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_CoreDriverGUID,
9901 { "CoreDriverGUID", "iremotewinspool.winspool_AsyncCorePrinterDriverInstalled.CoreDriverGUID", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
9902 { &hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_dwlDriverVersion,
9903 { "DwlDriverVersion", "iremotewinspool.winspool_AsyncCorePrinterDriverInstalled.dwlDriverVersion", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
9904 { &hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_ftDriverDate,
9905 { "FtDriverDate", "iremotewinspool.winspool_AsyncCorePrinterDriverInstalled.ftDriverDate", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
9906 { &hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pbDriverInstalled,
9907 { "PbDriverInstalled", "iremotewinspool.winspool_AsyncCorePrinterDriverInstalled.pbDriverInstalled", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9908 { &hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pszEnvironment,
9909 { "PszEnvironment", "iremotewinspool.winspool_AsyncCorePrinterDriverInstalled.pszEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9910 { &hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pszServer,
9911 { "PszServer", "iremotewinspool.winspool_AsyncCorePrinterDriverInstalled.pszServer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9912 { &hf_iremotewinspool_winspool_AsyncCreatePrinterIC_hPrinter,
9913 { "HPrinter", "iremotewinspool.winspool_AsyncCreatePrinterIC.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9914 { &hf_iremotewinspool_winspool_AsyncCreatePrinterIC_pDevModeContainer,
9915 { "PDevModeContainer", "iremotewinspool.winspool_AsyncCreatePrinterIC.pDevModeContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9916 { &hf_iremotewinspool_winspool_AsyncCreatePrinterIC_pHandle,
9917 { "PHandle", "iremotewinspool.winspool_AsyncCreatePrinterIC.pHandle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9918 { &hf_iremotewinspool_winspool_AsyncDeleteForm_hPrinter,
9919 { "HPrinter", "iremotewinspool.winspool_AsyncDeleteForm.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9920 { &hf_iremotewinspool_winspool_AsyncDeleteForm_pFormName,
9921 { "PFormName", "iremotewinspool.winspool_AsyncDeleteForm.pFormName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9922 { &hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_JobId,
9923 { "JobId", "iremotewinspool.winspool_AsyncDeleteJobNamedProperty.JobId", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9924 { &hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_hPrinter,
9925 { "HPrinter", "iremotewinspool.winspool_AsyncDeleteJobNamedProperty.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9926 { &hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_pszName,
9927 { "PszName", "iremotewinspool.winspool_AsyncDeleteJobNamedProperty.pszName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9928 { &hf_iremotewinspool_winspool_AsyncDeleteMonitor_Name,
9929 { "Name", "iremotewinspool.winspool_AsyncDeleteMonitor.Name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9930 { &hf_iremotewinspool_winspool_AsyncDeleteMonitor_pEnvironment,
9931 { "PEnvironment", "iremotewinspool.winspool_AsyncDeleteMonitor.pEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9932 { &hf_iremotewinspool_winspool_AsyncDeleteMonitor_pMonitorName,
9933 { "PMonitorName", "iremotewinspool.winspool_AsyncDeleteMonitor.pMonitorName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9934 { &hf_iremotewinspool_winspool_AsyncDeletePerMachineConnection_pPrinterName,
9935 { "PPrinterName", "iremotewinspool.winspool_AsyncDeletePerMachineConnection.pPrinterName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9936 { &hf_iremotewinspool_winspool_AsyncDeletePerMachineConnection_pServer,
9937 { "PServer", "iremotewinspool.winspool_AsyncDeletePerMachineConnection.pServer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9938 { &hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_Name,
9939 { "Name", "iremotewinspool.winspool_AsyncDeletePrintProcessor.Name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9940 { &hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_pEnvironment,
9941 { "PEnvironment", "iremotewinspool.winspool_AsyncDeletePrintProcessor.pEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9942 { &hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_pPrintProcessorName,
9943 { "PPrintProcessorName", "iremotewinspool.winspool_AsyncDeletePrintProcessor.pPrintProcessorName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9944 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_hPrinter,
9945 { "HPrinter", "iremotewinspool.winspool_AsyncDeletePrinterDataEx.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9946 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_pKeyName,
9947 { "PKeyName", "iremotewinspool.winspool_AsyncDeletePrinterDataEx.pKeyName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9948 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_pValueName,
9949 { "PValueName", "iremotewinspool.winspool_AsyncDeletePrinterDataEx.pValueName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9950 { &hf_iremotewinspool_winspool_AsyncDeletePrinterData_hPrinter,
9951 { "HPrinter", "iremotewinspool.winspool_AsyncDeletePrinterData.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9952 { &hf_iremotewinspool_winspool_AsyncDeletePrinterData_pValueName,
9953 { "PValueName", "iremotewinspool.winspool_AsyncDeletePrinterData.pValueName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9954 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_dwDeleteFlag,
9955 { "DwDeleteFlag", "iremotewinspool.winspool_AsyncDeletePrinterDriverEx.dwDeleteFlag", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9956 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_dwVersionNum,
9957 { "DwVersionNum", "iremotewinspool.winspool_AsyncDeletePrinterDriverEx.dwVersionNum", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9958 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pDriverName,
9959 { "PDriverName", "iremotewinspool.winspool_AsyncDeletePrinterDriverEx.pDriverName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9960 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pEnvironment,
9961 { "PEnvironment", "iremotewinspool.winspool_AsyncDeletePrinterDriverEx.pEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9962 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pName,
9963 { "PName", "iremotewinspool.winspool_AsyncDeletePrinterDriverEx.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9964 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszEnvironment,
9965 { "PszEnvironment", "iremotewinspool.winspool_AsyncDeletePrinterDriverPackage.pszEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9966 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszInfPath,
9967 { "PszInfPath", "iremotewinspool.winspool_AsyncDeletePrinterDriverPackage.pszInfPath", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9968 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszServer,
9969 { "PszServer", "iremotewinspool.winspool_AsyncDeletePrinterDriverPackage.pszServer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9970 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pDriverName,
9971 { "PDriverName", "iremotewinspool.winspool_AsyncDeletePrinterDriver.pDriverName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9972 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pEnvironment,
9973 { "PEnvironment", "iremotewinspool.winspool_AsyncDeletePrinterDriver.pEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9974 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pName,
9975 { "PName", "iremotewinspool.winspool_AsyncDeletePrinterDriver.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9976 { &hf_iremotewinspool_winspool_AsyncDeletePrinterIC_phPrinterIC,
9977 { "PhPrinterIC", "iremotewinspool.winspool_AsyncDeletePrinterIC.phPrinterIC", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9978 { &hf_iremotewinspool_winspool_AsyncDeletePrinterKey_hPrinter,
9979 { "HPrinter", "iremotewinspool.winspool_AsyncDeletePrinterKey.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9980 { &hf_iremotewinspool_winspool_AsyncDeletePrinterKey_pKeyName,
9981 { "PKeyName", "iremotewinspool.winspool_AsyncDeletePrinterKey.pKeyName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9982 { &hf_iremotewinspool_winspool_AsyncDeletePrinter_hPrinter,
9983 { "HPrinter", "iremotewinspool.winspool_AsyncDeletePrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9984 { &hf_iremotewinspool_winspool_AsyncEndDocPrinter_hPrinter,
9985 { "HPrinter", "iremotewinspool.winspool_AsyncEndDocPrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9986 { &hf_iremotewinspool_winspool_AsyncEndPagePrinter_hPrinter,
9987 { "HPrinter", "iremotewinspool.winspool_AsyncEndPagePrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9988 { &hf_iremotewinspool_winspool_AsyncEnumForms_Level,
9989 { "Level", "iremotewinspool.winspool_AsyncEnumForms.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9990 { &hf_iremotewinspool_winspool_AsyncEnumForms_cbBuf,
9991 { "CbBuf", "iremotewinspool.winspool_AsyncEnumForms.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9992 { &hf_iremotewinspool_winspool_AsyncEnumForms_hPrinter,
9993 { "HPrinter", "iremotewinspool.winspool_AsyncEnumForms.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9994 { &hf_iremotewinspool_winspool_AsyncEnumForms_pForm,
9995 { "PForm", "iremotewinspool.winspool_AsyncEnumForms.pForm", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9996 { &hf_iremotewinspool_winspool_AsyncEnumForms_pcReturned,
9997 { "PcReturned", "iremotewinspool.winspool_AsyncEnumForms.pcReturned", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9998 { &hf_iremotewinspool_winspool_AsyncEnumForms_pcbNeeded,
9999 { "PcbNeeded", "iremotewinspool.winspool_AsyncEnumForms.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10000 { &hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_JobId,
10001 { "JobId", "iremotewinspool.winspool_AsyncEnumJobNamedProperties.JobId", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10002 { &hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_hPrinter,
10003 { "HPrinter", "iremotewinspool.winspool_AsyncEnumJobNamedProperties.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10004 { &hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_pcProperties,
10005 { "PcProperties", "iremotewinspool.winspool_AsyncEnumJobNamedProperties.pcProperties", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10006 { &hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_ppProperties,
10007 { "PpProperties", "iremotewinspool.winspool_AsyncEnumJobNamedProperties.ppProperties", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10008 { &hf_iremotewinspool_winspool_AsyncEnumJobs_FirstJob,
10009 { "FirstJob", "iremotewinspool.winspool_AsyncEnumJobs.FirstJob", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10010 { &hf_iremotewinspool_winspool_AsyncEnumJobs_Level,
10011 { "Level", "iremotewinspool.winspool_AsyncEnumJobs.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10012 { &hf_iremotewinspool_winspool_AsyncEnumJobs_NoJobs,
10013 { "NoJobs", "iremotewinspool.winspool_AsyncEnumJobs.NoJobs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10014 { &hf_iremotewinspool_winspool_AsyncEnumJobs_cbBuf,
10015 { "CbBuf", "iremotewinspool.winspool_AsyncEnumJobs.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10016 { &hf_iremotewinspool_winspool_AsyncEnumJobs_hPrinter,
10017 { "HPrinter", "iremotewinspool.winspool_AsyncEnumJobs.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10018 { &hf_iremotewinspool_winspool_AsyncEnumJobs_pJob,
10019 { "PJob", "iremotewinspool.winspool_AsyncEnumJobs.pJob", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10020 { &hf_iremotewinspool_winspool_AsyncEnumJobs_pcReturned,
10021 { "PcReturned", "iremotewinspool.winspool_AsyncEnumJobs.pcReturned", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10022 { &hf_iremotewinspool_winspool_AsyncEnumJobs_pcbNeeded,
10023 { "PcbNeeded", "iremotewinspool.winspool_AsyncEnumJobs.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10024 { &hf_iremotewinspool_winspool_AsyncEnumMonitors_Level,
10025 { "Level", "iremotewinspool.winspool_AsyncEnumMonitors.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10026 { &hf_iremotewinspool_winspool_AsyncEnumMonitors_cbBuf,
10027 { "CbBuf", "iremotewinspool.winspool_AsyncEnumMonitors.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10028 { &hf_iremotewinspool_winspool_AsyncEnumMonitors_pMonitor,
10029 { "PMonitor", "iremotewinspool.winspool_AsyncEnumMonitors.pMonitor", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10030 { &hf_iremotewinspool_winspool_AsyncEnumMonitors_pName,
10031 { "PName", "iremotewinspool.winspool_AsyncEnumMonitors.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10032 { &hf_iremotewinspool_winspool_AsyncEnumMonitors_pcReturned,
10033 { "PcReturned", "iremotewinspool.winspool_AsyncEnumMonitors.pcReturned", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10034 { &hf_iremotewinspool_winspool_AsyncEnumMonitors_pcbNeeded,
10035 { "PcbNeeded", "iremotewinspool.winspool_AsyncEnumMonitors.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10036 { &hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_cbBuf,
10037 { "CbBuf", "iremotewinspool.winspool_AsyncEnumPerMachineConnections.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10038 { &hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pPrinterEnum,
10039 { "PPrinterEnum", "iremotewinspool.winspool_AsyncEnumPerMachineConnections.pPrinterEnum", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10040 { &hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pServer,
10041 { "PServer", "iremotewinspool.winspool_AsyncEnumPerMachineConnections.pServer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10042 { &hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pcReturned,
10043 { "PcReturned", "iremotewinspool.winspool_AsyncEnumPerMachineConnections.pcReturned", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10044 { &hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pcbNeeded,
10045 { "PcbNeeded", "iremotewinspool.winspool_AsyncEnumPerMachineConnections.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10046 { &hf_iremotewinspool_winspool_AsyncEnumPorts_Level,
10047 { "Level", "iremotewinspool.winspool_AsyncEnumPorts.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10048 { &hf_iremotewinspool_winspool_AsyncEnumPorts_cbBuf,
10049 { "CbBuf", "iremotewinspool.winspool_AsyncEnumPorts.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10050 { &hf_iremotewinspool_winspool_AsyncEnumPorts_pName,
10051 { "PName", "iremotewinspool.winspool_AsyncEnumPorts.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10052 { &hf_iremotewinspool_winspool_AsyncEnumPorts_pPort,
10053 { "PPort", "iremotewinspool.winspool_AsyncEnumPorts.pPort", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10054 { &hf_iremotewinspool_winspool_AsyncEnumPorts_pcReturned,
10055 { "PcReturned", "iremotewinspool.winspool_AsyncEnumPorts.pcReturned", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10056 { &hf_iremotewinspool_winspool_AsyncEnumPorts_pcbNeeded,
10057 { "PcbNeeded", "iremotewinspool.winspool_AsyncEnumPorts.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10058 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_Level,
10059 { "Level", "iremotewinspool.winspool_AsyncEnumPrintProcessorDatatypes.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10060 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_cbBuf,
10061 { "CbBuf", "iremotewinspool.winspool_AsyncEnumPrintProcessorDatatypes.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10062 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes,
10063 { "PDatatypes", "iremotewinspool.winspool_AsyncEnumPrintProcessorDatatypes.pDatatypes", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10064 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pName,
10065 { "PName", "iremotewinspool.winspool_AsyncEnumPrintProcessorDatatypes.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10066 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pPrintProcessorName,
10067 { "PPrintProcessorName", "iremotewinspool.winspool_AsyncEnumPrintProcessorDatatypes.pPrintProcessorName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10068 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pcReturned,
10069 { "PcReturned", "iremotewinspool.winspool_AsyncEnumPrintProcessorDatatypes.pcReturned", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10070 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pcbNeeded,
10071 { "PcbNeeded", "iremotewinspool.winspool_AsyncEnumPrintProcessorDatatypes.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10072 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_Level,
10073 { "Level", "iremotewinspool.winspool_AsyncEnumPrintProcessors.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10074 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_cbBuf,
10075 { "CbBuf", "iremotewinspool.winspool_AsyncEnumPrintProcessors.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10076 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pEnvironment,
10077 { "PEnvironment", "iremotewinspool.winspool_AsyncEnumPrintProcessors.pEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10078 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pName,
10079 { "PName", "iremotewinspool.winspool_AsyncEnumPrintProcessors.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10080 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo,
10081 { "PPrintProcessorInfo", "iremotewinspool.winspool_AsyncEnumPrintProcessors.pPrintProcessorInfo", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10082 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pcReturned,
10083 { "PcReturned", "iremotewinspool.winspool_AsyncEnumPrintProcessors.pcReturned", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10084 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pcbNeeded,
10085 { "PcbNeeded", "iremotewinspool.winspool_AsyncEnumPrintProcessors.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10086 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_cbEnumValues,
10087 { "CbEnumValues", "iremotewinspool.winspool_AsyncEnumPrinterDataEx.cbEnumValues", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10088 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_hPrinter,
10089 { "HPrinter", "iremotewinspool.winspool_AsyncEnumPrinterDataEx.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10090 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pEnumValues,
10091 { "PEnumValues", "iremotewinspool.winspool_AsyncEnumPrinterDataEx.pEnumValues", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10092 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pKeyName,
10093 { "PKeyName", "iremotewinspool.winspool_AsyncEnumPrinterDataEx.pKeyName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10094 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pcbEnumValues,
10095 { "PcbEnumValues", "iremotewinspool.winspool_AsyncEnumPrinterDataEx.pcbEnumValues", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10096 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pnEnumValues,
10097 { "PnEnumValues", "iremotewinspool.winspool_AsyncEnumPrinterDataEx.pnEnumValues", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10098 { &hf_iremotewinspool_winspool_AsyncEnumPrinterData_cbData,
10099 { "CbData", "iremotewinspool.winspool_AsyncEnumPrinterData.cbData", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10100 { &hf_iremotewinspool_winspool_AsyncEnumPrinterData_cbValueName,
10101 { "CbValueName", "iremotewinspool.winspool_AsyncEnumPrinterData.cbValueName", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10102 { &hf_iremotewinspool_winspool_AsyncEnumPrinterData_dwIndex,
10103 { "DwIndex", "iremotewinspool.winspool_AsyncEnumPrinterData.dwIndex", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10104 { &hf_iremotewinspool_winspool_AsyncEnumPrinterData_hPrinter,
10105 { "HPrinter", "iremotewinspool.winspool_AsyncEnumPrinterData.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10106 { &hf_iremotewinspool_winspool_AsyncEnumPrinterData_pData,
10107 { "PData", "iremotewinspool.winspool_AsyncEnumPrinterData.pData", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10108 { &hf_iremotewinspool_winspool_AsyncEnumPrinterData_pType,
10109 { "PType", "iremotewinspool.winspool_AsyncEnumPrinterData.pType", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10110 { &hf_iremotewinspool_winspool_AsyncEnumPrinterData_pValueName,
10111 { "PValueName", "iremotewinspool.winspool_AsyncEnumPrinterData.pValueName", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
10112 { &hf_iremotewinspool_winspool_AsyncEnumPrinterData_pcbData,
10113 { "PcbData", "iremotewinspool.winspool_AsyncEnumPrinterData.pcbData", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10114 { &hf_iremotewinspool_winspool_AsyncEnumPrinterData_pcbValueName,
10115 { "PcbValueName", "iremotewinspool.winspool_AsyncEnumPrinterData.pcbValueName", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10116 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_Level,
10117 { "Level", "iremotewinspool.winspool_AsyncEnumPrinterDrivers.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10118 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_cbBuf,
10119 { "CbBuf", "iremotewinspool.winspool_AsyncEnumPrinterDrivers.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10120 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pDrivers,
10121 { "PDrivers", "iremotewinspool.winspool_AsyncEnumPrinterDrivers.pDrivers", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10122 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pEnvironment,
10123 { "PEnvironment", "iremotewinspool.winspool_AsyncEnumPrinterDrivers.pEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10124 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pName,
10125 { "PName", "iremotewinspool.winspool_AsyncEnumPrinterDrivers.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10126 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pcReturned,
10127 { "PcReturned", "iremotewinspool.winspool_AsyncEnumPrinterDrivers.pcReturned", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10128 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pcbNeeded,
10129 { "PcbNeeded", "iremotewinspool.winspool_AsyncEnumPrinterDrivers.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10130 { &hf_iremotewinspool_winspool_AsyncEnumPrinterKey_cbSubkey,
10131 { "CbSubkey", "iremotewinspool.winspool_AsyncEnumPrinterKey.cbSubkey", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10132 { &hf_iremotewinspool_winspool_AsyncEnumPrinterKey_hPrinter,
10133 { "HPrinter", "iremotewinspool.winspool_AsyncEnumPrinterKey.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10134 { &hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pKeyName,
10135 { "PKeyName", "iremotewinspool.winspool_AsyncEnumPrinterKey.pKeyName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10136 { &hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pSubkey,
10137 { "PSubkey", "iremotewinspool.winspool_AsyncEnumPrinterKey.pSubkey", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
10138 { &hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pcbSubkey,
10139 { "PcbSubkey", "iremotewinspool.winspool_AsyncEnumPrinterKey.pcbSubkey", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10140 { &hf_iremotewinspool_winspool_AsyncEnumPrinters_Flags,
10141 { "Flags", "iremotewinspool.winspool_AsyncEnumPrinters.Flags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10142 { &hf_iremotewinspool_winspool_AsyncEnumPrinters_Level,
10143 { "Level", "iremotewinspool.winspool_AsyncEnumPrinters.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10144 { &hf_iremotewinspool_winspool_AsyncEnumPrinters_cbBuf,
10145 { "CbBuf", "iremotewinspool.winspool_AsyncEnumPrinters.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10146 { &hf_iremotewinspool_winspool_AsyncEnumPrinters_pName,
10147 { "PName", "iremotewinspool.winspool_AsyncEnumPrinters.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10148 { &hf_iremotewinspool_winspool_AsyncEnumPrinters_pPrinterEnum,
10149 { "PPrinterEnum", "iremotewinspool.winspool_AsyncEnumPrinters.pPrinterEnum", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10150 { &hf_iremotewinspool_winspool_AsyncEnumPrinters_pcReturned,
10151 { "PcReturned", "iremotewinspool.winspool_AsyncEnumPrinters.pcReturned", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10152 { &hf_iremotewinspool_winspool_AsyncEnumPrinters_pcbNeeded,
10153 { "PcbNeeded", "iremotewinspool.winspool_AsyncEnumPrinters.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10154 { &hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_cCorePrinterDrivers,
10155 { "CCorePrinterDrivers", "iremotewinspool.winspool_AsyncGetCorePrinterDrivers.cCorePrinterDrivers", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10156 { &hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_cchCoreDrivers,
10157 { "CchCoreDrivers", "iremotewinspool.winspool_AsyncGetCorePrinterDrivers.cchCoreDrivers", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10158 { &hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pCorePrinterDrivers,
10159 { "PCorePrinterDrivers", "iremotewinspool.winspool_AsyncGetCorePrinterDrivers.pCorePrinterDrivers", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10160 { &hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszEnvironment,
10161 { "PszEnvironment", "iremotewinspool.winspool_AsyncGetCorePrinterDrivers.pszEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10162 { &hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszServer,
10163 { "PszServer", "iremotewinspool.winspool_AsyncGetCorePrinterDrivers.pszServer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10164 { &hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies,
10165 { "PszzCoreDriverDependencies", "iremotewinspool.winspool_AsyncGetCorePrinterDrivers.pszzCoreDriverDependencies", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
10166 { &hf_iremotewinspool_winspool_AsyncGetForm_Level,
10167 { "Level", "iremotewinspool.winspool_AsyncGetForm.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10168 { &hf_iremotewinspool_winspool_AsyncGetForm_cbBuf,
10169 { "CbBuf", "iremotewinspool.winspool_AsyncGetForm.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10170 { &hf_iremotewinspool_winspool_AsyncGetForm_hPrinter,
10171 { "HPrinter", "iremotewinspool.winspool_AsyncGetForm.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10172 { &hf_iremotewinspool_winspool_AsyncGetForm_pForm,
10173 { "PForm", "iremotewinspool.winspool_AsyncGetForm.pForm", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10174 { &hf_iremotewinspool_winspool_AsyncGetForm_pFormName,
10175 { "PFormName", "iremotewinspool.winspool_AsyncGetForm.pFormName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10176 { &hf_iremotewinspool_winspool_AsyncGetForm_pcbNeeded,
10177 { "PcbNeeded", "iremotewinspool.winspool_AsyncGetForm.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10178 { &hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_JobId,
10179 { "JobId", "iremotewinspool.winspool_AsyncGetJobNamedPropertyValue.JobId", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10180 { &hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_hPrinter,
10181 { "HPrinter", "iremotewinspool.winspool_AsyncGetJobNamedPropertyValue.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10182 { &hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_pValue,
10183 { "PValue", "iremotewinspool.winspool_AsyncGetJobNamedPropertyValue.pValue", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10184 { &hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_pszName,
10185 { "PszName", "iremotewinspool.winspool_AsyncGetJobNamedPropertyValue.pszName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10186 { &hf_iremotewinspool_winspool_AsyncGetJob_JobId,
10187 { "JobId", "iremotewinspool.winspool_AsyncGetJob.JobId", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10188 { &hf_iremotewinspool_winspool_AsyncGetJob_Level,
10189 { "Level", "iremotewinspool.winspool_AsyncGetJob.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10190 { &hf_iremotewinspool_winspool_AsyncGetJob_cbBuf,
10191 { "CbBuf", "iremotewinspool.winspool_AsyncGetJob.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10192 { &hf_iremotewinspool_winspool_AsyncGetJob_hPrinter,
10193 { "HPrinter", "iremotewinspool.winspool_AsyncGetJob.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10194 { &hf_iremotewinspool_winspool_AsyncGetJob_pJob,
10195 { "PJob", "iremotewinspool.winspool_AsyncGetJob.pJob", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10196 { &hf_iremotewinspool_winspool_AsyncGetJob_pcbNeeded,
10197 { "PcbNeeded", "iremotewinspool.winspool_AsyncGetJob.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10198 { &hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_Level,
10199 { "Level", "iremotewinspool.winspool_AsyncGetPrintProcessorDirectory.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10200 { &hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_cbBuf,
10201 { "CbBuf", "iremotewinspool.winspool_AsyncGetPrintProcessorDirectory.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10202 { &hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pEnvironment,
10203 { "PEnvironment", "iremotewinspool.winspool_AsyncGetPrintProcessorDirectory.pEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10204 { &hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pName,
10205 { "PName", "iremotewinspool.winspool_AsyncGetPrintProcessorDirectory.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10206 { &hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory,
10207 { "PPrintProcessorDirectory", "iremotewinspool.winspool_AsyncGetPrintProcessorDirectory.pPrintProcessorDirectory", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10208 { &hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pcbNeeded,
10209 { "PcbNeeded", "iremotewinspool.winspool_AsyncGetPrintProcessorDirectory.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10210 { &hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_hPrinter,
10211 { "HPrinter", "iremotewinspool.winspool_AsyncGetPrinterDataEx.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10212 { &hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_nSize,
10213 { "NSize", "iremotewinspool.winspool_AsyncGetPrinterDataEx.nSize", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10214 { &hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pData,
10215 { "PData", "iremotewinspool.winspool_AsyncGetPrinterDataEx.pData", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10216 { &hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pKeyName,
10217 { "PKeyName", "iremotewinspool.winspool_AsyncGetPrinterDataEx.pKeyName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10218 { &hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pType,
10219 { "PType", "iremotewinspool.winspool_AsyncGetPrinterDataEx.pType", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10220 { &hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pValueName,
10221 { "PValueName", "iremotewinspool.winspool_AsyncGetPrinterDataEx.pValueName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10222 { &hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pcbNeeded,
10223 { "PcbNeeded", "iremotewinspool.winspool_AsyncGetPrinterDataEx.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10224 { &hf_iremotewinspool_winspool_AsyncGetPrinterData_hPrinter,
10225 { "HPrinter", "iremotewinspool.winspool_AsyncGetPrinterData.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10226 { &hf_iremotewinspool_winspool_AsyncGetPrinterData_nSize,
10227 { "NSize", "iremotewinspool.winspool_AsyncGetPrinterData.nSize", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10228 { &hf_iremotewinspool_winspool_AsyncGetPrinterData_pData,
10229 { "PData", "iremotewinspool.winspool_AsyncGetPrinterData.pData", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10230 { &hf_iremotewinspool_winspool_AsyncGetPrinterData_pType,
10231 { "PType", "iremotewinspool.winspool_AsyncGetPrinterData.pType", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10232 { &hf_iremotewinspool_winspool_AsyncGetPrinterData_pValueName,
10233 { "PValueName", "iremotewinspool.winspool_AsyncGetPrinterData.pValueName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10234 { &hf_iremotewinspool_winspool_AsyncGetPrinterData_pcbNeeded,
10235 { "PcbNeeded", "iremotewinspool.winspool_AsyncGetPrinterData.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10236 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_Level,
10237 { "Level", "iremotewinspool.winspool_AsyncGetPrinterDriverDirectory.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10238 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_cbBuf,
10239 { "CbBuf", "iremotewinspool.winspool_AsyncGetPrinterDriverDirectory.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10240 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory,
10241 { "PDriverDirectory", "iremotewinspool.winspool_AsyncGetPrinterDriverDirectory.pDriverDirectory", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10242 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pEnvironment,
10243 { "PEnvironment", "iremotewinspool.winspool_AsyncGetPrinterDriverDirectory.pEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10244 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pName,
10245 { "PName", "iremotewinspool.winspool_AsyncGetPrinterDriverDirectory.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10246 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pcbNeeded,
10247 { "PcbNeeded", "iremotewinspool.winspool_AsyncGetPrinterDriverDirectory.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10248 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_cchDriverPackageCab,
10249 { "CchDriverPackageCab", "iremotewinspool.winspool_AsyncGetPrinterDriverPackagePath.cchDriverPackageCab", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10250 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pcchRequiredSize,
10251 { "PcchRequiredSize", "iremotewinspool.winspool_AsyncGetPrinterDriverPackagePath.pcchRequiredSize", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10252 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab,
10253 { "PszDriverPackageCab", "iremotewinspool.winspool_AsyncGetPrinterDriverPackagePath.pszDriverPackageCab", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
10254 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszEnvironment,
10255 { "PszEnvironment", "iremotewinspool.winspool_AsyncGetPrinterDriverPackagePath.pszEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10256 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszLanguage,
10257 { "PszLanguage", "iremotewinspool.winspool_AsyncGetPrinterDriverPackagePath.pszLanguage", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10258 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszPackageID,
10259 { "PszPackageID", "iremotewinspool.winspool_AsyncGetPrinterDriverPackagePath.pszPackageID", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10260 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszServer,
10261 { "PszServer", "iremotewinspool.winspool_AsyncGetPrinterDriverPackagePath.pszServer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10262 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriver_Level,
10263 { "Level", "iremotewinspool.winspool_AsyncGetPrinterDriver.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10264 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriver_cbBuf,
10265 { "CbBuf", "iremotewinspool.winspool_AsyncGetPrinterDriver.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10266 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriver_dwClientMajorVersion,
10267 { "DwClientMajorVersion", "iremotewinspool.winspool_AsyncGetPrinterDriver.dwClientMajorVersion", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10268 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriver_dwClientMinorVersion,
10269 { "DwClientMinorVersion", "iremotewinspool.winspool_AsyncGetPrinterDriver.dwClientMinorVersion", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10270 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriver_hPrinter,
10271 { "HPrinter", "iremotewinspool.winspool_AsyncGetPrinterDriver.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10272 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pDriver,
10273 { "PDriver", "iremotewinspool.winspool_AsyncGetPrinterDriver.pDriver", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10274 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pEnvironment,
10275 { "PEnvironment", "iremotewinspool.winspool_AsyncGetPrinterDriver.pEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10276 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pcbNeeded,
10277 { "PcbNeeded", "iremotewinspool.winspool_AsyncGetPrinterDriver.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10278 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pdwServerMaxVersion,
10279 { "PdwServerMaxVersion", "iremotewinspool.winspool_AsyncGetPrinterDriver.pdwServerMaxVersion", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10280 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pdwServerMinVersion,
10281 { "PdwServerMinVersion", "iremotewinspool.winspool_AsyncGetPrinterDriver.pdwServerMinVersion", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10282 { &hf_iremotewinspool_winspool_AsyncGetPrinter_Level,
10283 { "Level", "iremotewinspool.winspool_AsyncGetPrinter.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10284 { &hf_iremotewinspool_winspool_AsyncGetPrinter_cbBuf,
10285 { "CbBuf", "iremotewinspool.winspool_AsyncGetPrinter.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10286 { &hf_iremotewinspool_winspool_AsyncGetPrinter_hPrinter,
10287 { "HPrinter", "iremotewinspool.winspool_AsyncGetPrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10288 { &hf_iremotewinspool_winspool_AsyncGetPrinter_pPrinter,
10289 { "PPrinter", "iremotewinspool.winspool_AsyncGetPrinter.pPrinter", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10290 { &hf_iremotewinspool_winspool_AsyncGetPrinter_pcbNeeded,
10291 { "PcbNeeded", "iremotewinspool.winspool_AsyncGetPrinter.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10292 { &hf_iremotewinspool_winspool_AsyncGetRemoteNotifications_hRpcHandle,
10293 { "HRpcHandle", "iremotewinspool.winspool_AsyncGetRemoteNotifications.hRpcHandle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10294 { &hf_iremotewinspool_winspool_AsyncGetRemoteNotifications_ppNotifyData,
10295 { "PpNotifyData", "iremotewinspool.winspool_AsyncGetRemoteNotifications.ppNotifyData", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10296 { &hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_dwFlags,
10297 { "DwFlags", "iremotewinspool.winspool_AsyncInstallPrinterDriverFromPackage.dwFlags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
10298 { &hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszDriverName,
10299 { "PszDriverName", "iremotewinspool.winspool_AsyncInstallPrinterDriverFromPackage.pszDriverName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10300 { &hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszEnvironment,
10301 { "PszEnvironment", "iremotewinspool.winspool_AsyncInstallPrinterDriverFromPackage.pszEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10302 { &hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszInfPath,
10303 { "PszInfPath", "iremotewinspool.winspool_AsyncInstallPrinterDriverFromPackage.pszInfPath", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10304 { &hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszServer,
10305 { "PszServer", "iremotewinspool.winspool_AsyncInstallPrinterDriverFromPackage.pszServer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10306 { &hf_iremotewinspool_winspool_AsyncLogJobInfoForBranchOffice_hPrinter,
10307 { "HPrinter", "iremotewinspool.winspool_AsyncLogJobInfoForBranchOffice.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10308 { &hf_iremotewinspool_winspool_AsyncLogJobInfoForBranchOffice_pBranchOfficeJobDataContainer,
10309 { "PBranchOfficeJobDataContainer", "iremotewinspool.winspool_AsyncLogJobInfoForBranchOffice.pBranchOfficeJobDataContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10310 { &hf_iremotewinspool_winspool_AsyncOpenPrinter_AccessRequired,
10311 { "AccessRequired", "iremotewinspool.winspool_AsyncOpenPrinter.AccessRequired", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10312 { &hf_iremotewinspool_winspool_AsyncOpenPrinter_pClientInfo,
10313 { "PClientInfo", "iremotewinspool.winspool_AsyncOpenPrinter.pClientInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10314 { &hf_iremotewinspool_winspool_AsyncOpenPrinter_pDatatype,
10315 { "PDatatype", "iremotewinspool.winspool_AsyncOpenPrinter.pDatatype", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10316 { &hf_iremotewinspool_winspool_AsyncOpenPrinter_pDevModeContainer,
10317 { "PDevModeContainer", "iremotewinspool.winspool_AsyncOpenPrinter.pDevModeContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10318 { &hf_iremotewinspool_winspool_AsyncOpenPrinter_pHandle,
10319 { "PHandle", "iremotewinspool.winspool_AsyncOpenPrinter.pHandle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10320 { &hf_iremotewinspool_winspool_AsyncOpenPrinter_pPrinterName,
10321 { "PPrinterName", "iremotewinspool.winspool_AsyncOpenPrinter.pPrinterName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10322 { &hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_cIn,
10323 { "CIn", "iremotewinspool.winspool_AsyncPlayGdiScriptOnPrinterIC.cIn", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10324 { &hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_cOut,
10325 { "COut", "iremotewinspool.winspool_AsyncPlayGdiScriptOnPrinterIC.cOut", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10326 { &hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_hPrinterIC,
10327 { "HPrinterIC", "iremotewinspool.winspool_AsyncPlayGdiScriptOnPrinterIC.hPrinterIC", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10328 { &hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn,
10329 { "PIn", "iremotewinspool.winspool_AsyncPlayGdiScriptOnPrinterIC.pIn", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10330 { &hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut,
10331 { "POut", "iremotewinspool.winspool_AsyncPlayGdiScriptOnPrinterIC.pOut", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10332 { &hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_ul,
10333 { "Ul", "iremotewinspool.winspool_AsyncPlayGdiScriptOnPrinterIC.ul", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10334 { &hf_iremotewinspool_winspool_AsyncReadPrinter_cbBuf,
10335 { "CbBuf", "iremotewinspool.winspool_AsyncReadPrinter.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10336 { &hf_iremotewinspool_winspool_AsyncReadPrinter_hPrinter,
10337 { "HPrinter", "iremotewinspool.winspool_AsyncReadPrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10338 { &hf_iremotewinspool_winspool_AsyncReadPrinter_pBuf,
10339 { "PBuf", "iremotewinspool.winspool_AsyncReadPrinter.pBuf", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10340 { &hf_iremotewinspool_winspool_AsyncReadPrinter_pcNoBytesRead,
10341 { "PcNoBytesRead", "iremotewinspool.winspool_AsyncReadPrinter.pcNoBytesRead", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10342 { &hf_iremotewinspool_winspool_AsyncResetPrinter_hPrinter,
10343 { "HPrinter", "iremotewinspool.winspool_AsyncResetPrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10344 { &hf_iremotewinspool_winspool_AsyncResetPrinter_pDatatype,
10345 { "PDatatype", "iremotewinspool.winspool_AsyncResetPrinter.pDatatype", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10346 { &hf_iremotewinspool_winspool_AsyncResetPrinter_pDevModeContainer,
10347 { "PDevModeContainer", "iremotewinspool.winspool_AsyncResetPrinter.pDevModeContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10348 { &hf_iremotewinspool_winspool_AsyncScheduleJob_JobId,
10349 { "JobId", "iremotewinspool.winspool_AsyncScheduleJob.JobId", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10350 { &hf_iremotewinspool_winspool_AsyncScheduleJob_hPrinter,
10351 { "HPrinter", "iremotewinspool.winspool_AsyncScheduleJob.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10352 { &hf_iremotewinspool_winspool_AsyncSendRecvBidiData_hPrinter,
10353 { "HPrinter", "iremotewinspool.winspool_AsyncSendRecvBidiData.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10354 { &hf_iremotewinspool_winspool_AsyncSendRecvBidiData_pAction,
10355 { "PAction", "iremotewinspool.winspool_AsyncSendRecvBidiData.pAction", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10356 { &hf_iremotewinspool_winspool_AsyncSendRecvBidiData_pReqData,
10357 { "PReqData", "iremotewinspool.winspool_AsyncSendRecvBidiData.pReqData", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10358 { &hf_iremotewinspool_winspool_AsyncSendRecvBidiData_ppRespData,
10359 { "PpRespData", "iremotewinspool.winspool_AsyncSendRecvBidiData.ppRespData", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10360 { &hf_iremotewinspool_winspool_AsyncSetForm_hPrinter,
10361 { "HPrinter", "iremotewinspool.winspool_AsyncSetForm.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10362 { &hf_iremotewinspool_winspool_AsyncSetForm_pFormInfoContainer,
10363 { "PFormInfoContainer", "iremotewinspool.winspool_AsyncSetForm.pFormInfoContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10364 { &hf_iremotewinspool_winspool_AsyncSetForm_pFormName,
10365 { "PFormName", "iremotewinspool.winspool_AsyncSetForm.pFormName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10366 { &hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_JobId,
10367 { "JobId", "iremotewinspool.winspool_AsyncSetJobNamedProperty.JobId", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10368 { &hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_hPrinter,
10369 { "HPrinter", "iremotewinspool.winspool_AsyncSetJobNamedProperty.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10370 { &hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_pProperty,
10371 { "PProperty", "iremotewinspool.winspool_AsyncSetJobNamedProperty.pProperty", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10372 { &hf_iremotewinspool_winspool_AsyncSetJob_Command,
10373 { "Command", "iremotewinspool.winspool_AsyncSetJob.Command", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10374 { &hf_iremotewinspool_winspool_AsyncSetJob_JobId,
10375 { "JobId", "iremotewinspool.winspool_AsyncSetJob.JobId", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10376 { &hf_iremotewinspool_winspool_AsyncSetJob_hPrinter,
10377 { "HPrinter", "iremotewinspool.winspool_AsyncSetJob.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10378 { &hf_iremotewinspool_winspool_AsyncSetJob_pJobContainer,
10379 { "PJobContainer", "iremotewinspool.winspool_AsyncSetJob.pJobContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10380 { &hf_iremotewinspool_winspool_AsyncSetPort_pName,
10381 { "PName", "iremotewinspool.winspool_AsyncSetPort.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10382 { &hf_iremotewinspool_winspool_AsyncSetPort_pPortContainer,
10383 { "PPortContainer", "iremotewinspool.winspool_AsyncSetPort.pPortContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10384 { &hf_iremotewinspool_winspool_AsyncSetPort_pPortName,
10385 { "PPortName", "iremotewinspool.winspool_AsyncSetPort.pPortName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10386 { &hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_Type,
10387 { "Type", "iremotewinspool.winspool_AsyncSetPrinterDataEx.Type", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10388 { &hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_cbData,
10389 { "CbData", "iremotewinspool.winspool_AsyncSetPrinterDataEx.cbData", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10390 { &hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_hPrinter,
10391 { "HPrinter", "iremotewinspool.winspool_AsyncSetPrinterDataEx.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10392 { &hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pData,
10393 { "PData", "iremotewinspool.winspool_AsyncSetPrinterDataEx.pData", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10394 { &hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pKeyName,
10395 { "PKeyName", "iremotewinspool.winspool_AsyncSetPrinterDataEx.pKeyName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10396 { &hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pValueName,
10397 { "PValueName", "iremotewinspool.winspool_AsyncSetPrinterDataEx.pValueName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10398 { &hf_iremotewinspool_winspool_AsyncSetPrinterData_Type,
10399 { "Type", "iremotewinspool.winspool_AsyncSetPrinterData.Type", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10400 { &hf_iremotewinspool_winspool_AsyncSetPrinterData_cbData,
10401 { "CbData", "iremotewinspool.winspool_AsyncSetPrinterData.cbData", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10402 { &hf_iremotewinspool_winspool_AsyncSetPrinterData_hPrinter,
10403 { "HPrinter", "iremotewinspool.winspool_AsyncSetPrinterData.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10404 { &hf_iremotewinspool_winspool_AsyncSetPrinterData_pData,
10405 { "PData", "iremotewinspool.winspool_AsyncSetPrinterData.pData", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10406 { &hf_iremotewinspool_winspool_AsyncSetPrinterData_pValueName,
10407 { "PValueName", "iremotewinspool.winspool_AsyncSetPrinterData.pValueName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10408 { &hf_iremotewinspool_winspool_AsyncSetPrinter_Command,
10409 { "Command", "iremotewinspool.winspool_AsyncSetPrinter.Command", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10410 { &hf_iremotewinspool_winspool_AsyncSetPrinter_hPrinter,
10411 { "HPrinter", "iremotewinspool.winspool_AsyncSetPrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10412 { &hf_iremotewinspool_winspool_AsyncSetPrinter_pDevModeContainer,
10413 { "PDevModeContainer", "iremotewinspool.winspool_AsyncSetPrinter.pDevModeContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10414 { &hf_iremotewinspool_winspool_AsyncSetPrinter_pPrinterContainer,
10415 { "PPrinterContainer", "iremotewinspool.winspool_AsyncSetPrinter.pPrinterContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10416 { &hf_iremotewinspool_winspool_AsyncSetPrinter_pSecurityContainer,
10417 { "PSecurityContainer", "iremotewinspool.winspool_AsyncSetPrinter.pSecurityContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10418 { &hf_iremotewinspool_winspool_AsyncStartDocPrinter_hPrinter,
10419 { "HPrinter", "iremotewinspool.winspool_AsyncStartDocPrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10420 { &hf_iremotewinspool_winspool_AsyncStartDocPrinter_pDocInfoContainer,
10421 { "PDocInfoContainer", "iremotewinspool.winspool_AsyncStartDocPrinter.pDocInfoContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10422 { &hf_iremotewinspool_winspool_AsyncStartDocPrinter_pJobId,
10423 { "PJobId", "iremotewinspool.winspool_AsyncStartDocPrinter.pJobId", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10424 { &hf_iremotewinspool_winspool_AsyncStartPagePrinter_hPrinter,
10425 { "HPrinter", "iremotewinspool.winspool_AsyncStartPagePrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10426 { &hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_dwFlags,
10427 { "DwFlags", "iremotewinspool.winspool_AsyncUploadPrinterDriverPackage.dwFlags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
10428 { &hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pcchDestInfPath,
10429 { "PcchDestInfPath", "iremotewinspool.winspool_AsyncUploadPrinterDriverPackage.pcchDestInfPath", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10430 { &hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath,
10431 { "PszDestInfPath", "iremotewinspool.winspool_AsyncUploadPrinterDriverPackage.pszDestInfPath", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
10432 { &hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszEnvironment,
10433 { "PszEnvironment", "iremotewinspool.winspool_AsyncUploadPrinterDriverPackage.pszEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10434 { &hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszInfPath,
10435 { "PszInfPath", "iremotewinspool.winspool_AsyncUploadPrinterDriverPackage.pszInfPath", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10436 { &hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszServer,
10437 { "PszServer", "iremotewinspool.winspool_AsyncUploadPrinterDriverPackage.pszServer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10438 { &hf_iremotewinspool_winspool_AsyncWritePrinter_cbBuf,
10439 { "CbBuf", "iremotewinspool.winspool_AsyncWritePrinter.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10440 { &hf_iremotewinspool_winspool_AsyncWritePrinter_hPrinter,
10441 { "HPrinter", "iremotewinspool.winspool_AsyncWritePrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10442 { &hf_iremotewinspool_winspool_AsyncWritePrinter_pBuf,
10443 { "PBuf", "iremotewinspool.winspool_AsyncWritePrinter.pBuf", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10444 { &hf_iremotewinspool_winspool_AsyncWritePrinter_pcWritten,
10445 { "PcWritten", "iremotewinspool.winspool_AsyncWritePrinter.pcWritten", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10446 { &hf_iremotewinspool_winspool_AsyncXcvData_cbInputData,
10447 { "CbInputData", "iremotewinspool.winspool_AsyncXcvData.cbInputData", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10448 { &hf_iremotewinspool_winspool_AsyncXcvData_cbOutputData,
10449 { "CbOutputData", "iremotewinspool.winspool_AsyncXcvData.cbOutputData", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10450 { &hf_iremotewinspool_winspool_AsyncXcvData_hXcv,
10451 { "HXcv", "iremotewinspool.winspool_AsyncXcvData.hXcv", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10452 { &hf_iremotewinspool_winspool_AsyncXcvData_pInputData,
10453 { "PInputData", "iremotewinspool.winspool_AsyncXcvData.pInputData", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10454 { &hf_iremotewinspool_winspool_AsyncXcvData_pOutputData,
10455 { "POutputData", "iremotewinspool.winspool_AsyncXcvData.pOutputData", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10456 { &hf_iremotewinspool_winspool_AsyncXcvData_pcbOutputNeeded,
10457 { "PcbOutputNeeded", "iremotewinspool.winspool_AsyncXcvData.pcbOutputNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10458 { &hf_iremotewinspool_winspool_AsyncXcvData_pdwStatus,
10459 { "PdwStatus", "iremotewinspool.winspool_AsyncXcvData.pdwStatus", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10460 { &hf_iremotewinspool_winspool_AsyncXcvData_pszDataName,
10461 { "PszDataName", "iremotewinspool.winspool_AsyncXcvData.pszDataName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10462 { &hf_iremotewinspool_winspool_InstallPrinterDriverFromPackageFlags_IPDFP_COPY_ALL_FILES,
10463 { "IPDFP COPY ALL FILES", "iremotewinspool.winspool_InstallPrinterDriverFromPackageFlags.IPDFP_COPY_ALL_FILES", FT_BOOLEAN, 32, TFS(&winspool_InstallPrinterDriverFromPackageFlags_IPDFP_COPY_ALL_FILES_tfs), ( 0x00000001 ), NULL, HFILL }},
10464 { &hf_iremotewinspool_winspool_NOTIFY_OPTIONS_CONTAINER_pOptions,
10465 { "POptions", "iremotewinspool.winspool_NOTIFY_OPTIONS_CONTAINER.pOptions", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10466 { &hf_iremotewinspool_winspool_NOTIFY_REPLY_CONTAINER_pInfo,
10467 { "PInfo", "iremotewinspool.winspool_NOTIFY_REPLY_CONTAINER.pInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10468 { &hf_iremotewinspool_winspool_PrintNamedProperty_propertyName,
10469 { "PropertyName", "iremotewinspool.winspool_PrintNamedProperty.propertyName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10470 { &hf_iremotewinspool_winspool_PrintNamedProperty_propertyValue,
10471 { "PropertyValue", "iremotewinspool.winspool_PrintNamedProperty.propertyValue", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10472 { &hf_iremotewinspool_winspool_PrintPropertiesCollection_numberOfProperties,
10473 { "NumberOfProperties", "iremotewinspool.winspool_PrintPropertiesCollection.numberOfProperties", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10474 { &hf_iremotewinspool_winspool_PrintPropertiesCollection_propertiesCollection,
10475 { "PropertiesCollection", "iremotewinspool.winspool_PrintPropertiesCollection.propertiesCollection", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10476 { &hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyByte,
10477 { "PropertyByte", "iremotewinspool.winspool_PrintPropertyValueUnion.propertyByte", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
10478 { &hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyDevModeContainer,
10479 { "PropertyDevModeContainer", "iremotewinspool.winspool_PrintPropertyValueUnion.propertyDevModeContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10480 { &hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyInt32,
10481 { "PropertyInt32", "iremotewinspool.winspool_PrintPropertyValueUnion.propertyInt32", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
10482 { &hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyInt64,
10483 { "PropertyInt64", "iremotewinspool.winspool_PrintPropertyValueUnion.propertyInt64", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
10484 { &hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyOptionsContainer,
10485 { "PropertyOptionsContainer", "iremotewinspool.winspool_PrintPropertyValueUnion.propertyOptionsContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10486 { &hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyReplyContainer,
10487 { "PropertyReplyContainer", "iremotewinspool.winspool_PrintPropertyValueUnion.propertyReplyContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10488 { &hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertySDContainer,
10489 { "PropertySDContainer", "iremotewinspool.winspool_PrintPropertyValueUnion.propertySDContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10490 { &hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyString,
10491 { "PropertyString", "iremotewinspool.winspool_PrintPropertyValueUnion.propertyString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10492 { &hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyTimeContainer,
10493 { "PropertyTimeContainer", "iremotewinspool.winspool_PrintPropertyValueUnion.propertyTimeContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10494 { &hf_iremotewinspool_winspool_PrintPropertyValue_PropertyType,
10495 { "PropertyType", "iremotewinspool.winspool_PrintPropertyValue.PropertyType", FT_UINT1632, BASE_DEC, VALS(iremotewinspool_winspool_PrintPropertyType_vals), 0, NULL, HFILL }},
10496 { &hf_iremotewinspool_winspool_PrintPropertyValue_value,
10497 { "Value", "iremotewinspool.winspool_PrintPropertyValue.value", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10498 { &hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_hRpcHandle,
10499 { "HRpcHandle", "iremotewinspool.winspool_SyncRefreshRemoteNotifications.hRpcHandle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10500 { &hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_pNotifyFilter,
10501 { "PNotifyFilter", "iremotewinspool.winspool_SyncRefreshRemoteNotifications.pNotifyFilter", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10502 { &hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_ppNotifyData,
10503 { "PpNotifyData", "iremotewinspool.winspool_SyncRefreshRemoteNotifications.ppNotifyData", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10504 { &hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_hPrinter,
10505 { "HPrinter", "iremotewinspool.winspool_SyncRegisterForRemoteNotifications.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10506 { &hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_pNotifyFilter,
10507 { "PNotifyFilter", "iremotewinspool.winspool_SyncRegisterForRemoteNotifications.pNotifyFilter", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10508 { &hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_phRpcHandle,
10509 { "PhRpcHandle", "iremotewinspool.winspool_SyncRegisterForRemoteNotifications.phRpcHandle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10510 { &hf_iremotewinspool_winspool_SyncUnRegisterForRemoteNotifications_phRpcHandle,
10511 { "PhRpcHandle", "iremotewinspool.winspool_SyncUnRegisterForRemoteNotifications.phRpcHandle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10512 { &hf_iremotewinspool_winspool_UploadPrinterDriverPackageFlags_UPDP_CHECK_DRIVERSTORE,
10513 { "UPDP CHECK DRIVERSTORE", "iremotewinspool.winspool_UploadPrinterDriverPackageFlags.UPDP_CHECK_DRIVERSTORE", FT_BOOLEAN, 32, TFS(&winspool_UploadPrinterDriverPackageFlags_UPDP_CHECK_DRIVERSTORE_tfs), ( 0x00000004 ), NULL, HFILL }},
10514 { &hf_iremotewinspool_winspool_UploadPrinterDriverPackageFlags_UPDP_UPLOAD_ALWAYS,
10515 { "UPDP UPLOAD ALWAYS", "iremotewinspool.winspool_UploadPrinterDriverPackageFlags.UPDP_UPLOAD_ALWAYS", FT_BOOLEAN, 32, TFS(&winspool_UploadPrinterDriverPackageFlags_UPDP_UPLOAD_ALWAYS_tfs), ( 0x00000002 ), NULL, HFILL }},
10519 static int *ett[] = {
10520 &ett_dcerpc_iremotewinspool,
10521 &ett_iremotewinspool_winspool_NOTIFY_REPLY_CONTAINER,
10522 &ett_iremotewinspool_winspool_NOTIFY_OPTIONS_CONTAINER,
10523 &ett_iremotewinspool_winspool_PrintPropertyValueUnion,
10524 &ett_iremotewinspool_winspool_PrintPropertyValue,
10525 &ett_iremotewinspool_winspool_PrintNamedProperty,
10526 &ett_iremotewinspool_winspool_PrintPropertiesCollection,
10527 &ett_iremotewinspool_winspool_InstallPrinterDriverFromPackageFlags,
10528 &ett_iremotewinspool_winspool_UploadPrinterDriverPackageFlags,
10531 proto_dcerpc_iremotewinspool = proto_register_protocol("IRemoteWinspool SubSystem", "IREMOTEWINSPOOL", "iremotewinspool");
10532 proto_register_field_array(proto_dcerpc_iremotewinspool, hf, array_length (hf));
10533 proto_register_subtree_array(ett, array_length(ett));
10536 void proto_reg_handoff_dcerpc_iremotewinspool(void)
10538 dcerpc_init_uuid(proto_dcerpc_iremotewinspool, ett_dcerpc_iremotewinspool,
10539 &uuid_dcerpc_iremotewinspool, ver_dcerpc_iremotewinspool,
10540 iremotewinspool_dissectors, hf_iremotewinspool_opnum);