MM_GetObjectAttribute

Gets the value of a specified attribute.

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

Syntax

  LONG   MM_GetObjectAttribute ( 
     OBID   objectID, 
     LONG   attributeID, 
     LONG   length, 
     void  *info ); 
  
  

Parameters

objectID
The OBID of the object possessing the attribute.
attributeID
Is the attribute’s unique identifier.
length
The length, in bytes, of the buffer pointed to by the *info parameter.
*info
A pointer to a buffer that receives the attribute’s value.

Return Values

The following table lists return values and descriptions.

0x00000000

MM_OK

0x00000016

MM_PARAMETER_ERROR

0x0000020B

MM_BUFFER_TOO_SMALL

Remarks

The function obtains the value of a specified attribute. The attribute is identified by its unique identifier. This identifier is not the OBID of the attribute object, but a constant value assigned to the attribute independent of the attribute object’s OBID.

See Also