blob: 6fd766ec5c13433a63affdb2387f8813f771543b [file] [log] [blame]
cristy3ed852e2009-09-05 21:47:34 +00001/*
cristy7e41fe82010-12-04 23:12:08 +00002 Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization
cristy3ed852e2009-09-05 21:47:34 +00003 dedicated to making software imaging solutions freely available.
cristy30603ff2011-10-07 00:43:07 +00004
cristy3ed852e2009-09-05 21:47:34 +00005 You may not use this file except in compliance with the License.
6 obtain a copy of the License at
cristy30603ff2011-10-07 00:43:07 +00007
cristy3ed852e2009-09-05 21:47:34 +00008 http://www.imagemagick.org/script/license.php
cristy30603ff2011-10-07 00:43:07 +00009
cristy3ed852e2009-09-05 21:47:34 +000010 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15
16 MagickCore Windows NT utility methods.
17*/
18#ifndef _MAGICKCORE_NT_BASE_H
19#define _MAGICKCORE_NT_BASE_H
20
21#if defined(__cplusplus) || defined(c_plusplus)
22extern "C" {
23#endif
24
cristy0740a982011-10-13 15:01:01 +000025#include "MagickCore/geometry.h"
cristy3ed852e2009-09-05 21:47:34 +000026
cristy30603ff2011-10-07 00:43:07 +000027#if defined(MAGICKCORE_WINDOWS_SUPPORT)
cristydaeba5e2011-10-13 17:32:44 +000028typedef struct _GhostInfo
29 GhostInfo_;
30
31extern MagickExport char
32 **NTArgvToUTF8(const int argc,wchar_t **);
33
34extern MagickExport const GhostInfo_
35 *NTGhostscriptDLLVectors(void);
36
37extern MagickExport int
38 NTGhostscriptUnLoadDLL(void);
39
cristy3ed852e2009-09-05 21:47:34 +000040extern MagickExport void
cristy30603ff2011-10-07 00:43:07 +000041 *CropImageToHBITMAP(Image *,const RectangleInfo *,ExceptionInfo *),
cristy7c3af952011-10-20 16:04:16 +000042 *ImageToHBITMAP(Image *,ExceptionInfo *),
cristy417d8452011-10-13 17:09:49 +000043 NTErrorHandler(const ExceptionType,const char *,const char *),
44 NTWarningHandler(const ExceptionType,const char *,const char *);
cristy30603ff2011-10-07 00:43:07 +000045#endif
cristy3ed852e2009-09-05 21:47:34 +000046
47#if defined(__cplusplus) || defined(c_plusplus)
48}
cristy30603ff2011-10-07 00:43:07 +000049#endif
cristy3ed852e2009-09-05 21:47:34 +000050
cristy30603ff2011-10-07 00:43:07 +000051#endif