#include "kull_m_rpc_ms-credentialkeys.h"

#if defined(_M_X64) || defined(_M_ARM64) // TODO:ARM64
#define _ms_credentialkeys_MIDL_TYPE_FORMAT_STRING_SIZE	73
#elif defined(_M_IX86)
#define _ms_credentialkeys_MIDL_TYPE_FORMAT_STRING_SIZE	69
#endif

typedef struct _ms_credentialkeys_MIDL_TYPE_FORMAT_STRING {
	SHORT Pad;
	UCHAR Format[_ms_credentialkeys_MIDL_TYPE_FORMAT_STRING_SIZE];
} ms_credentialkeys_MIDL_TYPE_FORMAT_STRING;

extern const ms_credentialkeys_MIDL_TYPE_FORMAT_STRING ms_credentialkeys__MIDL_TypeFormatString;
static const RPC_CLIENT_INTERFACE mscredentialkeys___RpcClientInterface = {sizeof(RPC_CLIENT_INTERFACE), {{0xd9ae4745, 0x178e, 0x4561, {0xa5, 0x3f, 0xf0, 0x84, 0xf9, 0x92, 0x13, 0xe5}}, {1, 0}}, {{0x8a885d04, 0x1ceb, 0x11c9, {0x9f, 0xe8, 0x08, 0x00, 0x2b, 0x10, 0x48, 0x60}}, {2, 0}}, 0, 0, 0, 0, 0, 0x00000000};
static const MIDL_TYPE_PICKLING_INFO __MIDL_TypePicklingInfo = {0x33205054, 0x3, 0, 0, 0,};
static RPC_BINDING_HANDLE mscredentialkeys__MIDL_AutoBindHandle;
static const MIDL_STUB_DESC mscredentialkeys_StubDesc = {(void *) &mscredentialkeys___RpcClientInterface, MIDL_user_allocate, MIDL_user_free, &mscredentialkeys__MIDL_AutoBindHandle, 0, 0, 0, 0, ms_credentialkeys__MIDL_TypeFormatString.Format, 1, 0x60000, 0, 0x8000253, 0, 0, 0, 0x1, 0, 0, 0};

void CredentialKeys_Decode(handle_t _MidlEsHandle, PKIWI_CREDENTIAL_KEYS * _pType)
{
	NdrMesTypeDecode2(_MidlEsHandle, (PMIDL_TYPE_PICKLING_INFO) &__MIDL_TypePicklingInfo, &mscredentialkeys_StubDesc, (PFORMAT_STRING) &ms_credentialkeys__MIDL_TypeFormatString.Format[2], _pType);
}

void CredentialKeys_Free(handle_t _MidlEsHandle, PKIWI_CREDENTIAL_KEYS * _pType)
{
	NdrMesTypeFree2(_MidlEsHandle, (PMIDL_TYPE_PICKLING_INFO) &__MIDL_TypePicklingInfo, &mscredentialkeys_StubDesc, (PFORMAT_STRING) &ms_credentialkeys__MIDL_TypeFormatString.Format[2], _pType);
}
#if defined(_M_X64) || defined(_M_ARM64) // TODO:ARM64
static const ms_credentialkeys_MIDL_TYPE_FORMAT_STRING ms_credentialkeys__MIDL_TypeFormatString = {0, {
	0x00, 0x00, 0x12, 0x00, 0x38, 0x00, 0x1b, 0x00, 0x01, 0x00, 0x17, 0x00, 0x0a, 0x00, 0x01, 0x00, 0x01, 0x5b, 0x1a, 0x03, 0x18, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x0d, 0x0d, 0x06, 0x06, 0x40, 0x36,
	0x5c, 0x5b, 0x12, 0x00, 0xe2, 0xff, 0x21, 0x03, 0x00, 0x00, 0x09, 0x00, 0xf8, 0xff, 0x01, 0x00, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x4c, 0x00, 0xda, 0xff, 0x5c, 0x5b, 0x1a, 0x03, 0x08, 0x00,
	0xe6, 0xff, 0x00, 0x00, 0x08, 0x40, 0x5c, 0x5b, 0x00,
}};
#elif defined(_M_IX86)
static const ms_credentialkeys_MIDL_TYPE_FORMAT_STRING ms_credentialkeys__MIDL_TypeFormatString = {0, {
	0x00, 0x00, 0x12, 0x00, 0x36, 0x00, 0x1b, 0x00, 0x01, 0x00, 0x17, 0x00, 0x0a, 0x00, 0x01, 0x00, 0x01, 0x5b, 0x1a, 0x03, 0x10, 0x00, 0x00, 0x00, 0x08, 0x00, 0x0d, 0x0d, 0x06, 0x06, 0x36, 0x5b,
	0x12, 0x00, 0xe4, 0xff, 0x21, 0x03, 0x00, 0x00, 0x09, 0x00, 0xfc, 0xff, 0x01, 0x00, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x4c, 0x00, 0xdc, 0xff, 0x5c, 0x5b, 0x1a, 0x03, 0x04, 0x00, 0xe6, 0xff,
	0x00, 0x00, 0x08, 0x5b, 0x00,
}};
#endif

//#include "kull_m_rpc_ms-credentialkeys.h"
//
//#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*/
//
//#ifdef _M_X64
//#define _ms_credentialkeys_MIDL_TYPE_FORMAT_STRING_SIZE	73
//#elif defined _M_IX86
//#define _ms_credentialkeys_MIDL_TYPE_FORMAT_STRING_SIZE	69
//#endif
//
//typedef struct _ms_credentialkeys_MIDL_TYPE_FORMAT_STRING {
//	short          Pad;
//	unsigned char  Format[_ms_credentialkeys_MIDL_TYPE_FORMAT_STRING_SIZE];
//} ms_credentialkeys_MIDL_TYPE_FORMAT_STRING;
//
//extern const ms_credentialkeys_MIDL_TYPE_FORMAT_STRING ms_credentialkeys__MIDL_TypeFormatString;
//static const RPC_CLIENT_INTERFACE mscredentialkeys___RpcClientInterface = {sizeof(RPC_CLIENT_INTERFACE), {{0xd9ae4745, 0x178e, 0x4561, {0xa5, 0x3f, 0xf0, 0x84, 0xf9, 0x92, 0x13, 0xe5}}, {1, 0}}, {{0x8a885d04, 0x1ceb, 0x11c9, {0x9f, 0xe8, 0x08, 0x00, 0x2b, 0x10, 0x48, 0x60}}, {2, 0}}, 0, 0, 0, 0, 0, 0x00000000};
//static const MIDL_TYPE_PICKLING_INFO __MIDL_TypePicklingInfo = {0x33205054, 0x3, 0, 0, 0,};
//static RPC_BINDING_HANDLE mscredentialkeys__MIDL_AutoBindHandle;
//static const MIDL_STUB_DESC mscredentialkeys_StubDesc = {(void *) &mscredentialkeys___RpcClientInterface, MIDL_user_allocate, MIDL_user_free, &mscredentialkeys__MIDL_AutoBindHandle, 0, 0, 0, 0, ms_credentialkeys__MIDL_TypeFormatString.Format, 1, 0x60000, 0, 0x8000253, 0, 0, 0, 0x1, 0, 0, 0};
//
//void CredentialKeys_Decode(handle_t _MidlEsHandle, PKIWI_CREDENTIAL_KEYS * _pType)
//{
//	NdrMesTypeDecode2(_MidlEsHandle, (PMIDL_TYPE_PICKLING_INFO) &__MIDL_TypePicklingInfo, &mscredentialkeys_StubDesc, (PFORMAT_STRING) &ms_credentialkeys__MIDL_TypeFormatString.Format[2], _pType);
//}
//
//void CredentialKeys_Free(handle_t _MidlEsHandle, PKIWI_CREDENTIAL_KEYS * _pType)
//{
//	NdrMesTypeFree2(_MidlEsHandle, (PMIDL_TYPE_PICKLING_INFO) &__MIDL_TypePicklingInfo, &mscredentialkeys_StubDesc, (PFORMAT_STRING) &ms_credentialkeys__MIDL_TypeFormatString.Format[2], _pType);
//}
//
//#ifdef _M_X64
//static const ms_credentialkeys_MIDL_TYPE_FORMAT_STRING ms_credentialkeys__MIDL_TypeFormatString = {
//        0,
//        {
//			NdrFcShort( 0x0 ),	/* 0 */
///*  2 */	
//			0x12, 0x0,	/* FC_UP */
///*  4 */	NdrFcShort( 0x38 ),	/* Offset= 56 (60) */
///*  6 */	
//			0x1b,		/* FC_CARRAY */
//			0x0,		/* 0 */
///*  8 */	NdrFcShort( 0x1 ),	/* 1 */
///* 10 */	0x17,		/* Corr desc:  field pointer, FC_USHORT */
//			0x0,		/*  */
///* 12 */	NdrFcShort( 0xa ),	/* 10 */
///* 14 */	NdrFcShort( 0x1 ),	/* Corr flags:  early, */
///* 16 */	0x1,		/* FC_BYTE */
//			0x5b,		/* FC_END */
///* 18 */	
//			0x1a,		/* FC_BOGUS_STRUCT */
//			0x3,		/* 3 */
///* 20 */	NdrFcShort( 0x18 ),	/* 24 */
///* 22 */	NdrFcShort( 0x0 ),	/* 0 */
///* 24 */	NdrFcShort( 0xa ),	/* Offset= 10 (34) */
///* 26 */	0xd,		/* FC_ENUM16 */
//			0xd,		/* FC_ENUM16 */
///* 28 */	0x6,		/* FC_SHORT */
//			0x6,		/* FC_SHORT */
///* 30 */	0x40,		/* FC_STRUCTPAD4 */
//			0x36,		/* FC_POINTER */
///* 32 */	0x5c,		/* FC_PAD */
//			0x5b,		/* FC_END */
///* 34 */	
//			0x12, 0x0,	/* FC_UP */
///* 36 */	NdrFcShort( 0xffe2 ),	/* Offset= -30 (6) */
///* 38 */	
//			0x21,		/* FC_BOGUS_ARRAY */
//			0x3,		/* 3 */
///* 40 */	NdrFcShort( 0x0 ),	/* 0 */
///* 42 */	0x9,		/* Corr desc: FC_ULONG */
//			0x0,		/*  */
///* 44 */	NdrFcShort( 0xfff8 ),	/* -8 */
///* 46 */	NdrFcShort( 0x1 ),	/* Corr flags:  early, */
///* 48 */	NdrFcLong( 0xffffffff ),	/* -1 */
///* 52 */	NdrFcShort( 0x0 ),	/* Corr flags:  */
///* 54 */	0x4c,		/* FC_EMBEDDED_COMPLEX */
//			0x0,		/* 0 */
///* 56 */	NdrFcShort( 0xffda ),	/* Offset= -38 (18) */
///* 58 */	0x5c,		/* FC_PAD */
//			0x5b,		/* FC_END */
///* 60 */	
//			0x1a,		/* FC_BOGUS_STRUCT */
//			0x3,		/* 3 */
///* 62 */	NdrFcShort( 0x8 ),	/* 8 */
///* 64 */	NdrFcShort( 0xffe6 ),	/* Offset= -26 (38) */
///* 66 */	NdrFcShort( 0x0 ),	/* Offset= 0 (66) */
///* 68 */	0x8,		/* FC_LONG */
//			0x40,		/* FC_STRUCTPAD4 */
///* 70 */	0x5c,		/* FC_PAD */
//			0x5b,		/* FC_END */
//
//			0x0
//        }
//    };
//#elif defined _M_IX86
//static const ms_credentialkeys_MIDL_TYPE_FORMAT_STRING ms_credentialkeys__MIDL_TypeFormatString = {
//        0,
//        {
//			NdrFcShort( 0x0 ),	/* 0 */
///*  2 */	
//			0x12, 0x0,	/* FC_UP */
///*  4 */	NdrFcShort( 0x36 ),	/* Offset= 54 (58) */
///*  6 */	
//			0x1b,		/* FC_CARRAY */
//			0x0,		/* 0 */
///*  8 */	NdrFcShort( 0x1 ),	/* 1 */
///* 10 */	0x17,		/* Corr desc:  field pointer, FC_USHORT */
//			0x0,		/*  */
///* 12 */	NdrFcShort( 0xa ),	/* 10 */
///* 14 */	NdrFcShort( 0x1 ),	/* Corr flags:  early, */
///* 16 */	0x1,		/* FC_BYTE */
//			0x5b,		/* FC_END */
///* 18 */	
//			0x1a,		/* FC_BOGUS_STRUCT */
//			0x3,		/* 3 */
///* 20 */	NdrFcShort( 0x10 ),	/* 16 */
///* 22 */	NdrFcShort( 0x0 ),	/* 0 */
///* 24 */	NdrFcShort( 0x8 ),	/* Offset= 8 (32) */
///* 26 */	0xd,		/* FC_ENUM16 */
//			0xd,		/* FC_ENUM16 */
///* 28 */	0x6,		/* FC_SHORT */
//			0x6,		/* FC_SHORT */
///* 30 */	0x36,		/* FC_POINTER */
//			0x5b,		/* FC_END */
///* 32 */	
//			0x12, 0x0,	/* FC_UP */
///* 34 */	NdrFcShort( 0xffe4 ),	/* Offset= -28 (6) */
///* 36 */	
//			0x21,		/* FC_BOGUS_ARRAY */
//			0x3,		/* 3 */
///* 38 */	NdrFcShort( 0x0 ),	/* 0 */
///* 40 */	0x9,		/* Corr desc: FC_ULONG */
//			0x0,		/*  */
///* 42 */	NdrFcShort( 0xfffc ),	/* -4 */
///* 44 */	NdrFcShort( 0x1 ),	/* Corr flags:  early, */
///* 46 */	NdrFcLong( 0xffffffff ),	/* -1 */
///* 50 */	NdrFcShort( 0x0 ),	/* Corr flags:  */
///* 52 */	0x4c,		/* FC_EMBEDDED_COMPLEX */
//			0x0,		/* 0 */
///* 54 */	NdrFcShort( 0xffdc ),	/* Offset= -36 (18) */
///* 56 */	0x5c,		/* FC_PAD */
//			0x5b,		/* FC_END */
///* 58 */	
//			0x1a,		/* FC_BOGUS_STRUCT */
//			0x3,		/* 3 */
///* 60 */	NdrFcShort( 0x4 ),	/* 4 */
///* 62 */	NdrFcShort( 0xffe6 ),	/* Offset= -26 (36) */
///* 64 */	NdrFcShort( 0x0 ),	/* Offset= 0 (64) */
///* 66 */	0x8,		/* FC_LONG */
//			0x5b,		/* FC_END */
//
//			0x0
//        }
//    };
//#endif
//
//#if _MSC_VER >= 1200
//#pragma warning(pop)
//#endif