FUNCTION_BLOCK GetAttribute EXTENDS CBM.ETrig
With this function block file attributes can be obtained.
Scope
Name
Type
Comment
Input
hFile
CAA.HANDLE
File handle
Output
eError
ERROR
Local library error ID (0: no error; 5101: time out)
eFileAttrib
ATTRIB
File attributes, FILE_ARCHIVE, FILE_HIDDEN, FILE_NORMAL, FILE_READONLY