SysDirRead (FUN) ¶ FUNCTION SysDirRead : UDINT Function to read directory entries. Returns 1, if further entries to search in the directory is available. Must be called until 0 is returned by this function. InOut: Scope Name Type Comment Return SysDirRead UDINT Input hDir DWORD Handle of directory search. Is returned by SysDirOpen Inout stDirEntry STRING Return the name of one entry in the directory. Can be file or directory Input pDirInfo POINTER TO DIRECTORY_INFO Can be 0
SysDirRemove (FUN) ¶ FUNCTION SysDirRemove : BOOL InOut: Scope Name Type Return SysDirRemove BOOL Inout Const stName STRING
SysDirRename (FUN) ¶ FUNCTION SysDirRename : BOOL InOut: Scope Name Type Return SysDirRename BOOL Inout Const stOldName STRING stNewName STRING
extern30 ¶ DirInfo30 (Struct) SysDirClose30 (Function) SysDirCreate30 (Function) SysDirOpen30 (Function) SysDirRead30 (Function) SysDirRemove30 (Function) SysDirRename30 (Function)
DirInfo30 (STRUCT) ¶ TYPE DirInfo30 : STRUCT InOut: Name Type tDirFileTime DirFileTime ulSize UDINT diDirectory DINT
SysDirClose30 (FUN) ¶ FUNCTION SysDirClose30 : UDINT InOut: Scope Name Type Return SysDirClose30 UDINT Input hDir UDINT
SysDirCreate30 (FUN) ¶ FUNCTION SysDirCreate30 : UDINT InOut: Scope Name Type Return SysDirCreate30 UDINT Input szDir REFERENCE TO STRING
SysDirOpen30 (FUN) ¶ FUNCTION SysDirOpen30 : UDINT InOut: Scope Name Type Return SysDirOpen30 UDINT Input szDir REFERENCE TO STRING szDirEntry REFERENCE TO STRING diMaxDirEntry DINT pDirInfo POINTER TO DirInfo30 pResult POINTER TO UDINT
SysDirRemove30 (FUN) ¶ FUNCTION SysDirRemove30 : UDINT InOut: Scope Name Type Return SysDirRemove30 UDINT Input szDir REFERENCE TO STRING
SysDirRead30 (FUN) ¶ FUNCTION SysDirRead30 : UDINT InOut: Scope Name Type Return SysDirRead30 UDINT Input hDir UDINT szDirEntry REFERENCE TO STRING diMaxDirEntry DINT pDirInfo POINTER TO DirInfo30