Поделиться через


IDirectMusicLoader8::EnumObject

The EnumObject method enumerates an available object of the requested type. Objects are available if they have been loaded or if IDirectMusicLoader8::ScanDirectory has been called on the search directory.

Syntax

HRESULT EnumObject(
  REFGUID rguidClass, 
  DWORD dwIndex, 
  LPDMUS_OBJECTDESC pDesc
);

Parameters

rguidClass

Reference to (C++) or address of (C) the identifier for the class of objects to view. For a list of standard loadable classes, see IDirectMusicLoader8.

dwIndex

Zero-based index into the list of matching objects.

pDesc

Address of a DMUS_OBJECTDESC structure to be filled with data about the object.

Return Values

If the method succeeds, the return value is S_OK, or S_FALSE if dwIndex is past the end of the list.

Requirements

**  Header:** Dmusici.h
  Library: Dmloader.dll, Dmloaded.dll

See Also

© 2004 Microsoft Corporation. All rights reserved.