1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

Initial version of printer info 1 for tridge.

(This used to be commit 03185769be43133df1f6e33b604d9c41c8f2e194)
This commit is contained in:
Tim Potter 2003-11-16 06:08:43 +00:00
parent 4e959703a2
commit 7ca3720acb

View File

@ -7,6 +7,22 @@
pointer_default(unique)
] interface spoolss
{
typedef struct {
uint32 flags;
unistr description;
unistr name;
unistr comment;
} spoolss_PrinterInfo1;
typedef union {
case(1) spoolss_PrinterInfo1 info1;
} spoolssPrinterInfo;
typedef struct {
uint32 len;
spoolssPrinterInfo *info;
} spoolss_PrinterInfoBuffer;
/******************/
/* Function: 0x00 */
NTSTATUS spoolss_EnumPrinters(
@ -36,7 +52,15 @@
/******************/
/* Function: 0x04 */
NTSTATUS spoolss_04(
NTSTATUS spoolss_EnumJobs(
[in,ref] policy_handle *handle,
[in] uint32 firstjob,
[in] uint32 numjobs,
[in] uint32 level,
[in,out] uint8_buf *buffer,
[in] uint32 offered,
[out] uint32 needed,
[out] uint32 numjobs
);
/******************/
@ -56,7 +80,13 @@
/******************/
/* Function: 0x08 */
NTSTATUS spoolss_08(
NTSTATUS spoolss_GetPrinter(
[in,ref] policy_handle *handle,
[in] uint32 level,
[in,out] uint8_buf *buffer,
[in] uint32 offered,
[out] uint32 needed,
[out] uint32 returned
);
/******************/
@ -106,7 +136,8 @@
/******************/
/* Function: 0x12 */
NTSTATUS spoolss_12(
NTSTATUS spoolss_StartPagePrinter(
[in,ref] policy_handle *handle
);
/******************/
@ -116,7 +147,8 @@
/******************/
/* Function: 0x14 */
NTSTATUS spoolss_14(
NTSTATUS spoolss_EndPagePrinter(
[in,ref] policy_handle *handle
);
/******************/
@ -131,7 +163,7 @@
/******************/
/* Function: 0x17 */
NTSTATUS spoolss_17(
NTSTATUS spoolss_EndDocPrinter(
);
/******************/
@ -407,7 +439,17 @@
/******************/
/* Function: 0x48 */
NTSTATUS spoolss_48(
NTSTATUS spoolss_EnumPrinterData(
[in,ref] policy_handle *handle,
[in] uint32 enum_index,
[in] uint32 value_offered,
[in] uint32 data_offered,
[out] uint32 value_len,
[out] unistr value_name,
[out] uint32 value_needed,
[out] uint32 printerdata_type,
[out] uint8_buf printerdata,
[out] uint32 data_needed
);
/******************/