From 4f3d66b0dfe49d5485eafce52f3abf4c6581bf57 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 19 Jul 2005 19:21:40 +0000 Subject: r8614: Add COMRESULT/HRESULT scalar type (This used to be commit 8637a85e6a349cce15a298154500921e9a0183a3) --- source4/librpc/idl/orpc.idl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'source4/librpc/idl/orpc.idl') 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; } -- cgit