remact: use imp_levels enum in RemoteActivation IDL.
authorGünther Deschner <gd@samba.org>
Tue, 21 Jul 2015 20:28:32 +0000 (22:28 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 30 Jul 2015 23:55:28 +0000 (01:55 +0200)
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
librpc/idl/remact.idl

index dcf99557544f813f8032d8d9e7cbcdc3cc888bb5..77134e7eee4b156498ad597e4ae85272c78e8006 100644 (file)
@@ -12,8 +12,7 @@ import "misc.idl", "orpc.idl";
 ]
 interface IRemoteActivation
 {
-       typedef enum
-       {
+       typedef [v1_enum] enum {
                RPC_C_IMP_LEVEL_DEFAULT = 0,
                RPC_C_IMP_LEVEL_ANONYMOUS = 1,
                RPC_C_IMP_LEVEL_IDENTIFY = 2,
@@ -29,7 +28,7 @@ interface IRemoteActivation
                [in] GUID Clsid,
                [in] [unique,string,charset(UTF16)] uint16 *pwszObjectName,
                [in] [unique] MInterfacePointer *pObjectStorage,
-               [in] uint32 ClientImpLevel,
+               [in] imp_levels ClientImpLevel,
                [in] uint32 Mode,
                [in,range(1,32768)] uint32 Interfaces,
                [in,unique,size_is(Interfaces)] GUID *pIIDs,