File.
Sets the specified step label.
DioFileSetLabel (hFile, dwStep, pszLabel, pnStatus)
Name |
Type |
Comments |
hFile |
SHORT |
File board handle returned by the function DioFileOpen. |
dwStep |
DWORD |
Sets label step. |
pszLabel |
PSTR |
Pointer to the string holding the label’s name, limited to 512 characters. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The following example sets a label at step 100:
SHORT nStatus, hFile;
DioFileOpen (szfilename, 1, &hFile, &nStatus);
if (hFile!=0 && nStatus==0)
DioFileSetLabel (hFile, 100, “Clock”, &nStatus);