/* this ALWAYS GENERATED file contains the RPC client stubs */ /* File created by MIDL compiler version 8.00.0603 */ /* at Fri Feb 20 04:17:07 2015 * modified by Hotbird64 to work with MingW-w64 and gcc */ /* Compiler settings for KMSServer.idl: Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 8.00.0603 protocol : all , ms_ext, c_ext, robust error checks: allocation ref bounds_check enum stub_data VC __declspec() decoration level: __declspec(uuid()), __declspec(selectany), __declspec(novtable) DECLSPEC_UUID(), MIDL_INTERFACE() */ /* @@MIDL_FILE_HEADING( ) */ #if defined(_M_AMD64) #pragma warning( disable: 4049 ) /* more than 64k source lines */ #if _MSC_VER >= 1200 #pragma warning(push) #endif #pragma warning( disable: 4211 ) /* redefine extern to static */ #pragma warning( disable: 4232 ) /* dllimport identity*/ #pragma warning( disable: 4024 ) /* array to pointer mapping*/ #include #include "KMSServer_h.h" #define TYPE_FORMAT_STRING_SIZE 43 #define PROC_FORMAT_STRING_SIZE 61 #define EXPR_FORMAT_STRING_SIZE 1 #define TRANSMIT_AS_TABLE_SIZE 0 #define WIRE_MARSHAL_TABLE_SIZE 0 typedef struct _KMSServer_MIDL_TYPE_FORMAT_STRING { short Pad; unsigned char Format[ TYPE_FORMAT_STRING_SIZE ]; } KMSServer_MIDL_TYPE_FORMAT_STRING; typedef struct _KMSServer_MIDL_PROC_FORMAT_STRING { short Pad; unsigned char Format[ PROC_FORMAT_STRING_SIZE ]; } KMSServer_MIDL_PROC_FORMAT_STRING; typedef struct _KMSServer_MIDL_EXPR_FORMAT_STRING { long Pad; unsigned char Format[ EXPR_FORMAT_STRING_SIZE ]; } KMSServer_MIDL_EXPR_FORMAT_STRING; static const RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax = {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}}; static const RPC_SYNTAX_IDENTIFIER _NDR64_RpcTransferSyntax = {{0x71710533,0xbeba,0x4937,{0x83,0x19,0xb5,0xdb,0xef,0x9c,0xcc,0x36}},{1,0}}; extern const KMSServer_MIDL_TYPE_FORMAT_STRING KMSServer__MIDL_TypeFormatString; extern const KMSServer_MIDL_PROC_FORMAT_STRING KMSServer__MIDL_ProcFormatString; extern const KMSServer_MIDL_EXPR_FORMAT_STRING KMSServer__MIDL_ExprFormatString; #define GENERIC_BINDING_TABLE_SIZE 0 /* Standard interface: KMSServer, ver. 1.0, GUID={0x51C82175,0x844E,0x4750,{0xB0,0xD8,0xEC,0x25,0x55,0x55,0xBC,0x06}} */ extern const MIDL_STUBLESS_PROXY_INFO KMSServer_ProxyInfo; static const RPC_CLIENT_INTERFACE KMSServer___RpcClientInterface = { sizeof(RPC_CLIENT_INTERFACE), {{0x51C82175,0x844E,0x4750,{0xB0,0xD8,0xEC,0x25,0x55,0x55,0xBC,0x06}},{1,0}}, {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}}, 0, 0, 0, 0, &KMSServer_ProxyInfo, 0x02000000 }; RPC_IF_HANDLE KMSServer_v1_0_c_ifspec = (RPC_IF_HANDLE)& KMSServer___RpcClientInterface; extern const MIDL_STUB_DESC KMSServer_StubDesc; static RPC_BINDING_HANDLE KMSServer__MIDL_AutoBindHandle; int RequestActivation( /* [in] */ handle_t IDL_handle, /* [in] */ int requestSize, /* [size_is][in] */ unsigned char *request, /* [out] */ int *responseSize, /* [size_is][size_is][out] */ unsigned char **response) { CLIENT_CALL_RETURN _RetVal; _RetVal = NdrClientCall3( ( PMIDL_STUBLESS_PROXY_INFO )&KMSServer_ProxyInfo, 0, 0, IDL_handle, requestSize, request, responseSize, response); return ( int )_RetVal.Simple; } #if !defined(__RPC_WIN64__) #error Invalid build platform for this stub. #endif #if !MULTI_CALL_BINARY /*static*/ const KMSServer_MIDL_PROC_FORMAT_STRING KMSServer__MIDL_ProcFormatString = { 0, { /* Procedure RequestActivation */ 0x0, /* 0 */ 0x48, /* Old Flags: */ /* 2 */ NdrFcLong( 0x0 ), /* 0 */ /* 6 */ NdrFcShort( 0x0 ), /* 0 */ /* 8 */ NdrFcShort( 0x30 ), /* X64 Stack size/offset = 48 */ /* 10 */ 0x32, /* FC_BIND_PRIMITIVE */ 0x0, /* 0 */ /* 12 */ NdrFcShort( 0x0 ), /* X64 Stack size/offset = 0 */ /* 14 */ NdrFcShort( 0x8 ), /* 8 */ /* 16 */ NdrFcShort( 0x24 ), /* 36 */ /* 18 */ 0x47, /* Oi2 Flags: srv must size, clt must size, has return, has ext, */ 0x5, /* 5 */ /* 20 */ 0xa, /* 10 */ 0x7, /* Ext Flags: new corr desc, clt corr check, srv corr check, */ /* 22 */ NdrFcShort( 0x1 ), /* 1 */ /* 24 */ NdrFcShort( 0x1 ), /* 1 */ /* 26 */ NdrFcShort( 0x0 ), /* 0 */ /* 28 */ NdrFcShort( 0x0 ), /* 0 */ /* Parameter IDL_handle */ /* 30 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */ /* 32 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */ /* 34 */ 0x8, /* FC_LONG */ 0x0, /* 0 */ /* Parameter requestSize */ /* 36 */ NdrFcShort( 0x10b ), /* Flags: must size, must free, in, simple ref, */ /* 38 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */ /* 40 */ NdrFcShort( 0x6 ), /* Type Offset=6 */ /* Parameter request */ /* 42 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */ /* 44 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */ /* 46 */ 0x8, /* FC_LONG */ 0x0, /* 0 */ /* Parameter responseSize */ /* 48 */ NdrFcShort( 0x2013 ), /* Flags: must size, must free, out, srv alloc size=8 */ /* 50 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */ /* 52 */ NdrFcShort( 0x16 ), /* Type Offset=22 */ /* Parameter response */ /* 54 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */ /* 56 */ NdrFcShort( 0x28 ), /* X64 Stack size/offset = 40 */ /* 58 */ 0x8, /* FC_LONG */ 0x0, /* 0 */ 0x0 } }; /*static*/ const KMSServer_MIDL_TYPE_FORMAT_STRING KMSServer__MIDL_TypeFormatString = { 0, { NdrFcShort( 0x0 ), /* 0 */ /* 2 */ 0x11, 0x0, /* FC_RP */ /* 4 */ NdrFcShort( 0x2 ), /* Offset= 2 (6) */ /* 6 */ 0x1b, /* FC_CARRAY */ 0x0, /* 0 */ /* 8 */ NdrFcShort( 0x1 ), /* 1 */ /* 10 */ 0x28, /* Corr desc: parameter, FC_LONG */ 0x0, /* */ /* 12 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */ /* 14 */ NdrFcShort( 0x1 ), /* Corr flags: early, */ /* 16 */ 0x2, /* FC_CHAR */ 0x5b, /* FC_END */ /* 18 */ 0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */ /* 20 */ 0x8, /* FC_LONG */ 0x5c, /* FC_PAD */ /* 22 */ 0x11, 0x14, /* FC_RP [alloced_on_stack] [pointer_deref] */ /* 24 */ NdrFcShort( 0x2 ), /* Offset= 2 (26) */ /* 26 */ 0x12, 0x0, /* FC_UP */ /* 28 */ NdrFcShort( 0x2 ), /* Offset= 2 (30) */ /* 30 */ 0x1b, /* FC_CARRAY */ 0x0, /* 0 */ /* 32 */ NdrFcShort( 0x1 ), /* 1 */ /* 34 */ 0x28, /* Corr desc: parameter, FC_LONG */ 0x54, /* FC_DEREFERENCE */ /* 36 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */ /* 38 */ NdrFcShort( 0x1 ), /* Corr flags: early, */ /* 40 */ 0x2, /* FC_CHAR */ 0x5b, /* FC_END */ 0x0 } }; #endif //!MULTI_CALL_BINARY static const unsigned short KMSServer_FormatStringOffsetTable[] = { 0 }; #endif /* defined(_M_AMD64)*/ /* this ALWAYS GENERATED file contains the RPC client stubs */ /* File created by MIDL compiler version 8.00.0603 */ /* at Fri Feb 20 04:17:07 2015 */ /* Compiler settings for KMSServer.idl: Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 8.00.0603 protocol : all , ms_ext, c_ext, robust error checks: allocation ref bounds_check enum stub_data VC __declspec() decoration level: __declspec(uuid()), __declspec(selectany), __declspec(novtable) DECLSPEC_UUID(), MIDL_INTERFACE() */ /* @@MIDL_FILE_HEADING( ) */ #if defined(_M_AMD64) #pragma warning( disable: 4049 ) /* more than 64k source lines */ #if !defined(__RPC_WIN64__) #error Invalid build platform for this stub. #endif #include "ndr64types.h" #include "pshpack8.h" typedef struct { NDR64_FORMAT_UINT32 frag1; struct _NDR64_EXPR_OPERATOR frag2; struct _NDR64_EXPR_VAR frag3; } __midl_frag13_t; extern const __midl_frag13_t __midl_frag13; typedef struct { struct _NDR64_CONF_ARRAY_HEADER_FORMAT frag1; struct _NDR64_ARRAY_ELEMENT_INFO frag2; } __midl_frag12_t; extern const __midl_frag12_t __midl_frag12; typedef struct _NDR64_POINTER_FORMAT __midl_frag11_t; extern const __midl_frag11_t __midl_frag11; typedef struct _NDR64_POINTER_FORMAT __midl_frag10_t; extern const __midl_frag10_t __midl_frag10; typedef struct _NDR64_POINTER_FORMAT __midl_frag8_t; extern const __midl_frag8_t __midl_frag8; typedef NDR64_FORMAT_CHAR __midl_frag7_t; extern const __midl_frag7_t __midl_frag7; typedef struct { NDR64_FORMAT_UINT32 frag1; struct _NDR64_EXPR_VAR frag2; } __midl_frag6_t; extern const __midl_frag6_t __midl_frag6; typedef struct { struct _NDR64_CONF_ARRAY_HEADER_FORMAT frag1; struct _NDR64_ARRAY_ELEMENT_INFO frag2; } __midl_frag5_t; extern const __midl_frag5_t __midl_frag5; typedef struct _NDR64_POINTER_FORMAT __midl_frag4_t; extern const __midl_frag4_t __midl_frag4; typedef NDR64_FORMAT_CHAR __midl_frag3_t; extern const __midl_frag3_t __midl_frag3; typedef struct { struct _NDR64_PROC_FORMAT frag1; struct _NDR64_BIND_AND_NOTIFY_EXTENSION frag2; struct _NDR64_PARAM_FORMAT frag3; struct _NDR64_PARAM_FORMAT frag4; struct _NDR64_PARAM_FORMAT frag5; struct _NDR64_PARAM_FORMAT frag6; struct _NDR64_PARAM_FORMAT frag7; } __midl_frag2_t; extern const __midl_frag2_t __midl_frag2; typedef NDR64_FORMAT_UINT32 __midl_frag1_t; extern const __midl_frag1_t __midl_frag1; #if !MULTI_CALL_BINARY /*static*/ const __midl_frag13_t __midl_frag13 = { /* */ (NDR64_UINT32) 1 /* 0x1 */, { /* struct _NDR64_EXPR_OPERATOR */ 0x4, /* FC_EXPR_OPER */ 0x5, /* OP_UNARY_INDIRECTION */ 0x5, /* FC64_INT32 */ (NDR64_UINT8) 0 /* 0x0 */ }, { /* struct _NDR64_EXPR_VAR */ 0x3, /* FC_EXPR_VAR */ 0x7, /* FC64_INT64 */ (NDR64_UINT16) 0 /* 0x0 */, (NDR64_UINT32) 24 /* 0x18 */ /* Offset */ } }; /*static*/ const __midl_frag12_t __midl_frag12 = { /* *char */ { /* *char */ 0x41, /* FC64_CONF_ARRAY */ (NDR64_UINT8) 0 /* 0x0 */, { /* *char */ 0, 0, 0, 0, 0, 0, 0, 0 }, (NDR64_UINT8) 0 /* 0x0 */, (NDR64_UINT32) 1 /* 0x1 */, &__midl_frag13 }, { /* struct _NDR64_ARRAY_ELEMENT_INFO */ (NDR64_UINT32) 1 /* 0x1 */, &__midl_frag7 } }; /*static*/ const __midl_frag11_t __midl_frag11 = { /* *char */ 0x21, /* FC64_UP */ (NDR64_UINT8) 0 /* 0x0 */, (NDR64_UINT16) 0 /* 0x0 */, &__midl_frag12 }; /*static*/ const __midl_frag10_t __midl_frag10 = { /* **char */ 0x20, /* FC64_RP */ (NDR64_UINT8) 20 /* 0x14 */, (NDR64_UINT16) 0 /* 0x0 */, &__midl_frag11 }; /*static*/ const __midl_frag8_t __midl_frag8 = { /* *int */ 0x20, /* FC64_RP */ (NDR64_UINT8) 12 /* 0xc */, (NDR64_UINT16) 0 /* 0x0 */, &__midl_frag3 }; /*static*/ const __midl_frag7_t __midl_frag7 = 0x10 /* FC64_CHAR */; /*static*/ const __midl_frag6_t __midl_frag6 = { /* */ (NDR64_UINT32) 1 /* 0x1 */, { /* struct _NDR64_EXPR_VAR */ 0x3, /* FC_EXPR_VAR */ 0x5, /* FC64_INT32 */ (NDR64_UINT16) 0 /* 0x0 */, (NDR64_UINT32) 8 /* 0x8 */ /* Offset */ } }; /*static*/ const __midl_frag5_t __midl_frag5 = { /* *char */ { /* *char */ 0x41, /* FC64_CONF_ARRAY */ (NDR64_UINT8) 0 /* 0x0 */, { /* *char */ 0, 0, 0, 0, 0, 0, 0, 0 }, (NDR64_UINT8) 0 /* 0x0 */, (NDR64_UINT32) 1 /* 0x1 */, &__midl_frag6 }, { /* struct _NDR64_ARRAY_ELEMENT_INFO */ (NDR64_UINT32) 1 /* 0x1 */, &__midl_frag7 } }; /*static*/ const __midl_frag4_t __midl_frag4 = { /* *char */ 0x20, /* FC64_RP */ (NDR64_UINT8) 0 /* 0x0 */, (NDR64_UINT16) 0 /* 0x0 */, &__midl_frag5 }; /*static*/ const __midl_frag3_t __midl_frag3 = 0x5 /* FC64_INT32 */; /*static*/ const __midl_frag2_t __midl_frag2 = { /* RequestActivation */ { /* RequestActivation */ /* procedure RequestActivation */ (NDR64_UINT32) 23986240 /* 0x16e0040 */, /* explicit handle */ /* IsIntrepreted, ServerMustSize, ClientMustSize, HasReturn, ServerCorrelation, ClientCorrelation, HasExtensions */ (NDR64_UINT32) 48 /* 0x30 */ , /* Stack size */ (NDR64_UINT32) 8 /* 0x8 */, (NDR64_UINT32) 40 /* 0x28 */, (NDR64_UINT16) 0 /* 0x0 */, (NDR64_UINT16) 0 /* 0x0 */, (NDR64_UINT16) 5 /* 0x5 */, (NDR64_UINT16) 8 /* 0x8 */ }, { /* struct _NDR64_BIND_AND_NOTIFY_EXTENSION */ { /* struct _NDR64_BIND_AND_NOTIFY_EXTENSION */ 0x72, /* FC64_BIND_PRIMITIVE */ (NDR64_UINT8) 0 /* 0x0 */, 0 /* 0x0 */, /* Stack offset */ (NDR64_UINT8) 0 /* 0x0 */, (NDR64_UINT8) 0 /* 0x0 */ }, (NDR64_UINT16) 0 /* 0x0 */ /* Notify index */ }, { /* requestSize */ /* parameter requestSize */ &__midl_frag3, { /* requestSize */ 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, (NDR64_UINT16) 0 /* 0x0 */, 0 }, /* [in], Basetype, ByValue */ (NDR64_UINT16) 0 /* 0x0 */, 8 /* 0x8 */, /* Stack offset */ }, { /* request */ /* parameter request */ &__midl_frag5, { /* request */ 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, (NDR64_UINT16) 0 /* 0x0 */, 0 }, /* MustSize, MustFree, [in], SimpleRef */ (NDR64_UINT16) 0 /* 0x0 */, 16 /* 0x10 */, /* Stack offset */ }, { /* responseSize */ /* parameter responseSize */ &__midl_frag3, { /* responseSize */ 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, (NDR64_UINT16) 0 /* 0x0 */, 1 }, /* [out], Basetype, SimpleRef, UseCache */ (NDR64_UINT16) 0 /* 0x0 */, 24 /* 0x18 */, /* Stack offset */ }, { /* response */ /* parameter response */ &__midl_frag10, { /* response */ 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, (NDR64_UINT16) 0 /* 0x0 */, 1 }, /* MustSize, MustFree, [out], UseCache */ (NDR64_UINT16) 0 /* 0x0 */, 32 /* 0x20 */, /* Stack offset */ }, { /* int */ /* parameter int */ &__midl_frag3, { /* int */ 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, (NDR64_UINT16) 0 /* 0x0 */, 0 }, /* [out], IsReturn, Basetype, ByValue */ (NDR64_UINT16) 0 /* 0x0 */, 40 /* 0x28 */, /* Stack offset */ } }; /*static*/ const __midl_frag1_t __midl_frag1 = (NDR64_UINT32) 0 /* 0x0 */; #endif // !MULTI_CALL_BINARY #include "poppack.h" static const FormatInfoRef KMSServer_Ndr64ProcTable[] = { &__midl_frag2 }; //typedef void *__RPC_USER MIDL_user_allocate_t(SIZE_T) typedef void *(__RPC_API *midl_allocate_t)(size_t); #if !MULTI_CALL_BINARY /*static*/ const MIDL_STUB_DESC KMSServer_StubDesc = { (void *)& KMSServer___RpcClientInterface, (midl_allocate_t)MIDL_user_allocate, MIDL_user_free, &KMSServer__MIDL_AutoBindHandle, 0, 0, 0, 0, KMSServer__MIDL_TypeFormatString.Format, 1, /* -error bounds_check flag */ 0x60000, /* Ndr library version */ 0, 0x800025b, /* MIDL Version 8.0.603 */ 0, 0, 0, /* notify & notify_flag routine table */ 0x2000001, /* MIDL flag */ 0, /* cs routines */ (void *)& KMSServer_ProxyInfo, /* proxy/server info */ 0 }; #endif // !MULTI_CALL_BINARY static const MIDL_SYNTAX_INFO KMSServer_SyntaxInfo [ 2 ] = { { {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}}, 0, KMSServer__MIDL_ProcFormatString.Format, KMSServer_FormatStringOffsetTable, KMSServer__MIDL_TypeFormatString.Format, 0, 0, 0 } ,{ {{0x71710533,0xbeba,0x4937,{0x83,0x19,0xb5,0xdb,0xef,0x9c,0xcc,0x36}},{1,0}}, 0, 0 , (unsigned short *) KMSServer_Ndr64ProcTable, 0, 0, 0, 0 } }; /*static*/ const MIDL_STUBLESS_PROXY_INFO KMSServer_ProxyInfo = { &KMSServer_StubDesc, KMSServer__MIDL_ProcFormatString.Format, KMSServer_FormatStringOffsetTable, (RPC_SYNTAX_IDENTIFIER*)&_RpcTransferSyntax, 2, (MIDL_SYNTAX_INFO*)KMSServer_SyntaxInfo }; #if _MSC_VER >= 1200 #pragma warning(pop) #endif #endif /* defined(_M_AMD64)*/