Get the tags from a file, can be used on DRM protected files (not thread-safe!).
Namespace: Un4seen.Bass.AddOn.Wma
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Parameters
- file
- Type: SystemString
Filename from which to get the tags.
Return Value
Type: IntPtrIf succesful, a pointer to the data of the requested tags is returned, else Zero is returned. Use BASS_ErrorGetCode to get the error code.
Remarks
The memory used for the tags is reused by all calls of this function, so if the tags need to be retained across multiple calls, a copy should be made. It also means that this function is not thread-safe, that is it should not be called simultaneously from multiple threads.
ERROR CODE | Description |
---|---|
BASS_ERROR_WMA | The Windows Media modules (v9 or above) are not installed. |
BASS_ERROR_FILEOPEN | The file could not be opened, or it is not a WMA file. |
BASS_ERROR_UNKNOWN | Some other mystery problem! |
See Also