diff options
Diffstat (limited to 'epan/dissectors/packet-dcerpc-winspool.c')
-rw-r--r-- | epan/dissectors/packet-dcerpc-winspool.c | 3863 |
1 files changed, 1932 insertions, 1931 deletions
diff --git a/epan/dissectors/packet-dcerpc-winspool.c b/epan/dissectors/packet-dcerpc-winspool.c index 53e77065..99f66112 100644 --- a/epan/dissectors/packet-dcerpc-winspool.c +++ b/epan/dissectors/packet-dcerpc-winspool.c @@ -5,14 +5,15 @@ Pidl is a perl based IDL compiler for DCE/RPC idl files. It is maintained by the Samba team, not the Wireshark team. Instructions on how to download and install Pidl can be - found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl + found at https://wiki.wireshark.org/Pidl */ #include "config.h" -#include <glib.h> #include <string.h> +#include <wsutil/array.h> #include <epan/packet.h> +#include <epan/tfs.h> #include "packet-dcerpc.h" #include "packet-dcerpc-nt.h" @@ -22,364 +23,364 @@ void proto_register_dcerpc_iremotewinspool(void); void proto_reg_handoff_dcerpc_iremotewinspool(void); /* Ett declarations */ -static gint ett_dcerpc_iremotewinspool = -1; -static gint ett_iremotewinspool_winspool_NOTIFY_REPLY_CONTAINER = -1; -static gint ett_iremotewinspool_winspool_NOTIFY_OPTIONS_CONTAINER = -1; -static gint ett_iremotewinspool_winspool_PrintPropertyValueUnion = -1; -static gint ett_iremotewinspool_winspool_PrintPropertyValue = -1; -static gint ett_iremotewinspool_winspool_PrintNamedProperty = -1; -static gint ett_iremotewinspool_winspool_PrintPropertiesCollection = -1; -static gint ett_iremotewinspool_winspool_InstallPrinterDriverFromPackageFlags = -1; -static gint ett_iremotewinspool_winspool_UploadPrinterDriverPackageFlags = -1; +static int ett_dcerpc_iremotewinspool; +static int ett_iremotewinspool_winspool_NOTIFY_REPLY_CONTAINER; +static int ett_iremotewinspool_winspool_NOTIFY_OPTIONS_CONTAINER; +static int ett_iremotewinspool_winspool_PrintPropertyValueUnion; +static int ett_iremotewinspool_winspool_PrintPropertyValue; +static int ett_iremotewinspool_winspool_PrintNamedProperty; +static int ett_iremotewinspool_winspool_PrintPropertiesCollection; +static int ett_iremotewinspool_winspool_InstallPrinterDriverFromPackageFlags; +static int ett_iremotewinspool_winspool_UploadPrinterDriverPackageFlags; /* Header field declarations */ -static gint hf_iremotewinspool_hresult = -1; -static gint hf_iremotewinspool_opnum = -1; -static gint hf_iremotewinspool_sec_desc_buf_len = -1; -static gint hf_iremotewinspool_werror = -1; -static gint hf_iremotewinspool_winspool_AsyncAbortPrinter_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncAddForm_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncAddForm_pFormInfoContainer = -1; -static gint hf_iremotewinspool_winspool_AsyncAddJob_Level = -1; -static gint hf_iremotewinspool_winspool_AsyncAddJob_cbBuf = -1; -static gint hf_iremotewinspool_winspool_AsyncAddJob_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncAddJob_pAddJob = -1; -static gint hf_iremotewinspool_winspool_AsyncAddJob_pcbNeeded = -1; -static gint hf_iremotewinspool_winspool_AsyncAddMonitor_Name = -1; -static gint hf_iremotewinspool_winspool_AsyncAddMonitor_pMonitorContainer = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pPrintServer = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pPrinterName = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pProvider = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pServer = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPort_pMonitorName = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPort_pName = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPort_pPortContainer = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPort_pPortVarContainer = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pEnvironment = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pName = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pPathName = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pPrintProcessorName = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPrinterDriver_dwFileCopyFlags = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPrinterDriver_pDriverContainer = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPrinterDriver_pName = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPrinter_pClientInfo = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPrinter_pDevModeContainer = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPrinter_pHandle = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPrinter_pName = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPrinter_pPrinterContainer = -1; -static gint hf_iremotewinspool_winspool_AsyncAddPrinter_pSecurityContainer = -1; -static gint hf_iremotewinspool_winspool_AsyncClosePrinter_phPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_CoreDriverGUID = -1; -static gint hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_dwlDriverVersion = -1; -static gint hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_ftDriverDate = -1; -static gint hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pbDriverInstalled = -1; -static gint hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pszEnvironment = -1; -static gint hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pszServer = -1; -static gint hf_iremotewinspool_winspool_AsyncCreatePrinterIC_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncCreatePrinterIC_pDevModeContainer = -1; -static gint hf_iremotewinspool_winspool_AsyncCreatePrinterIC_pHandle = -1; -static gint hf_iremotewinspool_winspool_AsyncDeleteForm_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncDeleteForm_pFormName = -1; -static gint hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_JobId = -1; -static gint hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_pszName = -1; -static gint hf_iremotewinspool_winspool_AsyncDeleteMonitor_Name = -1; -static gint hf_iremotewinspool_winspool_AsyncDeleteMonitor_pEnvironment = -1; -static gint hf_iremotewinspool_winspool_AsyncDeleteMonitor_pMonitorName = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePerMachineConnection_pPrinterName = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePerMachineConnection_pServer = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_Name = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_pEnvironment = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_pPrintProcessorName = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_pKeyName = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_pValueName = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrinterData_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrinterData_pValueName = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_dwDeleteFlag = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_dwVersionNum = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pDriverName = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pEnvironment = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pName = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszEnvironment = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszInfPath = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszServer = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pDriverName = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pEnvironment = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pName = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrinterIC_phPrinterIC = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrinterKey_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrinterKey_pKeyName = -1; -static gint hf_iremotewinspool_winspool_AsyncDeletePrinter_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncEndDocPrinter_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncEndPagePrinter_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumForms_Level = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumForms_cbBuf = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumForms_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumForms_pForm = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumForms_pcReturned = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumForms_pcbNeeded = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_JobId = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_pcProperties = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_ppProperties = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumJobs_FirstJob = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumJobs_Level = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumJobs_NoJobs = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumJobs_cbBuf = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumJobs_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumJobs_pJob = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumJobs_pcReturned = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumJobs_pcbNeeded = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumMonitors_Level = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumMonitors_cbBuf = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumMonitors_pMonitor = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumMonitors_pName = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumMonitors_pcReturned = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumMonitors_pcbNeeded = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_cbBuf = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pPrinterEnum = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pServer = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pcReturned = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pcbNeeded = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPorts_Level = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPorts_cbBuf = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPorts_pName = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPorts_pPort = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPorts_pcReturned = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPorts_pcbNeeded = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_Level = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_cbBuf = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pName = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pPrintProcessorName = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pcReturned = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pcbNeeded = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_Level = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_cbBuf = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pEnvironment = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pName = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pcReturned = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pcbNeeded = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_cbEnumValues = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pEnumValues = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pKeyName = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pcbEnumValues = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pnEnumValues = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterData_cbData = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterData_cbValueName = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterData_dwIndex = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterData_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterData_pData = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterData_pType = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterData_pValueName = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterData_pcbData = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterData_pcbValueName = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_Level = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_cbBuf = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pDrivers = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pEnvironment = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pName = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pcReturned = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pcbNeeded = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterKey_cbSubkey = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterKey_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pKeyName = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pSubkey = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pcbSubkey = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinters_Flags = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinters_Level = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinters_cbBuf = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinters_pName = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinters_pPrinterEnum = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinters_pcReturned = -1; -static gint hf_iremotewinspool_winspool_AsyncEnumPrinters_pcbNeeded = -1; -static gint hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_cCorePrinterDrivers = -1; -static gint hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_cchCoreDrivers = -1; -static gint hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pCorePrinterDrivers = -1; -static gint hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszEnvironment = -1; -static gint hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszServer = -1; -static gint hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies = -1; -static gint hf_iremotewinspool_winspool_AsyncGetForm_Level = -1; -static gint hf_iremotewinspool_winspool_AsyncGetForm_cbBuf = -1; -static gint hf_iremotewinspool_winspool_AsyncGetForm_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncGetForm_pForm = -1; -static gint hf_iremotewinspool_winspool_AsyncGetForm_pFormName = -1; -static gint hf_iremotewinspool_winspool_AsyncGetForm_pcbNeeded = -1; -static gint hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_JobId = -1; -static gint hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_pValue = -1; -static gint hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_pszName = -1; -static gint hf_iremotewinspool_winspool_AsyncGetJob_JobId = -1; -static gint hf_iremotewinspool_winspool_AsyncGetJob_Level = -1; -static gint hf_iremotewinspool_winspool_AsyncGetJob_cbBuf = -1; -static gint hf_iremotewinspool_winspool_AsyncGetJob_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncGetJob_pJob = -1; -static gint hf_iremotewinspool_winspool_AsyncGetJob_pcbNeeded = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_Level = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_cbBuf = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pEnvironment = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pName = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pcbNeeded = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_nSize = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pData = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pKeyName = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pType = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pValueName = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pcbNeeded = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterData_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterData_nSize = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterData_pData = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterData_pType = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterData_pValueName = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterData_pcbNeeded = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_Level = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_cbBuf = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pEnvironment = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pName = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pcbNeeded = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_cchDriverPackageCab = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pcchRequiredSize = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszEnvironment = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszLanguage = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszPackageID = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszServer = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriver_Level = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriver_cbBuf = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriver_dwClientMajorVersion = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriver_dwClientMinorVersion = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriver_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pDriver = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pEnvironment = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pcbNeeded = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pdwServerMaxVersion = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pdwServerMinVersion = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinter_Level = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinter_cbBuf = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinter_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinter_pPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncGetPrinter_pcbNeeded = -1; -static gint hf_iremotewinspool_winspool_AsyncGetRemoteNotifications_hRpcHandle = -1; -static gint hf_iremotewinspool_winspool_AsyncGetRemoteNotifications_ppNotifyData = -1; -static gint hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_dwFlags = -1; -static gint hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszDriverName = -1; -static gint hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszEnvironment = -1; -static gint hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszInfPath = -1; -static gint hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszServer = -1; -static gint hf_iremotewinspool_winspool_AsyncLogJobInfoForBranchOffice_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncLogJobInfoForBranchOffice_pBranchOfficeJobDataContainer = -1; -static gint hf_iremotewinspool_winspool_AsyncOpenPrinter_AccessRequired = -1; -static gint hf_iremotewinspool_winspool_AsyncOpenPrinter_pClientInfo = -1; -static gint hf_iremotewinspool_winspool_AsyncOpenPrinter_pDatatype = -1; -static gint hf_iremotewinspool_winspool_AsyncOpenPrinter_pDevModeContainer = -1; -static gint hf_iremotewinspool_winspool_AsyncOpenPrinter_pHandle = -1; -static gint hf_iremotewinspool_winspool_AsyncOpenPrinter_pPrinterName = -1; -static gint hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_cIn = -1; -static gint hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_cOut = -1; -static gint hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_hPrinterIC = -1; -static gint hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn = -1; -static gint hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut = -1; -static gint hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_ul = -1; -static gint hf_iremotewinspool_winspool_AsyncReadPrinter_cbBuf = -1; -static gint hf_iremotewinspool_winspool_AsyncReadPrinter_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncReadPrinter_pBuf = -1; -static gint hf_iremotewinspool_winspool_AsyncReadPrinter_pcNoBytesRead = -1; -static gint hf_iremotewinspool_winspool_AsyncResetPrinter_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncResetPrinter_pDatatype = -1; -static gint hf_iremotewinspool_winspool_AsyncResetPrinter_pDevModeContainer = -1; -static gint hf_iremotewinspool_winspool_AsyncScheduleJob_JobId = -1; -static gint hf_iremotewinspool_winspool_AsyncScheduleJob_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncSendRecvBidiData_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncSendRecvBidiData_pAction = -1; -static gint hf_iremotewinspool_winspool_AsyncSendRecvBidiData_pReqData = -1; -static gint hf_iremotewinspool_winspool_AsyncSendRecvBidiData_ppRespData = -1; -static gint hf_iremotewinspool_winspool_AsyncSetForm_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncSetForm_pFormInfoContainer = -1; -static gint hf_iremotewinspool_winspool_AsyncSetForm_pFormName = -1; -static gint hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_JobId = -1; -static gint hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_pProperty = -1; -static gint hf_iremotewinspool_winspool_AsyncSetJob_Command = -1; -static gint hf_iremotewinspool_winspool_AsyncSetJob_JobId = -1; -static gint hf_iremotewinspool_winspool_AsyncSetJob_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncSetJob_pJobContainer = -1; -static gint hf_iremotewinspool_winspool_AsyncSetPort_pName = -1; -static gint hf_iremotewinspool_winspool_AsyncSetPort_pPortContainer = -1; -static gint hf_iremotewinspool_winspool_AsyncSetPort_pPortName = -1; -static gint hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_Type = -1; -static gint hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_cbData = -1; -static gint hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pData = -1; -static gint hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pKeyName = -1; -static gint hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pValueName = -1; -static gint hf_iremotewinspool_winspool_AsyncSetPrinterData_Type = -1; -static gint hf_iremotewinspool_winspool_AsyncSetPrinterData_cbData = -1; -static gint hf_iremotewinspool_winspool_AsyncSetPrinterData_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncSetPrinterData_pData = -1; -static gint hf_iremotewinspool_winspool_AsyncSetPrinterData_pValueName = -1; -static gint hf_iremotewinspool_winspool_AsyncSetPrinter_Command = -1; -static gint hf_iremotewinspool_winspool_AsyncSetPrinter_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncSetPrinter_pDevModeContainer = -1; -static gint hf_iremotewinspool_winspool_AsyncSetPrinter_pPrinterContainer = -1; -static gint hf_iremotewinspool_winspool_AsyncSetPrinter_pSecurityContainer = -1; -static gint hf_iremotewinspool_winspool_AsyncStartDocPrinter_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncStartDocPrinter_pDocInfoContainer = -1; -static gint hf_iremotewinspool_winspool_AsyncStartDocPrinter_pJobId = -1; -static gint hf_iremotewinspool_winspool_AsyncStartPagePrinter_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_dwFlags = -1; -static gint hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pcchDestInfPath = -1; -static gint hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath = -1; -static gint hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszEnvironment = -1; -static gint hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszInfPath = -1; -static gint hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszServer = -1; -static gint hf_iremotewinspool_winspool_AsyncWritePrinter_cbBuf = -1; -static gint hf_iremotewinspool_winspool_AsyncWritePrinter_hPrinter = -1; -static gint hf_iremotewinspool_winspool_AsyncWritePrinter_pBuf = -1; -static gint hf_iremotewinspool_winspool_AsyncWritePrinter_pcWritten = -1; -static gint hf_iremotewinspool_winspool_AsyncXcvData_cbInputData = -1; -static gint hf_iremotewinspool_winspool_AsyncXcvData_cbOutputData = -1; -static gint hf_iremotewinspool_winspool_AsyncXcvData_hXcv = -1; -static gint hf_iremotewinspool_winspool_AsyncXcvData_pInputData = -1; -static gint hf_iremotewinspool_winspool_AsyncXcvData_pOutputData = -1; -static gint hf_iremotewinspool_winspool_AsyncXcvData_pcbOutputNeeded = -1; -static gint hf_iremotewinspool_winspool_AsyncXcvData_pdwStatus = -1; -static gint hf_iremotewinspool_winspool_AsyncXcvData_pszDataName = -1; -static gint hf_iremotewinspool_winspool_InstallPrinterDriverFromPackageFlags_IPDFP_COPY_ALL_FILES = -1; -static gint hf_iremotewinspool_winspool_NOTIFY_OPTIONS_CONTAINER_pOptions = -1; -static gint hf_iremotewinspool_winspool_NOTIFY_REPLY_CONTAINER_pInfo = -1; -static gint hf_iremotewinspool_winspool_PrintNamedProperty_propertyName = -1; -static gint hf_iremotewinspool_winspool_PrintNamedProperty_propertyValue = -1; -static gint hf_iremotewinspool_winspool_PrintPropertiesCollection_numberOfProperties = -1; -static gint hf_iremotewinspool_winspool_PrintPropertiesCollection_propertiesCollection = -1; -static gint hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyByte = -1; -static gint hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyDevModeContainer = -1; -static gint hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyInt32 = -1; -static gint hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyInt64 = -1; -static gint hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyOptionsContainer = -1; -static gint hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyReplyContainer = -1; -static gint hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertySDContainer = -1; -static gint hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyString = -1; -static gint hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyTimeContainer = -1; -static gint hf_iremotewinspool_winspool_PrintPropertyValue_PropertyType = -1; -static gint hf_iremotewinspool_winspool_PrintPropertyValue_value = -1; -static gint hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_hRpcHandle = -1; -static gint hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_pNotifyFilter = -1; -static gint hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_ppNotifyData = -1; -static gint hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_hPrinter = -1; -static gint hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_pNotifyFilter = -1; -static gint hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_phRpcHandle = -1; -static gint hf_iremotewinspool_winspool_SyncUnRegisterForRemoteNotifications_phRpcHandle = -1; -static gint hf_iremotewinspool_winspool_UploadPrinterDriverPackageFlags_UPDP_CHECK_DRIVERSTORE = -1; -static gint hf_iremotewinspool_winspool_UploadPrinterDriverPackageFlags_UPDP_UPLOAD_ALWAYS = -1; - -static gint proto_dcerpc_iremotewinspool = -1; +static int hf_iremotewinspool_hresult; +static int hf_iremotewinspool_opnum; +static int hf_iremotewinspool_sec_desc_buf_len; +static int hf_iremotewinspool_werror; +static int hf_iremotewinspool_winspool_AsyncAbortPrinter_hPrinter; +static int hf_iremotewinspool_winspool_AsyncAddForm_hPrinter; +static int hf_iremotewinspool_winspool_AsyncAddForm_pFormInfoContainer; +static int hf_iremotewinspool_winspool_AsyncAddJob_Level; +static int hf_iremotewinspool_winspool_AsyncAddJob_cbBuf; +static int hf_iremotewinspool_winspool_AsyncAddJob_hPrinter; +static int hf_iremotewinspool_winspool_AsyncAddJob_pAddJob; +static int hf_iremotewinspool_winspool_AsyncAddJob_pcbNeeded; +static int hf_iremotewinspool_winspool_AsyncAddMonitor_Name; +static int hf_iremotewinspool_winspool_AsyncAddMonitor_pMonitorContainer; +static int hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pPrintServer; +static int hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pPrinterName; +static int hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pProvider; +static int hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pServer; +static int hf_iremotewinspool_winspool_AsyncAddPort_pMonitorName; +static int hf_iremotewinspool_winspool_AsyncAddPort_pName; +static int hf_iremotewinspool_winspool_AsyncAddPort_pPortContainer; +static int hf_iremotewinspool_winspool_AsyncAddPort_pPortVarContainer; +static int hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pEnvironment; +static int hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pName; +static int hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pPathName; +static int hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pPrintProcessorName; +static int hf_iremotewinspool_winspool_AsyncAddPrinterDriver_dwFileCopyFlags; +static int hf_iremotewinspool_winspool_AsyncAddPrinterDriver_pDriverContainer; +static int hf_iremotewinspool_winspool_AsyncAddPrinterDriver_pName; +static int hf_iremotewinspool_winspool_AsyncAddPrinter_pClientInfo; +static int hf_iremotewinspool_winspool_AsyncAddPrinter_pDevModeContainer; +static int hf_iremotewinspool_winspool_AsyncAddPrinter_pHandle; +static int hf_iremotewinspool_winspool_AsyncAddPrinter_pName; +static int hf_iremotewinspool_winspool_AsyncAddPrinter_pPrinterContainer; +static int hf_iremotewinspool_winspool_AsyncAddPrinter_pSecurityContainer; +static int hf_iremotewinspool_winspool_AsyncClosePrinter_phPrinter; +static int hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_CoreDriverGUID; +static int hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_dwlDriverVersion; +static int hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_ftDriverDate; +static int hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pbDriverInstalled; +static int hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pszEnvironment; +static int hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pszServer; +static int hf_iremotewinspool_winspool_AsyncCreatePrinterIC_hPrinter; +static int hf_iremotewinspool_winspool_AsyncCreatePrinterIC_pDevModeContainer; +static int hf_iremotewinspool_winspool_AsyncCreatePrinterIC_pHandle; +static int hf_iremotewinspool_winspool_AsyncDeleteForm_hPrinter; +static int hf_iremotewinspool_winspool_AsyncDeleteForm_pFormName; +static int hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_JobId; +static int hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_hPrinter; +static int hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_pszName; +static int hf_iremotewinspool_winspool_AsyncDeleteMonitor_Name; +static int hf_iremotewinspool_winspool_AsyncDeleteMonitor_pEnvironment; +static int hf_iremotewinspool_winspool_AsyncDeleteMonitor_pMonitorName; +static int hf_iremotewinspool_winspool_AsyncDeletePerMachineConnection_pPrinterName; +static int hf_iremotewinspool_winspool_AsyncDeletePerMachineConnection_pServer; +static int hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_Name; +static int hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_pEnvironment; +static int hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_pPrintProcessorName; +static int hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_hPrinter; +static int hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_pKeyName; +static int hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_pValueName; +static int hf_iremotewinspool_winspool_AsyncDeletePrinterData_hPrinter; +static int hf_iremotewinspool_winspool_AsyncDeletePrinterData_pValueName; +static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_dwDeleteFlag; +static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_dwVersionNum; +static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pDriverName; +static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pEnvironment; +static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pName; +static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszEnvironment; +static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszInfPath; +static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszServer; +static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pDriverName; +static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pEnvironment; +static int hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pName; +static int hf_iremotewinspool_winspool_AsyncDeletePrinterIC_phPrinterIC; +static int hf_iremotewinspool_winspool_AsyncDeletePrinterKey_hPrinter; +static int hf_iremotewinspool_winspool_AsyncDeletePrinterKey_pKeyName; +static int hf_iremotewinspool_winspool_AsyncDeletePrinter_hPrinter; +static int hf_iremotewinspool_winspool_AsyncEndDocPrinter_hPrinter; +static int hf_iremotewinspool_winspool_AsyncEndPagePrinter_hPrinter; +static int hf_iremotewinspool_winspool_AsyncEnumForms_Level; +static int hf_iremotewinspool_winspool_AsyncEnumForms_cbBuf; +static int hf_iremotewinspool_winspool_AsyncEnumForms_hPrinter; +static int hf_iremotewinspool_winspool_AsyncEnumForms_pForm; +static int hf_iremotewinspool_winspool_AsyncEnumForms_pcReturned; +static int hf_iremotewinspool_winspool_AsyncEnumForms_pcbNeeded; +static int hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_JobId; +static int hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_hPrinter; +static int hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_pcProperties; +static int hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_ppProperties; +static int hf_iremotewinspool_winspool_AsyncEnumJobs_FirstJob; +static int hf_iremotewinspool_winspool_AsyncEnumJobs_Level; +static int hf_iremotewinspool_winspool_AsyncEnumJobs_NoJobs; +static int hf_iremotewinspool_winspool_AsyncEnumJobs_cbBuf; +static int hf_iremotewinspool_winspool_AsyncEnumJobs_hPrinter; +static int hf_iremotewinspool_winspool_AsyncEnumJobs_pJob; +static int hf_iremotewinspool_winspool_AsyncEnumJobs_pcReturned; +static int hf_iremotewinspool_winspool_AsyncEnumJobs_pcbNeeded; +static int hf_iremotewinspool_winspool_AsyncEnumMonitors_Level; +static int hf_iremotewinspool_winspool_AsyncEnumMonitors_cbBuf; +static int hf_iremotewinspool_winspool_AsyncEnumMonitors_pMonitor; +static int hf_iremotewinspool_winspool_AsyncEnumMonitors_pName; +static int hf_iremotewinspool_winspool_AsyncEnumMonitors_pcReturned; +static int hf_iremotewinspool_winspool_AsyncEnumMonitors_pcbNeeded; +static int hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_cbBuf; +static int hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pPrinterEnum; +static int hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pServer; +static int hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pcReturned; +static int hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pcbNeeded; +static int hf_iremotewinspool_winspool_AsyncEnumPorts_Level; +static int hf_iremotewinspool_winspool_AsyncEnumPorts_cbBuf; +static int hf_iremotewinspool_winspool_AsyncEnumPorts_pName; +static int hf_iremotewinspool_winspool_AsyncEnumPorts_pPort; +static int hf_iremotewinspool_winspool_AsyncEnumPorts_pcReturned; +static int hf_iremotewinspool_winspool_AsyncEnumPorts_pcbNeeded; +static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_Level; +static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_cbBuf; +static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes; +static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pName; +static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pPrintProcessorName; +static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pcReturned; +static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pcbNeeded; +static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_Level; +static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_cbBuf; +static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pEnvironment; +static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pName; +static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo; +static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pcReturned; +static int hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pcbNeeded; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_cbEnumValues; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_hPrinter; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pEnumValues; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pKeyName; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pcbEnumValues; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pnEnumValues; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterData_cbData; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterData_cbValueName; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterData_dwIndex; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterData_hPrinter; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterData_pData; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterData_pType; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterData_pValueName; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterData_pcbData; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterData_pcbValueName; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_Level; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_cbBuf; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pDrivers; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pEnvironment; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pName; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pcReturned; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pcbNeeded; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterKey_cbSubkey; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterKey_hPrinter; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pKeyName; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pSubkey; +static int hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pcbSubkey; +static int hf_iremotewinspool_winspool_AsyncEnumPrinters_Flags; +static int hf_iremotewinspool_winspool_AsyncEnumPrinters_Level; +static int hf_iremotewinspool_winspool_AsyncEnumPrinters_cbBuf; +static int hf_iremotewinspool_winspool_AsyncEnumPrinters_pName; +static int hf_iremotewinspool_winspool_AsyncEnumPrinters_pPrinterEnum; +static int hf_iremotewinspool_winspool_AsyncEnumPrinters_pcReturned; +static int hf_iremotewinspool_winspool_AsyncEnumPrinters_pcbNeeded; +static int hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_cCorePrinterDrivers; +static int hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_cchCoreDrivers; +static int hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pCorePrinterDrivers; +static int hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszEnvironment; +static int hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszServer; +static int hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies; +static int hf_iremotewinspool_winspool_AsyncGetForm_Level; +static int hf_iremotewinspool_winspool_AsyncGetForm_cbBuf; +static int hf_iremotewinspool_winspool_AsyncGetForm_hPrinter; +static int hf_iremotewinspool_winspool_AsyncGetForm_pForm; +static int hf_iremotewinspool_winspool_AsyncGetForm_pFormName; +static int hf_iremotewinspool_winspool_AsyncGetForm_pcbNeeded; +static int hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_JobId; +static int hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_hPrinter; +static int hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_pValue; +static int hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_pszName; +static int hf_iremotewinspool_winspool_AsyncGetJob_JobId; +static int hf_iremotewinspool_winspool_AsyncGetJob_Level; +static int hf_iremotewinspool_winspool_AsyncGetJob_cbBuf; +static int hf_iremotewinspool_winspool_AsyncGetJob_hPrinter; +static int hf_iremotewinspool_winspool_AsyncGetJob_pJob; +static int hf_iremotewinspool_winspool_AsyncGetJob_pcbNeeded; +static int hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_Level; +static int hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_cbBuf; +static int hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pEnvironment; +static int hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pName; +static int hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory; +static int hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pcbNeeded; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_hPrinter; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_nSize; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pData; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pKeyName; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pType; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pValueName; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pcbNeeded; +static int hf_iremotewinspool_winspool_AsyncGetPrinterData_hPrinter; +static int hf_iremotewinspool_winspool_AsyncGetPrinterData_nSize; +static int hf_iremotewinspool_winspool_AsyncGetPrinterData_pData; +static int hf_iremotewinspool_winspool_AsyncGetPrinterData_pType; +static int hf_iremotewinspool_winspool_AsyncGetPrinterData_pValueName; +static int hf_iremotewinspool_winspool_AsyncGetPrinterData_pcbNeeded; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_Level; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_cbBuf; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pEnvironment; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pName; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pcbNeeded; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_cchDriverPackageCab; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pcchRequiredSize; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszEnvironment; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszLanguage; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszPackageID; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszServer; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriver_Level; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriver_cbBuf; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriver_dwClientMajorVersion; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriver_dwClientMinorVersion; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriver_hPrinter; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pDriver; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pEnvironment; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pcbNeeded; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pdwServerMaxVersion; +static int hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pdwServerMinVersion; +static int hf_iremotewinspool_winspool_AsyncGetPrinter_Level; +static int hf_iremotewinspool_winspool_AsyncGetPrinter_cbBuf; +static int hf_iremotewinspool_winspool_AsyncGetPrinter_hPrinter; +static int hf_iremotewinspool_winspool_AsyncGetPrinter_pPrinter; +static int hf_iremotewinspool_winspool_AsyncGetPrinter_pcbNeeded; +static int hf_iremotewinspool_winspool_AsyncGetRemoteNotifications_hRpcHandle; +static int hf_iremotewinspool_winspool_AsyncGetRemoteNotifications_ppNotifyData; +static int hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_dwFlags; +static int hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszDriverName; +static int hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszEnvironment; +static int hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszInfPath; +static int hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszServer; +static int hf_iremotewinspool_winspool_AsyncLogJobInfoForBranchOffice_hPrinter; +static int hf_iremotewinspool_winspool_AsyncLogJobInfoForBranchOffice_pBranchOfficeJobDataContainer; +static int hf_iremotewinspool_winspool_AsyncOpenPrinter_AccessRequired; +static int hf_iremotewinspool_winspool_AsyncOpenPrinter_pClientInfo; +static int hf_iremotewinspool_winspool_AsyncOpenPrinter_pDatatype; +static int hf_iremotewinspool_winspool_AsyncOpenPrinter_pDevModeContainer; +static int hf_iremotewinspool_winspool_AsyncOpenPrinter_pHandle; +static int hf_iremotewinspool_winspool_AsyncOpenPrinter_pPrinterName; +static int hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_cIn; +static int hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_cOut; +static int hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_hPrinterIC; +static int hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn; +static int hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut; +static int hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_ul; +static int hf_iremotewinspool_winspool_AsyncReadPrinter_cbBuf; +static int hf_iremotewinspool_winspool_AsyncReadPrinter_hPrinter; +static int hf_iremotewinspool_winspool_AsyncReadPrinter_pBuf; +static int hf_iremotewinspool_winspool_AsyncReadPrinter_pcNoBytesRead; +static int hf_iremotewinspool_winspool_AsyncResetPrinter_hPrinter; +static int hf_iremotewinspool_winspool_AsyncResetPrinter_pDatatype; +static int hf_iremotewinspool_winspool_AsyncResetPrinter_pDevModeContainer; +static int hf_iremotewinspool_winspool_AsyncScheduleJob_JobId; +static int hf_iremotewinspool_winspool_AsyncScheduleJob_hPrinter; +static int hf_iremotewinspool_winspool_AsyncSendRecvBidiData_hPrinter; +static int hf_iremotewinspool_winspool_AsyncSendRecvBidiData_pAction; +static int hf_iremotewinspool_winspool_AsyncSendRecvBidiData_pReqData; +static int hf_iremotewinspool_winspool_AsyncSendRecvBidiData_ppRespData; +static int hf_iremotewinspool_winspool_AsyncSetForm_hPrinter; +static int hf_iremotewinspool_winspool_AsyncSetForm_pFormInfoContainer; +static int hf_iremotewinspool_winspool_AsyncSetForm_pFormName; +static int hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_JobId; +static int hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_hPrinter; +static int hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_pProperty; +static int hf_iremotewinspool_winspool_AsyncSetJob_Command; +static int hf_iremotewinspool_winspool_AsyncSetJob_JobId; +static int hf_iremotewinspool_winspool_AsyncSetJob_hPrinter; +static int hf_iremotewinspool_winspool_AsyncSetJob_pJobContainer; +static int hf_iremotewinspool_winspool_AsyncSetPort_pName; +static int hf_iremotewinspool_winspool_AsyncSetPort_pPortContainer; +static int hf_iremotewinspool_winspool_AsyncSetPort_pPortName; +static int hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_Type; +static int hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_cbData; +static int hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_hPrinter; +static int hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pData; +static int hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pKeyName; +static int hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pValueName; +static int hf_iremotewinspool_winspool_AsyncSetPrinterData_Type; +static int hf_iremotewinspool_winspool_AsyncSetPrinterData_cbData; +static int hf_iremotewinspool_winspool_AsyncSetPrinterData_hPrinter; +static int hf_iremotewinspool_winspool_AsyncSetPrinterData_pData; +static int hf_iremotewinspool_winspool_AsyncSetPrinterData_pValueName; +static int hf_iremotewinspool_winspool_AsyncSetPrinter_Command; +static int hf_iremotewinspool_winspool_AsyncSetPrinter_hPrinter; +static int hf_iremotewinspool_winspool_AsyncSetPrinter_pDevModeContainer; +static int hf_iremotewinspool_winspool_AsyncSetPrinter_pPrinterContainer; +static int hf_iremotewinspool_winspool_AsyncSetPrinter_pSecurityContainer; +static int hf_iremotewinspool_winspool_AsyncStartDocPrinter_hPrinter; +static int hf_iremotewinspool_winspool_AsyncStartDocPrinter_pDocInfoContainer; +static int hf_iremotewinspool_winspool_AsyncStartDocPrinter_pJobId; +static int hf_iremotewinspool_winspool_AsyncStartPagePrinter_hPrinter; +static int hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_dwFlags; +static int hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pcchDestInfPath; +static int hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath; +static int hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszEnvironment; +static int hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszInfPath; +static int hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszServer; +static int hf_iremotewinspool_winspool_AsyncWritePrinter_cbBuf; +static int hf_iremotewinspool_winspool_AsyncWritePrinter_hPrinter; +static int hf_iremotewinspool_winspool_AsyncWritePrinter_pBuf; +static int hf_iremotewinspool_winspool_AsyncWritePrinter_pcWritten; +static int hf_iremotewinspool_winspool_AsyncXcvData_cbInputData; +static int hf_iremotewinspool_winspool_AsyncXcvData_cbOutputData; +static int hf_iremotewinspool_winspool_AsyncXcvData_hXcv; +static int hf_iremotewinspool_winspool_AsyncXcvData_pInputData; +static int hf_iremotewinspool_winspool_AsyncXcvData_pOutputData; +static int hf_iremotewinspool_winspool_AsyncXcvData_pcbOutputNeeded; +static int hf_iremotewinspool_winspool_AsyncXcvData_pdwStatus; +static int hf_iremotewinspool_winspool_AsyncXcvData_pszDataName; +static int hf_iremotewinspool_winspool_InstallPrinterDriverFromPackageFlags_IPDFP_COPY_ALL_FILES; +static int hf_iremotewinspool_winspool_NOTIFY_OPTIONS_CONTAINER_pOptions; +static int hf_iremotewinspool_winspool_NOTIFY_REPLY_CONTAINER_pInfo; +static int hf_iremotewinspool_winspool_PrintNamedProperty_propertyName; +static int hf_iremotewinspool_winspool_PrintNamedProperty_propertyValue; +static int hf_iremotewinspool_winspool_PrintPropertiesCollection_numberOfProperties; +static int hf_iremotewinspool_winspool_PrintPropertiesCollection_propertiesCollection; +static int hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyByte; +static int hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyDevModeContainer; +static int hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyInt32; +static int hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyInt64; +static int hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyOptionsContainer; +static int hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyReplyContainer; +static int hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertySDContainer; +static int hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyString; +static int hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyTimeContainer; +static int hf_iremotewinspool_winspool_PrintPropertyValue_PropertyType; +static int hf_iremotewinspool_winspool_PrintPropertyValue_value; +static int hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_hRpcHandle; +static int hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_pNotifyFilter; +static int hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_ppNotifyData; +static int hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_hPrinter; +static int hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_pNotifyFilter; +static int hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_phRpcHandle; +static int hf_iremotewinspool_winspool_SyncUnRegisterForRemoteNotifications_phRpcHandle; +static int hf_iremotewinspool_winspool_UploadPrinterDriverPackageFlags_UPDP_CHECK_DRIVERSTORE; +static int hf_iremotewinspool_winspool_UploadPrinterDriverPackageFlags_UPDP_UPLOAD_ALWAYS; + +static int proto_dcerpc_iremotewinspool; /* Version information */ @@ -387,12 +388,12 @@ static e_guid_t uuid_dcerpc_iremotewinspool = { 0x76f03f96, 0xcdfd, 0x44fc, { 0xa2, 0x2c, 0x64, 0x95, 0x0a, 0x00, 0x12, 0x09 } }; -static guint16 ver_dcerpc_iremotewinspool = 1; +static uint16_t ver_dcerpc_iremotewinspool = 1; -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); +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_); +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_); +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_); +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_); const value_string iremotewinspool_winspool_PrintPropertyType_vals[] = { { winspool_PropertyTypeString, "winspool_PropertyTypeString" }, { winspool_PropertyTypeInt32, "winspool_PropertyTypeInt32" }, @@ -405,25 +406,25 @@ const value_string iremotewinspool_winspool_PrintPropertyType_vals[] = { { winspool_PropertyTypeNotificationOptions, "winspool_PropertyTypeNotificationOptions" }, { 0, NULL } }; -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_, guint1632 *PropertyType); -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_, guint8 *drep _U_, guint1632 *PropertyType); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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); +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); +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_); +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_); +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_); +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_); +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_); +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_); +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_); static const true_false_string winspool_InstallPrinterDriverFromPackageFlags_IPDFP_COPY_ALL_FILES_tfs = { "IPDFP_COPY_ALL_FILES is SET", "IPDFP_COPY_ALL_FILES is NOT SET", @@ -436,573 +437,573 @@ static const true_false_string winspool_UploadPrinterDriverPackageFlags_UPDP_CHE "UPDP_CHECK_DRIVERSTORE is SET", "UPDP_CHECK_DRIVERSTORE is NOT SET", }; -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); -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_, guint8 *drep _U_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); +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_); #include "packet-smb.h" #include "packet-smb-browse.h" extern struct access_mask_info spoolss_printer_access_mask_info; static int -iremotewinspool_dissect_sec_desc_buf(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, guint8 *drep) +iremotewinspool_dissect_sec_desc_buf(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, uint8_t *drep) { - guint32 len; + uint32_t len; if(di->conformant_run){ /*just a run to handle conformant arrays, nothing to dissect */ return offset; @@ -1010,7 +1011,7 @@ iremotewinspool_dissect_sec_desc_buf(tvbuff_t *tvb, int offset, packet_info *pin offset = dissect_ndr_uint32 (tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_sec_desc_buf_len, &len); dissect_nt_sec_desc( - tvb, offset, pinfo, tree, drep, TRUE, len, + tvb, offset, pinfo, tree, drep, true, len, &spoolss_printer_access_mask_info); offset += len; return offset; @@ -1022,7 +1023,7 @@ iremotewinspool_dissect_sec_desc_buf(tvbuff_t *tvb, int offset, packet_info *pin /* IDL: } */ 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_, guint8 *drep _U_) +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_) { 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,7 +1031,7 @@ iremotewinspool_dissect_element_winspool_NOTIFY_REPLY_CONTAINER_pInfo(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { offset = dissect_NOTIFY_INFO(tvb, offset, pinfo, tree, di, drep); @@ -1038,7 +1039,7 @@ iremotewinspool_dissect_element_winspool_NOTIFY_REPLY_CONTAINER_pInfo_(tvbuff_t } int -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_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_) +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_) { proto_item *item = NULL; proto_tree *tree = NULL; @@ -1072,7 +1073,7 @@ iremotewinspool_dissect_struct_winspool_NOTIFY_REPLY_CONTAINER(tvbuff_t *tvb _U_ /* IDL: } */ 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_, guint8 *drep _U_) +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_) { 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,7 +1081,7 @@ iremotewinspool_dissect_element_winspool_NOTIFY_OPTIONS_CONTAINER_pOptions(tvbuf } 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_, guint8 *drep _U_) +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_) { offset = dissect_NOTIFY_OPTIONS_ARRAY_CTR(tvb, offset, pinfo, tree, di, drep); @@ -1088,7 +1089,7 @@ iremotewinspool_dissect_element_winspool_NOTIFY_OPTIONS_CONTAINER_pOptions_(tvbu } int -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_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_) +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_) { proto_item *item = NULL; proto_tree *tree = NULL; @@ -1130,9 +1131,9 @@ iremotewinspool_dissect_struct_winspool_NOTIFY_OPTIONS_CONTAINER(tvbuff_t *tvb _ /* IDL: } */ int -iremotewinspool_dissect_enum_winspool_PrintPropertyType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint1632 *param _U_) +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_) { - guint1632 parameter=0; + uint32_t parameter=0; if (param) { parameter = *param; } @@ -1157,7 +1158,7 @@ iremotewinspool_dissect_enum_winspool_PrintPropertyType(tvbuff_t *tvb _U_, int o /* IDL: } */ 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_, guint8 *drep _U_) +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_) { 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,18 +1166,18 @@ iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyString( } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyString, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyString, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyInt32, 0); @@ -1184,7 +1185,7 @@ iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyInt32(t } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyInt64, NULL); @@ -1192,7 +1193,7 @@ iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyInt64(t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyByte, 0); @@ -1200,7 +1201,7 @@ iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyByte(tv } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep); @@ -1208,7 +1209,7 @@ iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyTimeCon } 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_, guint8 *drep _U_) +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_) { offset = dissect_DEVMODE_CTR(tvb, offset, pinfo, tree, di, drep); @@ -1216,7 +1217,7 @@ iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyDevMode } 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_, guint8 *drep _U_) +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_) { offset = iremotewinspool_dissect_sec_desc_buf(tvb, offset, pinfo, tree, di, drep); @@ -1224,7 +1225,7 @@ iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertySDConta } 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_, guint8 *drep _U_) +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_) { offset = iremotewinspool_dissect_struct_winspool_NOTIFY_REPLY_CONTAINER(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyReplyContainer,0); @@ -1232,7 +1233,7 @@ iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyReplyCo } 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_, guint8 *drep _U_) +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_) { offset = iremotewinspool_dissect_struct_winspool_NOTIFY_OPTIONS_CONTAINER(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_PrintPropertyValueUnion_propertyOptionsContainer,0); @@ -1240,12 +1241,12 @@ iremotewinspool_dissect_element_winspool_PrintPropertyValueUnion_propertyOptions } static int -iremotewinspool_dissect_winspool_PrintPropertyValueUnion(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_) +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_) { proto_item *item = NULL; proto_tree *tree = NULL; int old_offset; - guint1632 level; + uint32_t level; old_offset = offset; if (parent_tree) { @@ -1304,7 +1305,7 @@ iremotewinspool_dissect_winspool_PrintPropertyValueUnion(tvbuff_t *tvb _U_, int /* IDL: } */ 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_, guint8 *drep _U_, guint1632 *PropertyType) +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) { offset = iremotewinspool_dissect_enum_winspool_PrintPropertyType(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_PrintPropertyValue_PropertyType, PropertyType); @@ -1312,7 +1313,7 @@ iremotewinspool_dissect_element_winspool_PrintPropertyValue_PropertyType(tvbuff_ } 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_, guint8 *drep _U_, guint1632 *PropertyType) +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) { offset = iremotewinspool_dissect_winspool_PrintPropertyValueUnion(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_PrintPropertyValue_value, *PropertyType); @@ -1320,9 +1321,9 @@ iremotewinspool_dissect_element_winspool_PrintPropertyValue_value(tvbuff_t *tvb } int -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_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_) +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_) { - guint1632 PropertyType = 0; + uint32_t PropertyType = 0; proto_item *item = NULL; proto_tree *tree = NULL; int old_offset; @@ -1358,7 +1359,7 @@ iremotewinspool_dissect_struct_winspool_PrintPropertyValue(tvbuff_t *tvb _U_, in /* IDL: } */ 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_, guint8 *drep _U_) +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_) { 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,18 +1367,18 @@ iremotewinspool_dissect_element_winspool_PrintNamedProperty_propertyName(tvbuff_ } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_PrintNamedProperty_propertyName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_PrintNamedProperty_propertyName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { offset = iremotewinspool_dissect_struct_winspool_PrintPropertyValue(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_PrintNamedProperty_propertyValue,0); @@ -1385,7 +1386,7 @@ iremotewinspool_dissect_element_winspool_PrintNamedProperty_propertyValue(tvbuff } int -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_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_) +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_) { proto_item *item = NULL; proto_tree *tree = NULL; @@ -1422,7 +1423,7 @@ iremotewinspool_dissect_struct_winspool_PrintNamedProperty(tvbuff_t *tvb _U_, in /* IDL: } */ 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_PrintPropertiesCollection_numberOfProperties, 0); @@ -1430,7 +1431,7 @@ iremotewinspool_dissect_element_winspool_PrintPropertiesCollection_numberOfPrope } 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_, guint8 *drep _U_) +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_) { 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,7 +1439,7 @@ iremotewinspool_dissect_element_winspool_PrintPropertiesCollection_propertiesCol } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_PrintPropertiesCollection_propertiesCollection__); @@ -1446,7 +1447,7 @@ iremotewinspool_dissect_element_winspool_PrintPropertiesCollection_propertiesCol } 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_, guint8 *drep _U_) +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_) { offset = iremotewinspool_dissect_struct_winspool_PrintNamedProperty(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_PrintPropertiesCollection_propertiesCollection,0); @@ -1454,7 +1455,7 @@ iremotewinspool_dissect_element_winspool_PrintPropertiesCollection_propertiesCol } int -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_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_) +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_) { proto_item *item = NULL; proto_tree *tree = NULL; @@ -1491,14 +1492,14 @@ iremotewinspool_dissect_struct_winspool_PrintPropertiesCollection(tvbuff_t *tvb /* IDL: } */ int -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_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_) +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_) { proto_item *item; static int * const iremotewinspool_winspool_InstallPrinterDriverFromPackageFlags_fields[] = { &hf_iremotewinspool_winspool_InstallPrinterDriverFromPackageFlags_IPDFP_COPY_ALL_FILES, NULL }; - guint32 flags; + uint32_t flags; ALIGN_TO_4_BYTES; item = proto_tree_add_bitmask_with_flags(parent_tree, tvb, offset, hf_index, @@ -1525,7 +1526,7 @@ iremotewinspool_dissect_bitmap_winspool_InstallPrinterDriverFromPackageFlags(tvb /* IDL: } */ int -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_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_) +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_) { proto_item *item; static int * const iremotewinspool_winspool_UploadPrinterDriverPackageFlags_fields[] = { @@ -1533,7 +1534,7 @@ iremotewinspool_dissect_bitmap_winspool_UploadPrinterDriverPackageFlags(tvbuff_t &hf_iremotewinspool_winspool_UploadPrinterDriverPackageFlags_UPDP_CHECK_DRIVERSTORE, NULL }; - guint32 flags; + uint32_t flags; ALIGN_TO_4_BYTES; item = proto_tree_add_bitmask_with_flags(parent_tree, tvb, offset, hf_index, @@ -1553,7 +1554,7 @@ iremotewinspool_dissect_bitmap_winspool_UploadPrinterDriverPackageFlags(tvbuff_t } 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_, guint8 *drep _U_) +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_) { 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,18 +1562,18 @@ iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pPrinterName(tvbuff_t } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncOpenPrinter_pPrinterName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncOpenPrinter_pPrinterName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,7 +1581,7 @@ iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pHandle(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncOpenPrinter_pHandle, 0); @@ -1588,7 +1589,7 @@ iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pHandle_(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { 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,18 +1597,18 @@ iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pDatatype(tvbuff_t *tv } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncOpenPrinter_pDatatype, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncOpenPrinter_pDatatype, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,7 +1616,7 @@ iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pDevModeContainer(tvbu } 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_, guint8 *drep _U_) +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_) { offset = dissect_DEVMODE_CTR(tvb, offset, pinfo, tree, di, drep); @@ -1623,7 +1624,7 @@ iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pDevModeContainer_(tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncOpenPrinter_AccessRequired, 0); @@ -1631,7 +1632,7 @@ iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_AccessRequired(tvbuff_ } 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_, guint8 *drep _U_) +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_) { 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,7 +1640,7 @@ iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pClientInfo(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { offset = dissect_USER_LEVEL_CTR(tvb, offset, pinfo, tree, di, drep); @@ -1656,9 +1657,9 @@ iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pClientInfo_(tvbuff_t /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncOpenPrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncOpenPrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pHandle(tvb, offset, pinfo, tree, di, drep); @@ -1667,13 +1668,13 @@ iremotewinspool_dissect_winspool_AsyncOpenPrinter_response(tvbuff_t *tvb _U_, in offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncOpenPrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncOpenPrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncOpenPrinter_pPrinterName(tvb, offset, pinfo, tree, di, drep); @@ -1690,7 +1691,7 @@ iremotewinspool_dissect_winspool_AsyncOpenPrinter_request(tvbuff_t *tvb _U_, int } 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_, guint8 *drep _U_) +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_) { 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,18 +1699,18 @@ iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pName(tvbuff_t *tvb _U_ } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncAddPrinter_pName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPrinter_pName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,7 +1718,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pPrinterContainer(tvbuf } 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_, guint8 *drep _U_) +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_) { offset = dissect_SPOOL_PRINTER_INFO(tvb, offset, pinfo, tree, di, drep); @@ -1725,7 +1726,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pPrinterContainer_(tvbu } 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_, guint8 *drep _U_) +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_) { 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,7 +1734,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pDevModeContainer(tvbuf } 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_, guint8 *drep _U_) +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_) { offset = dissect_DEVMODE_CTR(tvb, offset, pinfo, tree, di, drep); @@ -1741,7 +1742,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pDevModeContainer_(tvbu } 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_, guint8 *drep _U_) +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_) { 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,7 +1750,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pSecurityContainer(tvbu } 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_, guint8 *drep _U_) +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_) { offset = iremotewinspool_dissect_sec_desc_buf(tvb, offset, pinfo, tree, di, drep); @@ -1757,7 +1758,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pSecurityContainer_(tvb } 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_, guint8 *drep _U_) +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_) { 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,7 +1766,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pClientInfo(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { offset = dissect_USER_LEVEL_CTR(tvb, offset, pinfo, tree, di, drep); @@ -1773,7 +1774,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pClientInfo_(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { 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,7 +1782,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pHandle(tvbuff_t *tvb _ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddPrinter_pHandle, 0); @@ -1798,9 +1799,9 @@ iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pHandle_(tvbuff_t *tvb /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncAddPrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncAddPrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pHandle(tvb, offset, pinfo, tree, di, drep); @@ -1809,13 +1810,13 @@ iremotewinspool_dissect_winspool_AsyncAddPrinter_response(tvbuff_t *tvb _U_, int offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncAddPrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncAddPrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinter_pName(tvb, offset, pinfo, tree, di, drep); @@ -1832,7 +1833,7 @@ iremotewinspool_dissect_winspool_AsyncAddPrinter_request(tvbuff_t *tvb _U_, int } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetJob_hPrinter, 0); @@ -1840,7 +1841,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetJob_hPrinter(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetJob_JobId, 0); @@ -1848,7 +1849,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetJob_JobId(tvbuff_t *tvb _U_, in } 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_, guint8 *drep _U_) +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_) { 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,7 +1857,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetJob_pJobContainer(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep); @@ -1864,7 +1865,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetJob_pJobContainer_(tvbuff_t *tv } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetJob_Command, 0); @@ -1879,21 +1880,21 @@ iremotewinspool_dissect_element_winspool_AsyncSetJob_Command(tvbuff_t *tvb _U_, /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncSetJob_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncSetJob"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncSetJob_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncSetJob"; offset = iremotewinspool_dissect_element_winspool_AsyncSetJob_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -1908,7 +1909,7 @@ iremotewinspool_dissect_winspool_AsyncSetJob_request(tvbuff_t *tvb _U_, int offs } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJob_hPrinter, 0); @@ -1916,7 +1917,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetJob_hPrinter(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJob_JobId, 0); @@ -1924,7 +1925,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetJob_JobId(tvbuff_t *tvb _U_, in } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJob_Level, 0); @@ -1932,7 +1933,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetJob_Level(tvbuff_t *tvb _U_, in } 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_, guint8 *drep _U_) +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_) { 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,7 +1941,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetJob_pJob(tvbuff_t *tvb _U_, int } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetJob_pJob__); @@ -1948,7 +1949,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetJob_pJob_(tvbuff_t *tvb _U_, in } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJob_pJob, 0); @@ -1956,7 +1957,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetJob_pJob__(tvbuff_t *tvb _U_, i } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJob_cbBuf, 0); @@ -1964,7 +1965,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetJob_cbBuf(tvbuff_t *tvb _U_, in } 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_, guint8 *drep _U_) +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_) { 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,7 +1973,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetJob_pcbNeeded(tvbuff_t *tvb _U_ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJob_pcbNeeded, 0); @@ -1989,9 +1990,9 @@ iremotewinspool_dissect_element_winspool_AsyncGetJob_pcbNeeded_(tvbuff_t *tvb _U /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncGetJob_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncGetJob"; offset = iremotewinspool_dissect_element_winspool_AsyncGetJob_pJob(tvb, offset, pinfo, tree, di, drep); @@ -2003,13 +2004,13 @@ iremotewinspool_dissect_winspool_AsyncGetJob_response(tvbuff_t *tvb _U_, int off offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncGetJob_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncGetJob"; offset = iremotewinspool_dissect_element_winspool_AsyncGetJob_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -2026,7 +2027,7 @@ iremotewinspool_dissect_winspool_AsyncGetJob_request(tvbuff_t *tvb _U_, int offs } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_hPrinter, 0); @@ -2034,7 +2035,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumJobs_hPrinter(tvbuff_t *tvb _U } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_FirstJob, 0); @@ -2042,7 +2043,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumJobs_FirstJob(tvbuff_t *tvb _U } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_NoJobs, 0); @@ -2050,7 +2051,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumJobs_NoJobs(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_Level, 0); @@ -2058,7 +2059,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumJobs_Level(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { 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,7 +2067,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pJob(tvbuff_t *tvb _U_, i } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pJob__); @@ -2074,7 +2075,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pJob_(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_pJob, 0); @@ -2082,7 +2083,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pJob__(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_cbBuf, 0); @@ -2090,7 +2091,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumJobs_cbBuf(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { 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,7 +2099,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pcbNeeded(tvbuff_t *tvb _ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_pcbNeeded, 0); @@ -2106,7 +2107,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pcbNeeded_(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { 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,7 +2115,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pcReturned(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobs_pcReturned, 0); @@ -2133,9 +2134,9 @@ iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pcReturned_(tvbuff_t *tvb /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncEnumJobs_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncEnumJobs"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobs_pJob(tvb, offset, pinfo, tree, di, drep); @@ -2150,13 +2151,13 @@ iremotewinspool_dissect_winspool_AsyncEnumJobs_response(tvbuff_t *tvb _U_, int o offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncEnumJobs_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncEnumJobs"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobs_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -2175,7 +2176,7 @@ iremotewinspool_dissect_winspool_AsyncEnumJobs_request(tvbuff_t *tvb _U_, int of } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddJob_hPrinter, 0); @@ -2183,7 +2184,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddJob_hPrinter(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddJob_Level, 0); @@ -2191,7 +2192,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddJob_Level(tvbuff_t *tvb _U_, in } 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_, guint8 *drep _U_) +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_) { 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,7 +2200,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddJob_pAddJob(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncAddJob_pAddJob__); @@ -2207,7 +2208,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddJob_pAddJob_(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddJob_pAddJob, 0); @@ -2215,7 +2216,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddJob_pAddJob__(tvbuff_t *tvb _U_ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddJob_cbBuf, 0); @@ -2223,7 +2224,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddJob_cbBuf(tvbuff_t *tvb _U_, in } 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_, guint8 *drep _U_) +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_) { 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,7 +2232,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddJob_pcbNeeded(tvbuff_t *tvb _U_ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddJob_pcbNeeded, 0); @@ -2247,9 +2248,9 @@ iremotewinspool_dissect_element_winspool_AsyncAddJob_pcbNeeded_(tvbuff_t *tvb _U /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncAddJob_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncAddJob"; offset = iremotewinspool_dissect_element_winspool_AsyncAddJob_pAddJob(tvb, offset, pinfo, tree, di, drep); @@ -2261,13 +2262,13 @@ iremotewinspool_dissect_winspool_AsyncAddJob_response(tvbuff_t *tvb _U_, int off offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncAddJob_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncAddJob"; offset = iremotewinspool_dissect_element_winspool_AsyncAddJob_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -2282,7 +2283,7 @@ iremotewinspool_dissect_winspool_AsyncAddJob_request(tvbuff_t *tvb _U_, int offs } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncScheduleJob_hPrinter, 0); @@ -2290,7 +2291,7 @@ iremotewinspool_dissect_element_winspool_AsyncScheduleJob_hPrinter(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncScheduleJob_JobId, 0); @@ -2303,21 +2304,21 @@ iremotewinspool_dissect_element_winspool_AsyncScheduleJob_JobId(tvbuff_t *tvb _U /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncScheduleJob_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncScheduleJob"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncScheduleJob_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncScheduleJob"; offset = iremotewinspool_dissect_element_winspool_AsyncScheduleJob_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -2328,7 +2329,7 @@ iremotewinspool_dissect_winspool_AsyncScheduleJob_request(tvbuff_t *tvb _U_, int } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinter_hPrinter, 0); @@ -2340,21 +2341,21 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinter_hPrinter(tvbuff_t *t /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncDeletePrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncDeletePrinter"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncDeletePrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncDeletePrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinter_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -2363,7 +2364,7 @@ iremotewinspool_dissect_winspool_AsyncDeletePrinter_request(tvbuff_t *tvb _U_, i } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinter_hPrinter, 0); @@ -2371,7 +2372,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinter_hPrinter(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { 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,7 +2380,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pPrinterContainer(tvbuf } 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_, guint8 *drep _U_) +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_) { offset = dissect_SPOOL_PRINTER_INFO(tvb, offset, pinfo, tree, di, drep); @@ -2387,7 +2388,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pPrinterContainer_(tvbu } 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_, guint8 *drep _U_) +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_) { 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,7 +2396,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pDevModeContainer(tvbuf } 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_, guint8 *drep _U_) +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_) { offset = dissect_DEVMODE_CTR(tvb, offset, pinfo, tree, di, drep); @@ -2403,7 +2404,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pDevModeContainer_(tvbu } 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_, guint8 *drep _U_) +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_) { 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,7 +2412,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pSecurityContainer(tvbu } 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_, guint8 *drep _U_) +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_) { offset = iremotewinspool_dissect_sec_desc_buf(tvb, offset, pinfo, tree, di, drep); @@ -2419,7 +2420,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinter_pSecurityContainer_(tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinter_Command, 0); @@ -2435,21 +2436,21 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinter_Command(tvbuff_t *tvb _ /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncSetPrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncSetPrinter"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncSetPrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncSetPrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -2466,7 +2467,7 @@ iremotewinspool_dissect_winspool_AsyncSetPrinter_request(tvbuff_t *tvb _U_, int } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinter_hPrinter, 0); @@ -2474,7 +2475,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinter_hPrinter(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinter_Level, 0); @@ -2482,7 +2483,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinter_Level(tvbuff_t *tvb _U_ } 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_, guint8 *drep _U_) +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_) { 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,7 +2491,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pPrinter(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pPrinter__); @@ -2498,7 +2499,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pPrinter_(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinter_pPrinter, 0); @@ -2506,7 +2507,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pPrinter__(tvbuff_t *tv } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinter_cbBuf, 0); @@ -2514,7 +2515,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinter_cbBuf(tvbuff_t *tvb _U_ } 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_, guint8 *drep _U_) +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_) { 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,7 +2523,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pcbNeeded(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinter_pcbNeeded, 0); @@ -2538,9 +2539,9 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pcbNeeded_(tvbuff_t *tv /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncGetPrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncGetPrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinter_pPrinter(tvb, offset, pinfo, tree, di, drep); @@ -2552,13 +2553,13 @@ iremotewinspool_dissect_winspool_AsyncGetPrinter_response(tvbuff_t *tvb _U_, int offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncGetPrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncGetPrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -2573,7 +2574,7 @@ iremotewinspool_dissect_winspool_AsyncGetPrinter_request(tvbuff_t *tvb _U_, int } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncStartDocPrinter_hPrinter, 0); @@ -2581,7 +2582,7 @@ iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_hPrinter(tvbuff_t } 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_, guint8 *drep _U_) +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_) { 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,7 +2590,7 @@ iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_pDocInfoContainer( } 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_, guint8 *drep _U_) +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_) { offset = dissect_spoolss_doc_info_ctr(tvb, offset, pinfo, tree, di, drep); @@ -2597,7 +2598,7 @@ iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_pDocInfoContainer_ } 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_, guint8 *drep _U_) +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_) { 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,7 +2606,7 @@ iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_pJobId(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncStartDocPrinter_pJobId, 0); @@ -2619,9 +2620,9 @@ iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_pJobId_(tvbuff_t * /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncStartDocPrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncStartDocPrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_pJobId(tvb, offset, pinfo, tree, di, drep); @@ -2630,13 +2631,13 @@ iremotewinspool_dissect_winspool_AsyncStartDocPrinter_response(tvbuff_t *tvb _U_ offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncStartDocPrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncStartDocPrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncStartDocPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -2647,7 +2648,7 @@ iremotewinspool_dissect_winspool_AsyncStartDocPrinter_request(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncStartPagePrinter_hPrinter, 0); @@ -2659,21 +2660,21 @@ iremotewinspool_dissect_element_winspool_AsyncStartPagePrinter_hPrinter(tvbuff_t /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncStartPagePrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncStartPagePrinter"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncStartPagePrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncStartPagePrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncStartPagePrinter_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -2682,7 +2683,7 @@ iremotewinspool_dissect_winspool_AsyncStartPagePrinter_request(tvbuff_t *tvb _U_ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncWritePrinter_hPrinter, 0); @@ -2690,7 +2691,7 @@ iremotewinspool_dissect_element_winspool_AsyncWritePrinter_hPrinter(tvbuff_t *tv } 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_, guint8 *drep _U_) +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_) { 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,7 +2699,7 @@ iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pBuf(tvbuff_t *tvb _U } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pBuf__); @@ -2706,7 +2707,7 @@ iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pBuf_(tvbuff_t *tvb _ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncWritePrinter_pBuf, 0); @@ -2714,7 +2715,7 @@ iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pBuf__(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncWritePrinter_cbBuf, 0); @@ -2722,7 +2723,7 @@ iremotewinspool_dissect_element_winspool_AsyncWritePrinter_cbBuf(tvbuff_t *tvb _ } 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_, guint8 *drep _U_) +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_) { 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,7 +2731,7 @@ iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pcWritten(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncWritePrinter_pcWritten, 0); @@ -2745,9 +2746,9 @@ iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pcWritten_(tvbuff_t * /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncWritePrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncWritePrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncWritePrinter_pcWritten(tvb, offset, pinfo, tree, di, drep); @@ -2756,13 +2757,13 @@ iremotewinspool_dissect_winspool_AsyncWritePrinter_response(tvbuff_t *tvb _U_, i offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncWritePrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncWritePrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncWritePrinter_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -2775,7 +2776,7 @@ iremotewinspool_dissect_winspool_AsyncWritePrinter_request(tvbuff_t *tvb _U_, in } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEndPagePrinter_hPrinter, 0); @@ -2787,21 +2788,21 @@ iremotewinspool_dissect_element_winspool_AsyncEndPagePrinter_hPrinter(tvbuff_t * /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncEndPagePrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncEndPagePrinter"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncEndPagePrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncEndPagePrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncEndPagePrinter_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -2810,7 +2811,7 @@ iremotewinspool_dissect_winspool_AsyncEndPagePrinter_request(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEndDocPrinter_hPrinter, 0); @@ -2822,21 +2823,21 @@ iremotewinspool_dissect_element_winspool_AsyncEndDocPrinter_hPrinter(tvbuff_t *t /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncEndDocPrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncEndDocPrinter"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncEndDocPrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncEndDocPrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncEndDocPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -2845,7 +2846,7 @@ iremotewinspool_dissect_winspool_AsyncEndDocPrinter_request(tvbuff_t *tvb _U_, i } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAbortPrinter_hPrinter, 0); @@ -2857,21 +2858,21 @@ iremotewinspool_dissect_element_winspool_AsyncAbortPrinter_hPrinter(tvbuff_t *tv /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncAbortPrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncAbortPrinter"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncAbortPrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncAbortPrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncAbortPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -2880,7 +2881,7 @@ iremotewinspool_dissect_winspool_AsyncAbortPrinter_request(tvbuff_t *tvb _U_, in } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterData_hPrinter, 0); @@ -2888,7 +2889,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_hPrinter(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { 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,18 +2897,18 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pValueName(tvbuff_t } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncGetPrinterData_pValueName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterData_pValueName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,7 +2916,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pType(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterData_pType, 0); @@ -2923,7 +2924,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pType_(tvbuff_t *tv } 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_, guint8 *drep _U_) +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_) { 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,7 +2932,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pData(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pData__); @@ -2939,7 +2940,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pData_(tvbuff_t *tv } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterData_pData, 0); @@ -2947,7 +2948,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pData__(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterData_nSize, 0); @@ -2955,7 +2956,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_nSize(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { 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,7 +2964,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pcbNeeded(tvbuff_t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterData_pcbNeeded, 0); @@ -2980,9 +2981,9 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pcbNeeded_(tvbuff_t /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncGetPrinterData_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncGetPrinterData"; offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_pType(tvb, offset, pinfo, tree, di, drep); @@ -2997,13 +2998,13 @@ iremotewinspool_dissect_winspool_AsyncGetPrinterData_response(tvbuff_t *tvb _U_, offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncGetPrinterData_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncGetPrinterData"; offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterData_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -3016,7 +3017,7 @@ iremotewinspool_dissect_winspool_AsyncGetPrinterData_request(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_hPrinter, 0); @@ -3024,7 +3025,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_hPrinter(tvbuff_t } 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_, guint8 *drep _U_) +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_) { 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,18 +3033,18 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pKeyName(tvbuff_t } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pKeyName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pKeyName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +3052,18 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pValueName(tvbuff } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pValueName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pValueName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,7 +3071,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pType(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pType, 0); @@ -3078,7 +3079,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pType_(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { 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,7 +3087,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pData(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pData__); @@ -3094,7 +3095,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pData_(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pData, 0); @@ -3102,7 +3103,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pData__(tvbuff_t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_nSize, 0); @@ -3110,7 +3111,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_nSize(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { 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,7 +3119,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pcbNeeded(tvbuff_ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDataEx_pcbNeeded, 0); @@ -3136,9 +3137,9 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pcbNeeded_(tvbuff /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncGetPrinterDataEx_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncGetPrinterDataEx"; offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_pType(tvb, offset, pinfo, tree, di, drep); @@ -3153,13 +3154,13 @@ iremotewinspool_dissect_winspool_AsyncGetPrinterDataEx_response(tvbuff_t *tvb _U offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncGetPrinterDataEx_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncGetPrinterDataEx"; offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDataEx_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -3174,7 +3175,7 @@ iremotewinspool_dissect_winspool_AsyncGetPrinterDataEx_request(tvbuff_t *tvb _U_ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterData_hPrinter, 0); @@ -3182,7 +3183,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_hPrinter(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { 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,18 +3191,18 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pValueName(tvbuff_t } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncSetPrinterData_pValueName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSetPrinterData_pValueName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterData_Type, 0); @@ -3209,7 +3210,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_Type(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { 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,7 +3218,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pData(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pData__); @@ -3225,7 +3226,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pData_(tvbuff_t *tv } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterData_pData, 0); @@ -3233,7 +3234,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_pData__(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterData_cbData, 0); @@ -3249,21 +3250,21 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_cbData(tvbuff_t *tv /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncSetPrinterData_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncSetPrinterData"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncSetPrinterData_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncSetPrinterData"; offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterData_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -3280,7 +3281,7 @@ iremotewinspool_dissect_winspool_AsyncSetPrinterData_request(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_hPrinter, 0); @@ -3288,7 +3289,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_hPrinter(tvbuff_t } 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_, guint8 *drep _U_) +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_) { 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,18 +3297,18 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pKeyName(tvbuff_t } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pKeyName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pKeyName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +3316,18 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pValueName(tvbuff } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pValueName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pValueName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_Type, 0); @@ -3334,7 +3335,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_Type(tvbuff_t *tv } 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_, guint8 *drep _U_) +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_) { 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,7 +3343,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pData(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pData__); @@ -3350,7 +3351,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pData_(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_pData, 0); @@ -3358,7 +3359,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_pData__(tvbuff_t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetPrinterDataEx_cbData, 0); @@ -3375,21 +3376,21 @@ iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_cbData(tvbuff_t * /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncSetPrinterDataEx_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncSetPrinterDataEx"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncSetPrinterDataEx_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncSetPrinterDataEx"; offset = iremotewinspool_dissect_element_winspool_AsyncSetPrinterDataEx_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -3408,7 +3409,7 @@ iremotewinspool_dissect_winspool_AsyncSetPrinterDataEx_request(tvbuff_t *tvb _U_ } 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_, guint8 *drep _U_) +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_) { 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,7 +3417,7 @@ iremotewinspool_dissect_element_winspool_AsyncClosePrinter_phPrinter(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncClosePrinter_phPrinter, 0); @@ -3428,9 +3429,9 @@ iremotewinspool_dissect_element_winspool_AsyncClosePrinter_phPrinter_(tvbuff_t * /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncClosePrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncClosePrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncClosePrinter_phPrinter(tvb, offset, pinfo, tree, di, drep); @@ -3439,13 +3440,13 @@ iremotewinspool_dissect_winspool_AsyncClosePrinter_response(tvbuff_t *tvb _U_, i offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncClosePrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncClosePrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncClosePrinter_phPrinter(tvb, offset, pinfo, tree, di, drep); @@ -3454,7 +3455,7 @@ iremotewinspool_dissect_winspool_AsyncClosePrinter_request(tvbuff_t *tvb _U_, in } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddForm_hPrinter, 0); @@ -3462,7 +3463,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddForm_hPrinter(tvbuff_t *tvb _U_ } 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_, guint8 *drep _U_) +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_) { 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,7 +3471,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddForm_pFormInfoContainer(tvbuff_ } 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_, guint8 *drep _U_) +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_) { offset = dissect_FORM_CTR(tvb, offset, pinfo, tree, di, drep); @@ -3483,21 +3484,21 @@ iremotewinspool_dissect_element_winspool_AsyncAddForm_pFormInfoContainer_(tvbuff /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncAddForm_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncAddForm"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncAddForm_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncAddForm"; offset = iremotewinspool_dissect_element_winspool_AsyncAddForm_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -3508,7 +3509,7 @@ iremotewinspool_dissect_winspool_AsyncAddForm_request(tvbuff_t *tvb _U_, int off } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeleteForm_hPrinter, 0); @@ -3516,7 +3517,7 @@ iremotewinspool_dissect_element_winspool_AsyncDeleteForm_hPrinter(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { 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,11 +3525,11 @@ iremotewinspool_dissect_element_winspool_AsyncDeleteForm_pFormName(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeleteForm_pFormName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeleteForm_pFormName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; @@ -3540,21 +3541,21 @@ iremotewinspool_dissect_element_winspool_AsyncDeleteForm_pFormName_(tvbuff_t *tv /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncDeleteForm_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncDeleteForm"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncDeleteForm_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncDeleteForm"; offset = iremotewinspool_dissect_element_winspool_AsyncDeleteForm_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -3565,7 +3566,7 @@ iremotewinspool_dissect_winspool_AsyncDeleteForm_request(tvbuff_t *tvb _U_, int } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetForm_hPrinter, 0); @@ -3573,7 +3574,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetForm_hPrinter(tvbuff_t *tvb _U_ } 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_, guint8 *drep _U_) +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_) { 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,18 +3582,18 @@ iremotewinspool_dissect_element_winspool_AsyncGetForm_pFormName(tvbuff_t *tvb _U } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncGetForm_pFormName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetForm_pFormName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetForm_Level, 0); @@ -3600,7 +3601,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetForm_Level(tvbuff_t *tvb _U_, i } 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_, guint8 *drep _U_) +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_) { 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,7 +3609,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetForm_pForm(tvbuff_t *tvb _U_, i } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetForm_pForm__); @@ -3616,7 +3617,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetForm_pForm_(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetForm_pForm, 0); @@ -3624,7 +3625,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetForm_pForm__(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetForm_cbBuf, 0); @@ -3632,7 +3633,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetForm_cbBuf(tvbuff_t *tvb _U_, i } 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_, guint8 *drep _U_) +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_) { 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,7 +3641,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetForm_pcbNeeded(tvbuff_t *tvb _U } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetForm_pcbNeeded, 0); @@ -3657,9 +3658,9 @@ iremotewinspool_dissect_element_winspool_AsyncGetForm_pcbNeeded_(tvbuff_t *tvb _ /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncGetForm_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncGetForm"; offset = iremotewinspool_dissect_element_winspool_AsyncGetForm_pForm(tvb, offset, pinfo, tree, di, drep); @@ -3671,13 +3672,13 @@ iremotewinspool_dissect_winspool_AsyncGetForm_response(tvbuff_t *tvb _U_, int of offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncGetForm_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncGetForm"; offset = iremotewinspool_dissect_element_winspool_AsyncGetForm_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -3694,7 +3695,7 @@ iremotewinspool_dissect_winspool_AsyncGetForm_request(tvbuff_t *tvb _U_, int off } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetForm_hPrinter, 0); @@ -3702,7 +3703,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetForm_hPrinter(tvbuff_t *tvb _U_ } 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_, guint8 *drep _U_) +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_) { 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,18 +3711,18 @@ iremotewinspool_dissect_element_winspool_AsyncSetForm_pFormName(tvbuff_t *tvb _U } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncSetForm_pFormName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSetForm_pFormName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,7 +3730,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetForm_pFormInfoContainer(tvbuff_ } 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_, guint8 *drep _U_) +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_) { offset = dissect_FORM_CTR(tvb, offset, pinfo, tree, di, drep); @@ -3743,21 +3744,21 @@ iremotewinspool_dissect_element_winspool_AsyncSetForm_pFormInfoContainer_(tvbuff /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncSetForm_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncSetForm"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncSetForm_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncSetForm"; offset = iremotewinspool_dissect_element_winspool_AsyncSetForm_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -3770,7 +3771,7 @@ iremotewinspool_dissect_winspool_AsyncSetForm_request(tvbuff_t *tvb _U_, int off } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumForms_hPrinter, 0); @@ -3778,7 +3779,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumForms_hPrinter(tvbuff_t *tvb _ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumForms_Level, 0); @@ -3786,7 +3787,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumForms_Level(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { 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,7 +3795,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumForms_pForm(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumForms_pForm__); @@ -3802,7 +3803,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumForms_pForm_(tvbuff_t *tvb _U_ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumForms_pForm, 0); @@ -3810,7 +3811,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumForms_pForm__(tvbuff_t *tvb _U } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumForms_cbBuf, 0); @@ -3818,7 +3819,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumForms_cbBuf(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { 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,7 +3827,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumForms_pcbNeeded(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumForms_pcbNeeded, 0); @@ -3834,7 +3835,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumForms_pcbNeeded_(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { 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,7 +3843,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumForms_pcReturned(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumForms_pcReturned, 0); @@ -3859,9 +3860,9 @@ iremotewinspool_dissect_element_winspool_AsyncEnumForms_pcReturned_(tvbuff_t *tv /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncEnumForms_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncEnumForms"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumForms_pForm(tvb, offset, pinfo, tree, di, drep); @@ -3876,13 +3877,13 @@ iremotewinspool_dissect_winspool_AsyncEnumForms_response(tvbuff_t *tvb _U_, int offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncEnumForms_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncEnumForms"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumForms_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -3897,7 +3898,7 @@ iremotewinspool_dissect_winspool_AsyncEnumForms_request(tvbuff_t *tvb _U_, int o } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_hPrinter, 0); @@ -3905,7 +3906,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_hPrinter(tvbuff_t } 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_, guint8 *drep _U_) +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_) { 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,18 +3914,18 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pEnvironment(tvbu } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pEnvironment, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pEnvironment, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_Level, 0); @@ -3932,7 +3933,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_Level(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { 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,7 +3941,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pDriver(tvbuff_t } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pDriver__); @@ -3948,7 +3949,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pDriver_(tvbuff_t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pDriver, 0); @@ -3956,7 +3957,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pDriver__(tvbuff_ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_cbBuf, 0); @@ -3964,7 +3965,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_cbBuf(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { 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,7 +3973,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pcbNeeded(tvbuff_ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pcbNeeded, 0); @@ -3980,7 +3981,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pcbNeeded_(tvbuff } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_dwClientMajorVersion, 0); @@ -3988,7 +3989,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_dwClientMajorVers } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_dwClientMinorVersion, 0); @@ -3996,7 +3997,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_dwClientMinorVers } 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_, guint8 *drep _U_) +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_) { 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,7 +4005,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pdwServerMaxVersi } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pdwServerMaxVersion, 0); @@ -4012,7 +4013,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pdwServerMaxVersi } 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_, guint8 *drep _U_) +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_) { 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,7 +4021,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pdwServerMinVersi } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriver_pdwServerMinVersion, 0); @@ -4041,9 +4042,9 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pdwServerMinVersi /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncGetPrinterDriver_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncGetPrinterDriver"; offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_pDriver(tvb, offset, pinfo, tree, di, drep); @@ -4061,13 +4062,13 @@ iremotewinspool_dissect_winspool_AsyncGetPrinterDriver_response(tvbuff_t *tvb _U offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncGetPrinterDriver_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncGetPrinterDriver"; offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriver_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -4088,7 +4089,7 @@ iremotewinspool_dissect_winspool_AsyncGetPrinterDriver_request(tvbuff_t *tvb _U_ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_hPrinter, 0); @@ -4096,7 +4097,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_hPrinter(tvbuff_t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_dwIndex, 0); @@ -4104,7 +4105,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_dwIndex(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { 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,7 +4113,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pValueName(tvbuff_ } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pValueName__); @@ -4120,7 +4121,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pValueName_(tvbuff } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_pValueName, 0); @@ -4128,7 +4129,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pValueName__(tvbuf } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_cbValueName, 0); @@ -4136,7 +4137,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_cbValueName(tvbuff } 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_, guint8 *drep _U_) +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_) { 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,7 +4145,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pcbValueName(tvbuf } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_pcbValueName, 0); @@ -4152,7 +4153,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pcbValueName_(tvbu } 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_, guint8 *drep _U_) +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_) { 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,7 +4161,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pType(tvbuff_t *tv } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_pType, 0); @@ -4168,7 +4169,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pType_(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { 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,7 +4177,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pData(tvbuff_t *tv } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pData__); @@ -4184,7 +4185,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pData_(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_pData, 0); @@ -4192,7 +4193,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pData__(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_cbData, 0); @@ -4200,7 +4201,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_cbData(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { 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,7 +4209,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pcbData(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterData_pcbData, 0); @@ -4228,9 +4229,9 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pcbData_(tvbuff_t /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncEnumPrinterData_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncEnumPrinterData"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_pValueName(tvb, offset, pinfo, tree, di, drep); @@ -4251,13 +4252,13 @@ iremotewinspool_dissect_winspool_AsyncEnumPrinterData_response(tvbuff_t *tvb _U_ offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncEnumPrinterData_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncEnumPrinterData"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterData_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -4272,7 +4273,7 @@ iremotewinspool_dissect_winspool_AsyncEnumPrinterData_request(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_hPrinter, 0); @@ -4280,7 +4281,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_hPrinter(tvbuff_ } 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_, guint8 *drep _U_) +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_) { 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,18 +4289,18 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pKeyName(tvbuff_ } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pKeyName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pKeyName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,7 +4308,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pEnumValues(tvbu } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pEnumValues__); @@ -4315,7 +4316,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pEnumValues_(tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pEnumValues, 0); @@ -4323,7 +4324,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pEnumValues__(tv } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_cbEnumValues, 0); @@ -4331,7 +4332,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_cbEnumValues(tvb } 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_, guint8 *drep _U_) +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_) { 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,7 +4340,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pcbEnumValues(tv } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pcbEnumValues, 0); @@ -4347,7 +4348,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pcbEnumValues_(t } 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_, guint8 *drep _U_) +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_) { 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,7 +4356,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pnEnumValues(tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDataEx_pnEnumValues, 0); @@ -4372,9 +4373,9 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pnEnumValues_(tv /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncEnumPrinterDataEx_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncEnumPrinterDataEx"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_pEnumValues(tvb, offset, pinfo, tree, di, drep); @@ -4389,13 +4390,13 @@ iremotewinspool_dissect_winspool_AsyncEnumPrinterDataEx_response(tvbuff_t *tvb _ offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncEnumPrinterDataEx_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncEnumPrinterDataEx"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDataEx_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -4408,7 +4409,7 @@ iremotewinspool_dissect_winspool_AsyncEnumPrinterDataEx_request(tvbuff_t *tvb _U } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterKey_hPrinter, 0); @@ -4416,7 +4417,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_hPrinter(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { 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,18 +4425,18 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pKeyName(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pKeyName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pKeyName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,7 +4444,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pSubkey(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pSubkey__); @@ -4451,7 +4452,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pSubkey_(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pSubkey, 0); @@ -4459,7 +4460,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pSubkey__(tvbuff_t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterKey_cbSubkey, 0); @@ -4467,7 +4468,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_cbSubkey(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { 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,7 +4476,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pcbSubkey(tvbuff_t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterKey_pcbSubkey, 0); @@ -4491,9 +4492,9 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pcbSubkey_(tvbuff_t /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncEnumPrinterKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncEnumPrinterKey"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_pSubkey(tvb, offset, pinfo, tree, di, drep); @@ -4505,13 +4506,13 @@ iremotewinspool_dissect_winspool_AsyncEnumPrinterKey_response(tvbuff_t *tvb _U_, offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncEnumPrinterKey_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncEnumPrinterKey"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterKey_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -4524,7 +4525,7 @@ iremotewinspool_dissect_winspool_AsyncEnumPrinterKey_request(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinterData_hPrinter, 0); @@ -4532,7 +4533,7 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterData_hPrinter(tvbuff_ } 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_, guint8 *drep _U_) +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_) { 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,11 +4541,11 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterData_pValueName(tvbuf } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeletePrinterData_pValueName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterData_pValueName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; @@ -4556,21 +4557,21 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterData_pValueName_(tvbu /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncDeletePrinterData_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncDeletePrinterData"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncDeletePrinterData_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncDeletePrinterData"; offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterData_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -4581,7 +4582,7 @@ iremotewinspool_dissect_winspool_AsyncDeletePrinterData_request(tvbuff_t *tvb _U } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_hPrinter, 0); @@ -4589,7 +4590,7 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_hPrinter(tvbuf } 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_, guint8 *drep _U_) +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_) { 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,18 +4598,18 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_pKeyName(tvbuf } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_pKeyName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_pKeyName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,11 +4617,11 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_pValueName(tvb } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_pValueName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDataEx_pValueName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; @@ -4633,21 +4634,21 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_pValueName_(tv /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncDeletePrinterDataEx_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDataEx"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncDeletePrinterDataEx_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDataEx"; offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDataEx_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -4660,7 +4661,7 @@ iremotewinspool_dissect_winspool_AsyncDeletePrinterDataEx_request(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinterKey_hPrinter, 0); @@ -4668,7 +4669,7 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterKey_hPrinter(tvbuff_t } 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_, guint8 *drep _U_) +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_) { 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,11 +4677,11 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterKey_pKeyName(tvbuff_t } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeletePrinterKey_pKeyName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterKey_pKeyName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; @@ -4692,21 +4693,21 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterKey_pKeyName_(tvbuff_ /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncDeletePrinterKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncDeletePrinterKey"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncDeletePrinterKey_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncDeletePrinterKey"; offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterKey_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -4717,7 +4718,7 @@ iremotewinspool_dissect_winspool_AsyncDeletePrinterKey_request(tvbuff_t *tvb _U_ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_hXcv, 0); @@ -4725,7 +4726,7 @@ iremotewinspool_dissect_element_winspool_AsyncXcvData_hXcv(tvbuff_t *tvb _U_, in } 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_, guint8 *drep _U_) +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_) { 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,18 +4734,18 @@ iremotewinspool_dissect_element_winspool_AsyncXcvData_pszDataName(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncXcvData_pszDataName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncXcvData_pszDataName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,7 +4753,7 @@ iremotewinspool_dissect_element_winspool_AsyncXcvData_pInputData(tvbuff_t *tvb _ } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncXcvData_pInputData__); @@ -4760,7 +4761,7 @@ iremotewinspool_dissect_element_winspool_AsyncXcvData_pInputData_(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_pInputData, 0); @@ -4768,7 +4769,7 @@ iremotewinspool_dissect_element_winspool_AsyncXcvData_pInputData__(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_cbInputData, 0); @@ -4776,7 +4777,7 @@ iremotewinspool_dissect_element_winspool_AsyncXcvData_cbInputData(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { 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,7 +4785,7 @@ iremotewinspool_dissect_element_winspool_AsyncXcvData_pOutputData(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncXcvData_pOutputData__); @@ -4792,7 +4793,7 @@ iremotewinspool_dissect_element_winspool_AsyncXcvData_pOutputData_(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_pOutputData, 0); @@ -4800,7 +4801,7 @@ iremotewinspool_dissect_element_winspool_AsyncXcvData_pOutputData__(tvbuff_t *tv } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_cbOutputData, 0); @@ -4808,7 +4809,7 @@ iremotewinspool_dissect_element_winspool_AsyncXcvData_cbOutputData(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { 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,7 +4817,7 @@ iremotewinspool_dissect_element_winspool_AsyncXcvData_pcbOutputNeeded(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_pcbOutputNeeded, 0); @@ -4824,7 +4825,7 @@ iremotewinspool_dissect_element_winspool_AsyncXcvData_pcbOutputNeeded_(tvbuff_t } 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_, guint8 *drep _U_) +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_) { 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,7 +4833,7 @@ iremotewinspool_dissect_element_winspool_AsyncXcvData_pdwStatus(tvbuff_t *tvb _U } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncXcvData_pdwStatus, 0); @@ -4851,9 +4852,9 @@ iremotewinspool_dissect_element_winspool_AsyncXcvData_pdwStatus_(tvbuff_t *tvb _ /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncXcvData_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncXcvData"; offset = iremotewinspool_dissect_element_winspool_AsyncXcvData_pOutputData(tvb, offset, pinfo, tree, di, drep); @@ -4868,13 +4869,13 @@ iremotewinspool_dissect_winspool_AsyncXcvData_response(tvbuff_t *tvb _U_, int of offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncXcvData_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncXcvData"; offset = iremotewinspool_dissect_element_winspool_AsyncXcvData_hXcv(tvb, offset, pinfo, tree, di, drep); @@ -4893,7 +4894,7 @@ iremotewinspool_dissect_winspool_AsyncXcvData_request(tvbuff_t *tvb _U_, int off } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSendRecvBidiData_hPrinter, 0); @@ -4901,7 +4902,7 @@ iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_hPrinter(tvbuff_t } 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_, guint8 *drep _U_) +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_) { 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,18 +4910,18 @@ iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_pAction(tvbuff_t } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncSendRecvBidiData_pAction, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSendRecvBidiData_pAction, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,7 +4929,7 @@ iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_pReqData(tvbuff_t } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep); @@ -4936,7 +4937,7 @@ iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_pReqData_(tvbuff_ } 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_, guint8 *drep _U_) +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_) { 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,7 +4945,7 @@ iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_ppRespData(tvbuff } 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_, guint8 *drep _U_) +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_) { 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,7 +4953,7 @@ iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_ppRespData_(tvbuf } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep); @@ -4967,9 +4968,9 @@ iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_ppRespData__(tvbu /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncSendRecvBidiData_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncSendRecvBidiData"; offset = iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_ppRespData(tvb, offset, pinfo, tree, di, drep); @@ -4978,13 +4979,13 @@ iremotewinspool_dissect_winspool_AsyncSendRecvBidiData_response(tvbuff_t *tvb _U offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncSendRecvBidiData_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncSendRecvBidiData"; offset = iremotewinspool_dissect_element_winspool_AsyncSendRecvBidiData_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -4997,7 +4998,7 @@ iremotewinspool_dissect_winspool_AsyncSendRecvBidiData_request(tvbuff_t *tvb _U_ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncCreatePrinterIC_hPrinter, 0); @@ -5005,7 +5006,7 @@ iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_hPrinter(tvbuff_t } 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_, guint8 *drep _U_) +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_) { 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,7 +5014,7 @@ iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_pHandle(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncCreatePrinterIC_pHandle, 0); @@ -5021,7 +5022,7 @@ iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_pHandle_(tvbuff_t } 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_, guint8 *drep _U_) +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_) { 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,7 +5030,7 @@ iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_pDevModeContainer( } 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_, guint8 *drep _U_) +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_) { offset = dissect_DEVMODE_CTR(tvb, offset, pinfo, tree, di, drep); @@ -5043,9 +5044,9 @@ iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_pDevModeContainer_ /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncCreatePrinterIC_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncCreatePrinterIC"; offset = iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_pHandle(tvb, offset, pinfo, tree, di, drep); @@ -5054,13 +5055,13 @@ iremotewinspool_dissect_winspool_AsyncCreatePrinterIC_response(tvbuff_t *tvb _U_ offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncCreatePrinterIC_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncCreatePrinterIC"; offset = iremotewinspool_dissect_element_winspool_AsyncCreatePrinterIC_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -5071,7 +5072,7 @@ iremotewinspool_dissect_winspool_AsyncCreatePrinterIC_request(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_hPrinterIC, 0); @@ -5079,7 +5080,7 @@ iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_hPrinterI } 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_, guint8 *drep _U_) +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_) { 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,7 +5088,7 @@ iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn(tvbuf } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn__); @@ -5095,7 +5096,7 @@ iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn_(tvbu } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn, 0); @@ -5103,7 +5104,7 @@ iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pIn__(tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_cIn, 0); @@ -5111,7 +5112,7 @@ iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_cIn(tvbuf } 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_, guint8 *drep _U_) +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_) { 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,7 +5120,7 @@ iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut(tvbu } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut__); @@ -5127,7 +5128,7 @@ iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut_(tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut, 0); @@ -5135,7 +5136,7 @@ iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut__(tv } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_cOut, 0); @@ -5143,7 +5144,7 @@ iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_cOut(tvbu } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncPlayGdiScriptOnPrinterIC_ul, 0); @@ -5160,9 +5161,9 @@ iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_ul(tvbuff /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncPlayGdiScriptOnPrinterIC_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncPlayGdiScriptOnPrinterIC"; offset = iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_pOut(tvb, offset, pinfo, tree, di, drep); @@ -5171,13 +5172,13 @@ iremotewinspool_dissect_winspool_AsyncPlayGdiScriptOnPrinterIC_response(tvbuff_t offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncPlayGdiScriptOnPrinterIC_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncPlayGdiScriptOnPrinterIC"; offset = iremotewinspool_dissect_element_winspool_AsyncPlayGdiScriptOnPrinterIC_hPrinterIC(tvb, offset, pinfo, tree, di, drep); @@ -5194,7 +5195,7 @@ iremotewinspool_dissect_winspool_AsyncPlayGdiScriptOnPrinterIC_request(tvbuff_t } 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_, guint8 *drep _U_) +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_) { 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,7 +5203,7 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterIC_phPrinterIC(tvbuff } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinterIC_phPrinterIC, 0); @@ -5214,9 +5215,9 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterIC_phPrinterIC_(tvbuf /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncDeletePrinterIC_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncDeletePrinterIC"; offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterIC_phPrinterIC(tvb, offset, pinfo, tree, di, drep); @@ -5225,13 +5226,13 @@ iremotewinspool_dissect_winspool_AsyncDeletePrinterIC_response(tvbuff_t *tvb _U_ offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncDeletePrinterIC_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncDeletePrinterIC"; offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterIC_phPrinterIC(tvb, offset, pinfo, tree, di, drep); @@ -5240,7 +5241,7 @@ iremotewinspool_dissect_winspool_AsyncDeletePrinterIC_request(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinters_Flags, 0); @@ -5248,7 +5249,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_Flags(tvbuff_t *tvb _ } 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_, guint8 *drep _U_) +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_) { 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,18 +5257,18 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pName(tvbuff_t *tvb _ } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncEnumPrinters_pName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrinters_pName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinters_Level, 0); @@ -5275,7 +5276,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_Level(tvbuff_t *tvb _ } 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_, guint8 *drep _U_) +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_) { 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,7 +5284,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pPrinterEnum(tvbuff_t } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pPrinterEnum__); @@ -5291,7 +5292,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pPrinterEnum_(tvbuff_ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinters_pPrinterEnum, 0); @@ -5299,7 +5300,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pPrinterEnum__(tvbuff } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinters_cbBuf, 0); @@ -5307,7 +5308,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_cbBuf(tvbuff_t *tvb _ } 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_, guint8 *drep _U_) +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_) { 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,7 +5316,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pcbNeeded(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinters_pcbNeeded, 0); @@ -5323,7 +5324,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pcbNeeded_(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { 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,7 +5332,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pcReturned(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinters_pcReturned, 0); @@ -5349,9 +5350,9 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pcReturned_(tvbuff_t /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncEnumPrinters_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncEnumPrinters"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_pPrinterEnum(tvb, offset, pinfo, tree, di, drep); @@ -5366,13 +5367,13 @@ iremotewinspool_dissect_winspool_AsyncEnumPrinters_response(tvbuff_t *tvb _U_, i offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncEnumPrinters_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncEnumPrinters"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinters_Flags(tvb, offset, pinfo, tree, di, drep); @@ -5389,7 +5390,7 @@ iremotewinspool_dissect_winspool_AsyncEnumPrinters_request(tvbuff_t *tvb _U_, in } 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_, guint8 *drep _U_) +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_) { 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,18 +5398,18 @@ iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_pName(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncAddPrinterDriver_pName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPrinterDriver_pName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,7 +5417,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_pDriverContainer( } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep); @@ -5424,7 +5425,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_pDriverContainer_ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncAddPrinterDriver_dwFileCopyFlags, 0); @@ -5438,21 +5439,21 @@ iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_dwFileCopyFlags(t /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncAddPrinterDriver_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncAddPrinterDriver"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncAddPrinterDriver_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncAddPrinterDriver"; offset = iremotewinspool_dissect_element_winspool_AsyncAddPrinterDriver_pName(tvb, offset, pinfo, tree, di, drep); @@ -5465,7 +5466,7 @@ iremotewinspool_dissect_winspool_AsyncAddPrinterDriver_request(tvbuff_t *tvb _U_ } 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_, guint8 *drep _U_) +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_) { 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,18 +5474,18 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pName(tvbuff_t } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +5493,18 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pEnvironment(tv } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pEnvironment, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pEnvironment, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_Level, 0); @@ -5511,7 +5512,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_Level(tvbuff_t } 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_, guint8 *drep _U_) +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_) { 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,7 +5520,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pDrivers(tvbuff } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pDrivers__); @@ -5527,7 +5528,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pDrivers_(tvbuf } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pDrivers, 0); @@ -5535,7 +5536,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pDrivers__(tvbu } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_cbBuf, 0); @@ -5543,7 +5544,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_cbBuf(tvbuff_t } 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_, guint8 *drep _U_) +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_) { 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,7 +5552,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pcbNeeded(tvbuf } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pcbNeeded, 0); @@ -5559,7 +5560,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pcbNeeded_(tvbu } 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_, guint8 *drep _U_) +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_) { 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,7 +5568,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pcReturned(tvbu } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrinterDrivers_pcReturned, 0); @@ -5585,9 +5586,9 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pcReturned_(tvb /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncEnumPrinterDrivers_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncEnumPrinterDrivers"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pDrivers(tvb, offset, pinfo, tree, di, drep); @@ -5602,13 +5603,13 @@ iremotewinspool_dissect_winspool_AsyncEnumPrinterDrivers_response(tvbuff_t *tvb offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncEnumPrinterDrivers_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncEnumPrinterDrivers"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrinterDrivers_pName(tvb, offset, pinfo, tree, di, drep); @@ -5625,7 +5626,7 @@ iremotewinspool_dissect_winspool_AsyncEnumPrinterDrivers_request(tvbuff_t *tvb _ } 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_, guint8 *drep _U_) +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_) { 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,18 +5634,18 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pName(tv } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +5653,18 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pEnviron } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pEnvironment, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pEnvironment, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_Level, 0); @@ -5671,7 +5672,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_Level(tv } 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_, guint8 *drep _U_) +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_) { 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,7 +5680,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pDriverD } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory__); @@ -5687,7 +5688,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pDriverD } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory, 0); @@ -5695,7 +5696,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pDriverD } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_cbBuf, 0); @@ -5703,7 +5704,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_cbBuf(tv } 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_, guint8 *drep _U_) +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_) { 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,7 +5712,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pcbNeede } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverDirectory_pcbNeeded, 0); @@ -5728,9 +5729,9 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pcbNeede /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncGetPrinterDriverDirectory_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncGetPrinterDriverDirectory"; offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pDriverDirectory(tvb, offset, pinfo, tree, di, drep); @@ -5742,13 +5743,13 @@ iremotewinspool_dissect_winspool_AsyncGetPrinterDriverDirectory_response(tvbuff_ offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncGetPrinterDriverDirectory_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncGetPrinterDriverDirectory"; offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverDirectory_pName(tvb, offset, pinfo, tree, di, drep); @@ -5765,7 +5766,7 @@ iremotewinspool_dissect_winspool_AsyncGetPrinterDriverDirectory_request(tvbuff_t } 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_, guint8 *drep _U_) +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_) { 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,18 +5774,18 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pName(tvbuff_t } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +5793,18 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pEnvironment(t } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pEnvironment, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pEnvironment, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,11 +5812,11 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pDriverName(tv } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pDriverName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriver_pDriverName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; @@ -5828,21 +5829,21 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pDriverName_(t /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncDeletePrinterDriver_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDriver"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncDeletePrinterDriver_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDriver"; offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriver_pName(tvb, offset, pinfo, tree, di, drep); @@ -5855,7 +5856,7 @@ iremotewinspool_dissect_winspool_AsyncDeletePrinterDriver_request(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { 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,18 +5864,18 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pName(tvbuff } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +5883,18 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pEnvironment } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pEnvironment, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pEnvironment, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +5902,18 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pDriverName( } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pDriverName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_pDriverName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_dwDeleteFlag, 0); @@ -5920,7 +5921,7 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_dwDeleteFlag } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeletePrinterDriverEx_dwVersionNum, 0); @@ -5936,21 +5937,21 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_dwVersionNum /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncDeletePrinterDriverEx_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDriverEx"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncDeletePrinterDriverEx_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDriverEx"; offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverEx_pName(tvb, offset, pinfo, tree, di, drep); @@ -5967,7 +5968,7 @@ iremotewinspool_dissect_winspool_AsyncDeletePrinterDriverEx_request(tvbuff_t *tv } 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_, guint8 *drep _U_) +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_) { 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,18 +5976,18 @@ iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pName(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +5995,18 @@ iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pEnvironment(tvb } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pEnvironment, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pEnvironment, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +6014,18 @@ iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pPathName(tvbuff } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pPathName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pPathName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,11 +6033,11 @@ iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pPrintProcessorN } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pPrintProcessorName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPrintProcessor_pPrintProcessorName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; @@ -6050,21 +6051,21 @@ iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pPrintProcessorN /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncAddPrintProcessor_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncAddPrintProcessor"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncAddPrintProcessor_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncAddPrintProcessor"; offset = iremotewinspool_dissect_element_winspool_AsyncAddPrintProcessor_pName(tvb, offset, pinfo, tree, di, drep); @@ -6079,7 +6080,7 @@ iremotewinspool_dissect_winspool_AsyncAddPrintProcessor_request(tvbuff_t *tvb _U } 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_, guint8 *drep _U_) +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_) { 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,18 +6088,18 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pName(tvbuff_t } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +6107,18 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pEnvironment(t } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pEnvironment, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pEnvironment, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_Level, 0); @@ -6125,7 +6126,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_Level(tvbuff_t } 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_, guint8 *drep _U_) +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_) { 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,7 +6134,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pPrintProcesso } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo__); @@ -6141,7 +6142,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pPrintProcesso } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo, 0); @@ -6149,7 +6150,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pPrintProcesso } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_cbBuf, 0); @@ -6157,7 +6158,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_cbBuf(tvbuff_t } 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_, guint8 *drep _U_) +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_) { 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,7 +6166,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pcbNeeded(tvbu } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pcbNeeded, 0); @@ -6173,7 +6174,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pcbNeeded_(tvb } 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_, guint8 *drep _U_) +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_) { 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,7 +6182,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pcReturned(tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessors_pcReturned, 0); @@ -6199,9 +6200,9 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pcReturned_(tv /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncEnumPrintProcessors_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncEnumPrintProcessors"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pPrintProcessorInfo(tvb, offset, pinfo, tree, di, drep); @@ -6216,13 +6217,13 @@ iremotewinspool_dissect_winspool_AsyncEnumPrintProcessors_response(tvbuff_t *tvb offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncEnumPrintProcessors_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncEnumPrintProcessors"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessors_pName(tvb, offset, pinfo, tree, di, drep); @@ -6239,7 +6240,7 @@ iremotewinspool_dissect_winspool_AsyncEnumPrintProcessors_request(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { 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,18 +6248,18 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pName(t } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +6267,18 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pEnviro } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pEnvironment, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pEnvironment, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_Level, 0); @@ -6285,7 +6286,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_Level(t } 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_, guint8 *drep _U_) +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_) { 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,7 +6294,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pPrintP } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory__); @@ -6301,7 +6302,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pPrintP } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory, 0); @@ -6309,7 +6310,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pPrintP } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_cbBuf, 0); @@ -6317,7 +6318,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_cbBuf(t } 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_, guint8 *drep _U_) +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_) { 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,7 +6326,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pcbNeed } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrintProcessorDirectory_pcbNeeded, 0); @@ -6342,9 +6343,9 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pcbNeed /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncGetPrintProcessorDirectory_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncGetPrintProcessorDirectory"; offset = iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pPrintProcessorDirectory(tvb, offset, pinfo, tree, di, drep); @@ -6356,13 +6357,13 @@ iremotewinspool_dissect_winspool_AsyncGetPrintProcessorDirectory_response(tvbuff offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncGetPrintProcessorDirectory_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncGetPrintProcessorDirectory"; offset = iremotewinspool_dissect_element_winspool_AsyncGetPrintProcessorDirectory_pName(tvb, offset, pinfo, tree, di, drep); @@ -6379,7 +6380,7 @@ iremotewinspool_dissect_winspool_AsyncGetPrintProcessorDirectory_request(tvbuff_ } 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_, guint8 *drep _U_) +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_) { 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,18 +6388,18 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pName(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncEnumPorts_pName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPorts_pName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPorts_Level, 0); @@ -6406,7 +6407,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPorts_Level(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { 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,7 +6415,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pPort(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pPort__); @@ -6422,7 +6423,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pPort_(tvbuff_t *tvb _U_ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPorts_pPort, 0); @@ -6430,7 +6431,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pPort__(tvbuff_t *tvb _U } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPorts_cbBuf, 0); @@ -6438,7 +6439,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPorts_cbBuf(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { 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,7 +6447,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pcbNeeded(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPorts_pcbNeeded, 0); @@ -6454,7 +6455,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pcbNeeded_(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { 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,7 +6463,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pcReturned(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPorts_pcReturned, 0); @@ -6479,9 +6480,9 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pcReturned_(tvbuff_t *tv /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncEnumPorts_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncEnumPorts"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pPort(tvb, offset, pinfo, tree, di, drep); @@ -6496,13 +6497,13 @@ iremotewinspool_dissect_winspool_AsyncEnumPorts_response(tvbuff_t *tvb _U_, int offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncEnumPorts_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncEnumPorts"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumPorts_pName(tvb, offset, pinfo, tree, di, drep); @@ -6517,7 +6518,7 @@ iremotewinspool_dissect_winspool_AsyncEnumPorts_request(tvbuff_t *tvb _U_, int o } 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_, guint8 *drep _U_) +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_) { 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,18 +6526,18 @@ iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pName(tvbuff_t *tvb _ } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncEnumMonitors_pName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumMonitors_pName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumMonitors_Level, 0); @@ -6544,7 +6545,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_Level(tvbuff_t *tvb _ } 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_, guint8 *drep _U_) +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_) { 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,7 +6553,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pMonitor(tvbuff_t *tv } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pMonitor__); @@ -6560,7 +6561,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pMonitor_(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumMonitors_pMonitor, 0); @@ -6568,7 +6569,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pMonitor__(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumMonitors_cbBuf, 0); @@ -6576,7 +6577,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_cbBuf(tvbuff_t *tvb _ } 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_, guint8 *drep _U_) +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_) { 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,7 +6585,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pcbNeeded(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumMonitors_pcbNeeded, 0); @@ -6592,7 +6593,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pcbNeeded_(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { 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,7 +6601,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pcReturned(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumMonitors_pcReturned, 0); @@ -6617,9 +6618,9 @@ iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pcReturned_(tvbuff_t /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncEnumMonitors_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncEnumMonitors"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pMonitor(tvb, offset, pinfo, tree, di, drep); @@ -6634,13 +6635,13 @@ iremotewinspool_dissect_winspool_AsyncEnumMonitors_response(tvbuff_t *tvb _U_, i offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncEnumMonitors_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncEnumMonitors"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumMonitors_pName(tvb, offset, pinfo, tree, di, drep); @@ -6655,7 +6656,7 @@ iremotewinspool_dissect_winspool_AsyncEnumMonitors_request(tvbuff_t *tvb _U_, in } 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_, guint8 *drep _U_) +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_) { 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,18 +6664,18 @@ iremotewinspool_dissect_element_winspool_AsyncAddPort_pName(tvbuff_t *tvb _U_, i } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncAddPort_pName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPort_pName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,7 +6683,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddPort_pPortContainer(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep); @@ -6690,7 +6691,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddPort_pPortContainer_(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { 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,7 +6699,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddPort_pPortVarContainer(tvbuff_t } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep); @@ -6706,7 +6707,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddPort_pPortVarContainer_(tvbuff_ } 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_, guint8 *drep _U_) +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_) { 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,11 +6715,11 @@ iremotewinspool_dissect_element_winspool_AsyncAddPort_pMonitorName(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncAddPort_pMonitorName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPort_pMonitorName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; @@ -6732,21 +6733,21 @@ iremotewinspool_dissect_element_winspool_AsyncAddPort_pMonitorName_(tvbuff_t *tv /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncAddPort_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncAddPort"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncAddPort_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncAddPort"; offset = iremotewinspool_dissect_element_winspool_AsyncAddPort_pName(tvb, offset, pinfo, tree, di, drep); @@ -6761,7 +6762,7 @@ iremotewinspool_dissect_winspool_AsyncAddPort_request(tvbuff_t *tvb _U_, int off } 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_, guint8 *drep _U_) +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_) { 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,18 +6770,18 @@ iremotewinspool_dissect_element_winspool_AsyncSetPort_pName(tvbuff_t *tvb _U_, i } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncSetPort_pName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSetPort_pName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +6789,18 @@ iremotewinspool_dissect_element_winspool_AsyncSetPort_pPortName(tvbuff_t *tvb _U } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncSetPort_pPortName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncSetPort_pPortName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,7 +6808,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetPort_pPortContainer(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep); @@ -6821,21 +6822,21 @@ iremotewinspool_dissect_element_winspool_AsyncSetPort_pPortContainer_(tvbuff_t * /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncSetPort_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncSetPort"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncSetPort_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncSetPort"; offset = iremotewinspool_dissect_element_winspool_AsyncSetPort_pName(tvb, offset, pinfo, tree, di, drep); @@ -6848,7 +6849,7 @@ iremotewinspool_dissect_winspool_AsyncSetPort_request(tvbuff_t *tvb _U_, int off } 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_, guint8 *drep _U_) +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_) { 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,18 +6857,18 @@ iremotewinspool_dissect_element_winspool_AsyncAddMonitor_Name(tvbuff_t *tvb _U_, } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncAddMonitor_Name, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddMonitor_Name, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,7 +6876,7 @@ iremotewinspool_dissect_element_winspool_AsyncAddMonitor_pMonitorContainer(tvbuf } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep); @@ -6888,21 +6889,21 @@ iremotewinspool_dissect_element_winspool_AsyncAddMonitor_pMonitorContainer_(tvbu /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncAddMonitor_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncAddMonitor"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncAddMonitor_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncAddMonitor"; offset = iremotewinspool_dissect_element_winspool_AsyncAddMonitor_Name(tvb, offset, pinfo, tree, di, drep); @@ -6913,7 +6914,7 @@ iremotewinspool_dissect_winspool_AsyncAddMonitor_request(tvbuff_t *tvb _U_, int } 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_, guint8 *drep _U_) +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_) { 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,18 +6922,18 @@ iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_Name(tvbuff_t *tvb _ } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeleteMonitor_Name, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeleteMonitor_Name, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +6941,18 @@ iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_pEnvironment(tvbuff_ } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeleteMonitor_pEnvironment, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeleteMonitor_pEnvironment, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,11 +6960,11 @@ iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_pMonitorName(tvbuff_ } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeleteMonitor_pMonitorName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeleteMonitor_pMonitorName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; @@ -6976,21 +6977,21 @@ iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_pMonitorName_(tvbuff /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncDeleteMonitor_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncDeleteMonitor"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncDeleteMonitor_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncDeleteMonitor"; offset = iremotewinspool_dissect_element_winspool_AsyncDeleteMonitor_Name(tvb, offset, pinfo, tree, di, drep); @@ -7003,7 +7004,7 @@ iremotewinspool_dissect_winspool_AsyncDeleteMonitor_request(tvbuff_t *tvb _U_, i } 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_, guint8 *drep _U_) +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_) { 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,18 +7012,18 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_Name(tvbuff_t } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_Name, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_Name, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +7031,18 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_pEnvironment( } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_pEnvironment, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_pEnvironment, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,11 +7050,11 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_pPrintProcess } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_pPrintProcessorName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrintProcessor_pPrintProcessorName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; @@ -7066,21 +7067,21 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_pPrintProcess /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncDeletePrintProcessor_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncDeletePrintProcessor"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncDeletePrintProcessor_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncDeletePrintProcessor"; offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrintProcessor_Name(tvb, offset, pinfo, tree, di, drep); @@ -7093,7 +7094,7 @@ iremotewinspool_dissect_winspool_AsyncDeletePrintProcessor_request(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { 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,18 +7102,18 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pName( } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +7121,18 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pPrint } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pPrintProcessorName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pPrintProcessorName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_Level, 0); @@ -7139,7 +7140,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_Level( } 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_, guint8 *drep _U_) +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_) { 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,7 +7148,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pDatat } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes__); @@ -7155,7 +7156,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pDatat } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes, 0); @@ -7163,7 +7164,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pDatat } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_cbBuf, 0); @@ -7171,7 +7172,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_cbBuf( } 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_, guint8 *drep _U_) +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_) { 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,7 +7180,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pcbNee } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pcbNeeded, 0); @@ -7187,7 +7188,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pcbNee } 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_, guint8 *drep _U_) +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_) { 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,7 +7196,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pcRetu } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPrintProcessorDatatypes_pcReturned, 0); @@ -7213,9 +7214,9 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pcRetu /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncEnumPrintProcessorDatatypes_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncEnumPrintProcessorDatatypes"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pDatatypes(tvb, offset, pinfo, tree, di, drep); @@ -7230,13 +7231,13 @@ iremotewinspool_dissect_winspool_AsyncEnumPrintProcessorDatatypes_response(tvbuf offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncEnumPrintProcessorDatatypes_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncEnumPrintProcessorDatatypes"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumPrintProcessorDatatypes_pName(tvb, offset, pinfo, tree, di, drep); @@ -7253,7 +7254,7 @@ iremotewinspool_dissect_winspool_AsyncEnumPrintProcessorDatatypes_request(tvbuff } 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_, guint8 *drep _U_) +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_) { 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,18 +7262,18 @@ iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pServer(tv } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pServer, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pServer, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +7281,18 @@ iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pPrinterNa } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pPrinterName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pPrinterName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +7300,18 @@ iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pPrintServ } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pPrintServer, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pPrintServer, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,11 +7319,11 @@ iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pProvider( } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pProvider, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncAddPerMachineConnection_pProvider, false, &data); proto_item_append_text(tree, ": %s", data); return offset; @@ -7336,21 +7337,21 @@ iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pProvider_ /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncAddPerMachineConnection_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncAddPerMachineConnection"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncAddPerMachineConnection_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncAddPerMachineConnection"; offset = iremotewinspool_dissect_element_winspool_AsyncAddPerMachineConnection_pServer(tvb, offset, pinfo, tree, di, drep); @@ -7365,7 +7366,7 @@ iremotewinspool_dissect_winspool_AsyncAddPerMachineConnection_request(tvbuff_t * } 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_, guint8 *drep _U_) +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_) { 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,18 +7374,18 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePerMachineConnection_pServer } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeletePerMachineConnection_pServer, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePerMachineConnection_pServer, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,11 +7393,11 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePerMachineConnection_pPrinte } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeletePerMachineConnection_pPrinterName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePerMachineConnection_pPrinterName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; @@ -7408,21 +7409,21 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePerMachineConnection_pPrinte /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncDeletePerMachineConnection_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncDeletePerMachineConnection"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncDeletePerMachineConnection_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncDeletePerMachineConnection"; offset = iremotewinspool_dissect_element_winspool_AsyncDeletePerMachineConnection_pServer(tvb, offset, pinfo, tree, di, drep); @@ -7433,7 +7434,7 @@ iremotewinspool_dissect_winspool_AsyncDeletePerMachineConnection_request(tvbuff_ } 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_, guint8 *drep _U_) +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_) { 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,18 +7442,18 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pServer( } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pServer, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pServer, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,7 +7461,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pPrinter } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pPrinterEnum__); @@ -7468,7 +7469,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pPrinter } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pPrinterEnum, 0); @@ -7476,7 +7477,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pPrinter } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_cbBuf, 0); @@ -7484,7 +7485,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_cbBuf(tv } 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_, guint8 *drep _U_) +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_) { 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,7 +7493,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pcbNeede } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pcbNeeded, 0); @@ -7500,7 +7501,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pcbNeede } 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_, guint8 *drep _U_) +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_) { 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,7 +7509,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pcReturn } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumPerMachineConnections_pcReturned, 0); @@ -7524,9 +7525,9 @@ iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pcReturn /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncEnumPerMachineConnections_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncEnumPerMachineConnections"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pPrinterEnum(tvb, offset, pinfo, tree, di, drep); @@ -7541,13 +7542,13 @@ iremotewinspool_dissect_winspool_AsyncEnumPerMachineConnections_response(tvbuff_ offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncEnumPerMachineConnections_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncEnumPerMachineConnections"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumPerMachineConnections_pServer(tvb, offset, pinfo, tree, di, drep); @@ -7560,7 +7561,7 @@ iremotewinspool_dissect_winspool_AsyncEnumPerMachineConnections_request(tvbuff_t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_hPrinter, 0); @@ -7568,7 +7569,7 @@ iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_hPri } 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_, guint8 *drep _U_) +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_) { 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,7 +7577,7 @@ iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_pNot } 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_, guint8 *drep _U_) +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_) { offset = iremotewinspool_dissect_struct_winspool_PrintPropertiesCollection(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_pNotifyFilter,0); @@ -7584,7 +7585,7 @@ iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_pNot } 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_, guint8 *drep _U_) +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_) { 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,7 +7593,7 @@ iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_phRp } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_SyncRegisterForRemoteNotifications_phRpcHandle, 0); @@ -7606,9 +7607,9 @@ iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_phRp /* IDL: ); */ static int -iremotewinspool_dissect_winspool_SyncRegisterForRemoteNotifications_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_SyncRegisterForRemoteNotifications"; offset = iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_phRpcHandle(tvb, offset, pinfo, tree, di, drep); @@ -7617,13 +7618,13 @@ iremotewinspool_dissect_winspool_SyncRegisterForRemoteNotifications_response(tvb offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, HRES_errors, "Unknown HRES error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_SyncRegisterForRemoteNotifications_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_SyncRegisterForRemoteNotifications"; offset = iremotewinspool_dissect_element_winspool_SyncRegisterForRemoteNotifications_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -7634,7 +7635,7 @@ iremotewinspool_dissect_winspool_SyncRegisterForRemoteNotifications_request(tvbu } 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_, guint8 *drep _U_) +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_) { 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,7 +7643,7 @@ iremotewinspool_dissect_element_winspool_SyncUnRegisterForRemoteNotifications_ph } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_SyncUnRegisterForRemoteNotifications_phRpcHandle, 0); @@ -7654,9 +7655,9 @@ iremotewinspool_dissect_element_winspool_SyncUnRegisterForRemoteNotifications_ph /* IDL: ); */ static int -iremotewinspool_dissect_winspool_SyncUnRegisterForRemoteNotifications_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_SyncUnRegisterForRemoteNotifications"; offset = iremotewinspool_dissect_element_winspool_SyncUnRegisterForRemoteNotifications_phRpcHandle(tvb, offset, pinfo, tree, di, drep); @@ -7665,13 +7666,13 @@ iremotewinspool_dissect_winspool_SyncUnRegisterForRemoteNotifications_response(t offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, HRES_errors, "Unknown HRES error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_SyncUnRegisterForRemoteNotifications_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_SyncUnRegisterForRemoteNotifications"; offset = iremotewinspool_dissect_element_winspool_SyncUnRegisterForRemoteNotifications_phRpcHandle(tvb, offset, pinfo, tree, di, drep); @@ -7680,7 +7681,7 @@ iremotewinspool_dissect_winspool_SyncUnRegisterForRemoteNotifications_request(tv } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_hRpcHandle, 0); @@ -7688,7 +7689,7 @@ iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_hRpcHand } 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_, guint8 *drep _U_) +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_) { 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,7 +7697,7 @@ iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_pNotifyF } 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_, guint8 *drep _U_) +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_) { offset = iremotewinspool_dissect_struct_winspool_PrintPropertiesCollection(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_pNotifyFilter,0); @@ -7704,7 +7705,7 @@ iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_pNotifyF } 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_, guint8 *drep _U_) +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_) { 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,7 +7713,7 @@ iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_ppNotify } 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_, guint8 *drep _U_) +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_) { 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,7 +7721,7 @@ iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_ppNotify } 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_, guint8 *drep _U_) +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_) { offset = iremotewinspool_dissect_struct_winspool_PrintPropertiesCollection(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_SyncRefreshRemoteNotifications_ppNotifyData,0); @@ -7734,9 +7735,9 @@ iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_ppNotify /* IDL: ); */ static int -iremotewinspool_dissect_winspool_SyncRefreshRemoteNotifications_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_SyncRefreshRemoteNotifications"; offset = iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_ppNotifyData(tvb, offset, pinfo, tree, di, drep); @@ -7745,13 +7746,13 @@ iremotewinspool_dissect_winspool_SyncRefreshRemoteNotifications_response(tvbuff_ offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, HRES_errors, "Unknown HRES error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_SyncRefreshRemoteNotifications_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_SyncRefreshRemoteNotifications"; offset = iremotewinspool_dissect_element_winspool_SyncRefreshRemoteNotifications_hRpcHandle(tvb, offset, pinfo, tree, di, drep); @@ -7762,7 +7763,7 @@ iremotewinspool_dissect_winspool_SyncRefreshRemoteNotifications_request(tvbuff_t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetRemoteNotifications_hRpcHandle, 0); @@ -7770,7 +7771,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetRemoteNotifications_hRpcHandle( } 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_, guint8 *drep _U_) +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_) { 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,7 +7779,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetRemoteNotifications_ppNotifyDat } 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_, guint8 *drep _U_) +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_) { 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,7 +7787,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetRemoteNotifications_ppNotifyDat } 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_, guint8 *drep _U_) +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_) { offset = iremotewinspool_dissect_struct_winspool_PrintPropertiesCollection(tvb,offset,pinfo,tree,di,drep,hf_iremotewinspool_winspool_AsyncGetRemoteNotifications_ppNotifyData,0); @@ -7799,9 +7800,9 @@ iremotewinspool_dissect_element_winspool_AsyncGetRemoteNotifications_ppNotifyDat /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncGetRemoteNotifications_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncGetRemoteNotifications"; offset = iremotewinspool_dissect_element_winspool_AsyncGetRemoteNotifications_ppNotifyData(tvb, offset, pinfo, tree, di, drep); @@ -7810,13 +7811,13 @@ iremotewinspool_dissect_winspool_AsyncGetRemoteNotifications_response(tvbuff_t * offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, HRES_errors, "Unknown HRES error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncGetRemoteNotifications_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncGetRemoteNotifications"; offset = iremotewinspool_dissect_element_winspool_AsyncGetRemoteNotifications_hRpcHandle(tvb, offset, pinfo, tree, di, drep); @@ -7825,7 +7826,7 @@ iremotewinspool_dissect_winspool_AsyncGetRemoteNotifications_request(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { 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,18 +7834,18 @@ iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_ps } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszServer, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszServer, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +7853,18 @@ iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_ps } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszInfPath, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszInfPath, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +7872,18 @@ iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_ps } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszDriverName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszDriverName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +7891,18 @@ iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_ps } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszEnvironment, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_pszEnvironment, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { offset = iremotewinspool_dissect_bitmap_winspool_InstallPrinterDriverFromPackageFlags(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncInstallPrinterDriverFromPackage_dwFlags, 0); @@ -7917,21 +7918,21 @@ iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_dw /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncInstallPrinterDriverFromPackage_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncInstallPrinterDriverFromPackage"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, HRES_errors, "Unknown HRES error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncInstallPrinterDriverFromPackage_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncInstallPrinterDriverFromPackage"; offset = iremotewinspool_dissect_element_winspool_AsyncInstallPrinterDriverFromPackage_pszServer(tvb, offset, pinfo, tree, di, drep); @@ -7948,7 +7949,7 @@ iremotewinspool_dissect_winspool_AsyncInstallPrinterDriverFromPackage_request(tv } 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_, guint8 *drep _U_) +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_) { 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,18 +7957,18 @@ iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszServ } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszServer, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszServer, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +7976,18 @@ iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszInfP } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszInfPath, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszInfPath, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +7995,18 @@ iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszEnvi } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszEnvironment, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszEnvironment, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { offset = iremotewinspool_dissect_bitmap_winspool_UploadPrinterDriverPackageFlags(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_dwFlags, 0); @@ -8013,7 +8014,7 @@ iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_dwFlags } 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_, guint8 *drep _U_) +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_) { 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,7 +8022,7 @@ iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszDest } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath__); @@ -8029,7 +8030,7 @@ iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszDest } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath, 0); @@ -8037,7 +8038,7 @@ iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszDest } 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_, guint8 *drep _U_) +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_) { 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,7 +8046,7 @@ iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pcchDes } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncUploadPrinterDriverPackage_pcchDestInfPath, 0); @@ -8062,9 +8063,9 @@ iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pcchDes /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncUploadPrinterDriverPackage_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncUploadPrinterDriverPackage"; offset = iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszDestInfPath(tvb, offset, pinfo, tree, di, drep); @@ -8076,13 +8077,13 @@ iremotewinspool_dissect_winspool_AsyncUploadPrinterDriverPackage_response(tvbuff offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, HRES_errors, "Unknown HRES error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncUploadPrinterDriverPackage_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncUploadPrinterDriverPackage"; offset = iremotewinspool_dissect_element_winspool_AsyncUploadPrinterDriverPackage_pszServer(tvb, offset, pinfo, tree, di, drep); @@ -8101,7 +8102,7 @@ iremotewinspool_dissect_winspool_AsyncUploadPrinterDriverPackage_request(tvbuff_ } 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_, guint8 *drep _U_) +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_) { 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,18 +8110,18 @@ iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszServer(tv } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszServer, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszServer, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +8129,18 @@ iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszEnvironme } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszEnvironment, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszEnvironment, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_cchCoreDrivers, 0); @@ -8147,7 +8148,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_cchCoreDrive } 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_, guint8 *drep _U_) +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_) { 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,7 +8156,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriv } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies__); @@ -8163,7 +8164,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriv } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriverDependencies, 0); @@ -8171,7 +8172,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszzCoreDriv } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetCorePrinterDrivers_cCorePrinterDrivers, 0); @@ -8179,7 +8180,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_cCorePrinter } 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_, guint8 *drep _U_) +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_) { 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,7 +8188,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pCorePrinter } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pCorePrinterDrivers__); @@ -8195,7 +8196,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pCorePrinter } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep); @@ -8212,9 +8213,9 @@ iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pCorePrinter /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncGetCorePrinterDrivers_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncGetCorePrinterDrivers"; offset = iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pCorePrinterDrivers(tvb, offset, pinfo, tree, di, drep); @@ -8223,13 +8224,13 @@ iremotewinspool_dissect_winspool_AsyncGetCorePrinterDrivers_response(tvbuff_t *t offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, HRES_errors, "Unknown HRES error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncGetCorePrinterDrivers_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncGetCorePrinterDrivers"; offset = iremotewinspool_dissect_element_winspool_AsyncGetCorePrinterDrivers_pszServer(tvb, offset, pinfo, tree, di, drep); @@ -8246,7 +8247,7 @@ iremotewinspool_dissect_winspool_AsyncGetCorePrinterDrivers_request(tvbuff_t *tv } 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_, guint8 *drep _U_) +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_) { 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,18 +8255,18 @@ iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pszServ } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pszServer, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pszServer, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +8274,18 @@ iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pszEnvi } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pszEnvironment, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pszEnvironment, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_CoreDriverGUID, NULL); @@ -8292,7 +8293,7 @@ iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_CoreDri } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_ftDriverDate); @@ -8300,7 +8301,7 @@ iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_ftDrive } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_dwlDriverVersion, NULL); @@ -8308,7 +8309,7 @@ iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_dwlDriv } 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_, guint8 *drep _U_) +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_) { 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,7 +8317,7 @@ iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pbDrive } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncCorePrinterDriverInstalled_pbDriverInstalled, 0); @@ -8333,9 +8334,9 @@ iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pbDrive /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncCorePrinterDriverInstalled_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncCorePrinterDriverInstalled"; offset = iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pbDriverInstalled(tvb, offset, pinfo, tree, di, drep); @@ -8344,13 +8345,13 @@ iremotewinspool_dissect_winspool_AsyncCorePrinterDriverInstalled_response(tvbuff offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, HRES_errors, "Unknown HRES error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncCorePrinterDriverInstalled_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncCorePrinterDriverInstalled"; offset = iremotewinspool_dissect_element_winspool_AsyncCorePrinterDriverInstalled_pszServer(tvb, offset, pinfo, tree, di, drep); @@ -8367,7 +8368,7 @@ iremotewinspool_dissect_winspool_AsyncCorePrinterDriverInstalled_request(tvbuff_ } 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_, guint8 *drep _U_) +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_) { 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,18 +8376,18 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszSer } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszServer, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszServer, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +8395,18 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszEnv } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszEnvironment, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszEnvironment, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +8414,18 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszLan } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszLanguage, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszLanguage, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +8433,18 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszPac } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszPackageID, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszPackageID, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,7 +8452,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszDri } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab__); @@ -8459,7 +8460,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszDri } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab, 0); @@ -8467,7 +8468,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszDri } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_cchDriverPackageCab, 0); @@ -8475,7 +8476,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_cchDri } 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_, guint8 *drep _U_) +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_) { 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,7 +8484,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pcchRe } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetPrinterDriverPackagePath_pcchRequiredSize, 0); @@ -8501,9 +8502,9 @@ iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pcchRe /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncGetPrinterDriverPackagePath_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncGetPrinterDriverPackagePath"; offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszDriverPackageCab(tvb, offset, pinfo, tree, di, drep); @@ -8515,13 +8516,13 @@ iremotewinspool_dissect_winspool_AsyncGetPrinterDriverPackagePath_response(tvbuf offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, HRES_errors, "Unknown HRES error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncGetPrinterDriverPackagePath_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncGetPrinterDriverPackagePath"; offset = iremotewinspool_dissect_element_winspool_AsyncGetPrinterDriverPackagePath_pszServer(tvb, offset, pinfo, tree, di, drep); @@ -8540,7 +8541,7 @@ iremotewinspool_dissect_winspool_AsyncGetPrinterDriverPackagePath_request(tvbuff } 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_, guint8 *drep _U_) +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_) { 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,18 +8549,18 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszServ } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszServer, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszServer, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,18 +8568,18 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszInfP } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszInfPath, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszInfPath, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,11 +8587,11 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszEnvi } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszEnvironment, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeletePrinterDriverPackage_pszEnvironment, false, &data); proto_item_append_text(tree, ": %s", data); return offset; @@ -8603,21 +8604,21 @@ iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszEnvi /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncDeletePrinterDriverPackage_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDriverPackage"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_hresult, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, HRES_errors, "Unknown HRES error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &HRES_errors_ext, "Unknown HRES error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncDeletePrinterDriverPackage_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncDeletePrinterDriverPackage"; offset = iremotewinspool_dissect_element_winspool_AsyncDeletePrinterDriverPackage_pszServer(tvb, offset, pinfo, tree, di, drep); @@ -8630,7 +8631,7 @@ iremotewinspool_dissect_winspool_AsyncDeletePrinterDriverPackage_request(tvbuff_ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncReadPrinter_hPrinter, 0); @@ -8638,7 +8639,7 @@ iremotewinspool_dissect_element_winspool_AsyncReadPrinter_hPrinter(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { 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,7 +8647,7 @@ iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pBuf(tvbuff_t *tvb _U_ } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pBuf__); @@ -8654,7 +8655,7 @@ iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pBuf_(tvbuff_t *tvb _U } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncReadPrinter_pBuf, 0); @@ -8662,7 +8663,7 @@ iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pBuf__(tvbuff_t *tvb _ } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncReadPrinter_cbBuf, 0); @@ -8670,7 +8671,7 @@ iremotewinspool_dissect_element_winspool_AsyncReadPrinter_cbBuf(tvbuff_t *tvb _U } 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_, guint8 *drep _U_) +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_) { 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,7 +8679,7 @@ iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pcNoBytesRead(tvbuff_t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncReadPrinter_pcNoBytesRead, 0); @@ -8693,9 +8694,9 @@ iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pcNoBytesRead_(tvbuff_ /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncReadPrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncReadPrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncReadPrinter_pBuf(tvb, offset, pinfo, tree, di, drep); @@ -8707,13 +8708,13 @@ iremotewinspool_dissect_winspool_AsyncReadPrinter_response(tvbuff_t *tvb _U_, in offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncReadPrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncReadPrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncReadPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -8724,7 +8725,7 @@ iremotewinspool_dissect_winspool_AsyncReadPrinter_request(tvbuff_t *tvb _U_, int } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncResetPrinter_hPrinter, 0); @@ -8732,7 +8733,7 @@ iremotewinspool_dissect_element_winspool_AsyncResetPrinter_hPrinter(tvbuff_t *tv } 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_, guint8 *drep _U_) +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_) { 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,18 +8741,18 @@ iremotewinspool_dissect_element_winspool_AsyncResetPrinter_pDatatype(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncResetPrinter_pDatatype, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncResetPrinter_pDatatype, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,7 +8760,7 @@ iremotewinspool_dissect_element_winspool_AsyncResetPrinter_pDevModeContainer(tvb } 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_, guint8 *drep _U_) +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_) { offset = dissect_DEVMODE_CTR(tvb, offset, pinfo, tree, di, drep); @@ -8773,21 +8774,21 @@ iremotewinspool_dissect_element_winspool_AsyncResetPrinter_pDevModeContainer_(tv /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncResetPrinter_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncResetPrinter"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncResetPrinter_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncResetPrinter"; offset = iremotewinspool_dissect_element_winspool_AsyncResetPrinter_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -8800,7 +8801,7 @@ iremotewinspool_dissect_winspool_AsyncResetPrinter_request(tvbuff_t *tvb _U_, in } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_hPrinter, 0); @@ -8808,7 +8809,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_hPrinter( } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_JobId, 0); @@ -8816,7 +8817,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_JobId(tvb } 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_, guint8 *drep _U_) +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_) { 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,18 +8825,18 @@ iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_pszName(t } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_pszName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncGetJobNamedPropertyValue_pszName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; } 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_, guint8 *drep _U_) +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_) { 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,7 +8844,7 @@ iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_pValue(tv } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep); @@ -8858,9 +8859,9 @@ iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_pValue_(t /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncGetJobNamedPropertyValue_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncGetJobNamedPropertyValue"; offset = iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_pValue(tvb, offset, pinfo, tree, di, drep); @@ -8869,13 +8870,13 @@ iremotewinspool_dissect_winspool_AsyncGetJobNamedPropertyValue_response(tvbuff_t offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncGetJobNamedPropertyValue_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncGetJobNamedPropertyValue"; offset = iremotewinspool_dissect_element_winspool_AsyncGetJobNamedPropertyValue_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -8888,7 +8889,7 @@ iremotewinspool_dissect_winspool_AsyncGetJobNamedPropertyValue_request(tvbuff_t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_hPrinter, 0); @@ -8896,7 +8897,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetJobNamedProperty_hPrinter(tvbuf } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncSetJobNamedProperty_JobId, 0); @@ -8904,7 +8905,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetJobNamedProperty_JobId(tvbuff_t } 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_, guint8 *drep _U_) +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_) { 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,7 +8913,7 @@ iremotewinspool_dissect_element_winspool_AsyncSetJobNamedProperty_pProperty(tvbu } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep); @@ -8926,21 +8927,21 @@ iremotewinspool_dissect_element_winspool_AsyncSetJobNamedProperty_pProperty_(tvb /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncSetJobNamedProperty_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncSetJobNamedProperty"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncSetJobNamedProperty_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncSetJobNamedProperty"; offset = iremotewinspool_dissect_element_winspool_AsyncSetJobNamedProperty_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -8953,7 +8954,7 @@ iremotewinspool_dissect_winspool_AsyncSetJobNamedProperty_request(tvbuff_t *tvb } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_hPrinter, 0); @@ -8961,7 +8962,7 @@ iremotewinspool_dissect_element_winspool_AsyncDeleteJobNamedProperty_hPrinter(tv } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_JobId, 0); @@ -8969,7 +8970,7 @@ iremotewinspool_dissect_element_winspool_AsyncDeleteJobNamedProperty_JobId(tvbuf } 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_, guint8 *drep _U_) +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_) { 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,11 +8978,11 @@ iremotewinspool_dissect_element_winspool_AsyncDeleteJobNamedProperty_pszName(tvb } 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_, guint8 *drep _U_) +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_) { char *data; - offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(guint16), hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_pszName, FALSE, &data); + offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_iremotewinspool_winspool_AsyncDeleteJobNamedProperty_pszName, false, &data); proto_item_append_text(tree, ": %s", data); return offset; @@ -8994,21 +8995,21 @@ iremotewinspool_dissect_element_winspool_AsyncDeleteJobNamedProperty_pszName_(tv /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncDeleteJobNamedProperty_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncDeleteJobNamedProperty"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncDeleteJobNamedProperty_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncDeleteJobNamedProperty"; offset = iremotewinspool_dissect_element_winspool_AsyncDeleteJobNamedProperty_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -9021,7 +9022,7 @@ iremotewinspool_dissect_winspool_AsyncDeleteJobNamedProperty_request(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_hPrinter, 0); @@ -9029,7 +9030,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_hPrinter(tv } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_JobId, 0); @@ -9037,7 +9038,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_JobId(tvbuf } 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_, guint8 *drep _U_) +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_) { 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,7 +9046,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_pcPropertie } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncEnumJobNamedProperties_pcProperties, 0); @@ -9053,7 +9054,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_pcPropertie } 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_, guint8 *drep _U_) +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_) { 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,7 +9062,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_ppPropertie } 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_, guint8 *drep _U_) +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_) { 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,7 +9070,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_ppPropertie } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, di, drep, iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_ppProperties___); @@ -9077,7 +9078,7 @@ iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_ppPropertie } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep); @@ -9092,9 +9093,9 @@ iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_ppPropertie /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncEnumJobNamedProperties_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncEnumJobNamedProperties"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_pcProperties(tvb, offset, pinfo, tree, di, drep); @@ -9106,13 +9107,13 @@ iremotewinspool_dissect_winspool_AsyncEnumJobNamedProperties_response(tvbuff_t * offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncEnumJobNamedProperties_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncEnumJobNamedProperties"; offset = iremotewinspool_dissect_element_winspool_AsyncEnumJobNamedProperties_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -9123,7 +9124,7 @@ iremotewinspool_dissect_winspool_AsyncEnumJobNamedProperties_request(tvbuff_t *t } 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_, guint8 *drep _U_) +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_) { offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_winspool_AsyncLogJobInfoForBranchOffice_hPrinter, 0); @@ -9131,7 +9132,7 @@ iremotewinspool_dissect_element_winspool_AsyncLogJobInfoForBranchOffice_hPrinter } 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_, guint8 *drep _U_) +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_) { 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,7 +9140,7 @@ iremotewinspool_dissect_element_winspool_AsyncLogJobInfoForBranchOffice_pBranchO } 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_, guint8 *drep _U_) +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_) { offset = dissect_ndr_byte_array(tvb, offset, pinfo, tree, di, drep); @@ -9152,21 +9153,21 @@ iremotewinspool_dissect_element_winspool_AsyncLogJobInfoForBranchOffice_pBranchO /* IDL: ); */ static int -iremotewinspool_dissect_winspool_AsyncLogJobInfoForBranchOffice_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { - guint32 status; + uint32_t status; di->dcerpc_procedure_name="winspool_AsyncLogJobInfoForBranchOffice"; offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_iremotewinspool_werror, &status); if (status != 0) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x")); return offset; } static int -iremotewinspool_dissect_winspool_AsyncLogJobInfoForBranchOffice_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_) +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_) { di->dcerpc_procedure_name="winspool_AsyncLogJobInfoForBranchOffice"; offset = iremotewinspool_dissect_element_winspool_AsyncLogJobInfoForBranchOffice_hPrinter(tvb, offset, pinfo, tree, di, drep); @@ -9177,7 +9178,7 @@ iremotewinspool_dissect_winspool_AsyncLogJobInfoForBranchOffice_request(tvbuff_t } -static dcerpc_sub_dissector iremotewinspool_dissectors[] = { +static const dcerpc_sub_dissector iremotewinspool_dissectors[] = { { 0, "winspool_AsyncOpenPrinter", iremotewinspool_dissect_winspool_AsyncOpenPrinter_request, iremotewinspool_dissect_winspool_AsyncOpenPrinter_response}, { 1, "winspool_AsyncAddPrinter", @@ -9335,13 +9336,13 @@ void proto_register_dcerpc_iremotewinspool(void) { static hf_register_info hf[] = { { &hf_iremotewinspool_hresult, - { "HRES Windows Error", "iremotewinspool.hresult", FT_UINT32, BASE_HEX, VALS(HRES_errors), 0, NULL, HFILL }}, + { "HRES Windows Error", "iremotewinspool.hresult", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &HRES_errors_ext, 0, NULL, HFILL }}, { &hf_iremotewinspool_opnum, { "Operation", "iremotewinspool.opnum", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_iremotewinspool_sec_desc_buf_len, { "Sec Desc Buf Len", "iremotewinspool.sec_desc_buf_len", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }}, { &hf_iremotewinspool_werror, - { "Windows Error", "iremotewinspool.werror", FT_UINT32, BASE_HEX, VALS(WERR_errors), 0, NULL, HFILL }}, + { "Windows Error", "iremotewinspool.werror", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }}, { &hf_iremotewinspool_winspool_AsyncAbortPrinter_hPrinter, { "HPrinter", "iremotewinspool.winspool_AsyncAbortPrinter.hPrinter", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_iremotewinspool_winspool_AsyncAddForm_hPrinter, @@ -10025,7 +10026,7 @@ void proto_register_dcerpc_iremotewinspool(void) }; - static gint *ett[] = { + static int *ett[] = { &ett_dcerpc_iremotewinspool, &ett_iremotewinspool_winspool_NOTIFY_REPLY_CONTAINER, &ett_iremotewinspool_winspool_NOTIFY_OPTIONS_CONTAINER, |