FILECLOSEPROC callback

User file stream close callback function.

void CALLBACK FileCloseProc(
    void *user
);

Parameters

userThe user instance data given when BASS_StreamCreateFileUser was called.

Remarks

With a buffered file stream, this function is called as soon as reading reaches the end of the file. If the stream is freed before then, this function could be called while its FILEREADPROC function is in progress. If that happens, the FILEREADPROC function call should be immediately cancelled.

See also

BASS_StreamCreateFileUser, BASS_FILEPROCS structure