>nt - Windows NT Utility Methods for ImageMagick;/


NAME



/nt - Windows NT Utility Methods for ImageMagick




(

SYNOPSIS



Exit(status)

3status=ImageFormatConflict(magick)

IsWindows95()

)NTSystemCommand(command)

.NTTemporaryFilename(filename)

<NTWarningHandler(warning,message,qualifier)

closedir(entry)

opendir(entry)

readdir(entry)

(seekdir(entry,position)

telldir(entry)




B

FUNCTION DESCRIPTIONS






(

closedir



CMethod 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:

4
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:


Dan integer value representing the status of the terminating process.






>

ImageFormatConflict



JMethod ImageFormatConflict returns true if the image format conflicts witha logical drive (.e.g. X:).

1The format of the ImageFormatConflict routine is:

/

        status=ImageFormatConflict(magick)


(A description of each parameter follows:

status:


JMethod ImageFormatConflict returns true if the image format conflicts witha 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:


Dan integer value representing the status of the terminating process.






6

NTSystemCommand



N

 Method NTSystemCommand executes the specified command and waits until it


H

 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



I

 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:


6Specifies a pointer to a string to place the filename.






8

NTWarningHandler



3Method NTWarningHandler displays a warning message.

.The format of the NTWarningHandler routine is:

8

        NTWarningHandler(warning,message,qualifier)


(A description of each parameter follows:

!
warning:


'Specifies the numeric warning category.!

message:


@Specifies the message to display before terminating the program.#

qualifier:


'Specifies any qualifier to the message.






&

opendir



EMethod opendir opens the directory named by filename and associates adirectory 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



JMethod readdir returns a pointer to a structure representing the directoryDentry at the current position in the directory stream to which entryrefers.

The format of the readdir



        readdir(entry)


(A description of each parameter follows:


entry:


'Specifies a pointer to a DIR structure.






&

seekdir



F

 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



G

 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



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