summaryrefslogtreecommitdiff
path: root/source4/lib/com
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-16 07:22:53 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-16 07:22:53 +0200
commit5062d4c16a67f0b41ea18db39af755cdcca1d57b (patch)
tree7c3b89570b9836f8677f25fbf98ca0fc276e3c2d /source4/lib/com
parentdb872cfe3713315a5163bf0db8e9644019c9c664 (diff)
downloadsamba-5062d4c16a67f0b41ea18db39af755cdcca1d57b.tar.gz
samba-5062d4c16a67f0b41ea18db39af755cdcca1d57b.tar.bz2
samba-5062d4c16a67f0b41ea18db39af755cdcca1d57b.zip
Fix more WMI compilation issues.
Diffstat (limited to 'source4/lib/com')
-rw-r--r--source4/lib/com/dcom/dcom.h10
-rw-r--r--source4/lib/com/dcom/main.c2
2 files changed, 11 insertions, 1 deletions
diff --git a/source4/lib/com/dcom/dcom.h b/source4/lib/com/dcom/dcom.h
index 0d8c145d7e..56d6eac93c 100644
--- a/source4/lib/com/dcom/dcom.h
+++ b/source4/lib/com/dcom/dcom.h
@@ -72,4 +72,14 @@ struct composite_context *dcom_release_send(struct IUnknown *d, TALLOC_CTX *mem_
marshal_fn dcom_marshal_by_clsid(struct GUID *clsid);
unmarshal_fn dcom_unmarshal_by_clsid(struct GUID *clsid);
+struct dcom_proxy_async_call_state {
+ struct IUnknown *d;
+ const struct ndr_interface_table *table;
+ uint32_t opnum;
+ void (*continuation)(struct rpc_request *);
+ TALLOC_CTX *mem_ctx;
+ void *r;
+};
+
+
#endif /* _DCOM_H */
diff --git a/source4/lib/com/dcom/main.c b/source4/lib/com/dcom/main.c
index 2770897ca3..3d2c13587d 100644
--- a/source4/lib/com/dcom/main.c
+++ b/source4/lib/com/dcom/main.c
@@ -576,7 +576,7 @@ enum ndr_err_code dcom_IUnknown_from_OBJREF(struct com_context *ctx, struct IUnk
/* FIXME: Do the custom unmarshaling call */
*_p = p;
- return NT_STATUS_NOT_SUPPORTED;
+ return NDR_ERR_BAD_SWITCH;
case OBJREF_CUSTOM:
p = talloc_zero(ctx, struct IUnknown);