MM_ReturnNextObjectAttribute

Returns the attributes associated with an object in a find-first-find-next method.

Local Servers:Blocking
NetWare Server: 5.x
Platform:NLM
Service:Media Manager

Syntax

  LONG MM_ReturnNextObjectAttribute (  
     OBID   ioObjectID, 
     OBID   prevAttributeObjectID, 
     OBID  *nextAttributeObjectID ); 
  
  

Parameters

ioObjectID
The OBID of the object whose attribute will be returned.
prevAttributeObjectID
The OBID of the previous attribute object returned by calling nextAttributeObjectID. This value should be set to -1 for the first iteration of this API for a specific ioObjectID.
*nextAttributeObjectID
The OBID of the next attribute object associated with ioObjectID.

Return Values

The following table lists return values and descriptions.

0x00000000

MM_OK

The next attribute was successfully obtained.

0x00000001

MM_INVALID_OBJECT

ioObjectID is invalid.

0x00000008

MM_OBJECT_NOT_FOUND

Reached the end of the list attributes associated with ioObjectID.

0x00000201

MM_INVALID_ATTRIBUTE

prevAttributeObjectID is not -1 and is not a valid attribute OBID.

See Also

Attribute Class