3 /* this ALWAYS GENERATED file contains the RPC client stubs */
6 /* File created by MIDL compiler version 8.00.0595 */
7 /* at Thu Oct 18 15:24:14 2012
9 /* Compiler settings for KMSServer.idl:
10 Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0595
11 protocol : dce , ms_ext, c_ext, robust
12 error checks: allocation ref bounds_check enum stub_data
13 VC __declspec() decoration level:
14 __declspec(uuid()), __declspec(selectany), __declspec(novtable)
15 DECLSPEC_UUID(), MIDL_INTERFACE()
17 /* @@MIDL_FILE_HEADING( ) */
19 #if !defined(_M_IA64) && !defined(_M_AMD64) && !defined(_ARM_)
22 #pragma warning( disable: 4049 ) /* more than 64k source lines */
27 #pragma warning( disable: 4211 ) /* redefine extern to static */
28 #pragma warning( disable: 4232 ) /* dllimport identity*/
29 #pragma warning( disable: 4024 ) /* array to pointer mapping*/
30 #pragma warning( disable: 4100 ) /* unreferenced arguments in x86 call */
32 #pragma optimize("", off )
36 #include "KMSServer_h.h"
38 #define TYPE_FORMAT_STRING_SIZE 43
39 #define PROC_FORMAT_STRING_SIZE 59
40 #define EXPR_FORMAT_STRING_SIZE 1
41 #define TRANSMIT_AS_TABLE_SIZE 0
42 #define WIRE_MARSHAL_TABLE_SIZE 0
44 typedef struct _KMSServer_MIDL_TYPE_FORMAT_STRING
47 unsigned char Format
[ TYPE_FORMAT_STRING_SIZE
];
48 } KMSServer_MIDL_TYPE_FORMAT_STRING
;
50 typedef struct _KMSServer_MIDL_PROC_FORMAT_STRING
53 unsigned char Format
[ PROC_FORMAT_STRING_SIZE
];
54 } KMSServer_MIDL_PROC_FORMAT_STRING
;
56 typedef struct _KMSServer_MIDL_EXPR_FORMAT_STRING
59 unsigned char Format
[ EXPR_FORMAT_STRING_SIZE
];
60 } KMSServer_MIDL_EXPR_FORMAT_STRING
;
63 static const RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax
=
64 {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
67 extern const KMSServer_MIDL_TYPE_FORMAT_STRING KMSServer__MIDL_TypeFormatString
;
68 extern const KMSServer_MIDL_PROC_FORMAT_STRING KMSServer__MIDL_ProcFormatString
;
69 extern const KMSServer_MIDL_EXPR_FORMAT_STRING KMSServer__MIDL_ExprFormatString
;
71 #define GENERIC_BINDING_TABLE_SIZE 0
74 /* Standard interface: KMSServer, ver. 1.0,
75 GUID={0x51C82175,0x844E,0x4750,{0xB0,0xD8,0xEC,0x25,0x55,0x55,0xBC,0x06}} */
79 static const RPC_CLIENT_INTERFACE KMSServer___RpcClientInterface
=
81 sizeof(RPC_CLIENT_INTERFACE
),
82 {{0x51C82175,0x844E,0x4750,{0xB0,0xD8,0xEC,0x25,0x55,0x55,0xBC,0x06}},{1,0}},
83 {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}},
91 RPC_IF_HANDLE KMSServer_v1_0_c_ifspec
= (RPC_IF_HANDLE
)& KMSServer___RpcClientInterface
;
93 extern const MIDL_STUB_DESC KMSServer_StubDesc
;
95 static RPC_BINDING_HANDLE KMSServer__MIDL_AutoBindHandle
;
98 int RequestActivation(
99 /* [in] */ handle_t IDL_handle
,
100 /* [in] */ int requestSize
,
101 /* [size_is][in] */ unsigned char *request
,
102 /* [out] */ int *responseSize
,
103 /* [size_is][size_is][out] */ unsigned char **response
)
106 CLIENT_CALL_RETURN _RetVal
;
108 _RetVal
= NdrClientCall2(
109 ( PMIDL_STUB_DESC
)&KMSServer_StubDesc
,
110 (PFORMAT_STRING
) &KMSServer__MIDL_ProcFormatString
.Format
[0],
111 ( unsigned char * )&IDL_handle
);
112 return ( int )_RetVal
.Simple
;
117 #if !defined(__RPC_WIN32__)
118 #error Invalid build platform for this stub.
121 #if !(TARGET_IS_NT50_OR_LATER)
122 #error You need Windows 2000 or later to run this stub because it uses these features:
123 #error /robust command line switch.
124 #error However, your C/C++ compilation flags indicate you intend to run this app on earlier systems.
125 #error This app will fail with the RPC_X_WRONG_STUB_VERSION error.
128 #if !MULTI_CALL_BINARY
129 /*static*/ const KMSServer_MIDL_PROC_FORMAT_STRING KMSServer__MIDL_ProcFormatString
=
134 /* Procedure RequestActivation */
137 0x48, /* Old Flags: */
138 /* 2 */ NdrFcLong( 0x0 ), /* 0 */
139 /* 6 */ NdrFcShort( 0x0 ), /* 0 */
140 /* 8 */ NdrFcShort( 0x18 ), /* x86 Stack size/offset = 24 */
141 /* 10 */ 0x32, /* FC_BIND_PRIMITIVE */
143 /* 12 */ NdrFcShort( 0x0 ), /* x86 Stack size/offset = 0 */
144 /* 14 */ NdrFcShort( 0x8 ), /* 8 */
145 /* 16 */ NdrFcShort( 0x24 ), /* 36 */
146 /* 18 */ 0x47, /* Oi2 Flags: srv must size, clt must size, has return, has ext, */
148 /* 20 */ 0x8, /* 8 */
149 0x7, /* Ext Flags: new corr desc, clt corr check, srv corr check, */
150 /* 22 */ NdrFcShort( 0x1 ), /* 1 */
151 /* 24 */ NdrFcShort( 0x1 ), /* 1 */
152 /* 26 */ NdrFcShort( 0x0 ), /* 0 */
154 /* Parameter IDL_handle */
156 /* 28 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
157 /* 30 */ NdrFcShort( 0x4 ), /* x86 Stack size/offset = 4 */
158 /* 32 */ 0x8, /* FC_LONG */
161 /* Parameter requestSize */
163 /* 34 */ NdrFcShort( 0x10b ), /* Flags: must size, must free, in, simple ref, */
164 /* 36 */ NdrFcShort( 0x8 ), /* x86 Stack size/offset = 8 */
165 /* 38 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
167 /* Parameter request */
169 /* 40 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
170 /* 42 */ NdrFcShort( 0xc ), /* x86 Stack size/offset = 12 */
171 /* 44 */ 0x8, /* FC_LONG */
174 /* Parameter responseSize */
176 /* 46 */ NdrFcShort( 0x2013 ), /* Flags: must size, must free, out, srv alloc size=8 */
177 /* 48 */ NdrFcShort( 0x10 ), /* x86 Stack size/offset = 16 */
178 /* 50 */ NdrFcShort( 0x16 ), /* Type Offset=22 */
180 /* Parameter response */
182 /* 52 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
183 /* 54 */ NdrFcShort( 0x14 ), /* x86 Stack size/offset = 20 */
184 /* 56 */ 0x8, /* FC_LONG */
191 /*static*/ const KMSServer_MIDL_TYPE_FORMAT_STRING KMSServer__MIDL_TypeFormatString
=
195 NdrFcShort( 0x0 ), /* 0 */
197 0x11, 0x0, /* FC_RP */
198 /* 4 */ NdrFcShort( 0x2 ), /* Offset= 2 (6) */
200 0x1b, /* FC_CARRAY */
202 /* 8 */ NdrFcShort( 0x1 ), /* 1 */
203 /* 10 */ 0x28, /* Corr desc: parameter, FC_LONG */
205 /* 12 */ NdrFcShort( 0x4 ), /* x86 Stack size/offset = 4 */
206 /* 14 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
207 /* 16 */ 0x2, /* FC_CHAR */
210 0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
211 /* 20 */ 0x8, /* FC_LONG */
214 0x11, 0x14, /* FC_RP [alloced_on_stack] [pointer_deref] */
215 /* 24 */ NdrFcShort( 0x2 ), /* Offset= 2 (26) */
217 0x12, 0x0, /* FC_UP */
218 /* 28 */ NdrFcShort( 0x2 ), /* Offset= 2 (30) */
220 0x1b, /* FC_CARRAY */
222 /* 32 */ NdrFcShort( 0x1 ), /* 1 */
223 /* 34 */ 0x28, /* Corr desc: parameter, FC_LONG */
224 0x54, /* FC_DEREFERENCE */
225 /* 36 */ NdrFcShort( 0xc ), /* x86 Stack size/offset = 12 */
226 /* 38 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
227 /* 40 */ 0x2, /* FC_CHAR */
234 #endif // !MULTI_CALL_BINARY
236 static const unsigned short KMSServer_FormatStringOffsetTable
[] =
241 //typedef void *(__RPC_API midl_user_allocate_t)(size_t);
242 typedef void *(__RPC_API
*midl_allocate_t
)(size_t);
244 #if !MULTI_CALL_BINARY
245 /*static*/ const MIDL_STUB_DESC KMSServer_StubDesc
=
247 (void *)& KMSServer___RpcClientInterface
,
248 (midl_allocate_t
)MIDL_user_allocate
,
250 &KMSServer__MIDL_AutoBindHandle
,
255 KMSServer__MIDL_TypeFormatString
.Format
,
256 1, /* -error bounds_check flag */
257 0x50002, /* Ndr library version */
259 0x8000253, /* MIDL Version 8.0.595 */
262 0, /* notify & notify_flag routine table */
265 0, /* proxy/server info */
269 #endif // !MULTI_CALL_BINARY
271 #pragma optimize("", on )
277 #endif /* !defined(_M_IA64) && !defined(_M_AMD64) && !defined(_ARM_) */