#include "kull_m_rpc_ms-dcom_IObjectExporter.h"

#define TYPE_FORMAT_STRING_SIZE   49
#if defined(_M_X64) || defined(_M_ARM64) // TODO:ARM64
#define PROC_FORMAT_STRING_SIZE   55
#elif defined(_M_IX86)
#define PROC_FORMAT_STRING_SIZE   53
#endif

typedef struct _IObjectExporter_MIDL_TYPE_FORMAT_STRING {
	short          Pad;
	unsigned char  Format[TYPE_FORMAT_STRING_SIZE];
} IObjectExporter_MIDL_TYPE_FORMAT_STRING;

typedef struct _IObjectExporter_MIDL_PROC_FORMAT_STRING {
	short          Pad;
	unsigned char  Format[PROC_FORMAT_STRING_SIZE];
} IObjectExporter_MIDL_PROC_FORMAT_STRING;

extern const IObjectExporter_MIDL_TYPE_FORMAT_STRING IObjectExporter__MIDL_TypeFormatString;
extern const IObjectExporter_MIDL_PROC_FORMAT_STRING IObjectExporter__MIDL_ProcFormatString;
static const RPC_CLIENT_INTERFACE IObjectExporter___RpcClientInterface = {sizeof(RPC_CLIENT_INTERFACE), {{0x99fcfec4, 0x5260, 0x101b, {0xbb, 0xcb, 0x00, 0xaa, 0x00, 0x21, 0x34, 0x7a}}, {0, 0}}, {{0x8a885d04, 0x1ceb, 0x11c9, {0x9f, 0xe8, 0x08, 0x00, 0x2b, 0x10, 0x48, 0x60}}, {2, 0}}, 0, 0, 0, 0, 0, 0x00000000};
static RPC_BINDING_HANDLE IObjectExporter__MIDL_AutoBindHandle;
static const MIDL_STUB_DESC IObjectExporter_StubDesc = {(void *) &IObjectExporter___RpcClientInterface, MIDL_user_allocate, MIDL_user_free, &IObjectExporter__MIDL_AutoBindHandle, 0, 0, 0, 0, IObjectExporter__MIDL_TypeFormatString.Format, 1, 0x60000, 0, 0x8000253, 0, 0, 0, 0x1, 0, 0, 0};
#if defined(_M_X64) || defined(_M_ARM64) // TODO:ARM64
error_status_t ServerAlive2(handle_t hRpc, COMVERSION *pComVersion, DUALSTRINGARRAY **ppdsaOrBindings, DWORD *pReserved)
{
	return (error_status_t) NdrClientCall2((PMIDL_STUB_DESC) &IObjectExporter_StubDesc, (PFORMAT_STRING) &IObjectExporter__MIDL_ProcFormatString.Format[0], hRpc, pComVersion, ppdsaOrBindings, pReserved).Simple;
}
static const IObjectExporter_MIDL_PROC_FORMAT_STRING IObjectExporter__MIDL_ProcFormatString = {0, {
	0x00, 0x48, 0x01, 0x00, 0x00, 0x00, 0x05, 0x00, 0x28, 0x00, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x4c, 0x00, 0x45, 0x04, 0x0a, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x21,
	0x08, 0x00, 0x06, 0x00, 0x13, 0x20, 0x10, 0x00, 0x0e, 0x00, 0x50, 0x21, 0x18, 0x00, 0x08, 0x00, 0x70, 0x00, 0x20, 0x00, 0x10, 0x00, 0x00
}};
#elif defined(_M_IX86)
#pragma optimize("", off)
error_status_t ServerAlive2(handle_t hRpc, COMVERSION *pComVersion, DUALSTRINGARRAY **ppdsaOrBindings, DWORD *pReserved)
{
    return (error_status_t) NdrClientCall2((PMIDL_STUB_DESC) &IObjectExporter_StubDesc, (PFORMAT_STRING) &IObjectExporter__MIDL_ProcFormatString.Format[0], (unsigned char *) &hRpc).Simple;
}
#pragma optimize("", on)
static const IObjectExporter_MIDL_PROC_FORMAT_STRING IObjectExporter__MIDL_ProcFormatString = {0, {
	0x00, 0x48, 0x01, 0x00, 0x00, 0x00, 0x05, 0x00, 0x14, 0x00, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x4c, 0x00, 0x45, 0x04, 0x08, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x21, 0x04, 0x00,
	0x06, 0x00, 0x13, 0x20, 0x08, 0x00, 0x0e, 0x00, 0x50, 0x21, 0x0c, 0x00, 0x08, 0x00, 0x70, 0x00, 0x10, 0x00, 0x10, 0x00, 0x00,
}};
#endif
static const IObjectExporter_MIDL_TYPE_FORMAT_STRING IObjectExporter__MIDL_TypeFormatString = {0, {
	0x00, 0x00, 0x11, 0x04, 0x02, 0x00, 0x15, 0x01, 0x04, 0x00, 0x06, 0x06, 0x5c, 0x5b, 0x11, 0x14, 0x02, 0x00, 0x12, 0x00, 0x0e, 0x00, 0x1b, 0x01, 0x02, 0x00, 0x07, 0x00, 0xfc, 0xff, 0x01, 0x00,
	0x06, 0x5b, 0x17, 0x01, 0x04, 0x00, 0xf0, 0xff, 0x06, 0x06, 0x5c, 0x5b, 0x11, 0x0c, 0x08, 0x5c, 0x00
}};