NWGetMediaMgrObjList(3nw)


NWGetMediaMgrObjList -- returns list of media manager objects

Synopsis

   #include <nwfse.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWGetMediaMgrObjList (NWCONN_HANDLE conn, nuint32 startNum, nuint32 objType, NWFSE_MEDIA_MGR_OBJ_LIST N_FAR *fseMediaMgrObjList);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

startNum
(IN) Specifies the value returned in nextStartObjNum of fseMediaMgrObjList; normally, zero (0) on the first call.

objType
(IN) Specifies the object type.

fseMediaMgrObjList
(OUT) Points to NWFSE_MEDIA_MGR_OBJ_LIST listing media manager objects.

Return values

0x0000
SUCCESSFUL

0x8979
Invalid Start Number or Object Type

0x897E
NCP_BOUNDARY_CHECK_FAILED

Notices

To call NWGetMediaMgrObjList, you must have console operator rights.

Media manager objects are storage devices maintained by the media manager in an object-oriented database.

Object types are the following:

0
FSE_ADAPTER_OBJECT

1
FSE_CHANGER_OBJECT

2
FSE_DEVICE_OBJECT

4
FSE_MEDIA_OBJECT

5
FSE_PARTITION_OBJECT

6
FSE_SLOT_OBJECT

7
FSE_HOTFIX_OBJECT

8
FSE_MIRROR_OBJECT

9
FSE_PARITY_OBJECT

100
FSE_VOLUME_SEG_OBJECT

111
FSE_VOLUME_OBJECT

122
FSE_CLONE_OBJECT

144
FSE_MAGAZINE_OBJECT

155
FSE_VIRTUAL_DEVICE_OBJECT

0xOFFF
FSE_UNKNOWN_OBJECT

Services

File Server Environment

NCP calls

0x2222 123 31
Get Media Manager Objects List

References

NWGetLoadedMediaNumList(3nw), NWGetMediaMgrObjInfo(3nw), NWGetMediaMgrObjChildrenList(3nw), NWGetMediaNameByMediaNum(3nw), NWGetProtocolStkNumsByMediaNum(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.