/////////////////////////////////////////////////////////////////////////////////////////// // DirectXException.h // // Definition of the DirectXException class, which extends System.Exception to handle // DirectX return values. #pragma once using namespace System; namespace Sunlight { namespace DirectX { __gc public class DirectXException : public Exception { public: DirectXException(String *Source, HRESULT Code); ~DirectXException(); static String *GetExceptionString(HRESULT h); }; } }