NWGetMediaMgrObjInfo

Returns information about media manager objects (storage devices).

Local Servers:blocking
Remote Servers:blocking
NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Server Environment

Syntax

  #include <nwfse.h> 
  or 
  #include <nwcalls.h> 
   
  NWCCODE N_API  NWGetMediaMgrObjInfo  ( 
     NWCONN_HANDLE                      conn,  
     nuint32                            objNum,  
     NWFSE_MEDIA_MGR_OBJ_INFO  N_FAR   *fseMediaMgrObjInfo);
  

Delphi Syntax

  uses calwin32 
   
  Function NWGetMediaMgrObjInfo 
    (conn : NWCONN_HANDLE; 
     objNum : nuint32; 
     Var fseMediaMgrObjInfo : NWFSE_MEDIA_MGR_OBJ_INFO 
  ) : NWCCODE; 
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
objNum
(IN) Specifies the object ID number returned by NWGetMediaMgrObjList representing the device you want information about.
fseMediaMgrObjInfo
(OUT) Points to NWFSE_MEDIA_MGR_OBJ_INFO returning media manager object information.

Return Values

These are common return values; see Return Values (Return Values for C) for more information.

0x0000

SUCCESSFUL

0x897E

NCP_BOUNDARY_CHECK_FAILED

Remarks

To call NWGetMediaMgrObjInfo, you must have console operator rights.

Media manager objects are storage devices which are managed by the OS in an object-oriented database to allow for the needs of current and future file system applications and storage applications.

NCP Calls

See Also

NWGetLoadedMediaNumList, NWGetMediaMgrObjChildrenList, NWGetMediaMgrObjList, NWGetMediaNameByMediaNum, NWGetProtocolStkNumsByMediaNum