nt - Windows NT Utility Methods for ImageMagick
int Exit( int status );
int ImageFormatConflict( const char *magick
);
int IsWindows95( );
int NTSystemCommand( const char *command
);
int NTTemporaryFilename( char *filename
);
void NTWarningHandler( const unsigned int warning, const char *message, const char
*qualifier
);
void closedir(
DIR *entry
);
DIR * opendir( char *path
);
readdir( entry );
void seekdir( DIR *entry, long position );
long telldir(
DIR *entry
);
Method closedir closes the named directory stream and frees the DIR structure.
The format of the closedir method is:
void closedir ( DIR *entry );
A description of each parameter follows:
Specifies a pointer to a DIR structure.
Method Exit calls TerminateProcess for Win95.
The format of the Exit method is:
int Exit ( int status );
A description of each parameter follows:
an integer value representing the status of the terminating process.
Method ImageFormatConflict returns true if the image format conflicts with a logical drive (.e.g. X:).
The format of the ImageFormatConflict method is:
int ImageFormatConflict ( const char *magick );
A description of each parameter follows:
Method ImageFormatConflict returns true if the image format conflicts with a logical drive.
Specifies the image format.
Method IsWindows95 returns true if the system is Windows 95.
The format of the IsWindows95 method is:
int IsWindows95 ( );
A description of each parameter follows:
an integer value representing the status of the terminating process.
Method NTSystemCommand executes the specified command and waits until it terminates. The returned value is the exit status of the command.
The format of the NTSystemCommand method is:
int NTSystemCommand ( const char *command );
A description of each parameter follows:
This string is the command to execute.
Method NTTemporaryFilename creates a name for a temporary file. It returns zero if an error occurs.
The format of the TemporaryFilename method is:
int NTTemporaryFilename ( char *filename );
A description of each parameter follows:
Specifies a pointer to a string to place the filename.
Method NTWarningHandler displays a warning message.
The format of the NTWarningHandler method is:
void NTWarningHandler ( const unsigned int warning, const char *message, const char *qualifier );
A description of each parameter follows:
Specifies the numeric warning category.
Specifies the message to display before terminating the program.
Specifies any qualifier to the message.
Method opendir opens the directory named by filename and associates a directory stream with it.
The format of the opendir method is:
DIR *opendir ( char *path );
A description of each parameter follows:
Specifies a pointer to a DIR structure.
Method readdir returns a pointer to a structure representing the directory entry at the current position in the directory stream to which entry refers.
The format of the readdir
readdir ( entry );
A description of each parameter follows:
Specifies a pointer to a DIR structure.
Method seekdir sets the position of the next readdir() operation on the directory stream.
The format of the seekdir method is:
void seekdir ( DIR *entry, long position );
A description of each parameter follows:
Specifies a pointer to a DIR structure.
specifies the position associated with the directory stream.
Method telldir returns the current location associated with the named directory stream.
The format of the telldir method is:
long telldir ( DIR *entry );
A description of each parameter follows:
Specifies a pointer to a DIR structure.
Method Dllmain is the entry point for the ImageMagick DLL library.