epan/dissectors/pidl/samr/samr.cnf cnf_dissect_lsa_BinaryString => lsarpc_dissect_str...
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-winspool.c
blob99f66112fb4533e009764586db5868f47a31c263
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;
1173 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyString, false, &data);
1174 proto_item_append_text(tree, ": %s", data);
1176 return offset;
1179 static int
1180 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_)
1182 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyInt32, 0);
1184 return offset;
1187 static int
1188 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_)
1190 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyInt64, NULL);
1192 return offset;
1195 static int
1196 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_)
1198 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyByte, 0);
1200 return offset;
1203 static int
1204 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_)
1206 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
1208 return offset;
1211 static int
1212 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_)
1214 offset = dissect_DEVMODE_CTR(tvb, offset, pinfo, tree, di, drep);
1216 return offset;
1219 static int
1220 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_)
1222 offset = iremotewinspool_dissect_sec_desc_buf(tvb, offset, pinfo, tree, di, drep);
1224 return offset;
1227 static int
1228 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_)
1230 offset = iremotewinspool_dissect_struct_winspool_NOTIFY_REPLY_CONTAINER(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyReplyContainer,0);
1232 return offset;
1235 static int
1236 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_)
1238 offset = iremotewinspool_dissect_struct_winspool_NOTIFY_OPTIONS_CONTAINER(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyOptionsContainer,0);
1240 return offset;
1243 static int
1244 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_)
1246 proto_item *item = NULL;
1247 proto_tree *tree = NULL;
1248 int old_offset;
1249 uint32_t level;
1251 old_offset = offset;
1252 if (parent_tree) {
1253 tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_iremotewinspool_winspool_PrintPropertyValueUnion, &item, "winspool_PrintPropertyValueUnion");
1256 offset = dissect_ndr_uint1632(tvb, offset, pinfo, tree, di, drep, hf_index, &level);
1257 ALIGN_TO_8_BYTES;
1259 switch(level) {
1260 case winspool_PropertyTypeString:
1261 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyString(tvb, offset, pinfo, tree, di, drep);
1262 break;
1264 case winspool_PropertyTypeInt32:
1265 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyInt32(tvb, offset, pinfo, tree, di, drep);
1266 break;
1268 case winspool_PropertyTypeInt64:
1269 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyInt64(tvb, offset, pinfo, tree, di, drep);
1270 break;
1272 case winspool_PropertyTypeByte:
1273 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyByte(tvb, offset, pinfo, tree, di, drep);
1274 break;
1276 case winspool_PropertyTypeTime:
1277 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyTimeContainer(tvb, offset, pinfo, tree, di, drep);
1278 break;
1280 case winspool_PropertyTypeDevMode:
1281 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyDevModeContainer(tvb, offset, pinfo, tree, di, drep);
1282 break;
1284 case winspool_PropertyTypeSD:
1285 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertySDContainer(tvb, offset, pinfo, tree, di, drep);
1286 break;
1288 case winspool_PropertyTypeNotificationReply:
1289 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyReplyContainer(tvb, offset, pinfo, tree, di, drep);
1290 break;
1292 case winspool_PropertyTypeNotificationOptions:
1293 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyOptionsContainer(tvb, offset, pinfo, tree, di, drep);
1294 break;
1296 proto_item_set_len(item, offset-old_offset);
1299 return offset;
1302 /* IDL: struct { */
1303 /* IDL: winspool_PrintPropertyType PropertyType; */
1304 /* IDL: [switch_is(PropertyType)] winspool_PrintPropertyValueUnion value; */
1305 /* IDL: } */
1307 static int
1308 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)
1310 offset = iremotewinspool_dissect_enum_winspool_PrintPropertyType(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_PrintPropertyValue_PropertyType, PropertyType);
1312 return offset;
1315 static int
1316 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)
1318 offset = iremotewinspool_dissect_winspool_PrintPropertyValueUnion(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_PrintPropertyValue_value, *PropertyType);
1320 return offset;
1324 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_)
1326 uint32_t PropertyType = 0;
1327 proto_item *item = NULL;
1328 proto_tree *tree = NULL;
1329 int old_offset;
1331 ALIGN_TO_8_BYTES;
1333 old_offset = offset;
1335 if (parent_tree) {
1336 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1337 tree = proto_item_add_subtree(item, ett_iremotewinspool_winspool_PrintPropertyValue);
1340 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValue_PropertyType(tvb, offset, pinfo, tree, di, drep, &PropertyType);
1342 offset = iremotewinspool_dissect_element_winspool_PrintPropertyValue_value(tvb, offset, pinfo, tree, di, drep, &PropertyType);
1345 proto_item_set_len(item, offset-old_offset);
1348 if (di->call_data->flags & DCERPC_IS_NDR64) {
1349 ALIGN_TO_8_BYTES;
1352 return offset;
1356 /* IDL: struct { */
1357 /* IDL: [charset(UTF16)] [unique(1)] uint16 *propertyName; */
1358 /* IDL: winspool_PrintPropertyValue propertyValue; */
1359 /* IDL: } */
1361 static int
1362 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_)
1364 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);
1366 return offset;
1369 static int
1370 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_)
1372 char *data;
1374 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_PrintNamedProperty_propertyName, false, &data);
1375 proto_item_append_text(tree, ": %s", data);
1377 return offset;
1380 static int
1381 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_)
1383 offset = iremotewinspool_dissect_struct_winspool_PrintPropertyValue(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_PrintNamedProperty_propertyValue,0);
1385 return offset;
1389 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_)
1391 proto_item *item = NULL;
1392 proto_tree *tree = NULL;
1393 int old_offset;
1395 ALIGN_TO_8_BYTES;
1397 old_offset = offset;
1399 if (parent_tree) {
1400 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1401 tree = proto_item_add_subtree(item, ett_iremotewinspool_winspool_PrintNamedProperty);
1404 offset = iremotewinspool_dissect_element_winspool_PrintNamedProperty_propertyName(tvb, offset, pinfo, tree, di, drep);
1406 offset = iremotewinspool_dissect_element_winspool_PrintNamedProperty_propertyValue(tvb, offset, pinfo, tree, di, drep);
1409 proto_item_set_len(item, offset-old_offset);
1412 if (di->call_data->flags & DCERPC_IS_NDR64) {
1413 ALIGN_TO_8_BYTES;
1416 return offset;
1420 /* IDL: struct { */
1421 /* IDL: [range(0,50)] uint32 numberOfProperties; */
1422 /* IDL: [size_is(numberOfProperties)] [unique(1)] winspool_PrintNamedProperty *propertiesCollection; */
1423 /* IDL: } */
1425 static int
1426 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_)
1428 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_PrintPropertiesCollection_numberOfProperties, 0);
1430 return offset;
1433 static int
1434 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_)
1436 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);
1438 return offset;
1441 static int
1442 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_)
1444 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_PrintPropertiesCollection_propertiesCollection__);
1446 return offset;
1449 static int
1450 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_)
1452 offset = iremotewinspool_dissect_struct_winspool_PrintNamedProperty(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_PrintPropertiesCollection_propertiesCollection,0);
1454 return offset;
1458 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_)
1460 proto_item *item = NULL;
1461 proto_tree *tree = NULL;
1462 int old_offset;
1464 ALIGN_TO_5_BYTES;
1466 old_offset = offset;
1468 if (parent_tree) {
1469 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
1470 tree = proto_item_add_subtree(item, ett_iremotewinspool_winspool_PrintPropertiesCollection);
1473 offset = iremotewinspool_dissect_element_winspool_PrintPropertiesCollection_numberOfProperties(tvb, offset, pinfo, tree, di, drep);
1475 offset = iremotewinspool_dissect_element_winspool_PrintPropertiesCollection_propertiesCollection(tvb, offset, pinfo, tree, di, drep);
1478 proto_item_set_len(item, offset-old_offset);
1481 if (di->call_data->flags & DCERPC_IS_NDR64) {
1482 ALIGN_TO_5_BYTES;
1485 return offset;
1489 /* IDL: bitmap { */
1490 /* IDL: IPDFP_FLAG_NONE = 0x00000000 , */
1491 /* IDL: IPDFP_COPY_ALL_FILES = 0x00000001 , */
1492 /* IDL: } */
1495 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_)
1497 proto_item *item;
1498 static int * const iremotewinspool_winspool_InstallPrinterDriverFromPackageFlags_fields[] = {
1499 &hf_iremotewinspool_winspool_InstallPrinterDriverFromPackageFlags_IPDFP_COPY_ALL_FILES,
1500 NULL
1502 uint32_t flags;
1503 ALIGN_TO_4_BYTES;
1505 item = proto_tree_add_bitmask_with_flags(parent_tree, tvb, offset, hf_index,
1506 ett_iremotewinspool_winspool_InstallPrinterDriverFromPackageFlags, iremotewinspool_winspool_InstallPrinterDriverFromPackageFlags_fields, DREP_ENC_INTEGER(drep), BMT_NO_FALSE);
1508 offset = dissect_ndr_uint32(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);
1510 if (!flags)
1511 proto_item_append_text(item, ": (No values set)");
1513 if (flags & (~0x00000001)) {
1514 flags &= (~0x00000001);
1515 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
1518 return offset;
1522 /* IDL: bitmap { */
1523 /* IDL: UPDP_FLAG_NONE = 0x00000000 , */
1524 /* IDL: UPDP_UPLOAD_ALWAYS = 0x00000002 , */
1525 /* IDL: UPDP_CHECK_DRIVERSTORE = 0x00000004 , */
1526 /* IDL: } */
1529 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_)
1531 proto_item *item;
1532 static int * const iremotewinspool_winspool_UploadPrinterDriverPackageFlags_fields[] = {
1533 &hf_iremotewinspool_winspool_UploadPrinterDriverPackageFlags_UPDP_UPLOAD_ALWAYS,
1534 &hf_iremotewinspool_winspool_UploadPrinterDriverPackageFlags_UPDP_CHECK_DRIVERSTORE,
1535 NULL
1537 uint32_t flags;
1538 ALIGN_TO_4_BYTES;
1540 item = proto_tree_add_bitmask_with_flags(parent_tree, tvb, offset, hf_index,
1541 ett_iremotewinspool_winspool_UploadPrinterDriverPackageFlags, iremotewinspool_winspool_UploadPrinterDriverPackageFlags_fields, DREP_ENC_INTEGER(drep), BMT_NO_FALSE);
1543 offset = dissect_ndr_uint32(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);
1545 if (!flags)
1546 proto_item_append_text(item, ": (No values set)");
1548 if (flags & (~0x00000006)) {
1549 flags &= (~0x00000006);
1550 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
1553 return offset;
1556 static int
1557 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_)
1559 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);
1561 return offset;
1564 static int
1565 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_)
1567 char *data;
1569 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncOpenPrinter_pPrinterName, false, &data);
1570 proto_item_append_text(tree, ": %s", data);
1572 return offset;
1575 static int
1576 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_)
1578 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);
1580 return offset;
1583 static int
1584 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_)
1586 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncOpenPrinter_pHandle, 0);
1588 return offset;
1591 static int
1592 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_)
1594 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);
1596 return offset;
1599 static int
1600 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_)
1602 char *data;
1604 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncOpenPrinter_pDatatype, false, &data);
1605 proto_item_append_text(tree, ": %s", data);
1607 return offset;
1610 static int
1611 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_)
1613 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);
1615 return offset;
1618 static int
1619 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_)
1621 offset = dissect_DEVMODE_CTR(tvb, offset, pinfo, tree, di, drep);
1623 return offset;
1626 static int
1627 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_)
1629 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncOpenPrinter_AccessRequired, 0);
1631 return offset;
1634 static int
1635 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_)
1637 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);
1639 return offset;
1642 static int
1643 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_)
1645 offset = dissect_USER_LEVEL_CTR(tvb, offset, pinfo, tree, di, drep);
1647 return offset;
1650 /* IDL: WERROR winspool_AsyncOpenPrinter( */
1651 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pPrinterName, */
1652 /* IDL: [out] [ref] policy_handle *pHandle, */
1653 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pDatatype, */
1654 /* IDL: [in] [ref] spoolss_DevmodeContainer *pDevModeContainer, */
1655 /* IDL: [in] uint32 AccessRequired, */
1656 /* IDL: [in] [ref] spoolss_UserLevelCtr *pClientInfo */
1657 /* IDL: ); */
1659 static int
1660 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_)
1662 uint32_t status;
1664 di->dcerpc_procedure_name="winspool_AsyncOpenPrinter";
1665 offset = iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pHandle(tvb, offset, pinfo, tree, di, drep);
1666 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1668 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
1670 if (status != 0)
1671 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
1673 return offset;
1676 static int
1677 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_)
1679 di->dcerpc_procedure_name="winspool_AsyncOpenPrinter";
1680 offset = iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pPrinterName(tvb, offset, pinfo, tree, di, drep);
1681 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1682 offset = iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pDatatype(tvb, offset, pinfo, tree, di, drep);
1683 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1684 offset = iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pDevModeContainer(tvb, offset, pinfo, tree, di, drep);
1685 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1686 offset = iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_AccessRequired(tvb, offset, pinfo, tree, di, drep);
1687 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1688 offset = iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pClientInfo(tvb, offset, pinfo, tree, di, drep);
1689 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1690 return offset;
1693 static int
1694 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_)
1696 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);
1698 return offset;
1701 static int
1702 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_)
1704 char *data;
1706 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPrinter_pName, false, &data);
1707 proto_item_append_text(tree, ": %s", data);
1709 return offset;
1712 static int
1713 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_)
1715 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);
1717 return offset;
1720 static int
1721 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_)
1723 offset = dissect_SPOOL_PRINTER_INFO(tvb, offset, pinfo, tree, di, drep);
1725 return offset;
1728 static int
1729 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_)
1731 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);
1733 return offset;
1736 static int
1737 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_)
1739 offset = dissect_DEVMODE_CTR(tvb, offset, pinfo, tree, di, drep);
1741 return offset;
1744 static int
1745 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_)
1747 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);
1749 return offset;
1752 static int
1753 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_)
1755 offset = iremotewinspool_dissect_sec_desc_buf(tvb, offset, pinfo, tree, di, drep);
1757 return offset;
1760 static int
1761 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_)
1763 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);
1765 return offset;
1768 static int
1769 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_)
1771 offset = dissect_USER_LEVEL_CTR(tvb, offset, pinfo, tree, di, drep);
1773 return offset;
1776 static int
1777 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_)
1779 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);
1781 return offset;
1784 static int
1785 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_)
1787 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddPrinter_pHandle, 0);
1789 return offset;
1792 /* IDL: WERROR winspool_AsyncAddPrinter( */
1793 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
1794 /* IDL: [in] [ref] spoolss_SetPrinterInfoCtr *pPrinterContainer, */
1795 /* IDL: [in] [ref] spoolss_DevmodeContainer *pDevModeContainer, */
1796 /* IDL: [in] [ref] sec_desc_buf *pSecurityContainer, */
1797 /* IDL: [in] [ref] spoolss_UserLevelCtr *pClientInfo, */
1798 /* IDL: [out] [ref] policy_handle *pHandle */
1799 /* IDL: ); */
1801 static int
1802 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_)
1804 uint32_t status;
1806 di->dcerpc_procedure_name="winspool_AsyncAddPrinter";
1807 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pHandle(tvb, offset, pinfo, tree, di, drep);
1808 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1810 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
1812 if (status != 0)
1813 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
1815 return offset;
1818 static int
1819 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_)
1821 di->dcerpc_procedure_name="winspool_AsyncAddPrinter";
1822 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pName(tvb, offset, pinfo, tree, di, drep);
1823 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1824 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pPrinterContainer(tvb, offset, pinfo, tree, di, drep);
1825 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1826 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pDevModeContainer(tvb, offset, pinfo, tree, di, drep);
1827 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1828 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pSecurityContainer(tvb, offset, pinfo, tree, di, drep);
1829 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1830 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pClientInfo(tvb, offset, pinfo, tree, di, drep);
1831 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1832 return offset;
1835 static int
1836 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_)
1838 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetJob_hPrinter, 0);
1840 return offset;
1843 static int
1844 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_)
1846 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetJob_JobId, 0);
1848 return offset;
1851 static int
1852 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_)
1854 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);
1856 return offset;
1859 static int
1860 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_)
1862 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
1864 return offset;
1867 static int
1868 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_)
1870 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetJob_Command, 0);
1872 return offset;
1875 /* IDL: WERROR winspool_AsyncSetJob( */
1876 /* IDL: [in] policy_handle hPrinter, */
1877 /* IDL: [in] uint32 JobId, */
1878 /* IDL: [in] [unique(1)] spoolss_JobInfoContainer *pJobContainer, */
1879 /* IDL: [in] uint32 Command */
1880 /* IDL: ); */
1882 static int
1883 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_)
1885 uint32_t status;
1887 di->dcerpc_procedure_name="winspool_AsyncSetJob";
1888 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
1890 if (status != 0)
1891 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
1893 return offset;
1896 static int
1897 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_)
1899 di->dcerpc_procedure_name="winspool_AsyncSetJob";
1900 offset = iremotewinspool_dissect_element_winspool_AsyncSetJob_hPrinter(tvb, offset, pinfo, tree, di, drep);
1901 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1902 offset = iremotewinspool_dissect_element_winspool_AsyncSetJob_JobId(tvb, offset, pinfo, tree, di, drep);
1903 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1904 offset = iremotewinspool_dissect_element_winspool_AsyncSetJob_pJobContainer(tvb, offset, pinfo, tree, di, drep);
1905 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1906 offset = iremotewinspool_dissect_element_winspool_AsyncSetJob_Command(tvb, offset, pinfo, tree, di, drep);
1907 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
1908 return offset;
1911 static int
1912 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_)
1914 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJob_hPrinter, 0);
1916 return offset;
1919 static int
1920 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_)
1922 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJob_JobId, 0);
1924 return offset;
1927 static int
1928 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_)
1930 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJob_Level, 0);
1932 return offset;
1935 static int
1936 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_)
1938 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);
1940 return offset;
1943 static int
1944 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_)
1946 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetJob_pJob__);
1948 return offset;
1951 static int
1952 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_)
1954 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJob_pJob, 0);
1956 return offset;
1959 static int
1960 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_)
1962 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJob_cbBuf, 0);
1964 return offset;
1967 static int
1968 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_)
1970 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);
1972 return offset;
1975 static int
1976 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_)
1978 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJob_pcbNeeded, 0);
1980 return offset;
1983 /* IDL: WERROR winspool_AsyncGetJob( */
1984 /* IDL: [in] policy_handle hPrinter, */
1985 /* IDL: [in] uint32 JobId, */
1986 /* IDL: [in] uint32 Level, */
1987 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pJob, */
1988 /* IDL: [in] uint32 cbBuf, */
1989 /* IDL: [out] [ref] uint32 *pcbNeeded */
1990 /* IDL: ); */
1992 static int
1993 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_)
1995 uint32_t status;
1997 di->dcerpc_procedure_name="winspool_AsyncGetJob";
1998 offset = iremotewinspool_dissect_element_winspool_AsyncGetJob_pJob(tvb, offset, pinfo, tree, di, drep);
1999 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2001 offset = iremotewinspool_dissect_element_winspool_AsyncGetJob_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
2002 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2004 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2006 if (status != 0)
2007 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2009 return offset;
2012 static int
2013 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_)
2015 di->dcerpc_procedure_name="winspool_AsyncGetJob";
2016 offset = iremotewinspool_dissect_element_winspool_AsyncGetJob_hPrinter(tvb, offset, pinfo, tree, di, drep);
2017 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2018 offset = iremotewinspool_dissect_element_winspool_AsyncGetJob_JobId(tvb, offset, pinfo, tree, di, drep);
2019 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2020 offset = iremotewinspool_dissect_element_winspool_AsyncGetJob_Level(tvb, offset, pinfo, tree, di, drep);
2021 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2022 offset = iremotewinspool_dissect_element_winspool_AsyncGetJob_pJob(tvb, offset, pinfo, tree, di, drep);
2023 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2024 offset = iremotewinspool_dissect_element_winspool_AsyncGetJob_cbBuf(tvb, offset, pinfo, tree, di, drep);
2025 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2026 return offset;
2029 static int
2030 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_)
2032 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_hPrinter, 0);
2034 return offset;
2037 static int
2038 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_)
2040 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_FirstJob, 0);
2042 return offset;
2045 static int
2046 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_)
2048 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_NoJobs, 0);
2050 return offset;
2053 static int
2054 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_)
2056 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_Level, 0);
2058 return offset;
2061 static int
2062 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_)
2064 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);
2066 return offset;
2069 static int
2070 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_)
2072 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pJob__);
2074 return offset;
2077 static int
2078 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_)
2080 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_pJob, 0);
2082 return offset;
2085 static int
2086 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_)
2088 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_cbBuf, 0);
2090 return offset;
2093 static int
2094 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_)
2096 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);
2098 return offset;
2101 static int
2102 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_)
2104 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_pcbNeeded, 0);
2106 return offset;
2109 static int
2110 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_)
2112 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);
2114 return offset;
2117 static int
2118 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_)
2120 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_pcReturned, 0);
2122 return offset;
2125 /* IDL: WERROR winspool_AsyncEnumJobs( */
2126 /* IDL: [in] policy_handle hPrinter, */
2127 /* IDL: [in] uint32 FirstJob, */
2128 /* IDL: [in] uint32 NoJobs, */
2129 /* IDL: [in] uint32 Level, */
2130 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pJob, */
2131 /* IDL: [in] uint32 cbBuf, */
2132 /* IDL: [out] [ref] uint32 *pcbNeeded, */
2133 /* IDL: [out] [ref] uint32 *pcReturned */
2134 /* IDL: ); */
2136 static int
2137 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_)
2139 uint32_t status;
2141 di->dcerpc_procedure_name="winspool_AsyncEnumJobs";
2142 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pJob(tvb, offset, pinfo, tree, di, drep);
2143 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2145 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
2146 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2148 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pcReturned(tvb, offset, pinfo, tree, di, drep);
2149 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2151 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2153 if (status != 0)
2154 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2156 return offset;
2159 static int
2160 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_)
2162 di->dcerpc_procedure_name="winspool_AsyncEnumJobs";
2163 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobs_hPrinter(tvb, offset, pinfo, tree, di, drep);
2164 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2165 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobs_FirstJob(tvb, offset, pinfo, tree, di, drep);
2166 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2167 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobs_NoJobs(tvb, offset, pinfo, tree, di, drep);
2168 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2169 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobs_Level(tvb, offset, pinfo, tree, di, drep);
2170 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2171 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pJob(tvb, offset, pinfo, tree, di, drep);
2172 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2173 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobs_cbBuf(tvb, offset, pinfo, tree, di, drep);
2174 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2175 return offset;
2178 static int
2179 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_)
2181 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddJob_hPrinter, 0);
2183 return offset;
2186 static int
2187 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_)
2189 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddJob_Level, 0);
2191 return offset;
2194 static int
2195 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_)
2197 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);
2199 return offset;
2202 static int
2203 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_)
2205 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddJob_pAddJob__);
2207 return offset;
2210 static int
2211 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_)
2213 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddJob_pAddJob, 0);
2215 return offset;
2218 static int
2219 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_)
2221 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddJob_cbBuf, 0);
2223 return offset;
2226 static int
2227 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_)
2229 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);
2231 return offset;
2234 static int
2235 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_)
2237 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddJob_pcbNeeded, 0);
2239 return offset;
2242 /* IDL: WERROR winspool_AsyncAddJob( */
2243 /* IDL: [in] policy_handle hPrinter, */
2244 /* IDL: [in] uint32 Level, */
2245 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pAddJob, */
2246 /* IDL: [in] uint32 cbBuf, */
2247 /* IDL: [out] [ref] uint32 *pcbNeeded */
2248 /* IDL: ); */
2250 static int
2251 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_)
2253 uint32_t status;
2255 di->dcerpc_procedure_name="winspool_AsyncAddJob";
2256 offset = iremotewinspool_dissect_element_winspool_AsyncAddJob_pAddJob(tvb, offset, pinfo, tree, di, drep);
2257 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2259 offset = iremotewinspool_dissect_element_winspool_AsyncAddJob_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
2260 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2262 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2264 if (status != 0)
2265 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2267 return offset;
2270 static int
2271 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_)
2273 di->dcerpc_procedure_name="winspool_AsyncAddJob";
2274 offset = iremotewinspool_dissect_element_winspool_AsyncAddJob_hPrinter(tvb, offset, pinfo, tree, di, drep);
2275 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2276 offset = iremotewinspool_dissect_element_winspool_AsyncAddJob_Level(tvb, offset, pinfo, tree, di, drep);
2277 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2278 offset = iremotewinspool_dissect_element_winspool_AsyncAddJob_pAddJob(tvb, offset, pinfo, tree, di, drep);
2279 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2280 offset = iremotewinspool_dissect_element_winspool_AsyncAddJob_cbBuf(tvb, offset, pinfo, tree, di, drep);
2281 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2282 return offset;
2285 static int
2286 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_)
2288 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncScheduleJob_hPrinter, 0);
2290 return offset;
2293 static int
2294 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_)
2296 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncScheduleJob_JobId, 0);
2298 return offset;
2301 /* IDL: WERROR winspool_AsyncScheduleJob( */
2302 /* IDL: [in] policy_handle hPrinter, */
2303 /* IDL: [in] uint32 JobId */
2304 /* IDL: ); */
2306 static int
2307 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_)
2309 uint32_t status;
2311 di->dcerpc_procedure_name="winspool_AsyncScheduleJob";
2312 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2314 if (status != 0)
2315 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2317 return offset;
2320 static int
2321 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_)
2323 di->dcerpc_procedure_name="winspool_AsyncScheduleJob";
2324 offset = iremotewinspool_dissect_element_winspool_AsyncScheduleJob_hPrinter(tvb, offset, pinfo, tree, di, drep);
2325 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2326 offset = iremotewinspool_dissect_element_winspool_AsyncScheduleJob_JobId(tvb, offset, pinfo, tree, di, drep);
2327 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2328 return offset;
2331 static int
2332 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_)
2334 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinter_hPrinter, 0);
2336 return offset;
2339 /* IDL: WERROR winspool_AsyncDeletePrinter( */
2340 /* IDL: [in] policy_handle hPrinter */
2341 /* IDL: ); */
2343 static int
2344 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_)
2346 uint32_t status;
2348 di->dcerpc_procedure_name="winspool_AsyncDeletePrinter";
2349 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2351 if (status != 0)
2352 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2354 return offset;
2357 static int
2358 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_)
2360 di->dcerpc_procedure_name="winspool_AsyncDeletePrinter";
2361 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
2362 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2363 return offset;
2366 static int
2367 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_)
2369 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinter_hPrinter, 0);
2371 return offset;
2374 static int
2375 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_)
2377 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);
2379 return offset;
2382 static int
2383 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_)
2385 offset = dissect_SPOOL_PRINTER_INFO(tvb, offset, pinfo, tree, di, drep);
2387 return offset;
2390 static int
2391 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_)
2393 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);
2395 return offset;
2398 static int
2399 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_)
2401 offset = dissect_DEVMODE_CTR(tvb, offset, pinfo, tree, di, drep);
2403 return offset;
2406 static int
2407 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_)
2409 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);
2411 return offset;
2414 static int
2415 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_)
2417 offset = iremotewinspool_dissect_sec_desc_buf(tvb, offset, pinfo, tree, di, drep);
2419 return offset;
2422 static int
2423 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_)
2425 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinter_Command, 0);
2427 return offset;
2430 /* IDL: WERROR winspool_AsyncSetPrinter( */
2431 /* IDL: [in] policy_handle hPrinter, */
2432 /* IDL: [in] [ref] spoolss_SetPrinterInfoCtr *pPrinterContainer, */
2433 /* IDL: [in] [ref] spoolss_DevmodeContainer *pDevModeContainer, */
2434 /* IDL: [in] [ref] sec_desc_buf *pSecurityContainer, */
2435 /* IDL: [in] uint32 Command */
2436 /* IDL: ); */
2438 static int
2439 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_)
2441 uint32_t status;
2443 di->dcerpc_procedure_name="winspool_AsyncSetPrinter";
2444 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2446 if (status != 0)
2447 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2449 return offset;
2452 static int
2453 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_)
2455 di->dcerpc_procedure_name="winspool_AsyncSetPrinter";
2456 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
2457 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2458 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pPrinterContainer(tvb, offset, pinfo, tree, di, drep);
2459 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2460 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pDevModeContainer(tvb, offset, pinfo, tree, di, drep);
2461 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2462 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pSecurityContainer(tvb, offset, pinfo, tree, di, drep);
2463 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2464 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinter_Command(tvb, offset, pinfo, tree, di, drep);
2465 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2466 return offset;
2469 static int
2470 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_)
2472 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinter_hPrinter, 0);
2474 return offset;
2477 static int
2478 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_)
2480 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinter_Level, 0);
2482 return offset;
2485 static int
2486 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_)
2488 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);
2490 return offset;
2493 static int
2494 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_)
2496 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pPrinter__);
2498 return offset;
2501 static int
2502 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_)
2504 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinter_pPrinter, 0);
2506 return offset;
2509 static int
2510 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_)
2512 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinter_cbBuf, 0);
2514 return offset;
2517 static int
2518 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_)
2520 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);
2522 return offset;
2525 static int
2526 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_)
2528 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinter_pcbNeeded, 0);
2530 return offset;
2533 /* IDL: WERROR winspool_AsyncGetPrinter( */
2534 /* IDL: [in] policy_handle hPrinter, */
2535 /* IDL: [in] uint32 Level, */
2536 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pPrinter, */
2537 /* IDL: [in] uint32 cbBuf, */
2538 /* IDL: [out] [ref] uint32 *pcbNeeded */
2539 /* IDL: ); */
2541 static int
2542 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_)
2544 uint32_t status;
2546 di->dcerpc_procedure_name="winspool_AsyncGetPrinter";
2547 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pPrinter(tvb, offset, pinfo, tree, di, drep);
2548 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2550 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
2551 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2553 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2555 if (status != 0)
2556 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2558 return offset;
2561 static int
2562 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_)
2564 di->dcerpc_procedure_name="winspool_AsyncGetPrinter";
2565 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
2566 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2567 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinter_Level(tvb, offset, pinfo, tree, di, drep);
2568 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2569 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pPrinter(tvb, offset, pinfo, tree, di, drep);
2570 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2571 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinter_cbBuf(tvb, offset, pinfo, tree, di, drep);
2572 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2573 return offset;
2576 static int
2577 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_)
2579 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncStartDocPrinter_hPrinter, 0);
2581 return offset;
2584 static int
2585 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_)
2587 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);
2589 return offset;
2592 static int
2593 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_)
2595 offset = dissect_spoolss_doc_info_ctr(tvb, offset, pinfo, tree, di, drep);
2597 return offset;
2600 static int
2601 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_)
2603 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);
2605 return offset;
2608 static int
2609 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_)
2611 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncStartDocPrinter_pJobId, 0);
2613 return offset;
2616 /* IDL: WERROR winspool_AsyncStartDocPrinter( */
2617 /* IDL: [in] policy_handle hPrinter, */
2618 /* IDL: [in] [ref] spoolss_DocumentInfoCtr *pDocInfoContainer, */
2619 /* IDL: [out] [ref] uint32 *pJobId */
2620 /* IDL: ); */
2622 static int
2623 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_)
2625 uint32_t status;
2627 di->dcerpc_procedure_name="winspool_AsyncStartDocPrinter";
2628 offset = iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_pJobId(tvb, offset, pinfo, tree, di, drep);
2629 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2631 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2633 if (status != 0)
2634 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2636 return offset;
2639 static int
2640 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_)
2642 di->dcerpc_procedure_name="winspool_AsyncStartDocPrinter";
2643 offset = iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
2644 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2645 offset = iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_pDocInfoContainer(tvb, offset, pinfo, tree, di, drep);
2646 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2647 return offset;
2650 static int
2651 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_)
2653 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncStartPagePrinter_hPrinter, 0);
2655 return offset;
2658 /* IDL: WERROR winspool_AsyncStartPagePrinter( */
2659 /* IDL: [in] policy_handle hPrinter */
2660 /* IDL: ); */
2662 static int
2663 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_)
2665 uint32_t status;
2667 di->dcerpc_procedure_name="winspool_AsyncStartPagePrinter";
2668 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2670 if (status != 0)
2671 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2673 return offset;
2676 static int
2677 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_)
2679 di->dcerpc_procedure_name="winspool_AsyncStartPagePrinter";
2680 offset = iremotewinspool_dissect_element_winspool_AsyncStartPagePrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
2681 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2682 return offset;
2685 static int
2686 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_)
2688 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncWritePrinter_hPrinter, 0);
2690 return offset;
2693 static int
2694 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_)
2696 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);
2698 return offset;
2701 static int
2702 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_)
2704 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pBuf__);
2706 return offset;
2709 static int
2710 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_)
2712 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncWritePrinter_pBuf, 0);
2714 return offset;
2717 static int
2718 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_)
2720 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncWritePrinter_cbBuf, 0);
2722 return offset;
2725 static int
2726 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_)
2728 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);
2730 return offset;
2733 static int
2734 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_)
2736 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncWritePrinter_pcWritten, 0);
2738 return offset;
2741 /* IDL: WERROR winspool_AsyncWritePrinter( */
2742 /* IDL: [in] policy_handle hPrinter, */
2743 /* IDL: [in] [ref] [size_is(cbBuf)] uint8 *pBuf, */
2744 /* IDL: [in] uint32 cbBuf, */
2745 /* IDL: [out] [ref] uint32 *pcWritten */
2746 /* IDL: ); */
2748 static int
2749 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_)
2751 uint32_t status;
2753 di->dcerpc_procedure_name="winspool_AsyncWritePrinter";
2754 offset = iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pcWritten(tvb, offset, pinfo, tree, di, drep);
2755 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2757 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2759 if (status != 0)
2760 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2762 return offset;
2765 static int
2766 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_)
2768 di->dcerpc_procedure_name="winspool_AsyncWritePrinter";
2769 offset = iremotewinspool_dissect_element_winspool_AsyncWritePrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
2770 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2771 offset = iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pBuf(tvb, offset, pinfo, tree, di, drep);
2772 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2773 offset = iremotewinspool_dissect_element_winspool_AsyncWritePrinter_cbBuf(tvb, offset, pinfo, tree, di, drep);
2774 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2775 return offset;
2778 static int
2779 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_)
2781 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEndPagePrinter_hPrinter, 0);
2783 return offset;
2786 /* IDL: WERROR winspool_AsyncEndPagePrinter( */
2787 /* IDL: [in] policy_handle hPrinter */
2788 /* IDL: ); */
2790 static int
2791 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_)
2793 uint32_t status;
2795 di->dcerpc_procedure_name="winspool_AsyncEndPagePrinter";
2796 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2798 if (status != 0)
2799 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2801 return offset;
2804 static int
2805 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_)
2807 di->dcerpc_procedure_name="winspool_AsyncEndPagePrinter";
2808 offset = iremotewinspool_dissect_element_winspool_AsyncEndPagePrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
2809 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2810 return offset;
2813 static int
2814 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_)
2816 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEndDocPrinter_hPrinter, 0);
2818 return offset;
2821 /* IDL: WERROR winspool_AsyncEndDocPrinter( */
2822 /* IDL: [in] policy_handle hPrinter */
2823 /* IDL: ); */
2825 static int
2826 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_)
2828 uint32_t status;
2830 di->dcerpc_procedure_name="winspool_AsyncEndDocPrinter";
2831 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2833 if (status != 0)
2834 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2836 return offset;
2839 static int
2840 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_)
2842 di->dcerpc_procedure_name="winspool_AsyncEndDocPrinter";
2843 offset = iremotewinspool_dissect_element_winspool_AsyncEndDocPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
2844 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2845 return offset;
2848 static int
2849 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_)
2851 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAbortPrinter_hPrinter, 0);
2853 return offset;
2856 /* IDL: WERROR winspool_AsyncAbortPrinter( */
2857 /* IDL: [in] policy_handle hPrinter */
2858 /* IDL: ); */
2860 static int
2861 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_)
2863 uint32_t status;
2865 di->dcerpc_procedure_name="winspool_AsyncAbortPrinter";
2866 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
2868 if (status != 0)
2869 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
2871 return offset;
2874 static int
2875 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_)
2877 di->dcerpc_procedure_name="winspool_AsyncAbortPrinter";
2878 offset = iremotewinspool_dissect_element_winspool_AsyncAbortPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
2879 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2880 return offset;
2883 static int
2884 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_)
2886 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterData_hPrinter, 0);
2888 return offset;
2891 static int
2892 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_)
2894 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);
2896 return offset;
2899 static int
2900 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_)
2902 char *data;
2904 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterData_pValueName, false, &data);
2905 proto_item_append_text(tree, ": %s", data);
2907 return offset;
2910 static int
2911 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_)
2913 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);
2915 return offset;
2918 static int
2919 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_)
2921 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterData_pType, 0);
2923 return offset;
2926 static int
2927 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_)
2929 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);
2931 return offset;
2934 static int
2935 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_)
2937 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pData__);
2939 return offset;
2942 static int
2943 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_)
2945 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterData_pData, 0);
2947 return offset;
2950 static int
2951 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_)
2953 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterData_nSize, 0);
2955 return offset;
2958 static int
2959 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_)
2961 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);
2963 return offset;
2966 static int
2967 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_)
2969 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterData_pcbNeeded, 0);
2971 return offset;
2974 /* IDL: WERROR winspool_AsyncGetPrinterData( */
2975 /* IDL: [in] policy_handle hPrinter, */
2976 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pValueName, */
2977 /* IDL: [out] [ref] uint32 *pType, */
2978 /* IDL: [out] [ref] [size_is(nSize)] uint8 *pData, */
2979 /* IDL: [in] uint32 nSize, */
2980 /* IDL: [out] [ref] uint32 *pcbNeeded */
2981 /* IDL: ); */
2983 static int
2984 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_)
2986 uint32_t status;
2988 di->dcerpc_procedure_name="winspool_AsyncGetPrinterData";
2989 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pType(tvb, offset, pinfo, tree, di, drep);
2990 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2992 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pData(tvb, offset, pinfo, tree, di, drep);
2993 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2995 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
2996 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
2998 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
3000 if (status != 0)
3001 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3003 return offset;
3006 static int
3007 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_)
3009 di->dcerpc_procedure_name="winspool_AsyncGetPrinterData";
3010 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_hPrinter(tvb, offset, pinfo, tree, di, drep);
3011 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3012 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pValueName(tvb, offset, pinfo, tree, di, drep);
3013 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3014 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_nSize(tvb, offset, pinfo, tree, di, drep);
3015 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3016 return offset;
3019 static int
3020 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_)
3022 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_hPrinter, 0);
3024 return offset;
3027 static int
3028 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_)
3030 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);
3032 return offset;
3035 static int
3036 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_)
3038 char *data;
3040 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pKeyName, false, &data);
3041 proto_item_append_text(tree, ": %s", data);
3043 return offset;
3046 static int
3047 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_)
3049 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);
3051 return offset;
3054 static int
3055 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_)
3057 char *data;
3059 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pValueName, false, &data);
3060 proto_item_append_text(tree, ": %s", data);
3062 return offset;
3065 static int
3066 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_)
3068 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);
3070 return offset;
3073 static int
3074 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_)
3076 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pType, 0);
3078 return offset;
3081 static int
3082 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_)
3084 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);
3086 return offset;
3089 static int
3090 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_)
3092 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pData__);
3094 return offset;
3097 static int
3098 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_)
3100 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pData, 0);
3102 return offset;
3105 static int
3106 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_)
3108 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_nSize, 0);
3110 return offset;
3113 static int
3114 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_)
3116 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);
3118 return offset;
3121 static int
3122 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_)
3124 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pcbNeeded, 0);
3126 return offset;
3129 /* IDL: WERROR winspool_AsyncGetPrinterDataEx( */
3130 /* IDL: [in] policy_handle hPrinter, */
3131 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pKeyName, */
3132 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pValueName, */
3133 /* IDL: [out] [ref] uint32 *pType, */
3134 /* IDL: [out] [ref] [size_is(nSize)] uint8 *pData, */
3135 /* IDL: [in] uint32 nSize, */
3136 /* IDL: [out] [ref] uint32 *pcbNeeded */
3137 /* IDL: ); */
3139 static int
3140 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_)
3142 uint32_t status;
3144 di->dcerpc_procedure_name="winspool_AsyncGetPrinterDataEx";
3145 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pType(tvb, offset, pinfo, tree, di, drep);
3146 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3148 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pData(tvb, offset, pinfo, tree, di, drep);
3149 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3151 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
3152 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3154 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
3156 if (status != 0)
3157 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3159 return offset;
3162 static int
3163 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_)
3165 di->dcerpc_procedure_name="winspool_AsyncGetPrinterDataEx";
3166 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_hPrinter(tvb, offset, pinfo, tree, di, drep);
3167 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3168 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pKeyName(tvb, offset, pinfo, tree, di, drep);
3169 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3170 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pValueName(tvb, offset, pinfo, tree, di, drep);
3171 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3172 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_nSize(tvb, offset, pinfo, tree, di, drep);
3173 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3174 return offset;
3177 static int
3178 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_)
3180 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterData_hPrinter, 0);
3182 return offset;
3185 static int
3186 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_)
3188 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);
3190 return offset;
3193 static int
3194 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_)
3196 char *data;
3198 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSetPrinterData_pValueName, false, &data);
3199 proto_item_append_text(tree, ": %s", data);
3201 return offset;
3204 static int
3205 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_)
3207 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterData_Type, 0);
3209 return offset;
3212 static int
3213 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_)
3215 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);
3217 return offset;
3220 static int
3221 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_)
3223 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pData__);
3225 return offset;
3228 static int
3229 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_)
3231 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterData_pData, 0);
3233 return offset;
3236 static int
3237 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_)
3239 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterData_cbData, 0);
3241 return offset;
3244 /* IDL: WERROR winspool_AsyncSetPrinterData( */
3245 /* IDL: [in] policy_handle hPrinter, */
3246 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pValueName, */
3247 /* IDL: [in] uint32 Type, */
3248 /* IDL: [in] [ref] [size_is(cbData)] uint8 *pData, */
3249 /* IDL: [in] uint32 cbData */
3250 /* IDL: ); */
3252 static int
3253 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_)
3255 uint32_t status;
3257 di->dcerpc_procedure_name="winspool_AsyncSetPrinterData";
3258 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
3260 if (status != 0)
3261 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3263 return offset;
3266 static int
3267 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_)
3269 di->dcerpc_procedure_name="winspool_AsyncSetPrinterData";
3270 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_hPrinter(tvb, offset, pinfo, tree, di, drep);
3271 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3272 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pValueName(tvb, offset, pinfo, tree, di, drep);
3273 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3274 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_Type(tvb, offset, pinfo, tree, di, drep);
3275 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3276 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pData(tvb, offset, pinfo, tree, di, drep);
3277 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3278 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_cbData(tvb, offset, pinfo, tree, di, drep);
3279 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3280 return offset;
3283 static int
3284 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_)
3286 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_hPrinter, 0);
3288 return offset;
3291 static int
3292 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_)
3294 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);
3296 return offset;
3299 static int
3300 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_)
3302 char *data;
3304 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pKeyName, false, &data);
3305 proto_item_append_text(tree, ": %s", data);
3307 return offset;
3310 static int
3311 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_)
3313 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);
3315 return offset;
3318 static int
3319 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_)
3321 char *data;
3323 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pValueName, false, &data);
3324 proto_item_append_text(tree, ": %s", data);
3326 return offset;
3329 static int
3330 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_)
3332 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_Type, 0);
3334 return offset;
3337 static int
3338 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_)
3340 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);
3342 return offset;
3345 static int
3346 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_)
3348 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pData__);
3350 return offset;
3353 static int
3354 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_)
3356 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pData, 0);
3358 return offset;
3361 static int
3362 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_)
3364 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_cbData, 0);
3366 return offset;
3369 /* IDL: WERROR winspool_AsyncSetPrinterDataEx( */
3370 /* IDL: [in] policy_handle hPrinter, */
3371 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pKeyName, */
3372 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pValueName, */
3373 /* IDL: [in] uint32 Type, */
3374 /* IDL: [in] [ref] [size_is(cbData)] uint8 *pData, */
3375 /* IDL: [in] uint32 cbData */
3376 /* IDL: ); */
3378 static int
3379 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_)
3381 uint32_t status;
3383 di->dcerpc_procedure_name="winspool_AsyncSetPrinterDataEx";
3384 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
3386 if (status != 0)
3387 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3389 return offset;
3392 static int
3393 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_)
3395 di->dcerpc_procedure_name="winspool_AsyncSetPrinterDataEx";
3396 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_hPrinter(tvb, offset, pinfo, tree, di, drep);
3397 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3398 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pKeyName(tvb, offset, pinfo, tree, di, drep);
3399 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3400 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pValueName(tvb, offset, pinfo, tree, di, drep);
3401 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3402 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_Type(tvb, offset, pinfo, tree, di, drep);
3403 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3404 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pData(tvb, offset, pinfo, tree, di, drep);
3405 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3406 offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_cbData(tvb, offset, pinfo, tree, di, drep);
3407 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3408 return offset;
3411 static int
3412 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_)
3414 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);
3416 return offset;
3419 static int
3420 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_)
3422 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncClosePrinter_phPrinter, 0);
3424 return offset;
3427 /* IDL: WERROR winspool_AsyncClosePrinter( */
3428 /* IDL: [in] [out] [ref] policy_handle *phPrinter */
3429 /* IDL: ); */
3431 static int
3432 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_)
3434 uint32_t status;
3436 di->dcerpc_procedure_name="winspool_AsyncClosePrinter";
3437 offset = iremotewinspool_dissect_element_winspool_AsyncClosePrinter_phPrinter(tvb, offset, pinfo, tree, di, drep);
3438 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3440 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
3442 if (status != 0)
3443 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3445 return offset;
3448 static int
3449 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_)
3451 di->dcerpc_procedure_name="winspool_AsyncClosePrinter";
3452 offset = iremotewinspool_dissect_element_winspool_AsyncClosePrinter_phPrinter(tvb, offset, pinfo, tree, di, drep);
3453 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3454 return offset;
3457 static int
3458 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_)
3460 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddForm_hPrinter, 0);
3462 return offset;
3465 static int
3466 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_)
3468 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);
3470 return offset;
3473 static int
3474 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_)
3476 offset = dissect_FORM_CTR(tvb, offset, pinfo, tree, di, drep);
3478 return offset;
3481 /* IDL: WERROR winspool_AsyncAddForm( */
3482 /* IDL: [in] policy_handle hPrinter, */
3483 /* IDL: [in] [ref] spoolss_AddFormInfoCtr *pFormInfoContainer */
3484 /* IDL: ); */
3486 static int
3487 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_)
3489 uint32_t status;
3491 di->dcerpc_procedure_name="winspool_AsyncAddForm";
3492 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
3494 if (status != 0)
3495 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3497 return offset;
3500 static int
3501 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_)
3503 di->dcerpc_procedure_name="winspool_AsyncAddForm";
3504 offset = iremotewinspool_dissect_element_winspool_AsyncAddForm_hPrinter(tvb, offset, pinfo, tree, di, drep);
3505 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3506 offset = iremotewinspool_dissect_element_winspool_AsyncAddForm_pFormInfoContainer(tvb, offset, pinfo, tree, di, drep);
3507 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3508 return offset;
3511 static int
3512 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_)
3514 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeleteForm_hPrinter, 0);
3516 return offset;
3519 static int
3520 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_)
3522 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);
3524 return offset;
3527 static int
3528 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_)
3530 char *data;
3532 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeleteForm_pFormName, false, &data);
3533 proto_item_append_text(tree, ": %s", data);
3535 return offset;
3538 /* IDL: WERROR winspool_AsyncDeleteForm( */
3539 /* IDL: [in] policy_handle hPrinter, */
3540 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pFormName */
3541 /* IDL: ); */
3543 static int
3544 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_)
3546 uint32_t status;
3548 di->dcerpc_procedure_name="winspool_AsyncDeleteForm";
3549 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
3551 if (status != 0)
3552 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3554 return offset;
3557 static int
3558 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_)
3560 di->dcerpc_procedure_name="winspool_AsyncDeleteForm";
3561 offset = iremotewinspool_dissect_element_winspool_AsyncDeleteForm_hPrinter(tvb, offset, pinfo, tree, di, drep);
3562 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3563 offset = iremotewinspool_dissect_element_winspool_AsyncDeleteForm_pFormName(tvb, offset, pinfo, tree, di, drep);
3564 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3565 return offset;
3568 static int
3569 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_)
3571 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetForm_hPrinter, 0);
3573 return offset;
3576 static int
3577 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_)
3579 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);
3581 return offset;
3584 static int
3585 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_)
3587 char *data;
3589 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetForm_pFormName, false, &data);
3590 proto_item_append_text(tree, ": %s", data);
3592 return offset;
3595 static int
3596 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_)
3598 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetForm_Level, 0);
3600 return offset;
3603 static int
3604 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_)
3606 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);
3608 return offset;
3611 static int
3612 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_)
3614 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetForm_pForm__);
3616 return offset;
3619 static int
3620 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_)
3622 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetForm_pForm, 0);
3624 return offset;
3627 static int
3628 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_)
3630 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetForm_cbBuf, 0);
3632 return offset;
3635 static int
3636 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_)
3638 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);
3640 return offset;
3643 static int
3644 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_)
3646 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetForm_pcbNeeded, 0);
3648 return offset;
3651 /* IDL: WERROR winspool_AsyncGetForm( */
3652 /* IDL: [in] policy_handle hPrinter, */
3653 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pFormName, */
3654 /* IDL: [in] uint32 Level, */
3655 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pForm, */
3656 /* IDL: [in] uint32 cbBuf, */
3657 /* IDL: [out] [ref] uint32 *pcbNeeded */
3658 /* IDL: ); */
3660 static int
3661 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_)
3663 uint32_t status;
3665 di->dcerpc_procedure_name="winspool_AsyncGetForm";
3666 offset = iremotewinspool_dissect_element_winspool_AsyncGetForm_pForm(tvb, offset, pinfo, tree, di, drep);
3667 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3669 offset = iremotewinspool_dissect_element_winspool_AsyncGetForm_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
3670 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3672 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
3674 if (status != 0)
3675 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3677 return offset;
3680 static int
3681 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_)
3683 di->dcerpc_procedure_name="winspool_AsyncGetForm";
3684 offset = iremotewinspool_dissect_element_winspool_AsyncGetForm_hPrinter(tvb, offset, pinfo, tree, di, drep);
3685 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3686 offset = iremotewinspool_dissect_element_winspool_AsyncGetForm_pFormName(tvb, offset, pinfo, tree, di, drep);
3687 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3688 offset = iremotewinspool_dissect_element_winspool_AsyncGetForm_Level(tvb, offset, pinfo, tree, di, drep);
3689 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3690 offset = iremotewinspool_dissect_element_winspool_AsyncGetForm_pForm(tvb, offset, pinfo, tree, di, drep);
3691 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3692 offset = iremotewinspool_dissect_element_winspool_AsyncGetForm_cbBuf(tvb, offset, pinfo, tree, di, drep);
3693 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3694 return offset;
3697 static int
3698 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_)
3700 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetForm_hPrinter, 0);
3702 return offset;
3705 static int
3706 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_)
3708 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);
3710 return offset;
3713 static int
3714 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_)
3716 char *data;
3718 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSetForm_pFormName, false, &data);
3719 proto_item_append_text(tree, ": %s", data);
3721 return offset;
3724 static int
3725 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_)
3727 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);
3729 return offset;
3732 static int
3733 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_)
3735 offset = dissect_FORM_CTR(tvb, offset, pinfo, tree, di, drep);
3737 return offset;
3740 /* IDL: WERROR winspool_AsyncSetForm( */
3741 /* IDL: [in] policy_handle hPrinter, */
3742 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pFormName, */
3743 /* IDL: [in] [ref] spoolss_AddFormInfoCtr *pFormInfoContainer */
3744 /* IDL: ); */
3746 static int
3747 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_)
3749 uint32_t status;
3751 di->dcerpc_procedure_name="winspool_AsyncSetForm";
3752 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
3754 if (status != 0)
3755 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3757 return offset;
3760 static int
3761 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_)
3763 di->dcerpc_procedure_name="winspool_AsyncSetForm";
3764 offset = iremotewinspool_dissect_element_winspool_AsyncSetForm_hPrinter(tvb, offset, pinfo, tree, di, drep);
3765 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3766 offset = iremotewinspool_dissect_element_winspool_AsyncSetForm_pFormName(tvb, offset, pinfo, tree, di, drep);
3767 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3768 offset = iremotewinspool_dissect_element_winspool_AsyncSetForm_pFormInfoContainer(tvb, offset, pinfo, tree, di, drep);
3769 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3770 return offset;
3773 static int
3774 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_)
3776 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumForms_hPrinter, 0);
3778 return offset;
3781 static int
3782 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_)
3784 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumForms_Level, 0);
3786 return offset;
3789 static int
3790 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_)
3792 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);
3794 return offset;
3797 static int
3798 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_)
3800 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumForms_pForm__);
3802 return offset;
3805 static int
3806 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_)
3808 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumForms_pForm, 0);
3810 return offset;
3813 static int
3814 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_)
3816 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumForms_cbBuf, 0);
3818 return offset;
3821 static int
3822 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_)
3824 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);
3826 return offset;
3829 static int
3830 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_)
3832 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumForms_pcbNeeded, 0);
3834 return offset;
3837 static int
3838 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_)
3840 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);
3842 return offset;
3845 static int
3846 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_)
3848 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumForms_pcReturned, 0);
3850 return offset;
3853 /* IDL: WERROR winspool_AsyncEnumForms( */
3854 /* IDL: [in] policy_handle hPrinter, */
3855 /* IDL: [in] uint32 Level, */
3856 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pForm, */
3857 /* IDL: [in] uint32 cbBuf, */
3858 /* IDL: [out] [ref] uint32 *pcbNeeded, */
3859 /* IDL: [out] [ref] uint32 *pcReturned */
3860 /* IDL: ); */
3862 static int
3863 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_)
3865 uint32_t status;
3867 di->dcerpc_procedure_name="winspool_AsyncEnumForms";
3868 offset = iremotewinspool_dissect_element_winspool_AsyncEnumForms_pForm(tvb, offset, pinfo, tree, di, drep);
3869 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3871 offset = iremotewinspool_dissect_element_winspool_AsyncEnumForms_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
3872 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3874 offset = iremotewinspool_dissect_element_winspool_AsyncEnumForms_pcReturned(tvb, offset, pinfo, tree, di, drep);
3875 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3877 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
3879 if (status != 0)
3880 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
3882 return offset;
3885 static int
3886 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_)
3888 di->dcerpc_procedure_name="winspool_AsyncEnumForms";
3889 offset = iremotewinspool_dissect_element_winspool_AsyncEnumForms_hPrinter(tvb, offset, pinfo, tree, di, drep);
3890 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3891 offset = iremotewinspool_dissect_element_winspool_AsyncEnumForms_Level(tvb, offset, pinfo, tree, di, drep);
3892 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3893 offset = iremotewinspool_dissect_element_winspool_AsyncEnumForms_pForm(tvb, offset, pinfo, tree, di, drep);
3894 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3895 offset = iremotewinspool_dissect_element_winspool_AsyncEnumForms_cbBuf(tvb, offset, pinfo, tree, di, drep);
3896 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
3897 return offset;
3900 static int
3901 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_)
3903 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_hPrinter, 0);
3905 return offset;
3908 static int
3909 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_)
3911 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);
3913 return offset;
3916 static int
3917 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_)
3919 char *data;
3921 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pEnvironment, false, &data);
3922 proto_item_append_text(tree, ": %s", data);
3924 return offset;
3927 static int
3928 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_)
3930 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_Level, 0);
3932 return offset;
3935 static int
3936 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_)
3938 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);
3940 return offset;
3943 static int
3944 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_)
3946 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pDriver__);
3948 return offset;
3951 static int
3952 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_)
3954 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pDriver, 0);
3956 return offset;
3959 static int
3960 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_)
3962 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_cbBuf, 0);
3964 return offset;
3967 static int
3968 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_)
3970 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);
3972 return offset;
3975 static int
3976 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_)
3978 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pcbNeeded, 0);
3980 return offset;
3983 static int
3984 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_)
3986 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_dwClientMajorVersion, 0);
3988 return offset;
3991 static int
3992 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_)
3994 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_dwClientMinorVersion, 0);
3996 return offset;
3999 static int
4000 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_)
4002 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);
4004 return offset;
4007 static int
4008 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_)
4010 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pdwServerMaxVersion, 0);
4012 return offset;
4015 static int
4016 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_)
4018 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);
4020 return offset;
4023 static int
4024 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_)
4026 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pdwServerMinVersion, 0);
4028 return offset;
4031 /* IDL: WERROR winspool_AsyncGetPrinterDriver( */
4032 /* IDL: [in] policy_handle hPrinter, */
4033 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pEnvironment, */
4034 /* IDL: [in] uint32 Level, */
4035 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pDriver, */
4036 /* IDL: [in] uint32 cbBuf, */
4037 /* IDL: [out] [ref] uint32 *pcbNeeded, */
4038 /* IDL: [in] uint32 dwClientMajorVersion, */
4039 /* IDL: [in] uint32 dwClientMinorVersion, */
4040 /* IDL: [out] [ref] uint32 *pdwServerMaxVersion, */
4041 /* IDL: [out] [ref] uint32 *pdwServerMinVersion */
4042 /* IDL: ); */
4044 static int
4045 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_)
4047 uint32_t status;
4049 di->dcerpc_procedure_name="winspool_AsyncGetPrinterDriver";
4050 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pDriver(tvb, offset, pinfo, tree, di, drep);
4051 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4053 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
4054 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4056 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pdwServerMaxVersion(tvb, offset, pinfo, tree, di, drep);
4057 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4059 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pdwServerMinVersion(tvb, offset, pinfo, tree, di, drep);
4060 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4062 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
4064 if (status != 0)
4065 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
4067 return offset;
4070 static int
4071 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_)
4073 di->dcerpc_procedure_name="winspool_AsyncGetPrinterDriver";
4074 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_hPrinter(tvb, offset, pinfo, tree, di, drep);
4075 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4076 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pEnvironment(tvb, offset, pinfo, tree, di, drep);
4077 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4078 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_Level(tvb, offset, pinfo, tree, di, drep);
4079 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4080 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pDriver(tvb, offset, pinfo, tree, di, drep);
4081 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4082 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_cbBuf(tvb, offset, pinfo, tree, di, drep);
4083 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4084 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_dwClientMajorVersion(tvb, offset, pinfo, tree, di, drep);
4085 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4086 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_dwClientMinorVersion(tvb, offset, pinfo, tree, di, drep);
4087 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4088 return offset;
4091 static int
4092 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_)
4094 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_hPrinter, 0);
4096 return offset;
4099 static int
4100 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_)
4102 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_dwIndex, 0);
4104 return offset;
4107 static int
4108 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_)
4110 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);
4112 return offset;
4115 static int
4116 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_)
4118 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pValueName__);
4120 return offset;
4123 static int
4124 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_)
4126 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_pValueName, 0);
4128 return offset;
4131 static int
4132 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_)
4134 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_cbValueName, 0);
4136 return offset;
4139 static int
4140 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_)
4142 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);
4144 return offset;
4147 static int
4148 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_)
4150 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_pcbValueName, 0);
4152 return offset;
4155 static int
4156 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_)
4158 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);
4160 return offset;
4163 static int
4164 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_)
4166 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_pType, 0);
4168 return offset;
4171 static int
4172 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_)
4174 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);
4176 return offset;
4179 static int
4180 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_)
4182 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pData__);
4184 return offset;
4187 static int
4188 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_)
4190 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_pData, 0);
4192 return offset;
4195 static int
4196 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_)
4198 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_cbData, 0);
4200 return offset;
4203 static int
4204 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_)
4206 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);
4208 return offset;
4211 static int
4212 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_)
4214 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_pcbData, 0);
4216 return offset;
4219 /* IDL: WERROR winspool_AsyncEnumPrinterData( */
4220 /* IDL: [in] policy_handle hPrinter, */
4221 /* IDL: [in] uint32 dwIndex, */
4222 /* IDL: [out] [ref] [size_is(cbValueName/2)] uint16 *pValueName, */
4223 /* IDL: [in] uint32 cbValueName, */
4224 /* IDL: [out] [ref] uint32 *pcbValueName, */
4225 /* IDL: [out] [ref] uint32 *pType, */
4226 /* IDL: [out] [ref] [size_is(cbData)] uint8 *pData, */
4227 /* IDL: [in] uint32 cbData, */
4228 /* IDL: [out] [ref] uint32 *pcbData */
4229 /* IDL: ); */
4231 static int
4232 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_)
4234 uint32_t status;
4236 di->dcerpc_procedure_name="winspool_AsyncEnumPrinterData";
4237 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pValueName(tvb, offset, pinfo, tree, di, drep);
4238 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4240 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pcbValueName(tvb, offset, pinfo, tree, di, drep);
4241 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4243 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pType(tvb, offset, pinfo, tree, di, drep);
4244 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4246 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pData(tvb, offset, pinfo, tree, di, drep);
4247 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4249 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pcbData(tvb, offset, pinfo, tree, di, drep);
4250 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4252 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
4254 if (status != 0)
4255 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
4257 return offset;
4260 static int
4261 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_)
4263 di->dcerpc_procedure_name="winspool_AsyncEnumPrinterData";
4264 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_hPrinter(tvb, offset, pinfo, tree, di, drep);
4265 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4266 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_dwIndex(tvb, offset, pinfo, tree, di, drep);
4267 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4268 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_cbValueName(tvb, offset, pinfo, tree, di, drep);
4269 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4270 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_cbData(tvb, offset, pinfo, tree, di, drep);
4271 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4272 return offset;
4275 static int
4276 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_)
4278 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_hPrinter, 0);
4280 return offset;
4283 static int
4284 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_)
4286 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);
4288 return offset;
4291 static int
4292 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_)
4294 char *data;
4296 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pKeyName, false, &data);
4297 proto_item_append_text(tree, ": %s", data);
4299 return offset;
4302 static int
4303 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_)
4305 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);
4307 return offset;
4310 static int
4311 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_)
4313 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pEnumValues__);
4315 return offset;
4318 static int
4319 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_)
4321 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pEnumValues, 0);
4323 return offset;
4326 static int
4327 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_)
4329 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_cbEnumValues, 0);
4331 return offset;
4334 static int
4335 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_)
4337 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);
4339 return offset;
4342 static int
4343 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_)
4345 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pcbEnumValues, 0);
4347 return offset;
4350 static int
4351 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_)
4353 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);
4355 return offset;
4358 static int
4359 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_)
4361 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pnEnumValues, 0);
4363 return offset;
4366 /* IDL: WERROR winspool_AsyncEnumPrinterDataEx( */
4367 /* IDL: [in] policy_handle hPrinter, */
4368 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pKeyName, */
4369 /* IDL: [out] [ref] [size_is(cbEnumValues)] uint8 *pEnumValues, */
4370 /* IDL: [in] uint32 cbEnumValues, */
4371 /* IDL: [out] [ref] uint32 *pcbEnumValues, */
4372 /* IDL: [out] [ref] uint32 *pnEnumValues */
4373 /* IDL: ); */
4375 static int
4376 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_)
4378 uint32_t status;
4380 di->dcerpc_procedure_name="winspool_AsyncEnumPrinterDataEx";
4381 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pEnumValues(tvb, offset, pinfo, tree, di, drep);
4382 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4384 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pcbEnumValues(tvb, offset, pinfo, tree, di, drep);
4385 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4387 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pnEnumValues(tvb, offset, pinfo, tree, di, drep);
4388 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4390 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
4392 if (status != 0)
4393 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
4395 return offset;
4398 static int
4399 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_)
4401 di->dcerpc_procedure_name="winspool_AsyncEnumPrinterDataEx";
4402 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_hPrinter(tvb, offset, pinfo, tree, di, drep);
4403 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4404 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pKeyName(tvb, offset, pinfo, tree, di, drep);
4405 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4406 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_cbEnumValues(tvb, offset, pinfo, tree, di, drep);
4407 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4408 return offset;
4411 static int
4412 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_)
4414 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterKey_hPrinter, 0);
4416 return offset;
4419 static int
4420 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_)
4422 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);
4424 return offset;
4427 static int
4428 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_)
4430 char *data;
4432 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pKeyName, false, &data);
4433 proto_item_append_text(tree, ": %s", data);
4435 return offset;
4438 static int
4439 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_)
4441 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);
4443 return offset;
4446 static int
4447 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_)
4449 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pSubkey__);
4451 return offset;
4454 static int
4455 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_)
4457 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pSubkey, 0);
4459 return offset;
4462 static int
4463 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_)
4465 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterKey_cbSubkey, 0);
4467 return offset;
4470 static int
4471 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_)
4473 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);
4475 return offset;
4478 static int
4479 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_)
4481 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pcbSubkey, 0);
4483 return offset;
4486 /* IDL: WERROR winspool_AsyncEnumPrinterKey( */
4487 /* IDL: [in] policy_handle hPrinter, */
4488 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pKeyName, */
4489 /* IDL: [out] [ref] [size_is(cbSubkey/2)] uint16 *pSubkey, */
4490 /* IDL: [in] uint32 cbSubkey, */
4491 /* IDL: [out] [ref] uint32 *pcbSubkey */
4492 /* IDL: ); */
4494 static int
4495 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_)
4497 uint32_t status;
4499 di->dcerpc_procedure_name="winspool_AsyncEnumPrinterKey";
4500 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pSubkey(tvb, offset, pinfo, tree, di, drep);
4501 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4503 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pcbSubkey(tvb, offset, pinfo, tree, di, drep);
4504 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4506 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
4508 if (status != 0)
4509 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
4511 return offset;
4514 static int
4515 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_)
4517 di->dcerpc_procedure_name="winspool_AsyncEnumPrinterKey";
4518 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_hPrinter(tvb, offset, pinfo, tree, di, drep);
4519 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4520 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pKeyName(tvb, offset, pinfo, tree, di, drep);
4521 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4522 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_cbSubkey(tvb, offset, pinfo, tree, di, drep);
4523 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4524 return offset;
4527 static int
4528 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_)
4530 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinterData_hPrinter, 0);
4532 return offset;
4535 static int
4536 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_)
4538 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);
4540 return offset;
4543 static int
4544 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_)
4546 char *data;
4548 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterData_pValueName, false, &data);
4549 proto_item_append_text(tree, ": %s", data);
4551 return offset;
4554 /* IDL: WERROR winspool_AsyncDeletePrinterData( */
4555 /* IDL: [in] policy_handle hPrinter, */
4556 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pValueName */
4557 /* IDL: ); */
4559 static int
4560 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_)
4562 uint32_t status;
4564 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterData";
4565 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
4567 if (status != 0)
4568 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
4570 return offset;
4573 static int
4574 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_)
4576 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterData";
4577 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterData_hPrinter(tvb, offset, pinfo, tree, di, drep);
4578 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4579 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterData_pValueName(tvb, offset, pinfo, tree, di, drep);
4580 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4581 return offset;
4584 static int
4585 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_)
4587 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_hPrinter, 0);
4589 return offset;
4592 static int
4593 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_)
4595 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);
4597 return offset;
4600 static int
4601 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_)
4603 char *data;
4605 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_pKeyName, false, &data);
4606 proto_item_append_text(tree, ": %s", data);
4608 return offset;
4611 static int
4612 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_)
4614 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);
4616 return offset;
4619 static int
4620 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_)
4622 char *data;
4624 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_pValueName, false, &data);
4625 proto_item_append_text(tree, ": %s", data);
4627 return offset;
4630 /* IDL: WERROR winspool_AsyncDeletePrinterDataEx( */
4631 /* IDL: [in] policy_handle hPrinter, */
4632 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pKeyName, */
4633 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pValueName */
4634 /* IDL: ); */
4636 static int
4637 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_)
4639 uint32_t status;
4641 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDataEx";
4642 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
4644 if (status != 0)
4645 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
4647 return offset;
4650 static int
4651 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_)
4653 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDataEx";
4654 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_hPrinter(tvb, offset, pinfo, tree, di, drep);
4655 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4656 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_pKeyName(tvb, offset, pinfo, tree, di, drep);
4657 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4658 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_pValueName(tvb, offset, pinfo, tree, di, drep);
4659 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4660 return offset;
4663 static int
4664 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_)
4666 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinterKey_hPrinter, 0);
4668 return offset;
4671 static int
4672 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_)
4674 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);
4676 return offset;
4679 static int
4680 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_)
4682 char *data;
4684 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterKey_pKeyName, false, &data);
4685 proto_item_append_text(tree, ": %s", data);
4687 return offset;
4690 /* IDL: WERROR winspool_AsyncDeletePrinterKey( */
4691 /* IDL: [in] policy_handle hPrinter, */
4692 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pKeyName */
4693 /* IDL: ); */
4695 static int
4696 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_)
4698 uint32_t status;
4700 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterKey";
4701 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
4703 if (status != 0)
4704 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
4706 return offset;
4709 static int
4710 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_)
4712 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterKey";
4713 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterKey_hPrinter(tvb, offset, pinfo, tree, di, drep);
4714 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4715 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterKey_pKeyName(tvb, offset, pinfo, tree, di, drep);
4716 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4717 return offset;
4720 static int
4721 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_)
4723 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_hXcv, 0);
4725 return offset;
4728 static int
4729 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_)
4731 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);
4733 return offset;
4736 static int
4737 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_)
4739 char *data;
4741 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncXcvData_pszDataName, false, &data);
4742 proto_item_append_text(tree, ": %s", data);
4744 return offset;
4747 static int
4748 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_)
4750 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);
4752 return offset;
4755 static int
4756 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_)
4758 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncXcvData_pInputData__);
4760 return offset;
4763 static int
4764 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_)
4766 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_pInputData, 0);
4768 return offset;
4771 static int
4772 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_)
4774 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_cbInputData, 0);
4776 return offset;
4779 static int
4780 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_)
4782 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);
4784 return offset;
4787 static int
4788 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_)
4790 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncXcvData_pOutputData__);
4792 return offset;
4795 static int
4796 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_)
4798 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_pOutputData, 0);
4800 return offset;
4803 static int
4804 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_)
4806 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_cbOutputData, 0);
4808 return offset;
4811 static int
4812 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_)
4814 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);
4816 return offset;
4819 static int
4820 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_)
4822 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_pcbOutputNeeded, 0);
4824 return offset;
4827 static int
4828 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_)
4830 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);
4832 return offset;
4835 static int
4836 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_)
4838 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_pdwStatus, 0);
4840 return offset;
4843 /* IDL: WERROR winspool_AsyncXcvData( */
4844 /* IDL: [in] policy_handle hXcv, */
4845 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszDataName, */
4846 /* IDL: [in] [ref] [size_is(cbInputData)] uint8 *pInputData, */
4847 /* IDL: [in] uint32 cbInputData, */
4848 /* IDL: [out] [ref] [size_is(cbOutputData)] uint8 *pOutputData, */
4849 /* IDL: [in] uint32 cbOutputData, */
4850 /* IDL: [out] [ref] uint32 *pcbOutputNeeded, */
4851 /* IDL: [in] [out] [ref] uint32 *pdwStatus */
4852 /* IDL: ); */
4854 static int
4855 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_)
4857 uint32_t status;
4859 di->dcerpc_procedure_name="winspool_AsyncXcvData";
4860 offset = iremotewinspool_dissect_element_winspool_AsyncXcvData_pOutputData(tvb, offset, pinfo, tree, di, drep);
4861 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4863 offset = iremotewinspool_dissect_element_winspool_AsyncXcvData_pcbOutputNeeded(tvb, offset, pinfo, tree, di, drep);
4864 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4866 offset = iremotewinspool_dissect_element_winspool_AsyncXcvData_pdwStatus(tvb, offset, pinfo, tree, di, drep);
4867 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4869 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
4871 if (status != 0)
4872 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
4874 return offset;
4877 static int
4878 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_)
4880 di->dcerpc_procedure_name="winspool_AsyncXcvData";
4881 offset = iremotewinspool_dissect_element_winspool_AsyncXcvData_hXcv(tvb, offset, pinfo, tree, di, drep);
4882 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4883 offset = iremotewinspool_dissect_element_winspool_AsyncXcvData_pszDataName(tvb, offset, pinfo, tree, di, drep);
4884 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4885 offset = iremotewinspool_dissect_element_winspool_AsyncXcvData_pInputData(tvb, offset, pinfo, tree, di, drep);
4886 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4887 offset = iremotewinspool_dissect_element_winspool_AsyncXcvData_cbInputData(tvb, offset, pinfo, tree, di, drep);
4888 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4889 offset = iremotewinspool_dissect_element_winspool_AsyncXcvData_cbOutputData(tvb, offset, pinfo, tree, di, drep);
4890 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4891 offset = iremotewinspool_dissect_element_winspool_AsyncXcvData_pdwStatus(tvb, offset, pinfo, tree, di, drep);
4892 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4893 return offset;
4896 static int
4897 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_)
4899 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSendRecvBidiData_hPrinter, 0);
4901 return offset;
4904 static int
4905 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_)
4907 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);
4909 return offset;
4912 static int
4913 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_)
4915 char *data;
4917 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSendRecvBidiData_pAction, false, &data);
4918 proto_item_append_text(tree, ": %s", data);
4920 return offset;
4923 static int
4924 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_)
4926 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);
4928 return offset;
4931 static int
4932 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_)
4934 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
4936 return offset;
4939 static int
4940 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_)
4942 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);
4944 return offset;
4947 static int
4948 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_)
4950 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);
4952 return offset;
4955 static int
4956 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_)
4958 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
4960 return offset;
4963 /* IDL: WERROR winspool_AsyncSendRecvBidiData( */
4964 /* IDL: [in] policy_handle hPrinter, */
4965 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pAction, */
4966 /* IDL: [in] [ref] RPC_BIDI_REQUEST_CONTAINER *pReqData, */
4967 /* IDL: [out] [ref] RPC_BIDI_RESPONSE_CONTAINER **ppRespData */
4968 /* IDL: ); */
4970 static int
4971 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_)
4973 uint32_t status;
4975 di->dcerpc_procedure_name="winspool_AsyncSendRecvBidiData";
4976 offset = iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_ppRespData(tvb, offset, pinfo, tree, di, drep);
4977 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4979 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
4981 if (status != 0)
4982 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
4984 return offset;
4987 static int
4988 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_)
4990 di->dcerpc_procedure_name="winspool_AsyncSendRecvBidiData";
4991 offset = iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_hPrinter(tvb, offset, pinfo, tree, di, drep);
4992 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4993 offset = iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_pAction(tvb, offset, pinfo, tree, di, drep);
4994 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4995 offset = iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_pReqData(tvb, offset, pinfo, tree, di, drep);
4996 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
4997 return offset;
5000 static int
5001 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_)
5003 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncCreatePrinterIC_hPrinter, 0);
5005 return offset;
5008 static int
5009 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_)
5011 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);
5013 return offset;
5016 static int
5017 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_)
5019 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncCreatePrinterIC_pHandle, 0);
5021 return offset;
5024 static int
5025 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_)
5027 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);
5029 return offset;
5032 static int
5033 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_)
5035 offset = dissect_DEVMODE_CTR(tvb, offset, pinfo, tree, di, drep);
5037 return offset;
5040 /* IDL: WERROR winspool_AsyncCreatePrinterIC( */
5041 /* IDL: [in] policy_handle hPrinter, */
5042 /* IDL: [out] [ref] policy_handle *pHandle, */
5043 /* IDL: [in] [ref] spoolss_DevmodeContainer *pDevModeContainer */
5044 /* IDL: ); */
5046 static int
5047 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_)
5049 uint32_t status;
5051 di->dcerpc_procedure_name="winspool_AsyncCreatePrinterIC";
5052 offset = iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_pHandle(tvb, offset, pinfo, tree, di, drep);
5053 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5055 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
5057 if (status != 0)
5058 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
5060 return offset;
5063 static int
5064 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_)
5066 di->dcerpc_procedure_name="winspool_AsyncCreatePrinterIC";
5067 offset = iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_hPrinter(tvb, offset, pinfo, tree, di, drep);
5068 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5069 offset = iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_pDevModeContainer(tvb, offset, pinfo, tree, di, drep);
5070 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5071 return offset;
5074 static int
5075 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_)
5077 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_hPrinterIC, 0);
5079 return offset;
5082 static int
5083 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_)
5085 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);
5087 return offset;
5090 static int
5091 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_)
5093 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn__);
5095 return offset;
5098 static int
5099 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_)
5101 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn, 0);
5103 return offset;
5106 static int
5107 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_)
5109 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_cIn, 0);
5111 return offset;
5114 static int
5115 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_)
5117 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);
5119 return offset;
5122 static int
5123 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_)
5125 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut__);
5127 return offset;
5130 static int
5131 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_)
5133 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut, 0);
5135 return offset;
5138 static int
5139 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_)
5141 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_cOut, 0);
5143 return offset;
5146 static int
5147 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_)
5149 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_ul, 0);
5151 return offset;
5154 /* IDL: WERROR winspool_AsyncPlayGdiScriptOnPrinterIC( */
5155 /* IDL: [in] policy_handle hPrinterIC, */
5156 /* IDL: [in] [ref] [size_is(cIn)] uint8 *pIn, */
5157 /* IDL: [in] uint32 cIn, */
5158 /* IDL: [out] [ref] [size_is(cOut)] uint8 *pOut, */
5159 /* IDL: [in] uint32 cOut, */
5160 /* IDL: [in] uint32 ul */
5161 /* IDL: ); */
5163 static int
5164 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_)
5166 uint32_t status;
5168 di->dcerpc_procedure_name="winspool_AsyncPlayGdiScriptOnPrinterIC";
5169 offset = iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut(tvb, offset, pinfo, tree, di, drep);
5170 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5172 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
5174 if (status != 0)
5175 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
5177 return offset;
5180 static int
5181 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_)
5183 di->dcerpc_procedure_name="winspool_AsyncPlayGdiScriptOnPrinterIC";
5184 offset = iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_hPrinterIC(tvb, offset, pinfo, tree, di, drep);
5185 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5186 offset = iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn(tvb, offset, pinfo, tree, di, drep);
5187 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5188 offset = iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_cIn(tvb, offset, pinfo, tree, di, drep);
5189 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5190 offset = iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_cOut(tvb, offset, pinfo, tree, di, drep);
5191 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5192 offset = iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_ul(tvb, offset, pinfo, tree, di, drep);
5193 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5194 return offset;
5197 static int
5198 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_)
5200 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);
5202 return offset;
5205 static int
5206 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_)
5208 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinterIC_phPrinterIC, 0);
5210 return offset;
5213 /* IDL: WERROR winspool_AsyncDeletePrinterIC( */
5214 /* IDL: [in] [out] [ref] policy_handle *phPrinterIC */
5215 /* IDL: ); */
5217 static int
5218 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_)
5220 uint32_t status;
5222 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterIC";
5223 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterIC_phPrinterIC(tvb, offset, pinfo, tree, di, drep);
5224 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5226 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
5228 if (status != 0)
5229 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
5231 return offset;
5234 static int
5235 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_)
5237 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterIC";
5238 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterIC_phPrinterIC(tvb, offset, pinfo, tree, di, drep);
5239 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5240 return offset;
5243 static int
5244 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_)
5246 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinters_Flags, 0);
5248 return offset;
5251 static int
5252 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_)
5254 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);
5256 return offset;
5259 static int
5260 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_)
5262 char *data;
5264 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrinters_pName, false, &data);
5265 proto_item_append_text(tree, ": %s", data);
5267 return offset;
5270 static int
5271 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_)
5273 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinters_Level, 0);
5275 return offset;
5278 static int
5279 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_)
5281 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);
5283 return offset;
5286 static int
5287 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_)
5289 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pPrinterEnum__);
5291 return offset;
5294 static int
5295 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_)
5297 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinters_pPrinterEnum, 0);
5299 return offset;
5302 static int
5303 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_)
5305 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinters_cbBuf, 0);
5307 return offset;
5310 static int
5311 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_)
5313 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);
5315 return offset;
5318 static int
5319 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_)
5321 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinters_pcbNeeded, 0);
5323 return offset;
5326 static int
5327 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_)
5329 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);
5331 return offset;
5334 static int
5335 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_)
5337 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinters_pcReturned, 0);
5339 return offset;
5342 /* IDL: WERROR winspool_AsyncEnumPrinters( */
5343 /* IDL: [in] uint32 Flags, */
5344 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
5345 /* IDL: [in] uint32 Level, */
5346 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pPrinterEnum, */
5347 /* IDL: [in] uint32 cbBuf, */
5348 /* IDL: [out] [ref] uint32 *pcbNeeded, */
5349 /* IDL: [out] [ref] uint32 *pcReturned */
5350 /* IDL: ); */
5352 static int
5353 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_)
5355 uint32_t status;
5357 di->dcerpc_procedure_name="winspool_AsyncEnumPrinters";
5358 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pPrinterEnum(tvb, offset, pinfo, tree, di, drep);
5359 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5361 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
5362 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5364 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pcReturned(tvb, offset, pinfo, tree, di, drep);
5365 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5367 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
5369 if (status != 0)
5370 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
5372 return offset;
5375 static int
5376 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_)
5378 di->dcerpc_procedure_name="winspool_AsyncEnumPrinters";
5379 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_Flags(tvb, offset, pinfo, tree, di, drep);
5380 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5381 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pName(tvb, offset, pinfo, tree, di, drep);
5382 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5383 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_Level(tvb, offset, pinfo, tree, di, drep);
5384 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5385 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pPrinterEnum(tvb, offset, pinfo, tree, di, drep);
5386 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5387 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_cbBuf(tvb, offset, pinfo, tree, di, drep);
5388 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5389 return offset;
5392 static int
5393 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_)
5395 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);
5397 return offset;
5400 static int
5401 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_)
5403 char *data;
5405 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPrinterDriver_pName, false, &data);
5406 proto_item_append_text(tree, ": %s", data);
5408 return offset;
5411 static int
5412 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_)
5414 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);
5416 return offset;
5419 static int
5420 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_)
5422 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
5424 return offset;
5427 static int
5428 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_)
5430 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddPrinterDriver_dwFileCopyFlags, 0);
5432 return offset;
5435 /* IDL: WERROR winspool_AsyncAddPrinterDriver( */
5436 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
5437 /* IDL: [in] [ref] spoolss_AddDriverInfoCtr *pDriverContainer, */
5438 /* IDL: [in] uint32 dwFileCopyFlags */
5439 /* IDL: ); */
5441 static int
5442 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_)
5444 uint32_t status;
5446 di->dcerpc_procedure_name="winspool_AsyncAddPrinterDriver";
5447 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
5449 if (status != 0)
5450 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
5452 return offset;
5455 static int
5456 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_)
5458 di->dcerpc_procedure_name="winspool_AsyncAddPrinterDriver";
5459 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_pName(tvb, offset, pinfo, tree, di, drep);
5460 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5461 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_pDriverContainer(tvb, offset, pinfo, tree, di, drep);
5462 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5463 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_dwFileCopyFlags(tvb, offset, pinfo, tree, di, drep);
5464 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5465 return offset;
5468 static int
5469 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_)
5471 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);
5473 return offset;
5476 static int
5477 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_)
5479 char *data;
5481 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pName, false, &data);
5482 proto_item_append_text(tree, ": %s", data);
5484 return offset;
5487 static int
5488 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_)
5490 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);
5492 return offset;
5495 static int
5496 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_)
5498 char *data;
5500 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pEnvironment, false, &data);
5501 proto_item_append_text(tree, ": %s", data);
5503 return offset;
5506 static int
5507 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_)
5509 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_Level, 0);
5511 return offset;
5514 static int
5515 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_)
5517 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);
5519 return offset;
5522 static int
5523 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_)
5525 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pDrivers__);
5527 return offset;
5530 static int
5531 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_)
5533 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pDrivers, 0);
5535 return offset;
5538 static int
5539 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_)
5541 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_cbBuf, 0);
5543 return offset;
5546 static int
5547 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_)
5549 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);
5551 return offset;
5554 static int
5555 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_)
5557 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pcbNeeded, 0);
5559 return offset;
5562 static int
5563 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_)
5565 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);
5567 return offset;
5570 static int
5571 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_)
5573 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pcReturned, 0);
5575 return offset;
5578 /* IDL: WERROR winspool_AsyncEnumPrinterDrivers( */
5579 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
5580 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pEnvironment, */
5581 /* IDL: [in] uint32 Level, */
5582 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pDrivers, */
5583 /* IDL: [in] uint32 cbBuf, */
5584 /* IDL: [out] [ref] uint32 *pcbNeeded, */
5585 /* IDL: [out] [ref] uint32 *pcReturned */
5586 /* IDL: ); */
5588 static int
5589 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_)
5591 uint32_t status;
5593 di->dcerpc_procedure_name="winspool_AsyncEnumPrinterDrivers";
5594 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pDrivers(tvb, offset, pinfo, tree, di, drep);
5595 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5597 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
5598 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5600 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pcReturned(tvb, offset, pinfo, tree, di, drep);
5601 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5603 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
5605 if (status != 0)
5606 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
5608 return offset;
5611 static int
5612 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_)
5614 di->dcerpc_procedure_name="winspool_AsyncEnumPrinterDrivers";
5615 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pName(tvb, offset, pinfo, tree, di, drep);
5616 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5617 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pEnvironment(tvb, offset, pinfo, tree, di, drep);
5618 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5619 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_Level(tvb, offset, pinfo, tree, di, drep);
5620 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5621 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pDrivers(tvb, offset, pinfo, tree, di, drep);
5622 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5623 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_cbBuf(tvb, offset, pinfo, tree, di, drep);
5624 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5625 return offset;
5628 static int
5629 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_)
5631 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);
5633 return offset;
5636 static int
5637 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_)
5639 char *data;
5641 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pName, false, &data);
5642 proto_item_append_text(tree, ": %s", data);
5644 return offset;
5647 static int
5648 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_)
5650 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);
5652 return offset;
5655 static int
5656 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_)
5658 char *data;
5660 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pEnvironment, false, &data);
5661 proto_item_append_text(tree, ": %s", data);
5663 return offset;
5666 static int
5667 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_)
5669 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_Level, 0);
5671 return offset;
5674 static int
5675 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_)
5677 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);
5679 return offset;
5682 static int
5683 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_)
5685 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory__);
5687 return offset;
5690 static int
5691 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_)
5693 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory, 0);
5695 return offset;
5698 static int
5699 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_)
5701 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_cbBuf, 0);
5703 return offset;
5706 static int
5707 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_)
5709 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);
5711 return offset;
5714 static int
5715 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_)
5717 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pcbNeeded, 0);
5719 return offset;
5722 /* IDL: WERROR winspool_AsyncGetPrinterDriverDirectory( */
5723 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
5724 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pEnvironment, */
5725 /* IDL: [in] uint32 Level, */
5726 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pDriverDirectory, */
5727 /* IDL: [in] uint32 cbBuf, */
5728 /* IDL: [out] [ref] uint32 *pcbNeeded */
5729 /* IDL: ); */
5731 static int
5732 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_)
5734 uint32_t status;
5736 di->dcerpc_procedure_name="winspool_AsyncGetPrinterDriverDirectory";
5737 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory(tvb, offset, pinfo, tree, di, drep);
5738 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5740 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
5741 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5743 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
5745 if (status != 0)
5746 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
5748 return offset;
5751 static int
5752 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_)
5754 di->dcerpc_procedure_name="winspool_AsyncGetPrinterDriverDirectory";
5755 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pName(tvb, offset, pinfo, tree, di, drep);
5756 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5757 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pEnvironment(tvb, offset, pinfo, tree, di, drep);
5758 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5759 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_Level(tvb, offset, pinfo, tree, di, drep);
5760 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5761 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory(tvb, offset, pinfo, tree, di, drep);
5762 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5763 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_cbBuf(tvb, offset, pinfo, tree, di, drep);
5764 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5765 return offset;
5768 static int
5769 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_)
5771 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);
5773 return offset;
5776 static int
5777 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_)
5779 char *data;
5781 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pName, false, &data);
5782 proto_item_append_text(tree, ": %s", data);
5784 return offset;
5787 static int
5788 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_)
5790 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);
5792 return offset;
5795 static int
5796 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_)
5798 char *data;
5800 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pEnvironment, false, &data);
5801 proto_item_append_text(tree, ": %s", data);
5803 return offset;
5806 static int
5807 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_)
5809 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);
5811 return offset;
5814 static int
5815 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_)
5817 char *data;
5819 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pDriverName, false, &data);
5820 proto_item_append_text(tree, ": %s", data);
5822 return offset;
5825 /* IDL: WERROR winspool_AsyncDeletePrinterDriver( */
5826 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
5827 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pEnvironment, */
5828 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pDriverName */
5829 /* IDL: ); */
5831 static int
5832 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_)
5834 uint32_t status;
5836 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDriver";
5837 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
5839 if (status != 0)
5840 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
5842 return offset;
5845 static int
5846 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_)
5848 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDriver";
5849 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pName(tvb, offset, pinfo, tree, di, drep);
5850 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5851 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pEnvironment(tvb, offset, pinfo, tree, di, drep);
5852 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5853 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pDriverName(tvb, offset, pinfo, tree, di, drep);
5854 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5855 return offset;
5858 static int
5859 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_)
5861 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);
5863 return offset;
5866 static int
5867 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_)
5869 char *data;
5871 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pName, false, &data);
5872 proto_item_append_text(tree, ": %s", data);
5874 return offset;
5877 static int
5878 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_)
5880 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);
5882 return offset;
5885 static int
5886 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_)
5888 char *data;
5890 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pEnvironment, false, &data);
5891 proto_item_append_text(tree, ": %s", data);
5893 return offset;
5896 static int
5897 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_)
5899 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);
5901 return offset;
5904 static int
5905 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_)
5907 char *data;
5909 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pDriverName, false, &data);
5910 proto_item_append_text(tree, ": %s", data);
5912 return offset;
5915 static int
5916 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_)
5918 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_dwDeleteFlag, 0);
5920 return offset;
5923 static int
5924 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_)
5926 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_dwVersionNum, 0);
5928 return offset;
5931 /* IDL: WERROR winspool_AsyncDeletePrinterDriverEx( */
5932 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
5933 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pEnvironment, */
5934 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pDriverName, */
5935 /* IDL: [in] uint32 dwDeleteFlag, */
5936 /* IDL: [in] uint32 dwVersionNum */
5937 /* IDL: ); */
5939 static int
5940 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_)
5942 uint32_t status;
5944 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDriverEx";
5945 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
5947 if (status != 0)
5948 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
5950 return offset;
5953 static int
5954 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_)
5956 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDriverEx";
5957 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pName(tvb, offset, pinfo, tree, di, drep);
5958 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5959 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pEnvironment(tvb, offset, pinfo, tree, di, drep);
5960 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5961 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pDriverName(tvb, offset, pinfo, tree, di, drep);
5962 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5963 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_dwDeleteFlag(tvb, offset, pinfo, tree, di, drep);
5964 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5965 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_dwVersionNum(tvb, offset, pinfo, tree, di, drep);
5966 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
5967 return offset;
5970 static int
5971 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_)
5973 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);
5975 return offset;
5978 static int
5979 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_)
5981 char *data;
5983 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pName, false, &data);
5984 proto_item_append_text(tree, ": %s", data);
5986 return offset;
5989 static int
5990 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_)
5992 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);
5994 return offset;
5997 static int
5998 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_)
6000 char *data;
6002 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pEnvironment, false, &data);
6003 proto_item_append_text(tree, ": %s", data);
6005 return offset;
6008 static int
6009 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_)
6011 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);
6013 return offset;
6016 static int
6017 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_)
6019 char *data;
6021 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pPathName, false, &data);
6022 proto_item_append_text(tree, ": %s", data);
6024 return offset;
6027 static int
6028 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_)
6030 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);
6032 return offset;
6035 static int
6036 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_)
6038 char *data;
6040 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pPrintProcessorName, false, &data);
6041 proto_item_append_text(tree, ": %s", data);
6043 return offset;
6046 /* IDL: WERROR winspool_AsyncAddPrintProcessor( */
6047 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
6048 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pEnvironment, */
6049 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pPathName, */
6050 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pPrintProcessorName */
6051 /* IDL: ); */
6053 static int
6054 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_)
6056 uint32_t status;
6058 di->dcerpc_procedure_name="winspool_AsyncAddPrintProcessor";
6059 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
6061 if (status != 0)
6062 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
6064 return offset;
6067 static int
6068 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_)
6070 di->dcerpc_procedure_name="winspool_AsyncAddPrintProcessor";
6071 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pName(tvb, offset, pinfo, tree, di, drep);
6072 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6073 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pEnvironment(tvb, offset, pinfo, tree, di, drep);
6074 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6075 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pPathName(tvb, offset, pinfo, tree, di, drep);
6076 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6077 offset = iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pPrintProcessorName(tvb, offset, pinfo, tree, di, drep);
6078 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6079 return offset;
6082 static int
6083 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_)
6085 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);
6087 return offset;
6090 static int
6091 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_)
6093 char *data;
6095 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pName, false, &data);
6096 proto_item_append_text(tree, ": %s", data);
6098 return offset;
6101 static int
6102 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_)
6104 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);
6106 return offset;
6109 static int
6110 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_)
6112 char *data;
6114 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pEnvironment, false, &data);
6115 proto_item_append_text(tree, ": %s", data);
6117 return offset;
6120 static int
6121 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_)
6123 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_Level, 0);
6125 return offset;
6128 static int
6129 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_)
6131 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);
6133 return offset;
6136 static int
6137 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_)
6139 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo__);
6141 return offset;
6144 static int
6145 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_)
6147 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo, 0);
6149 return offset;
6152 static int
6153 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_)
6155 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_cbBuf, 0);
6157 return offset;
6160 static int
6161 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_)
6163 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);
6165 return offset;
6168 static int
6169 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_)
6171 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pcbNeeded, 0);
6173 return offset;
6176 static int
6177 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_)
6179 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);
6181 return offset;
6184 static int
6185 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_)
6187 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pcReturned, 0);
6189 return offset;
6192 /* IDL: WERROR winspool_AsyncEnumPrintProcessors( */
6193 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
6194 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pEnvironment, */
6195 /* IDL: [in] uint32 Level, */
6196 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pPrintProcessorInfo, */
6197 /* IDL: [in] uint32 cbBuf, */
6198 /* IDL: [out] [ref] uint32 *pcbNeeded, */
6199 /* IDL: [out] [ref] uint32 *pcReturned */
6200 /* IDL: ); */
6202 static int
6203 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_)
6205 uint32_t status;
6207 di->dcerpc_procedure_name="winspool_AsyncEnumPrintProcessors";
6208 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo(tvb, offset, pinfo, tree, di, drep);
6209 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6211 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
6212 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6214 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pcReturned(tvb, offset, pinfo, tree, di, drep);
6215 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6217 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
6219 if (status != 0)
6220 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
6222 return offset;
6225 static int
6226 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_)
6228 di->dcerpc_procedure_name="winspool_AsyncEnumPrintProcessors";
6229 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pName(tvb, offset, pinfo, tree, di, drep);
6230 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6231 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pEnvironment(tvb, offset, pinfo, tree, di, drep);
6232 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6233 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_Level(tvb, offset, pinfo, tree, di, drep);
6234 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6235 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo(tvb, offset, pinfo, tree, di, drep);
6236 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6237 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_cbBuf(tvb, offset, pinfo, tree, di, drep);
6238 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6239 return offset;
6242 static int
6243 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_)
6245 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);
6247 return offset;
6250 static int
6251 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_)
6253 char *data;
6255 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pName, false, &data);
6256 proto_item_append_text(tree, ": %s", data);
6258 return offset;
6261 static int
6262 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_)
6264 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);
6266 return offset;
6269 static int
6270 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_)
6272 char *data;
6274 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pEnvironment, false, &data);
6275 proto_item_append_text(tree, ": %s", data);
6277 return offset;
6280 static int
6281 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_)
6283 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_Level, 0);
6285 return offset;
6288 static int
6289 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_)
6291 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);
6293 return offset;
6296 static int
6297 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_)
6299 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory__);
6301 return offset;
6304 static int
6305 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_)
6307 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory, 0);
6309 return offset;
6312 static int
6313 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_)
6315 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_cbBuf, 0);
6317 return offset;
6320 static int
6321 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_)
6323 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);
6325 return offset;
6328 static int
6329 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_)
6331 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pcbNeeded, 0);
6333 return offset;
6336 /* IDL: WERROR winspool_AsyncGetPrintProcessorDirectory( */
6337 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
6338 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pEnvironment, */
6339 /* IDL: [in] uint32 Level, */
6340 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pPrintProcessorDirectory, */
6341 /* IDL: [in] uint32 cbBuf, */
6342 /* IDL: [out] [ref] uint32 *pcbNeeded */
6343 /* IDL: ); */
6345 static int
6346 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_)
6348 uint32_t status;
6350 di->dcerpc_procedure_name="winspool_AsyncGetPrintProcessorDirectory";
6351 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory(tvb, offset, pinfo, tree, di, drep);
6352 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6354 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
6355 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6357 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
6359 if (status != 0)
6360 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
6362 return offset;
6365 static int
6366 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_)
6368 di->dcerpc_procedure_name="winspool_AsyncGetPrintProcessorDirectory";
6369 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pName(tvb, offset, pinfo, tree, di, drep);
6370 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6371 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pEnvironment(tvb, offset, pinfo, tree, di, drep);
6372 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6373 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_Level(tvb, offset, pinfo, tree, di, drep);
6374 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6375 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory(tvb, offset, pinfo, tree, di, drep);
6376 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6377 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_cbBuf(tvb, offset, pinfo, tree, di, drep);
6378 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6379 return offset;
6382 static int
6383 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_)
6385 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);
6387 return offset;
6390 static int
6391 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_)
6393 char *data;
6395 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPorts_pName, false, &data);
6396 proto_item_append_text(tree, ": %s", data);
6398 return offset;
6401 static int
6402 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_)
6404 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPorts_Level, 0);
6406 return offset;
6409 static int
6410 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_)
6412 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);
6414 return offset;
6417 static int
6418 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_)
6420 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pPort__);
6422 return offset;
6425 static int
6426 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_)
6428 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPorts_pPort, 0);
6430 return offset;
6433 static int
6434 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_)
6436 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPorts_cbBuf, 0);
6438 return offset;
6441 static int
6442 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_)
6444 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);
6446 return offset;
6449 static int
6450 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_)
6452 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPorts_pcbNeeded, 0);
6454 return offset;
6457 static int
6458 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_)
6460 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);
6462 return offset;
6465 static int
6466 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_)
6468 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPorts_pcReturned, 0);
6470 return offset;
6473 /* IDL: WERROR winspool_AsyncEnumPorts( */
6474 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
6475 /* IDL: [in] uint32 Level, */
6476 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pPort, */
6477 /* IDL: [in] uint32 cbBuf, */
6478 /* IDL: [out] [ref] uint32 *pcbNeeded, */
6479 /* IDL: [out] [ref] uint32 *pcReturned */
6480 /* IDL: ); */
6482 static int
6483 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_)
6485 uint32_t status;
6487 di->dcerpc_procedure_name="winspool_AsyncEnumPorts";
6488 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pPort(tvb, offset, pinfo, tree, di, drep);
6489 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6491 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
6492 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6494 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pcReturned(tvb, offset, pinfo, tree, di, drep);
6495 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6497 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
6499 if (status != 0)
6500 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
6502 return offset;
6505 static int
6506 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_)
6508 di->dcerpc_procedure_name="winspool_AsyncEnumPorts";
6509 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pName(tvb, offset, pinfo, tree, di, drep);
6510 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6511 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPorts_Level(tvb, offset, pinfo, tree, di, drep);
6512 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6513 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pPort(tvb, offset, pinfo, tree, di, drep);
6514 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6515 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPorts_cbBuf(tvb, offset, pinfo, tree, di, drep);
6516 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6517 return offset;
6520 static int
6521 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_)
6523 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);
6525 return offset;
6528 static int
6529 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_)
6531 char *data;
6533 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumMonitors_pName, false, &data);
6534 proto_item_append_text(tree, ": %s", data);
6536 return offset;
6539 static int
6540 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_)
6542 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumMonitors_Level, 0);
6544 return offset;
6547 static int
6548 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_)
6550 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);
6552 return offset;
6555 static int
6556 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_)
6558 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pMonitor__);
6560 return offset;
6563 static int
6564 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_)
6566 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumMonitors_pMonitor, 0);
6568 return offset;
6571 static int
6572 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_)
6574 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumMonitors_cbBuf, 0);
6576 return offset;
6579 static int
6580 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_)
6582 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);
6584 return offset;
6587 static int
6588 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_)
6590 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumMonitors_pcbNeeded, 0);
6592 return offset;
6595 static int
6596 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_)
6598 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);
6600 return offset;
6603 static int
6604 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_)
6606 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumMonitors_pcReturned, 0);
6608 return offset;
6611 /* IDL: WERROR winspool_AsyncEnumMonitors( */
6612 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
6613 /* IDL: [in] uint32 Level, */
6614 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pMonitor, */
6615 /* IDL: [in] uint32 cbBuf, */
6616 /* IDL: [out] [ref] uint32 *pcbNeeded, */
6617 /* IDL: [out] [ref] uint32 *pcReturned */
6618 /* IDL: ); */
6620 static int
6621 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_)
6623 uint32_t status;
6625 di->dcerpc_procedure_name="winspool_AsyncEnumMonitors";
6626 offset = iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pMonitor(tvb, offset, pinfo, tree, di, drep);
6627 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6629 offset = iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
6630 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6632 offset = iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pcReturned(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_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_)
6646 di->dcerpc_procedure_name="winspool_AsyncEnumMonitors";
6647 offset = iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pName(tvb, offset, pinfo, tree, di, drep);
6648 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6649 offset = iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_Level(tvb, offset, pinfo, tree, di, drep);
6650 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6651 offset = iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pMonitor(tvb, offset, pinfo, tree, di, drep);
6652 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6653 offset = iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_cbBuf(tvb, offset, pinfo, tree, di, drep);
6654 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6655 return offset;
6658 static int
6659 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_)
6661 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);
6663 return offset;
6666 static int
6667 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_)
6669 char *data;
6671 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPort_pName, false, &data);
6672 proto_item_append_text(tree, ": %s", data);
6674 return offset;
6677 static int
6678 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_)
6680 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);
6682 return offset;
6685 static int
6686 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_)
6688 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
6690 return offset;
6693 static int
6694 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_)
6696 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);
6698 return offset;
6701 static int
6702 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_)
6704 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
6706 return offset;
6709 static int
6710 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_)
6712 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);
6714 return offset;
6717 static int
6718 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_)
6720 char *data;
6722 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPort_pMonitorName, false, &data);
6723 proto_item_append_text(tree, ": %s", data);
6725 return offset;
6728 /* IDL: WERROR winspool_AsyncAddPort( */
6729 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
6730 /* IDL: [in] [ref] spoolss_SetPortInfoContainer *pPortContainer, */
6731 /* IDL: [in] [ref] spoolss_PortVarContainer *pPortVarContainer, */
6732 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pMonitorName */
6733 /* IDL: ); */
6735 static int
6736 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_)
6738 uint32_t status;
6740 di->dcerpc_procedure_name="winspool_AsyncAddPort";
6741 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
6743 if (status != 0)
6744 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
6746 return offset;
6749 static int
6750 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_)
6752 di->dcerpc_procedure_name="winspool_AsyncAddPort";
6753 offset = iremotewinspool_dissect_element_winspool_AsyncAddPort_pName(tvb, offset, pinfo, tree, di, drep);
6754 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6755 offset = iremotewinspool_dissect_element_winspool_AsyncAddPort_pPortContainer(tvb, offset, pinfo, tree, di, drep);
6756 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6757 offset = iremotewinspool_dissect_element_winspool_AsyncAddPort_pPortVarContainer(tvb, offset, pinfo, tree, di, drep);
6758 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6759 offset = iremotewinspool_dissect_element_winspool_AsyncAddPort_pMonitorName(tvb, offset, pinfo, tree, di, drep);
6760 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6761 return offset;
6764 static int
6765 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_)
6767 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);
6769 return offset;
6772 static int
6773 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_)
6775 char *data;
6777 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSetPort_pName, false, &data);
6778 proto_item_append_text(tree, ": %s", data);
6780 return offset;
6783 static int
6784 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_)
6786 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);
6788 return offset;
6791 static int
6792 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_)
6794 char *data;
6796 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSetPort_pPortName, false, &data);
6797 proto_item_append_text(tree, ": %s", data);
6799 return offset;
6802 static int
6803 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_)
6805 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);
6807 return offset;
6810 static int
6811 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_)
6813 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
6815 return offset;
6818 /* IDL: WERROR winspool_AsyncSetPort( */
6819 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
6820 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pPortName, */
6821 /* IDL: [in] [ref] spoolss_SetPortInfoContainer *pPortContainer */
6822 /* IDL: ); */
6824 static int
6825 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_)
6827 uint32_t status;
6829 di->dcerpc_procedure_name="winspool_AsyncSetPort";
6830 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
6832 if (status != 0)
6833 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
6835 return offset;
6838 static int
6839 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_)
6841 di->dcerpc_procedure_name="winspool_AsyncSetPort";
6842 offset = iremotewinspool_dissect_element_winspool_AsyncSetPort_pName(tvb, offset, pinfo, tree, di, drep);
6843 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6844 offset = iremotewinspool_dissect_element_winspool_AsyncSetPort_pPortName(tvb, offset, pinfo, tree, di, drep);
6845 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6846 offset = iremotewinspool_dissect_element_winspool_AsyncSetPort_pPortContainer(tvb, offset, pinfo, tree, di, drep);
6847 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6848 return offset;
6851 static int
6852 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_)
6854 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);
6856 return offset;
6859 static int
6860 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_)
6862 char *data;
6864 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddMonitor_Name, false, &data);
6865 proto_item_append_text(tree, ": %s", data);
6867 return offset;
6870 static int
6871 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_)
6873 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);
6875 return offset;
6878 static int
6879 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_)
6881 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
6883 return offset;
6886 /* IDL: WERROR winspool_AsyncAddMonitor( */
6887 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *Name, */
6888 /* IDL: [in] [ref] spoolss_MonitorContainer *pMonitorContainer */
6889 /* IDL: ); */
6891 static int
6892 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_)
6894 uint32_t status;
6896 di->dcerpc_procedure_name="winspool_AsyncAddMonitor";
6897 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
6899 if (status != 0)
6900 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
6902 return offset;
6905 static int
6906 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_)
6908 di->dcerpc_procedure_name="winspool_AsyncAddMonitor";
6909 offset = iremotewinspool_dissect_element_winspool_AsyncAddMonitor_Name(tvb, offset, pinfo, tree, di, drep);
6910 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6911 offset = iremotewinspool_dissect_element_winspool_AsyncAddMonitor_pMonitorContainer(tvb, offset, pinfo, tree, di, drep);
6912 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6913 return offset;
6916 static int
6917 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_)
6919 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);
6921 return offset;
6924 static int
6925 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_)
6927 char *data;
6929 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeleteMonitor_Name, false, &data);
6930 proto_item_append_text(tree, ": %s", data);
6932 return offset;
6935 static int
6936 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_)
6938 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);
6940 return offset;
6943 static int
6944 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_)
6946 char *data;
6948 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeleteMonitor_pEnvironment, false, &data);
6949 proto_item_append_text(tree, ": %s", data);
6951 return offset;
6954 static int
6955 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_)
6957 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);
6959 return offset;
6962 static int
6963 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_)
6965 char *data;
6967 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeleteMonitor_pMonitorName, false, &data);
6968 proto_item_append_text(tree, ": %s", data);
6970 return offset;
6973 /* IDL: WERROR winspool_AsyncDeleteMonitor( */
6974 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *Name, */
6975 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pEnvironment, */
6976 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pMonitorName */
6977 /* IDL: ); */
6979 static int
6980 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_)
6982 uint32_t status;
6984 di->dcerpc_procedure_name="winspool_AsyncDeleteMonitor";
6985 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
6987 if (status != 0)
6988 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
6990 return offset;
6993 static int
6994 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_)
6996 di->dcerpc_procedure_name="winspool_AsyncDeleteMonitor";
6997 offset = iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_Name(tvb, offset, pinfo, tree, di, drep);
6998 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
6999 offset = iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_pEnvironment(tvb, offset, pinfo, tree, di, drep);
7000 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7001 offset = iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_pMonitorName(tvb, offset, pinfo, tree, di, drep);
7002 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7003 return offset;
7006 static int
7007 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_)
7009 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);
7011 return offset;
7014 static int
7015 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_)
7017 char *data;
7019 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_Name, false, &data);
7020 proto_item_append_text(tree, ": %s", data);
7022 return offset;
7025 static int
7026 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_)
7028 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);
7030 return offset;
7033 static int
7034 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_)
7036 char *data;
7038 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_pEnvironment, false, &data);
7039 proto_item_append_text(tree, ": %s", data);
7041 return offset;
7044 static int
7045 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_)
7047 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);
7049 return offset;
7052 static int
7053 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_)
7055 char *data;
7057 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_pPrintProcessorName, false, &data);
7058 proto_item_append_text(tree, ": %s", data);
7060 return offset;
7063 /* IDL: WERROR winspool_AsyncDeletePrintProcessor( */
7064 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *Name, */
7065 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pEnvironment, */
7066 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pPrintProcessorName */
7067 /* IDL: ); */
7069 static int
7070 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_)
7072 uint32_t status;
7074 di->dcerpc_procedure_name="winspool_AsyncDeletePrintProcessor";
7075 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
7077 if (status != 0)
7078 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
7080 return offset;
7083 static int
7084 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_)
7086 di->dcerpc_procedure_name="winspool_AsyncDeletePrintProcessor";
7087 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_Name(tvb, offset, pinfo, tree, di, drep);
7088 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7089 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_pEnvironment(tvb, offset, pinfo, tree, di, drep);
7090 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7091 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_pPrintProcessorName(tvb, offset, pinfo, tree, di, drep);
7092 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7093 return offset;
7096 static int
7097 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_)
7099 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);
7101 return offset;
7104 static int
7105 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_)
7107 char *data;
7109 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pName, false, &data);
7110 proto_item_append_text(tree, ": %s", data);
7112 return offset;
7115 static int
7116 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_)
7118 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);
7120 return offset;
7123 static int
7124 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_)
7126 char *data;
7128 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pPrintProcessorName, false, &data);
7129 proto_item_append_text(tree, ": %s", data);
7131 return offset;
7134 static int
7135 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_)
7137 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_Level, 0);
7139 return offset;
7142 static int
7143 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_)
7145 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);
7147 return offset;
7150 static int
7151 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_)
7153 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes__);
7155 return offset;
7158 static int
7159 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_)
7161 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes, 0);
7163 return offset;
7166 static int
7167 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_)
7169 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_cbBuf, 0);
7171 return offset;
7174 static int
7175 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_)
7177 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);
7179 return offset;
7182 static int
7183 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_)
7185 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pcbNeeded, 0);
7187 return offset;
7190 static int
7191 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_)
7193 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);
7195 return offset;
7198 static int
7199 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_)
7201 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pcReturned, 0);
7203 return offset;
7206 /* IDL: WERROR winspool_AsyncEnumPrintProcessorDatatypes( */
7207 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pName, */
7208 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pPrintProcessorName, */
7209 /* IDL: [in] uint32 Level, */
7210 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pDatatypes, */
7211 /* IDL: [in] uint32 cbBuf, */
7212 /* IDL: [out] [ref] uint32 *pcbNeeded, */
7213 /* IDL: [out] [ref] uint32 *pcReturned */
7214 /* IDL: ); */
7216 static int
7217 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_)
7219 uint32_t status;
7221 di->dcerpc_procedure_name="winspool_AsyncEnumPrintProcessorDatatypes";
7222 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes(tvb, offset, pinfo, tree, di, drep);
7223 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7225 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
7226 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7228 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pcReturned(tvb, offset, pinfo, tree, di, drep);
7229 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7231 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
7233 if (status != 0)
7234 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
7236 return offset;
7239 static int
7240 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_)
7242 di->dcerpc_procedure_name="winspool_AsyncEnumPrintProcessorDatatypes";
7243 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pName(tvb, offset, pinfo, tree, di, drep);
7244 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7245 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pPrintProcessorName(tvb, offset, pinfo, tree, di, drep);
7246 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7247 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_Level(tvb, offset, pinfo, tree, di, drep);
7248 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7249 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes(tvb, offset, pinfo, tree, di, drep);
7250 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7251 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_cbBuf(tvb, offset, pinfo, tree, di, drep);
7252 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7253 return offset;
7256 static int
7257 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_)
7259 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);
7261 return offset;
7264 static int
7265 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_)
7267 char *data;
7269 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pServer, false, &data);
7270 proto_item_append_text(tree, ": %s", data);
7272 return offset;
7275 static int
7276 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_)
7278 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);
7280 return offset;
7283 static int
7284 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_)
7286 char *data;
7288 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pPrinterName, false, &data);
7289 proto_item_append_text(tree, ": %s", data);
7291 return offset;
7294 static int
7295 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_)
7297 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);
7299 return offset;
7302 static int
7303 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_)
7305 char *data;
7307 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pPrintServer, false, &data);
7308 proto_item_append_text(tree, ": %s", data);
7310 return offset;
7313 static int
7314 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_)
7316 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);
7318 return offset;
7321 static int
7322 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_)
7324 char *data;
7326 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pProvider, false, &data);
7327 proto_item_append_text(tree, ": %s", data);
7329 return offset;
7332 /* IDL: WERROR winspool_AsyncAddPerMachineConnection( */
7333 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pServer, */
7334 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pPrinterName, */
7335 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pPrintServer, */
7336 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pProvider */
7337 /* IDL: ); */
7339 static int
7340 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_)
7342 uint32_t status;
7344 di->dcerpc_procedure_name="winspool_AsyncAddPerMachineConnection";
7345 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
7347 if (status != 0)
7348 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
7350 return offset;
7353 static int
7354 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_)
7356 di->dcerpc_procedure_name="winspool_AsyncAddPerMachineConnection";
7357 offset = iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pServer(tvb, offset, pinfo, tree, di, drep);
7358 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7359 offset = iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pPrinterName(tvb, offset, pinfo, tree, di, drep);
7360 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7361 offset = iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pPrintServer(tvb, offset, pinfo, tree, di, drep);
7362 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7363 offset = iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pProvider(tvb, offset, pinfo, tree, di, drep);
7364 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7365 return offset;
7368 static int
7369 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_)
7371 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);
7373 return offset;
7376 static int
7377 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_)
7379 char *data;
7381 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePerMachineConnection_pServer, false, &data);
7382 proto_item_append_text(tree, ": %s", data);
7384 return offset;
7387 static int
7388 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_)
7390 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);
7392 return offset;
7395 static int
7396 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_)
7398 char *data;
7400 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePerMachineConnection_pPrinterName, false, &data);
7401 proto_item_append_text(tree, ": %s", data);
7403 return offset;
7406 /* IDL: WERROR winspool_AsyncDeletePerMachineConnection( */
7407 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pServer, */
7408 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pPrinterName */
7409 /* IDL: ); */
7411 static int
7412 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_)
7414 uint32_t status;
7416 di->dcerpc_procedure_name="winspool_AsyncDeletePerMachineConnection";
7417 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
7419 if (status != 0)
7420 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
7422 return offset;
7425 static int
7426 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_)
7428 di->dcerpc_procedure_name="winspool_AsyncDeletePerMachineConnection";
7429 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePerMachineConnection_pServer(tvb, offset, pinfo, tree, di, drep);
7430 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7431 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePerMachineConnection_pPrinterName(tvb, offset, pinfo, tree, di, drep);
7432 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7433 return offset;
7436 static int
7437 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_)
7439 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);
7441 return offset;
7444 static int
7445 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_)
7447 char *data;
7449 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pServer, false, &data);
7450 proto_item_append_text(tree, ": %s", data);
7452 return offset;
7455 static int
7456 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_)
7458 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);
7460 return offset;
7463 static int
7464 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_)
7466 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pPrinterEnum__);
7468 return offset;
7471 static int
7472 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_)
7474 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pPrinterEnum, 0);
7476 return offset;
7479 static int
7480 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_)
7482 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_cbBuf, 0);
7484 return offset;
7487 static int
7488 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_)
7490 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);
7492 return offset;
7495 static int
7496 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_)
7498 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pcbNeeded, 0);
7500 return offset;
7503 static int
7504 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_)
7506 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);
7508 return offset;
7511 static int
7512 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_)
7514 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pcReturned, 0);
7516 return offset;
7519 /* IDL: WERROR winspool_AsyncEnumPerMachineConnections( */
7520 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pServer, */
7521 /* IDL: [in] [out] [size_is(cbBuf)] [unique(1)] uint8 *pPrinterEnum, */
7522 /* IDL: [in] uint32 cbBuf, */
7523 /* IDL: [out] [ref] uint32 *pcbNeeded, */
7524 /* IDL: [out] [ref] uint32 *pcReturned */
7525 /* IDL: ); */
7527 static int
7528 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_)
7530 uint32_t status;
7532 di->dcerpc_procedure_name="winspool_AsyncEnumPerMachineConnections";
7533 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pPrinterEnum(tvb, offset, pinfo, tree, di, drep);
7534 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7536 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pcbNeeded(tvb, offset, pinfo, tree, di, drep);
7537 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7539 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pcReturned(tvb, offset, pinfo, tree, di, drep);
7540 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7542 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
7544 if (status != 0)
7545 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
7547 return offset;
7550 static int
7551 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_)
7553 di->dcerpc_procedure_name="winspool_AsyncEnumPerMachineConnections";
7554 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pServer(tvb, offset, pinfo, tree, di, drep);
7555 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7556 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pPrinterEnum(tvb, offset, pinfo, tree, di, drep);
7557 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7558 offset = iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_cbBuf(tvb, offset, pinfo, tree, di, drep);
7559 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7560 return offset;
7563 static int
7564 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_)
7566 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_hPrinter, 0);
7568 return offset;
7571 static int
7572 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_)
7574 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);
7576 return offset;
7579 static int
7580 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_)
7582 offset = iremotewinspool_dissect_struct_winspool_PrintPropertiesCollection(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_pNotifyFilter,0);
7584 return offset;
7587 static int
7588 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_)
7590 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);
7592 return offset;
7595 static int
7596 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_)
7598 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_phRpcHandle, 0);
7600 return offset;
7603 /* IDL: HRESULT winspool_SyncRegisterForRemoteNotifications( */
7604 /* IDL: [in] policy_handle hPrinter, */
7605 /* IDL: [in] [ref] winspool_PrintPropertiesCollection *pNotifyFilter, */
7606 /* IDL: [out] [ref] policy_handle *phRpcHandle */
7607 /* IDL: ); */
7609 static int
7610 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_)
7612 uint32_t status;
7614 di->dcerpc_procedure_name="winspool_SyncRegisterForRemoteNotifications";
7615 offset = iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_phRpcHandle(tvb, offset, pinfo, tree, di, drep);
7616 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7618 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status);
7620 if (status != 0)
7621 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x"));
7623 return offset;
7626 static int
7627 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_)
7629 di->dcerpc_procedure_name="winspool_SyncRegisterForRemoteNotifications";
7630 offset = iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_hPrinter(tvb, offset, pinfo, tree, di, drep);
7631 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7632 offset = iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_pNotifyFilter(tvb, offset, pinfo, tree, di, drep);
7633 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7634 return offset;
7637 static int
7638 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_)
7640 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);
7642 return offset;
7645 static int
7646 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_)
7648 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_SyncUnRegisterForRemoteNotifications_phRpcHandle, 0);
7650 return offset;
7653 /* IDL: HRESULT winspool_SyncUnRegisterForRemoteNotifications( */
7654 /* IDL: [in] [out] [ref] policy_handle *phRpcHandle */
7655 /* IDL: ); */
7657 static int
7658 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_)
7660 uint32_t status;
7662 di->dcerpc_procedure_name="winspool_SyncUnRegisterForRemoteNotifications";
7663 offset = iremotewinspool_dissect_element_winspool_SyncUnRegisterForRemoteNotifications_phRpcHandle(tvb, offset, pinfo, tree, di, drep);
7664 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7666 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status);
7668 if (status != 0)
7669 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x"));
7671 return offset;
7674 static int
7675 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_)
7677 di->dcerpc_procedure_name="winspool_SyncUnRegisterForRemoteNotifications";
7678 offset = iremotewinspool_dissect_element_winspool_SyncUnRegisterForRemoteNotifications_phRpcHandle(tvb, offset, pinfo, tree, di, drep);
7679 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7680 return offset;
7683 static int
7684 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_)
7686 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_hRpcHandle, 0);
7688 return offset;
7691 static int
7692 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_)
7694 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);
7696 return offset;
7699 static int
7700 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_)
7702 offset = iremotewinspool_dissect_struct_winspool_PrintPropertiesCollection(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_pNotifyFilter,0);
7704 return offset;
7707 static int
7708 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_)
7710 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);
7712 return offset;
7715 static int
7716 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_)
7718 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);
7720 return offset;
7723 static int
7724 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_)
7726 offset = iremotewinspool_dissect_struct_winspool_PrintPropertiesCollection(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_ppNotifyData,0);
7728 return offset;
7731 /* IDL: HRESULT winspool_SyncRefreshRemoteNotifications( */
7732 /* IDL: [in] policy_handle hRpcHandle, */
7733 /* IDL: [in] [ref] winspool_PrintPropertiesCollection *pNotifyFilter, */
7734 /* IDL: [out] [ref] winspool_PrintPropertiesCollection **ppNotifyData */
7735 /* IDL: ); */
7737 static int
7738 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_)
7740 uint32_t status;
7742 di->dcerpc_procedure_name="winspool_SyncRefreshRemoteNotifications";
7743 offset = iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_ppNotifyData(tvb, offset, pinfo, tree, di, drep);
7744 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7746 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status);
7748 if (status != 0)
7749 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x"));
7751 return offset;
7754 static int
7755 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_)
7757 di->dcerpc_procedure_name="winspool_SyncRefreshRemoteNotifications";
7758 offset = iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_hRpcHandle(tvb, offset, pinfo, tree, di, drep);
7759 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7760 offset = iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_pNotifyFilter(tvb, offset, pinfo, tree, di, drep);
7761 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7762 return offset;
7765 static int
7766 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_)
7768 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetRemoteNotifications_hRpcHandle, 0);
7770 return offset;
7773 static int
7774 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_)
7776 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);
7778 return offset;
7781 static int
7782 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_)
7784 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);
7786 return offset;
7789 static int
7790 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_)
7792 offset = iremotewinspool_dissect_struct_winspool_PrintPropertiesCollection(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_AsyncGetRemoteNotifications_ppNotifyData,0);
7794 return offset;
7797 /* IDL: HRESULT winspool_AsyncGetRemoteNotifications( */
7798 /* IDL: [in] policy_handle hRpcHandle, */
7799 /* IDL: [out] [ref] winspool_PrintPropertiesCollection **ppNotifyData */
7800 /* IDL: ); */
7802 static int
7803 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_)
7805 uint32_t status;
7807 di->dcerpc_procedure_name="winspool_AsyncGetRemoteNotifications";
7808 offset = iremotewinspool_dissect_element_winspool_AsyncGetRemoteNotifications_ppNotifyData(tvb, offset, pinfo, tree, di, drep);
7809 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7811 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status);
7813 if (status != 0)
7814 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x"));
7816 return offset;
7819 static int
7820 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_)
7822 di->dcerpc_procedure_name="winspool_AsyncGetRemoteNotifications";
7823 offset = iremotewinspool_dissect_element_winspool_AsyncGetRemoteNotifications_hRpcHandle(tvb, offset, pinfo, tree, di, drep);
7824 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7825 return offset;
7828 static int
7829 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_)
7831 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);
7833 return offset;
7836 static int
7837 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_)
7839 char *data;
7841 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszServer, false, &data);
7842 proto_item_append_text(tree, ": %s", data);
7844 return offset;
7847 static int
7848 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_)
7850 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);
7852 return offset;
7855 static int
7856 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_)
7858 char *data;
7860 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszInfPath, false, &data);
7861 proto_item_append_text(tree, ": %s", data);
7863 return offset;
7866 static int
7867 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_)
7869 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);
7871 return offset;
7874 static int
7875 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_)
7877 char *data;
7879 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszDriverName, false, &data);
7880 proto_item_append_text(tree, ": %s", data);
7882 return offset;
7885 static int
7886 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_)
7888 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);
7890 return offset;
7893 static int
7894 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_)
7896 char *data;
7898 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszEnvironment, false, &data);
7899 proto_item_append_text(tree, ": %s", data);
7901 return offset;
7904 static int
7905 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_)
7907 offset = iremotewinspool_dissect_bitmap_winspool_InstallPrinterDriverFromPackageFlags(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_dwFlags, 0);
7909 return offset;
7912 /* IDL: HRESULT winspool_AsyncInstallPrinterDriverFromPackage( */
7913 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pszServer, */
7914 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pszInfPath, */
7915 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszDriverName, */
7916 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszEnvironment, */
7917 /* IDL: [in] winspool_InstallPrinterDriverFromPackageFlags dwFlags */
7918 /* IDL: ); */
7920 static int
7921 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_)
7923 uint32_t status;
7925 di->dcerpc_procedure_name="winspool_AsyncInstallPrinterDriverFromPackage";
7926 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status);
7928 if (status != 0)
7929 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x"));
7931 return offset;
7934 static int
7935 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_)
7937 di->dcerpc_procedure_name="winspool_AsyncInstallPrinterDriverFromPackage";
7938 offset = iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszServer(tvb, offset, pinfo, tree, di, drep);
7939 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7940 offset = iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszInfPath(tvb, offset, pinfo, tree, di, drep);
7941 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7942 offset = iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszDriverName(tvb, offset, pinfo, tree, di, drep);
7943 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7944 offset = iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszEnvironment(tvb, offset, pinfo, tree, di, drep);
7945 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7946 offset = iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_dwFlags(tvb, offset, pinfo, tree, di, drep);
7947 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
7948 return offset;
7951 static int
7952 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_)
7954 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);
7956 return offset;
7959 static int
7960 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_)
7962 char *data;
7964 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszServer, false, &data);
7965 proto_item_append_text(tree, ": %s", data);
7967 return offset;
7970 static int
7971 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_)
7973 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);
7975 return offset;
7978 static int
7979 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_)
7981 char *data;
7983 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszInfPath, false, &data);
7984 proto_item_append_text(tree, ": %s", data);
7986 return offset;
7989 static int
7990 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_)
7992 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);
7994 return offset;
7997 static int
7998 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_)
8000 char *data;
8002 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszEnvironment, false, &data);
8003 proto_item_append_text(tree, ": %s", data);
8005 return offset;
8008 static int
8009 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_)
8011 offset = iremotewinspool_dissect_bitmap_winspool_UploadPrinterDriverPackageFlags(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_dwFlags, 0);
8013 return offset;
8016 static int
8017 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_)
8019 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);
8021 return offset;
8024 static int
8025 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_)
8027 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath__);
8029 return offset;
8032 static int
8033 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_)
8035 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath, 0);
8037 return offset;
8040 static int
8041 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_)
8043 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);
8045 return offset;
8048 static int
8049 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_)
8051 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pcchDestInfPath, 0);
8053 return offset;
8056 /* IDL: HRESULT winspool_AsyncUploadPrinterDriverPackage( */
8057 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pszServer, */
8058 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszInfPath, */
8059 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszEnvironment, */
8060 /* IDL: [in] winspool_UploadPrinterDriverPackageFlags dwFlags, */
8061 /* IDL: [charset(UTF16)] [in] [out] [size_is(*pcchDestInfPath)] [unique(1)] uint16 *pszDestInfPath, */
8062 /* IDL: [in] [out] [ref] uint32 *pcchDestInfPath */
8063 /* IDL: ); */
8065 static int
8066 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_)
8068 uint32_t status;
8070 di->dcerpc_procedure_name="winspool_AsyncUploadPrinterDriverPackage";
8071 offset = iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath(tvb, offset, pinfo, tree, di, drep);
8072 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8074 offset = iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pcchDestInfPath(tvb, offset, pinfo, tree, di, drep);
8075 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8077 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status);
8079 if (status != 0)
8080 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x"));
8082 return offset;
8085 static int
8086 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_)
8088 di->dcerpc_procedure_name="winspool_AsyncUploadPrinterDriverPackage";
8089 offset = iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszServer(tvb, offset, pinfo, tree, di, drep);
8090 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8091 offset = iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszInfPath(tvb, offset, pinfo, tree, di, drep);
8092 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8093 offset = iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszEnvironment(tvb, offset, pinfo, tree, di, drep);
8094 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8095 offset = iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_dwFlags(tvb, offset, pinfo, tree, di, drep);
8096 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8097 offset = iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath(tvb, offset, pinfo, tree, di, drep);
8098 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8099 offset = iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pcchDestInfPath(tvb, offset, pinfo, tree, di, drep);
8100 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8101 return offset;
8104 static int
8105 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_)
8107 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);
8109 return offset;
8112 static int
8113 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_)
8115 char *data;
8117 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszServer, false, &data);
8118 proto_item_append_text(tree, ": %s", data);
8120 return offset;
8123 static int
8124 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_)
8126 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);
8128 return offset;
8131 static int
8132 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_)
8134 char *data;
8136 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszEnvironment, false, &data);
8137 proto_item_append_text(tree, ": %s", data);
8139 return offset;
8142 static int
8143 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_)
8145 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_cchCoreDrivers, 0);
8147 return offset;
8150 static int
8151 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_)
8153 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);
8155 return offset;
8158 static int
8159 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_)
8161 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies__);
8163 return offset;
8166 static int
8167 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_)
8169 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies, 0);
8171 return offset;
8174 static int
8175 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_)
8177 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_cCorePrinterDrivers, 0);
8179 return offset;
8182 static int
8183 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_)
8185 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);
8187 return offset;
8190 static int
8191 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_)
8193 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pCorePrinterDrivers__);
8195 return offset;
8198 static int
8199 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_)
8201 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
8203 return offset;
8206 /* IDL: HRESULT winspool_AsyncGetCorePrinterDrivers( */
8207 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pszServer, */
8208 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszEnvironment, */
8209 /* IDL: [in] uint32 cchCoreDrivers, */
8210 /* IDL: [in] [ref] [size_is(cchCoreDrivers)] uint16 *pszzCoreDriverDependencies, */
8211 /* IDL: [in] uint32 cCorePrinterDrivers, */
8212 /* IDL: [out] [ref] [size_is(cCorePrinterDrivers)] spoolss_CorePrinterDriver *pCorePrinterDrivers */
8213 /* IDL: ); */
8215 static int
8216 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_)
8218 uint32_t status;
8220 di->dcerpc_procedure_name="winspool_AsyncGetCorePrinterDrivers";
8221 offset = iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pCorePrinterDrivers(tvb, offset, pinfo, tree, di, drep);
8222 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8224 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status);
8226 if (status != 0)
8227 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x"));
8229 return offset;
8232 static int
8233 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_)
8235 di->dcerpc_procedure_name="winspool_AsyncGetCorePrinterDrivers";
8236 offset = iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszServer(tvb, offset, pinfo, tree, di, drep);
8237 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8238 offset = iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszEnvironment(tvb, offset, pinfo, tree, di, drep);
8239 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8240 offset = iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_cchCoreDrivers(tvb, offset, pinfo, tree, di, drep);
8241 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8242 offset = iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies(tvb, offset, pinfo, tree, di, drep);
8243 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8244 offset = iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_cCorePrinterDrivers(tvb, offset, pinfo, tree, di, drep);
8245 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8246 return offset;
8249 static int
8250 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_)
8252 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);
8254 return offset;
8257 static int
8258 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_)
8260 char *data;
8262 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pszServer, false, &data);
8263 proto_item_append_text(tree, ": %s", data);
8265 return offset;
8268 static int
8269 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_)
8271 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);
8273 return offset;
8276 static int
8277 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_)
8279 char *data;
8281 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pszEnvironment, false, &data);
8282 proto_item_append_text(tree, ": %s", data);
8284 return offset;
8287 static int
8288 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_)
8290 offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_CoreDriverGUID, NULL);
8292 return offset;
8295 static int
8296 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_)
8298 offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_ftDriverDate);
8300 return offset;
8303 static int
8304 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_)
8306 offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_dwlDriverVersion, NULL);
8308 return offset;
8311 static int
8312 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_)
8314 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);
8316 return offset;
8319 static int
8320 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_)
8322 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pbDriverInstalled, 0);
8324 return offset;
8327 /* IDL: HRESULT winspool_AsyncCorePrinterDriverInstalled( */
8328 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pszServer, */
8329 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszEnvironment, */
8330 /* IDL: [in] GUID CoreDriverGUID, */
8331 /* IDL: [in] NTTIME ftDriverDate, */
8332 /* IDL: [in] hyper dwlDriverVersion, */
8333 /* IDL: [out] [ref] int32 *pbDriverInstalled */
8334 /* IDL: ); */
8336 static int
8337 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_)
8339 uint32_t status;
8341 di->dcerpc_procedure_name="winspool_AsyncCorePrinterDriverInstalled";
8342 offset = iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pbDriverInstalled(tvb, offset, pinfo, tree, di, drep);
8343 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8345 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status);
8347 if (status != 0)
8348 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x"));
8350 return offset;
8353 static int
8354 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_)
8356 di->dcerpc_procedure_name="winspool_AsyncCorePrinterDriverInstalled";
8357 offset = iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pszServer(tvb, offset, pinfo, tree, di, drep);
8358 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8359 offset = iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pszEnvironment(tvb, offset, pinfo, tree, di, drep);
8360 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8361 offset = iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_CoreDriverGUID(tvb, offset, pinfo, tree, di, drep);
8362 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8363 offset = iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_ftDriverDate(tvb, offset, pinfo, tree, di, drep);
8364 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8365 offset = iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_dwlDriverVersion(tvb, offset, pinfo, tree, di, drep);
8366 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8367 return offset;
8370 static int
8371 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_)
8373 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);
8375 return offset;
8378 static int
8379 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_)
8381 char *data;
8383 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszServer, false, &data);
8384 proto_item_append_text(tree, ": %s", data);
8386 return offset;
8389 static int
8390 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_)
8392 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);
8394 return offset;
8397 static int
8398 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_)
8400 char *data;
8402 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszEnvironment, false, &data);
8403 proto_item_append_text(tree, ": %s", data);
8405 return offset;
8408 static int
8409 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_)
8411 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);
8413 return offset;
8416 static int
8417 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_)
8419 char *data;
8421 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszLanguage, false, &data);
8422 proto_item_append_text(tree, ": %s", data);
8424 return offset;
8427 static int
8428 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_)
8430 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);
8432 return offset;
8435 static int
8436 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_)
8438 char *data;
8440 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszPackageID, false, &data);
8441 proto_item_append_text(tree, ": %s", data);
8443 return offset;
8446 static int
8447 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_)
8449 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);
8451 return offset;
8454 static int
8455 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_)
8457 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab__);
8459 return offset;
8462 static int
8463 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_)
8465 offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab, 0);
8467 return offset;
8470 static int
8471 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_)
8473 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_cchDriverPackageCab, 0);
8475 return offset;
8478 static int
8479 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_)
8481 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);
8483 return offset;
8486 static int
8487 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_)
8489 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pcchRequiredSize, 0);
8491 return offset;
8494 /* IDL: HRESULT winspool_AsyncGetPrinterDriverPackagePath( */
8495 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pszServer, */
8496 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszEnvironment, */
8497 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pszLanguage, */
8498 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszPackageID, */
8499 /* IDL: [in] [out] [size_is(cchDriverPackageCab)] [unique(1)] uint16 *pszDriverPackageCab, */
8500 /* IDL: [in] uint32 cchDriverPackageCab, */
8501 /* IDL: [out] [ref] uint32 *pcchRequiredSize */
8502 /* IDL: ); */
8504 static int
8505 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_)
8507 uint32_t status;
8509 di->dcerpc_procedure_name="winspool_AsyncGetPrinterDriverPackagePath";
8510 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab(tvb, offset, pinfo, tree, di, drep);
8511 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8513 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pcchRequiredSize(tvb, offset, pinfo, tree, di, drep);
8514 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8516 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status);
8518 if (status != 0)
8519 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x"));
8521 return offset;
8524 static int
8525 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_)
8527 di->dcerpc_procedure_name="winspool_AsyncGetPrinterDriverPackagePath";
8528 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszServer(tvb, offset, pinfo, tree, di, drep);
8529 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8530 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszEnvironment(tvb, offset, pinfo, tree, di, drep);
8531 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8532 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszLanguage(tvb, offset, pinfo, tree, di, drep);
8533 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8534 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszPackageID(tvb, offset, pinfo, tree, di, drep);
8535 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8536 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab(tvb, offset, pinfo, tree, di, drep);
8537 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8538 offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_cchDriverPackageCab(tvb, offset, pinfo, tree, di, drep);
8539 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8540 return offset;
8543 static int
8544 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_)
8546 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);
8548 return offset;
8551 static int
8552 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_)
8554 char *data;
8556 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszServer, false, &data);
8557 proto_item_append_text(tree, ": %s", data);
8559 return offset;
8562 static int
8563 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_)
8565 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);
8567 return offset;
8570 static int
8571 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_)
8573 char *data;
8575 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszInfPath, false, &data);
8576 proto_item_append_text(tree, ": %s", data);
8578 return offset;
8581 static int
8582 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_)
8584 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);
8586 return offset;
8589 static int
8590 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_)
8592 char *data;
8594 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszEnvironment, false, &data);
8595 proto_item_append_text(tree, ": %s", data);
8597 return offset;
8600 /* IDL: HRESULT winspool_AsyncDeletePrinterDriverPackage( */
8601 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pszServer, */
8602 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszInfPath, */
8603 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszEnvironment */
8604 /* IDL: ); */
8606 static int
8607 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_)
8609 uint32_t status;
8611 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDriverPackage";
8612 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status);
8614 if (status != 0)
8615 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x"));
8617 return offset;
8620 static int
8621 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_)
8623 di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDriverPackage";
8624 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszServer(tvb, offset, pinfo, tree, di, drep);
8625 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8626 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszInfPath(tvb, offset, pinfo, tree, di, drep);
8627 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8628 offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszEnvironment(tvb, offset, pinfo, tree, di, drep);
8629 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8630 return offset;
8633 static int
8634 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_)
8636 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncReadPrinter_hPrinter, 0);
8638 return offset;
8641 static int
8642 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_)
8644 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);
8646 return offset;
8649 static int
8650 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_)
8652 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pBuf__);
8654 return offset;
8657 static int
8658 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_)
8660 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncReadPrinter_pBuf, 0);
8662 return offset;
8665 static int
8666 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_)
8668 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncReadPrinter_cbBuf, 0);
8670 return offset;
8673 static int
8674 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_)
8676 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);
8678 return offset;
8681 static int
8682 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_)
8684 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncReadPrinter_pcNoBytesRead, 0);
8686 return offset;
8689 /* IDL: WERROR winspool_AsyncReadPrinter( */
8690 /* IDL: [in] policy_handle hPrinter, */
8691 /* IDL: [out] [ref] [size_is(cbBuf)] uint8 *pBuf, */
8692 /* IDL: [in] uint32 cbBuf, */
8693 /* IDL: [out] [ref] uint32 *pcNoBytesRead */
8694 /* IDL: ); */
8696 static int
8697 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_)
8699 uint32_t status;
8701 di->dcerpc_procedure_name="winspool_AsyncReadPrinter";
8702 offset = iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pBuf(tvb, offset, pinfo, tree, di, drep);
8703 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8705 offset = iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pcNoBytesRead(tvb, offset, pinfo, tree, di, drep);
8706 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8708 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
8710 if (status != 0)
8711 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
8713 return offset;
8716 static int
8717 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_)
8719 di->dcerpc_procedure_name="winspool_AsyncReadPrinter";
8720 offset = iremotewinspool_dissect_element_winspool_AsyncReadPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
8721 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8722 offset = iremotewinspool_dissect_element_winspool_AsyncReadPrinter_cbBuf(tvb, offset, pinfo, tree, di, drep);
8723 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8724 return offset;
8727 static int
8728 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_)
8730 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncResetPrinter_hPrinter, 0);
8732 return offset;
8735 static int
8736 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_)
8738 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);
8740 return offset;
8743 static int
8744 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_)
8746 char *data;
8748 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncResetPrinter_pDatatype, false, &data);
8749 proto_item_append_text(tree, ": %s", data);
8751 return offset;
8754 static int
8755 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_)
8757 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);
8759 return offset;
8762 static int
8763 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_)
8765 offset = dissect_DEVMODE_CTR(tvb, offset, pinfo, tree, di, drep);
8767 return offset;
8770 /* IDL: WERROR winspool_AsyncResetPrinter( */
8771 /* IDL: [in] policy_handle hPrinter, */
8772 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *pDatatype, */
8773 /* IDL: [in] [ref] spoolss_DevmodeContainer *pDevModeContainer */
8774 /* IDL: ); */
8776 static int
8777 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_)
8779 uint32_t status;
8781 di->dcerpc_procedure_name="winspool_AsyncResetPrinter";
8782 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
8784 if (status != 0)
8785 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
8787 return offset;
8790 static int
8791 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_)
8793 di->dcerpc_procedure_name="winspool_AsyncResetPrinter";
8794 offset = iremotewinspool_dissect_element_winspool_AsyncResetPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep);
8795 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8796 offset = iremotewinspool_dissect_element_winspool_AsyncResetPrinter_pDatatype(tvb, offset, pinfo, tree, di, drep);
8797 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8798 offset = iremotewinspool_dissect_element_winspool_AsyncResetPrinter_pDevModeContainer(tvb, offset, pinfo, tree, di, drep);
8799 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8800 return offset;
8803 static int
8804 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_)
8806 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_hPrinter, 0);
8808 return offset;
8811 static int
8812 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_)
8814 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_JobId, 0);
8816 return offset;
8819 static int
8820 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_)
8822 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);
8824 return offset;
8827 static int
8828 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_)
8830 char *data;
8832 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_pszName, false, &data);
8833 proto_item_append_text(tree, ": %s", data);
8835 return offset;
8838 static int
8839 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_)
8841 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);
8843 return offset;
8846 static int
8847 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_)
8849 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
8851 return offset;
8854 /* IDL: WERROR winspool_AsyncGetJobNamedPropertyValue( */
8855 /* IDL: [in] policy_handle hPrinter, */
8856 /* IDL: [in] uint32 JobId, */
8857 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszName, */
8858 /* IDL: [out] [ref] spoolss_PrintPropertyValue *pValue */
8859 /* IDL: ); */
8861 static int
8862 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_)
8864 uint32_t status;
8866 di->dcerpc_procedure_name="winspool_AsyncGetJobNamedPropertyValue";
8867 offset = iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_pValue(tvb, offset, pinfo, tree, di, drep);
8868 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8870 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
8872 if (status != 0)
8873 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
8875 return offset;
8878 static int
8879 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_)
8881 di->dcerpc_procedure_name="winspool_AsyncGetJobNamedPropertyValue";
8882 offset = iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_hPrinter(tvb, offset, pinfo, tree, di, drep);
8883 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8884 offset = iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_JobId(tvb, offset, pinfo, tree, di, drep);
8885 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8886 offset = iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_pszName(tvb, offset, pinfo, tree, di, drep);
8887 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8888 return offset;
8891 static int
8892 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_)
8894 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_hPrinter, 0);
8896 return offset;
8899 static int
8900 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_)
8902 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_JobId, 0);
8904 return offset;
8907 static int
8908 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_)
8910 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);
8912 return offset;
8915 static int
8916 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_)
8918 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
8920 return offset;
8923 /* IDL: WERROR winspool_AsyncSetJobNamedProperty( */
8924 /* IDL: [in] policy_handle hPrinter, */
8925 /* IDL: [in] uint32 JobId, */
8926 /* IDL: [in] [ref] spoolss_PrintNamedProperty *pProperty */
8927 /* IDL: ); */
8929 static int
8930 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_)
8932 uint32_t status;
8934 di->dcerpc_procedure_name="winspool_AsyncSetJobNamedProperty";
8935 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
8937 if (status != 0)
8938 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
8940 return offset;
8943 static int
8944 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_)
8946 di->dcerpc_procedure_name="winspool_AsyncSetJobNamedProperty";
8947 offset = iremotewinspool_dissect_element_winspool_AsyncSetJobNamedProperty_hPrinter(tvb, offset, pinfo, tree, di, drep);
8948 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8949 offset = iremotewinspool_dissect_element_winspool_AsyncSetJobNamedProperty_JobId(tvb, offset, pinfo, tree, di, drep);
8950 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8951 offset = iremotewinspool_dissect_element_winspool_AsyncSetJobNamedProperty_pProperty(tvb, offset, pinfo, tree, di, drep);
8952 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
8953 return offset;
8956 static int
8957 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_)
8959 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_hPrinter, 0);
8961 return offset;
8964 static int
8965 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_)
8967 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_JobId, 0);
8969 return offset;
8972 static int
8973 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_)
8975 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);
8977 return offset;
8980 static int
8981 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_)
8983 char *data;
8985 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_pszName, false, &data);
8986 proto_item_append_text(tree, ": %s", data);
8988 return offset;
8991 /* IDL: WERROR winspool_AsyncDeleteJobNamedProperty( */
8992 /* IDL: [in] policy_handle hPrinter, */
8993 /* IDL: [in] uint32 JobId, */
8994 /* IDL: [charset(UTF16)] [in] [ref] uint16 *pszName */
8995 /* IDL: ); */
8997 static int
8998 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_)
9000 uint32_t status;
9002 di->dcerpc_procedure_name="winspool_AsyncDeleteJobNamedProperty";
9003 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
9005 if (status != 0)
9006 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
9008 return offset;
9011 static int
9012 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_)
9014 di->dcerpc_procedure_name="winspool_AsyncDeleteJobNamedProperty";
9015 offset = iremotewinspool_dissect_element_winspool_AsyncDeleteJobNamedProperty_hPrinter(tvb, offset, pinfo, tree, di, drep);
9016 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9017 offset = iremotewinspool_dissect_element_winspool_AsyncDeleteJobNamedProperty_JobId(tvb, offset, pinfo, tree, di, drep);
9018 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9019 offset = iremotewinspool_dissect_element_winspool_AsyncDeleteJobNamedProperty_pszName(tvb, offset, pinfo, tree, di, drep);
9020 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9021 return offset;
9024 static int
9025 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_)
9027 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_hPrinter, 0);
9029 return offset;
9032 static int
9033 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_)
9035 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_JobId, 0);
9037 return offset;
9040 static int
9041 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_)
9043 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);
9045 return offset;
9048 static int
9049 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_)
9051 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_pcProperties, 0);
9053 return offset;
9056 static int
9057 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_)
9059 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);
9061 return offset;
9064 static int
9065 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_)
9067 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);
9069 return offset;
9072 static int
9073 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_)
9075 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_ppProperties___);
9077 return offset;
9080 static int
9081 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_)
9083 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
9085 return offset;
9088 /* IDL: WERROR winspool_AsyncEnumJobNamedProperties( */
9089 /* IDL: [in] policy_handle hPrinter, */
9090 /* IDL: [in] uint32 JobId, */
9091 /* IDL: [out] [ref] uint32 *pcProperties, */
9092 /* IDL: [out] [ref] [size_is(,*pcProperties)] spoolss_PrintNamedProperty **ppProperties */
9093 /* IDL: ); */
9095 static int
9096 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_)
9098 uint32_t status;
9100 di->dcerpc_procedure_name="winspool_AsyncEnumJobNamedProperties";
9101 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_pcProperties(tvb, offset, pinfo, tree, di, drep);
9102 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9104 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_ppProperties(tvb, offset, pinfo, tree, di, drep);
9105 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9107 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
9109 if (status != 0)
9110 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
9112 return offset;
9115 static int
9116 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_)
9118 di->dcerpc_procedure_name="winspool_AsyncEnumJobNamedProperties";
9119 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_hPrinter(tvb, offset, pinfo, tree, di, drep);
9120 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9121 offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_JobId(tvb, offset, pinfo, tree, di, drep);
9122 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9123 return offset;
9126 static int
9127 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_)
9129 offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncLogJobInfoForBranchOffice_hPrinter, 0);
9131 return offset;
9134 static int
9135 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_)
9137 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);
9139 return offset;
9142 static int
9143 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_)
9145 offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep);
9147 return offset;
9150 /* IDL: WERROR winspool_AsyncLogJobInfoForBranchOffice( */
9151 /* IDL: [in] policy_handle hPrinter, */
9152 /* IDL: [in] [ref] spoolss_BranchOfficeJobDataContainer *pBranchOfficeJobDataContainer */
9153 /* IDL: ); */
9155 static int
9156 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_)
9158 uint32_t status;
9160 di->dcerpc_procedure_name="winspool_AsyncLogJobInfoForBranchOffice";
9161 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status);
9163 if (status != 0)
9164 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
9166 return offset;
9169 static int
9170 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_)
9172 di->dcerpc_procedure_name="winspool_AsyncLogJobInfoForBranchOffice";
9173 offset = iremotewinspool_dissect_element_winspool_AsyncLogJobInfoForBranchOffice_hPrinter(tvb, offset, pinfo, tree, di, drep);
9174 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9175 offset = iremotewinspool_dissect_element_winspool_AsyncLogJobInfoForBranchOffice_pBranchOfficeJobDataContainer(tvb, offset, pinfo, tree, di, drep);
9176 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
9177 return offset;
9181 static const dcerpc_sub_dissector iremotewinspool_dissectors[] = {
9182 { 0, "winspool_AsyncOpenPrinter",
9183 iremotewinspool_dissect_winspool_AsyncOpenPrinter_request, iremotewinspool_dissect_winspool_AsyncOpenPrinter_response},
9184 { 1, "winspool_AsyncAddPrinter",
9185 iremotewinspool_dissect_winspool_AsyncAddPrinter_request, iremotewinspool_dissect_winspool_AsyncAddPrinter_response},
9186 { 2, "winspool_AsyncSetJob",
9187 iremotewinspool_dissect_winspool_AsyncSetJob_request, iremotewinspool_dissect_winspool_AsyncSetJob_response},
9188 { 3, "winspool_AsyncGetJob",
9189 iremotewinspool_dissect_winspool_AsyncGetJob_request, iremotewinspool_dissect_winspool_AsyncGetJob_response},
9190 { 4, "winspool_AsyncEnumJobs",
9191 iremotewinspool_dissect_winspool_AsyncEnumJobs_request, iremotewinspool_dissect_winspool_AsyncEnumJobs_response},
9192 { 5, "winspool_AsyncAddJob",
9193 iremotewinspool_dissect_winspool_AsyncAddJob_request, iremotewinspool_dissect_winspool_AsyncAddJob_response},
9194 { 6, "winspool_AsyncScheduleJob",
9195 iremotewinspool_dissect_winspool_AsyncScheduleJob_request, iremotewinspool_dissect_winspool_AsyncScheduleJob_response},
9196 { 7, "winspool_AsyncDeletePrinter",
9197 iremotewinspool_dissect_winspool_AsyncDeletePrinter_request, iremotewinspool_dissect_winspool_AsyncDeletePrinter_response},
9198 { 8, "winspool_AsyncSetPrinter",
9199 iremotewinspool_dissect_winspool_AsyncSetPrinter_request, iremotewinspool_dissect_winspool_AsyncSetPrinter_response},
9200 { 9, "winspool_AsyncGetPrinter",
9201 iremotewinspool_dissect_winspool_AsyncGetPrinter_request, iremotewinspool_dissect_winspool_AsyncGetPrinter_response},
9202 { 10, "winspool_AsyncStartDocPrinter",
9203 iremotewinspool_dissect_winspool_AsyncStartDocPrinter_request, iremotewinspool_dissect_winspool_AsyncStartDocPrinter_response},
9204 { 11, "winspool_AsyncStartPagePrinter",
9205 iremotewinspool_dissect_winspool_AsyncStartPagePrinter_request, iremotewinspool_dissect_winspool_AsyncStartPagePrinter_response},
9206 { 12, "winspool_AsyncWritePrinter",
9207 iremotewinspool_dissect_winspool_AsyncWritePrinter_request, iremotewinspool_dissect_winspool_AsyncWritePrinter_response},
9208 { 13, "winspool_AsyncEndPagePrinter",
9209 iremotewinspool_dissect_winspool_AsyncEndPagePrinter_request, iremotewinspool_dissect_winspool_AsyncEndPagePrinter_response},
9210 { 14, "winspool_AsyncEndDocPrinter",
9211 iremotewinspool_dissect_winspool_AsyncEndDocPrinter_request, iremotewinspool_dissect_winspool_AsyncEndDocPrinter_response},
9212 { 15, "winspool_AsyncAbortPrinter",
9213 iremotewinspool_dissect_winspool_AsyncAbortPrinter_request, iremotewinspool_dissect_winspool_AsyncAbortPrinter_response},
9214 { 16, "winspool_AsyncGetPrinterData",
9215 iremotewinspool_dissect_winspool_AsyncGetPrinterData_request, iremotewinspool_dissect_winspool_AsyncGetPrinterData_response},
9216 { 17, "winspool_AsyncGetPrinterDataEx",
9217 iremotewinspool_dissect_winspool_AsyncGetPrinterDataEx_request, iremotewinspool_dissect_winspool_AsyncGetPrinterDataEx_response},
9218 { 18, "winspool_AsyncSetPrinterData",
9219 iremotewinspool_dissect_winspool_AsyncSetPrinterData_request, iremotewinspool_dissect_winspool_AsyncSetPrinterData_response},
9220 { 19, "winspool_AsyncSetPrinterDataEx",
9221 iremotewinspool_dissect_winspool_AsyncSetPrinterDataEx_request, iremotewinspool_dissect_winspool_AsyncSetPrinterDataEx_response},
9222 { 20, "winspool_AsyncClosePrinter",
9223 iremotewinspool_dissect_winspool_AsyncClosePrinter_request, iremotewinspool_dissect_winspool_AsyncClosePrinter_response},
9224 { 21, "winspool_AsyncAddForm",
9225 iremotewinspool_dissect_winspool_AsyncAddForm_request, iremotewinspool_dissect_winspool_AsyncAddForm_response},
9226 { 22, "winspool_AsyncDeleteForm",
9227 iremotewinspool_dissect_winspool_AsyncDeleteForm_request, iremotewinspool_dissect_winspool_AsyncDeleteForm_response},
9228 { 23, "winspool_AsyncGetForm",
9229 iremotewinspool_dissect_winspool_AsyncGetForm_request, iremotewinspool_dissect_winspool_AsyncGetForm_response},
9230 { 24, "winspool_AsyncSetForm",
9231 iremotewinspool_dissect_winspool_AsyncSetForm_request, iremotewinspool_dissect_winspool_AsyncSetForm_response},
9232 { 25, "winspool_AsyncEnumForms",
9233 iremotewinspool_dissect_winspool_AsyncEnumForms_request, iremotewinspool_dissect_winspool_AsyncEnumForms_response},
9234 { 26, "winspool_AsyncGetPrinterDriver",
9235 iremotewinspool_dissect_winspool_AsyncGetPrinterDriver_request, iremotewinspool_dissect_winspool_AsyncGetPrinterDriver_response},
9236 { 27, "winspool_AsyncEnumPrinterData",
9237 iremotewinspool_dissect_winspool_AsyncEnumPrinterData_request, iremotewinspool_dissect_winspool_AsyncEnumPrinterData_response},
9238 { 28, "winspool_AsyncEnumPrinterDataEx",
9239 iremotewinspool_dissect_winspool_AsyncEnumPrinterDataEx_request, iremotewinspool_dissect_winspool_AsyncEnumPrinterDataEx_response},
9240 { 29, "winspool_AsyncEnumPrinterKey",
9241 iremotewinspool_dissect_winspool_AsyncEnumPrinterKey_request, iremotewinspool_dissect_winspool_AsyncEnumPrinterKey_response},
9242 { 30, "winspool_AsyncDeletePrinterData",
9243 iremotewinspool_dissect_winspool_AsyncDeletePrinterData_request, iremotewinspool_dissect_winspool_AsyncDeletePrinterData_response},
9244 { 31, "winspool_AsyncDeletePrinterDataEx",
9245 iremotewinspool_dissect_winspool_AsyncDeletePrinterDataEx_request, iremotewinspool_dissect_winspool_AsyncDeletePrinterDataEx_response},
9246 { 32, "winspool_AsyncDeletePrinterKey",
9247 iremotewinspool_dissect_winspool_AsyncDeletePrinterKey_request, iremotewinspool_dissect_winspool_AsyncDeletePrinterKey_response},
9248 { 33, "winspool_AsyncXcvData",
9249 iremotewinspool_dissect_winspool_AsyncXcvData_request, iremotewinspool_dissect_winspool_AsyncXcvData_response},
9250 { 34, "winspool_AsyncSendRecvBidiData",
9251 iremotewinspool_dissect_winspool_AsyncSendRecvBidiData_request, iremotewinspool_dissect_winspool_AsyncSendRecvBidiData_response},
9252 { 35, "winspool_AsyncCreatePrinterIC",
9253 iremotewinspool_dissect_winspool_AsyncCreatePrinterIC_request, iremotewinspool_dissect_winspool_AsyncCreatePrinterIC_response},
9254 { 36, "winspool_AsyncPlayGdiScriptOnPrinterIC",
9255 iremotewinspool_dissect_winspool_AsyncPlayGdiScriptOnPrinterIC_request, iremotewinspool_dissect_winspool_AsyncPlayGdiScriptOnPrinterIC_response},
9256 { 37, "winspool_AsyncDeletePrinterIC",
9257 iremotewinspool_dissect_winspool_AsyncDeletePrinterIC_request, iremotewinspool_dissect_winspool_AsyncDeletePrinterIC_response},
9258 { 38, "winspool_AsyncEnumPrinters",
9259 iremotewinspool_dissect_winspool_AsyncEnumPrinters_request, iremotewinspool_dissect_winspool_AsyncEnumPrinters_response},
9260 { 39, "winspool_AsyncAddPrinterDriver",
9261 iremotewinspool_dissect_winspool_AsyncAddPrinterDriver_request, iremotewinspool_dissect_winspool_AsyncAddPrinterDriver_response},
9262 { 40, "winspool_AsyncEnumPrinterDrivers",
9263 iremotewinspool_dissect_winspool_AsyncEnumPrinterDrivers_request, iremotewinspool_dissect_winspool_AsyncEnumPrinterDrivers_response},
9264 { 41, "winspool_AsyncGetPrinterDriverDirectory",
9265 iremotewinspool_dissect_winspool_AsyncGetPrinterDriverDirectory_request, iremotewinspool_dissect_winspool_AsyncGetPrinterDriverDirectory_response},
9266 { 42, "winspool_AsyncDeletePrinterDriver",
9267 iremotewinspool_dissect_winspool_AsyncDeletePrinterDriver_request, iremotewinspool_dissect_winspool_AsyncDeletePrinterDriver_response},
9268 { 43, "winspool_AsyncDeletePrinterDriverEx",
9269 iremotewinspool_dissect_winspool_AsyncDeletePrinterDriverEx_request, iremotewinspool_dissect_winspool_AsyncDeletePrinterDriverEx_response},
9270 { 44, "winspool_AsyncAddPrintProcessor",
9271 iremotewinspool_dissect_winspool_AsyncAddPrintProcessor_request, iremotewinspool_dissect_winspool_AsyncAddPrintProcessor_response},
9272 { 45, "winspool_AsyncEnumPrintProcessors",
9273 iremotewinspool_dissect_winspool_AsyncEnumPrintProcessors_request, iremotewinspool_dissect_winspool_AsyncEnumPrintProcessors_response},
9274 { 46, "winspool_AsyncGetPrintProcessorDirectory",
9275 iremotewinspool_dissect_winspool_AsyncGetPrintProcessorDirectory_request, iremotewinspool_dissect_winspool_AsyncGetPrintProcessorDirectory_response},
9276 { 47, "winspool_AsyncEnumPorts",
9277 iremotewinspool_dissect_winspool_AsyncEnumPorts_request, iremotewinspool_dissect_winspool_AsyncEnumPorts_response},
9278 { 48, "winspool_AsyncEnumMonitors",
9279 iremotewinspool_dissect_winspool_AsyncEnumMonitors_request, iremotewinspool_dissect_winspool_AsyncEnumMonitors_response},
9280 { 49, "winspool_AsyncAddPort",
9281 iremotewinspool_dissect_winspool_AsyncAddPort_request, iremotewinspool_dissect_winspool_AsyncAddPort_response},
9282 { 50, "winspool_AsyncSetPort",
9283 iremotewinspool_dissect_winspool_AsyncSetPort_request, iremotewinspool_dissect_winspool_AsyncSetPort_response},
9284 { 51, "winspool_AsyncAddMonitor",
9285 iremotewinspool_dissect_winspool_AsyncAddMonitor_request, iremotewinspool_dissect_winspool_AsyncAddMonitor_response},
9286 { 52, "winspool_AsyncDeleteMonitor",
9287 iremotewinspool_dissect_winspool_AsyncDeleteMonitor_request, iremotewinspool_dissect_winspool_AsyncDeleteMonitor_response},
9288 { 53, "winspool_AsyncDeletePrintProcessor",
9289 iremotewinspool_dissect_winspool_AsyncDeletePrintProcessor_request, iremotewinspool_dissect_winspool_AsyncDeletePrintProcessor_response},
9290 { 54, "winspool_AsyncEnumPrintProcessorDatatypes",
9291 iremotewinspool_dissect_winspool_AsyncEnumPrintProcessorDatatypes_request, iremotewinspool_dissect_winspool_AsyncEnumPrintProcessorDatatypes_response},
9292 { 55, "winspool_AsyncAddPerMachineConnection",
9293 iremotewinspool_dissect_winspool_AsyncAddPerMachineConnection_request, iremotewinspool_dissect_winspool_AsyncAddPerMachineConnection_response},
9294 { 56, "winspool_AsyncDeletePerMachineConnection",
9295 iremotewinspool_dissect_winspool_AsyncDeletePerMachineConnection_request, iremotewinspool_dissect_winspool_AsyncDeletePerMachineConnection_response},
9296 { 57, "winspool_AsyncEnumPerMachineConnections",
9297 iremotewinspool_dissect_winspool_AsyncEnumPerMachineConnections_request, iremotewinspool_dissect_winspool_AsyncEnumPerMachineConnections_response},
9298 { 58, "winspool_SyncRegisterForRemoteNotifications",
9299 iremotewinspool_dissect_winspool_SyncRegisterForRemoteNotifications_request, iremotewinspool_dissect_winspool_SyncRegisterForRemoteNotifications_response},
9300 { 59, "winspool_SyncUnRegisterForRemoteNotifications",
9301 iremotewinspool_dissect_winspool_SyncUnRegisterForRemoteNotifications_request, iremotewinspool_dissect_winspool_SyncUnRegisterForRemoteNotifications_response},
9302 { 60, "winspool_SyncRefreshRemoteNotifications",
9303 iremotewinspool_dissect_winspool_SyncRefreshRemoteNotifications_request, iremotewinspool_dissect_winspool_SyncRefreshRemoteNotifications_response},
9304 { 61, "winspool_AsyncGetRemoteNotifications",
9305 iremotewinspool_dissect_winspool_AsyncGetRemoteNotifications_request, iremotewinspool_dissect_winspool_AsyncGetRemoteNotifications_response},
9306 { 62, "winspool_AsyncInstallPrinterDriverFromPackage",
9307 iremotewinspool_dissect_winspool_AsyncInstallPrinterDriverFromPackage_request, iremotewinspool_dissect_winspool_AsyncInstallPrinterDriverFromPackage_response},
9308 { 63, "winspool_AsyncUploadPrinterDriverPackage",
9309 iremotewinspool_dissect_winspool_AsyncUploadPrinterDriverPackage_request, iremotewinspool_dissect_winspool_AsyncUploadPrinterDriverPackage_response},
9310 { 64, "winspool_AsyncGetCorePrinterDrivers",
9311 iremotewinspool_dissect_winspool_AsyncGetCorePrinterDrivers_request, iremotewinspool_dissect_winspool_AsyncGetCorePrinterDrivers_response},
9312 { 65, "winspool_AsyncCorePrinterDriverInstalled",
9313 iremotewinspool_dissect_winspool_AsyncCorePrinterDriverInstalled_request, iremotewinspool_dissect_winspool_AsyncCorePrinterDriverInstalled_response},
9314 { 66, "winspool_AsyncGetPrinterDriverPackagePath",
9315 iremotewinspool_dissect_winspool_AsyncGetPrinterDriverPackagePath_request, iremotewinspool_dissect_winspool_AsyncGetPrinterDriverPackagePath_response},
9316 { 67, "winspool_AsyncDeletePrinterDriverPackage",
9317 iremotewinspool_dissect_winspool_AsyncDeletePrinterDriverPackage_request, iremotewinspool_dissect_winspool_AsyncDeletePrinterDriverPackage_response},
9318 { 68, "winspool_AsyncReadPrinter",
9319 iremotewinspool_dissect_winspool_AsyncReadPrinter_request, iremotewinspool_dissect_winspool_AsyncReadPrinter_response},
9320 { 69, "winspool_AsyncResetPrinter",
9321 iremotewinspool_dissect_winspool_AsyncResetPrinter_request, iremotewinspool_dissect_winspool_AsyncResetPrinter_response},
9322 { 70, "winspool_AsyncGetJobNamedPropertyValue",
9323 iremotewinspool_dissect_winspool_AsyncGetJobNamedPropertyValue_request, iremotewinspool_dissect_winspool_AsyncGetJobNamedPropertyValue_response},
9324 { 71, "winspool_AsyncSetJobNamedProperty",
9325 iremotewinspool_dissect_winspool_AsyncSetJobNamedProperty_request, iremotewinspool_dissect_winspool_AsyncSetJobNamedProperty_response},
9326 { 72, "winspool_AsyncDeleteJobNamedProperty",
9327 iremotewinspool_dissect_winspool_AsyncDeleteJobNamedProperty_request, iremotewinspool_dissect_winspool_AsyncDeleteJobNamedProperty_response},
9328 { 73, "winspool_AsyncEnumJobNamedProperties",
9329 iremotewinspool_dissect_winspool_AsyncEnumJobNamedProperties_request, iremotewinspool_dissect_winspool_AsyncEnumJobNamedProperties_response},
9330 { 74, "winspool_AsyncLogJobInfoForBranchOffice",
9331 iremotewinspool_dissect_winspool_AsyncLogJobInfoForBranchOffice_request, iremotewinspool_dissect_winspool_AsyncLogJobInfoForBranchOffice_response},
9332 { 0, NULL, NULL, NULL }
9335 void proto_register_dcerpc_iremotewinspool(void)
9337 static hf_register_info hf[] = {
9338 { &hf_iremotewinspool_hresult,
9339 { "HRES Windows Error", "iremotewinspool.hresult", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &HRES_errors_ext, 0, NULL, HFILL }},
9340 { &hf_iremotewinspool_opnum,
9341 { "Operation", "iremotewinspool.opnum", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
9342 { &hf_iremotewinspool_sec_desc_buf_len,
9343 { "Sec Desc Buf Len", "iremotewinspool.sec_desc_buf_len", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9344 { &hf_iremotewinspool_werror,
9345 { "Windows Error", "iremotewinspool.werror", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
9346 { &hf_iremotewinspool_winspool_AsyncAbortPrinter_hPrinter,
9347 { "HPrinter", "iremotewinspool.winspool_AsyncAbortPrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9348 { &hf_iremotewinspool_winspool_AsyncAddForm_hPrinter,
9349 { "HPrinter", "iremotewinspool.winspool_AsyncAddForm.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9350 { &hf_iremotewinspool_winspool_AsyncAddForm_pFormInfoContainer,
9351 { "PFormInfoContainer", "iremotewinspool.winspool_AsyncAddForm.pFormInfoContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9352 { &hf_iremotewinspool_winspool_AsyncAddJob_Level,
9353 { "Level", "iremotewinspool.winspool_AsyncAddJob.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9354 { &hf_iremotewinspool_winspool_AsyncAddJob_cbBuf,
9355 { "CbBuf", "iremotewinspool.winspool_AsyncAddJob.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9356 { &hf_iremotewinspool_winspool_AsyncAddJob_hPrinter,
9357 { "HPrinter", "iremotewinspool.winspool_AsyncAddJob.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9358 { &hf_iremotewinspool_winspool_AsyncAddJob_pAddJob,
9359 { "PAddJob", "iremotewinspool.winspool_AsyncAddJob.pAddJob", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9360 { &hf_iremotewinspool_winspool_AsyncAddJob_pcbNeeded,
9361 { "PcbNeeded", "iremotewinspool.winspool_AsyncAddJob.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9362 { &hf_iremotewinspool_winspool_AsyncAddMonitor_Name,
9363 { "Name", "iremotewinspool.winspool_AsyncAddMonitor.Name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9364 { &hf_iremotewinspool_winspool_AsyncAddMonitor_pMonitorContainer,
9365 { "PMonitorContainer", "iremotewinspool.winspool_AsyncAddMonitor.pMonitorContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9366 { &hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pPrintServer,
9367 { "PPrintServer", "iremotewinspool.winspool_AsyncAddPerMachineConnection.pPrintServer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9368 { &hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pPrinterName,
9369 { "PPrinterName", "iremotewinspool.winspool_AsyncAddPerMachineConnection.pPrinterName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9370 { &hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pProvider,
9371 { "PProvider", "iremotewinspool.winspool_AsyncAddPerMachineConnection.pProvider", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9372 { &hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pServer,
9373 { "PServer", "iremotewinspool.winspool_AsyncAddPerMachineConnection.pServer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9374 { &hf_iremotewinspool_winspool_AsyncAddPort_pMonitorName,
9375 { "PMonitorName", "iremotewinspool.winspool_AsyncAddPort.pMonitorName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9376 { &hf_iremotewinspool_winspool_AsyncAddPort_pName,
9377 { "PName", "iremotewinspool.winspool_AsyncAddPort.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9378 { &hf_iremotewinspool_winspool_AsyncAddPort_pPortContainer,
9379 { "PPortContainer", "iremotewinspool.winspool_AsyncAddPort.pPortContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9380 { &hf_iremotewinspool_winspool_AsyncAddPort_pPortVarContainer,
9381 { "PPortVarContainer", "iremotewinspool.winspool_AsyncAddPort.pPortVarContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9382 { &hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pEnvironment,
9383 { "PEnvironment", "iremotewinspool.winspool_AsyncAddPrintProcessor.pEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9384 { &hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pName,
9385 { "PName", "iremotewinspool.winspool_AsyncAddPrintProcessor.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9386 { &hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pPathName,
9387 { "PPathName", "iremotewinspool.winspool_AsyncAddPrintProcessor.pPathName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9388 { &hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pPrintProcessorName,
9389 { "PPrintProcessorName", "iremotewinspool.winspool_AsyncAddPrintProcessor.pPrintProcessorName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9390 { &hf_iremotewinspool_winspool_AsyncAddPrinterDriver_dwFileCopyFlags,
9391 { "DwFileCopyFlags", "iremotewinspool.winspool_AsyncAddPrinterDriver.dwFileCopyFlags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9392 { &hf_iremotewinspool_winspool_AsyncAddPrinterDriver_pDriverContainer,
9393 { "PDriverContainer", "iremotewinspool.winspool_AsyncAddPrinterDriver.pDriverContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9394 { &hf_iremotewinspool_winspool_AsyncAddPrinterDriver_pName,
9395 { "PName", "iremotewinspool.winspool_AsyncAddPrinterDriver.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9396 { &hf_iremotewinspool_winspool_AsyncAddPrinter_pClientInfo,
9397 { "PClientInfo", "iremotewinspool.winspool_AsyncAddPrinter.pClientInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9398 { &hf_iremotewinspool_winspool_AsyncAddPrinter_pDevModeContainer,
9399 { "PDevModeContainer", "iremotewinspool.winspool_AsyncAddPrinter.pDevModeContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9400 { &hf_iremotewinspool_winspool_AsyncAddPrinter_pHandle,
9401 { "PHandle", "iremotewinspool.winspool_AsyncAddPrinter.pHandle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9402 { &hf_iremotewinspool_winspool_AsyncAddPrinter_pName,
9403 { "PName", "iremotewinspool.winspool_AsyncAddPrinter.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9404 { &hf_iremotewinspool_winspool_AsyncAddPrinter_pPrinterContainer,
9405 { "PPrinterContainer", "iremotewinspool.winspool_AsyncAddPrinter.pPrinterContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9406 { &hf_iremotewinspool_winspool_AsyncAddPrinter_pSecurityContainer,
9407 { "PSecurityContainer", "iremotewinspool.winspool_AsyncAddPrinter.pSecurityContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9408 { &hf_iremotewinspool_winspool_AsyncClosePrinter_phPrinter,
9409 { "PhPrinter", "iremotewinspool.winspool_AsyncClosePrinter.phPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9410 { &hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_CoreDriverGUID,
9411 { "CoreDriverGUID", "iremotewinspool.winspool_AsyncCorePrinterDriverInstalled.CoreDriverGUID", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
9412 { &hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_dwlDriverVersion,
9413 { "DwlDriverVersion", "iremotewinspool.winspool_AsyncCorePrinterDriverInstalled.dwlDriverVersion", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
9414 { &hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_ftDriverDate,
9415 { "FtDriverDate", "iremotewinspool.winspool_AsyncCorePrinterDriverInstalled.ftDriverDate", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, NULL, HFILL }},
9416 { &hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pbDriverInstalled,
9417 { "PbDriverInstalled", "iremotewinspool.winspool_AsyncCorePrinterDriverInstalled.pbDriverInstalled", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9418 { &hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pszEnvironment,
9419 { "PszEnvironment", "iremotewinspool.winspool_AsyncCorePrinterDriverInstalled.pszEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9420 { &hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pszServer,
9421 { "PszServer", "iremotewinspool.winspool_AsyncCorePrinterDriverInstalled.pszServer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9422 { &hf_iremotewinspool_winspool_AsyncCreatePrinterIC_hPrinter,
9423 { "HPrinter", "iremotewinspool.winspool_AsyncCreatePrinterIC.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9424 { &hf_iremotewinspool_winspool_AsyncCreatePrinterIC_pDevModeContainer,
9425 { "PDevModeContainer", "iremotewinspool.winspool_AsyncCreatePrinterIC.pDevModeContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9426 { &hf_iremotewinspool_winspool_AsyncCreatePrinterIC_pHandle,
9427 { "PHandle", "iremotewinspool.winspool_AsyncCreatePrinterIC.pHandle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9428 { &hf_iremotewinspool_winspool_AsyncDeleteForm_hPrinter,
9429 { "HPrinter", "iremotewinspool.winspool_AsyncDeleteForm.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9430 { &hf_iremotewinspool_winspool_AsyncDeleteForm_pFormName,
9431 { "PFormName", "iremotewinspool.winspool_AsyncDeleteForm.pFormName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9432 { &hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_JobId,
9433 { "JobId", "iremotewinspool.winspool_AsyncDeleteJobNamedProperty.JobId", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9434 { &hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_hPrinter,
9435 { "HPrinter", "iremotewinspool.winspool_AsyncDeleteJobNamedProperty.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9436 { &hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_pszName,
9437 { "PszName", "iremotewinspool.winspool_AsyncDeleteJobNamedProperty.pszName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9438 { &hf_iremotewinspool_winspool_AsyncDeleteMonitor_Name,
9439 { "Name", "iremotewinspool.winspool_AsyncDeleteMonitor.Name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9440 { &hf_iremotewinspool_winspool_AsyncDeleteMonitor_pEnvironment,
9441 { "PEnvironment", "iremotewinspool.winspool_AsyncDeleteMonitor.pEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9442 { &hf_iremotewinspool_winspool_AsyncDeleteMonitor_pMonitorName,
9443 { "PMonitorName", "iremotewinspool.winspool_AsyncDeleteMonitor.pMonitorName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9444 { &hf_iremotewinspool_winspool_AsyncDeletePerMachineConnection_pPrinterName,
9445 { "PPrinterName", "iremotewinspool.winspool_AsyncDeletePerMachineConnection.pPrinterName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9446 { &hf_iremotewinspool_winspool_AsyncDeletePerMachineConnection_pServer,
9447 { "PServer", "iremotewinspool.winspool_AsyncDeletePerMachineConnection.pServer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9448 { &hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_Name,
9449 { "Name", "iremotewinspool.winspool_AsyncDeletePrintProcessor.Name", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9450 { &hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_pEnvironment,
9451 { "PEnvironment", "iremotewinspool.winspool_AsyncDeletePrintProcessor.pEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9452 { &hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_pPrintProcessorName,
9453 { "PPrintProcessorName", "iremotewinspool.winspool_AsyncDeletePrintProcessor.pPrintProcessorName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9454 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_hPrinter,
9455 { "HPrinter", "iremotewinspool.winspool_AsyncDeletePrinterDataEx.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9456 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_pKeyName,
9457 { "PKeyName", "iremotewinspool.winspool_AsyncDeletePrinterDataEx.pKeyName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9458 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_pValueName,
9459 { "PValueName", "iremotewinspool.winspool_AsyncDeletePrinterDataEx.pValueName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9460 { &hf_iremotewinspool_winspool_AsyncDeletePrinterData_hPrinter,
9461 { "HPrinter", "iremotewinspool.winspool_AsyncDeletePrinterData.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9462 { &hf_iremotewinspool_winspool_AsyncDeletePrinterData_pValueName,
9463 { "PValueName", "iremotewinspool.winspool_AsyncDeletePrinterData.pValueName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9464 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_dwDeleteFlag,
9465 { "DwDeleteFlag", "iremotewinspool.winspool_AsyncDeletePrinterDriverEx.dwDeleteFlag", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9466 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_dwVersionNum,
9467 { "DwVersionNum", "iremotewinspool.winspool_AsyncDeletePrinterDriverEx.dwVersionNum", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9468 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pDriverName,
9469 { "PDriverName", "iremotewinspool.winspool_AsyncDeletePrinterDriverEx.pDriverName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9470 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pEnvironment,
9471 { "PEnvironment", "iremotewinspool.winspool_AsyncDeletePrinterDriverEx.pEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9472 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pName,
9473 { "PName", "iremotewinspool.winspool_AsyncDeletePrinterDriverEx.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9474 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszEnvironment,
9475 { "PszEnvironment", "iremotewinspool.winspool_AsyncDeletePrinterDriverPackage.pszEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9476 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszInfPath,
9477 { "PszInfPath", "iremotewinspool.winspool_AsyncDeletePrinterDriverPackage.pszInfPath", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9478 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszServer,
9479 { "PszServer", "iremotewinspool.winspool_AsyncDeletePrinterDriverPackage.pszServer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9480 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pDriverName,
9481 { "PDriverName", "iremotewinspool.winspool_AsyncDeletePrinterDriver.pDriverName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9482 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pEnvironment,
9483 { "PEnvironment", "iremotewinspool.winspool_AsyncDeletePrinterDriver.pEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9484 { &hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pName,
9485 { "PName", "iremotewinspool.winspool_AsyncDeletePrinterDriver.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9486 { &hf_iremotewinspool_winspool_AsyncDeletePrinterIC_phPrinterIC,
9487 { "PhPrinterIC", "iremotewinspool.winspool_AsyncDeletePrinterIC.phPrinterIC", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9488 { &hf_iremotewinspool_winspool_AsyncDeletePrinterKey_hPrinter,
9489 { "HPrinter", "iremotewinspool.winspool_AsyncDeletePrinterKey.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9490 { &hf_iremotewinspool_winspool_AsyncDeletePrinterKey_pKeyName,
9491 { "PKeyName", "iremotewinspool.winspool_AsyncDeletePrinterKey.pKeyName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9492 { &hf_iremotewinspool_winspool_AsyncDeletePrinter_hPrinter,
9493 { "HPrinter", "iremotewinspool.winspool_AsyncDeletePrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9494 { &hf_iremotewinspool_winspool_AsyncEndDocPrinter_hPrinter,
9495 { "HPrinter", "iremotewinspool.winspool_AsyncEndDocPrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9496 { &hf_iremotewinspool_winspool_AsyncEndPagePrinter_hPrinter,
9497 { "HPrinter", "iremotewinspool.winspool_AsyncEndPagePrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9498 { &hf_iremotewinspool_winspool_AsyncEnumForms_Level,
9499 { "Level", "iremotewinspool.winspool_AsyncEnumForms.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9500 { &hf_iremotewinspool_winspool_AsyncEnumForms_cbBuf,
9501 { "CbBuf", "iremotewinspool.winspool_AsyncEnumForms.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9502 { &hf_iremotewinspool_winspool_AsyncEnumForms_hPrinter,
9503 { "HPrinter", "iremotewinspool.winspool_AsyncEnumForms.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9504 { &hf_iremotewinspool_winspool_AsyncEnumForms_pForm,
9505 { "PForm", "iremotewinspool.winspool_AsyncEnumForms.pForm", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9506 { &hf_iremotewinspool_winspool_AsyncEnumForms_pcReturned,
9507 { "PcReturned", "iremotewinspool.winspool_AsyncEnumForms.pcReturned", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9508 { &hf_iremotewinspool_winspool_AsyncEnumForms_pcbNeeded,
9509 { "PcbNeeded", "iremotewinspool.winspool_AsyncEnumForms.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9510 { &hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_JobId,
9511 { "JobId", "iremotewinspool.winspool_AsyncEnumJobNamedProperties.JobId", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9512 { &hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_hPrinter,
9513 { "HPrinter", "iremotewinspool.winspool_AsyncEnumJobNamedProperties.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9514 { &hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_pcProperties,
9515 { "PcProperties", "iremotewinspool.winspool_AsyncEnumJobNamedProperties.pcProperties", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9516 { &hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_ppProperties,
9517 { "PpProperties", "iremotewinspool.winspool_AsyncEnumJobNamedProperties.ppProperties", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9518 { &hf_iremotewinspool_winspool_AsyncEnumJobs_FirstJob,
9519 { "FirstJob", "iremotewinspool.winspool_AsyncEnumJobs.FirstJob", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9520 { &hf_iremotewinspool_winspool_AsyncEnumJobs_Level,
9521 { "Level", "iremotewinspool.winspool_AsyncEnumJobs.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9522 { &hf_iremotewinspool_winspool_AsyncEnumJobs_NoJobs,
9523 { "NoJobs", "iremotewinspool.winspool_AsyncEnumJobs.NoJobs", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9524 { &hf_iremotewinspool_winspool_AsyncEnumJobs_cbBuf,
9525 { "CbBuf", "iremotewinspool.winspool_AsyncEnumJobs.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9526 { &hf_iremotewinspool_winspool_AsyncEnumJobs_hPrinter,
9527 { "HPrinter", "iremotewinspool.winspool_AsyncEnumJobs.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9528 { &hf_iremotewinspool_winspool_AsyncEnumJobs_pJob,
9529 { "PJob", "iremotewinspool.winspool_AsyncEnumJobs.pJob", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9530 { &hf_iremotewinspool_winspool_AsyncEnumJobs_pcReturned,
9531 { "PcReturned", "iremotewinspool.winspool_AsyncEnumJobs.pcReturned", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9532 { &hf_iremotewinspool_winspool_AsyncEnumJobs_pcbNeeded,
9533 { "PcbNeeded", "iremotewinspool.winspool_AsyncEnumJobs.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9534 { &hf_iremotewinspool_winspool_AsyncEnumMonitors_Level,
9535 { "Level", "iremotewinspool.winspool_AsyncEnumMonitors.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9536 { &hf_iremotewinspool_winspool_AsyncEnumMonitors_cbBuf,
9537 { "CbBuf", "iremotewinspool.winspool_AsyncEnumMonitors.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9538 { &hf_iremotewinspool_winspool_AsyncEnumMonitors_pMonitor,
9539 { "PMonitor", "iremotewinspool.winspool_AsyncEnumMonitors.pMonitor", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9540 { &hf_iremotewinspool_winspool_AsyncEnumMonitors_pName,
9541 { "PName", "iremotewinspool.winspool_AsyncEnumMonitors.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9542 { &hf_iremotewinspool_winspool_AsyncEnumMonitors_pcReturned,
9543 { "PcReturned", "iremotewinspool.winspool_AsyncEnumMonitors.pcReturned", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9544 { &hf_iremotewinspool_winspool_AsyncEnumMonitors_pcbNeeded,
9545 { "PcbNeeded", "iremotewinspool.winspool_AsyncEnumMonitors.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9546 { &hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_cbBuf,
9547 { "CbBuf", "iremotewinspool.winspool_AsyncEnumPerMachineConnections.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9548 { &hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pPrinterEnum,
9549 { "PPrinterEnum", "iremotewinspool.winspool_AsyncEnumPerMachineConnections.pPrinterEnum", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9550 { &hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pServer,
9551 { "PServer", "iremotewinspool.winspool_AsyncEnumPerMachineConnections.pServer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9552 { &hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pcReturned,
9553 { "PcReturned", "iremotewinspool.winspool_AsyncEnumPerMachineConnections.pcReturned", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9554 { &hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pcbNeeded,
9555 { "PcbNeeded", "iremotewinspool.winspool_AsyncEnumPerMachineConnections.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9556 { &hf_iremotewinspool_winspool_AsyncEnumPorts_Level,
9557 { "Level", "iremotewinspool.winspool_AsyncEnumPorts.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9558 { &hf_iremotewinspool_winspool_AsyncEnumPorts_cbBuf,
9559 { "CbBuf", "iremotewinspool.winspool_AsyncEnumPorts.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9560 { &hf_iremotewinspool_winspool_AsyncEnumPorts_pName,
9561 { "PName", "iremotewinspool.winspool_AsyncEnumPorts.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9562 { &hf_iremotewinspool_winspool_AsyncEnumPorts_pPort,
9563 { "PPort", "iremotewinspool.winspool_AsyncEnumPorts.pPort", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9564 { &hf_iremotewinspool_winspool_AsyncEnumPorts_pcReturned,
9565 { "PcReturned", "iremotewinspool.winspool_AsyncEnumPorts.pcReturned", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9566 { &hf_iremotewinspool_winspool_AsyncEnumPorts_pcbNeeded,
9567 { "PcbNeeded", "iremotewinspool.winspool_AsyncEnumPorts.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9568 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_Level,
9569 { "Level", "iremotewinspool.winspool_AsyncEnumPrintProcessorDatatypes.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9570 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_cbBuf,
9571 { "CbBuf", "iremotewinspool.winspool_AsyncEnumPrintProcessorDatatypes.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9572 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes,
9573 { "PDatatypes", "iremotewinspool.winspool_AsyncEnumPrintProcessorDatatypes.pDatatypes", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9574 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pName,
9575 { "PName", "iremotewinspool.winspool_AsyncEnumPrintProcessorDatatypes.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9576 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pPrintProcessorName,
9577 { "PPrintProcessorName", "iremotewinspool.winspool_AsyncEnumPrintProcessorDatatypes.pPrintProcessorName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9578 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pcReturned,
9579 { "PcReturned", "iremotewinspool.winspool_AsyncEnumPrintProcessorDatatypes.pcReturned", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9580 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pcbNeeded,
9581 { "PcbNeeded", "iremotewinspool.winspool_AsyncEnumPrintProcessorDatatypes.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9582 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_Level,
9583 { "Level", "iremotewinspool.winspool_AsyncEnumPrintProcessors.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9584 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_cbBuf,
9585 { "CbBuf", "iremotewinspool.winspool_AsyncEnumPrintProcessors.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9586 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pEnvironment,
9587 { "PEnvironment", "iremotewinspool.winspool_AsyncEnumPrintProcessors.pEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9588 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pName,
9589 { "PName", "iremotewinspool.winspool_AsyncEnumPrintProcessors.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9590 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo,
9591 { "PPrintProcessorInfo", "iremotewinspool.winspool_AsyncEnumPrintProcessors.pPrintProcessorInfo", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9592 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pcReturned,
9593 { "PcReturned", "iremotewinspool.winspool_AsyncEnumPrintProcessors.pcReturned", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9594 { &hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pcbNeeded,
9595 { "PcbNeeded", "iremotewinspool.winspool_AsyncEnumPrintProcessors.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9596 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_cbEnumValues,
9597 { "CbEnumValues", "iremotewinspool.winspool_AsyncEnumPrinterDataEx.cbEnumValues", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9598 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_hPrinter,
9599 { "HPrinter", "iremotewinspool.winspool_AsyncEnumPrinterDataEx.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9600 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pEnumValues,
9601 { "PEnumValues", "iremotewinspool.winspool_AsyncEnumPrinterDataEx.pEnumValues", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9602 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pKeyName,
9603 { "PKeyName", "iremotewinspool.winspool_AsyncEnumPrinterDataEx.pKeyName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9604 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pcbEnumValues,
9605 { "PcbEnumValues", "iremotewinspool.winspool_AsyncEnumPrinterDataEx.pcbEnumValues", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9606 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pnEnumValues,
9607 { "PnEnumValues", "iremotewinspool.winspool_AsyncEnumPrinterDataEx.pnEnumValues", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9608 { &hf_iremotewinspool_winspool_AsyncEnumPrinterData_cbData,
9609 { "CbData", "iremotewinspool.winspool_AsyncEnumPrinterData.cbData", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9610 { &hf_iremotewinspool_winspool_AsyncEnumPrinterData_cbValueName,
9611 { "CbValueName", "iremotewinspool.winspool_AsyncEnumPrinterData.cbValueName", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9612 { &hf_iremotewinspool_winspool_AsyncEnumPrinterData_dwIndex,
9613 { "DwIndex", "iremotewinspool.winspool_AsyncEnumPrinterData.dwIndex", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9614 { &hf_iremotewinspool_winspool_AsyncEnumPrinterData_hPrinter,
9615 { "HPrinter", "iremotewinspool.winspool_AsyncEnumPrinterData.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9616 { &hf_iremotewinspool_winspool_AsyncEnumPrinterData_pData,
9617 { "PData", "iremotewinspool.winspool_AsyncEnumPrinterData.pData", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9618 { &hf_iremotewinspool_winspool_AsyncEnumPrinterData_pType,
9619 { "PType", "iremotewinspool.winspool_AsyncEnumPrinterData.pType", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9620 { &hf_iremotewinspool_winspool_AsyncEnumPrinterData_pValueName,
9621 { "PValueName", "iremotewinspool.winspool_AsyncEnumPrinterData.pValueName", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
9622 { &hf_iremotewinspool_winspool_AsyncEnumPrinterData_pcbData,
9623 { "PcbData", "iremotewinspool.winspool_AsyncEnumPrinterData.pcbData", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9624 { &hf_iremotewinspool_winspool_AsyncEnumPrinterData_pcbValueName,
9625 { "PcbValueName", "iremotewinspool.winspool_AsyncEnumPrinterData.pcbValueName", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9626 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_Level,
9627 { "Level", "iremotewinspool.winspool_AsyncEnumPrinterDrivers.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9628 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_cbBuf,
9629 { "CbBuf", "iremotewinspool.winspool_AsyncEnumPrinterDrivers.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9630 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pDrivers,
9631 { "PDrivers", "iremotewinspool.winspool_AsyncEnumPrinterDrivers.pDrivers", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9632 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pEnvironment,
9633 { "PEnvironment", "iremotewinspool.winspool_AsyncEnumPrinterDrivers.pEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9634 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pName,
9635 { "PName", "iremotewinspool.winspool_AsyncEnumPrinterDrivers.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9636 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pcReturned,
9637 { "PcReturned", "iremotewinspool.winspool_AsyncEnumPrinterDrivers.pcReturned", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9638 { &hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pcbNeeded,
9639 { "PcbNeeded", "iremotewinspool.winspool_AsyncEnumPrinterDrivers.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9640 { &hf_iremotewinspool_winspool_AsyncEnumPrinterKey_cbSubkey,
9641 { "CbSubkey", "iremotewinspool.winspool_AsyncEnumPrinterKey.cbSubkey", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9642 { &hf_iremotewinspool_winspool_AsyncEnumPrinterKey_hPrinter,
9643 { "HPrinter", "iremotewinspool.winspool_AsyncEnumPrinterKey.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9644 { &hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pKeyName,
9645 { "PKeyName", "iremotewinspool.winspool_AsyncEnumPrinterKey.pKeyName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9646 { &hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pSubkey,
9647 { "PSubkey", "iremotewinspool.winspool_AsyncEnumPrinterKey.pSubkey", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
9648 { &hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pcbSubkey,
9649 { "PcbSubkey", "iremotewinspool.winspool_AsyncEnumPrinterKey.pcbSubkey", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9650 { &hf_iremotewinspool_winspool_AsyncEnumPrinters_Flags,
9651 { "Flags", "iremotewinspool.winspool_AsyncEnumPrinters.Flags", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9652 { &hf_iremotewinspool_winspool_AsyncEnumPrinters_Level,
9653 { "Level", "iremotewinspool.winspool_AsyncEnumPrinters.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9654 { &hf_iremotewinspool_winspool_AsyncEnumPrinters_cbBuf,
9655 { "CbBuf", "iremotewinspool.winspool_AsyncEnumPrinters.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9656 { &hf_iremotewinspool_winspool_AsyncEnumPrinters_pName,
9657 { "PName", "iremotewinspool.winspool_AsyncEnumPrinters.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9658 { &hf_iremotewinspool_winspool_AsyncEnumPrinters_pPrinterEnum,
9659 { "PPrinterEnum", "iremotewinspool.winspool_AsyncEnumPrinters.pPrinterEnum", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9660 { &hf_iremotewinspool_winspool_AsyncEnumPrinters_pcReturned,
9661 { "PcReturned", "iremotewinspool.winspool_AsyncEnumPrinters.pcReturned", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9662 { &hf_iremotewinspool_winspool_AsyncEnumPrinters_pcbNeeded,
9663 { "PcbNeeded", "iremotewinspool.winspool_AsyncEnumPrinters.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9664 { &hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_cCorePrinterDrivers,
9665 { "CCorePrinterDrivers", "iremotewinspool.winspool_AsyncGetCorePrinterDrivers.cCorePrinterDrivers", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9666 { &hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_cchCoreDrivers,
9667 { "CchCoreDrivers", "iremotewinspool.winspool_AsyncGetCorePrinterDrivers.cchCoreDrivers", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9668 { &hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pCorePrinterDrivers,
9669 { "PCorePrinterDrivers", "iremotewinspool.winspool_AsyncGetCorePrinterDrivers.pCorePrinterDrivers", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9670 { &hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszEnvironment,
9671 { "PszEnvironment", "iremotewinspool.winspool_AsyncGetCorePrinterDrivers.pszEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9672 { &hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszServer,
9673 { "PszServer", "iremotewinspool.winspool_AsyncGetCorePrinterDrivers.pszServer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9674 { &hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies,
9675 { "PszzCoreDriverDependencies", "iremotewinspool.winspool_AsyncGetCorePrinterDrivers.pszzCoreDriverDependencies", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
9676 { &hf_iremotewinspool_winspool_AsyncGetForm_Level,
9677 { "Level", "iremotewinspool.winspool_AsyncGetForm.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9678 { &hf_iremotewinspool_winspool_AsyncGetForm_cbBuf,
9679 { "CbBuf", "iremotewinspool.winspool_AsyncGetForm.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9680 { &hf_iremotewinspool_winspool_AsyncGetForm_hPrinter,
9681 { "HPrinter", "iremotewinspool.winspool_AsyncGetForm.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9682 { &hf_iremotewinspool_winspool_AsyncGetForm_pForm,
9683 { "PForm", "iremotewinspool.winspool_AsyncGetForm.pForm", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9684 { &hf_iremotewinspool_winspool_AsyncGetForm_pFormName,
9685 { "PFormName", "iremotewinspool.winspool_AsyncGetForm.pFormName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9686 { &hf_iremotewinspool_winspool_AsyncGetForm_pcbNeeded,
9687 { "PcbNeeded", "iremotewinspool.winspool_AsyncGetForm.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9688 { &hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_JobId,
9689 { "JobId", "iremotewinspool.winspool_AsyncGetJobNamedPropertyValue.JobId", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9690 { &hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_hPrinter,
9691 { "HPrinter", "iremotewinspool.winspool_AsyncGetJobNamedPropertyValue.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9692 { &hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_pValue,
9693 { "PValue", "iremotewinspool.winspool_AsyncGetJobNamedPropertyValue.pValue", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9694 { &hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_pszName,
9695 { "PszName", "iremotewinspool.winspool_AsyncGetJobNamedPropertyValue.pszName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9696 { &hf_iremotewinspool_winspool_AsyncGetJob_JobId,
9697 { "JobId", "iremotewinspool.winspool_AsyncGetJob.JobId", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9698 { &hf_iremotewinspool_winspool_AsyncGetJob_Level,
9699 { "Level", "iremotewinspool.winspool_AsyncGetJob.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9700 { &hf_iremotewinspool_winspool_AsyncGetJob_cbBuf,
9701 { "CbBuf", "iremotewinspool.winspool_AsyncGetJob.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9702 { &hf_iremotewinspool_winspool_AsyncGetJob_hPrinter,
9703 { "HPrinter", "iremotewinspool.winspool_AsyncGetJob.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9704 { &hf_iremotewinspool_winspool_AsyncGetJob_pJob,
9705 { "PJob", "iremotewinspool.winspool_AsyncGetJob.pJob", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9706 { &hf_iremotewinspool_winspool_AsyncGetJob_pcbNeeded,
9707 { "PcbNeeded", "iremotewinspool.winspool_AsyncGetJob.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9708 { &hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_Level,
9709 { "Level", "iremotewinspool.winspool_AsyncGetPrintProcessorDirectory.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9710 { &hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_cbBuf,
9711 { "CbBuf", "iremotewinspool.winspool_AsyncGetPrintProcessorDirectory.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9712 { &hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pEnvironment,
9713 { "PEnvironment", "iremotewinspool.winspool_AsyncGetPrintProcessorDirectory.pEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9714 { &hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pName,
9715 { "PName", "iremotewinspool.winspool_AsyncGetPrintProcessorDirectory.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9716 { &hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory,
9717 { "PPrintProcessorDirectory", "iremotewinspool.winspool_AsyncGetPrintProcessorDirectory.pPrintProcessorDirectory", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9718 { &hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pcbNeeded,
9719 { "PcbNeeded", "iremotewinspool.winspool_AsyncGetPrintProcessorDirectory.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9720 { &hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_hPrinter,
9721 { "HPrinter", "iremotewinspool.winspool_AsyncGetPrinterDataEx.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9722 { &hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_nSize,
9723 { "NSize", "iremotewinspool.winspool_AsyncGetPrinterDataEx.nSize", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9724 { &hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pData,
9725 { "PData", "iremotewinspool.winspool_AsyncGetPrinterDataEx.pData", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9726 { &hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pKeyName,
9727 { "PKeyName", "iremotewinspool.winspool_AsyncGetPrinterDataEx.pKeyName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9728 { &hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pType,
9729 { "PType", "iremotewinspool.winspool_AsyncGetPrinterDataEx.pType", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9730 { &hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pValueName,
9731 { "PValueName", "iremotewinspool.winspool_AsyncGetPrinterDataEx.pValueName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9732 { &hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pcbNeeded,
9733 { "PcbNeeded", "iremotewinspool.winspool_AsyncGetPrinterDataEx.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9734 { &hf_iremotewinspool_winspool_AsyncGetPrinterData_hPrinter,
9735 { "HPrinter", "iremotewinspool.winspool_AsyncGetPrinterData.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9736 { &hf_iremotewinspool_winspool_AsyncGetPrinterData_nSize,
9737 { "NSize", "iremotewinspool.winspool_AsyncGetPrinterData.nSize", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9738 { &hf_iremotewinspool_winspool_AsyncGetPrinterData_pData,
9739 { "PData", "iremotewinspool.winspool_AsyncGetPrinterData.pData", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9740 { &hf_iremotewinspool_winspool_AsyncGetPrinterData_pType,
9741 { "PType", "iremotewinspool.winspool_AsyncGetPrinterData.pType", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9742 { &hf_iremotewinspool_winspool_AsyncGetPrinterData_pValueName,
9743 { "PValueName", "iremotewinspool.winspool_AsyncGetPrinterData.pValueName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9744 { &hf_iremotewinspool_winspool_AsyncGetPrinterData_pcbNeeded,
9745 { "PcbNeeded", "iremotewinspool.winspool_AsyncGetPrinterData.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9746 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_Level,
9747 { "Level", "iremotewinspool.winspool_AsyncGetPrinterDriverDirectory.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9748 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_cbBuf,
9749 { "CbBuf", "iremotewinspool.winspool_AsyncGetPrinterDriverDirectory.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9750 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory,
9751 { "PDriverDirectory", "iremotewinspool.winspool_AsyncGetPrinterDriverDirectory.pDriverDirectory", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9752 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pEnvironment,
9753 { "PEnvironment", "iremotewinspool.winspool_AsyncGetPrinterDriverDirectory.pEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9754 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pName,
9755 { "PName", "iremotewinspool.winspool_AsyncGetPrinterDriverDirectory.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9756 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pcbNeeded,
9757 { "PcbNeeded", "iremotewinspool.winspool_AsyncGetPrinterDriverDirectory.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9758 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_cchDriverPackageCab,
9759 { "CchDriverPackageCab", "iremotewinspool.winspool_AsyncGetPrinterDriverPackagePath.cchDriverPackageCab", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9760 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pcchRequiredSize,
9761 { "PcchRequiredSize", "iremotewinspool.winspool_AsyncGetPrinterDriverPackagePath.pcchRequiredSize", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9762 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab,
9763 { "PszDriverPackageCab", "iremotewinspool.winspool_AsyncGetPrinterDriverPackagePath.pszDriverPackageCab", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
9764 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszEnvironment,
9765 { "PszEnvironment", "iremotewinspool.winspool_AsyncGetPrinterDriverPackagePath.pszEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9766 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszLanguage,
9767 { "PszLanguage", "iremotewinspool.winspool_AsyncGetPrinterDriverPackagePath.pszLanguage", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9768 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszPackageID,
9769 { "PszPackageID", "iremotewinspool.winspool_AsyncGetPrinterDriverPackagePath.pszPackageID", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9770 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszServer,
9771 { "PszServer", "iremotewinspool.winspool_AsyncGetPrinterDriverPackagePath.pszServer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9772 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriver_Level,
9773 { "Level", "iremotewinspool.winspool_AsyncGetPrinterDriver.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9774 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriver_cbBuf,
9775 { "CbBuf", "iremotewinspool.winspool_AsyncGetPrinterDriver.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9776 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriver_dwClientMajorVersion,
9777 { "DwClientMajorVersion", "iremotewinspool.winspool_AsyncGetPrinterDriver.dwClientMajorVersion", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9778 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriver_dwClientMinorVersion,
9779 { "DwClientMinorVersion", "iremotewinspool.winspool_AsyncGetPrinterDriver.dwClientMinorVersion", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9780 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriver_hPrinter,
9781 { "HPrinter", "iremotewinspool.winspool_AsyncGetPrinterDriver.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9782 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pDriver,
9783 { "PDriver", "iremotewinspool.winspool_AsyncGetPrinterDriver.pDriver", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9784 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pEnvironment,
9785 { "PEnvironment", "iremotewinspool.winspool_AsyncGetPrinterDriver.pEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9786 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pcbNeeded,
9787 { "PcbNeeded", "iremotewinspool.winspool_AsyncGetPrinterDriver.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9788 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pdwServerMaxVersion,
9789 { "PdwServerMaxVersion", "iremotewinspool.winspool_AsyncGetPrinterDriver.pdwServerMaxVersion", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9790 { &hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pdwServerMinVersion,
9791 { "PdwServerMinVersion", "iremotewinspool.winspool_AsyncGetPrinterDriver.pdwServerMinVersion", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9792 { &hf_iremotewinspool_winspool_AsyncGetPrinter_Level,
9793 { "Level", "iremotewinspool.winspool_AsyncGetPrinter.Level", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9794 { &hf_iremotewinspool_winspool_AsyncGetPrinter_cbBuf,
9795 { "CbBuf", "iremotewinspool.winspool_AsyncGetPrinter.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9796 { &hf_iremotewinspool_winspool_AsyncGetPrinter_hPrinter,
9797 { "HPrinter", "iremotewinspool.winspool_AsyncGetPrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9798 { &hf_iremotewinspool_winspool_AsyncGetPrinter_pPrinter,
9799 { "PPrinter", "iremotewinspool.winspool_AsyncGetPrinter.pPrinter", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9800 { &hf_iremotewinspool_winspool_AsyncGetPrinter_pcbNeeded,
9801 { "PcbNeeded", "iremotewinspool.winspool_AsyncGetPrinter.pcbNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9802 { &hf_iremotewinspool_winspool_AsyncGetRemoteNotifications_hRpcHandle,
9803 { "HRpcHandle", "iremotewinspool.winspool_AsyncGetRemoteNotifications.hRpcHandle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9804 { &hf_iremotewinspool_winspool_AsyncGetRemoteNotifications_ppNotifyData,
9805 { "PpNotifyData", "iremotewinspool.winspool_AsyncGetRemoteNotifications.ppNotifyData", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9806 { &hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_dwFlags,
9807 { "DwFlags", "iremotewinspool.winspool_AsyncInstallPrinterDriverFromPackage.dwFlags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
9808 { &hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszDriverName,
9809 { "PszDriverName", "iremotewinspool.winspool_AsyncInstallPrinterDriverFromPackage.pszDriverName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9810 { &hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszEnvironment,
9811 { "PszEnvironment", "iremotewinspool.winspool_AsyncInstallPrinterDriverFromPackage.pszEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9812 { &hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszInfPath,
9813 { "PszInfPath", "iremotewinspool.winspool_AsyncInstallPrinterDriverFromPackage.pszInfPath", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9814 { &hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszServer,
9815 { "PszServer", "iremotewinspool.winspool_AsyncInstallPrinterDriverFromPackage.pszServer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9816 { &hf_iremotewinspool_winspool_AsyncLogJobInfoForBranchOffice_hPrinter,
9817 { "HPrinter", "iremotewinspool.winspool_AsyncLogJobInfoForBranchOffice.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9818 { &hf_iremotewinspool_winspool_AsyncLogJobInfoForBranchOffice_pBranchOfficeJobDataContainer,
9819 { "PBranchOfficeJobDataContainer", "iremotewinspool.winspool_AsyncLogJobInfoForBranchOffice.pBranchOfficeJobDataContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9820 { &hf_iremotewinspool_winspool_AsyncOpenPrinter_AccessRequired,
9821 { "AccessRequired", "iremotewinspool.winspool_AsyncOpenPrinter.AccessRequired", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9822 { &hf_iremotewinspool_winspool_AsyncOpenPrinter_pClientInfo,
9823 { "PClientInfo", "iremotewinspool.winspool_AsyncOpenPrinter.pClientInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9824 { &hf_iremotewinspool_winspool_AsyncOpenPrinter_pDatatype,
9825 { "PDatatype", "iremotewinspool.winspool_AsyncOpenPrinter.pDatatype", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9826 { &hf_iremotewinspool_winspool_AsyncOpenPrinter_pDevModeContainer,
9827 { "PDevModeContainer", "iremotewinspool.winspool_AsyncOpenPrinter.pDevModeContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9828 { &hf_iremotewinspool_winspool_AsyncOpenPrinter_pHandle,
9829 { "PHandle", "iremotewinspool.winspool_AsyncOpenPrinter.pHandle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9830 { &hf_iremotewinspool_winspool_AsyncOpenPrinter_pPrinterName,
9831 { "PPrinterName", "iremotewinspool.winspool_AsyncOpenPrinter.pPrinterName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9832 { &hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_cIn,
9833 { "CIn", "iremotewinspool.winspool_AsyncPlayGdiScriptOnPrinterIC.cIn", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9834 { &hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_cOut,
9835 { "COut", "iremotewinspool.winspool_AsyncPlayGdiScriptOnPrinterIC.cOut", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9836 { &hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_hPrinterIC,
9837 { "HPrinterIC", "iremotewinspool.winspool_AsyncPlayGdiScriptOnPrinterIC.hPrinterIC", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9838 { &hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn,
9839 { "PIn", "iremotewinspool.winspool_AsyncPlayGdiScriptOnPrinterIC.pIn", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9840 { &hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut,
9841 { "POut", "iremotewinspool.winspool_AsyncPlayGdiScriptOnPrinterIC.pOut", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9842 { &hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_ul,
9843 { "Ul", "iremotewinspool.winspool_AsyncPlayGdiScriptOnPrinterIC.ul", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9844 { &hf_iremotewinspool_winspool_AsyncReadPrinter_cbBuf,
9845 { "CbBuf", "iremotewinspool.winspool_AsyncReadPrinter.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9846 { &hf_iremotewinspool_winspool_AsyncReadPrinter_hPrinter,
9847 { "HPrinter", "iremotewinspool.winspool_AsyncReadPrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9848 { &hf_iremotewinspool_winspool_AsyncReadPrinter_pBuf,
9849 { "PBuf", "iremotewinspool.winspool_AsyncReadPrinter.pBuf", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9850 { &hf_iremotewinspool_winspool_AsyncReadPrinter_pcNoBytesRead,
9851 { "PcNoBytesRead", "iremotewinspool.winspool_AsyncReadPrinter.pcNoBytesRead", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9852 { &hf_iremotewinspool_winspool_AsyncResetPrinter_hPrinter,
9853 { "HPrinter", "iremotewinspool.winspool_AsyncResetPrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9854 { &hf_iremotewinspool_winspool_AsyncResetPrinter_pDatatype,
9855 { "PDatatype", "iremotewinspool.winspool_AsyncResetPrinter.pDatatype", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9856 { &hf_iremotewinspool_winspool_AsyncResetPrinter_pDevModeContainer,
9857 { "PDevModeContainer", "iremotewinspool.winspool_AsyncResetPrinter.pDevModeContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9858 { &hf_iremotewinspool_winspool_AsyncScheduleJob_JobId,
9859 { "JobId", "iremotewinspool.winspool_AsyncScheduleJob.JobId", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9860 { &hf_iremotewinspool_winspool_AsyncScheduleJob_hPrinter,
9861 { "HPrinter", "iremotewinspool.winspool_AsyncScheduleJob.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9862 { &hf_iremotewinspool_winspool_AsyncSendRecvBidiData_hPrinter,
9863 { "HPrinter", "iremotewinspool.winspool_AsyncSendRecvBidiData.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9864 { &hf_iremotewinspool_winspool_AsyncSendRecvBidiData_pAction,
9865 { "PAction", "iremotewinspool.winspool_AsyncSendRecvBidiData.pAction", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9866 { &hf_iremotewinspool_winspool_AsyncSendRecvBidiData_pReqData,
9867 { "PReqData", "iremotewinspool.winspool_AsyncSendRecvBidiData.pReqData", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9868 { &hf_iremotewinspool_winspool_AsyncSendRecvBidiData_ppRespData,
9869 { "PpRespData", "iremotewinspool.winspool_AsyncSendRecvBidiData.ppRespData", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9870 { &hf_iremotewinspool_winspool_AsyncSetForm_hPrinter,
9871 { "HPrinter", "iremotewinspool.winspool_AsyncSetForm.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9872 { &hf_iremotewinspool_winspool_AsyncSetForm_pFormInfoContainer,
9873 { "PFormInfoContainer", "iremotewinspool.winspool_AsyncSetForm.pFormInfoContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9874 { &hf_iremotewinspool_winspool_AsyncSetForm_pFormName,
9875 { "PFormName", "iremotewinspool.winspool_AsyncSetForm.pFormName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9876 { &hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_JobId,
9877 { "JobId", "iremotewinspool.winspool_AsyncSetJobNamedProperty.JobId", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9878 { &hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_hPrinter,
9879 { "HPrinter", "iremotewinspool.winspool_AsyncSetJobNamedProperty.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9880 { &hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_pProperty,
9881 { "PProperty", "iremotewinspool.winspool_AsyncSetJobNamedProperty.pProperty", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9882 { &hf_iremotewinspool_winspool_AsyncSetJob_Command,
9883 { "Command", "iremotewinspool.winspool_AsyncSetJob.Command", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9884 { &hf_iremotewinspool_winspool_AsyncSetJob_JobId,
9885 { "JobId", "iremotewinspool.winspool_AsyncSetJob.JobId", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9886 { &hf_iremotewinspool_winspool_AsyncSetJob_hPrinter,
9887 { "HPrinter", "iremotewinspool.winspool_AsyncSetJob.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9888 { &hf_iremotewinspool_winspool_AsyncSetJob_pJobContainer,
9889 { "PJobContainer", "iremotewinspool.winspool_AsyncSetJob.pJobContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9890 { &hf_iremotewinspool_winspool_AsyncSetPort_pName,
9891 { "PName", "iremotewinspool.winspool_AsyncSetPort.pName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9892 { &hf_iremotewinspool_winspool_AsyncSetPort_pPortContainer,
9893 { "PPortContainer", "iremotewinspool.winspool_AsyncSetPort.pPortContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9894 { &hf_iremotewinspool_winspool_AsyncSetPort_pPortName,
9895 { "PPortName", "iremotewinspool.winspool_AsyncSetPort.pPortName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9896 { &hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_Type,
9897 { "Type", "iremotewinspool.winspool_AsyncSetPrinterDataEx.Type", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9898 { &hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_cbData,
9899 { "CbData", "iremotewinspool.winspool_AsyncSetPrinterDataEx.cbData", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9900 { &hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_hPrinter,
9901 { "HPrinter", "iremotewinspool.winspool_AsyncSetPrinterDataEx.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9902 { &hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pData,
9903 { "PData", "iremotewinspool.winspool_AsyncSetPrinterDataEx.pData", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9904 { &hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pKeyName,
9905 { "PKeyName", "iremotewinspool.winspool_AsyncSetPrinterDataEx.pKeyName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9906 { &hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pValueName,
9907 { "PValueName", "iremotewinspool.winspool_AsyncSetPrinterDataEx.pValueName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9908 { &hf_iremotewinspool_winspool_AsyncSetPrinterData_Type,
9909 { "Type", "iremotewinspool.winspool_AsyncSetPrinterData.Type", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9910 { &hf_iremotewinspool_winspool_AsyncSetPrinterData_cbData,
9911 { "CbData", "iremotewinspool.winspool_AsyncSetPrinterData.cbData", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9912 { &hf_iremotewinspool_winspool_AsyncSetPrinterData_hPrinter,
9913 { "HPrinter", "iremotewinspool.winspool_AsyncSetPrinterData.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9914 { &hf_iremotewinspool_winspool_AsyncSetPrinterData_pData,
9915 { "PData", "iremotewinspool.winspool_AsyncSetPrinterData.pData", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9916 { &hf_iremotewinspool_winspool_AsyncSetPrinterData_pValueName,
9917 { "PValueName", "iremotewinspool.winspool_AsyncSetPrinterData.pValueName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9918 { &hf_iremotewinspool_winspool_AsyncSetPrinter_Command,
9919 { "Command", "iremotewinspool.winspool_AsyncSetPrinter.Command", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9920 { &hf_iremotewinspool_winspool_AsyncSetPrinter_hPrinter,
9921 { "HPrinter", "iremotewinspool.winspool_AsyncSetPrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9922 { &hf_iremotewinspool_winspool_AsyncSetPrinter_pDevModeContainer,
9923 { "PDevModeContainer", "iremotewinspool.winspool_AsyncSetPrinter.pDevModeContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9924 { &hf_iremotewinspool_winspool_AsyncSetPrinter_pPrinterContainer,
9925 { "PPrinterContainer", "iremotewinspool.winspool_AsyncSetPrinter.pPrinterContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9926 { &hf_iremotewinspool_winspool_AsyncSetPrinter_pSecurityContainer,
9927 { "PSecurityContainer", "iremotewinspool.winspool_AsyncSetPrinter.pSecurityContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9928 { &hf_iremotewinspool_winspool_AsyncStartDocPrinter_hPrinter,
9929 { "HPrinter", "iremotewinspool.winspool_AsyncStartDocPrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9930 { &hf_iremotewinspool_winspool_AsyncStartDocPrinter_pDocInfoContainer,
9931 { "PDocInfoContainer", "iremotewinspool.winspool_AsyncStartDocPrinter.pDocInfoContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9932 { &hf_iremotewinspool_winspool_AsyncStartDocPrinter_pJobId,
9933 { "PJobId", "iremotewinspool.winspool_AsyncStartDocPrinter.pJobId", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9934 { &hf_iremotewinspool_winspool_AsyncStartPagePrinter_hPrinter,
9935 { "HPrinter", "iremotewinspool.winspool_AsyncStartPagePrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9936 { &hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_dwFlags,
9937 { "DwFlags", "iremotewinspool.winspool_AsyncUploadPrinterDriverPackage.dwFlags", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
9938 { &hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pcchDestInfPath,
9939 { "PcchDestInfPath", "iremotewinspool.winspool_AsyncUploadPrinterDriverPackage.pcchDestInfPath", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9940 { &hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath,
9941 { "PszDestInfPath", "iremotewinspool.winspool_AsyncUploadPrinterDriverPackage.pszDestInfPath", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
9942 { &hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszEnvironment,
9943 { "PszEnvironment", "iremotewinspool.winspool_AsyncUploadPrinterDriverPackage.pszEnvironment", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9944 { &hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszInfPath,
9945 { "PszInfPath", "iremotewinspool.winspool_AsyncUploadPrinterDriverPackage.pszInfPath", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9946 { &hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszServer,
9947 { "PszServer", "iremotewinspool.winspool_AsyncUploadPrinterDriverPackage.pszServer", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9948 { &hf_iremotewinspool_winspool_AsyncWritePrinter_cbBuf,
9949 { "CbBuf", "iremotewinspool.winspool_AsyncWritePrinter.cbBuf", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9950 { &hf_iremotewinspool_winspool_AsyncWritePrinter_hPrinter,
9951 { "HPrinter", "iremotewinspool.winspool_AsyncWritePrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9952 { &hf_iremotewinspool_winspool_AsyncWritePrinter_pBuf,
9953 { "PBuf", "iremotewinspool.winspool_AsyncWritePrinter.pBuf", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9954 { &hf_iremotewinspool_winspool_AsyncWritePrinter_pcWritten,
9955 { "PcWritten", "iremotewinspool.winspool_AsyncWritePrinter.pcWritten", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9956 { &hf_iremotewinspool_winspool_AsyncXcvData_cbInputData,
9957 { "CbInputData", "iremotewinspool.winspool_AsyncXcvData.cbInputData", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9958 { &hf_iremotewinspool_winspool_AsyncXcvData_cbOutputData,
9959 { "CbOutputData", "iremotewinspool.winspool_AsyncXcvData.cbOutputData", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9960 { &hf_iremotewinspool_winspool_AsyncXcvData_hXcv,
9961 { "HXcv", "iremotewinspool.winspool_AsyncXcvData.hXcv", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
9962 { &hf_iremotewinspool_winspool_AsyncXcvData_pInputData,
9963 { "PInputData", "iremotewinspool.winspool_AsyncXcvData.pInputData", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9964 { &hf_iremotewinspool_winspool_AsyncXcvData_pOutputData,
9965 { "POutputData", "iremotewinspool.winspool_AsyncXcvData.pOutputData", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9966 { &hf_iremotewinspool_winspool_AsyncXcvData_pcbOutputNeeded,
9967 { "PcbOutputNeeded", "iremotewinspool.winspool_AsyncXcvData.pcbOutputNeeded", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9968 { &hf_iremotewinspool_winspool_AsyncXcvData_pdwStatus,
9969 { "PdwStatus", "iremotewinspool.winspool_AsyncXcvData.pdwStatus", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9970 { &hf_iremotewinspool_winspool_AsyncXcvData_pszDataName,
9971 { "PszDataName", "iremotewinspool.winspool_AsyncXcvData.pszDataName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9972 { &hf_iremotewinspool_winspool_InstallPrinterDriverFromPackageFlags_IPDFP_COPY_ALL_FILES,
9973 { "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 }},
9974 { &hf_iremotewinspool_winspool_NOTIFY_OPTIONS_CONTAINER_pOptions,
9975 { "POptions", "iremotewinspool.winspool_NOTIFY_OPTIONS_CONTAINER.pOptions", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9976 { &hf_iremotewinspool_winspool_NOTIFY_REPLY_CONTAINER_pInfo,
9977 { "PInfo", "iremotewinspool.winspool_NOTIFY_REPLY_CONTAINER.pInfo", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9978 { &hf_iremotewinspool_winspool_PrintNamedProperty_propertyName,
9979 { "PropertyName", "iremotewinspool.winspool_PrintNamedProperty.propertyName", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
9980 { &hf_iremotewinspool_winspool_PrintNamedProperty_propertyValue,
9981 { "PropertyValue", "iremotewinspool.winspool_PrintNamedProperty.propertyValue", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9982 { &hf_iremotewinspool_winspool_PrintPropertiesCollection_numberOfProperties,
9983 { "NumberOfProperties", "iremotewinspool.winspool_PrintPropertiesCollection.numberOfProperties", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9984 { &hf_iremotewinspool_winspool_PrintPropertiesCollection_propertiesCollection,
9985 { "PropertiesCollection", "iremotewinspool.winspool_PrintPropertiesCollection.propertiesCollection", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9986 { &hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyByte,
9987 { "PropertyByte", "iremotewinspool.winspool_PrintPropertyValueUnion.propertyByte", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
9988 { &hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyDevModeContainer,
9989 { "PropertyDevModeContainer", "iremotewinspool.winspool_PrintPropertyValueUnion.propertyDevModeContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9990 { &hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyInt32,
9991 { "PropertyInt32", "iremotewinspool.winspool_PrintPropertyValueUnion.propertyInt32", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
9992 { &hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyInt64,
9993 { "PropertyInt64", "iremotewinspool.winspool_PrintPropertyValueUnion.propertyInt64", FT_UINT64, BASE_DEC, NULL, 0, NULL, HFILL }},
9994 { &hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyOptionsContainer,
9995 { "PropertyOptionsContainer", "iremotewinspool.winspool_PrintPropertyValueUnion.propertyOptionsContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9996 { &hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyReplyContainer,
9997 { "PropertyReplyContainer", "iremotewinspool.winspool_PrintPropertyValueUnion.propertyReplyContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
9998 { &hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertySDContainer,
9999 { "PropertySDContainer", "iremotewinspool.winspool_PrintPropertyValueUnion.propertySDContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10000 { &hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyString,
10001 { "PropertyString", "iremotewinspool.winspool_PrintPropertyValueUnion.propertyString", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
10002 { &hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyTimeContainer,
10003 { "PropertyTimeContainer", "iremotewinspool.winspool_PrintPropertyValueUnion.propertyTimeContainer", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10004 { &hf_iremotewinspool_winspool_PrintPropertyValue_PropertyType,
10005 { "PropertyType", "iremotewinspool.winspool_PrintPropertyValue.PropertyType", FT_UINT1632, BASE_DEC, VALS(iremotewinspool_winspool_PrintPropertyType_vals), 0, NULL, HFILL }},
10006 { &hf_iremotewinspool_winspool_PrintPropertyValue_value,
10007 { "Value", "iremotewinspool.winspool_PrintPropertyValue.value", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10008 { &hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_hRpcHandle,
10009 { "HRpcHandle", "iremotewinspool.winspool_SyncRefreshRemoteNotifications.hRpcHandle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10010 { &hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_pNotifyFilter,
10011 { "PNotifyFilter", "iremotewinspool.winspool_SyncRefreshRemoteNotifications.pNotifyFilter", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10012 { &hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_ppNotifyData,
10013 { "PpNotifyData", "iremotewinspool.winspool_SyncRefreshRemoteNotifications.ppNotifyData", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10014 { &hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_hPrinter,
10015 { "HPrinter", "iremotewinspool.winspool_SyncRegisterForRemoteNotifications.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10016 { &hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_pNotifyFilter,
10017 { "PNotifyFilter", "iremotewinspool.winspool_SyncRegisterForRemoteNotifications.pNotifyFilter", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
10018 { &hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_phRpcHandle,
10019 { "PhRpcHandle", "iremotewinspool.winspool_SyncRegisterForRemoteNotifications.phRpcHandle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10020 { &hf_iremotewinspool_winspool_SyncUnRegisterForRemoteNotifications_phRpcHandle,
10021 { "PhRpcHandle", "iremotewinspool.winspool_SyncUnRegisterForRemoteNotifications.phRpcHandle", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
10022 { &hf_iremotewinspool_winspool_UploadPrinterDriverPackageFlags_UPDP_CHECK_DRIVERSTORE,
10023 { "UPDP CHECK DRIVERSTORE", "iremotewinspool.winspool_UploadPrinterDriverPackageFlags.UPDP_CHECK_DRIVERSTORE", FT_BOOLEAN, 32, TFS(&winspool_UploadPrinterDriverPackageFlags_UPDP_CHECK_DRIVERSTORE_tfs), ( 0x00000004 ), NULL, HFILL }},
10024 { &hf_iremotewinspool_winspool_UploadPrinterDriverPackageFlags_UPDP_UPLOAD_ALWAYS,
10025 { "UPDP UPLOAD ALWAYS", "iremotewinspool.winspool_UploadPrinterDriverPackageFlags.UPDP_UPLOAD_ALWAYS", FT_BOOLEAN, 32, TFS(&winspool_UploadPrinterDriverPackageFlags_UPDP_UPLOAD_ALWAYS_tfs), ( 0x00000002 ), NULL, HFILL }},
10029 static int *ett[] = {
10030 &ett_dcerpc_iremotewinspool,
10031 &ett_iremotewinspool_winspool_NOTIFY_REPLY_CONTAINER,
10032 &ett_iremotewinspool_winspool_NOTIFY_OPTIONS_CONTAINER,
10033 &ett_iremotewinspool_winspool_PrintPropertyValueUnion,
10034 &ett_iremotewinspool_winspool_PrintPropertyValue,
10035 &ett_iremotewinspool_winspool_PrintNamedProperty,
10036 &ett_iremotewinspool_winspool_PrintPropertiesCollection,
10037 &ett_iremotewinspool_winspool_InstallPrinterDriverFromPackageFlags,
10038 &ett_iremotewinspool_winspool_UploadPrinterDriverPackageFlags,
10041 proto_dcerpc_iremotewinspool = proto_register_protocol("IRemoteWinspool SubSystem", "IREMOTEWINSPOOL", "iremotewinspool");
10042 proto_register_field_array(proto_dcerpc_iremotewinspool, hf, array_length (hf));
10043 proto_register_subtree_array(ett, array_length(ett));
10046 void proto_reg_handoff_dcerpc_iremotewinspool(void)
10048 dcerpc_init_uuid(proto_dcerpc_iremotewinspool, ett_dcerpc_iremotewinspool,
10049 &uuid_dcerpc_iremotewinspool, ver_dcerpc_iremotewinspool,
10050 iremotewinspool_dissectors, hf_iremotewinspool_opnum);