STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Namespaces | Classes | Enumerations | Functions
msclr Namespace Reference

Namespaces

 _detail
 
 com
 
 delegate_map
 
 interop
 

Classes

class  _detail_class
 
class  auto_gcroot
 
class  auto_handle
 
struct  gcroot
 
class  lock
 

Enumerations

enum  lock_when { lock_later }
 

Functions

template<typename RetType >
RetType call_in_appdomain (DWORD dwAppDomainId, RetType(__cdecl *func)())
 
template<typename RetType , typename ArgType1 >
RetType call_in_appdomain (DWORD dwAppDomainId, RetType(__cdecl *func)(ArgType1), ArgType1 arg1)
 
template<typename RetType , typename ArgType1 , typename ArgType2 >
RetType call_in_appdomain (DWORD dwAppDomainId, RetType(__cdecl *func)(ArgType1, ArgType2), ArgType1 arg1, ArgType2 arg2)
 
template<typename RetType , typename ArgType1 , typename ArgType2 , typename ArgType3 >
RetType call_in_appdomain (DWORD dwAppDomainId, RetType(__cdecl *func)(ArgType1, ArgType2, ArgType3), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3)
 
template<typename RetType , typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 >
RetType call_in_appdomain (DWORD dwAppDomainId, RetType(__cdecl *func)(ArgType1, ArgType2, ArgType3, ArgType4), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4)
 
template<typename RetType , typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 >
RetType call_in_appdomain (DWORD dwAppDomainId, RetType(__cdecl *func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5)
 
template<typename RetType , typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 >
RetType 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)
 
template<typename RetType , typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 , typename ArgType7 >
RetType 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)
 
template<typename RetType , typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 , typename ArgType7 , typename ArgType8 >
RetType 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)
 
template<typename RetType , typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 , typename ArgType7 , typename ArgType8 , typename ArgType9 >
RetType 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)
 
template<typename RetType , typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 , typename ArgType7 , typename ArgType8 , typename ArgType9 , typename ArgType10 >
RetType 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)
 
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 >
RetType 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)
 
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 >
RetType 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)
 
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 >
RetType 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)
 
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 >
RetType 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)
 
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 >
RetType 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)
 
void call_in_appdomain (DWORD dwAppDomainId, void(__cdecl *func)())
 
template<typename ArgType1 >
void call_in_appdomain (DWORD dwAppDomainId, void(__cdecl *func)(ArgType1), ArgType1 arg1)
 
template<typename ArgType1 , typename ArgType2 >
void call_in_appdomain (DWORD dwAppDomainId, void(__cdecl *func)(ArgType1, ArgType2), ArgType1 arg1, ArgType2 arg2)
 
template<typename ArgType1 , typename ArgType2 , typename ArgType3 >
void call_in_appdomain (DWORD dwAppDomainId, void(__cdecl *func)(ArgType1, ArgType2, ArgType3), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3)
 
template<typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 >
void call_in_appdomain (DWORD dwAppDomainId, void(__cdecl *func)(ArgType1, ArgType2, ArgType3, ArgType4), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4)
 
template<typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 >
void call_in_appdomain (DWORD dwAppDomainId, void(__cdecl *func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5), ArgType1 arg1, ArgType2 arg2, ArgType3 arg3, ArgType4 arg4, ArgType5 arg5)
 
template<typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 >
void 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)
 
template<typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 , typename ArgType7 >
void 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)
 
template<typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 , typename ArgType7 , typename ArgType8 >
void 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)
 
template<typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 , typename ArgType7 , typename ArgType8 , typename ArgType9 >
void 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)
 
template<typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 , typename ArgType7 , typename ArgType8 , typename ArgType9 , typename ArgType10 >
void 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)
 
template<typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 , typename ArgType7 , typename ArgType8 , typename ArgType9 , typename ArgType10 , typename ArgType11 >
void 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)
 
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 >
void 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)
 
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 >
void 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)
 
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 >
void 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)
 
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 >
void 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)
 
template<typename _element_type >
void swap (auto_gcroot< _element_type > &_left, auto_gcroot< _element_type > &_right)
 
template<typename _element_type >
void swap (auto_handle< _element_type >%_left, auto_handle< _element_type >%_right)
 
template<typename T >
void swap (gcroot< T > &_left, gcroot< T > &_right)
 

Enumeration Type Documentation

Enumerator
lock_later 
31 { lock_later };
Definition: lock.h:31

Function Documentation

template<typename RetType >
RetType msclr::call_in_appdomain ( DWORD  dwAppDomainId,
RetType(__cdecl *func)()   
)
inline
2576 {
2577  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
2578  _detail::callback_cdecl_struct0<RetType> cs;
2579 
2580  // fill up the callback_cdecl_struct
2581  cs.func = func;
2582 
2583  // call the function
2584  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2585  pClrHost->Release();
2586  _detail::validate(hr);
2587 
2588  return cs.retValue;
2589 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename RetType , typename ArgType1 >
RetType msclr::call_in_appdomain ( DWORD  dwAppDomainId,
RetType(__cdecl *func)(ArgType1)  ,
ArgType1  arg1 
)
inline
2593 {
2594  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
2595  _detail::callback_cdecl_struct1<RetType, ArgType1> cs;
2596 
2597  // fill up the callback_cdecl_struct
2598  cs.func = func;
2599  cs.arg1 = arg1;
2600 
2601  // call the function
2602  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2603  pClrHost->Release();
2604  _detail::validate(hr);
2605 
2606  return cs.retValue;
2607 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename RetType , typename ArgType1 , typename ArgType2 >
RetType msclr::call_in_appdomain ( DWORD  dwAppDomainId,
RetType(__cdecl *func)(ArgType1, ArgType2)  ,
ArgType1  arg1,
ArgType2  arg2 
)
inline
2611 {
2612  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
2613  _detail::callback_cdecl_struct2<RetType, ArgType1, ArgType2> cs;
2614 
2615  // fill up the callback_cdecl_struct
2616  cs.func = func;
2617  cs.arg1 = arg1;
2618  cs.arg2 = arg2;
2619 
2620  // call the function
2621  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2622  pClrHost->Release();
2623  _detail::validate(hr);
2624 
2625  return cs.retValue;
2626 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename RetType , typename ArgType1 , typename ArgType2 , typename ArgType3 >
RetType msclr::call_in_appdomain ( DWORD  dwAppDomainId,
RetType(__cdecl *func)(ArgType1, ArgType2, ArgType3)  ,
ArgType1  arg1,
ArgType2  arg2,
ArgType3  arg3 
)
inline
2630 {
2631  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
2632  _detail::callback_cdecl_struct3<RetType, ArgType1, ArgType2, ArgType3> cs;
2633 
2634  // fill up the callback_cdecl_struct
2635  cs.func = func;
2636  cs.arg1 = arg1;
2637  cs.arg2 = arg2;
2638  cs.arg3 = arg3;
2639 
2640  // call the function
2641  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2642  pClrHost->Release();
2643  _detail::validate(hr);
2644 
2645  return cs.retValue;
2646 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename RetType , typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 >
RetType msclr::call_in_appdomain ( DWORD  dwAppDomainId,
RetType(__cdecl *func)(ArgType1, ArgType2, ArgType3, ArgType4)  ,
ArgType1  arg1,
ArgType2  arg2,
ArgType3  arg3,
ArgType4  arg4 
)
inline
2650 {
2651  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
2652  _detail::callback_cdecl_struct4<RetType, ArgType1, ArgType2, ArgType3, ArgType4> cs;
2653 
2654  // fill up the callback_cdecl_struct
2655  cs.func = func;
2656  cs.arg1 = arg1;
2657  cs.arg2 = arg2;
2658  cs.arg3 = arg3;
2659  cs.arg4 = arg4;
2660 
2661  // call the function
2662  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2663  pClrHost->Release();
2664  _detail::validate(hr);
2665 
2666  return cs.retValue;
2667 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename RetType , typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 >
RetType msclr::call_in_appdomain ( DWORD  dwAppDomainId,
RetType(__cdecl *func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5)  ,
ArgType1  arg1,
ArgType2  arg2,
ArgType3  arg3,
ArgType4  arg4,
ArgType5  arg5 
)
inline
2671 {
2672  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
2673  _detail::callback_cdecl_struct5<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5> cs;
2674 
2675  // fill up the callback_cdecl_struct
2676  cs.func = func;
2677  cs.arg1 = arg1;
2678  cs.arg2 = arg2;
2679  cs.arg3 = arg3;
2680  cs.arg4 = arg4;
2681  cs.arg5 = arg5;
2682 
2683  // call the function
2684  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2685  pClrHost->Release();
2686  _detail::validate(hr);
2687 
2688  return cs.retValue;
2689 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename RetType , typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 >
RetType msclr::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 
)
inline
2693 {
2694  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
2695  _detail::callback_cdecl_struct6<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6> cs;
2696 
2697  // fill up the callback_cdecl_struct
2698  cs.func = func;
2699  cs.arg1 = arg1;
2700  cs.arg2 = arg2;
2701  cs.arg3 = arg3;
2702  cs.arg4 = arg4;
2703  cs.arg5 = arg5;
2704  cs.arg6 = arg6;
2705 
2706  // call the function
2707  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2708  pClrHost->Release();
2709  _detail::validate(hr);
2710 
2711  return cs.retValue;
2712 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename RetType , typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 , typename ArgType7 >
RetType msclr::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 
)
inline
2716 {
2717  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
2718  _detail::callback_cdecl_struct7<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7> cs;
2719 
2720  // fill up the callback_cdecl_struct
2721  cs.func = func;
2722  cs.arg1 = arg1;
2723  cs.arg2 = arg2;
2724  cs.arg3 = arg3;
2725  cs.arg4 = arg4;
2726  cs.arg5 = arg5;
2727  cs.arg6 = arg6;
2728  cs.arg7 = arg7;
2729 
2730  // call the function
2731  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2732  pClrHost->Release();
2733  _detail::validate(hr);
2734 
2735  return cs.retValue;
2736 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename RetType , typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 , typename ArgType7 , typename ArgType8 >
RetType msclr::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 
)
inline
2740 {
2741  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
2742  _detail::callback_cdecl_struct8<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8> cs;
2743 
2744  // fill up the callback_cdecl_struct
2745  cs.func = func;
2746  cs.arg1 = arg1;
2747  cs.arg2 = arg2;
2748  cs.arg3 = arg3;
2749  cs.arg4 = arg4;
2750  cs.arg5 = arg5;
2751  cs.arg6 = arg6;
2752  cs.arg7 = arg7;
2753  cs.arg8 = arg8;
2754 
2755  // call the function
2756  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2757  pClrHost->Release();
2758  _detail::validate(hr);
2759 
2760  return cs.retValue;
2761 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename RetType , typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 , typename ArgType7 , typename ArgType8 , typename ArgType9 >
RetType msclr::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 
)
inline
2765 {
2766  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
2767  _detail::callback_cdecl_struct9<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9> cs;
2768 
2769  // fill up the callback_cdecl_struct
2770  cs.func = func;
2771  cs.arg1 = arg1;
2772  cs.arg2 = arg2;
2773  cs.arg3 = arg3;
2774  cs.arg4 = arg4;
2775  cs.arg5 = arg5;
2776  cs.arg6 = arg6;
2777  cs.arg7 = arg7;
2778  cs.arg8 = arg8;
2779  cs.arg9 = arg9;
2780 
2781  // call the function
2782  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2783  pClrHost->Release();
2784  _detail::validate(hr);
2785 
2786  return cs.retValue;
2787 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename RetType , typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 , typename ArgType7 , typename ArgType8 , typename ArgType9 , typename ArgType10 >
RetType msclr::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 
)
inline
2791 {
2792  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
2793  _detail::callback_cdecl_struct10<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10> cs;
2794 
2795  // fill up the callback_cdecl_struct
2796  cs.func = func;
2797  cs.arg1 = arg1;
2798  cs.arg2 = arg2;
2799  cs.arg3 = arg3;
2800  cs.arg4 = arg4;
2801  cs.arg5 = arg5;
2802  cs.arg6 = arg6;
2803  cs.arg7 = arg7;
2804  cs.arg8 = arg8;
2805  cs.arg9 = arg9;
2806  cs.arg10 = arg10;
2807 
2808  // call the function
2809  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2810  pClrHost->Release();
2811  _detail::validate(hr);
2812 
2813  return cs.retValue;
2814 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
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 >
RetType msclr::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 
)
inline
2818 {
2819  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
2820  _detail::callback_cdecl_struct11<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11> cs;
2821 
2822  // fill up the callback_cdecl_struct
2823  cs.func = func;
2824  cs.arg1 = arg1;
2825  cs.arg2 = arg2;
2826  cs.arg3 = arg3;
2827  cs.arg4 = arg4;
2828  cs.arg5 = arg5;
2829  cs.arg6 = arg6;
2830  cs.arg7 = arg7;
2831  cs.arg8 = arg8;
2832  cs.arg9 = arg9;
2833  cs.arg10 = arg10;
2834  cs.arg11 = arg11;
2835 
2836  // call the function
2837  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2838  pClrHost->Release();
2839  _detail::validate(hr);
2840 
2841  return cs.retValue;
2842 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
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 >
RetType msclr::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 
)
inline
2846 {
2847  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
2848  _detail::callback_cdecl_struct12<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12> cs;
2849 
2850  // fill up the callback_cdecl_struct
2851  cs.func = func;
2852  cs.arg1 = arg1;
2853  cs.arg2 = arg2;
2854  cs.arg3 = arg3;
2855  cs.arg4 = arg4;
2856  cs.arg5 = arg5;
2857  cs.arg6 = arg6;
2858  cs.arg7 = arg7;
2859  cs.arg8 = arg8;
2860  cs.arg9 = arg9;
2861  cs.arg10 = arg10;
2862  cs.arg11 = arg11;
2863  cs.arg12 = arg12;
2864 
2865  // call the function
2866  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2867  pClrHost->Release();
2868  _detail::validate(hr);
2869 
2870  return cs.retValue;
2871 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
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 >
RetType msclr::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 
)
inline
2875 {
2876  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
2877  _detail::callback_cdecl_struct13<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13> cs;
2878 
2879  // fill up the callback_cdecl_struct
2880  cs.func = func;
2881  cs.arg1 = arg1;
2882  cs.arg2 = arg2;
2883  cs.arg3 = arg3;
2884  cs.arg4 = arg4;
2885  cs.arg5 = arg5;
2886  cs.arg6 = arg6;
2887  cs.arg7 = arg7;
2888  cs.arg8 = arg8;
2889  cs.arg9 = arg9;
2890  cs.arg10 = arg10;
2891  cs.arg11 = arg11;
2892  cs.arg12 = arg12;
2893  cs.arg13 = arg13;
2894 
2895  // call the function
2896  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2897  pClrHost->Release();
2898  _detail::validate(hr);
2899 
2900  return cs.retValue;
2901 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
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 >
RetType msclr::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 
)
inline
2905 {
2906  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
2907  _detail::callback_cdecl_struct14<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14> cs;
2908 
2909  // fill up the callback_cdecl_struct
2910  cs.func = func;
2911  cs.arg1 = arg1;
2912  cs.arg2 = arg2;
2913  cs.arg3 = arg3;
2914  cs.arg4 = arg4;
2915  cs.arg5 = arg5;
2916  cs.arg6 = arg6;
2917  cs.arg7 = arg7;
2918  cs.arg8 = arg8;
2919  cs.arg9 = arg9;
2920  cs.arg10 = arg10;
2921  cs.arg11 = arg11;
2922  cs.arg12 = arg12;
2923  cs.arg13 = arg13;
2924  cs.arg14 = arg14;
2925 
2926  // call the function
2927  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2928  pClrHost->Release();
2929  _detail::validate(hr);
2930 
2931  return cs.retValue;
2932 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
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 >
RetType msclr::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 
)
inline
2936 {
2937  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
2938  _detail::callback_cdecl_struct15<RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14, ArgType15> cs;
2939 
2940  // fill up the callback_cdecl_struct
2941  cs.func = func;
2942  cs.arg1 = arg1;
2943  cs.arg2 = arg2;
2944  cs.arg3 = arg3;
2945  cs.arg4 = arg4;
2946  cs.arg5 = arg5;
2947  cs.arg6 = arg6;
2948  cs.arg7 = arg7;
2949  cs.arg8 = arg8;
2950  cs.arg9 = arg9;
2951  cs.arg10 = arg10;
2952  cs.arg11 = arg11;
2953  cs.arg12 = arg12;
2954  cs.arg13 = arg13;
2955  cs.arg14 = arg14;
2956  cs.arg15 = arg15;
2957 
2958  // call the function
2959  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2960  pClrHost->Release();
2961  _detail::validate(hr);
2962 
2963  return cs.retValue;
2964 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
void msclr::call_in_appdomain ( DWORD  dwAppDomainId,
void(__cdecl *func)()   
)
inline
2967 {
2968  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
2969  _detail::callback_cdecl_void_struct0 cs;
2970 
2971  // fill up the callback_cdecl_struct
2972  cs.func = func;
2973 
2974  // call the function
2975  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2976  pClrHost->Release();
2977  _detail::validate(hr);
2978 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename ArgType1 >
void msclr::call_in_appdomain ( DWORD  dwAppDomainId,
void(__cdecl *func)(ArgType1)  ,
ArgType1  arg1 
)
inline
2982 {
2983  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
2984  _detail::callback_cdecl_void_struct1<ArgType1> cs;
2985 
2986  // fill up the callback_cdecl_struct
2987  cs.func = func;
2988  cs.arg1 = arg1;
2989 
2990  // call the function
2991  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
2992  pClrHost->Release();
2993  _detail::validate(hr);
2994 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename ArgType1 , typename ArgType2 >
void msclr::call_in_appdomain ( DWORD  dwAppDomainId,
void(__cdecl *func)(ArgType1, ArgType2)  ,
ArgType1  arg1,
ArgType2  arg2 
)
inline
2998 {
2999  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
3000  _detail::callback_cdecl_void_struct2<ArgType1, ArgType2> cs;
3001 
3002  // fill up the callback_cdecl_struct
3003  cs.func = func;
3004  cs.arg1 = arg1;
3005  cs.arg2 = arg2;
3006 
3007  // call the function
3008  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
3009  pClrHost->Release();
3010  _detail::validate(hr);
3011 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename ArgType1 , typename ArgType2 , typename ArgType3 >
void msclr::call_in_appdomain ( DWORD  dwAppDomainId,
void(__cdecl *func)(ArgType1, ArgType2, ArgType3)  ,
ArgType1  arg1,
ArgType2  arg2,
ArgType3  arg3 
)
inline
3015 {
3016  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
3017  _detail::callback_cdecl_void_struct3<ArgType1, ArgType2, ArgType3> cs;
3018 
3019  // fill up the callback_cdecl_struct
3020  cs.func = func;
3021  cs.arg1 = arg1;
3022  cs.arg2 = arg2;
3023  cs.arg3 = arg3;
3024 
3025  // call the function
3026  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
3027  pClrHost->Release();
3028  _detail::validate(hr);
3029 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 >
void msclr::call_in_appdomain ( DWORD  dwAppDomainId,
void(__cdecl *func)(ArgType1, ArgType2, ArgType3, ArgType4)  ,
ArgType1  arg1,
ArgType2  arg2,
ArgType3  arg3,
ArgType4  arg4 
)
inline
3033 {
3034  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
3035  _detail::callback_cdecl_void_struct4<ArgType1, ArgType2, ArgType3, ArgType4> cs;
3036 
3037  // fill up the callback_cdecl_struct
3038  cs.func = func;
3039  cs.arg1 = arg1;
3040  cs.arg2 = arg2;
3041  cs.arg3 = arg3;
3042  cs.arg4 = arg4;
3043 
3044  // call the function
3045  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
3046  pClrHost->Release();
3047  _detail::validate(hr);
3048 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 >
void msclr::call_in_appdomain ( DWORD  dwAppDomainId,
void(__cdecl *func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5)  ,
ArgType1  arg1,
ArgType2  arg2,
ArgType3  arg3,
ArgType4  arg4,
ArgType5  arg5 
)
inline
3052 {
3053  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
3054  _detail::callback_cdecl_void_struct5<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5> cs;
3055 
3056  // fill up the callback_cdecl_struct
3057  cs.func = func;
3058  cs.arg1 = arg1;
3059  cs.arg2 = arg2;
3060  cs.arg3 = arg3;
3061  cs.arg4 = arg4;
3062  cs.arg5 = arg5;
3063 
3064  // call the function
3065  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
3066  pClrHost->Release();
3067  _detail::validate(hr);
3068 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 >
void msclr::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 
)
inline
3072 {
3073  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
3074  _detail::callback_cdecl_void_struct6<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6> cs;
3075 
3076  // fill up the callback_cdecl_struct
3077  cs.func = func;
3078  cs.arg1 = arg1;
3079  cs.arg2 = arg2;
3080  cs.arg3 = arg3;
3081  cs.arg4 = arg4;
3082  cs.arg5 = arg5;
3083  cs.arg6 = arg6;
3084 
3085  // call the function
3086  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
3087  pClrHost->Release();
3088  _detail::validate(hr);
3089 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 , typename ArgType7 >
void msclr::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 
)
inline
3093 {
3094  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
3095  _detail::callback_cdecl_void_struct7<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7> cs;
3096 
3097  // fill up the callback_cdecl_struct
3098  cs.func = func;
3099  cs.arg1 = arg1;
3100  cs.arg2 = arg2;
3101  cs.arg3 = arg3;
3102  cs.arg4 = arg4;
3103  cs.arg5 = arg5;
3104  cs.arg6 = arg6;
3105  cs.arg7 = arg7;
3106 
3107  // call the function
3108  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
3109  pClrHost->Release();
3110  _detail::validate(hr);
3111 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 , typename ArgType7 , typename ArgType8 >
void msclr::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 
)
inline
3115 {
3116  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
3117  _detail::callback_cdecl_void_struct8<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8> cs;
3118 
3119  // fill up the callback_cdecl_struct
3120  cs.func = func;
3121  cs.arg1 = arg1;
3122  cs.arg2 = arg2;
3123  cs.arg3 = arg3;
3124  cs.arg4 = arg4;
3125  cs.arg5 = arg5;
3126  cs.arg6 = arg6;
3127  cs.arg7 = arg7;
3128  cs.arg8 = arg8;
3129 
3130  // call the function
3131  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
3132  pClrHost->Release();
3133  _detail::validate(hr);
3134 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 , typename ArgType7 , typename ArgType8 , typename ArgType9 >
void msclr::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 
)
inline
3138 {
3139  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
3140  _detail::callback_cdecl_void_struct9<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9> cs;
3141 
3142  // fill up the callback_cdecl_struct
3143  cs.func = func;
3144  cs.arg1 = arg1;
3145  cs.arg2 = arg2;
3146  cs.arg3 = arg3;
3147  cs.arg4 = arg4;
3148  cs.arg5 = arg5;
3149  cs.arg6 = arg6;
3150  cs.arg7 = arg7;
3151  cs.arg8 = arg8;
3152  cs.arg9 = arg9;
3153 
3154  // call the function
3155  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
3156  pClrHost->Release();
3157  _detail::validate(hr);
3158 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 , typename ArgType7 , typename ArgType8 , typename ArgType9 , typename ArgType10 >
void msclr::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 
)
inline
3162 {
3163  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
3164  _detail::callback_cdecl_void_struct10<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10> cs;
3165 
3166  // fill up the callback_cdecl_struct
3167  cs.func = func;
3168  cs.arg1 = arg1;
3169  cs.arg2 = arg2;
3170  cs.arg3 = arg3;
3171  cs.arg4 = arg4;
3172  cs.arg5 = arg5;
3173  cs.arg6 = arg6;
3174  cs.arg7 = arg7;
3175  cs.arg8 = arg8;
3176  cs.arg9 = arg9;
3177  cs.arg10 = arg10;
3178 
3179  // call the function
3180  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
3181  pClrHost->Release();
3182  _detail::validate(hr);
3183 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename ArgType1 , typename ArgType2 , typename ArgType3 , typename ArgType4 , typename ArgType5 , typename ArgType6 , typename ArgType7 , typename ArgType8 , typename ArgType9 , typename ArgType10 , typename ArgType11 >
void msclr::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 
)
inline
3187 {
3188  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
3189  _detail::callback_cdecl_void_struct11<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11> cs;
3190 
3191  // fill up the callback_cdecl_struct
3192  cs.func = func;
3193  cs.arg1 = arg1;
3194  cs.arg2 = arg2;
3195  cs.arg3 = arg3;
3196  cs.arg4 = arg4;
3197  cs.arg5 = arg5;
3198  cs.arg6 = arg6;
3199  cs.arg7 = arg7;
3200  cs.arg8 = arg8;
3201  cs.arg9 = arg9;
3202  cs.arg10 = arg10;
3203  cs.arg11 = arg11;
3204 
3205  // call the function
3206  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
3207  pClrHost->Release();
3208  _detail::validate(hr);
3209 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
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 >
void msclr::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 
)
inline
3213 {
3214  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
3215  _detail::callback_cdecl_void_struct12<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12> cs;
3216 
3217  // fill up the callback_cdecl_struct
3218  cs.func = func;
3219  cs.arg1 = arg1;
3220  cs.arg2 = arg2;
3221  cs.arg3 = arg3;
3222  cs.arg4 = arg4;
3223  cs.arg5 = arg5;
3224  cs.arg6 = arg6;
3225  cs.arg7 = arg7;
3226  cs.arg8 = arg8;
3227  cs.arg9 = arg9;
3228  cs.arg10 = arg10;
3229  cs.arg11 = arg11;
3230  cs.arg12 = arg12;
3231 
3232  // call the function
3233  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
3234  pClrHost->Release();
3235  _detail::validate(hr);
3236 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
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 >
void msclr::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 
)
inline
3240 {
3241  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
3242  _detail::callback_cdecl_void_struct13<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13> cs;
3243 
3244  // fill up the callback_cdecl_struct
3245  cs.func = func;
3246  cs.arg1 = arg1;
3247  cs.arg2 = arg2;
3248  cs.arg3 = arg3;
3249  cs.arg4 = arg4;
3250  cs.arg5 = arg5;
3251  cs.arg6 = arg6;
3252  cs.arg7 = arg7;
3253  cs.arg8 = arg8;
3254  cs.arg9 = arg9;
3255  cs.arg10 = arg10;
3256  cs.arg11 = arg11;
3257  cs.arg12 = arg12;
3258  cs.arg13 = arg13;
3259 
3260  // call the function
3261  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
3262  pClrHost->Release();
3263  _detail::validate(hr);
3264 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
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 >
void msclr::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 
)
inline
3268 {
3269  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
3270  _detail::callback_cdecl_void_struct14<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14> cs;
3271 
3272  // fill up the callback_cdecl_struct
3273  cs.func = func;
3274  cs.arg1 = arg1;
3275  cs.arg2 = arg2;
3276  cs.arg3 = arg3;
3277  cs.arg4 = arg4;
3278  cs.arg5 = arg5;
3279  cs.arg6 = arg6;
3280  cs.arg7 = arg7;
3281  cs.arg8 = arg8;
3282  cs.arg9 = arg9;
3283  cs.arg10 = arg10;
3284  cs.arg11 = arg11;
3285  cs.arg12 = arg12;
3286  cs.arg13 = arg13;
3287  cs.arg14 = arg14;
3288 
3289  // call the function
3290  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
3291  pClrHost->Release();
3292  _detail::validate(hr);
3293 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
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 >
void msclr::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 
)
inline
3297 {
3298  ICLRRuntimeHost *pClrHost = _detail::get_clr_runtime_host();
3299  _detail::callback_cdecl_void_struct15<ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14, ArgType15> cs;
3300 
3301  // fill up the callback_cdecl_struct
3302  cs.func = func;
3303  cs.arg1 = arg1;
3304  cs.arg2 = arg2;
3305  cs.arg3 = arg3;
3306  cs.arg4 = arg4;
3307  cs.arg5 = arg5;
3308  cs.arg6 = arg6;
3309  cs.arg7 = arg7;
3310  cs.arg8 = arg8;
3311  cs.arg9 = arg9;
3312  cs.arg10 = arg10;
3313  cs.arg11 = arg11;
3314  cs.arg12 = arg12;
3315  cs.arg13 = arg13;
3316  cs.arg14 = arg14;
3317  cs.arg15 = arg15;
3318 
3319  // call the function
3320  HRESULT hr = pClrHost->ExecuteInAppDomain(dwAppDomainId, &cs.callback, &cs);
3321  pClrHost->Release();
3322  _detail::validate(hr);
3323 }
ICLRRuntimeHost * get_clr_runtime_host(void)
Definition: appdomain.h:65
void validate(HRESULT hr)
Definition: appdomain.h:45
template<typename T >
void msclr::swap ( gcroot< T > &  _left,
gcroot< T > &  _right 
)
144 {
145  _left.swap( _right );
146 }
template<typename _element_type >
void msclr::swap ( auto_handle< _element_type >%  _left,
auto_handle< _element_type >%  _right 
)
165  {
166  _left.swap( _right );
167  }
template<typename _element_type >
void msclr::swap ( auto_gcroot< _element_type > &  _left,
auto_gcroot< _element_type > &  _right 
)
242 {
243  _left.swap( _right );
244 }