TSdlStorageInterface
Function interface for TSdlStorage.
Apps that want to supply a custom implementation of TSdlStorage will fill in all the functions in this record, and then pass it to TSdlStorage.Open create a custom TSdlStorage object.
It is not usually necessary to do this; SDL provides standard implementations for many things you might expect to do with a TSdlStorage.
This structure should be initialized using Init.
Note that all function pointers uses the "cdecl" calling conventions since these are directly using by the SDL C API.
Definition
Unit: Neslib.Sdl3.IO
Fields
Name | Description |
---|---|
Close | |
Copy | |
Enumerate | |
Info | |
MkDir | |
ReadFile | |
Ready | |
Remove | |
Rename | |
SpaceRemaining | |
Version | |
WriteFile |
Methods
Name | Description |
---|---|
Init | Initializes this interface by setting the Version field and clearing all other fields. |
Field Descriptions
Close
var Close: function
Type: function
Copy
var Copy: function
Type: function
Enumerate
var Enumerate: function
Type: function
Info
var Info: function
Type: function
MkDir
var MkDir: function
Type: function
ReadFile
var ReadFile: function
Type: function
Ready
var Ready: function
Type: function
Remove
var Remove: function
Type: function
Rename
var Rename: function
Type: function
SpaceRemaining
var SpaceRemaining: function
Type: function
Version
var Version: Cardinal
Type: Cardinal
WriteFile
var WriteFile: function
Type: function
Method Descriptions
Init
Initializes this interface by setting the Version field and clearing all other fields.
procedure Init