static BOOL ControlHandler(DWORD type)
{
+ (void) type;
AsynchronousDestroyMagickResources();
return(FALSE);
}
%
% The format of the NTErrorHandler method is:
%
-% void NTErrorHandler(const ExceptionType error,const char *reason,
+% void NTErrorHandler(const ExceptionType severity,const char *reason,
% const char *description)
%
% A description of each parameter follows:
%
-% o error: Specifies the numeric error category.
+% o severity: Specifies the numeric error category.
%
% o reason: Specifies the reason to display before terminating the
% program.
% o description: Specifies any description to the reason.
%
*/
-MagickExport void NTErrorHandler(const ExceptionType error,const char *reason,
- const char *description)
+MagickExport void NTErrorHandler(const ExceptionType severity,
+ const char *reason,const char *description)
{
char
buffer[3*MaxTextExtent],
*message;
+ (void) severity;
if (reason == (char *) NULL)
{
MagickCoreTerminus();
status=CryptReleaseContext(handle,0);
if (status == 0)
return(MagickFalse);
+#else
+ (void) random;
+ (void) length;
#endif
return(MagickTrue);
}
*product_family=NULL;
*major_version=5;
*minor_version=49; /* min version of Ghostscript is 5.50 */
- for (i=0; i < (sizeof(products)/sizeof(products[0])); i++)
+ for (i=0; i < (long) (sizeof(products)/sizeof(products[0])); i++)
{
char
key[MaxTextExtent];
return(FALSE);
(void) FormatMagickString(key,MaxTextExtent,"SOFTWARE\\%s\\%d.%02d",
product_family,major_version,minor_version);
- for (i=0; i < sizeof(hkeys)/sizeof(hkeys[0]); i++)
+ for (i=0; i < (long) (sizeof(hkeys)/sizeof(hkeys[0])); i++)
{
extent=length;
if (NTGetRegistryValue(hkeys[i].hkey,key,name,value,&extent) == 0)
void
*map;
+ (void) address;
access_mode=0;
file_handle=INVALID_HANDLE_VALUE;
low_length=(DWORD) (length & 0xFFFFFFFFUL);
*/
MagickExport void NTSeekDirectory(DIR *entry,long position)
{
+ (void) position;
(void) LogMagickEvent(TraceEvent,GetMagickModule(),"...");
assert(entry != (DIR *) NULL);
}
*/
MagickExport int NTSyncMemory(void *address,size_t length,int flags)
{
+ (void) flags;
if (FlushViewOfFile(address,length) == MagickFalse)
return(-1);
return(0);
*/
MagickExport int NTUnmapMemory(void *map,size_t length)
{
+ (void) length;
if (UnmapViewOfFile(map) == 0)
return(-1);
return(0);
%
% The format of the NTWarningHandler method is:
%
-% void NTWarningHandler(const ExceptionType warning,const char *reason,
+% void NTWarningHandler(const ExceptionType severity,const char *reason,
% const char *description)
%
% A description of each parameter follows:
%
-% o warning: Specifies the numeric warning category.
+% o severity: Specifies the numeric warning category.
%
% o reason: Specifies the reason to display before terminating the
% program.
% o description: Specifies any description to the reason.
%
*/
-MagickExport void NTWarningHandler(const ExceptionType warning,
+MagickExport void NTWarningHandler(const ExceptionType severity,
const char *reason,const char *description)
{
char
buffer[2*MaxTextExtent];
+ (void) severity;
if (reason == (char *) NULL)
return;
if (description == (char *) NULL)