From b031af348c7dcc8c74bf49945211c466b8eca079 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 27 Aug 2001 19:46:22 +0000 Subject: converted another bunch of stuff to NTSTATUS (This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e) --- source3/include/rpc_spoolss.h | 98 +++++++++++++++++++++---------------------- 1 file changed, 49 insertions(+), 49 deletions(-) (limited to 'source3/include/rpc_spoolss.h') diff --git a/source3/include/rpc_spoolss.h b/source3/include/rpc_spoolss.h index dd66982cd5..c57fc1bc42 100755 --- a/source3/include/rpc_spoolss.h +++ b/source3/include/rpc_spoolss.h @@ -460,7 +460,7 @@ SPOOL_Q_OPEN_PRINTER_EX; typedef struct spool_r_open_printer_ex { POLICY_HND handle; /* handle used along all transactions (20*uint8) */ - uint32 status; + NTSTATUS status; } SPOOL_R_OPEN_PRINTER_EX; @@ -523,7 +523,7 @@ typedef struct spool_r_getprinterdata uint32 size; uint8 *data; uint32 needed; - uint32 status; + NTSTATUS status; } SPOOL_R_GETPRINTERDATA; @@ -536,7 +536,7 @@ SPOOL_Q_DELETEPRINTERDATA; typedef struct spool_r_deleteprinterdata { - uint32 status; + NTSTATUS status; } SPOOL_R_DELETEPRINTERDATA; @@ -549,7 +549,7 @@ SPOOL_Q_CLOSEPRINTER; typedef struct spool_r_closeprinter { POLICY_HND handle; - uint32 status; + NTSTATUS status; } SPOOL_R_CLOSEPRINTER; @@ -561,7 +561,7 @@ SPOOL_Q_STARTPAGEPRINTER; typedef struct spool_r_startpageprinter { - uint32 status; + NTSTATUS status; } SPOOL_R_STARTPAGEPRINTER; @@ -573,7 +573,7 @@ SPOOL_Q_ENDPAGEPRINTER; typedef struct spool_r_endpageprinter { - uint32 status; + NTSTATUS status; } SPOOL_R_ENDPAGEPRINTER; @@ -589,7 +589,7 @@ SPOOL_Q_DELETEPRINTERDRIVER; typedef struct spool_r_deleteprinterdriver { - uint32 status; + NTSTATUS status; } SPOOL_R_DELETEPRINTERDRIVER; @@ -629,7 +629,7 @@ SPOOL_Q_STARTDOCPRINTER; typedef struct spool_r_startdocprinter { uint32 jobid; - uint32 status; + NTSTATUS status; } SPOOL_R_STARTDOCPRINTER; @@ -641,7 +641,7 @@ SPOOL_Q_ENDDOCPRINTER; typedef struct spool_r_enddocprinter { - uint32 status; + NTSTATUS status; } SPOOL_R_ENDDOCPRINTER; @@ -657,7 +657,7 @@ SPOOL_Q_WRITEPRINTER; typedef struct spool_r_writeprinter { uint32 buffer_written; - uint32 status; + NTSTATUS status; } SPOOL_R_WRITEPRINTER; @@ -718,7 +718,7 @@ SPOOL_Q_RFFPCNEX; typedef struct spool_r_rffpcnex { - uint32 status; + NTSTATUS status; } SPOOL_R_RFFPCNEX; @@ -736,7 +736,7 @@ typedef struct spool_r_rfnpcnex { uint32 info_ptr; SPOOL_NOTIFY_INFO info; - uint32 status; + NTSTATUS status; } SPOOL_R_RFNPCNEX; @@ -749,7 +749,7 @@ SPOOL_Q_FCPN; typedef struct spool_r_fcpn { - uint32 status; + NTSTATUS status; } SPOOL_R_FCPN; @@ -789,7 +789,7 @@ typedef struct printer_info_0 uint32 unknown16; uint32 change_id; uint32 unknown18; - uint32 status; + NTSTATUS status; uint32 unknown20; uint32 c_setprinter; @@ -832,7 +832,7 @@ typedef struct printer_info_2 uint32 defaultpriority; uint32 starttime; uint32 untiltime; - uint32 status; + NTSTATUS status; uint32 cjobs; uint32 averageppm; } @@ -870,7 +870,7 @@ typedef struct spool_r_enumprinters NEW_BUFFER *buffer; uint32 needed; /* bytes needed */ uint32 returned; /* number of printers */ - uint32 status; + NTSTATUS status; } SPOOL_R_ENUMPRINTERS; @@ -899,7 +899,7 @@ typedef struct spool_r_getprinter { NEW_BUFFER *buffer; uint32 needed; - uint32 status; + NTSTATUS status; } SPOOL_R_GETPRINTER; typedef struct driver_info_1 @@ -984,7 +984,7 @@ typedef struct spool_r_getprinterdriver2 uint32 needed; uint32 servermajorversion; uint32 serverminorversion; - uint32 status; + NTSTATUS status; } SPOOL_R_GETPRINTERDRIVER2; @@ -1010,7 +1010,7 @@ typedef struct spool_r_addjob { NEW_BUFFER *buffer; uint32 needed; - uint32 status; + NTSTATUS status; } SPOOL_R_ADDJOB; @@ -1042,7 +1042,7 @@ typedef struct s_job_info_1 UNISTR document; UNISTR datatype; UNISTR text_status; - uint32 status; + NTSTATUS status; uint32 priority; uint32 position; uint32 totalpages; @@ -1066,7 +1066,7 @@ typedef struct s_job_info_2 DEVICEMODE *devmode; UNISTR text_status; /* SEC_DESC sec_desc;*/ - uint32 status; + NTSTATUS status; uint32 priority; uint32 position; uint32 starttime; @@ -1106,7 +1106,7 @@ typedef struct spool_r_enumjobs NEW_BUFFER *buffer; uint32 needed; uint32 returned; - uint32 status; + NTSTATUS status; } SPOOL_R_ENUMJOBS; @@ -1119,7 +1119,7 @@ SPOOL_Q_SCHEDULEJOB; typedef struct spool_r_schedulejob { - uint32 status; + NTSTATUS status; } SPOOL_R_SCHEDULEJOB; @@ -1166,7 +1166,7 @@ typedef struct spool_r_enumports NEW_BUFFER *buffer; uint32 needed; /* bytes needed */ uint32 returned; /* number of printers */ - uint32 status; + NTSTATUS status; } SPOOL_R_ENUMPORTS; @@ -1201,7 +1201,7 @@ SPOOL_Q_SETJOB; typedef struct spool_r_setjob { - uint32 status; + NTSTATUS status; } SPOOL_R_SETJOB; @@ -1223,7 +1223,7 @@ typedef struct spool_r_enumprinterdrivers NEW_BUFFER *buffer; uint32 needed; uint32 returned; - uint32 status; + NTSTATUS status; } SPOOL_R_ENUMPRINTERDRIVERS; @@ -1254,7 +1254,7 @@ typedef struct spool_r_enumforms NEW_BUFFER *buffer; uint32 needed; uint32 numofforms; - uint32 status; + NTSTATUS status; } SPOOL_R_ENUMFORMS; @@ -1272,7 +1272,7 @@ typedef struct spool_r_getform { NEW_BUFFER *buffer; uint32 needed; - uint32 status; + NTSTATUS status; } SPOOL_R_GETFORM; @@ -1307,7 +1307,7 @@ typedef struct spool_printer_info_level_2 uint32 default_priority; uint32 starttime; uint32 untiltime; - uint32 status; + NTSTATUS status; uint32 cjobs; uint32 averageppm; UNISTR2 servername; @@ -1454,7 +1454,7 @@ SPOOL_Q_SETPRINTER; typedef struct spool_r_setprinter { - uint32 status; + NTSTATUS status; } SPOOL_R_SETPRINTER; @@ -1474,7 +1474,7 @@ SPOOL_Q_ADDPRINTER; typedef struct spool_r_addprinter { - uint32 status; + NTSTATUS status; } SPOOL_R_ADDPRINTER; @@ -1487,7 +1487,7 @@ SPOOL_Q_DELETEPRINTER; typedef struct spool_r_deleteprinter { POLICY_HND handle; - uint32 status; + NTSTATUS status; } SPOOL_R_DELETEPRINTER; @@ -1499,7 +1499,7 @@ SPOOL_Q_ABORTPRINTER; typedef struct spool_r_abortprinter { - uint32 status; + NTSTATUS status; } SPOOL_R_ABORTPRINTER; @@ -1522,7 +1522,7 @@ SPOOL_Q_ADDPRINTEREX; typedef struct spool_r_addprinterex { POLICY_HND handle; - uint32 status; + NTSTATUS status; } SPOOL_R_ADDPRINTEREX; @@ -1538,7 +1538,7 @@ SPOOL_Q_ADDPRINTERDRIVER; typedef struct spool_r_addprinterdriver { - uint32 status; + NTSTATUS status; } SPOOL_R_ADDPRINTERDRIVER; @@ -1571,7 +1571,7 @@ typedef struct spool_r_getprinterdriverdirectory { NEW_BUFFER *buffer; uint32 needed; - uint32 status; + NTSTATUS status; } SPOOL_R_GETPRINTERDRIVERDIR; @@ -1587,7 +1587,7 @@ SPOOL_Q_ADDPRINTPROCESSOR; typedef struct spool_r_addprintprocessor { - uint32 status; + NTSTATUS status; } SPOOL_R_ADDPRINTPROCESSOR; @@ -1615,7 +1615,7 @@ typedef struct spool_r_enumprintprocessors NEW_BUFFER *buffer; uint32 needed; uint32 returned; - uint32 status; + NTSTATUS status; } SPOOL_R_ENUMPRINTPROCESSORS; @@ -1642,7 +1642,7 @@ typedef struct spool_r_enumprintprocdatatypes NEW_BUFFER *buffer; uint32 needed; uint32 returned; - uint32 status; + NTSTATUS status; } SPOOL_R_ENUMPRINTPROCDATATYPES; @@ -1675,7 +1675,7 @@ typedef struct spool_r_enumprintmonitors NEW_BUFFER *buffer; uint32 needed; uint32 returned; - uint32 status; + NTSTATUS status; } SPOOL_R_ENUMPRINTMONITORS; @@ -1698,7 +1698,7 @@ typedef struct spool_r_enumprinterdata uint32 datasize; uint8 *data; uint32 realdatasize; - uint32 status; + NTSTATUS status; } SPOOL_R_ENUMPRINTERDATA; @@ -1716,7 +1716,7 @@ SPOOL_Q_SETPRINTERDATA; typedef struct spool_r_setprinterdata { - uint32 status; + NTSTATUS status; } SPOOL_R_SETPRINTERDATA; @@ -1745,7 +1745,7 @@ SPOOL_Q_ADDFORM; typedef struct spool_r_addform { - uint32 status; + NTSTATUS status; } SPOOL_R_ADDFORM; @@ -1761,7 +1761,7 @@ SPOOL_Q_SETFORM; typedef struct spool_r_setform { - uint32 status; + NTSTATUS status; } SPOOL_R_SETFORM; @@ -1774,7 +1774,7 @@ SPOOL_Q_DELETEFORM; typedef struct spool_r_deleteform { - uint32 status; + NTSTATUS status; } SPOOL_R_DELETEFORM; @@ -1805,7 +1805,7 @@ typedef struct spool_r_getjob { NEW_BUFFER *buffer; uint32 needed; - uint32 status; + NTSTATUS status; } SPOOL_R_GETJOB; @@ -1822,7 +1822,7 @@ SPOOL_Q_REPLYOPENPRINTER; typedef struct spool_r_replyopenprinter { POLICY_HND handle; - uint32 status; + NTSTATUS status; } SPOOL_R_REPLYOPENPRINTER; @@ -1835,7 +1835,7 @@ SPOOL_Q_REPLYCLOSEPRINTER; typedef struct spool_r_replycloseprinter { POLICY_HND handle; - uint32 status; + NTSTATUS status; } SPOOL_R_REPLYCLOSEPRINTER; @@ -1854,7 +1854,7 @@ SPOOL_Q_REPLY_RRPCN; typedef struct spool_r_rrpcn { uint32 unknown0; - uint32 status; + NTSTATUS status; } SPOOL_R_REPLY_RRPCN; -- cgit