summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr/spoolss.h
diff options
context:
space:
mode:
Diffstat (limited to 'librpc/gen_ndr/spoolss.h')
-rw-r--r--librpc/gen_ndr/spoolss.h65
1 files changed, 4 insertions, 61 deletions
diff --git a/librpc/gen_ndr/spoolss.h b/librpc/gen_ndr/spoolss.h
index da0d26dcfb..e9b4d20175 100644
--- a/librpc/gen_ndr/spoolss.h
+++ b/librpc/gen_ndr/spoolss.h
@@ -3114,41 +3114,13 @@ struct spoolss_GetPrinterData {
};
-struct _spoolss_SetPrinterData {
- struct {
- struct policy_handle *handle;/* [ref] */
- const char *value_name;/* [charset(UTF16)] */
- enum winreg_Type type;
- DATA_BLOB data;
- uint32_t _offered;
- } in;
-
- struct {
- WERROR result;
- } out;
-
-};
-
-
-struct __spoolss_SetPrinterData {
- struct {
- enum winreg_Type type;
- } in;
-
- struct {
- union spoolss_PrinterData *data;/* [ref,switch_is(type)] */
- } out;
-
-};
-
-
struct spoolss_SetPrinterData {
struct {
struct policy_handle *handle;/* [ref] */
const char *value_name;/* [charset(UTF16)] */
enum winreg_Type type;
- union spoolss_PrinterData data;/* [subcontext(4),switch_is(type)] */
- uint32_t _offered;/* [value(ndr_size_spoolss_PrinterData(&data,type,ndr->iconv_convenience,flags))] */
+ uint8_t *data;/* [ref,size_is(offered)] */
+ uint32_t offered;
} in;
struct {
@@ -3872,43 +3844,14 @@ struct spoolss_4c {
};
-struct _spoolss_SetPrinterDataEx {
- struct {
- struct policy_handle *handle;/* [ref] */
- const char *key_name;/* [charset(UTF16)] */
- const char *value_name;/* [charset(UTF16)] */
- enum winreg_Type type;
- DATA_BLOB data;
- uint32_t _offered;
- } in;
-
- struct {
- WERROR result;
- } out;
-
-};
-
-
-struct __spoolss_SetPrinterDataEx {
- struct {
- enum winreg_Type type;
- } in;
-
- struct {
- union spoolss_PrinterData *data;/* [ref,switch_is(type)] */
- } out;
-
-};
-
-
struct spoolss_SetPrinterDataEx {
struct {
struct policy_handle *handle;/* [ref] */
const char *key_name;/* [charset(UTF16)] */
const char *value_name;/* [charset(UTF16)] */
enum winreg_Type type;
- union spoolss_PrinterData data;/* [subcontext(4),switch_is(type)] */
- uint32_t _offered;/* [value(ndr_size_spoolss_PrinterData(&data,type,ndr->iconv_convenience,flags))] */
+ uint8_t *data;/* [ref,size_is(offered)] */
+ uint32_t offered;
} in;
struct {