KMSServer_c_mingw_gcc.c 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. /* this ALWAYS GENERATED file contains the RPC client stubs */
  2. /* File created by MIDL compiler version 8.00.0595 */
  3. /* at Thu Oct 18 15:24:14 2012
  4. */
  5. /* Compiler settings for KMSServer.idl:
  6. Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0595
  7. protocol : dce , ms_ext, c_ext, robust
  8. error checks: allocation ref bounds_check enum stub_data
  9. VC __declspec() decoration level:
  10. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  11. DECLSPEC_UUID(), MIDL_INTERFACE()
  12. */
  13. /* @@MIDL_FILE_HEADING( ) */
  14. #if !defined(_M_IA64) && !defined(_M_AMD64) && !defined(_ARM_)
  15. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  16. #if _MSC_VER >= 1200
  17. #pragma warning(push)
  18. #endif
  19. #pragma warning( disable: 4211 ) /* redefine extern to static */
  20. #pragma warning( disable: 4232 ) /* dllimport identity*/
  21. #pragma warning( disable: 4024 ) /* array to pointer mapping*/
  22. #pragma warning( disable: 4100 ) /* unreferenced arguments in x86 call */
  23. #pragma optimize("", off )
  24. #include <string.h>
  25. #include "KMSServer_h.h"
  26. #define TYPE_FORMAT_STRING_SIZE 43
  27. #define PROC_FORMAT_STRING_SIZE 59
  28. #define EXPR_FORMAT_STRING_SIZE 1
  29. #define TRANSMIT_AS_TABLE_SIZE 0
  30. #define WIRE_MARSHAL_TABLE_SIZE 0
  31. typedef struct _KMSServer_MIDL_TYPE_FORMAT_STRING
  32. {
  33. short Pad;
  34. unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
  35. } KMSServer_MIDL_TYPE_FORMAT_STRING;
  36. typedef struct _KMSServer_MIDL_PROC_FORMAT_STRING
  37. {
  38. short Pad;
  39. unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
  40. } KMSServer_MIDL_PROC_FORMAT_STRING;
  41. typedef struct _KMSServer_MIDL_EXPR_FORMAT_STRING
  42. {
  43. long Pad;
  44. unsigned char Format[ EXPR_FORMAT_STRING_SIZE ];
  45. } KMSServer_MIDL_EXPR_FORMAT_STRING;
  46. static const RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax =
  47. {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
  48. extern const KMSServer_MIDL_TYPE_FORMAT_STRING KMSServer__MIDL_TypeFormatString;
  49. extern const KMSServer_MIDL_PROC_FORMAT_STRING KMSServer__MIDL_ProcFormatString;
  50. extern const KMSServer_MIDL_EXPR_FORMAT_STRING KMSServer__MIDL_ExprFormatString;
  51. #define GENERIC_BINDING_TABLE_SIZE 0
  52. /* Standard interface: KMSServer, ver. 1.0,
  53. GUID={0x51C82175,0x844E,0x4750,{0xB0,0xD8,0xEC,0x25,0x55,0x55,0xBC,0x06}} */
  54. static const RPC_CLIENT_INTERFACE KMSServer___RpcClientInterface =
  55. {
  56. sizeof(RPC_CLIENT_INTERFACE),
  57. {{0x51C82175,0x844E,0x4750,{0xB0,0xD8,0xEC,0x25,0x55,0x55,0xBC,0x06}},{1,0}},
  58. {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}},
  59. 0,
  60. 0,
  61. 0,
  62. 0,
  63. 0,
  64. 0x00000000
  65. };
  66. RPC_IF_HANDLE KMSServer_v1_0_c_ifspec = (RPC_IF_HANDLE)& KMSServer___RpcClientInterface;
  67. extern const MIDL_STUB_DESC KMSServer_StubDesc;
  68. static RPC_BINDING_HANDLE KMSServer__MIDL_AutoBindHandle;
  69. int RequestActivation(
  70. /* [in] */ handle_t IDL_handle,
  71. /* [in] */ int requestSize,
  72. /* [size_is][in] */ unsigned char *request,
  73. /* [out] */ int *responseSize,
  74. /* [size_is][size_is][out] */ unsigned char **response)
  75. {
  76. CLIENT_CALL_RETURN _RetVal;
  77. _RetVal = NdrClientCall2(
  78. ( PMIDL_STUB_DESC )&KMSServer_StubDesc,
  79. (PFORMAT_STRING) &KMSServer__MIDL_ProcFormatString.Format[0],
  80. ( unsigned char * )&IDL_handle);
  81. return ( int )_RetVal.Simple;
  82. }
  83. #if !defined(__RPC_WIN32__)
  84. #error Invalid build platform for this stub.
  85. #endif
  86. #if !(TARGET_IS_NT50_OR_LATER)
  87. #error You need Windows 2000 or later to run this stub because it uses these features:
  88. #error /robust command line switch.
  89. #error However, your C/C++ compilation flags indicate you intend to run this app on earlier systems.
  90. #error This app will fail with the RPC_X_WRONG_STUB_VERSION error.
  91. #endif
  92. #if !MULTI_CALL_BINARY
  93. /*static*/ const KMSServer_MIDL_PROC_FORMAT_STRING KMSServer__MIDL_ProcFormatString =
  94. {
  95. 0,
  96. {
  97. /* Procedure RequestActivation */
  98. 0x0, /* 0 */
  99. 0x48, /* Old Flags: */
  100. /* 2 */ NdrFcLong( 0x0 ), /* 0 */
  101. /* 6 */ NdrFcShort( 0x0 ), /* 0 */
  102. /* 8 */ NdrFcShort( 0x18 ), /* x86 Stack size/offset = 24 */
  103. /* 10 */ 0x32, /* FC_BIND_PRIMITIVE */
  104. 0x0, /* 0 */
  105. /* 12 */ NdrFcShort( 0x0 ), /* x86 Stack size/offset = 0 */
  106. /* 14 */ NdrFcShort( 0x8 ), /* 8 */
  107. /* 16 */ NdrFcShort( 0x24 ), /* 36 */
  108. /* 18 */ 0x47, /* Oi2 Flags: srv must size, clt must size, has return, has ext, */
  109. 0x5, /* 5 */
  110. /* 20 */ 0x8, /* 8 */
  111. 0x7, /* Ext Flags: new corr desc, clt corr check, srv corr check, */
  112. /* 22 */ NdrFcShort( 0x1 ), /* 1 */
  113. /* 24 */ NdrFcShort( 0x1 ), /* 1 */
  114. /* 26 */ NdrFcShort( 0x0 ), /* 0 */
  115. /* Parameter IDL_handle */
  116. /* 28 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
  117. /* 30 */ NdrFcShort( 0x4 ), /* x86 Stack size/offset = 4 */
  118. /* 32 */ 0x8, /* FC_LONG */
  119. 0x0, /* 0 */
  120. /* Parameter requestSize */
  121. /* 34 */ NdrFcShort( 0x10b ), /* Flags: must size, must free, in, simple ref, */
  122. /* 36 */ NdrFcShort( 0x8 ), /* x86 Stack size/offset = 8 */
  123. /* 38 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
  124. /* Parameter request */
  125. /* 40 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
  126. /* 42 */ NdrFcShort( 0xc ), /* x86 Stack size/offset = 12 */
  127. /* 44 */ 0x8, /* FC_LONG */
  128. 0x0, /* 0 */
  129. /* Parameter responseSize */
  130. /* 46 */ NdrFcShort( 0x2013 ), /* Flags: must size, must free, out, srv alloc size=8 */
  131. /* 48 */ NdrFcShort( 0x10 ), /* x86 Stack size/offset = 16 */
  132. /* 50 */ NdrFcShort( 0x16 ), /* Type Offset=22 */
  133. /* Parameter response */
  134. /* 52 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
  135. /* 54 */ NdrFcShort( 0x14 ), /* x86 Stack size/offset = 20 */
  136. /* 56 */ 0x8, /* FC_LONG */
  137. 0x0, /* 0 */
  138. 0x0
  139. }
  140. };
  141. /*static*/ const KMSServer_MIDL_TYPE_FORMAT_STRING KMSServer__MIDL_TypeFormatString =
  142. {
  143. 0,
  144. {
  145. NdrFcShort( 0x0 ), /* 0 */
  146. /* 2 */
  147. 0x11, 0x0, /* FC_RP */
  148. /* 4 */ NdrFcShort( 0x2 ), /* Offset= 2 (6) */
  149. /* 6 */
  150. 0x1b, /* FC_CARRAY */
  151. 0x0, /* 0 */
  152. /* 8 */ NdrFcShort( 0x1 ), /* 1 */
  153. /* 10 */ 0x28, /* Corr desc: parameter, FC_LONG */
  154. 0x0, /* */
  155. /* 12 */ NdrFcShort( 0x4 ), /* x86 Stack size/offset = 4 */
  156. /* 14 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
  157. /* 16 */ 0x2, /* FC_CHAR */
  158. 0x5b, /* FC_END */
  159. /* 18 */
  160. 0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
  161. /* 20 */ 0x8, /* FC_LONG */
  162. 0x5c, /* FC_PAD */
  163. /* 22 */
  164. 0x11, 0x14, /* FC_RP [alloced_on_stack] [pointer_deref] */
  165. /* 24 */ NdrFcShort( 0x2 ), /* Offset= 2 (26) */
  166. /* 26 */
  167. 0x12, 0x0, /* FC_UP */
  168. /* 28 */ NdrFcShort( 0x2 ), /* Offset= 2 (30) */
  169. /* 30 */
  170. 0x1b, /* FC_CARRAY */
  171. 0x0, /* 0 */
  172. /* 32 */ NdrFcShort( 0x1 ), /* 1 */
  173. /* 34 */ 0x28, /* Corr desc: parameter, FC_LONG */
  174. 0x54, /* FC_DEREFERENCE */
  175. /* 36 */ NdrFcShort( 0xc ), /* x86 Stack size/offset = 12 */
  176. /* 38 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
  177. /* 40 */ 0x2, /* FC_CHAR */
  178. 0x5b, /* FC_END */
  179. 0x0
  180. }
  181. };
  182. #endif // !MULTI_CALL_BINARY
  183. static const unsigned short KMSServer_FormatStringOffsetTable[] =
  184. {
  185. 0
  186. };
  187. //typedef void *(__RPC_API midl_user_allocate_t)(size_t);
  188. typedef void *(__RPC_API *midl_allocate_t)(size_t);
  189. #if !MULTI_CALL_BINARY
  190. /*static*/ const MIDL_STUB_DESC KMSServer_StubDesc =
  191. {
  192. (void *)& KMSServer___RpcClientInterface,
  193. (midl_allocate_t)MIDL_user_allocate,
  194. MIDL_user_free,
  195. &KMSServer__MIDL_AutoBindHandle,
  196. 0,
  197. 0,
  198. 0,
  199. 0,
  200. KMSServer__MIDL_TypeFormatString.Format,
  201. 1, /* -error bounds_check flag */
  202. 0x50002, /* Ndr library version */
  203. 0,
  204. 0x8000253, /* MIDL Version 8.0.595 */
  205. 0,
  206. 0,
  207. 0, /* notify & notify_flag routine table */
  208. 0x1, /* MIDL flag */
  209. 0, /* cs routines */
  210. 0, /* proxy/server info */
  211. 0
  212. };
  213. #endif // !MULTI_CALL_BINARY
  214. #pragma optimize("", on )
  215. #if _MSC_VER >= 1200
  216. #pragma warning(pop)
  217. #endif
  218. #endif /* !defined(_M_IA64) && !defined(_M_AMD64) && !defined(_ARM_) */