NAME

nt - Windows NT Utility Routines for ImageMagick


SYNOPSIS

Exit(status)

status=ImageFormatConflict(magick)

IsWindows95()

NTSystemCommand(command)

NTTemporaryFilename(filename)

closedir(entry)

opendir(entry)

readdir(entry)

seekdir(entry,position)

telldir(entry)


FUNCTION DESCRIPTIONS


closedir

Method closedir closes the named directory stream and frees the DIR structure.

The format of the closedir routine is:

        closedir(entry)

A description of each parameter follows:

entry:

Specifies a pointer to a DIR structure.


Exit

Method Exit calls TerminateProcess for Win95.

The format of the Exit routine is:

        Exit(status)

A description of each parameter follows:

status:

an integer value representing the status of the terminating process.


ImageFormatConflict

Method ImageFormatConflict returns true if the image format conflicts with a logical drive (.e.g. X:).

The format of the ImageFormatConflict routine is:

        status=ImageFormatConflict(magick)

A description of each parameter follows:

status:

Method ImageFormatConflict returns true if the image format conflicts with a logical drive.

magick:

Specifies the image format.


IsWindows95

Method IsWindows95 returns true if the system is Windows 95.

The format of the IsWindows95 routine is:

        IsWindows95()

A description of each parameter follows:

status:

an integer value representing the status of the terminating process.


NTSystemCommand

 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 routine is:

        NTSystemCommand(command)

A description of each parameter follows:

command:

This string is the command to execute.


NTTemporaryFilename

 Method NTTemporaryFilename creates a name for a temporary file.  It

 returns zero if an error occurs.

The format of the TemporaryFilename routine is:

        NTTemporaryFilename(filename)

A description of each parameter follows:

filename:

Specifies a pointer to a string to place the filename.


NTWarningHandler

Method NTWarningHandler displays a warning message.

The format of the NTWarningHandler routine is:


opendir

Method opendir opens the directory named by filename and associates a directory stream with it.

The format of the opendir routine is:

        opendir(entry)

A description of each parameter follows:

entry:

Specifies a pointer to a DIR structure.


readdir

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:

entry:

Specifies a pointer to a DIR structure.


seekdir

 Method seekdir sets the position of the next readdir() operation

 on the directory stream.

The format of the seekdir routine is:

        seekdir(entry,position)

A description of each parameter follows:

entry:

Specifies a pointer to a DIR structure.

position:

specifies the position associated with the directory stream.


telldir

 Method telldir returns the current location associated  with  the

 named directory stream.

The format of the telldir routine is:

        telldir(entry)

A description of each parameter follows:

entry:

Specifies a pointer to a DIR structure.


DllMain

Method Dllmain is the entry point for the ImageMagick DLL library.