MM_FindObjectType
Queries the Media Manager database for specific object types within specified classes.
LONG MM_FindObjectType ( LONG class, LONG type, OBID *objectID );
The following table lists return values and descriptions.
All non-proprietary objects in the Media Manager database can be discovered by using this function. It operates on a find-first, find-next method. When this function is first used, the contents of *objectID should be -1 to start the series. If an object is found matching the class and type parameters, its object ID is returned by using *objectID. To continue the search, make this call again without modifying *objectID, and the next object satisfying class and type will be returned. If no other objects can be found, then this function returns MM_OBJECT_NOT_FOUND and *objectID is set to -1.