MM_ReturnObjectGenericInfo

Returns generic information, as defined by the class, of an object.

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

Syntax

  LONG MM_ReturnObjectGenericInfo (  
     OBID   objectID, 
     LONG   infoLength, 
     void  *info ); 
  
  

Parameters

objectID
Identifies the object from which the generic information will be obtained.
infoLength
This indicates the size of the buffer, in bytes, that will receive the generic information.
*info
This points to the buffer that will receive the generic information.

Return Values

The following table lists return values and descriptions.

0x00000000

MM_OK

The information was successfully obtained.

0x00000001

MM_INVALID_OBJECT

objectID is invalid.

0x0000020B

MM_BUFFER_TOO_SMALL

*info is too small, according to infoLength, to receive the generic information.

Remarks

The generic information return by the API is defined by the class that objectID belongs to. For example, the IO Class will expect *info to point to an IOObjectGenericInfoDef structure, and the application class will expect it to point to an ApplicationGenericInfoDef structure.

See Also

Default Class