Rev 11507: Fill in IDL for ReplyOpenPrinter. in
file:///home/jelmer/bzr.samba/SAMBA_4_0/
Jelmer Vernooij
jelmer at samba.org
Sun Feb 18 00:31:04 GMT 2007
At file:///home/jelmer/bzr.samba/SAMBA_4_0/
------------------------------------------------------------
revno: 11507
revision-id: jelmer at samba.org-20070218003055-80z3rswwe279yelu
parent: svn-v2:21413 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: SAMBA_4_0
timestamp: Sun 2007-02-18 01:30:55 +0100
message:
Fill in IDL for ReplyOpenPrinter.
modified:
source/librpc/idl/spoolss.idl svn-v2:6 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2flibrpc%2fidl%2fspoolss.idl
=== modified file 'source/librpc/idl/spoolss.idl'
--- a/source/librpc/idl/spoolss.idl 2006-11-06 22:54:49 +0000
+++ b/source/librpc/idl/spoolss.idl 2007-02-18 00:30:55 +0000
@@ -3,7 +3,7 @@
/*
spoolss interface definitions
*/
-import "security.idl";
+import "security.idl", "winreg.idl";
[ uuid("12345678-1234-abcd-ef00-0123456789ab"),
version(1.0),
@@ -14,6 +14,7 @@
helper("librpc/ndr/ndr_spoolss_buf.h")
] interface spoolss
{
+ declare [v1_enum] enum winreg_Type;
typedef struct {
uint16 year;
uint16 month;
@@ -287,7 +288,7 @@
[subcontext(4),subcontext_size(_ndr_size)] spoolss_DeviceMode *devmode;
} spoolss_DevmodeContainer;
- WERROR spoolss_OpenPrinter(
+ [public] WERROR spoolss_OpenPrinter(
[in] [string,charset(UTF16)] uint16 *printername,
[in] [string,charset(UTF16)] uint16 *datatype,
[in] spoolss_DevmodeContainer devmode_ctr,
@@ -431,7 +432,7 @@
/******************/
/* Function: 0x08 */
- WERROR spoolss_GetPrinter(
+ [public] WERROR spoolss_GetPrinter(
[in,ref] policy_handle *handle,
[in] uint32 level,
[in] DATA_BLOB *buffer,
@@ -774,7 +775,7 @@
[in] spoolss_PrinterDataType type,
[out,switch_is(type)] spoolss_PrinterData data
);
- [nopull,nopush] WERROR spoolss_GetPrinterData(
+ [nopull,nopush,public] WERROR spoolss_GetPrinterData(
[in,ref] policy_handle *handle,
[in] [string,charset(UTF16)] uint16 value_name[],
[in] uint32 offered,
@@ -811,7 +812,7 @@
/******************/
/* Function: 0x1d */
- WERROR spoolss_ClosePrinter(
+ [public] WERROR spoolss_ClosePrinter(
[in,out,ref] policy_handle *handle
);
@@ -1135,7 +1136,13 @@
/******************/
/* Function: 0x3a */
- WERROR spoolss_ReplyOpenPrinter(
+ [public] WERROR spoolss_ReplyOpenPrinter(
+ [in,string,charset(UTF16)] uint16 server_name[],
+ [in] uint32 printer_local,
+ [in] winreg_Type type,
+ [in] uint32 unknown1,
+ [in] uint32 unknown2,
+ [out,ref] policy_handle *handle
);
/******************/
@@ -1226,7 +1233,7 @@
/******************/
/* Function: 0x45 */
- WERROR spoolss_OpenPrinterEx(
+ [public] WERROR spoolss_OpenPrinterEx(
[in] [string,charset(UTF16)] uint16 *printername,
[in] [string,charset(UTF16)] uint16 *datatype,
[in] spoolss_DevmodeContainer devmode_ctr,
More information about the samba-cvs
mailing list