From 1a064f6b85b6b60aa7bc848db6b7caeb2022cc37 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Fri, 28 Jan 2000 04:51:56 +0000 Subject: spoolss_enumports conversion --- source/include/rpc_spoolss.h | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'source/include/rpc_spoolss.h') diff --git a/source/include/rpc_spoolss.h b/source/include/rpc_spoolss.h index a029fcb6dca..85d04e1230a 100755 --- a/source/include/rpc_spoolss.h +++ b/source/include/rpc_spoolss.h @@ -1077,16 +1077,23 @@ typedef struct spool_q_enumports uint32 buf_size; } SPOOL_Q_ENUMPORTS; -typedef struct spool_r_enumports +typedef struct port_info_ctr_info { - uint32 level; union { - PORT_INFO_1 *port_info_1; - PORT_INFO_2 *port_info_2; + PORT_INFO_1 *info_1; + PORT_INFO_2 *info_2; } port; + +} PORT_INFO_CTR; + +typedef struct spool_r_enumports +{ + uint32 level; + PORT_INFO_CTR ctr; uint32 offered; uint32 numofports; uint32 status; + } SPOOL_R_ENUMPORTS; #define JOB_CONTROL_PAUSE 1 -- cgit v1.2.1