3 /* this ALWAYS GENERATED file contains the RPC server stubs */
6 /* File created by MIDL compiler version 8.00.0603 */
7 /* at Fri Feb 20 04:17:07 2015
8 * Modified by Hotbird64 to work with gcc and MingW-w64
10 /* Compiler settings for KMSServer.idl:
11 Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 8.00.0603
12 protocol : all , ms_ext, c_ext, robust
13 error checks: allocation ref bounds_check enum stub_data
14 VC __declspec() decoration level:
15 __declspec(uuid()), __declspec(selectany), __declspec(novtable)
16 DECLSPEC_UUID(), MIDL_INTERFACE()
18 /* @@MIDL_FILE_HEADING( ) */
22 int ProcessActivationRequest(
23 /* [in] */ handle_t IDL_handle
,
24 /* [in] */ int requestSize
,
25 /* [size_is][in] */ unsigned char *request
,
26 /* [out] */ int *responseSize
,
27 /* [size_is][size_is][out] */ unsigned char **response
);
30 #pragma warning( disable: 4049 ) /* more than 64k source lines */
35 #pragma warning( disable: 4211 ) /* redefine extern to static */
36 #pragma warning( disable: 4232 ) /* dllimport identity*/
37 #pragma warning( disable: 4024 ) /* array to pointer mapping*/
40 #include "KMSServer_h.h"
42 #define TYPE_FORMAT_STRING_SIZE 43
43 #define PROC_FORMAT_STRING_SIZE 61
44 #define EXPR_FORMAT_STRING_SIZE 1
45 #define TRANSMIT_AS_TABLE_SIZE 0
46 #define WIRE_MARSHAL_TABLE_SIZE 0
48 typedef struct _KMSServer_MIDL_TYPE_FORMAT_STRING
51 unsigned char Format
[ TYPE_FORMAT_STRING_SIZE
];
52 } KMSServer_MIDL_TYPE_FORMAT_STRING
;
54 typedef struct _KMSServer_MIDL_PROC_FORMAT_STRING
57 unsigned char Format
[ PROC_FORMAT_STRING_SIZE
];
58 } KMSServer_MIDL_PROC_FORMAT_STRING
;
60 typedef struct _KMSServer_MIDL_EXPR_FORMAT_STRING
63 unsigned char Format
[ EXPR_FORMAT_STRING_SIZE
];
64 } KMSServer_MIDL_EXPR_FORMAT_STRING
;
67 static const RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax
=
68 {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
70 static const RPC_SYNTAX_IDENTIFIER _NDR64_RpcTransferSyntax
=
71 {{0x71710533,0xbeba,0x4937,{0x83,0x19,0xb5,0xdb,0xef,0x9c,0xcc,0x36}},{1,0}};
74 extern const KMSServer_MIDL_TYPE_FORMAT_STRING KMSServer__MIDL_TypeFormatString
;
75 extern const KMSServer_MIDL_PROC_FORMAT_STRING KMSServer__MIDL_ProcFormatString
;
76 extern const KMSServer_MIDL_EXPR_FORMAT_STRING KMSServer__MIDL_ExprFormatString
;
78 /* Standard interface: KMSServer, ver. 1.0,
79 GUID={0x51C82175,0x844E,0x4750,{0xB0,0xD8,0xEC,0x25,0x55,0x55,0xBC,0x06}} */
82 extern const MIDL_SERVER_INFO KMSServer_ServerInfo
;
84 extern const RPC_DISPATCH_TABLE KMSServer_v1_0_DispatchTable
;
86 static const RPC_SERVER_INTERFACE KMSServer___RpcServerInterface
=
88 sizeof(RPC_SERVER_INTERFACE
),
89 {{0x51C82175,0x844E,0x4750,{0xB0,0xD8,0xEC,0x25,0x55,0x55,0xBC,0x06}},{1,0}},
90 {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}},
91 (RPC_DISPATCH_TABLE
*)&KMSServer_v1_0_DispatchTable
,
95 &KMSServer_ServerInfo
,
98 RPC_IF_HANDLE KMSServer_v1_0_s_ifspec
= (RPC_IF_HANDLE
)& KMSServer___RpcServerInterface
;
100 extern const MIDL_STUB_DESC KMSServer_StubDesc
;
103 #if !defined(__RPC_WIN64__)
104 #error Invalid build platform for this stub.
107 /*static*/ const KMSServer_MIDL_PROC_FORMAT_STRING KMSServer__MIDL_ProcFormatString
=
112 /* Procedure RequestActivation */
115 0x48, /* Old Flags: */
116 /* 2 */ NdrFcLong( 0x0 ), /* 0 */
117 /* 6 */ NdrFcShort( 0x0 ), /* 0 */
118 /* 8 */ NdrFcShort( 0x30 ), /* X64 Stack size/offset = 48 */
119 /* 10 */ 0x32, /* FC_BIND_PRIMITIVE */
121 /* 12 */ NdrFcShort( 0x0 ), /* X64 Stack size/offset = 0 */
122 /* 14 */ NdrFcShort( 0x8 ), /* 8 */
123 /* 16 */ NdrFcShort( 0x24 ), /* 36 */
124 /* 18 */ 0x47, /* Oi2 Flags: srv must size, clt must size, has return, has ext, */
126 /* 20 */ 0xa, /* 10 */
127 0x7, /* Ext Flags: new corr desc, clt corr check, srv corr check, */
128 /* 22 */ NdrFcShort( 0x1 ), /* 1 */
129 /* 24 */ NdrFcShort( 0x1 ), /* 1 */
130 /* 26 */ NdrFcShort( 0x0 ), /* 0 */
131 /* 28 */ NdrFcShort( 0x0 ), /* 0 */
133 /* Parameter IDL_handle */
135 /* 30 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
136 /* 32 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
137 /* 34 */ 0x8, /* FC_LONG */
140 /* Parameter requestSize */
142 /* 36 */ NdrFcShort( 0x10b ), /* Flags: must size, must free, in, simple ref, */
143 /* 38 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
144 /* 40 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
146 /* Parameter request */
148 /* 42 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
149 /* 44 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
150 /* 46 */ 0x8, /* FC_LONG */
153 /* Parameter responseSize */
155 /* 48 */ NdrFcShort( 0x2013 ), /* Flags: must size, must free, out, srv alloc size=8 */
156 /* 50 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
157 /* 52 */ NdrFcShort( 0x16 ), /* Type Offset=22 */
159 /* Parameter response */
161 /* 54 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
162 /* 56 */ NdrFcShort( 0x28 ), /* X64 Stack size/offset = 40 */
163 /* 58 */ 0x8, /* FC_LONG */
170 /*static*/ const KMSServer_MIDL_TYPE_FORMAT_STRING KMSServer__MIDL_TypeFormatString
=
174 NdrFcShort( 0x0 ), /* 0 */
176 0x11, 0x0, /* FC_RP */
177 /* 4 */ NdrFcShort( 0x2 ), /* Offset= 2 (6) */
179 0x1b, /* FC_CARRAY */
181 /* 8 */ NdrFcShort( 0x1 ), /* 1 */
182 /* 10 */ 0x28, /* Corr desc: parameter, FC_LONG */
184 /* 12 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
185 /* 14 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
186 /* 16 */ 0x2, /* FC_CHAR */
189 0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
190 /* 20 */ 0x8, /* FC_LONG */
193 0x11, 0x14, /* FC_RP [alloced_on_stack] [pointer_deref] */
194 /* 24 */ NdrFcShort( 0x2 ), /* Offset= 2 (26) */
196 0x12, 0x0, /* FC_UP */
197 /* 28 */ NdrFcShort( 0x2 ), /* Offset= 2 (30) */
199 0x1b, /* FC_CARRAY */
201 /* 32 */ NdrFcShort( 0x1 ), /* 1 */
202 /* 34 */ 0x28, /* Corr desc: parameter, FC_LONG */
203 0x54, /* FC_DEREFERENCE */
204 /* 36 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
205 /* 38 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
206 /* 40 */ 0x2, /* FC_CHAR */
213 static const unsigned short KMSServer_FormatStringOffsetTable
[] =
219 static const RPC_DISPATCH_FUNCTION KMSServer_table
[] =
224 /*static*/ const RPC_DISPATCH_TABLE KMSServer_v1_0_DispatchTable
=
227 (RPC_DISPATCH_FUNCTION
*)KMSServer_table
231 #endif /* defined(_M_AMD64)*/
235 /* this ALWAYS GENERATED file contains the RPC server stubs */
238 /* File created by MIDL compiler version 8.00.0603 */
239 /* at Fri Feb 20 04:17:07 2015
241 /* Compiler settings for KMSServer.idl:
242 Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 8.00.0603
243 protocol : all , ms_ext, c_ext, robust
244 error checks: allocation ref bounds_check enum stub_data
245 VC __declspec() decoration level:
246 __declspec(uuid()), __declspec(selectany), __declspec(novtable)
247 DECLSPEC_UUID(), MIDL_INTERFACE()
249 /* @@MIDL_FILE_HEADING( ) */
251 #if defined(_M_AMD64)
254 #pragma warning( disable: 4049 ) /* more than 64k source lines */
257 #if !defined(__RPC_WIN64__)
258 #error Invalid build platform for this stub.
262 #include "ndr64types.h"
263 #include "pshpack8.h"
269 NDR64_FORMAT_UINT32 frag1
;
270 struct _NDR64_EXPR_OPERATOR frag2
;
271 struct _NDR64_EXPR_VAR frag3
;
274 extern const __midl_frag13_t __midl_frag13
;
279 struct _NDR64_CONF_ARRAY_HEADER_FORMAT frag1
;
280 struct _NDR64_ARRAY_ELEMENT_INFO frag2
;
283 extern const __midl_frag12_t __midl_frag12
;
286 struct _NDR64_POINTER_FORMAT
288 extern const __midl_frag11_t __midl_frag11
;
291 struct _NDR64_POINTER_FORMAT
293 extern const __midl_frag10_t __midl_frag10
;
296 struct _NDR64_POINTER_FORMAT
298 extern const __midl_frag8_t __midl_frag8
;
303 extern const __midl_frag7_t __midl_frag7
;
308 NDR64_FORMAT_UINT32 frag1
;
309 struct _NDR64_EXPR_VAR frag2
;
312 extern const __midl_frag6_t __midl_frag6
;
317 struct _NDR64_CONF_ARRAY_HEADER_FORMAT frag1
;
318 struct _NDR64_ARRAY_ELEMENT_INFO frag2
;
321 extern const __midl_frag5_t __midl_frag5
;
324 struct _NDR64_POINTER_FORMAT
326 extern const __midl_frag4_t __midl_frag4
;
331 extern const __midl_frag3_t __midl_frag3
;
336 struct _NDR64_PROC_FORMAT frag1
;
337 struct _NDR64_BIND_AND_NOTIFY_EXTENSION frag2
;
338 struct _NDR64_PARAM_FORMAT frag3
;
339 struct _NDR64_PARAM_FORMAT frag4
;
340 struct _NDR64_PARAM_FORMAT frag5
;
341 struct _NDR64_PARAM_FORMAT frag6
;
342 struct _NDR64_PARAM_FORMAT frag7
;
345 extern const __midl_frag2_t __midl_frag2
;
350 extern const __midl_frag1_t __midl_frag1
;
352 /*static*/ const __midl_frag13_t __midl_frag13
=
355 (NDR64_UINT32
) 1 /* 0x1 */,
357 /* struct _NDR64_EXPR_OPERATOR */
358 0x4, /* FC_EXPR_OPER */
359 0x5, /* OP_UNARY_INDIRECTION */
360 0x5, /* FC64_INT32 */
361 (NDR64_UINT8
) 0 /* 0x0 */
364 /* struct _NDR64_EXPR_VAR */
365 0x3, /* FC_EXPR_VAR */
366 0x7, /* FC64_INT64 */
367 (NDR64_UINT16
) 0 /* 0x0 */,
368 (NDR64_UINT32
) 24 /* 0x18 */ /* Offset */
372 /*static*/ const __midl_frag12_t __midl_frag12
=
377 0x41, /* FC64_CONF_ARRAY */
378 (NDR64_UINT8
) 0 /* 0x0 */,
390 (NDR64_UINT8
) 0 /* 0x0 */,
391 (NDR64_UINT32
) 1 /* 0x1 */,
395 /* struct _NDR64_ARRAY_ELEMENT_INFO */
396 (NDR64_UINT32
) 1 /* 0x1 */,
401 /*static*/ const __midl_frag11_t __midl_frag11
=
405 (NDR64_UINT8
) 0 /* 0x0 */,
406 (NDR64_UINT16
) 0 /* 0x0 */,
410 /*static*/ const __midl_frag10_t __midl_frag10
=
414 (NDR64_UINT8
) 20 /* 0x14 */,
415 (NDR64_UINT16
) 0 /* 0x0 */,
419 /*static*/ const __midl_frag8_t __midl_frag8
=
423 (NDR64_UINT8
) 12 /* 0xc */,
424 (NDR64_UINT16
) 0 /* 0x0 */,
428 /*static*/ const __midl_frag7_t __midl_frag7
=
429 0x10 /* FC64_CHAR */;
431 /*static*/ const __midl_frag6_t __midl_frag6
=
434 (NDR64_UINT32
) 1 /* 0x1 */,
436 /* struct _NDR64_EXPR_VAR */
437 0x3, /* FC_EXPR_VAR */
438 0x5, /* FC64_INT32 */
439 (NDR64_UINT16
) 0 /* 0x0 */,
440 (NDR64_UINT32
) 8 /* 0x8 */ /* Offset */
444 /*static*/ const __midl_frag5_t __midl_frag5
=
449 0x41, /* FC64_CONF_ARRAY */
450 (NDR64_UINT8
) 0 /* 0x0 */,
462 (NDR64_UINT8
) 0 /* 0x0 */,
463 (NDR64_UINT32
) 1 /* 0x1 */,
467 /* struct _NDR64_ARRAY_ELEMENT_INFO */
468 (NDR64_UINT32
) 1 /* 0x1 */,
473 /*static*/ const __midl_frag4_t __midl_frag4
=
477 (NDR64_UINT8
) 0 /* 0x0 */,
478 (NDR64_UINT16
) 0 /* 0x0 */,
482 /*static*/ const __midl_frag3_t __midl_frag3
=
483 0x5 /* FC64_INT32 */;
485 /*static*/ const __midl_frag2_t __midl_frag2
=
487 /* RequestActivation */
489 /* RequestActivation */ /* procedure RequestActivation */
490 (NDR64_UINT32
) 23986240 /* 0x16e0040 */, /* explicit handle */ /* IsIntrepreted, ServerMustSize, ClientMustSize, HasReturn, ServerCorrelation, ClientCorrelation, HasExtensions */
491 (NDR64_UINT32
) 48 /* 0x30 */ , /* Stack size */
492 (NDR64_UINT32
) 8 /* 0x8 */,
493 (NDR64_UINT32
) 40 /* 0x28 */,
494 (NDR64_UINT16
) 0 /* 0x0 */,
495 (NDR64_UINT16
) 0 /* 0x0 */,
496 (NDR64_UINT16
) 5 /* 0x5 */,
497 (NDR64_UINT16
) 8 /* 0x8 */
500 /* struct _NDR64_BIND_AND_NOTIFY_EXTENSION */
502 /* struct _NDR64_BIND_AND_NOTIFY_EXTENSION */
503 0x72, /* FC64_BIND_PRIMITIVE */
504 (NDR64_UINT8
) 0 /* 0x0 */,
505 0 /* 0x0 */, /* Stack offset */
506 (NDR64_UINT8
) 0 /* 0x0 */,
507 (NDR64_UINT8
) 0 /* 0x0 */
509 (NDR64_UINT16
) 0 /* 0x0 */ /* Notify index */
512 /* requestSize */ /* parameter requestSize */
529 (NDR64_UINT16
) 0 /* 0x0 */,
531 }, /* [in], Basetype, ByValue */
532 (NDR64_UINT16
) 0 /* 0x0 */,
533 8 /* 0x8 */, /* Stack offset */
536 /* request */ /* parameter request */
553 (NDR64_UINT16
) 0 /* 0x0 */,
555 }, /* MustSize, MustFree, [in], SimpleRef */
556 (NDR64_UINT16
) 0 /* 0x0 */,
557 16 /* 0x10 */, /* Stack offset */
560 /* responseSize */ /* parameter responseSize */
577 (NDR64_UINT16
) 0 /* 0x0 */,
579 }, /* [out], Basetype, SimpleRef, UseCache */
580 (NDR64_UINT16
) 0 /* 0x0 */,
581 24 /* 0x18 */, /* Stack offset */
584 /* response */ /* parameter response */
601 (NDR64_UINT16
) 0 /* 0x0 */,
603 }, /* MustSize, MustFree, [out], UseCache */
604 (NDR64_UINT16
) 0 /* 0x0 */,
605 32 /* 0x20 */, /* Stack offset */
608 /* int */ /* parameter int */
625 (NDR64_UINT16
) 0 /* 0x0 */,
627 }, /* [out], IsReturn, Basetype, ByValue */
628 (NDR64_UINT16
) 0 /* 0x0 */,
629 40 /* 0x28 */, /* Stack offset */
633 /*static*/ const __midl_frag1_t __midl_frag1
=
634 (NDR64_UINT32
) 0 /* 0x0 */;
640 static const FormatInfoRef KMSServer_Ndr64ProcTable
[] =
645 //typedef void *__RPC_USER MIDL_user_allocate_t(SIZE_T);
646 typedef void *(__RPC_API
*midl_allocate_t
)(size_t);
648 /*static*/ const MIDL_STUB_DESC KMSServer_StubDesc
=
650 (void *)& KMSServer___RpcServerInterface
,
651 (midl_allocate_t
)MIDL_user_allocate
,
658 KMSServer__MIDL_TypeFormatString
.Format
,
659 1, /* -error bounds_check flag */
660 0x60000, /* Ndr library version */
662 0x800025b, /* MIDL Version 8.0.603 */
665 0, /* notify & notify_flag routine table */
666 0x2000001, /* MIDL flag */
668 (void *)& KMSServer_ServerInfo
, /* proxy/server info */
672 static const RPC_DISPATCH_FUNCTION KMSServer_NDR64__table
[] =
677 static const RPC_DISPATCH_TABLE KMSServer_NDR64__v1_0_DispatchTable
=
680 (RPC_DISPATCH_FUNCTION
*)KMSServer_NDR64__table
683 static const MIDL_SYNTAX_INFO KMSServer_SyntaxInfo
[ 2 ] =
686 {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}},
687 (RPC_DISPATCH_TABLE
*)&KMSServer_v1_0_DispatchTable
,
688 KMSServer__MIDL_ProcFormatString
.Format
,
689 KMSServer_FormatStringOffsetTable
,
690 KMSServer__MIDL_TypeFormatString
.Format
,
696 {{0x71710533,0xbeba,0x4937,{0x83,0x19,0xb5,0xdb,0xef,0x9c,0xcc,0x36}},{1,0}},
697 (RPC_DISPATCH_TABLE
*)&KMSServer_NDR64__v1_0_DispatchTable
,
699 (unsigned short *) KMSServer_Ndr64ProcTable
,
708 static const SERVER_ROUTINE KMSServer_ServerRoutineTable
[] =
710 (SERVER_ROUTINE
)ProcessActivationRequest
713 /*static*/ const MIDL_SERVER_INFO KMSServer_ServerInfo
=
716 KMSServer_ServerRoutineTable
,
717 KMSServer__MIDL_ProcFormatString
.Format
,
718 (unsigned short *) KMSServer_FormatStringOffsetTable
,
720 (RPC_SYNTAX_IDENTIFIER
*)&_NDR64_RpcTransferSyntax
,
722 (MIDL_SYNTAX_INFO
*)KMSServer_SyntaxInfo
729 #endif /* defined(_M_AMD64)*/