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_void_struct3< ArgType1, ArgType2, ArgType3 > Struct Template Reference

#include <msclr/appdomain.h>

Public Member Functions

 void (__cdecl *func)(ArgType1
 

Static Public Member Functions

static HRESULT __stdcall callback (void *cookie)
 

Public Attributes

 ArgType2
 
 ArgType3
 
ArgType1 arg1
 
ArgType2 arg2
 
ArgType3 arg3
 

Member Function Documentation

template<typename ArgType1, typename ArgType2, typename ArgType3>
static HRESULT __stdcall msclr::_detail::callback_cdecl_void_struct3< ArgType1, ArgType2, ArgType3 >::callback ( void cookie)
inlinestatic
1459  {
1460  HRESULT hr = E_FAIL;
1461  if (cookie == NULL)
1462  {
1463  return hr;
1464  }
1465  callback_cdecl_void_struct3 *pcs = (callback_cdecl_void_struct3*)cookie;
1466  pcs->func(pcs->arg1, pcs->arg2, pcs->arg3);
1467  hr = S_OK;
1468  return hr;
1469  }
#define NULL
Definition: vcruntime.h:236
#define S_OK
Definition: comutil.h:62
template<typename ArgType1, typename ArgType2, typename ArgType3>
msclr::_detail::callback_cdecl_void_struct3< ArgType1, ArgType2, ArgType3 >::void ( __cdecl *  func)

Member Data Documentation

template<typename ArgType1, typename ArgType2, typename ArgType3>
ArgType1 msclr::_detail::callback_cdecl_void_struct3< ArgType1, ArgType2, ArgType3 >::arg1
template<typename ArgType1, typename ArgType2, typename ArgType3>
ArgType2 msclr::_detail::callback_cdecl_void_struct3< ArgType1, ArgType2, ArgType3 >::arg2
template<typename ArgType1, typename ArgType2, typename ArgType3>
ArgType3 msclr::_detail::callback_cdecl_void_struct3< ArgType1, ArgType2, ArgType3 >::arg3
template<typename ArgType1, typename ArgType2, typename ArgType3>
msclr::_detail::callback_cdecl_void_struct3< ArgType1, ArgType2, ArgType3 >::ArgType2
template<typename ArgType1, typename ArgType2, typename ArgType3>
msclr::_detail::callback_cdecl_void_struct3< ArgType1, ArgType2, ArgType3 >::ArgType3

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