Updating WiX toolset 2.

This commit is contained in:
McMak 2015-04-27 20:01:19 +03:00
parent cb25d8a5ae
commit 157715cb94
199 changed files with 50941 additions and 0 deletions

View file

@ -0,0 +1,41 @@
//-------------------------------------------------------------------------------------------------
// <copyright file="gdiputil.h" company="Outercurve Foundation">
// Copyright (c) 2004, Outercurve Foundation.
// This software is released under Microsoft Reciprocal License (MS-RL).
// The license and further copyright text can be found in the file
// LICENSE.TXT at the root directory of the distribution.
// </copyright>
//
// <summary>
// GDI+ helper functions.
// </summary>
//-------------------------------------------------------------------------------------------------
#pragma once
#define ExitOnGdipFailure(g, x, s) { x = GdipHresultFromStatus(g); if (FAILED(x)) { Dutil_RootFailure(__FILE__, __LINE__, x); ExitTrace(x, s); goto LExit; } }
#define ExitOnGdipFailure1(g, x, f, s) { x = GdipHresultFromStatus(g); if (FAILED(x)) { Dutil_RootFailure(__FILE__, __LINE__, x); ExitTrace1(x, f, s); goto LExit; } }
#define ExitOnGdipFailure2(g, x, f, s, t) { x = GdipHresultFromStatus(g); if (FAILED(x)) { Dutil_RootFailure(__FILE__, __LINE__, x); ExitTrace2(x, f, s, t); goto LExit; } }
#ifdef __cplusplus
extern "C" {
#endif
HRESULT DAPI GdipBitmapFromResource(
__in_opt HINSTANCE hinst,
__in_z LPCSTR szId,
__out Gdiplus::Bitmap **ppBitmap
);
HRESULT DAPI GdipBitmapFromFile(
__in_z LPCWSTR wzFileName,
__out Gdiplus::Bitmap **ppBitmap
);
HRESULT DAPI GdipHresultFromStatus(
__in Gdiplus::Status gs
);
#ifdef __cplusplus
}
#endif