14 #if !defined (_INC_MSCLR_APPDOMAIN)
16 #ifndef __cplusplus_cli
17 #error ERROR: msclr libraries require /clr and are not compatible with /clr:oldSyntax
21 #error ERROR: msclr appdomain helpers can only be used in mixed mode. Use a cross-domain delegate in pure mode
27 #define _MSCLR_STDCALL_DISTINCT 1
28 #elif defined (_M_X64)
29 #define _MSCLR_STDCALL_DISTINCT 0
30 #elif defined (_M_ARM) || defined (_M_ARM64)
31 #define _MSCLR_STDCALL_DISTINCT 0
33 #error Need to add setting for different CPU
47 _ASSERT(SUCCEEDED(hr));
50 System::Runtime::InteropServices::Marshal::ThrowExceptionForHR(hr);
57 return System::Guid( guid.Data1, guid.Data2, guid.Data3,
58 guid.Data4[ 0 ], guid.Data4[ 1 ],
59 guid.Data4[ 2 ], guid.Data4[ 3 ],
60 guid.Data4[ 4 ], guid.Data4[ 5 ],
61 guid.Data4[ 6 ], guid.Data4[ 7 ] );
67 using System::Runtime::InteropServices::RuntimeEnvironment;
70 ICLRRuntimeHost *pClrHost =
NULL;
71 pClrHost =
reinterpret_cast<ICLRRuntimeHost*
>(
72 RuntimeEnvironment::GetRuntimeInterfaceAsIntPtr(
82 #if _MSCLR_STDCALL_DISTINCT
84 template <
typename RetType>
85 struct callback_stdcall_struct0
87 RetType (__stdcall *func)();
90 static HRESULT __stdcall callback(
void *cookie)
97 callback_stdcall_struct0 *pcs = (callback_stdcall_struct0*)cookie;
98 pcs->retValue = pcs->func();
104 template <
typename RetType,
typename ArgType1>
105 struct callback_stdcall_struct1
107 RetType (__stdcall *func)(ArgType1);
111 static HRESULT __stdcall callback(
void *cookie)
118 callback_stdcall_struct1 *pcs = (callback_stdcall_struct1*)cookie;
119 pcs->retValue = pcs->func(pcs->arg1);
125 template <
typename RetType,
typename ArgType1,
typename ArgType2>
126 struct callback_stdcall_struct2
128 RetType (__stdcall *func)(ArgType1, ArgType2);
133 static HRESULT __stdcall callback(
void *cookie)
140 callback_stdcall_struct2 *pcs = (callback_stdcall_struct2*)cookie;
141 pcs->retValue = pcs->func(pcs->arg1, pcs->arg2);
147 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3>
148 struct callback_stdcall_struct3
150 RetType (__stdcall *func)(ArgType1, ArgType2, ArgType3);
156 static HRESULT __stdcall callback(
void *cookie)
163 callback_stdcall_struct3 *pcs = (callback_stdcall_struct3*)cookie;
164 pcs->retValue = pcs->func(pcs->arg1, pcs->arg2, pcs->arg3);
170 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4>
171 struct callback_stdcall_struct4
173 RetType (__stdcall *func)(ArgType1, ArgType2, ArgType3, ArgType4);
180 static HRESULT __stdcall callback(
void *cookie)
187 callback_stdcall_struct4 *pcs = (callback_stdcall_struct4*)cookie;
188 pcs->retValue = pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4);
194 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5>
195 struct callback_stdcall_struct5
197 RetType (__stdcall *func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5);
205 static HRESULT __stdcall callback(
void *cookie)
212 callback_stdcall_struct5 *pcs = (callback_stdcall_struct5*)cookie;
213 pcs->retValue = pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5);
219 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6>
220 struct callback_stdcall_struct6
222 RetType (__stdcall *func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6);
231 static HRESULT __stdcall callback(
void *cookie)
238 callback_stdcall_struct6 *pcs = (callback_stdcall_struct6*)cookie;
239 pcs->retValue = pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6);
245 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7>
246 struct callback_stdcall_struct7
248 RetType (__stdcall *func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7);
258 static HRESULT __stdcall callback(
void *cookie)
265 callback_stdcall_struct7 *pcs = (callback_stdcall_struct7*)cookie;
266 pcs->retValue = pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7);
272 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8>
273 struct callback_stdcall_struct8
275 RetType (__stdcall *func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8);
286 static HRESULT __stdcall callback(
void *cookie)
293 callback_stdcall_struct8 *pcs = (callback_stdcall_struct8*)cookie;
294 pcs->retValue = pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7, pcs->arg8);
300 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9>
301 struct callback_stdcall_struct9
303 RetType (__stdcall *func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9);
315 static HRESULT __stdcall callback(
void *cookie)
322 callback_stdcall_struct9 *pcs = (callback_stdcall_struct9*)cookie;
323 pcs->retValue = pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7, pcs->arg8, pcs->arg9);
329 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10>
330 struct callback_stdcall_struct10
332 RetType (__stdcall *func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10);
345 static HRESULT __stdcall callback(
void *cookie)
352 callback_stdcall_struct10 *pcs = (callback_stdcall_struct10*)cookie;
353 pcs->retValue = pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7, pcs->arg8, pcs->arg9, pcs->arg10);
359 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11>
360 struct callback_stdcall_struct11
362 RetType (__stdcall *func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11);
376 static HRESULT __stdcall callback(
void *cookie)
383 callback_stdcall_struct11 *pcs = (callback_stdcall_struct11*)cookie;
384 pcs->retValue = pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7, pcs->arg8, pcs->arg9, pcs->arg10, pcs->arg11);
390 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12>
391 struct callback_stdcall_struct12
393 RetType (__stdcall *func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12);
408 static HRESULT __stdcall callback(
void *cookie)
415 callback_stdcall_struct12 *pcs = (callback_stdcall_struct12*)cookie;
416 pcs->retValue = pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7, pcs->arg8, pcs->arg9, pcs->arg10, pcs->arg11, pcs->arg12);
422 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13>
423 struct callback_stdcall_struct13
425 RetType (__stdcall *func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13);
441 static HRESULT __stdcall callback(
void *cookie)
448 callback_stdcall_struct13 *pcs = (callback_stdcall_struct13*)cookie;
449 pcs->retValue = pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7, pcs->arg8, pcs->arg9, pcs->arg10, pcs->arg11, pcs->arg12, pcs->arg13);
455 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13,
typename ArgType14>
456 struct callback_stdcall_struct14
458 RetType (__stdcall *func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14);
475 static HRESULT __stdcall callback(
void *cookie)
482 callback_stdcall_struct14 *pcs = (callback_stdcall_struct14*)cookie;
483 pcs->retValue = pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7, pcs->arg8, pcs->arg9, pcs->arg10, pcs->arg11, pcs->arg12, pcs->arg13, pcs->arg14);
489 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13,
typename ArgType14,
typename ArgType15>
490 struct callback_stdcall_struct15
492 RetType (__stdcall *func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14, ArgType15);
510 static HRESULT __stdcall callback(
void *cookie)
517 callback_stdcall_struct15 *pcs = (callback_stdcall_struct15*)cookie;
518 pcs->retValue = pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7, pcs->arg8, pcs->arg9, pcs->arg10, pcs->arg11, pcs->arg12, pcs->arg13, pcs->arg14, pcs->arg15);
524 struct callback_stdcall_void_struct0
526 void (__stdcall *func)();
528 static HRESULT __stdcall callback(
void *cookie)
535 callback_stdcall_void_struct0 *pcs = (callback_stdcall_void_struct0*)cookie;
542 template <
typename ArgType1>
543 struct callback_stdcall_void_struct1
545 void (__stdcall * func)(ArgType1);
548 static HRESULT __stdcall callback(
void *cookie)
555 callback_stdcall_void_struct1 *pcs = (callback_stdcall_void_struct1*)cookie;
556 pcs->func(pcs->arg1);
562 template <
typename ArgType1,
typename ArgType2>
563 struct callback_stdcall_void_struct2
565 void (__stdcall * func)(ArgType1, ArgType2);
569 static HRESULT __stdcall callback(
void *cookie)
576 callback_stdcall_void_struct2 *pcs = (callback_stdcall_void_struct2*)cookie;
577 pcs->func(pcs->arg1, pcs->arg2);
583 template <
typename ArgType1,
typename ArgType2,
typename ArgType3>
584 struct callback_stdcall_void_struct3
586 void (__stdcall * func)(ArgType1, ArgType2, ArgType3);
591 static HRESULT __stdcall callback(
void *cookie)
598 callback_stdcall_void_struct3 *pcs = (callback_stdcall_void_struct3*)cookie;
599 pcs->func(pcs->arg1, pcs->arg2, pcs->arg3);
605 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4>
606 struct callback_stdcall_void_struct4
608 void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4);
614 static HRESULT __stdcall callback(
void *cookie)
621 callback_stdcall_void_struct4 *pcs = (callback_stdcall_void_struct4*)cookie;
622 pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4);
628 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5>
629 struct callback_stdcall_void_struct5
631 void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5);
638 static HRESULT __stdcall callback(
void *cookie)
645 callback_stdcall_void_struct5 *pcs = (callback_stdcall_void_struct5*)cookie;
646 pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5);
652 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6>
653 struct callback_stdcall_void_struct6
655 void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6);
663 static HRESULT __stdcall callback(
void *cookie)
670 callback_stdcall_void_struct6 *pcs = (callback_stdcall_void_struct6*)cookie;
671 pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6);
677 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7>
678 struct callback_stdcall_void_struct7
680 void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7);
689 static HRESULT __stdcall callback(
void *cookie)
696 callback_stdcall_void_struct7 *pcs = (callback_stdcall_void_struct7*)cookie;
697 pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7);
703 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8>
704 struct callback_stdcall_void_struct8
706 void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8);
716 static HRESULT __stdcall callback(
void *cookie)
723 callback_stdcall_void_struct8 *pcs = (callback_stdcall_void_struct8*)cookie;
724 pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7, pcs->arg8);
730 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9>
731 struct callback_stdcall_void_struct9
733 void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9);
744 static HRESULT __stdcall callback(
void *cookie)
751 callback_stdcall_void_struct9 *pcs = (callback_stdcall_void_struct9*)cookie;
752 pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7, pcs->arg8, pcs->arg9);
758 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10>
759 struct callback_stdcall_void_struct10
761 void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10);
773 static HRESULT __stdcall callback(
void *cookie)
780 callback_stdcall_void_struct10 *pcs = (callback_stdcall_void_struct10*)cookie;
781 pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7, pcs->arg8, pcs->arg9, pcs->arg10);
787 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11>
788 struct callback_stdcall_void_struct11
790 void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11);
803 static HRESULT __stdcall callback(
void *cookie)
810 callback_stdcall_void_struct11 *pcs = (callback_stdcall_void_struct11*)cookie;
811 pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7, pcs->arg8, pcs->arg9, pcs->arg10, pcs->arg11);
817 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12>
818 struct callback_stdcall_void_struct12
820 void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12);
834 static HRESULT __stdcall callback(
void *cookie)
841 callback_stdcall_void_struct12 *pcs = (callback_stdcall_void_struct12*)cookie;
842 pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7, pcs->arg8, pcs->arg9, pcs->arg10, pcs->arg11, pcs->arg12);
848 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13>
849 struct callback_stdcall_void_struct13
851 void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13);
866 static HRESULT __stdcall callback(
void *cookie)
873 callback_stdcall_void_struct13 *pcs = (callback_stdcall_void_struct13*)cookie;
874 pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7, pcs->arg8, pcs->arg9, pcs->arg10, pcs->arg11, pcs->arg12, pcs->arg13);
880 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13,
typename ArgType14>
881 struct callback_stdcall_void_struct14
883 void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14);
899 static HRESULT __stdcall callback(
void *cookie)
906 callback_stdcall_void_struct14 *pcs = (callback_stdcall_void_struct14*)cookie;
907 pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7, pcs->arg8, pcs->arg9, pcs->arg10, pcs->arg11, pcs->arg12, pcs->arg13, pcs->arg14);
913 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13,
typename ArgType14,
typename ArgType15>
914 struct callback_stdcall_void_struct15
916 void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14, ArgType15);
933 static HRESULT __stdcall callback(
void *cookie)
940 callback_stdcall_void_struct15 *pcs = (callback_stdcall_void_struct15*)cookie;
941 pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7, pcs->arg8, pcs->arg9, pcs->arg10, pcs->arg11, pcs->arg12, pcs->arg13, pcs->arg14, pcs->arg15);
951 template <
typename RetType>
971 template <
typename RetType,
typename ArgType1>
974 RetType (__cdecl *func)(ArgType1);
992 template <
typename RetType,
typename ArgType1,
typename ArgType2>
1002 HRESULT hr = E_FAIL;
1014 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3>
1025 HRESULT hr = E_FAIL;
1037 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4>
1049 HRESULT hr = E_FAIL;
1061 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5>
1074 HRESULT hr = E_FAIL;
1086 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6>
1100 HRESULT hr = E_FAIL;
1112 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7>
1127 HRESULT hr = E_FAIL;
1139 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8>
1155 HRESULT hr = E_FAIL;
1167 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9>
1184 HRESULT hr = E_FAIL;
1196 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10>
1214 HRESULT hr = E_FAIL;
1226 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11>
1229 RetType (__cdecl *func)(ArgType1,
ArgType2,
ArgType3,
ArgType4,
ArgType5,
ArgType6,
ArgType7,
ArgType8,
ArgType9,
ArgType10,
ArgType11);
1245 HRESULT hr = E_FAIL;
1251 pcs->
retValue = pcs->func(pcs->
arg1, pcs->
arg2, pcs->
arg3, pcs->
arg4, pcs->
arg5, pcs->
arg6, pcs->
arg7, pcs->
arg8, pcs->
arg9, pcs->
arg10, pcs->
arg11);
1257 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12>
1260 RetType (__cdecl *func)(ArgType1,
ArgType2,
ArgType3,
ArgType4,
ArgType5,
ArgType6,
ArgType7,
ArgType8,
ArgType9,
ArgType10,
ArgType11,
ArgType12);
1277 HRESULT hr = E_FAIL;
1283 pcs->
retValue = pcs->func(pcs->
arg1, pcs->
arg2, pcs->
arg3, pcs->
arg4, pcs->
arg5, pcs->
arg6, pcs->
arg7, pcs->
arg8, pcs->
arg9, pcs->
arg10, pcs->
arg11, pcs->
arg12);
1289 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13>
1292 RetType (__cdecl *func)(ArgType1,
ArgType2,
ArgType3,
ArgType4,
ArgType5,
ArgType6,
ArgType7,
ArgType8,
ArgType9,
ArgType10,
ArgType11,
ArgType12,
ArgType13);
1310 HRESULT hr = E_FAIL;
1316 pcs->
retValue = pcs->func(pcs->
arg1, pcs->
arg2, pcs->
arg3, pcs->
arg4, pcs->
arg5, pcs->
arg6, pcs->
arg7, pcs->
arg8, pcs->
arg9, pcs->
arg10, pcs->
arg11, pcs->
arg12, pcs->
arg13);
1322 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13,
typename ArgType14>
1325 RetType (__cdecl *func)(ArgType1,
ArgType2,
ArgType3,
ArgType4,
ArgType5,
ArgType6,
ArgType7,
ArgType8,
ArgType9,
ArgType10,
ArgType11,
ArgType12,
ArgType13,
ArgType14);
1344 HRESULT hr = E_FAIL;
1350 pcs->
retValue = pcs->func(pcs->
arg1, pcs->
arg2, pcs->
arg3, pcs->
arg4, pcs->
arg5, pcs->
arg6, pcs->
arg7, pcs->
arg8, pcs->
arg9, pcs->
arg10, pcs->
arg11, pcs->
arg12, pcs->
arg13, pcs->
arg14);
1356 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13,
typename ArgType14,
typename ArgType15>
1359 RetType (__cdecl *func)(ArgType1,
ArgType2,
ArgType3,
ArgType4,
ArgType5,
ArgType6,
ArgType7,
ArgType8,
ArgType9,
ArgType10,
ArgType11,
ArgType12,
ArgType13,
ArgType14,
ArgType15);
1379 HRESULT hr = E_FAIL;
1385 pcs->
retValue = pcs->func(pcs->
arg1, pcs->
arg2, pcs->
arg3, pcs->
arg4, pcs->
arg5, pcs->
arg6, pcs->
arg7, pcs->
arg8, pcs->
arg9, pcs->
arg10, pcs->
arg11, pcs->
arg12, pcs->
arg13, pcs->
arg14, pcs->
arg15);
1393 void (__cdecl *func)();
1397 HRESULT hr = E_FAIL;
1409 template <
typename ArgType1>
1412 void (__cdecl * func)(ArgType1);
1417 HRESULT hr = E_FAIL;
1423 pcs->func(pcs->
arg1);
1429 template <
typename ArgType1,
typename ArgType2>
1438 HRESULT hr = E_FAIL;
1450 template <
typename ArgType1,
typename ArgType2,
typename ArgType3>
1460 HRESULT hr = E_FAIL;
1472 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4>
1483 HRESULT hr = E_FAIL;
1495 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5>
1507 HRESULT hr = E_FAIL;
1519 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6>
1532 HRESULT hr = E_FAIL;
1544 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7>
1558 HRESULT hr = E_FAIL;
1570 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8>
1585 HRESULT hr = E_FAIL;
1597 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9>
1613 HRESULT hr = E_FAIL;
1625 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10>
1642 HRESULT hr = E_FAIL;
1654 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11>
1657 void (__cdecl * func)(ArgType1,
ArgType2,
ArgType3,
ArgType4,
ArgType5,
ArgType6,
ArgType7,
ArgType8,
ArgType9,
ArgType10,
ArgType11);
1672 HRESULT hr = E_FAIL;
1678 pcs->func(pcs->
arg1, pcs->
arg2, pcs->
arg3, pcs->
arg4, pcs->
arg5, pcs->
arg6, pcs->
arg7, pcs->
arg8, pcs->
arg9, pcs->
arg10, pcs->
arg11);
1684 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12>
1687 void (__cdecl * func)(ArgType1,
ArgType2,
ArgType3,
ArgType4,
ArgType5,
ArgType6,
ArgType7,
ArgType8,
ArgType9,
ArgType10,
ArgType11,
ArgType12);
1703 HRESULT hr = E_FAIL;
1709 pcs->func(pcs->
arg1, pcs->
arg2, pcs->
arg3, pcs->
arg4, pcs->
arg5, pcs->
arg6, pcs->
arg7, pcs->
arg8, pcs->
arg9, pcs->
arg10, pcs->
arg11, pcs->
arg12);
1715 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13>
1718 void (__cdecl * func)(ArgType1,
ArgType2,
ArgType3,
ArgType4,
ArgType5,
ArgType6,
ArgType7,
ArgType8,
ArgType9,
ArgType10,
ArgType11,
ArgType12,
ArgType13);
1735 HRESULT hr = E_FAIL;
1741 pcs->func(pcs->
arg1, pcs->
arg2, pcs->
arg3, pcs->
arg4, pcs->
arg5, pcs->
arg6, pcs->
arg7, pcs->
arg8, pcs->
arg9, pcs->
arg10, pcs->
arg11, pcs->
arg12, pcs->
arg13);
1747 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13,
typename ArgType14>
1750 void (__cdecl * func)(ArgType1,
ArgType2,
ArgType3,
ArgType4,
ArgType5,
ArgType6,
ArgType7,
ArgType8,
ArgType9,
ArgType10,
ArgType11,
ArgType12,
ArgType13,
ArgType14);
1768 HRESULT hr = E_FAIL;
1774 pcs->func(pcs->
arg1, pcs->
arg2, pcs->
arg3, pcs->
arg4, pcs->
arg5, pcs->
arg6, pcs->
arg7, pcs->
arg8, pcs->
arg9, pcs->
arg10, pcs->
arg11, pcs->
arg12, pcs->
arg13, pcs->
arg14);
1780 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13,
typename ArgType14,
typename ArgType15>
1783 void (__cdecl * func)(ArgType1,
ArgType2,
ArgType3,
ArgType4,
ArgType5,
ArgType6,
ArgType7,
ArgType8,
ArgType9,
ArgType10,
ArgType11,
ArgType12,
ArgType13,
ArgType14,
ArgType15);
1802 HRESULT hr = E_FAIL;
1808 pcs->func(pcs->
arg1, pcs->
arg2, pcs->
arg3, pcs->
arg4, pcs->
arg5, pcs->
arg6, pcs->
arg7, pcs->
arg8, pcs->
arg9, pcs->
arg10, pcs->
arg11, pcs->
arg12, pcs->
arg13, pcs->
arg14, pcs->
arg15);
1817 #if _MSCLR_STDCALL_DISTINCT
1819 template <
typename RetType>
1823 _detail::callback_stdcall_struct0<RetType> cs;
1829 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
1830 pClrHost->Release();
1836 template <
typename RetType,
typename ArgType1>
1837 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__stdcall * func)(ArgType1), ArgType1 arg1)
1840 _detail::callback_stdcall_struct1<RetType, ArgType1> cs;
1847 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
1848 pClrHost->Release();
1854 template <
typename RetType,
typename ArgType1,
typename ArgType2>
1855 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__stdcall * func)(ArgType1, ArgType2), ArgType1 arg1, ArgType2 arg2)
1858 _detail::callback_stdcall_struct2<RetType, ArgType1, ArgType2> cs;
1866 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
1867 pClrHost->Release();
1873 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3>
1874 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__stdcall * func)(ArgType1, ArgType2, ArgType3), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3)
1877 _detail::callback_stdcall_struct3<RetType, ArgType1, ArgType2, ArgType3> cs;
1886 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
1887 pClrHost->Release();
1893 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4>
1894 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4)
1897 _detail::callback_stdcall_struct4<RetType, ArgType1, ArgType2, ArgType3, ArgType4> cs;
1907 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
1908 pClrHost->Release();
1914 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5>
1915 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5)
1918 _detail::callback_stdcall_struct5<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5> cs;
1929 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
1930 pClrHost->Release();
1936 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6>
1937 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6)
1940 _detail::callback_stdcall_struct6<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6> cs;
1952 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
1953 pClrHost->Release();
1959 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7>
1960 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7)
1963 _detail::callback_stdcall_struct7<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7> cs;
1976 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
1977 pClrHost->Release();
1983 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8>
1984 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8)
1987 _detail::callback_stdcall_struct8<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8> cs;
2001 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2002 pClrHost->Release();
2008 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9>
2009 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9)
2012 _detail::callback_stdcall_struct9<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9> cs;
2027 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2028 pClrHost->Release();
2034 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10>
2035 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10)
2038 _detail::callback_stdcall_struct10<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10> cs;
2054 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2055 pClrHost->Release();
2061 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11>
2062 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10, ArgType11 arg11)
2065 _detail::callback_stdcall_struct11<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11> cs;
2082 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2083 pClrHost->Release();
2089 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12>
2090 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10, ArgType11 arg11, ArgType12 arg12)
2093 _detail::callback_stdcall_struct12<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12> cs;
2111 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2112 pClrHost->Release();
2118 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13>
2119 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10, ArgType11 arg11, ArgType12 arg12, ArgType13 arg13)
2122 _detail::callback_stdcall_struct13<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13> cs;
2141 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2142 pClrHost->Release();
2148 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13,
typename ArgType14>
2149 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10, ArgType11 arg11, ArgType12 arg12, ArgType13 arg13, ArgType14 arg14)
2152 _detail::callback_stdcall_struct14<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14> cs;
2172 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2173 pClrHost->Release();
2179 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13,
typename ArgType14,
typename ArgType15>
2180 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14, ArgType15), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10, ArgType11 arg11, ArgType12 arg12, ArgType13 arg13, ArgType14 arg14, ArgType15 arg15)
2183 _detail::callback_stdcall_struct15<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14, ArgType15> cs;
2204 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2205 pClrHost->Release();
2214 _detail::callback_stdcall_void_struct0 cs;
2220 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2221 pClrHost->Release();
2225 template <
typename ArgType1>
2229 _detail::callback_stdcall_void_struct1<ArgType1> cs;
2236 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2237 pClrHost->Release();
2241 template <
typename ArgType1,
typename ArgType2>
2242 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__stdcall * func)(ArgType1, ArgType2), ArgType1 arg1, ArgType2 arg2)
2245 _detail::callback_stdcall_void_struct2<ArgType1, ArgType2> cs;
2253 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2254 pClrHost->Release();
2258 template <
typename ArgType1,
typename ArgType2,
typename ArgType3>
2259 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__stdcall * func)(ArgType1, ArgType2, ArgType3), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3)
2262 _detail::callback_stdcall_void_struct3<ArgType1, ArgType2, ArgType3> cs;
2271 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2272 pClrHost->Release();
2276 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4>
2277 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4)
2280 _detail::callback_stdcall_void_struct4<ArgType1, ArgType2, ArgType3, ArgType4> cs;
2290 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2291 pClrHost->Release();
2295 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5>
2296 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5)
2299 _detail::callback_stdcall_void_struct5<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5> cs;
2310 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2311 pClrHost->Release();
2315 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6>
2316 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6)
2319 _detail::callback_stdcall_void_struct6<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6> cs;
2331 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2332 pClrHost->Release();
2336 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7>
2337 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7)
2340 _detail::callback_stdcall_void_struct7<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7> cs;
2353 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2354 pClrHost->Release();
2358 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8>
2359 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8)
2362 _detail::callback_stdcall_void_struct8<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8> cs;
2376 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2377 pClrHost->Release();
2381 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9>
2382 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9)
2385 _detail::callback_stdcall_void_struct9<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9> cs;
2400 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2401 pClrHost->Release();
2405 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10>
2406 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10)
2409 _detail::callback_stdcall_void_struct10<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10> cs;
2425 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2426 pClrHost->Release();
2430 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11>
2431 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10, ArgType11 arg11)
2434 _detail::callback_stdcall_void_struct11<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11> cs;
2451 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2452 pClrHost->Release();
2456 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12>
2457 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10, ArgType11 arg11, ArgType12 arg12)
2460 _detail::callback_stdcall_void_struct12<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12> cs;
2478 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2479 pClrHost->Release();
2483 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13>
2484 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10, ArgType11 arg11, ArgType12 arg12, ArgType13 arg13)
2487 _detail::callback_stdcall_void_struct13<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13> cs;
2506 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2507 pClrHost->Release();
2511 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13,
typename ArgType14>
2512 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10, ArgType11 arg11, ArgType12 arg12, ArgType13 arg13, ArgType14 arg14)
2515 _detail::callback_stdcall_void_struct14<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14> cs;
2535 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2536 pClrHost->Release();
2540 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13,
typename ArgType14,
typename ArgType15>
2541 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14, ArgType15), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10, ArgType11 arg11, ArgType12 arg12, ArgType13 arg13, ArgType14 arg14, ArgType15 arg15)
2544 _detail::callback_stdcall_void_struct15<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14, ArgType15> cs;
2565 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2566 pClrHost->Release();
2574 template <
typename RetType>
2584 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
2585 pClrHost->Release();
2591 template <
typename RetType,
typename ArgType1>
2602 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
2603 pClrHost->Release();
2609 template <
typename RetType,
typename ArgType1,
typename ArgType2>
2610 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__cdecl * func)(ArgType1, ArgType2), ArgType1 arg1, ArgType2 arg2)
2621 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
2622 pClrHost->Release();
2628 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3>
2629 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__cdecl * func)(ArgType1, ArgType2, ArgType3), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3)
2641 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
2642 pClrHost->Release();
2648 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4>
2649 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4)
2662 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
2663 pClrHost->Release();
2669 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5>
2670 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5)
2684 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
2685 pClrHost->Release();
2691 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6>
2692 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6)
2707 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
2708 pClrHost->Release();
2714 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7>
2715 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7)
2731 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
2732 pClrHost->Release();
2738 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8>
2739 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8)
2756 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
2757 pClrHost->Release();
2763 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9>
2764 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9)
2782 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
2783 pClrHost->Release();
2789 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10>
2790 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10)
2793 _detail::callback_cdecl_struct10<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10> cs;
2809 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
2810 pClrHost->Release();
2816 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11>
2817 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10, ArgType11 arg11)
2820 _detail::callback_cdecl_struct11<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11> cs;
2837 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
2838 pClrHost->Release();
2844 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12>
2845 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10, ArgType11 arg11, ArgType12 arg12)
2848 _detail::callback_cdecl_struct12<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12> cs;
2866 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
2867 pClrHost->Release();
2873 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13>
2874 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10, ArgType11 arg11, ArgType12 arg12, ArgType13 arg13)
2877 _detail::callback_cdecl_struct13<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13> cs;
2896 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
2897 pClrHost->Release();
2903 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13,
typename ArgType14>
2904 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10, ArgType11 arg11, ArgType12 arg12, ArgType13 arg13, ArgType14 arg14)
2907 _detail::callback_cdecl_struct14<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14> cs;
2927 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
2928 pClrHost->Release();
2934 template <
typename RetType,
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13,
typename ArgType14,
typename ArgType15>
2935 RetType
inline call_in_appdomain(
DWORD dwAppDomainId, RetType (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14, ArgType15), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10, ArgType11 arg11, ArgType12 arg12, ArgType13 arg13, ArgType14 arg14, ArgType15 arg15)
2938 _detail::callback_cdecl_struct15<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14, ArgType15> cs;
2959 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
2960 pClrHost->Release();
2975 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
2976 pClrHost->Release();
2980 template <
typename ArgType1>
2991 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
2992 pClrHost->Release();
2996 template <
typename ArgType1,
typename ArgType2>
3008 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
3009 pClrHost->Release();
3013 template <
typename ArgType1,
typename ArgType2,
typename ArgType3>
3014 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__cdecl * func)(ArgType1, ArgType2, ArgType3), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3)
3026 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
3027 pClrHost->Release();
3031 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4>
3032 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4)
3045 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
3046 pClrHost->Release();
3050 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5>
3051 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5)
3065 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
3066 pClrHost->Release();
3070 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6>
3071 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6)
3086 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
3087 pClrHost->Release();
3091 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7>
3092 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7)
3108 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
3109 pClrHost->Release();
3113 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8>
3114 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8)
3131 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
3132 pClrHost->Release();
3136 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9>
3137 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9)
3155 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
3156 pClrHost->Release();
3160 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10>
3161 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10)
3180 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
3181 pClrHost->Release();
3185 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11>
3186 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10, ArgType11 arg11)
3189 _detail::callback_cdecl_void_struct11<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11> cs;
3206 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
3207 pClrHost->Release();
3211 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12>
3212 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10, ArgType11 arg11, ArgType12 arg12)
3215 _detail::callback_cdecl_void_struct12<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12> cs;
3233 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
3234 pClrHost->Release();
3238 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13>
3239 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10, ArgType11 arg11, ArgType12 arg12, ArgType13 arg13)
3242 _detail::callback_cdecl_void_struct13<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13> cs;
3261 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
3262 pClrHost->Release();
3266 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13,
typename ArgType14>
3267 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10, ArgType11 arg11, ArgType12 arg12, ArgType13 arg13, ArgType14 arg14)
3270 _detail::callback_cdecl_void_struct14<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14> cs;
3290 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
3291 pClrHost->Release();
3295 template <
typename ArgType1,
typename ArgType2,
typename ArgType3,
typename ArgType4,
typename ArgType5,
typename ArgType6,
typename ArgType7,
typename ArgType8,
typename ArgType9,
typename ArgType10,
typename ArgType11,
typename ArgType12,
typename ArgType13,
typename ArgType14,
typename ArgType15>
3296 void inline call_in_appdomain(
DWORD dwAppDomainId,
void (__cdecl * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14, ArgType15), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5, ArgType6 arg6, ArgType7 arg7, ArgType8 arg8, ArgType9 arg9, ArgType10 arg10, ArgType11 arg11, ArgType12 arg12, ArgType13 arg13, ArgType14 arg14, ArgType15 arg15)
3299 _detail::callback_cdecl_void_struct15<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14, ArgType15> cs;
3320 HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.
callback, &cs);
3321 pClrHost->Release();
3327 #define _INC_MSCLR_APPDOMAIN
System::Guid FromGUID(GUID const &guid)
Definition: appdomain.h:55
ArgType12 arg12
Definition: appdomain.h:1699
ArgType9
Definition: appdomain.h:1260
RetType retValue
Definition: appdomain.h:1041
ArgType2 arg2
Definition: appdomain.h:1630
ArgType3 arg3
Definition: appdomain.h:1631
Definition: appdomain.h:1113
ArgType4
Definition: appdomain.h:1359
ArgType9 arg9
Definition: appdomain.h:1727
ArgType2
Definition: appdomain.h:1573
ArgType10
Definition: appdomain.h:1783
ArgType14 arg14
Definition: appdomain.h:1797
void(__cdecl *func)(ArgType1
ArgType5 arg5
Definition: appdomain.h:1503
ArgType4 arg4
Definition: appdomain.h:1787
ArgType1 arg1
Definition: appdomain.h:1548
RetType(__cdecl *func)(ArgType1
ArgType11
Definition: appdomain.h:1260
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1415
ArgType8 arg8
Definition: appdomain.h:1368
ArgType8
Definition: appdomain.h:1229
ArgType3
Definition: appdomain.h:1229
ArgType6
Definition: appdomain.h:1687
ArgType3
Definition: appdomain.h:1453
ArgType14
Definition: appdomain.h:1783
ArgType9
Definition: appdomain.h:1687
ArgType6 arg6
Definition: appdomain.h:1299
ArgType3 arg3
Definition: appdomain.h:1068
ArgType1 arg1
Definition: appdomain.h:1433
ArgType4 arg4
Definition: appdomain.h:1526
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1153
ArgType5
Definition: appdomain.h:1498
ArgType4 arg4
Definition: appdomain.h:1661
ArgType3 arg3
Definition: appdomain.h:1660
ArgType7 arg7
Definition: appdomain.h:1150
ArgType2
Definition: appdomain.h:1229
#define NULL
Definition: vcruntime.h:236
ArgType7
Definition: appdomain.h:1657
RetType(__cdecl *func)(ArgType1
Definition: appdomain.h:1357
ArgType5
Definition: appdomain.h:1170
ArgType2
Definition: appdomain.h:1432
ArgType12 arg12
Definition: appdomain.h:1762
Definition: appdomain.h:1520
void(__cdecl *func)(ArgType1
ArgType10 arg10
Definition: appdomain.h:1697
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1733
ArgType3
Definition: appdomain.h:1783
ArgType5 arg5
Definition: appdomain.h:1266
RetType call_in_appdomain(DWORD dwAppDomainId, RetType(__cdecl *func)())
Definition: appdomain.h:2575
ArgType2
Definition: appdomain.h:1115
ArgType9 arg9
Definition: appdomain.h:1239
#define S_OK
Definition: comutil.h:62
ArgType3 arg3
Definition: appdomain.h:1203
ArgType10 arg10
Definition: appdomain.h:1271
ArgType2 arg2
Definition: appdomain.h:1524
ArgType9 arg9
Definition: appdomain.h:1180
ArgType5
Definition: appdomain.h:1600
void(__cdecl *func)(ArgType1)
ArgType4
Definition: appdomain.h:1687
ArgType2 arg2
Definition: appdomain.h:1118
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
ArgType7 arg7
Definition: appdomain.h:1300
ArgType8
Definition: appdomain.h:1657
ArgType3 arg3
Definition: appdomain.h:1550
ArgType13 arg13
Definition: appdomain.h:1339
ArgType9 arg9
Definition: appdomain.h:1637
ArgType7
Definition: appdomain.h:1687
ArgType3 arg3
Definition: appdomain.h:1456
RetType retValue
Definition: appdomain.h:955
ArgType11 arg11
Definition: appdomain.h:1304
ArgType5 arg5
Definition: appdomain.h:1121
ArgType8 arg8
Definition: appdomain.h:1636
ArgType3
Definition: appdomain.h:1359
ArgType7
Definition: appdomain.h:1199
ArgType12
Definition: appdomain.h:1292
ArgType10
Definition: appdomain.h:1199
ArgType3 arg3
Definition: appdomain.h:1296
ArgType8 arg8
Definition: appdomain.h:1758
ArgType8
Definition: appdomain.h:1718
ArgType6
Definition: appdomain.h:1115
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1212
ArgType13
Definition: appdomain.h:1359
ArgType10 arg10
Definition: appdomain.h:1240
ArgType2
Definition: appdomain.h:1142
ArgType7
Definition: appdomain.h:1325
ArgType8
Definition: appdomain.h:1573
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1098
Definition: appdomain.h:1015
void(__cdecl *func)(ArgType1
ArgType2 arg2
Definition: appdomain.h:1020
Definition: appdomain.h:1410
ArgType11
Definition: appdomain.h:1687
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1701
ArgType9
Definition: appdomain.h:1750
ArgType14 arg14
Definition: appdomain.h:1374
ArgType2 arg2
Definition: appdomain.h:1263
ArgType8 arg8
Definition: appdomain.h:1238
ArgType10
Definition: appdomain.h:1359
ArgType5
Definition: appdomain.h:1325
ArgType1 arg1
Definition: appdomain.h:1601
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1308
ArgType3 arg3
Definition: appdomain.h:1329
ArgType1 arg1
Definition: appdomain.h:1413
ArgType1 arg1
Definition: appdomain.h:1574
ArgType2
Definition: appdomain.h:1260
ArgType9 arg9
Definition: appdomain.h:1696
ArgType10
Definition: appdomain.h:1628
ArgType7
Definition: appdomain.h:1628
ArgType9
Definition: appdomain.h:1657
ArgType7
Definition: appdomain.h:1547
ArgType2
Definition: appdomain.h:1498
ArgType11
Definition: appdomain.h:1718
ArgType3
Definition: appdomain.h:1199
ArgType3 arg3
Definition: appdomain.h:1478
ArgType11
Definition: appdomain.h:1783
ArgType11
Definition: appdomain.h:1657
ArgType4
Definition: appdomain.h:1750
ArgType6
Definition: appdomain.h:1292
ArgType15 arg15
Definition: appdomain.h:1375
ArgType7 arg7
Definition: appdomain.h:1607
ArgType4 arg4
Definition: appdomain.h:1094
ArgType9 arg9
Definition: appdomain.h:1759
ArgType4
Definition: appdomain.h:1522
ArgType9
Definition: appdomain.h:1628
ArgType1 arg1
Definition: appdomain.h:1231
Definition: appdomain.h:1140
ArgType1 arg1
Definition: appdomain.h:1327
ArgType8 arg8
Definition: appdomain.h:1208
RetType retValue
Definition: appdomain.h:1090
ArgType6 arg6
Definition: appdomain.h:1693
ArgType1 arg1
Definition: appdomain.h:1294
ArgType2 arg2
Definition: appdomain.h:1362
ArgType2
Definition: appdomain.h:1547
ArgType4
Definition: appdomain.h:1260
void(__cdecl *func)(ArgType1
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1395
ArgType1 arg1
Definition: appdomain.h:1042
ArgType1 arg1
Definition: appdomain.h:1117
RetType retValue
Definition: appdomain.h:1261
ArgType11 arg11
Definition: appdomain.h:1761
ArgType4
Definition: appdomain.h:1547
Definition: appdomain.h:1716
void(__cdecl *func)(ArgType1
ArgType6
Definition: appdomain.h:1657
ArgType12 arg12
Definition: appdomain.h:1305
ArgType5 arg5
Definition: appdomain.h:1552
ArgType12
Definition: appdomain.h:1260
ArgType2 arg2
Definition: appdomain.h:1092
ArgType2
Definition: appdomain.h:1750
ArgType7
Definition: appdomain.h:1170
ArgType4 arg4
Definition: appdomain.h:1147
ArgType7 arg7
Definition: appdomain.h:1580
ArgType2 arg2
Definition: appdomain.h:1232
ArgType6 arg6
Definition: appdomain.h:1236
ArgType4 arg4
Definition: appdomain.h:1577
ArgType3 arg3
Definition: appdomain.h:1525
ArgType5 arg5
Definition: appdomain.h:1633
ArgType9
Definition: appdomain.h:1292
ArgType5
Definition: appdomain.h:1718
RetType retValue
Definition: appdomain.h:1116
ArgType11 arg11
Definition: appdomain.h:1668
Definition: appdomain.h:1323
ArgType5
Definition: appdomain.h:1687
ArgType8
Definition: appdomain.h:1170
ArgType6 arg6
Definition: appdomain.h:1149
ArgType11
Definition: appdomain.h:1292
ArgType11
Definition: appdomain.h:1229
ArgType5 arg5
Definition: appdomain.h:1365
ArgType2
Definition: appdomain.h:1475
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1556
RetType retValue
Definition: appdomain.h:1293
Definition: appdomain.h:1496
ArgType2
Definition: appdomain.h:1292
ArgType6
Definition: appdomain.h:1229
RetType retValue
Definition: appdomain.h:1230
ArgType8
Definition: appdomain.h:1687
ArgType6
Definition: appdomain.h:1600
ArgType6
Definition: appdomain.h:1325
ArgType7 arg7
Definition: appdomain.h:1694
ArgType1 arg1
Definition: appdomain.h:976
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1047
ArgType9
Definition: appdomain.h:1600
ArgType2
Definition: appdomain.h:1089
ArgType12
Definition: appdomain.h:1325
ArgType5 arg5
Definition: appdomain.h:1331
ArgType2 arg2
Definition: appdomain.h:1500
ArgType3
Definition: appdomain.h:1017
ArgType6 arg6
Definition: appdomain.h:1528
ArgType10 arg10
Definition: appdomain.h:1303
ArgType8
Definition: appdomain.h:1783
ArgType9
Definition: appdomain.h:1170
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1243
ArgType12
Definition: appdomain.h:1783
ArgType5 arg5
Definition: appdomain.h:1205
ArgType4
Definition: appdomain.h:1229
ArgType1 arg1
Definition: appdomain.h:1499
ArgType10
Definition: appdomain.h:1657
ArgType4 arg4
Definition: appdomain.h:1479
ArgType3
Definition: appdomain.h:1040
ArgType5
Definition: appdomain.h:1115
Definition: appdomain.h:1626
ArgType13
Definition: appdomain.h:1292
ArgType11 arg11
Definition: appdomain.h:1729
ArgType15
Definition: appdomain.h:1783
ArgType12 arg12
Definition: appdomain.h:1273
ArgType10 arg10
Definition: appdomain.h:1793
ArgType10
Definition: appdomain.h:1260
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:978
ArgType6
Definition: appdomain.h:1359
ArgType6 arg6
Definition: appdomain.h:1206
ArgType7
Definition: appdomain.h:1600
ArgType4
Definition: appdomain.h:1718
ArgType10 arg10
Definition: appdomain.h:1370
ArgType8 arg8
Definition: appdomain.h:1269
ArgType3
Definition: appdomain.h:1547
Definition: appdomain.h:1038
Definition: appdomain.h:1391
void(__cdecl *func)(ArgType1
RetType retValue
Definition: appdomain.h:996
ArgType9 arg9
Definition: appdomain.h:1270
ArgType2
Definition: appdomain.h:1687
ArgType5
Definition: appdomain.h:1573
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1342
ArgType14 arg14
Definition: appdomain.h:1340
ArgType5 arg5
Definition: appdomain.h:1605
RetType(__cdecl *func)(ArgType1
ArgType12
Definition: appdomain.h:1718
ArgType1 arg1
Definition: appdomain.h:1784
ArgType3
Definition: appdomain.h:1325
ArgType10
Definition: appdomain.h:1750
ArgType6
Definition: appdomain.h:1170
ArgType2
Definition: appdomain.h:1017
ArgType10 arg10
Definition: appdomain.h:1638
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1182
void(__cdecl *func)(ArgType1
ArgType2
Definition: appdomain.h:1199
ArgType4 arg4
Definition: appdomain.h:1604
void(__cdecl *func)(ArgType1
RetType(__cdecl *func)(ArgType1
ArgType10
Definition: appdomain.h:1229
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1640
ArgType10
Definition: appdomain.h:1718
ArgType13
Definition: appdomain.h:1718
ArgType7
Definition: appdomain.h:1142
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1436
ArgType3 arg3
Definition: appdomain.h:1174
ArgType7
Definition: appdomain.h:1718
ArgType6 arg6
Definition: appdomain.h:1122
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1670
Definition: appdomain.h:1598
ArgType2 arg2
Definition: appdomain.h:1043
ArgType4
Definition: appdomain.h:1498
ArgType8
Definition: appdomain.h:1260
ArgType6 arg6
Definition: appdomain.h:1756
Definition: appdomain.h:1258
RetType retValue
Definition: appdomain.h:975
ArgType5 arg5
Definition: appdomain.h:1788
ArgType12
Definition: appdomain.h:1687
ArgType8
Definition: appdomain.h:1628
Definition: appdomain.h:1168
ArgType2 arg2
Definition: appdomain.h:1455
ArgType2
Definition: appdomain.h:1522
RetType(__cdecl *func)(ArgType1
ArgType2
Definition: appdomain.h:1064
ArgType1 arg1
Definition: appdomain.h:1144
ArgType10
Definition: appdomain.h:1325
ArgType2 arg2
Definition: appdomain.h:1785
ArgType1 arg1
Definition: appdomain.h:1019
ArgType10
Definition: appdomain.h:1687
ArgType2 arg2
Definition: appdomain.h:1689
ArgType5 arg5
Definition: appdomain.h:1148
void(__cdecl *func)(ArgType1
ArgType4
Definition: appdomain.h:1089
ArgType6
Definition: appdomain.h:1628
ArgType8
Definition: appdomain.h:1325
ArgType1 arg1
Definition: appdomain.h:1454
Definition: appdomain.h:1748
ArgType6
Definition: appdomain.h:1783
ArgType5
Definition: appdomain.h:1657
#define FAILED(hr)
Definition: comutil.h:71
ArgType3
Definition: appdomain.h:1718
Definition: appdomain.h:1290
ArgType13 arg13
Definition: appdomain.h:1373
RetType retValue
Definition: appdomain.h:1360
RetType(__cdecl *func)(ArgType1
ArgType8
Definition: appdomain.h:1292
RetType retValue
Definition: appdomain.h:1018
ArgType2 arg2
Definition: appdomain.h:1145
ArgType2
Definition: appdomain.h:1718
RetType(__cdecl *func)(ArgType1
Definition: appdomain.h:952
ArgType5 arg5
Definition: appdomain.h:1298
Definition: appdomain.h:1473
ArgType7 arg7
Definition: appdomain.h:1123
ArgType7
Definition: appdomain.h:1359
ArgType2 arg2
Definition: appdomain.h:1202
ArgType15
Definition: appdomain.h:1359
ArgType4
Definition: appdomain.h:1325
ArgType3
Definition: appdomain.h:1498
ArgType5
Definition: appdomain.h:1547
ArgType8
Definition: appdomain.h:1199
ArgType3 arg3
Definition: appdomain.h:1363
ArgType5 arg5
Definition: appdomain.h:1235
ArgType6 arg6
Definition: appdomain.h:1634
ArgType4 arg4
Definition: appdomain.h:1754
ArgType6 arg6
Definition: appdomain.h:1553
ArgType10 arg10
Definition: appdomain.h:1760
ArgType4 arg4
Definition: appdomain.h:1297
ArgType1 arg1
Definition: appdomain.h:1201
ArgType11 arg11
Definition: appdomain.h:1371
ArgType5
Definition: appdomain.h:1359
ArgType4 arg4
Definition: appdomain.h:1551
ArgType7 arg7
Definition: appdomain.h:1268
RetType(__cdecl *func)(ArgType1
ArgType7
Definition: appdomain.h:1229
ArgType13 arg13
Definition: appdomain.h:1763
ArgType4
Definition: appdomain.h:1170
ArgType6 arg6
Definition: appdomain.h:1332
RetType(__cdecl *func)(ArgType1
ArgType2
Definition: appdomain.h:1040
ArgType2 arg2
Definition: appdomain.h:1549
void(__cdecl *func)(ArgType1
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1611
ArgType4
Definition: appdomain.h:1600
ArgType4 arg4
Definition: appdomain.h:1502
ArgType4 arg4
Definition: appdomain.h:1722
ArgType9
Definition: appdomain.h:1199
ArgType6 arg6
Definition: appdomain.h:1267
Definition: appdomain.h:1062
ArgType5
Definition: appdomain.h:1522
ArgType9 arg9
Definition: appdomain.h:1609
ArgType1 arg1
Definition: appdomain.h:1688
ArgType7 arg7
Definition: appdomain.h:1757
ArgType8 arg8
Definition: appdomain.h:1581
ArgType3
Definition: appdomain.h:1115
ArgType5
Definition: appdomain.h:1628
ArgType7
Definition: appdomain.h:1573
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1458
unsigned long DWORD
Definition: concrt.h:63
ArgType6
Definition: appdomain.h:1750
ArgType1 arg1
Definition: appdomain.h:1523
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1377
ArgType4 arg4
Definition: appdomain.h:1204
ArgType6 arg6
Definition: appdomain.h:1606
ArgType8 arg8
Definition: appdomain.h:1726
ArgType2
Definition: appdomain.h:1170
ArgType2
Definition: appdomain.h:1453
ArgType11 arg11
Definition: appdomain.h:1272
ArgType4 arg4
Definition: appdomain.h:1234
ArgType7 arg7
Definition: appdomain.h:1333
ArgType5
Definition: appdomain.h:1292
ArgType2 arg2
Definition: appdomain.h:998
Definition: appdomain.h:1571
ArgType7 arg7
Definition: appdomain.h:1237
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1072
ArgType3
Definition: appdomain.h:1573
Definition: appdomain.h:1227
ArgType11
Definition: appdomain.h:1325
ArgType6 arg6
Definition: appdomain.h:1663
ArgType12 arg12
Definition: appdomain.h:1338
ArgType8 arg8
Definition: appdomain.h:1179
ArgType3 arg3
Definition: appdomain.h:1690
ArgType14 arg14
Definition: appdomain.h:1764
ArgType7 arg7
Definition: appdomain.h:1635
ArgType3 arg3
Definition: appdomain.h:1786
ArgType7
Definition: appdomain.h:1292
RetType retValue
Definition: appdomain.h:1143
Definition: appdomain.h:1655
ArgType4
Definition: appdomain.h:1115
ArgType1 arg1
Definition: appdomain.h:1476
ArgType2
Definition: appdomain.h:1628
ArgType7 arg7
Definition: appdomain.h:1725
ArgType12
Definition: appdomain.h:1750
void(__cdecl *func)(ArgType1
ArgType3
Definition: appdomain.h:1089
ArgType9 arg9
Definition: appdomain.h:1335
ArgType6
Definition: appdomain.h:1522
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1275
ArgType1 arg1
Definition: appdomain.h:1719
ArgType7 arg7
Definition: appdomain.h:1367
ArgType14
Definition: appdomain.h:1750
RetType retValue
Definition: appdomain.h:1326
ArgType10 arg10
Definition: appdomain.h:1336
ArgType4 arg4
Definition: appdomain.h:1175
ArgType3
Definition: appdomain.h:1170
ArgType9
Definition: appdomain.h:1359
ArgType2 arg2
Definition: appdomain.h:1173
ArgType7
Definition: appdomain.h:1260
Definition: appdomain.h:972
RetType(__cdecl *func)(ArgType1)
ArgType5 arg5
Definition: appdomain.h:1070
Definition: appdomain.h:1451
ArgType3
Definition: appdomain.h:1260
ArgType2
Definition: appdomain.h:995
ArgType1 arg1
Definition: appdomain.h:1091
ArgType3 arg3
Definition: appdomain.h:1501
ArgType11 arg11
Definition: appdomain.h:1241
ArgType7 arg7
Definition: appdomain.h:1664
ArgType8 arg8
Definition: appdomain.h:1301
ArgType8
Definition: appdomain.h:1750
ArgType3
Definition: appdomain.h:1750
ArgType12 arg12
Definition: appdomain.h:1795
ArgType9 arg9
Definition: appdomain.h:1302
ArgType2 arg2
Definition: appdomain.h:1575
RetType(__cdecl *func)(ArgType1
ArgType2
Definition: appdomain.h:1600
ArgType8
Definition: appdomain.h:1600
ArgType3 arg3
Definition: appdomain.h:1576
ArgType9 arg9
Definition: appdomain.h:1209
ArgType13 arg13
Definition: appdomain.h:1731
ArgType5
Definition: appdomain.h:1260
void(__cdecl *func)(ArgType1
ArgType3
Definition: appdomain.h:1600
ArgType10 arg10
Definition: appdomain.h:1667
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1023
ArgType1 arg1
Definition: appdomain.h:1172
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1530
ArgType1 arg1
Definition: appdomain.h:1066
ArgType4 arg4
Definition: appdomain.h:1364
ArgType4
Definition: appdomain.h:1292
ArgType5
Definition: appdomain.h:1783
RetType(__cdecl *func)(ArgType1
ArgType4
Definition: appdomain.h:1783
ArgType6 arg6
Definition: appdomain.h:1096
ArgType9
Definition: appdomain.h:1718
ArgType7
Definition: appdomain.h:1750
ArgType9
Definition: appdomain.h:1325
ArgType9 arg9
Definition: appdomain.h:1792
ArgType1 arg1
Definition: appdomain.h:1658
ArgType3 arg3
Definition: appdomain.h:1119
ArgType2 arg2
Definition: appdomain.h:1295
ArgType9 arg9
Definition: appdomain.h:1666
ArgType7 arg7
Definition: appdomain.h:1554
ArgType4 arg4
Definition: appdomain.h:1120
ArgType3
Definition: appdomain.h:1628
ArgType3 arg3
Definition: appdomain.h:1753
ArgType3
Definition: appdomain.h:1475
Definition: appdomain.h:1087
ArgType5 arg5
Definition: appdomain.h:1755
ArgType4
Definition: appdomain.h:1142
ArgType6
Definition: appdomain.h:1199
ArgType7
Definition: appdomain.h:1115
RetType retValue
Definition: appdomain.h:1200
ArgType1 arg1
Definition: appdomain.h:1361
ArgType11
Definition: appdomain.h:1359
ArgType11 arg11
Definition: appdomain.h:1794
ArgType1 arg1
Definition: appdomain.h:1751
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1000
ArgType6
Definition: appdomain.h:1573
ArgType9
Definition: appdomain.h:1783
ArgType7 arg7
Definition: appdomain.h:1178
Definition: appdomain.h:1781
ArgType12 arg12
Definition: appdomain.h:1730
ArgType2 arg2
Definition: appdomain.h:1434
ArgType2 arg2
Definition: appdomain.h:1067
ArgType6 arg6
Definition: appdomain.h:1177
ArgType15 arg15
Definition: appdomain.h:1798
ArgType5
Definition: appdomain.h:1229
ArgType5 arg5
Definition: appdomain.h:1527
ArgType2 arg2
Definition: appdomain.h:1328
ArgType13
Definition: appdomain.h:1783
_CRT_BEGIN_C_HEADER typedef void(__CRTDECL *unexpected_handler)()
ArgType6
Definition: appdomain.h:1142
ArgType6 arg6
Definition: appdomain.h:1579
ArgType3 arg3
Definition: appdomain.h:1233
ArgType8
Definition: appdomain.h:1142
RetType retValue
Definition: appdomain.h:1065
ArgType5
Definition: appdomain.h:1089
ArgType9 arg9
Definition: appdomain.h:1369
ArgType2 arg2
Definition: appdomain.h:1752
ArgType3
Definition: appdomain.h:1522
ArgType1 arg1
Definition: appdomain.h:1629
Definition: appdomain.h:1545
ArgType1 arg1
Definition: appdomain.h:1262
ArgType14
Definition: appdomain.h:1359
ArgType4
Definition: appdomain.h:1573
ArgType4
Definition: appdomain.h:1199
ArgType5
Definition: appdomain.h:1142
ArgType5 arg5
Definition: appdomain.h:1095
Definition: appdomain.h:1197
ArgType3 arg3
Definition: appdomain.h:1264
ArgType3
Definition: appdomain.h:1292
void(__cdecl *func)(ArgType1
ArgType10 arg10
Definition: appdomain.h:1210
ArgType6 arg6
Definition: appdomain.h:1724
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1125
ArgType7 arg7
Definition: appdomain.h:1207
ArgType4 arg4
Definition: appdomain.h:1265
ArgType11 arg11
Definition: appdomain.h:1698
RetType(__cdecl *func)(ArgType1
void(__cdecl *func)(ArgType1
ArgType11 arg11
Definition: appdomain.h:1337
ArgType9
Definition: appdomain.h:1229
ArgType2 arg2
Definition: appdomain.h:1659
ArgType8 arg8
Definition: appdomain.h:1695
ArgType5 arg5
Definition: appdomain.h:1692
ArgType7 arg7
Definition: appdomain.h:1790
ArgType4
Definition: appdomain.h:1628
ArgType8 arg8
Definition: appdomain.h:1151
ArgType5
Definition: appdomain.h:1199
ArgType2 arg2
Definition: appdomain.h:1602
ArgType8 arg8
Definition: appdomain.h:1608
ArgType5 arg5
Definition: appdomain.h:1723
Definition: appdomain.h:1685
ArgType5 arg5
Definition: appdomain.h:1578
ArgType10
Definition: appdomain.h:1292
ArgType4
Definition: appdomain.h:1040
ArgType5 arg5
Definition: appdomain.h:1662
ArgType3 arg3
Definition: appdomain.h:1093
ArgType13 arg13
Definition: appdomain.h:1796
ArgType3
Definition: appdomain.h:1064
ArgType5
Definition: appdomain.h:1750
ArgType14
Definition: appdomain.h:1325
ArgType6 arg6
Definition: appdomain.h:1366
ArgType2
Definition: appdomain.h:1657
RetType(__cdecl *func)(ArgType1
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1766
ArgType10 arg10
Definition: appdomain.h:1728
ArgType13
Definition: appdomain.h:1750
ArgType3 arg3
Definition: appdomain.h:1044
ArgType12 arg12
Definition: appdomain.h:1372
Definition: appdomain.h:993
ArgType3 arg3
Definition: appdomain.h:1021
Definition: appdomain.h:1430
ArgType4 arg4
Definition: appdomain.h:1632
ArgType6
Definition: appdomain.h:1089
ArgType4 arg4
Definition: appdomain.h:1330
ArgType3 arg3
Definition: appdomain.h:1603
ArgType2
Definition: appdomain.h:1783
ArgType3 arg3
Definition: appdomain.h:1721
ArgType12
Definition: appdomain.h:1359
ArgType13 arg13
Definition: appdomain.h:1306
ArgType4 arg4
Definition: appdomain.h:1045
ArgType4
Definition: appdomain.h:1657
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1481
RetType(__cdecl *func)(ArgType1
RetType retValue
Definition: appdomain.h:1171
ArgType6
Definition: appdomain.h:1718
void validate(HRESULT hr)
Definition: appdomain.h:45
ArgType3
Definition: appdomain.h:1687
ArgType4 arg4
Definition: appdomain.h:1069
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1583
ArgType6
Definition: appdomain.h:1547
ArgType3
Definition: appdomain.h:1142
ArgType7
Definition: appdomain.h:1783
ArgType13
Definition: appdomain.h:1325
ArgType11
Definition: appdomain.h:1750
ArgType4
Definition: appdomain.h:1064
ArgType4
Definition: appdomain.h:1475
ArgType2 arg2
Definition: appdomain.h:1720
ArgType2
Definition: appdomain.h:1325
ArgType1 arg1
Definition: appdomain.h:997
ArgType2
Definition: appdomain.h:1359
ArgType5
Definition: appdomain.h:1064
ArgType8 arg8
Definition: appdomain.h:1334
ArgType5 arg5
Definition: appdomain.h:1176
ArgType8 arg8
Definition: appdomain.h:1791
ArgType2 arg2
Definition: appdomain.h:1477
ArgType3 arg3
Definition: appdomain.h:1146
ArgType3
Definition: appdomain.h:1657
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:957
ArgType6
Definition: appdomain.h:1260
ArgType6 arg6
Definition: appdomain.h:1789
ArgType8
Definition: appdomain.h:1359
ArgType4 arg4
Definition: appdomain.h:1691
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1505
ArgType8 arg8
Definition: appdomain.h:1665
static HRESULT __stdcall callback(void *cookie)
Definition: appdomain.h:1800