National Instruments 320682C Musical Toy Instrument User Manual


 
Chapter 8 Utility Library
© National Instruments Corporation 8-11 LabWindows/CVI Standard Libraries
Parameter
Input
fileName
string File to delete.
Return Value
result
integer Result of delete operation.
Return Codes
0 Success.
-1 File not found or directory in path not found.
-3 General I/O error occurred.
-4 Insufficient memory to complete operation.
-5 Invalid path (for example, c:filename in Windows).
-6 Access denied.
-7 Specified path is a directory, not a file.
Parameter Discussion
fileName may contain wildcard characters ‘?’ and ‘*’ in which case all matching files are
deleted.
fileName may also be the empty string ("") in which case the file found by the most recent call
to GetFirstFile or GetNextFile is deleted.
DisableBreakOnLibraryErrors
void DisableBreakOnLibraryErrors (void);
Purpose
If debugging is enabled (if the debugging level in the Run Options dialog box of the Options
menu in the Project window is set to Standard or Extended), this function directs
LabWindows/CVI not to display a run-time error dialog box when a National Instruments library
function reports an error. If debugging is disabled, this function has no effect.