BASS.NET API for the Un4seen BASS Audio LibraryFILELENPROC DelegateBASS.NET API for the Un4seen BASS Audio Library
User file stream length callback function (to be used with BASS_FILEPROCS).

Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public delegate long FILELENPROC(
	IntPtr user
)

Parameters

user
Type: SystemIntPtr
The user instance data given when BASS_StreamCreateFileUser(BASSStreamSystem, BASSFlag, BASS_FILEPROCS, IntPtr) was called.

Return Value

Type: Int64
The length of the file in bytes. Returning 0 for a buffered file stream, makes BASS stream the file in blocks, and is equivalent to using the BASS_STREAM_BLOCK flag in the BASS_StreamCreateFileUser(BASSStreamSystem, BASSFlag, BASS_FILEPROCS, IntPtr) call.
Remarks

This function is called first thing, and is only used the once with buffered streams. With unbuffered streams, it may be used again when testing for EOF (end of file), allowing the file to grow in size.
Examples

See BASS_FILEPROCS.
See Also

Reference