diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/nt_printing.h | 1 | ||||
-rwxr-xr-x | source3/include/rpc_spoolss.h | 28 |
2 files changed, 28 insertions, 1 deletions
diff --git a/source3/include/nt_printing.h b/source3/include/nt_printing.h index f0d50878ce..7e3bd32003 100644 --- a/source3/include/nt_printing.h +++ b/source3/include/nt_printing.h @@ -423,6 +423,7 @@ typedef struct { #define PRINTER_HANDLE_IS_PRINTER 0 #define PRINTER_HANDLE_IS_PRINTSERVER 1 +#define PRINTER_HANDLE_IS_TCPMON 2 /* structure to store the printer handles */ /* and a reference to what it's pointing to */ diff --git a/source3/include/rpc_spoolss.h b/source3/include/rpc_spoolss.h index 3b88f76588..347aca0e08 100755 --- a/source3/include/rpc_spoolss.h +++ b/source3/include/rpc_spoolss.h @@ -4,7 +4,7 @@ Copyright (C) Andrew Tridgell 1992-2000, Copyright (C) Luke Kenneth Casson Leighton 1996-2000, Copyright (C) Jean Francois Micouleau 1998-2000. - Copyright (C) Gerald Carter 2001-2005. + Copyright (C) Gerald Carter 2001-2006. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -107,8 +107,16 @@ #define SPOOLSS_DELETEPRINTERDATAEX 0x51 #define SPOOLSS_DELETEPRINTERKEY 0x52 #define SPOOLSS_DELETEPRINTERDRIVEREX 0x54 +#define SPOOLSS_XCVDATAPORT 0x58 #define SPOOLSS_ADDPRINTERDRIVEREX 0x59 +/* + * Special strings for the OpenPrinter() call. See the MSDN DDK + * docs on the XcvDataPort() for more details. + */ + +#define SPL_XCV_MONITOR_TCPMON ",XcvMonitor Standard TCP/IP Port" + #define PRINTER_CONTROL_UNPAUSE 0x00000000 #define PRINTER_CONTROL_PAUSE 0x00000001 @@ -2161,6 +2169,24 @@ typedef struct spool_r_getprintprocessordirectory } SPOOL_R_GETPRINTPROCESSORDIRECTORY; +/**************************************/ + +typedef struct spool_q_xcvdataport { + POLICY_HND handle; + UNISTR2 dataname; + RPC_BUFFER indata; + uint32 indata_len; + uint32 offered; + uint32 unknown; +} SPOOL_Q_XCVDATAPORT; + +typedef struct spool_r_xcvdataport { + RPC_BUFFER outdata; + uint32 *unknown1; + uint32 *unknown2; + WERROR status; +} SPOOL_R_XCVDATAPORT; + #define PRINTER_DRIVER_VERSION 2 #define PRINTER_DRIVER_ARCHITECTURE "Windows NT x86" |