Firelight Technologies FMOD Studio API
FMOD_FILE_CLOSE_CALLBACK
Calback for closing a file.
C/C++ Syntax
FMOD_RESULT F_CALLBACK FMOD_FILE_CLOSE_CALLBACK(
void *handle,
void *userdata
);
Parameters
handle
This is the handle returned from the open callback to use for your own file routines.
userdata
Userdata from FMOD_CREATESOUNDEXINFO.fileuserdata or FMOD_STUDIO_BANK_INFO.userData.
Return Values
If the function succeeds then the return value is FMOD_OK.
If the function fails then the return value will be one of the values defined in the FMOD_RESULT enumeration.
Remarks
Close any user created file handle and perform any cleanup nescessary for the file here. If the callback is from System::attachFileSystem, then the return value is ignored.
See Also
- System::setFileSystem
- System::attachFileSystem
- FMOD_FILE_OPEN_CALLBACK
- FMOD_FILE_READ_CALLBACK
- FMOD_FILE_SEEK_CALLBACK
- FMOD_CREATESOUNDEXINFO
Version 1.10.03 Built on Feb 1, 2018