Microsoft DirectX 8.1 (Visual Basic)

DirectMusicPerformance8.GetDefaultAudioPath

The GetDefaultAudioPath method retrieves the default audiopath set by DirectMusicPerformance8.InitAudio or DirectMusicPerformance8.SetDefaultAudioPath.

object.GetDefaultAudioPath() As DirectMusicAudioPath8

Parts

object

Resolves to a DirectMusicPerformance8 object.

Return Values

Returns a DirectMusicAudioPath8 object.

Error Codes

If the method fails, an error is raised. Possible values for Err.Number include the following:

DMUS_E_AUDIOPATHS_NOT_VALID
DMUS_E_NOT_INIT