Skip to content

Instantly share code, notes, and snippets.

@ElemarJR
Created December 15, 2012 21:45
Show Gist options
  • Select an option

  • Save ElemarJR/4299538 to your computer and use it in GitHub Desktop.

Select an option

Save ElemarJR/4299538 to your computer and use it in GitHub Desktop.
namespace WinRTComponentCpp
{
__declspec ( no_refcount ) inline long __stdcall
:: WinRTComponentCpp :: __CalculatorActivationFactory ::
__abi_Platform_Details_IActivationFactory____abi_ActivateInstance ( class Platform::Object ^* __abi_returnValue )
{
long __hr = 0 ;
* __abi_returnValue = nullptr ;
try
{
auto __tempValue = ActivateInstance ( ) ;
* __abi_returnValue = __tempValue ;
}
catch ( :: Platform :: Exception ^ __param0 )
{
__hr = Platform :: Details :: ReCreateFromException ( __param0 ) ;
}
catch ( ... )
{
__abi_FailFast ( ) ;
}
return __hr ;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment