summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/orpc.idl14
-rw-r--r--source4/librpc/ndr/ndr_orpc.h2
2 files changed, 16 insertions, 0 deletions
diff --git a/source4/librpc/idl/orpc.idl b/source4/librpc/idl/orpc.idl
index 1934a3cbed..377f71b34f 100644
--- a/source4/librpc/idl/orpc.idl
+++ b/source4/librpc/idl/orpc.idl
@@ -200,4 +200,18 @@ interface ObjectRpcBaseTypes
uint32 size;
[subcontext(4)] OBJREF obj;
} MInterfacePointer;
+
+ typedef [v1_enum,public] enum
+ {
+ COM_OK = 0x00000000,
+ COM_OUTOFMEMORY = 0x80000002,
+ COM_INVALIDARG = 0x80000003,
+ COM_NOINTERFACE = 0x80000004,
+ COM_ACCESSDENIED = 0x80000005,
+ COM_INVALID_OXID = 0x80070776,
+ COM_INVALID_OID = 0x80070777,
+ COM_INVALID_SET = 0x80070778,
+ COM_UNEXPECTED = 0x8000FFFF,
+ COM_CLSNOTFOUND = 0x80040154
+ } COMRESULT;
}
diff --git a/source4/librpc/ndr/ndr_orpc.h b/source4/librpc/ndr/ndr_orpc.h
index d1817969a4..ab91432aec 100644
--- a/source4/librpc/ndr/ndr_orpc.h
+++ b/source4/librpc/ndr/ndr_orpc.h
@@ -23,6 +23,8 @@
#ifndef __NDR_ORPC_H__
#define __NDR_ORPC_H__
+typedef enum COMRESULT COMRESULT;
+
struct STRINGARRAY
{
struct STRINGBINDING **stringbindings;