GetProperty (FUN)ΒΆ
FUNCTION GetProperty : DWORD
This function provides information on target-specific settings and functionalities, which concern the file or directory system or the implementation of optional function blocks.
| Properties table | |||
| Nr. | Constant name | Meaning | Return value | 
| function block β support | |||
| 1 | FILE_gc_PDIRRENAME | Support of function block FILE_DirRename | 0: No 1: Yes | 
| 2 | FILE_gc_PRENAME | Support of function block FILE_Rename | 0: No 1: Yes | 
| 3 | FILE_gc_PCOPY | Support of function block FILE_Copy | 0: No 1: Yes | 
| 4 | FILE_gc_PSETATTRIBUTE | Support of function block FILE_SetAttribute | 0: No 1: Yes | 
| Restrictions on directories and files | |||
| 100 | FILE_gc_PFILENAME83 | Restriction of the directory and file names to 8.3 format | 0: No 1: Yes | 
| 101 | FILE_gc_PCAPITALLETTERS | Restriction on capital letters for directory and file names | 0: No 1: Yes | 
| Path specification | |||
| 200 | FILE_gc_PABSOLUTEPATH | Restriction on absolute path specification | 0: No 1: Yes | 
| 201 | FILE_gc_PDRIVELETTER | Support of drive letters | 0: No 1: Yes | 
| 210 | FILE_gc_PRESOLVER | Support of Resolver Syntax for file names | 0: No 1: Yes | 
| 211 | FILE_gc_PFTPRESOLVER | Support of FTP-Client functions | 0: No 1: Yes | 
| 212 | FILE_gc_PHTTPRESOLVER | Support of http-Client functions | 0: No 1: Yes | 
| Network | |||
| 300 | FILE_gc_PNETWORKDRIVES | Support of network drives | 0: No 1: Yes | 
- InOut:
- Scope - Name - Type - Comment - Return - GetProperty- DWORD- Return value describes the property, see table. - Input - wProperty- WORD- Number of the property, see table. 
