Solid File System

Virtual file system enigne that can be embedded into your software.

SolFSStorage.GetFileAttributes method

Filter:

Pascal    Plain C    C++ (DLL/Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 

SolFSStorage     See also    

Overview

Returns attributes of the stream, file or directory.

Declaration

[Pascal]
    function GetFileAttributes(const FileName: TSolFSString) : LongWord;

[Plain C]
    long _stdcall StorageGetFileAttributes(unsigned long Storage, const wchar_t* FileName, unsigned long & Attributes);

[C++ (DLL/Lib)]
    unsigned long GetFileAttributes(unsigned short *fileName);

[C++ (VCL)]
    void __fastcall GetFileAttributes(const TSolFSString FileName, unsigned int &Attributes);

[C++ (.NET)]
    long GetFileAttributes(String *fileName);

[C#]
    int GetFileAttributes(string fileName);

[VB.NET]
    Function GetFileAttributes(ByVal fileName As String) as Long

[Java]
    long getFileAttributes(String fileName)

Parameters

  • FileName - the full file name in the SolFSStorage.
  • Attributes - returns file attributes mode.
  • [Plain C] Storage - handle to the storage returned by Create or Open function.

Return value

Object attributes (see values below).

     [Plain C]  0 if the function succeeded or one of Error codes if the function failed.

Values of Attributes

Description

Use GeFileAttributes to read the attributes of the stream, file or directory.

See also

SetFileAttributes

Back to top