Retrieves a pointer to the IWMReader interface of a WMA stream, or IWMWriter interface of a WMA encoder.
void *BASS_WMA_GetWMObject( DWORD handle );
handle | The WMA stream or encoder handle. |
BASS_ERROR_HANDLE | handle is not valid. |
When streaming local (not internet) files, this function will usually actually return an IWMSyncReader interface instead of an IWMReader interface. The type of interface can be determined by querying other interfaces from it, eg. IWMReaderAdvanced.
See the Windows Media Format SDK for information on the IWMReader, IWMWriter, and associated interfaces.