ReactOS 0.4.16-dev-2320-ge1853c6
orpc.idl
Go to the documentation of this file.
1/*
2 * Copyright 2003 Ove Kåven, TransGaming Technologies
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19#pragma makedep header
20
21import "unknwn.idl";
22
23[
24 uuid(99fcfe60-5260-101b-bbcb-00aa0021347a),
26]
28{
29 typedef unsigned hyper ID;
30 typedef ID MID;
31 typedef ID OXID;
32 typedef ID OID;
33 typedef ID SETID;
34 typedef GUID IPID;
35 typedef GUID CID;
37
38 const unsigned short COM_MINOR_VERSION_1 = 1;
39 const unsigned short COM_MINOR_VERSION_2 = 2;
40
41 const unsigned short COM_MAJOR_VERSION = 5;
42 const unsigned short COM_MINOR_VERSION = 3;
43
44 typedef struct tagCOMVERSION
45 {
46 unsigned short MajorVersion;
47 unsigned short MinorVersion;
49
50 const unsigned long ORPCF_NULL = 0;
51 const unsigned long ORPCF_LOCAL = 1;
52 const unsigned long ORPCF_RESERVED1 = 2;
53 const unsigned long ORPCF_RESERVED2 = 4;
54 const unsigned long ORPCF_RESERVED3 = 8;
55 const unsigned long ORPCF_RESERVED4 = 16;
56
57 typedef struct tagORPC_EXTENT
58 {
60 unsigned long size;
61 [size_is((size + 7) & ~7)] byte data[];
63
64 typedef struct tagORPC_EXTENT_ARRAY
65 {
66 unsigned long size;
67 unsigned long reserved;
68 [size_is((size + 1) & ~1,), unique] ORPC_EXTENT **extent;
70
71 typedef struct tagORPCTHIS
72 {
74 unsigned long flags;
75 unsigned long reserved1;
79
80 typedef struct tagORPCTHAT
81 {
82 unsigned long flags;
85
86 const unsigned short NCADG_IP_UDP = 0x08;
87 const unsigned short NCACN_IP_TCP = 0x07;
88 const unsigned short NCADG_IPX = 0x0E;
89 const unsigned short NCACN_SPX = 0x0C;
90 const unsigned short NCACN_NB_NB = 0x12;
91 const unsigned short NCACN_NB_IPX = 0x0D;
92 const unsigned short NCACN_DNET_NSP = 0x04;
93 const unsigned short NCACN_HTTP = 0x1F;
94
95 typedef struct tagSTRINGBINDING
96 {
97 unsigned short wTowerId;
100
101 const unsigned short COM_C_AUTHZ_NONE = 0xffff;
102
103 typedef struct tagSECURITYBINDING
104 {
105 unsigned short wAuthnSvc;
106 unsigned short wAuthzSvc;
109
110 typedef struct tagDUALSTRINGARRAY
111 {
112 unsigned short wNumEntries;
113 unsigned short wSecurityOffset;
114 [size_is(wNumEntries)] unsigned short aStringArray[];
116
117 typedef struct tagOXID_INFO
118 {
125
126 const unsigned long OBJREF_SIGNATURE = 0x574f454d; /* "MEOW" */
127 const unsigned long OBJREF_STANDARD = 0x1;
128 const unsigned long OBJREF_HANDLER = 0x2;
129 const unsigned long OBJREF_CUSTOM = 0x4;
130 const unsigned long SORF_OXRES1 = 0x1;
131 const unsigned long SORF_OXRES2 = 0x20;
132 const unsigned long SORF_OXRES3 = 0x40;
133 const unsigned long SORF_OXRES4 = 0x80;
134 const unsigned long SORF_OXRES5 = 0x100;
135 const unsigned long SORF_OXRES6 = 0x200;
136 const unsigned long SORF_OXRES7 = 0x400;
137 const unsigned long SORF_OXRES8 = 0x800;
138 const unsigned long SORF_NULL = 0x0;
139 const unsigned long SORF_NOPING = 0x1000;
140
141 typedef struct tagSTDOBJREF
142 {
143 unsigned long flags;
144 unsigned long cPublicRefs;
149
150 typedef struct tagOBJREF
151 {
152 unsigned long signature;
153 unsigned long flags;
155 [switch_is(flags)]
156 union
157 {
158 [case(OBJREF_STANDARD)]
159 struct OR_STANDARD
160 {
164
165 [case(OBJREF_HANDLER)]
166 struct OR_HANDLER
167 {
170 DUALSTRINGARRAY saResAddr;
172
173 [case(OBJREF_CUSTOM)]
174 struct OR_CUSTOM
175 {
176 CLSID clsid;
177 unsigned long cbExtension;
179 [size_is(size), ref] byte *pData;
183
184 typedef struct tagMInterfacePointer
185 {
187 [size_is(ulCntData)] BYTE abData[];
189
191}
unsigned long DWORD
Definition: ntddk_ex.h:95
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLsizeiptr size
Definition: glext.h:5919
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
GLbitfield flags
Definition: glext.h:7161
struct ObjectRpcBaseTypes::tagOXID_INFO OXID_INFO
struct ObjectRpcBaseTypes::tagORPC_EXTENT_ARRAY ORPC_EXTENT_ARRAY
const unsigned long SORF_OXRES1
Definition: orpc.idl:130
const unsigned long SORF_OXRES8
Definition: orpc.idl:137
const unsigned long SORF_OXRES2
Definition: orpc.idl:131
struct ObjectRpcBaseTypes::tagORPC_EXTENT ORPC_EXTENT
const unsigned short NCACN_NB_IPX
Definition: orpc.idl:91
const unsigned long ORPCF_RESERVED1
Definition: orpc.idl:52
const unsigned short COM_MINOR_VERSION
Definition: orpc.idl:42
const unsigned short NCADG_IP_UDP
Definition: orpc.idl:86
const unsigned short NCACN_SPX
Definition: orpc.idl:89
REFGUID REFIPID
Definition: orpc.idl:36
const unsigned long OBJREF_HANDLER
Definition: orpc.idl:128
const unsigned short COM_MINOR_VERSION_2
Definition: orpc.idl:39
const unsigned long ORPCF_NULL
Definition: orpc.idl:50
const unsigned long SORF_OXRES6
Definition: orpc.idl:135
const unsigned short NCACN_DNET_NSP
Definition: orpc.idl:92
struct ObjectRpcBaseTypes::tagMInterfacePointer MInterfacePointer
struct ObjectRpcBaseTypes::tagSECURITYBINDING SECURITYBINDING
struct ObjectRpcBaseTypes::tagORPCTHIS ORPCTHIS
const unsigned long ORPCF_RESERVED3
Definition: orpc.idl:54
const unsigned long SORF_OXRES3
Definition: orpc.idl:132
const unsigned long ORPCF_LOCAL
Definition: orpc.idl:51
const unsigned short NCACN_IP_TCP
Definition: orpc.idl:87
const unsigned long SORF_NULL
Definition: orpc.idl:138
const unsigned short COM_C_AUTHZ_NONE
Definition: orpc.idl:101
const unsigned long OBJREF_STANDARD
Definition: orpc.idl:127
const unsigned long SORF_OXRES5
Definition: orpc.idl:134
const unsigned long OBJREF_SIGNATURE
Definition: orpc.idl:126
const unsigned short NCACN_NB_NB
Definition: orpc.idl:90
struct ObjectRpcBaseTypes::tagCOMVERSION COMVERSION
struct ObjectRpcBaseTypes::tagDUALSTRINGARRAY DUALSTRINGARRAY
const unsigned short COM_MINOR_VERSION_1
Definition: orpc.idl:38
const unsigned long ORPCF_RESERVED2
Definition: orpc.idl:53
const unsigned long SORF_OXRES7
Definition: orpc.idl:136
const unsigned short COM_MAJOR_VERSION
Definition: orpc.idl:41
unsigned hyper ID
Definition: orpc.idl:29
struct ObjectRpcBaseTypes::tagSTRINGBINDING STRINGBINDING
const unsigned short NCACN_HTTP
Definition: orpc.idl:93
const unsigned long SORF_OXRES4
Definition: orpc.idl:133
const unsigned long SORF_NOPING
Definition: orpc.idl:139
struct ObjectRpcBaseTypes::tagSTDOBJREF STDOBJREF
struct ObjectRpcBaseTypes::tagORPCTHAT ORPCTHAT
MInterfacePointer * PMInterfacePointer
Definition: orpc.idl:190
const unsigned short NCADG_IPX
Definition: orpc.idl:88
const unsigned long ORPCF_RESERVED4
Definition: orpc.idl:55
struct ObjectRpcBaseTypes::tagOBJREF OBJREF
const unsigned long OBJREF_CUSTOM
Definition: orpc.idl:129
Definition: msctf.idl:532
char string[160]
Definition: util.h:11
const CLSID * clsid
Definition: msctf.cpp:50
Definition: features.h:417
INT64 hyper
Definition: rpcndr.h:77
unsigned short MinorVersion
Definition: orpc.idl:47
unsigned short MajorVersion
Definition: orpc.idl:46
union ObjectRpcBaseTypes::tagOBJREF::@4148 u_objref
DUALSTRINGARRAY saResAddr
Definition: orpc.idl:162
struct ObjectRpcBaseTypes::tagOBJREF::@4148::OR_HANDLER u_handler
unsigned long signature
Definition: orpc.idl:152
unsigned long cbExtension
Definition: orpc.idl:177
struct ObjectRpcBaseTypes::tagOBJREF::@4148::OR_CUSTOM u_custom
struct ObjectRpcBaseTypes::tagOBJREF::@4148::OR_STANDARD u_standard
ORPC_EXTENT_ARRAY * extensions
Definition: orpc.idl:83
ORPC_EXTENT_ARRAY * extensions
Definition: orpc.idl:77
DUALSTRINGARRAY * psa
Definition: orpc.idl:123
Definition: scsiwmi.h:51
Definition: send.c:48
uint32_t ULONG
Definition: typedefs.h:59
ncacn_np pointer_default(unique)] interface winspool
Definition: winspool.idl:865
__wchar_t WCHAR
Definition: xmlstorage.h:180
unsigned char BYTE
Definition: xxhash.c:193