DirectX SDK |
The DirectMusicLoader.LoadChordMapFromResource method loads a chord map from a resource.
object.LoadChordMapFromResource( _ moduleName As String, _ resourceName As String) As DirectMusicChordMap
If the method succeeds, it returns a DirectMusicChordMap object.
If the method fails, it raises an error, and Err.Number can be set to one of the following values:
DMUS_E_FAIL |
DMUS_E_INVALIDARG |
DMUS_E_OUTOFMEMORY |
DMUS_E_LOADER_FAILEDOPEN |
DMUS_E_LOADER_FAILEDCREATE |
DMUS_E_LOADER_FORMATNOTSUPPORTED |