Microsoft DirectX 8.0 (C++) |
Enumerates all available objects of the requested type. Objects are available if they have been loaded or if IDirectMusicLoader8::ScanDirectory has been called on the search directory.
HRESULT EnumObject( REFGUID rguidClass, DWORD dwIndex, LPDMUS_OBJECTDESC pDesc );
If the method succeeds, the return value is S_OK, or S_FALSE if dwIndex is past the end of the list.
For an example of the use of this method, see Enumerating Objects.
Header: Declared in dmusici.h.