Solid File System

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

SolFSStorage.CreateDirectory method

Filter:

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

SolFSStorage     See also    

Overview

Creates new directory in SolFSStorage.

Declaration

[Pascal]
    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)

[C#]
    void CreateDirectory(string directory)

[VB.NET]
    CreateDirectory(directory As String)

[Java]
    createDirectory(String directory);

Parameters

  • 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.

Description

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