STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
msclr::_detail::callback_cdecl_struct5< RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5 > Struct Template Reference

#include <msclr/appdomain.h>

Public Member Functions

 RetType (__cdecl *func)(ArgType1
 

Static Public Member Functions

static HRESULT __stdcall callback (void *cookie)
 

Public Attributes

 ArgType2
 
 ArgType3
 
 ArgType4
 
 ArgType5
 
RetType retValue
 
ArgType1 arg1
 
ArgType2 arg2
 
ArgType3 arg3
 
ArgType4 arg4
 
ArgType5 arg5
 

Member Function Documentation

template<typename RetType, typename ArgType1, typename ArgType2, typename ArgType3, typename ArgType4, typename ArgType5>
static HRESULT __stdcall msclr::_detail::callback_cdecl_struct5< RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5 >::callback ( void cookie)
inlinestatic
1073  {
1074  HRESULT hr = E_FAIL;
1075  if (cookie == NULL)
1076  {
1077  return hr;
1078  }
1079  callback_cdecl_struct5 *pcs = (callback_cdecl_struct5*)cookie;
1080  pcs->retValue = pcs->func(pcs->arg1, pcs->arg2, pcs->arg3, pcs->arg4, pcs->arg5);
1081  hr = S_OK;
1082  return hr;
1083  }
#define NULL
Definition: vcruntime.h:236
#define S_OK
Definition: comutil.h:62
template<typename RetType, typename ArgType1, typename ArgType2, typename ArgType3, typename ArgType4, typename ArgType5>
msclr::_detail::callback_cdecl_struct5< RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5 >::RetType ( __cdecl *  func)

Member Data Documentation

template<typename RetType, typename ArgType1, typename ArgType2, typename ArgType3, typename ArgType4, typename ArgType5>
ArgType1 msclr::_detail::callback_cdecl_struct5< RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5 >::arg1
template<typename RetType, typename ArgType1, typename ArgType2, typename ArgType3, typename ArgType4, typename ArgType5>
ArgType2 msclr::_detail::callback_cdecl_struct5< RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5 >::arg2
template<typename RetType, typename ArgType1, typename ArgType2, typename ArgType3, typename ArgType4, typename ArgType5>
ArgType3 msclr::_detail::callback_cdecl_struct5< RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5 >::arg3
template<typename RetType, typename ArgType1, typename ArgType2, typename ArgType3, typename ArgType4, typename ArgType5>
ArgType4 msclr::_detail::callback_cdecl_struct5< RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5 >::arg4
template<typename RetType, typename ArgType1, typename ArgType2, typename ArgType3, typename ArgType4, typename ArgType5>
ArgType5 msclr::_detail::callback_cdecl_struct5< RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5 >::arg5
template<typename RetType, typename ArgType1, typename ArgType2, typename ArgType3, typename ArgType4, typename ArgType5>
msclr::_detail::callback_cdecl_struct5< RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5 >::ArgType2
template<typename RetType, typename ArgType1, typename ArgType2, typename ArgType3, typename ArgType4, typename ArgType5>
msclr::_detail::callback_cdecl_struct5< RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5 >::ArgType3
template<typename RetType, typename ArgType1, typename ArgType2, typename ArgType3, typename ArgType4, typename ArgType5>
msclr::_detail::callback_cdecl_struct5< RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5 >::ArgType4
template<typename RetType, typename ArgType1, typename ArgType2, typename ArgType3, typename ArgType4, typename ArgType5>
msclr::_detail::callback_cdecl_struct5< RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5 >::ArgType5
template<typename RetType, typename ArgType1, typename ArgType2, typename ArgType3, typename ArgType4, typename ArgType5>
RetType msclr::_detail::callback_cdecl_struct5< RetType, ArgType1, ArgType2, ArgType3, ArgType4, ArgType5 >::retValue

The documentation for this struct was generated from the following file: