📄 appdomain.h
字号:
ArgType6 arg6;
ArgType7 arg7;
ArgType8 arg8;
ArgType9 arg9;
ArgType10 arg10;
ArgType11 arg11;
ArgType12 arg12;
static HRESULT __stdcall callback(void *cookie)
{
HRESULT hr = E_FAIL;
if (cookie == NULL)
{
return hr;
}
callback_stdcall_struct12 *pcs = (callback_stdcall_struct12*)cookie;
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);
hr = S_OK;
return hr;
}
};
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>
struct callback_stdcall_struct13
{
RetType (__stdcall *func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13);
RetType retValue;
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;
static HRESULT __stdcall callback(void *cookie)
{
HRESULT hr = E_FAIL;
if (cookie == NULL)
{
return hr;
}
callback_stdcall_struct13 *pcs = (callback_stdcall_struct13*)cookie;
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);
hr = S_OK;
return hr;
}
};
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>
struct callback_stdcall_struct14
{
RetType (__stdcall *func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14);
RetType retValue;
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;
static HRESULT __stdcall callback(void *cookie)
{
HRESULT hr = E_FAIL;
if (cookie == NULL)
{
return hr;
}
callback_stdcall_struct14 *pcs = (callback_stdcall_struct14*)cookie;
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);
hr = S_OK;
return hr;
}
};
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>
struct callback_stdcall_struct15
{
RetType (__stdcall *func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7, ArgType8, ArgType9, ArgType10, ArgType11, ArgType12, ArgType13, ArgType14, ArgType15);
RetType retValue;
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;
static HRESULT __stdcall callback(void *cookie)
{
HRESULT hr = E_FAIL;
if (cookie == NULL)
{
return hr;
}
callback_stdcall_struct15 *pcs = (callback_stdcall_struct15*)cookie;
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);
hr = S_OK;
return hr;
}
};
struct callback_stdcall_void_struct0
{
void (__stdcall *func)();
static HRESULT __stdcall callback(void *cookie)
{
HRESULT hr = E_FAIL;
if (cookie == NULL)
{
return hr;
}
callback_stdcall_void_struct0 *pcs = (callback_stdcall_void_struct0*)cookie;
pcs->func();
hr = S_OK;
return hr;
}
};
template <typename ArgType1>
struct callback_stdcall_void_struct1
{
void (__stdcall * func)(ArgType1);
ArgType1 arg1;
static HRESULT __stdcall callback(void *cookie)
{
HRESULT hr = E_FAIL;
if (cookie == NULL)
{
return hr;
}
callback_stdcall_void_struct1 *pcs = (callback_stdcall_void_struct1*)cookie;
pcs->func(pcs->arg1);
hr = S_OK;
return hr;
}
};
template <typename ArgType1, typename ArgType2>
struct callback_stdcall_void_struct2
{
void (__stdcall * func)(ArgType1, ArgType2);
ArgType1 arg1;
ArgType2 arg2;
static HRESULT __stdcall callback(void *cookie)
{
HRESULT hr = E_FAIL;
if (cookie == NULL)
{
return hr;
}
callback_stdcall_void_struct2 *pcs = (callback_stdcall_void_struct2*)cookie;
pcs->func(pcs->arg1, pcs->arg2);
hr = S_OK;
return hr;
}
};
template <typename ArgType1, typename ArgType2, typename ArgType3>
struct callback_stdcall_void_struct3
{
void (__stdcall * func)(ArgType1, ArgType2, ArgType3);
ArgType1 arg1;
ArgType2 arg2;
ArgType3 arg3;
static HRESULT __stdcall callback(void *cookie)
{
HRESULT hr = E_FAIL;
if (cookie == NULL)
{
return hr;
}
callback_stdcall_void_struct3 *pcs = (callback_stdcall_void_struct3*)cookie;
pcs->func(pcs->arg1, pcs->arg2, pcs->arg3);
hr = S_OK;
return hr;
}
};
template <typename ArgType1, typename ArgType2, typename ArgType3, typename ArgType4>
struct callback_stdcall_void_struct4
{
void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4);
ArgType1 arg1;
ArgType2 arg2;
ArgType3 arg3;
ArgType4 arg4;
static HRESULT __stdcall callback(void *cookie)
{
HRESULT hr = E_FAIL;
if (cookie == NULL)
{
return hr;
}
callback_stdcall_void_struct4 *pcs = (callback_stdcall_void_struct4*)cookie;
pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4);
hr = S_OK;
return hr;
}
};
template <typename ArgType1, typename ArgType2, typename ArgType3, typename ArgType4, typename ArgType5>
struct callback_stdcall_void_struct5
{
void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5);
ArgType1 arg1;
ArgType2 arg2;
ArgType3 arg3;
ArgType4 arg4;
ArgType5 arg5;
static HRESULT __stdcall callback(void *cookie)
{
HRESULT hr = E_FAIL;
if (cookie == NULL)
{
return hr;
}
callback_stdcall_void_struct5 *pcs = (callback_stdcall_void_struct5*)cookie;
pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5);
hr = S_OK;
return hr;
}
};
template <typename ArgType1, typename ArgType2, typename ArgType3, typename ArgType4, typename ArgType5, typename ArgType6>
struct callback_stdcall_void_struct6
{
void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6);
ArgType1 arg1;
ArgType2 arg2;
ArgType3 arg3;
ArgType4 arg4;
ArgType5 arg5;
ArgType6 arg6;
static HRESULT __stdcall callback(void *cookie)
{
HRESULT hr = E_FAIL;
if (cookie == NULL)
{
return hr;
}
callback_stdcall_void_struct6 *pcs = (callback_stdcall_void_struct6*)cookie;
pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6);
hr = S_OK;
return hr;
}
};
template <typename ArgType1, typename ArgType2, typename ArgType3, typename ArgType4, typename ArgType5, typename ArgType6, typename ArgType7>
struct callback_stdcall_void_struct7
{
void (__stdcall * func)(ArgType1, ArgType2, ArgType3, ArgType4, ArgType5, ArgType6, ArgType7);
ArgType1 arg1;
ArgType2 arg2;
ArgType3 arg3;
ArgType4 arg4;
ArgType5 arg5;
ArgType6 arg6;
ArgType7 arg7;
static HRESULT __stdcall callback(void *cookie)
{
HRESULT hr = E_FAIL;
if (cookie == NULL)
{
return hr;
}
callback_stdcall_void_struct7 *pcs = (callback_stdcall_void_struct7*)cookie;
pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7);
hr = S_OK;
return hr;
}
};
template <typename ArgType1, typename ArgType2, typename ArgType3, typename ArgType4, typename ArgType5, typename ArgType6, typename ArgType7, typename ArgType8>
struct callback_stdcall_void_struct8
{
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;
static HRESULT __stdcall callback(void *cookie)
{
HRESULT hr = E_FAIL;
if (cookie == NULL)
{
return hr;
}
callback_stdcall_void_struct8 *pcs = (callback_stdcall_void_struct8*)cookie;
pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7, pcs->arg8);
hr = S_OK;
return hr;
}
};
template <typename ArgType1, typename ArgType2, typename ArgType3, typename ArgType4, typename ArgType5, typename ArgType6, typename ArgType7, typename ArgType8, typename ArgType9>
struct callback_stdcall_void_struct9
{
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;
static HRESULT __stdcall callback(void *cookie)
{
HRESULT hr = E_FAIL;
if (cookie == NULL)
{
return hr;
}
callback_stdcall_void_struct9 *pcs = (callback_stdcall_void_struct9*)cookie;
pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7, pcs->arg8, pcs->arg9);
hr = S_OK;
return hr;
}
};
template <typename ArgType1, typename ArgType2, typename ArgType3, typename ArgType4, typename ArgType5, typename ArgType6, typename ArgType7, typename ArgType8, typename ArgType9, typename ArgType10>
struct callback_stdcall_void_struct10
{
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;
static HRESULT __stdcall callback(void *cookie)
{
HRESULT hr = E_FAIL;
if (cookie == NULL)
{
return hr;
}
callback_stdcall_void_struct10 *pcs = (callback_stdcall_void_struct10*)cookie;
pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5, pcs->arg6, pcs->arg7, pcs->arg8, pcs->arg9, pcs->arg10);
hr = S_OK;
return hr;
}
};
template <typename ArgType1, typename ArgType2, typename ArgType3, typename ArgType4, typename ArgType5, typename ArgType6, typename ArgType7, typename ArgType8, typename ArgType9, typename ArgType10, typename ArgType11>
struct callback_stdcall_void_struct11
{
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;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -