#define PRINTER_STATUS_OK ( 0x00000000 )
#define JOB_STATUS_QUEUED ( 0x0000 )
#define PRINTER_ENUM_ICONMASK ( (PRINTER_ENUM_ICON1|PRINTER_ENUM_ICON2|PRINTER_ENUM_ICON3|PRINTER_ENUM_ICON4|PRINTER_ENUM_ICON5|PRINTER_ENUM_ICON6|PRINTER_ENUM_ICON7|PRINTER_ENUM_ICON8) )
+#define SPL_ARCH_WIN40 ( "WIN40" )
+#define SPL_ARCH_W32X86 ( "W32X86" )
+#define SPL_ARCH_W32MIPS ( "W32MIPS" )
+#define SPL_ARCH_W32ALPHA ( "W32ALPHA" )
+#define SPL_ARCH_W32PPC ( "W32PPC" )
+#define SPL_ARCH_IA64 ( "IA64" )
+#define SPL_ARCH_X64 ( "x64" )
+#define SPOOLSS_ARCHITECTURE_ALL ( "all" )
#define SPOOLSS_ARCHITECTURE_NT_X86 ( "Windows NT x86" )
#define SPOOLSS_DEFAULT_SERVER_PATH ( "C:\\WINDOWS\\system32\\spool" )
#define SPL_LOCAL_PORT ( "Local Port" )
#define PRINTER_ENUM_ICON8 ( 0x00800000 )
#define PRINTER_ENUM_HIDE ( 0x01000000 )
-struct spoolss_PrinterInfo1 {
- uint32_t flags;
- const char * name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
- const char * description;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
- const char * comment;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
-}/* [gensize,public] */;
-
/* bitmap spoolss_PrinterAttributes */
#define PRINTER_ATTRIBUTE_QUEUED ( 0x00000001 )
#define PRINTER_ATTRIBUTE_DIRECT ( 0x00000002 )
#define PRINTER_ATTRIBUTE_FAX ( 0x00004000 )
#define PRINTER_ATTRIBUTE_TS ( 0x00008000 )
+struct spoolss_PrinterInfo1 {
+ uint32_t flags;
+ const char * description;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
+ const char * name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
+ const char * comment;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
+}/* [gensize,public] */;
+
struct spoolss_PrinterInfo2 {
const char * servername;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
const char * printername;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
struct spoolss_SetPrinterInfo1 {
uint32_t flags;
- const char *name;/* [unique,charset(UTF16)] */
const char *description;/* [unique,charset(UTF16)] */
+ const char *name;/* [unique,charset(UTF16)] */
const char *comment;/* [unique,charset(UTF16)] */
};
struct spoolss_StringArray *previous_names;/* [unique] */
};
+/* bitmap spoolss_DriverAttributes */
+#define PRINTER_DRIVER_PACKAGE_AWARE ( 0x00000002 )
+
struct spoolss_AddDriverInfo5 {
enum spoolss_DriverOSVersion version;
const char *driver_name;/* [unique,charset(UTF16)] */
struct spoolss_AddPrinter {
struct {
+ const char *server;/* [unique,charset(UTF16)] */
+ struct spoolss_SetPrinterInfoCtr *info_ctr;/* [ref] */
+ struct spoolss_DevmodeContainer *devmode_ctr;/* [ref] */
+ struct sec_desc_buf *secdesc_ctr;/* [ref] */
+ } in;
+
+ struct {
+ struct policy_handle *handle;/* [ref] */
WERROR result;
} out;