Solid File System

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

SolFSStorage.CreateDirectory method


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

SolFSStorage     See also    


Creates new directory in SolFSStorage.


    procedure CreateDirectory(Directory: TSolFSString);
    type TSolFSString = {$ifdef UNICODE}UnicodeString{$else}WideString{$endif};

[Plain C]
    long _stdcall StorageCreateDirectory(unsigned long Storage, const wchar_t* Directory);

[C++ (DLL/Lib)]
    void CreateDirectory(unsigned short * Directory);

[C++ (VCL)]
    void __fastcall CreateDirectory(TSolFSString Directory);

[C++ (.NET)]
    void CreateDirectory(String* directory)

    void CreateDirectory(string directory)

    CreateDirectory(directory As String)

    createDirectory(String directory);


  • Directory - full name of the new directory.
  • [Plain C] Storage - handle to the storage returned by Create or Open function.

[Plain C]  Return values

0 if the function succeeded or one of Error codes if the function failed.


Use CreateDirectory if you want to create a new directory in the SolFSStorage.
Note that the parent for the newly created directory should exist before call, otherwise the call fails.

See also

ForceCreateDirectories     DeleteDirectory    

Back to top