FUNCTION SysDirOpen : RTS_IEC_HANDLE
Opens a specified directory and returns a handle and the first directory entry
InOut:
Scope |
Name |
Type |
Comment |
Return |
SysDirOpen |
RTS_IEC_HANDLE |
Returns the runtime system error code (see CmpErrors.library) |
Input |
szDir |
REFERENCE TO STRING |
Directory entry as string Note Empty string ('') is the request for the current working directory. |
szDirEntry |
REFERENCE TO STRING |
OUT_PARAMETER: Directory entry as string |
|
diMaxDirEntry |
DINT |
OUT_PARAMETER: Max number of bytes to write in pszDirEntry |
|
pDirInfo |
POINTER TO DirInfo |
OUT_PARAMETER: Directory information |
|
pResult |
POINTER TO RTS_IEC_RESULT |
OUT_PARAMETER: Pointer to runtime system error code (see CmpErrors.library) |