#include "magick/delegate.h"#include "magick/delegate-private.h"#include "magick/exception.h"#include <windows.h>#include <wchar.h>#include <winuser.h>#include <wingdi.h>#include <io.h>#include <process.h>#include <errno.h>
Go to the source code of this file.
Data Structures | |
| struct | dirent |
| struct | _DIR |
| struct | _NTMEMORYSTATUSEX |
Defines | |
| #define | WIN32_LEAN_AND_MEAN |
| #define | VC_EXTRALEAN |
| #define | _CRT_SECURE_NO_DEPRECATE 1 |
| #define | PROT_READ 0x01 |
| #define | PROT_WRITE 0x02 |
| #define | MAP_SHARED 0x01 |
| #define | MAP_PRIVATE 0x02 |
| #define | MAP_ANONYMOUS 0x20 |
| #define | F_OK 0 |
| #define | R_OK 4 |
| #define | W_OK 2 |
| #define | RW_OK 6 |
| #define | _SC_PAGESIZE 1 |
| #define | _SC_PHYS_PAGES 2 |
| #define | _SC_OPEN_MAX 3 |
| #define | SSIZE_MAX 0x7fffffffL |
| #define | chsize(file, length) _chsize(file,length) |
| #define | access(path, mode) _access(path,mode) |
| #define | chdir _chdir |
| #define | close _close |
| #define | closedir(directory) NTCloseDirectory(directory) |
| #define | fdopen _fdopen |
| #define | fileno _fileno |
| #define | fseeko _fseeki64 |
| #define | fstat _fstat |
| #define | fsync _commit |
| #define | ftello _ftelli64 |
| #define | ftruncate(file, length) NTTruncateFile(file,length) |
| #define | getcwd _getcwd |
| #define | getpid _getpid |
| #define | hypot _hypot |
| #define | inline __inline |
| #define | isatty _isatty |
| #define | mkdir _mkdir |
| #define | mmap(address, length, protection, access, file, offset) NTMapMemory(address,length,protection,access,file,offset) |
| #define | msync(address, length, flags) NTSyncMemory(address,length,flags) |
| #define | munmap(address, length) NTUnmapMemory(address,length) |
| #define | opendir(directory) NTOpenDirectory(directory) |
| #define | open _open |
| #define | pclose _pclose |
| #define | popen _popen |
| #define | read _read |
| #define | readdir(directory) NTReadDirectory(directory) |
| #define | seekdir(directory, offset) NTSeekDirectory(directory,offset) |
| #define | setmode _setmode |
| #define | stat _stat |
| #define | strcasecmp _strcmpi |
| #define | strncasecmp _strnicmp |
| #define | sysconf(name) NTSystemConfiguration(name) |
| #define | telldir(directory) NTTellDirectory(directory) |
| #define | tempnam _tempnam |
| #define | vsnprintf _vsnprintf |
| #define | write _write |
| #define | wstat _wstat |
| #define | SAFE_GLOBAL |
Typedefs | |
| typedef struct _DIR | DIR |
| typedef struct _NTMEMORYSTATUSEX | NTMEMORYSTATUSEX |
| typedef UINT(CALLBACK * | LPFNDLLFUNC1 )(DWORD, UINT) |
| typedef UINT(CALLBACK * | LPFNDLLFUNC2 )(NTMEMORYSTATUSEX *) |
| typedef long | ssize_t |
Functions | |
| MagickExport char * | NTGetLastError (void) |
| MagickExport const GhostInfo * | NTGhostscriptDLLVectors (void) |
| MagickExport const char * | NTGetLibraryError (void) |
| MagickExport DIR * | NTOpenDirectory (const char *) |
| MagickExport double | NTElapsedTime (void) |
| MagickExport double | NTUserTime (void) |
| MagickExport int | Exit (int) |
| MagickExport int | IsWindows95 () |
| MagickExport int | NTCloseDirectory (DIR *) |
| MagickExport int | NTCloseLibrary (void *) |
| MagickExport int | NTControlHandler (void) |
| MagickExport int | NTExitLibrary (void) |
| MagickExport int | NTTruncateFile (int, off_t) |
| MagickExport int | NTGhostscriptDLL (char *, int) |
| MagickExport int | NTGhostscriptEXE (char *, int) |
| MagickExport int | NTGhostscriptFonts (char *, int) |
| MagickExport int | NTGhostscriptLoadDLL (void) |
| MagickExport int | NTGhostscriptUnLoadDLL (void) |
| MagickExport int | NTInitializeLibrary (void) |
| MagickExport int | NTSetSearchPath (const char *) |
| MagickExport int | NTSyncMemory (void *, size_t, int) |
| MagickExport int | NTUnmapMemory (void *, size_t) |
| MagickExport int | NTSystemCommand (const char *) |
| MagickExport long | NTSystemConfiguration (int) |
| MagickExport long | NTTellDirectory (DIR *) |
| MagickExport MagickBooleanType | NTGatherRandomData (const size_t, unsigned char *) |
| MagickExport MagickBooleanType | NTGetExecutionPath (char *, const size_t) |
| MagickExport MagickBooleanType | NTGetModulePath (const char *, char *) |
| MagickExport MagickBooleanType | NTReportEvent (const char *, const MagickBooleanType) |
| MagickExport MagickBooleanType | NTReportException (const char *, const MagickBooleanType) |
| MagickExport struct dirent * | NTReadDirectory (DIR *) |
| MagickExport unsigned char * | NTRegistryKeyLookup (const char *) |
| MagickExport unsigned char ** | NTResourceToBlob (const char *) |
| MagickExport void | NTErrorHandler (const ExceptionType, const char *, const char *) |
| MagickExport void * | NTGetLibrarySymbol (void *, const char *) |
| MagickExport void ** | NTMapMemory (char *, size_t, int, int, int, MagickOffsetType) |
| MagickExport void *** | NTOpenLibrary (const char *) |
| MagickExport void *** | NTSeekDirectory (DIR *, long) |
| MagickExport void *** | NTWarningHandler (const ExceptionType, const char *, const char *) |
| #define _SC_OPEN_MAX 3 |
Definition at line 54 of file nt-base.h.
Referenced by ResourceComponentGenesis().
| #define _SC_PHYS_PAGES 2 |
Definition at line 53 of file nt-base.h.
Referenced by ResourceComponentGenesis().
| #define access | ( | path, | |||
| mode | ) | _access(path,mode) |
Definition at line 78 of file nt-base.h.
Referenced by IsPathAccessible().
| #define close _close |
Definition at line 84 of file nt-base.h.
Referenced by AcquireUniqueFilename(), AcquireUniqueSymbolicLink(), BlobToFile(), ClosePixelCacheOnDisk(), ConfigureFileToStringInfo(), CopyDelegateFile(), DestroyRadonInfo(), FileToBlob(), FileToImage(), GenerateEntropicChaos(), ImageToFile(), InjectImageBlob(), and PreviewImage().
| #define closedir | ( | directory | ) | NTCloseDirectory(directory) |
Definition at line 87 of file nt-base.h.
Referenced by ListFiles().
| #define F_OK 0 |
Definition at line 48 of file nt-base.h.
Referenced by IsPathAccessible().
| #define fdopen _fdopen |
Definition at line 90 of file nt-base.h.
Referenced by ImagesToBlob(), ImageToBlob(), InjectImageBlob(), OpenBlob(), RenderPostscript(), and XDisplayImageInfo().
| #define fileno _fileno |
Definition at line 93 of file nt-base.h.
Referenced by CloseBlob(), FileToBlob(), GetBlobSize(), ImageToFile(), LogMagickEventList(), OpenBlob(), and SetBlobExtent().
| #define fstat _fstat |
Definition at line 103 of file nt-base.h.
Referenced by AcquireUniqueSymbolicLink(), CopyDelegateFile(), FileToBlob(), FileToImage(), GetBlobSize(), ImageToFile(), InjectImageBlob(), and LogMagickEventList().
| #define fsync _commit |
Definition at line 107 of file nt-base.h.
Referenced by CloseBlob().
| #define ftruncate | ( | file, | |||
| length | ) | NTTruncateFile(file,length) |
| #define getcwd _getcwd |
Definition at line 116 of file nt-base.h.
Referenced by AcquireUniqueSymbolicLink(), ExpandFilenames(), GetExecutionPath(), XFileBrowserWidget(), and XGetResourceInfo().
| #define getpid _getpid |
Definition at line 119 of file nt-base.h.
Referenced by GenerateEntropicChaos(), GetExecutionPath(), GetMagickThreadId(), GetMagickThreadSignature(), IsMagickThreadEqual(), TranslateEvent(), and TranslateFilename().
| #define hypot _hypot |
Definition at line 122 of file nt-base.h.
Referenced by DistortImage(), DrawDashPolygon(), DrawImage(), FxEvaluateSubexpression(), MotionBlurImageChannel(), RadialBlurImageChannel(), TraceCircle(), and TraceSquareLinecap().
| #define mmap | ( | address, | |||
| length, | |||||
| protection, | |||||
| access, | |||||
| file, | |||||
| offset | ) | NTMapMemory(address,length,protection,access,file,offset) |
| #define msync | ( | address, | |||
| length, | |||||
| flags | ) | NTSyncMemory(address,length,flags) |
Definition at line 161 of file nt-base.h.
Referenced by SyncBlob().
| #define munmap | ( | address, | |||
| length | ) | NTUnmapMemory(address,length) |
Definition at line 164 of file nt-base.h.
Referenced by UnmapBlob().
| #define open _open |
Definition at line 170 of file nt-base.h.
Referenced by AcquireUniqueFileResource(), AcquireUniqueSymbolicLink(), BlobToFile(), ConfigureFileToStringInfo(), CopyDelegateFile(), FileToBlob(), FileToImage(), GenerateEntropicChaos(), ImageToFile(), InjectImageBlob(), and OpenPixelCacheOnDisk().
| #define opendir | ( | directory | ) | NTOpenDirectory(directory) |
Definition at line 167 of file nt-base.h.
Referenced by ListFiles().
| #define pclose _pclose |
Definition at line 173 of file nt-base.h.
Referenced by CloseBlob().
| #define popen _popen |
Definition at line 176 of file nt-base.h.
Referenced by OpenBlob().
| #define read _read |
Definition at line 179 of file nt-base.h.
Referenced by AcquireUniqueSymbolicLink(), ConfigureFileToStringInfo(), CopyDelegateFile(), FileToBlob(), FileToImage(), InjectImageBlob(), ReadPixelCacheRegion(), ReadRadonCell(), and ReadRandom().
| #define readdir | ( | directory | ) | NTReadDirectory(directory) |
Definition at line 182 of file nt-base.h.
Referenced by MagickReadDirectory().
| #define seekdir | ( | directory, | |||
| offset | ) | NTSeekDirectory(directory,offset) |
| #define setmode _setmode |
Definition at line 188 of file nt-base.h.
Referenced by AcquireUniqueFileResource(), GenerateEntropicChaos(), and OpenBlob().
| #define SSIZE_MAX 0x7fffffffL |
Definition at line 56 of file nt-base.h.
Referenced by BlobToFile(), ConfigureFileToStringInfo(), FileToBlob(), ReadPixelCacheRegion(), ReadRadonCell(), WritePixelCacheRegion(), and WriteRadonCell().
| #define stat _stat |
Definition at line 195 of file nt-base.h.
Referenced by AcquireUniqueSymbolicLink(), CopyDelegateFile(), FileToBlob(), FileToImage(), GetPathAttributes(), GetPathTemplate(), ImageToFile(), InjectImageBlob(), IsPathAccessible(), IsPathDirectory(), LogMagickEventList(), OpenBlob(), and ThumbnailImage().
| #define strcasecmp _strcmpi |
Definition at line 199 of file nt-base.h.
Referenced by ListMimeInfo(), LocaleCompare(), MimeCompare(), and MimeInfoCompare().
| #define strncasecmp _strnicmp |
Definition at line 202 of file nt-base.h.
Referenced by LocaleNCompare().
| #define sysconf | ( | name | ) | NTSystemConfiguration(name) |
Definition at line 205 of file nt-base.h.
Referenced by GetMagickPageSize(), and ResourceComponentGenesis().
| #define vsnprintf _vsnprintf |
Definition at line 215 of file nt-base.h.
Referenced by FormatImageAttributeList(), FormatImagePropertyList(), FormatMagickStringList(), FormatStringList(), LogMagickEventList(), and ThrowMagickExceptionList().
| #define write _write |
Definition at line 219 of file nt-base.h.
Referenced by AcquireUniqueSymbolicLink(), BlobToFile(), CopyDelegateFile(), ImageToFile(), ResetRadonCells(), WritePixelCacheRegion(), and WriteRadonCell().
| #define wstat _wstat |
Definition at line 226 of file nt-base.h.
Referenced by GetPathAttributes().
| typedef UINT(CALLBACK * LPFNDLLFUNC1)(DWORD, UINT) |
| typedef UINT(CALLBACK * LPFNDLLFUNC2)(NTMEMORYSTATUSEX *) |
| typedef struct _NTMEMORYSTATUSEX NTMEMORYSTATUSEX |
| MagickExport int Exit | ( | int | ) |
| MagickExport int IsWindows95 | ( | ) |
Referenced by XInitializeWindows().
| MagickExport int NTCloseDirectory | ( | DIR * | ) |
| MagickExport int NTCloseLibrary | ( | void * | ) |
| MagickExport int NTControlHandler | ( | void | ) |
| MagickExport double NTElapsedTime | ( | void | ) |
Referenced by ElapsedTime(), and GenerateEntropicChaos().
| MagickExport void NTErrorHandler | ( | const | ExceptionType, | |
| const char * | , | |||
| const char * | ||||
| ) |
| MagickExport int NTExitLibrary | ( | void | ) |
| MagickExport MagickBooleanType NTGatherRandomData | ( | const | size_t, | |
| unsigned char * | ||||
| ) |
Referenced by GenerateEntropicChaos().
| MagickExport MagickBooleanType NTGetExecutionPath | ( | char * | , | |
| const | size_t | |||
| ) |
Referenced by GetExecutionPath().
| MagickExport char* NTGetLastError | ( | void | ) |
| MagickExport const char* NTGetLibraryError | ( | void | ) |
| MagickExport void * NTGetLibrarySymbol | ( | void * | , | |
| const char * | ||||
| ) |
| MagickExport MagickBooleanType NTGetModulePath | ( | const char * | , | |
| char * | ||||
| ) |
Referenced by GetConfigurePaths().
| MagickExport int NTGhostscriptDLL | ( | char * | , | |
| int | ||||
| ) |
| MagickExport const GhostInfo* NTGhostscriptDLLVectors | ( | void | ) |
| MagickExport int NTGhostscriptEXE | ( | char * | , | |
| int | ||||
| ) |
Referenced by LoadDelegateList().
| MagickExport int NTGhostscriptFonts | ( | char * | , | |
| int | ||||
| ) |
Referenced by LoadTypeList().
| MagickExport int NTGhostscriptLoadDLL | ( | void | ) |
| MagickExport int NTGhostscriptUnLoadDLL | ( | void | ) |
Referenced by MagickCoreTerminus().
| MagickExport int NTInitializeLibrary | ( | void | ) |
| MagickExport void * * NTMapMemory | ( | char * | , | |
| size_t | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| MagickOffsetType | ||||
| ) |
| MagickExport DIR* NTOpenDirectory | ( | const char * | ) |
| MagickExport void * * * NTOpenLibrary | ( | const char * | ) |
| MagickExport unsigned char* NTRegistryKeyLookup | ( | const char * | ) |
Referenced by GetConfigureBlob(), and GetConfigurePaths().
| MagickExport MagickBooleanType NTReportEvent | ( | const char * | , | |
| const | MagickBooleanType | |||
| ) |
Referenced by LogMagickEventList().
| MagickExport MagickBooleanType NTReportException | ( | const char * | , | |
| const | MagickBooleanType | |||
| ) |
| MagickExport unsigned char* * NTResourceToBlob | ( | const char * | ) |
Referenced by GetConfigureBlob(), GetConfigureOptions(), and GetLocaleOptions().
| MagickExport void * * * NTSeekDirectory | ( | DIR * | , | |
| long | ||||
| ) |
| MagickExport int NTSetSearchPath | ( | const char * | ) |
| MagickExport int NTSyncMemory | ( | void * | , | |
| size_t | , | |||
| int | ||||
| ) |
| MagickExport int NTSystemCommand | ( | const char * | ) |
Referenced by SystemCommand().
| MagickExport long NTSystemConfiguration | ( | int | ) |
| MagickExport long NTTellDirectory | ( | DIR * | ) |
| MagickExport int NTTruncateFile | ( | int | , | |
| off_t | ||||
| ) |
| MagickExport int NTUnmapMemory | ( | void * | , | |
| size_t | ||||
| ) |
| MagickExport double NTUserTime | ( | void | ) |
Referenced by GenerateEntropicChaos(), and UserTime().
| MagickExport void * * * NTWarningHandler | ( | const | ExceptionType, | |
| const char * | , | |||
| const char * | ||||
| ) |
1.6.1