r3428: switched to using minimal includes for the auto-generated RPC code.
[kai/samba.git] / source4 / librpc / idl / remact.idl
1 #include "idl_types.h"
2
3 /**
4   DCOM interfaces
5   http://www.grimes.demon.co.uk/DCOM/DCOMSpec.htm
6  */
7
8 #define IPID GUID
9 #define HRESULT uint32
10
11 [
12         uuid("4d9f4ab8-7d1c-11cf-861e-0020af6e7c57"),
13         pointer_default(unique),
14         depends(dcom)
15 ]
16 interface IRemoteActivation
17 {
18         typedef enum 
19         {
20                 RPC_C_IMP_LEVEL_DEFAULT = 0,
21                 RPC_C_IMP_LEVEL_ANONYMOUS = 1,
22                 RPC_C_IMP_LEVEL_IDENTIFY = 2,
23                 RPC_C_IMP_LEVEL_IMPERSONATE = 3,
24                 RPC_C_IMP_LEVEL_DELEGATE = 4
25         } imp_levels;
26
27         const uint32 MODE_GET_CLASS_OBJECT = 0xffffffff;
28         WERROR RemoteActivation (
29                         [in] ORPCTHIS this,
30                         [out] ORPCTHAT that,
31                         [in] GUID Clsid,
32                         [in, unique] unistr *pwszObjectName,
33                         [in, unique] MInterfacePointer *pObjectStorage,
34                         [in] uint32 ClientImpLevel,
35                         [in] uint32 Mode,
36                         [in] uint32 Interfaces,
37                         [in, unique,size_is(Interfaces)] GUID *pIIDs,
38                         [in] uint16 num_protseqs,
39                         [in, size_is(num_protseqs)] uint16 protseq[],
40                         [out] HYPER_T pOxid,
41                         [out] DUALSTRINGARRAY *pdsaOxidBindings,
42                         [out] IPID ipidRemUnknown,
43                         [out] uint32 AuthnHint,
44                         [out] COMVERSION ServerVersion,
45                         [out] HRESULT hr,
46                         [out,size_is(Interfaces)] MInterfacePointer ifaces[],
47                         [out,size_is(Interfaces)] HRESULT results[]
48                         );
49 }