Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » ISO11783 Node Layer » Iso11783FSSetFileInfo

Iso11783FSSetFileInfo

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

This function sets file or directory attributes.

Parameters

  • fileHandle: File or directory handle, see also Iso11783FSOpenFile
  • fileName: Name of file or directory
  • infoCount: Number of elements in info
  • info: Array containing the attributes to set
    • Index 0: bit field with valid elements, Bit 1 set = Index 1 is valid, …
    • Index 1: attributes to be set:
      • Bit 1-2: Read-only attribute
        • 0: Clear
        • 1: Set
        • 3: No change
      • Bit 3-4: Hidden attribute
        • 0: Clear
        • 1: Set
        • 3: No change
      • Bit 5-6: System attribute
        • 0: Clear
        • 1: Set
        • 3: No change
      • Bit 7-8: Archive attribute
        • 0: Clear
        • 1: Set
        • 3: No change

Return Values

0 or error code

Example