Modules | |
| Data Types | |
| Windows | |
Functions | |
| RwBool | RtFileSystemSetCallBack (RtFileSystem *fs, RtFileSystemCallBackCode cbCode, RtFileSystemCallBack CallBack) |
| RtFileSystemCallBack | RtFileSystemGetCallBack (RtFileSystem *fs, RtFileSystemCallBackCode cbCode) |
| RtFileSystemError | RtFileSystemSetDeviceName (RtFileSystem *fs, RwChar *deviceName) |
| RwChar * | RtFileSystemGetDeviceName (RtFileSystem *fs) |
| RtFileSystemStatus | RtFileSystemGetStatus (RtFileSystem *fs) |
| void | RtFileSystemDefaultToAsync (RtFileSystem *fs, RwBool isAsync) |
| RwBool | RtFileSystemIsDefaultedToAsync (RtFileSystem *fs) |
| void | RtFileSystemSetOustandingOpCallback (RtFile *file, RtFSFileOpCallBack CallBack, void *CallBackData) |
The file system defaults all streaming to synchronous. This default mode allows you to use all the RwStream API functions normally. The default file system mode can be changed to asynchronous using the RtFileSystemDefaultToAsync function.
Also note that the file system toolkit allows you to initialize several custom file systems of the same type. This means that you can register many file systems on the same platform, providing that each of them has a different device name and a different file system name. This means that on certain platforms you can register a file system per existing device.
Significant changes have been made to the file system toolkit for RenderWare Graphics 3.7. For details, see the What's New in 3.7? section.
|
||||||||||||
|
RtFileSystemDefaultToAsync defaults the file system to asynchronous or synchronous mode. The file system determines whether a file should be opened in synchronous or asynchronous mode, depending on the isAsync value passed to this function. Initially, all operations are performed synchonously. When a call to RtFileSystemDefaultToAsync is made, the default mode will be set for all operations following the call. This means that all operations performed on files opened before this call will still be undertaken according to the previous settings, i.e. the settings valid when the particular file was opened.
|
|
||||||||||||
|
RtFileSystemGetCallBack gets a specific file system callback. Please refer to the RtFileSystemCallBackCode documentation for more information on when specific callbacks are triggered.
|
|
|
RtFileSystemGetDeviceName gets the current device name for a specific file system.
|
|
|
RtFileSystemGetStatus gets the status of the specified file system. This function is useful if at any point you want to check the current state of the file system. This can give you information on whether the file system is ready and working properly or is having problem completing a specific task.
|
|
|
RtFileSystemIsDefaultedToAsync determines the mode to which this file system is currently defaulted.
|
|
||||||||||||||||
|
RtFileSystemSetCallBack sets a specific file system callback, for a specific file system. This is determined by the callback code specified when calling this function.
|
|
||||||||||||
|
RtFileSystemSetDeviceName sets the device name for a specific file system. Note that the file system device name is case sensitive. The device name is used by the file system toolkit to open files on a specific device. This device name can be user-defined or in some cases needs to be a valid existing name (for more information see the platform specific documentation).
|
|
||||||||||||||||
|
RtFileSystemSetOustandingOpCallback set the callback for the current outstanding asynchronous operation. Note that the operation that follows a call to RtFileSystemSetOustandingOpCallback will set the appropriate file operation for the callback.
|
© 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:47:10 2004.
Send Feedback