From cbbd53eda55fbdf65f22b5f57c7dbc4b1ea594fd Mon Sep 17 00:00:00 2001 From: alexke-dev <65682333+alexke-dev@users.noreply.github.com> Date: Thu, 10 Aug 2023 16:28:02 -0700 Subject: Remove Print Driver Samples (#1017) * Remove print driver samples. Add README.md to redirect consumers to Print Support App (PSA) development guide. * Remove en-us from URL. --- print/XpsRasFilter/src/Exception.cpp | 43 ------------------------------------ 1 file changed, 43 deletions(-) delete mode 100644 print/XpsRasFilter/src/Exception.cpp (limited to 'print/XpsRasFilter/src/Exception.cpp') diff --git a/print/XpsRasFilter/src/Exception.cpp b/print/XpsRasFilter/src/Exception.cpp deleted file mode 100644 index 141c1ac3..00000000 --- a/print/XpsRasFilter/src/Exception.cpp +++ /dev/null @@ -1,43 +0,0 @@ -// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF -// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO -// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A -// PARTICULAR PURPOSE. -// -// Copyright (c) Microsoft Corporation. All rights reserved -// -// File Name: -// -// Exception.cpp -// -// Abstract: -// -// Exception routine definitions. -// - -#include "precomp.h" -#include "WppTrace.h" -#include "Exception.h" - -#include "Exception.tmh" - -namespace xpsrasfilter -{ - -void ThrowHRException( - HRESULT hr, - char const *fileName, - int lineNum - ) -{ - DoTraceMessage( - XPSRASFILTER_TRACE_ERROR, - L"Throwing HRESULT Exception from %s:%d (HRESULT=%!HRESULT!)", - fileName, - lineNum, - hr - ); - - throw hr_error(hr); -} - -} // namespace xpsrasfilter -- cgit v1.3.1